PageSourceSearch

https://www.ibizatoken.com/static/js/main.67105b3b.js

js ibizatoken.com collected 2026-10-05 01:26:36 UTC 1,749,669 bytes, 3 lines download raw bytes

vendor: 1,329 bytes, lines 1-2
1/*! For license information please see main.67105b3b.js.LICENSE.txt */
2!function(){var e={3361:function(e,t,n){"use strict";n.d(t,{Z:function(){return ie}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 5,072 bytes, line 2
2,t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function h(e){return e.length}function p(e,t){return t.push(e),e}var v=1,m=1,g=0,y=0,b=0,x="";function w(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:v,column:m,length:o,return:""}}function S(e,t){return o(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return b=y>0?c(x,--y):0,m--,10===b&&(m=1,v--),b}function k(){return b=y<g?c(x,y++):0,m++,10===b&&(m=1,v++),b}function M(){return c(x,y)}function E(){return y}function T(e,t){return d(x,e,t)}function C(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 A(e){return v=m=1,g=f(x=e),y=0,[]}function P(e){return x="",e}function R(e){return s(T(y-1,Z(91===e?e+2:40===e?e+1:e)))}function O(e){for(;(b=M())&&b<33;)k();return C(e)>2||C(b)>3?"":" "}function L(e,t){for(;--t&&k()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return T(e,E()+(t<6&&32==M()&&32==k()))}function Z(e){for(;k();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&Z(b);break;case 40:41===e&&Z(e);break;case 92:k()}return y}function N(e,t){for(;k()&&e+b!==57&&(e+b!==84||47!==M()););return"/*"+T(t,y-1)+"*"+a(47===e?e:k())}function I(e){for(;!C(M());)k();return T(e,y)}var j="-ms-",D="-moz-",z="-webkit-",U="comm",F="rule",B="decl",V="@keyframes";function H(e,t){for(var n="",r=h(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function W(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case B:return e.return=e.return||e.value;case U:return"";case V:return e.return=e.value+"{"+H(e.children,r)+"}";case F:e.value=e.props.join(",")}return f(n=H(e.children,r))?e.return=e.value+"{"+n+"}":""}function G(e){return P(q("",null,null,null,[""],e=A(e),0,[0],e))}function q(e,t,n,r,i,o,s,d,h){for(var v=0,m=0,g=s,y=0,b=0,x=0,w=1,S=1,T=1,C=0,A="",P=i,Z=o,j=r,D=A;S;)switch(x=C,C=k()){case 40:if(108!=x&&58==c(D,g-1)){-1!=u(D+=l(R(C),"&","&\f"),"&\f")&&(T=-1);break}case 34:case 39:case 91:D+=R(C);break;case 9:case 10:case 13:case 32:D+=O(x);break;case 92:D+=L(E()-1,7);continue;case 47:switch(M()){case 42:case 47:p(Y(N(k(),E()),t,n),h);break;default:D+="/"}break;case 123*w:d[v++]=f(D)*T;case 125*w:case 59:case 0:switch(C){case 0:case 125:S=0;case 59+m:-1==T&&(D=l(D,/\f/g,"")),b>0&&f(D)-g&&p(b>32?J(D+";",r,n,g-1):J(l(D," ","")+";",r,n,g-2),h);break;case 59:D+=";";default:if(p(j=X(D,t,n,v,m,i,d,A,P=[],Z=[],g),o),123===C)if(0===m)q(D,t,j,j,P,o,g,d,Z);else switch(99===y&&110===c(D,3)?100:y){case 100:case 108:case 109:case 115:q(e,j,j,r&&p(X(e,j,j,0,0,i,d,A,i,P=[],g),Z),i,Z,g,d,r?P:Z);break;default:q(D,j,j,j,[""],Z,0,d,Z)}}v=m=b=0,w=T=1,A=D="",g=s;break;case 58:g=1+f(D),b=x;default:if(w<1)if(123==C)--w;else if(125==C&&0==w++&&125==_())continue;switch(D+=a(C),C*w){case 38:T=m>0?1:(D+="\f",-1);break;case 44:d[v++]=(f(D)-1)*T,T=1;break;case 64:45===M()&&(D+=R(k())),y=M(),m=g=f(A=D+=I(E())),C++;break;case 45:45===x&&2==f(D)&&(w=0)}}return o}function X(e,t,n,r,a,o,u,c,f,p,v){for(var m=a-1,g=0===a?o:[""],y=h(g),b=0,x=0,S=0;b<r;++b)for(var _=0,k=d(e,m+1,m=i(x=u[b])),M=e;_<y;++_)(M=s(x>0?g[_]+" "+k:l(k,/&\f/g,g[_])))&&(f[S++]=M);return w(e,t,n,0===a?F:c,f,p,v)}function Y(e,t,n){return w(e,t,n,U,a(b),d(e,2,-2),0)}function J(e,t,n,r){return w(e,t,n,B,d(e,0,r),d(e,r+1,-1),r)}var K=function(e,t,n){for(var r=0,i=0;r=i,i=M(),38===r&&12===i&&(t[n]=1),!C(i);)k();return T(e,y)},Q=function(e,t){return P(function(e,t){var n=-1,r=44;do{switch(C(r)){case 0:38===r&&12===M()&&(t[n]=1),e[n]+=K(y-1,t,n);break;case 2:e[n]+=R(r);break;case 4:if(44===r){e[++n]=58===M()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=a(r)}}while(r=k());return e}(A(e),t))},$=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||$.get(n))&&!r){$.set(e,!0);for(var i=[],a=Q(t,i),o=n.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]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^c(e,0)?(((t<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0}(e,t)){case 5103:return z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+e+e;
vendor: 4,521 bytes, line 2
2case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+D+e+j+e+e;case 6828:case 4268:return z+e+j+e+e;case 6165:return z+e+j+"flex-"+e+e;case 5187:return z+e+l(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return z+e+j+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return z+e+j+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+j+l(e,"shrink","negative")+e;case 5292:return z+e+j+l(e,"basis","preferred-size")+e;case 6060:return z+"box-"+l(e,"-grow","")+z+e+j+l(e,"grow","positive")+e;case 4554:return z+l(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+D+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,f(e)-3-(~u(e,"!important")&&10))){case 107:return l(e,":",":"+z)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(45===c(e,14)?"inline-":"")+"box$3$1"+z+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+j+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case B:e.return=ne(e.value,e.length);break;case V:return H([S(e,{value:l(e.value,"@","@"+z)})],r);case F:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([S(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return H([S(e,{props:[l(t,/:(plac\w+)/,":"+z+"input-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,j+"input-$1")]})],r)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i=e.stylisPlugins||re;var a,o,s={},l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var u,c,d=[W,(c=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],f=function(e){var t=h(e);return function(n,r,i,a){for(var o="",s=0;s<t;s++)o+=e[s](n,r,i,a)||"";return o}}([ee,te].concat(i,d));o=function(e,t,n,r){u=n,H(G(e?e+"{"+t.styles+"}":t.styles),f),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new r({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return p.sheet.hydrate(l),p}},9797:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},2564:function(e,t,n){"use strict";n.d(t,{T:function(){return l},i:function(){return a},w:function(){return s}});var r=n(2791),i=n(3361),a=(n(9140),n(2561),!0),o=r.createContext("undefined"!==typeof HTMLElement?(0,i.Z)({key:"css"}):null);o.Provider;var s=function(e){return(0,r.forwardRef)((function(t,n){var i=(0,r.useContext)(o);return e(t,i,n)}))};a||(s=function(e){return function(t){var n=(0,r.useContext)(o);return null===n?(n=(0,i.Z)({key:"css"}),r.createElement(o.Provider,{value:n},e(t,n))):e(t,n)}});var l=r.createContext({})},9140:function(e,t,n){"use strict";n.d(t,{O:function(){return p}});var r={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
2idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(9797),a=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!==typeof e},u=(0,i.Z)((function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()})),c=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(o,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===r[e]||s(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=d(e,t,n[i])+";";else for(var a in n){var o=n[a];if("object"!==typeof o)null!=t&&void 0!==t[o]?r+=a+"{"+t[o]+"}":l(o)&&(r+=u(a)+":"+c(a,o)+";");else if(!Array.isArray(o)||"string"!==typeof o[0]||null!=t&&void 0!==t[o[0]]){var s=d(e,t,o);switch(a){case"animation":case"animationName":r+=u(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var f=0;f<o.length;f++)l(o[f])&&(r+=u(a)+":"+c(a,o[f])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=f,a=n(e);return f=i,d(e,t,a)}}if(null==t)return n;var o=t[n];return void 0!==o?o:n}var f,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var p=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";f=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,i+=d(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=d(n,t,e[o]),r&&(i+=a[o]);h.lastIndex=0;for(var s,l="";null!==(s=h.exec(i));)l+="-"+s[1];var u=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:u,styles:i,next:f}}},2561:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return o},j:function(){return s}});var i=n(2791),a=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,o=a||function(e){return e()},s=a||i.useLayoutEffect},5438:function(e,t,n){"use strict";n.d(t,{My:function(){return a},fp:function(){return r},hC:function(){return i}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},a=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+r:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}},1131:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var i=r(n(5649)),a=n(184),o=(0,i.default)((0,a.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=o},5649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(4454)},1979:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(7462),i=n(3366),a=n(6189),o=n(2466),s=n(5080),l=n(7416),u=n(104),c=n(4942);function d(e,t){var n;return(0,r.Z)({toolbar:(n={minHeight:56},(0,c.Z)(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),(0,c.Z)(n,e.up("sm"),{minHeight:64}),n)},t)}var f=n(2065),h={black:"#000",white:"#fff"},p={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},v={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},y={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},x={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},w=["mode","contrastThreshold","tonalOffset"],S={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:h.white,default:h.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackgroun
vendor: 5,756 bytes, line 2
2d:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},_={text:{primary:h.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:h.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function k(e,t,n,r){var i=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,f.$n)(e.main,i):"dark"===t&&(e.dark=(0,f._j)(e.main,a)))}function M(e){var t=e.mode,n=void 0===t?"light":t,s=e.contrastThreshold,l=void 0===s?3:s,u=e.tonalOffset,c=void 0===u?.2:u,d=(0,i.Z)(e,w),M=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[200],light:y[50],dark:y[400]}:{main:y[700],light:y[400],dark:y[800]}}(n),E=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[200],light:v[50],dark:v[400]}:{main:v[500],light:v[300],dark:v[700]}}(n),T=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[500],light:m[300],dark:m[700]}:{main:m[700],light:m[400],dark:m[800]}}(n),C=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(n),A=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:x[400],light:x[300],dark:x[700]}:{main:x[800],light:x[500],dark:x[900]}}(n),P=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(n);function R(e){return(0,f.mi)(e,_.text.primary)>=l?_.text.primary:S.text.primary}var O=function(e){var t=e.color,n=e.name,i=e.mainShade,o=void 0===i?500:i,s=e.lightShade,l=void 0===s?300:s,u=e.darkShade,d=void 0===u?700:u;if(!(t=(0,r.Z)({},t)).main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error((0,a.Z)(11,n?" (".concat(n,")"):"",o));if("string"!==typeof t.main)throw new Error((0,a.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return k(t,"light",l,c),k(t,"dark",d,c),t.contrastText||(t.contrastText=R(t.main)),t},L={dark:_,light:S};return(0,o.Z)((0,r.Z)({common:(0,r.Z)({},h),mode:n,primary:O({color:M,name:"primary"}),secondary:O({color:E,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:T,name:"error"}),warning:O({color:P,name:"warning"}),info:O({color:C,name:"info"}),success:O({color:A,name:"success"}),grey:p,contrastThreshold:l,getContrastText:R,augmentColor:O,tonalOffset:c},L[n]),d)}var E=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var T={textTransform:"uppercase"},C='"Roboto", "Helvetica", "Arial", sans-serif';function A(e,t){var n="function"===typeof t?t(e):t,a=n.fontFamily,s=void 0===a?C:a,l=n.fontSize,u=void 0===l?14:l,c=n.fontWeightLight,d=void 0===c?300:c,f=n.fontWeightRegular,h=void 0===f?400:f,p=n.fontWeightMedium,v=void 0===p?500:p,m=n.fontWeightBold,g=void 0===m?700:m,y=n.htmlFontSize,b=void 0===y?16:y,x=n.allVariants,w=n.pxToRem,S=(0,i.Z)(n,E);var _=u/14,k=w||function(e){return"".concat(e/b*_,"rem")},M=function(e,t,n,i,a){return(0,r.Z)({fontFamily:s,fontWeight:e,fontSize:k(t),lineHeight:n},s===C?{letterSpacing:"".concat((o=i/t,Math.round(1e5*o)/1e5),"em")}:{},a,x);var o},A={h1:M(d,96,1.167,-1.5),h2:M(d,60,1.2,-.5),h3:M(h,48,1.167,0),h4:M(h,34,1.235,.25),h5:M(h,24,1.334,0),h6:M(v,20,1.6,.15),subtitle1:M(h,16,1.75,.15),subtitle2:M(v,14,1.57,.1),body1:M(h,16,1.5,.15),body2:M(h,14,1.43,.15),button:M(v,14,1.75,.4,T),caption:M(h,12,1.66,.4),overline:M(h,12,2.66,1,T),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,o.Z)((0,r.Z)({htmlFontSize:b,pxToRem:k,fontFamily:s,fontSize:u,fontWeightLight:d,fontWeightRegular:h,fontWeightMedium:v,fontWeightBold:g},A),S,{clone:!1})}function P(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var R=["none",P(0,2,1,-1,0,1,1,0,0,1,3,0),P(0,3,1,-2,0,2,2,0,0,1,5,0),P(0,3,3,-2,0,3,4,0,0,1,8,0),P(0,2,4,-1,0,4,5,0,0,1,10,0),P(0,3,5,-1,0,5,8,0,0,1,14,0),P(0,3,5,-1,0,6,10,0,0,1,18,0),P(0,4,5,-2,0,7,10,1,0,2,16,1),P(0,5,5,-3,0,8,10,1,0,3,14,2),P(0,5,6,-3,0,9,12,1,0,3,16,2),P(0,6,6,-3,0,10,14,1,0,4,18,3),P(0,6,7,-4,0,11,15,1,0,4,20,3),P(0,7,8,-4,0,12,17,2,0,5,22,4),P(0,7,8,-4,0,13,19,2,0,5,24,4),P(0,7,9,-4,0,14,21,2,0,5,26,4),P(0,8,9,-5,0,15,22,2,0,6,28,5),P(0,8,10,-5,0,16,24,2,0,6,30,5),P(0,8,11,-5,0,17,26,2,0,6,32,5),P(0,9,11,-5,0,18,28,2,0,7,34,6),P(0,9,12,-6,0,19,29,2,0,7,36,6
2),P(0,10,13,-6,0,20,31,3,0,8,38,7),P(0,10,13,-6,0,21,33,3,0,8,40,7),P(0,10,14,-6,0,22,35,3,0,8,42,7),P(0,11,14,-7,0,23,36,3,0,9,44,8),P(0,11,15,-7,0,24,38,3,0,9,46,8)],O=n(1314),L={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Z=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,c=e.palette,f=void 0===c?{}:c,h=e.transitions,p=void 0===h?{}:h,v=e.typography,m=void 0===v?{}:v,g=(0,i.Z)(e,Z);if(e.vars)throw new Error((0,a.Z)(18));var y=M(f),b=(0,s.Z)(e),x=(0,o.Z)(b,{mixins:d(b.breakpoints,n),palette:y,shadows:R.slice(),typography:A(y,m),transitions:(0,O.ZP)(p),zIndex:(0,r.Z)({},L)});x=(0,o.Z)(x,g);for(var w=arguments.length,S=new Array(w>1?w-1:0),_=1;_<w;_++)S[_-1]=arguments[_];return(x=S.reduce((function(e,t){return(0,o.Z)(e,t)}),x)).unstable_sxConfig=(0,r.Z)({},l.Z,null==g?void 0:g.unstable_sxConfig),x.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},x}var I=N},1314:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c},x9:function(){return s}});var r=n(3366),i=n(7462),a=["duration","easing","delay"],o={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(e){return"".concat(Math.round(e),"ms")}function u(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function c(e){var t=(0,i.Z)({},o,e.easing),n=(0,i.Z)({},s,e.duration);return(0,i.Z)({getAutoHeightDuration:u,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.duration,s=void 0===o?n.standard:o,u=i.easing,c=void 0===u?t.easeInOut:u,d=i.delay,f=void 0===d?0:d;(0,r.Z)(i,a);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof s?s:l(s)," ").concat(c," ").concat("string"===typeof f?f:l(f))})).join(",")}},e,{easing:t,duration:n})}},6482:function(e,t,n){"use strict";var r=(0,n(1979).Z)();t.Z=r},988:function(e,t){"use strict";t.Z="$$material"},7630:function(e,t,n){"use strict";n.d(t,{ZP:function(){return _},FO:function(){return x},Dz:function(){return w}});var r=n(3433),i=n(9439),a=n(3366),o=n(7462),s=n(2421),l=n(5080),u=n(7312),c=["variant"];function d(e){return 0===e.length}function f(e){var t=e.variant,n=(0,a.Z)(e,c),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?d(r)?e[t]:(0,u.Z)(e[t]):"".concat(d(r)?t:(0,u.Z)(t)).concat((0,u.Z)(e[t].toString()))})),r}var h=n(104),p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function v(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var m=(0,l.Z)();function g(e){var t,n=e.defaultTheme,r=e.theme,i=e.themeId;return t=r,0===Object.keys(t).length?n:r[i]||r}var y=n(6482),b=n(988),x=function(e){return v(e)&&"classes"!==e},w=v,S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,l=void 0===n?m:n,u=e.rootShouldForwardProp,c=void 0===u?v:u,d=e.slotShouldForwardProp,y=void 0===d?v:d,b=function(e){return(0,h.Z)((0,o.Z)({},e,{theme:g((0,o.Z)({},e,{defaultTheme:l,themeId:t}))}))};return b.__mui_systemSx=!0,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.Co)(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var u=n.name,d=n.slot,h=n.skipVariantsResolver,m=n.skipSx,x=n.overridesResolver,w=(0,a.Z)(n,p),S=void 0!==h?h:d&&"Root"!==d||!1,_=m||!1;var k=v;"Root"===d?k=c:d?k=y:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(k=void 0);var M=(0,s.ZP)(e,(0,o.Z)({shouldForwardProp:k,label:undefined},w)),E=function(n){for(var a=arguments.length,s=new Array(a>1?a-1:0),c=1;c<a;c++)s[c-1]=arguments[c];var d=s?s.map((function(e){return"function"===typeof e&&e.__emotion_real!==e?function(n){return e((0,o.Z)({},n,{theme:g((0,o.Z)({},n,{defaultTheme:l,themeId:t}))}))}:e})):[],h=n;u&&x&&d.push((function(e){var n=g((0,o.Z)({},e,{defaultTheme:l,themeId:t})),r=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null}(u,n);if(r){var a={};return Object.entries(r).forEach((function(t){var r=(0,i.Z)(t,2),s=r[0],l=r[1];a[s]="function"===typeof l?l((0,o.Z)({},e,{theme:n})):l})),x(e,a)}return null})),u&&!S&&d.push((function(e){var n=g((0,o.Z)({},e,{defaultTheme:l,themeId:t}));return function(e,t,n,r){var i,a,o=e.ownerState,s=void 0===o?{}:o,l=[],u=null==n||null==(i=n.components)||null==(a=i[r])?void 0:a.variants;return u&&u.forEach((function(n){var r=!0;
2Object.keys(n.props).forEach((function(t){s[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[f(n.props)])})),l}(e,function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=f(e.props);r[t]=e.style})),r}(u,n),n,u)})),_||d.push(b);var p=d.length-s.length;if(Array.isArray(n)&&p>0){var v=new Array(p).fill("");(h=[].concat((0,r.Z)(n),(0,r.Z)(v))).raw=[].concat((0,r.Z)(n.raw),(0,r.Z)(v))}else"function"===typeof n&&n.__emotion_real!==n&&(h=function(e){return n((0,o.Z)({},e,{theme:g((0,o.Z)({},e,{defaultTheme:l,themeId:t}))}))});var m=M.apply(void 0,[h].concat((0,r.Z)(d)));return e.muiName&&(m.muiName=e.muiName),m};return M.withConfig&&(E.withConfig=M.withConfig),E}}({themeId:b.Z,defaultTheme:y.Z,rootShouldForwardProp:x}),_=S},3736:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(3073),i=n(418);var a=n(6482),o=n(988);function s(e){return function(e){var t=e.props,n=e.name,a=e.defaultTheme,o=e.themeId,s=(0,i.Z)(a);return o&&(s=s[o]||s),(0,r.Z)({theme:s,name:n,props:t})}({props:e.props,name:e.name,defaultTheme:a.Z,themeId:o.Z})}},4036:function(e,t,n){"use strict";var r=n(7312);t.Z=r.Z},9201:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(7462),i=n(2791),a=n(3366),o=n(8182),s=n(4419),l=n(4036),u=n(3736),c=n(7630),d=n(5878),f=n(1217);function h(e){return(0,f.Z)("MuiSvgIcon",e)}(0,d.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var p=n(184),v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],m=(0,c.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat((0,l.Z)(n.color))],t["fontSize".concat((0,l.Z)(n.fontSize))]]}})((function(e){var t,n,r,i,a,o,s,l,u,c,d,f,h,p,v,m,g,y=e.theme,b=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(t=y.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(r=y.transitions)||null==(i=r.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=y.typography)||null==(o=a.pxToRem)?void 0:o.call(a,20))||"1.25rem",medium:(null==(s=y.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(u=y.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[b.fontSize],color:null!=(d=null==(f=(y.vars||y).palette)||null==(h=f[b.color])?void 0:h.main)?d:{action:null==(p=(y.vars||y).palette)||null==(v=p.action)?void 0:v.active,disabled:null==(m=(y.vars||y).palette)||null==(g=m.action)?void 0:g.disabled,inherit:void 0}[b.color]}})),g=i.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiSvgIcon"}),i=n.children,c=n.className,d=n.color,f=void 0===d?"inherit":d,g=n.component,y=void 0===g?"svg":g,b=n.fontSize,x=void 0===b?"medium":b,w=n.htmlColor,S=n.inheritViewBox,_=void 0!==S&&S,k=n.titleAccess,M=n.viewBox,E=void 0===M?"0 0 24 24":M,T=(0,a.Z)(n,v),C=(0,r.Z)({},n,{color:f,component:y,fontSize:x,instanceFontSize:e.fontSize,inheritViewBox:_,viewBox:E}),A={};_||(A.viewBox=E);var P=function(e){var t=e.color,n=e.fontSize,r=e.classes,i={root:["root","inherit"!==t&&"color".concat((0,l.Z)(t)),"fontSize".concat((0,l.Z)(n))]};return(0,s.Z)(i,h,r)}(C);return(0,p.jsxs)(m,(0,r.Z)({as:y,className:(0,o.Z)(P.root,c),focusable:"false",color:w,"aria-hidden":!k||void 0,role:k?"img":void 0,ref:t},A,T,{ownerState:C,children:[i,k?(0,p.jsx)("title",{children:k}):null]}))}));g.muiName="SvgIcon";var y=g;function b(e,t){function n(n,i){return(0,p.jsx)(y,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:i},n,{children:e}))}return n.muiName=y.muiName,i.memo(i.forwardRef(n))}},3199:function(e,t,n){"use strict";var r=n(3981);t.Z=r.Z},4454:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return i.Z},createChainedFunction:function(){return a},createSvgIcon:function(){return o.Z},debounce:function(){return s.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return u.Z},ownerDocument:function(){return c.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return f},setRef:function(){return h},unstable_ClassNameGenerator:function(){return w},unstable_useEnhancedEffect:function(){return p.Z},unstable_useId:function(){return v},unsupportedProp:function(){return m},useControlled:function(){return g.Z},useEventCallback:function(){return y.Z},useForkRef:function(){return b.Z},useIsFocusVisible:function(){return x.Z}});var r=n(5902),i=n(4036),a=n(8949).Z,o=n(9201),s=n(3199);var l=function(e,t){return function(){return null}},u=n(9103),c=n(8301),d=n(7602);n(1413);var f=function(e,t){return function(){return null}},h=n(2971).Z,p=n(162),v=n(6248).Z;var m=function(e,t,n,r,i){return null},g=n(8744),y=n(9683),b=n(2071),x=n(3031),w={configure:function(e){r.Z.configure(e)}}},9103:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2791);var i=function(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},8301:function(e,t,n){"use strict";var r=n(9723);t.Z=r.Z},7602:function(e,t,n){"use strict";var r=n(7979);t.Z=r.Z},8744:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9439),i=n(2791);var a=function(e){var t=e.controlled,n=e.default,a=(e.name,e.state,i.useRef(void 0!==t).current),o=i.useState(n),s=(0,r.Z)(o,2),l=s[0],u=s[1];return[a?t:l,i.useCallback((function(e){a||u(e)}),[])]}},162:function(e,t,n){"use strict";var r=n(5721);t.Z=r.Z},9683:function(e,t,n){"use strict";var r=n(8956);t.Z=r.Z},2071:function(e,t,n){"use strict";var r=n(7563);t.Z=r.Z},3031:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r,i=n(2791),a=!0,o=!1,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(e){e.metaKey||e.altKey||e.ctrlKey||(a=!0)}function u(){a=!1}function c(){"hidden"===this.visibilityState&&o&&(a=!0)}function d(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return a||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!s[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var f=function(){var e=i.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",l,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",c,!0))}),[]),t=i.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(o=!0,window.clearTimeout(r),r=window.setTimeout((function(){o=!1}
2),100),t.current=!1,!0)},ref:e}}},2421:function(e,t,n){"use strict";n.d(t,{ZP:function(){return y},Co:function(){return b}});var r=n(7462),i=n(2791),a=n(9797),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,a.Z)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}
vendor: 6,493 bytes, line 2
2)),l=n(2564),u=n(5438),c=n(9140),d=n(2561),f=s,h=function(e){return"theme"!==e},p=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?f:h},v=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.hC)(t,n,r),(0,d.L)((function(){return(0,u.My)(t,n,r)})),null},g=function e(t,n){var a,o,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==n&&(a=n.label,o=n.target);var f=v(t,n,s),h=f||p(d),g=!h("as");return function(){var y=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&b.push("label:"+a+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var x=y.length,w=1;w<x;w++)b.push(y[w],y[0][w])}var S=(0,l.w)((function(e,t,n){var r=g&&e.as||d,a="",s=[],v=e;if(null==e.theme){for(var y in v={},e)v[y]=e[y];v.theme=i.useContext(l.T)}"string"===typeof e.className?a=(0,u.fp)(t.registered,s,e.className):null!=e.className&&(a=e.className+" ");var x=(0,c.O)(b.concat(s),t.registered,v);a+=t.key+"-"+x.name,void 0!==o&&(a+=" "+o);var w=g&&void 0===f?p(r):h,S={};for(var _ in e)g&&"as"===_||w(_)&&(S[_]=e[_]);return S.className=a,S.ref=n,i.createElement(i.Fragment,null,i.createElement(m,{cache:t,serialized:x,isStringTag:"string"===typeof r}),i.createElement(r,S))}));return S.displayName=void 0!==a?a:"Styled("+("string"===typeof d?d:d.displayName||d.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=d,S.__emotion_styles=b,S.__emotion_forwardProp=f,Object.defineProperty(S,"toString",{value:function(){return"."+o}}),S.withComponent=function(t,i){return e(t,(0,r.Z)({},n,i,{shouldForwardProp:v(S,i,!0)})).apply(void 0,b)},S}}.bind();function y(e,t){return g(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){g[e]=g(e)}));var b=function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},1184:function(e,t,n){"use strict";n.d(t,{L7:function(){return s},P$:function(){return l},VO:function(){return r},W8:function(){return o},k9:function(){return a}});var r={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(r[e],"px)")}};function a(e,t,n){var a=e.theme||{};if(Array.isArray(t)){var o=a.breakpoints||i;return t.reduce((function(e,r,i){return e[o.up(o.keys[i])]=n(t[i]),e}),{})}if("object"===typeof t){var s=a.breakpoints||i;return Object.keys(t).reduce((function(e,i){if(-1!==Object.keys(s.values||r).indexOf(i)){e[s.up(i)]=n(t[i],i)}else{var a=i;e[a]=t[a]}return e}),{})}return n(t)}function o(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{}))||{}}function s(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function l(e){var t,n=e.values,r=e.breakpoints,i=e.base||function(e,t){if("object"!==typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r<e.length&&(n[t]=!0)})):r.forEach((function(t){null!=e[t]&&(n[t]=!0)})),n}(n,r),a=Object.keys(i);return 0===a.length?n:a.reduce((function(e,r,i){return Array.isArray(n)?(e[r]=null!=n[i]?n[i]:n[t],t=i):"object"===typeof n?(e[r]=null!=n[r]?n[r]:n[t],t=r):e[r]=n,e}),{})}},2065:function(e,t,n){"use strict";n.d(t,{$n:function(){return d},Fq:function(){return u},_j:function(){return c},mi:function(){return l}});var r=n(6189);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var i,o=e.substring(t+1,e.length-1);if("color"===n){if(i=(o=o.split(" ")).shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error((0,r.Z)(10,i))}else o=o.split(",");return{type:n,values:o=o.map((function(e){return parseFloat(e)})),colorSpace:i}}function o(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function s(e){var t="hsl"===(e=a(e)).type||"hsla"===e.type?a(function(e){var t=(e=a(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-s*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",c=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),o({type:u,values:c})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}
2)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e,t){var n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,o(e)}function c(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return o(e)}function d(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return o(e)}},5080:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(7462),i=n(3366),a=n(2466),o=n(4942),s=["values","unit","step"],l=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,r.Z)({},e,(0,o.Z)({},t.key,t.val))}),{})};var u={borderRadius:4},c=n(5682);var d=n(104),f=n(7416),h=["breakpoints","palette","spacing","shape"];var p=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,o=e.palette,p=void 0===o?{}:o,v=e.spacing,m=e.shape,g=void 0===m?{}:m,y=(0,i.Z)(e,h),b=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,a=e.unit,o=void 0===a?"px":a,u=e.step,c=void 0===u?5:u,d=(0,i.Z)(e,s),f=l(n),h=Object.keys(f);function p(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function v(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-c/100).concat(o,")")}function m(e,t){var r=h.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[h[r]]?n[h[r]]:t)-c/100).concat(o,")")}return(0,r.Z)({keys:h,values:f,up:p,down:v,between:m,only:function(e){return h.indexOf(e)+1<h.length?m(e,h[h.indexOf(e)+1]):p(e)},not:function(e){var t=h.indexOf(e);return 0===t?p(h[1]):t===h.length-1?v(h[t]):m(e,h[h.indexOf(e)+1]).replace("@media","@media not all and")},unit:o},d)}(n),x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,c.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0===n.length?[1]:n).map((function(e){var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}(v),w=(0,a.Z)({breakpoints:b,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},p),spacing:x,shape:(0,r.Z)({},u,g)},y),S=arguments.length,_=new Array(S>1?S-1:0),k=1;k<S;k++)_[k-1]=arguments[k];return(w=_.reduce((function(e,t){return(0,a.Z)(e,t)}),w)).unstable_sxConfig=(0,r.Z)({},f.Z,null==y?void 0:y.unstable_sxConfig),w.unstable_sx=function(e){return(0,d.Z)({sx:e,theme:this})},w}},8247:function(e,t,n){"use strict";var r=n(2466);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},5682:function(e,t,n){"use strict";n.d(t,{hB:function(){return v},eI:function(){return p},NA:function(){return m},e6:function(){return b},o3:function(){return x}});var r=n(9439),i=n(1184),a=n(8529),o=n(8247);var s={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!u[e])return[e];e=u[e]}var t=e.split(""),n=(0,r.Z)(t,2),i=n[0],a=n[1],o=s[i],c=l[a]||"";return Array.isArray(c)?c.map((function(e){return o+e})):[o+c]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],h=[].concat(d,f);function p(e,t,n,r){var i,o=null!=(i=(0,a.DW)(e,t,!1))?i:n;return"number"===typeof o?function(e){return"string"===typeof e?e:o*e}:Array.isArray(o)?function(e){return"string"===typeof e?e:o[e]}:"function"===typeof o?o:function(){}}function v(e){return p(e,"spacing",8)}function m(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function g(e,t,n,r){if(-1===t.indexOf(n))return null;var a=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=m(t,n),e}),{})}}(c(n),r),o=e[n];return(0,i.k9)(e,o,a)}function y(e,t){var n=v(e.theme);return Object.keys(e).map((function(r){return g(e,t,r,n)})).reduce(o.Z,{})}function b(e){return y(e,d)}function x(e){return y(e,f)}function w(e){return y(e,h)}b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=f,w.propTypes={},w.filterProps=h},8529:function(e,t,n){"use strict";n.d(t,{DW:function(){return o},Jq:function(){return s}});var r=n(4942),i=n(7312),a=n(1184);function o(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function s(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||i:o(e,n)||i,t&&(r=t(r,i,e)),r}t.ZP=function(e){var t=e.prop,n=e.cssProperty,l=void 0===n?e.prop:n,u=e.themeKey,c=e.transform,d=function(e){if(null==e[t])return null;var n=e[t],d=o(e.theme,u)||{};return(0,a.k9)(e,n,(function(e){var n=s(d,c,e);return e===n&&"string"===typeof e&&(n=s(d,c,"".concat(t).concat("default"===e?"":(0,i.Z)(e)),e)),!1===l?n:(0,r.Z)({},l,n)}))};return d.propTypes={},d.filterProps=[t],d}},7416:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(5682),i=n(8529),a=n(8247);var o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return t.filterProps.forEach((function(n){e[n]=t})),e}),{}),i=function(e){return Object.keys(e).reduce((function(t,n){return r[n]?(0,a.Z)(t,r[n](e)):t}),{})};return i.propTypes={},i.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),i},s=n(1184);function l(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var u=(0,i.ZP)({prop:"border",themeKey:"borders",transform:l}),c=(0,i.ZP)({prop:"borderTop",themeKey:"borders",transform:l}),d=(0,i.ZP)({prop:"borderRight",themeKey:"borders",transform:l}),f=(0,i.ZP)({prop:"borderBottom",themeKey:"borders",transform:l}),h=(0,i.ZP)({prop:"borderLeft",themeKey:"borders",transform:l}),p=(0,i.ZP)({prop:"borderColor",themeKey:"palette"}),v=(0,i.ZP)({prop:"borderTopColor",themeKey:"palette"}),m=(0,i.ZP)({prop:"borderRightColor",themeKey:"palette"}),g=(0,i.ZP)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,i.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=function(e){if(void 0!==e.borderRadius&&null!==e.borderRadius){var t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,s.k9)(e,e.borderRadius,(function(e){return{borderRadius:(0,r.NA)(t,e)}}))}return null};b.propTypes={},b.filterProps=["borderRadius"];o(u,c,d,f,h,p,v,m,g,y,b);var x=function(e){if(void 0!==e.gap&&null!==e.gap){var t=(0,r.eI)(e.theme,"spacing",8,"gap");return(0,s.k9)(e,e.gap,(function(e){return{gap:(0,r.NA)(t,e)}}))}return null};x.propTypes={},x.filterProps=["gap"];
2var w=function(e){if(void 0!==e.columnGap&&null!==e.columnGap){var t=(0,r.eI)(e.theme,"spacing",8,"columnGap");return(0,s.k9)(e,e.columnGap,(function(e){return{columnGap:(0,r.NA)(t,e)}}))}return null};w.propTypes={},w.filterProps=["columnGap"];var S=function(e){if(void 0!==e.rowGap&&null!==e.rowGap){var t=(0,r.eI)(e.theme,"spacing",8,"rowGap");return(0,s.k9)(e,e.rowGap,(function(e){return{rowGap:(0,r.NA)(t,e)}}))}return null};S.propTypes={},S.filterProps=["rowGap"];o(x,w,S,(0,i.ZP)({prop:"gridColumn"}),(0,i.ZP)({prop:"gridRow"}),(0,i.ZP)({prop:"gridAutoFlow"}),(0,i.ZP)({prop:"gridAutoColumns"}),(0,i.ZP)({prop:"gridAutoRows"}),(0,i.ZP)({prop:"gridTemplateColumns"}),(0,i.ZP)({prop:"gridTemplateRows"}),(0,i.ZP)({prop:"gridTemplateAreas"}),(0,i.ZP)({prop:"gridArea"}));function _(e,t){return"grey"===t?t:e}o((0,i.ZP)({prop:"color",themeKey:"palette",transform:_}),(0,i.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:_}),(0,i.ZP)({prop:"backgroundColor",themeKey:"palette",transform:_}));function k(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}var M=(0,i.ZP)({prop:"width",transform:k}),E=function(e){if(void 0!==e.maxWidth&&null!==e.maxWidth){return(0,s.k9)(e,e.maxWidth,(function(t){var n,r,i;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(i=r.values)?void 0:i[t])||s.VO[t]||k(t)}}))}return null};E.filterProps=["maxWidth"];var T=(0,i.ZP)({prop:"minWidth",transform:k}),C=(0,i.ZP)({prop:"height",transform:k}),A=(0,i.ZP)({prop:"maxHeight",transform:k}),P=(0,i.ZP)({prop:"minHeight",transform:k}),R=((0,i.ZP)({prop:"size",cssProperty:"width",transform:k}),(0,i.ZP)({prop:"size",cssProperty:"height",transform:k}),o(M,E,T,C,A,P,(0,i.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:b},color:{themeKey:"palette",transform:_},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:_},backgroundColor:{themeKey:"palette",transform:_},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:S},columnGap:{style:w},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:k},maxWidth:{style:E},minWidth:{transform:k},height:{transform:k},maxHeight:{transform:k},minHeight:{transform:k},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},104:function(e,t,n){"use strict";var r=n(4942),i=n(7312),a=n(8247),o=n(8529),s=n(1184),l=n(7416);var u=function(){function e(e,t,n,a){var l,u=(l={},(0,r.Z)(l,e,t),(0,r.Z)(l,"theme",n),l),c=a[e];if(!c)return(0,r.Z)({},e,t);var d=c.cssProperty,f=void 0===d?e:d,h=c.themeKey,p=c.transform,v=c.style;if(null==t)return null;if("typography"===h&&"inherit"===t)return(0,r.Z)({},e,t);var m=(0,o.DW)(n,h)||{};if(v)return v(u);return(0,s.k9)(u,t,(function(t){var n=(0,o.Jq)(m,p,t);return t===n&&"string"===typeof t&&(n=(0,o.Jq)(m,p,"".concat(e).concat("default"===t?"":(0,i.Z)(t)),t)),!1===f?n:(0,r.Z)({},f,n)}))}return function t(n){var i,o=n||{},u=o.sx,c=o.theme,d=void 0===c?{}:c;if(!u)return null;var f=null!=(i=d.unstable_sxConfig)?i:l.Z;function h(n){var i=n;
2if("function"===typeof n)i=n(d);else if("object"!==typeof n)return n;if(!i)return null;var o=(0,s.W8)(d.breakpoints),l=Object.keys(o),u=o;return Object.keys(i).forEach((function(n){var o,l,c=(o=i[n],l=d,"function"===typeof o?o(l):o);if(null!==c&&void 0!==c)if("object"===typeof c)if(f[n])u=(0,a.Z)(u,e(n,c,d,f));else{var h=(0,s.k9)({theme:d},c,(function(e){return(0,r.Z)({},n,e)}));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e.concat(Object.keys(t))}),[]),i=new Set(r);return t.every((function(e){return i.size===Object.keys(e).length}))}(h,c)?u=(0,a.Z)(u,h):u[n]=t({sx:c,theme:d})}else u=(0,a.Z)(u,e(n,c,d,f))})),(0,s.L7)(l,u)}return Array.isArray(u)?u.map(h):h(u)}}();u.filterProps=["sx"],t.Z=u},418:function(e,t,n){"use strict";var r=n(5080),i=n(9120),a=(0,r.Z)();t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;return(0,i.Z)(e)}},3073:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5735);function i(e){var t=e.theme,n=e.name,i=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,i):i}},9120:function(e,t,n){"use strict";var r=n(2791),i=n(2564);t.Z=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=r.useContext(i.T);return n&&(e=n,0!==Object.keys(e).length)?n:t}},5902:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},7312:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(6189);function i(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},4419:function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r={};return Object.keys(e).forEach((function(i){r[i]=e[i].reduce((function(e,r){if(r){var i=t(r);""!==i&&e.push(i),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},8949:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},3981:function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];clearTimeout(t),t=setTimeout((function(){e.apply(r,a)}),n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},2466:function(e,t,n){"use strict";n.d(t,{P:function(){return i},Z:function(){return o}});var r=n(1413);function i(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function a(e){if(!i(e))return e;var t={};return Object.keys(e).forEach((function(n){t[n]=a(e[n])})),t}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},s=n.clone?(0,r.Z)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(i(t[r])&&r in e&&i(e[r])?s[r]=o(e[r],t[r],n):n.clone?s[r]=i(t[r])?a(t[r]):t[r]:s[r]=t[r])})),s}},6189:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},1217:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(5902),i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",a=i[t];return a?"".concat(n,"-").concat(a):"".concat(r.Z.generate(e),"-").concat(t)}},5878:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1217);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i={};
2return t.forEach((function(t){i[t]=(0,r.Z)(e,t,n)})),i}},9723:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},7979:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9723);function i(e){return(0,r.Z)(e).defaultView||window}},5735:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1413);function i(e,t){var n=(0,r.Z)({},t);return Object.keys(e).forEach((function(a){if(a.toString().match(/^(components|slots)$/))n[a]=(0,r.Z)((0,r.Z)({},e[a]),n[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){var o=e[a]||{},s=t[a];n[a]={},s&&Object.keys(s)?o&&Object.keys(o)?(n[a]=(0,r.Z)({},s),Object.keys(o).forEach((function(e){n[a][e]=i(o[e],s[e])}))):n[a]=s:n[a]=o}else void 0===n[a]&&(n[a]=e[a])})),n}},2971:function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},5721:function(e,t,n){"use strict";var r=n(2791),i="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=i},8956:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2791),i=n(5721);function a(e){var t=r.useRef(e);return(0,i.Z)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},7563:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2791),i=n(2971);function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo((function(){return t.every((function(e){return null==e}))?null:function(e){t.forEach((function(t){(0,i.Z)(t,e)}))}}),t)}},6248:function(e,t,n){"use strict";var r;n.d(t,{Z:function(){return l}});var i=n(9439),a=n(2791),o=0;var s=(r||(r=n.t(a,2)))["useId".toString()];function l(e){if(void 0!==s){var t=s();return null!=e?e:t}return function(e){var t=a.useState(e),n=(0,i.Z)(t,2),r=n[0],s=n[1],l=e||r;return a.useEffect((function(){null==r&&s("mui-".concat(o+=1))}),[r]),l}(e)}},761:function(e,t,n){"use strict";n.d(t,{fi:function(){return S},kZ:function(){return w}});var r=n(5652),i=n(4801),a=n(3265),o=n(9265);var s=n(3120),l=n(7902),u=n(881),c=n(543),d=n(3676);function f(e,t,n){void 0===n&&(n=!1);var f=(0,o.Re)(t),h=(0,o.Re)(t)&&function(e){var t=e.getBoundingClientRect(),n=(0,d.NM)(t.width)/e.offsetWidth||1,r=(0,d.NM)(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),p=(0,u.Z)(t),v=(0,r.Z)(e,h,n),m={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(f||!f&&!n)&&(("body"!==(0,s.Z)(t)||(0,c.Z)(p))&&(m=function(e){return e!==(0,a.Z)(e)&&(0,o.Re)(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:(0,i.Z)(e);var t}(t)),(0,o.Re)(t)?((g=(0,r.Z)(t,!0)).x+=t.clientLeft,g.y+=t.clientTop):p&&(g.x=(0,l.Z)(p))),{x:v.left+m.scrollLeft-g.x,y:v.top+m.scrollTop-g.y,width:v.width,height:v.height}}var h=n(9818),p=n(7467),v=n(5411),m=n(2570);function g(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function y(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var b={placement:"bottom",modifiers:[],strategy:"absolute"};function x(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function w(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?b:i;return function(e,t,n){void 0===n&&(n=a);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},b,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],l=!1,u={state:i,setOptions:function(n){var l="function"===typeof n?n(i.options):n;c(),i.options=Object.assign({},a,i.options,l),i.scrollParents={reference:(0,o.kK)(e)?(0,p.Z)(e):e.contextElement?(0,p.Z)(e.contextElement):[],popper:(0,p.Z)(t)};var d=function(e){var t=g(e);return m.xs.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,i.options.modifiers)));return i.orderedModifiers=d.filter((function(e){return e.enabled}
2)),i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"===typeof a){var o=a({state:i,name:t,instance:u,options:r}),l=function(){};s.push(o||l)}})),u.update()},forceUpdate:function(){if(!l){var e=i.elements,t=e.reference,n=e.popper;if(x(t,n)){i.rects={reference:f(t,(0,v.Z)(n),"fixed"===i.options.strategy),popper:(0,h.Z)(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var a=i.orderedModifiers[r],o=a.fn,s=a.options,c=void 0===s?{}:s,d=a.name;"function"===typeof o&&(i=o({state:i,options:c,name:d,instance:u})||i)}else i.reset=!1,r=-1}}},update:y((function(){return new Promise((function(e){u.forceUpdate(),e(i)}))})),destroy:function(){c(),l=!0}};if(!x(e,t))return u;function c(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var S=w()},1942:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9265);function i(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Zq)(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}},5652:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9265),i=n(3676),a=n(3265),o=n(8044);function s(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var s=e.getBoundingClientRect(),l=1,u=1;t&&(0,r.Re)(e)&&(l=e.offsetWidth>0&&(0,i.NM)(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&(0,i.NM)(s.height)/e.offsetHeight||1);var c=((0,r.kK)(e)?(0,a.Z)(e):window).visualViewport,d=!(0,o.Z)()&&n,f=(s.left+(d&&c?c.offsetLeft:0))/l,h=(s.top+(d&&c?c.offsetTop:0))/u,p=s.width/l,v=s.height/u;return{width:p,height:v,top:h,right:f+p,bottom:h+v,left:f,x:f,y:h}}},7427:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3265);function i(e){return(0,r.Z)(e).getComputedStyle(e)}},881:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9265);function i(e){return(((0,r.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}},9818:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5652);function i(e){var t=(0,r.Z)(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}},3120:function(e,t,n){"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{Z:function(){return r}})},5411:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(3265),i=n(3120),a=n(7427),o=n(9265);function s(e){return["table","td","th"].indexOf((0,i.Z)(e))>=0}var l=n(8779),u=n(3118);function c(e){return(0,o.Re)(e)&&"fixed"!==(0,a.Z)(e).position?e.offsetParent:null}function d(e){for(var t=(0,r.Z)(e),n=c(e);n&&s(n)&&"static"===(0,a.Z)(n).position;)n=c(n);return n&&("html"===(0,i.Z)(n)||"body"===(0,i.Z)(n)&&"static"===(0,a.Z)(n).position)?t:n||function(e){var t=/firefox/i.test((0,u.Z)());if(/Trident/i.test((0,u.Z)())&&(0,o.Re)(e)&&"fixed"===(0,a.Z)(e).position)return null;var n=(0,l.Z)(e);for((0,o.Zq)(n)&&(n=n.host);(0,o.Re)(n)&&["html","body"].indexOf((0,i.Z)(n))<0;){var r=(0,a.Z)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}},8779:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3120),i=n(881),a=n(9265);function o(e){return"html"===(0,r.Z)(e)?e:e.assignedSlot||e.parentNode||((0,a.Zq)(e)?e.host:null)||(0,i.Z)(e)}},3265:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{Z:function(){return r}})},4801:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3265);function i(e){var t=(0,r.Z)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},7902:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5652),i=n(881),a=n(4801);function o(e){return(0,r.Z)((0,i.Z)(e)).left+(0,a.Z)(e).scrollLeft}},9265:function(e,t,n){"use strict";n.d(t,{Re:function(){return a},Zq:function(){return o},kK:function(){return i}});var r=n(3265);function i(e){return e instanceof(0,r.Z)(e).Element||e instanceof Element}function a(e){return e instanceof(0,r.Z)(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!==typeof ShadowRoot&&(e instanceof(0,r.Z)(e).ShadowRoot||e instanceof ShadowRoot)}},8044:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3118);function i(){return!/^((?!chrome|android).)*safari/i.test((0,r.Z)())}},543:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(7427);function i(e){var t=(0,r.Z)(e),n=t.overflow,i=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}},7467:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(8779),i=n(543),a=n(3120),o=n(9265);function s(e){return["html","body","#document"].indexOf((0,a.Z)(e))>=0?e.ownerDocument.body:(0,o.Re)(e)&&(0,i.Z)(e)?e:s((0,r.Z)(e))}var l=n(3265);function u(e,t){var n;void 0===t&&(t=[]);var a=s(e),o=a===(null==(n=e.ownerDocument)?void 0:n.body),c=(0,l.Z)(a),d=o?[c].concat(c.visualVie
2wport||[],(0,i.Z)(a)?a:[]):a,f=t.concat(d);return o?f:f.concat(u((0,r.Z)(d)))}},2570:function(e,t,n){"use strict";n.d(t,{BL:function(){return u},Ct:function(){return m},DH:function(){return w},F2:function(){return a},I:function(){return i},MS:function(){return M},N7:function(){return g},Pj:function(){return f},XM:function(){return x},YP:function(){return p},bw:function(){return v},cW:function(){return k},d7:function(){return s},ij:function(){return y},iv:function(){return _},k5:function(){return h},mv:function(){return l},r5:function(){return b},t$:function(){return o},ut:function(){return c},wX:function(){return S},we:function(){return r},xs:function(){return E},zV:function(){return d}});var r="top",i="bottom",a="right",o="left",s="auto",l=[r,i,a,o],u="start",c="end",d="clippingParents",f="viewport",h="popper",p="reference",v=l.reduce((function(e,t){return e.concat([t+"-"+u,t+"-"+c])}),[]),m=[].concat(l,[s]).reduce((function(e,t){return e.concat([t,t+"-"+u,t+"-"+c])}),[]),g="beforeRead",y="read",b="afterRead",x="beforeMain",w="main",S="afterMain",_="beforeWrite",k="write",M="afterWrite",E=[g,y,b,x,w,S,_,k,M]},6292:function(e,t,n){"use strict";n.r(t),n.d(t,{afterMain:function(){return r.wX},afterRead:function(){return r.r5},afterWrite:function(){return r.MS},applyStyles:function(){return i.Z},arrow:function(){return a.Z},auto:function(){return r.d7},basePlacements:function(){return r.mv},beforeMain:function(){return r.XM},beforeRead:function(){return r.N7},beforeWrite:function(){return r.iv},bottom:function(){return r.I},clippingParents:function(){return r.zV},computeStyles:function(){return o.Z},createPopper:function(){return v.fi},createPopperBase:function(){return h.fi},createPopperLite:function(){return g},detectOverflow:function(){return p.Z},end:function(){return r.ut},eventListeners:function(){return s.Z},flip:function(){return l.Z},hide:function(){return u.Z},left:function(){return r.t$},main:function(){return r.DH},modifierPhases:function(){return r.xs},offset:function(){return c.Z},placements:function(){return r.Ct},popper:function(){return r.k5},popperGenerator:function(){return h.kZ},popperOffsets:function(){return d.Z},preventOverflow:function(){return f.Z},read:function(){return r.ij},reference:function(){return r.YP},right:function(){return r.F2},start:function(){return r.BL},top:function(){return r.we},variationPlacements:function(){return r.bw},viewport:function(){return r.Pj},write:function(){return r.cW}});var r=n(2570),i=n(3514),a=n(8702),o=n(9224),s=n(7786),l=n(5468),u=n(1668),c=n(5934),d=n(545),f=n(9790),h=n(761),p=n(9913),v=n(7170),m=[s.Z,d.Z,o.Z,i.Z],g=(0,h.kZ)({defaultModifiers:m})},3514:function(e,t,n){"use strict";var r=n(3120),i=n(9265);t.Z={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},a=t.attributes[e]||{},o=t.elements[e];(0,i.Re)(o)&&(0,r.Z)(o)&&(Object.assign(o.style,n),Object.keys(a).forEach((function(e){var t=a[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var a=t.elements[e],o=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,i.Re)(a)&&(0,r.Z)(a)&&(Object.assign(a.style,s),Object.keys(o).forEach((function(e){a.removeAttribute(e)})))}))}},requires:["computeStyles"]}},8702:function(e,t,n){"use strict";var r=n(5532),i=n(9818),a=n(1942),o=n(5411),s=n(5376),l=n(4666),u=n(1340),c=n(2031),d=n(2570);t.Z={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,a=e.name,f=e.options,h=n.elements.arrow,p=n.modifiersData.popperOffsets,v=(0,r.Z)(n.placement),m=(0,s.Z)(v),g=[d.t$,d.F2].indexOf(v)>=0?"height":"width";if(h&&p){var y=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,u.Z)("number"!==typeof e?e:(0,c.Z)(e,d.mv))}(f.padding,n),b=(0,i.Z)(h),x="y"===m?d.we:d.t$,w="y"===m?d.I:d.F2,S=n.rects.reference[g]+n.rects.reference[m]-p[m]-n.rects.popper[g],_=p[m]-n.rects.reference[m],k=(0,o.Z)(h),M=k?"y"===m?k.clientHeight||0:k.clientWidth||0:0,E=S/2-_/2,T=y[x],C=M-b[g]-y[w],A=M/2-b[g]/2+E,P=(0,l.u)(T,A,C),R=m;n.modifiersData[a]=((t={})[R]=P,t.centerOffset=P-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&(0,a.Z)(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},9224:function(e,t,n){"use strict";var r=n(2570),i=n(5411),a=n(3265),o=n(881),s=n(7427),l=n(5532),u=n(5227),c=n(3676),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f(e){var t,n=e.popper,l=e.popperRect,u=e.placement,f=e.variation,h=e.offsets,p=e.position,v=e.gpuAcceleration,m=e.adaptive,g=e.roundOffsets,y=e.isFixed,b=h.x,x=void 0===b?0:b,w=h.y,S=void 0===w?0:w,_="function"===typeof g?g({x:x,y:S}):{x:x,y:S};x=_.x,S=_.y;var k=h.hasOwnProperty("x"),M=h.hasOwnProperty("y"),E=r.t$,T=r.we,C=window;if(m){var A=(0,i.Z)(n),P="clientHeight",R="clientWidth";if(A===(0,a.Z)(n)&&(A=(0,o.Z)(n),"static"!==(0,s.Z)(A).position&&"absolute"===p&&(P="scrollHeight",R="scrollWidth")),u===r.we||(u===r.t$||u===r.F2)&&f===r.ut)T=r.I,S-=(y&&A===C&&C.visualVie
2wport?C.visualViewport.height:A[P])-l.height,S*=v?1:-1;if(u===r.t$||(u===r.we||u===r.I)&&f===r.ut)E=r.F2,x-=(y&&A===C&&C.visualViewport?C.visualViewport.width:A[R])-l.width,x*=v?1:-1}var O,L=Object.assign({position:p},m&&d),Z=!0===g?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:(0,c.NM)(n*i)/i||0,y:(0,c.NM)(r*i)/i||0}}({x:x,y:S},(0,a.Z)(n)):{x:x,y:S};return x=Z.x,S=Z.y,v?Object.assign({},L,((O={})[T]=M?"0":"",O[E]=k?"0":"",O.transform=(C.devicePixelRatio||1)<=1?"translate("+x+"px, "+S+"px)":"translate3d("+x+"px, "+S+"px, 0)",O)):Object.assign({},L,((t={})[T]=M?S+"px":"",t[E]=k?x+"px":"",t.transform="",t))}t.Z={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,a=n.adaptive,o=void 0===a||a,s=n.roundOffsets,c=void 0===s||s,d={placement:(0,l.Z)(t.placement),variation:(0,u.Z)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,f(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,f(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},7786:function(e,t,n){"use strict";var r=n(3265),i={passive:!0};t.Z={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,a=e.options,o=a.scroll,s=void 0===o||o,l=a.resize,u=void 0===l||l,c=(0,r.Z)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach((function(e){e.addEventListener("scroll",n.update,i)})),u&&c.addEventListener("resize",n.update,i),function(){s&&d.forEach((function(e){e.removeEventListener("scroll",n.update,i)})),u&&c.removeEventListener("resize",n.update,i)}},data:{}}},5468:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r={left:"right",right:"left",bottom:"top",top:"bottom"};function i(e){return e.replace(/left|right|bottom|top/g,(function(e){return r[e]}))}var a=n(5532),o={start:"end",end:"start"};function s(e){return e.replace(/start|end/g,(function(e){return o[e]}))}var l=n(9913),u=n(5227),c=n(2570);var d={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,d=void 0===o||o,f=n.altAxis,h=void 0===f||f,p=n.fallbackPlacements,v=n.padding,m=n.boundary,g=n.rootBoundary,y=n.altBoundary,b=n.flipVariations,x=void 0===b||b,w=n.allowedAutoPlacements,S=t.options.placement,_=(0,a.Z)(S),k=p||(_===S||!x?[i(S)]:function(e){if((0,a.Z)(e)===c.d7)return[];var t=i(e);return[s(e),t,s(t)]}(S)),M=[S].concat(k).reduce((function(e,n){return e.concat((0,a.Z)(n)===c.d7?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,d=n.flipVariations,f=n.allowedAutoPlacements,h=void 0===f?c.Ct:f,p=(0,u.Z)(r),v=p?d?c.bw:c.bw.filter((function(e){return(0,u.Z)(e)===p})):c.mv,m=v.filter((function(e){return h.indexOf(e)>=0}));0===m.length&&(m=v);var g=m.reduce((function(t,n){return t[n]=(0,l.Z)(e,{placement:n,boundary:i,rootBoundary:o,padding:s})[(0,a.Z)(n)],t}),{});return Object.keys(g).sort((function(e,t){return g[e]-g[t]}))}(t,{placement:n,boundary:m,rootBoundary:g,padding:v,flipVariations:x,allowedAutoPlacements:w}):n)}),[]),E=t.rects.reference,T=t.rects.popper,C=new Map,A=!0,P=M[0],R=0;R<M.length;R++){var O=M[R],L=(0,a.Z)(O),Z=(0,u.Z)(O)===c.BL,N=[c.we,c.I].indexOf(L)>=0,I=N?"width":"height",j=(0,l.Z)(t,{placement:O,boundary:m,rootBoundary:g,altBoundary:y,padding:v}),D=N?Z?c.F2:c.t$:Z?c.I:c.we;E[I]>T[I]&&(D=i(D));var z=i(D),U=[];if(d&&U.push(j[L]<=0),h&&U.push(j[D]<=0,j[z]<=0),U.every((function(e){return e}))){P=O,A=!1;break}C.set(O,U)}if(A)for(var F=function(e){var t=M.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},B=x?3:1;B>0;B--){if("break"===F(B))break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},1668:function(e,t,n){"use strict";var r=n(2570),i=n(9913);function a(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function o(e){return[r.we,r.F2,r.I,r.t$].some((function(t){return e[t]>=0}))}t.Z={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.re
2cts.reference,s=t.rects.popper,l=t.modifiersData.preventOverflow,u=(0,i.Z)(t,{elementContext:"reference"}),c=(0,i.Z)(t,{altBoundary:!0}),d=a(u,r),f=a(c,s,l),h=o(d),p=o(f);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:f,isReferenceHidden:h,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":p})}}},5934:function(e,t,n){"use strict";var r=n(5532),i=n(2570);t.Z={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,a=e.name,o=n.offset,s=void 0===o?[0,0]:o,l=i.Ct.reduce((function(e,n){return e[n]=function(e,t,n){var a=(0,r.Z)(e),o=[i.t$,i.we].indexOf(a)>=0?-1:1,s="function"===typeof n?n(Object.assign({},t,{placement:e})):n,l=s[0],u=s[1];return l=l||0,u=(u||0)*o,[i.t$,i.F2].indexOf(a)>=0?{x:u,y:l}:{x:l,y:u}}(n,t.rects,s),e}),{}),u=l[t.placement],c=u.x,d=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[a]=l}}},545:function(e,t,n){"use strict";var r=n(6425);t.Z={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,r.Z)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},9790:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(2570),i=n(5532),a=n(5376);var o=n(4666),s=n(9818),l=n(5411),u=n(9913),c=n(5227),d=n(9139),f=n(3676);var h={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,h=e.name,p=n.mainAxis,v=void 0===p||p,m=n.altAxis,g=void 0!==m&&m,y=n.boundary,b=n.rootBoundary,x=n.altBoundary,w=n.padding,S=n.tether,_=void 0===S||S,k=n.tetherOffset,M=void 0===k?0:k,E=(0,u.Z)(t,{boundary:y,rootBoundary:b,padding:w,altBoundary:x}),T=(0,i.Z)(t.placement),C=(0,c.Z)(t.placement),A=!C,P=(0,a.Z)(T),R="x"===P?"y":"x",O=t.modifiersData.popperOffsets,L=t.rects.reference,Z=t.rects.popper,N="function"===typeof M?M(Object.assign({},t.rects,{placement:t.placement})):M,I="number"===typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(O){if(v){var z,U="y"===P?r.we:r.t$,F="y"===P?r.I:r.F2,B="y"===P?"height":"width",V=O[P],H=V+E[U],W=V-E[F],G=_?-Z[B]/2:0,q=C===r.BL?L[B]:Z[B],X=C===r.BL?-Z[B]:-L[B],Y=t.elements.arrow,J=_&&Y?(0,s.Z)(Y):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,d.Z)(),Q=K[U],$=K[F],ee=(0,o.u)(0,L[B],J[B]),te=A?L[B]/2-G-ee-Q-I.mainAxis:q-ee-Q-I.mainAxis,ne=A?-L[B]/2+G+ee+$+I.mainAxis:X+ee+$+I.mainAxis,re=t.elements.arrow&&(0,l.Z)(t.elements.arrow),ie=re?"y"===P?re.clientTop||0:re.clientLeft||0:0,ae=null!=(z=null==j?void 0:j[P])?z:0,oe=V+te-ae-ie,se=V+ne-ae,le=(0,o.u)(_?(0,f.VV)(H,oe):H,V,_?(0,f.Fp)(W,se):W);O[P]=le,D[P]=le-V}if(g){var ue,ce="x"===P?r.we:r.t$,de="x"===P?r.I:r.F2,fe=O[R],he="y"===R?"height":"width",pe=fe+E[ce],ve=fe-E[de],me=-1!==[r.we,r.t$].indexOf(T),ge=null!=(ue=null==j?void 0:j[R])?ue:0,ye=me?pe:fe-L[he]-Z[he]-ge+I.altAxis,be=me?fe+L[he]+Z[he]-ge-I.altAxis:ve,xe=_&&me?(0,o.q)(ye,fe,be):(0,o.u)(_?ye:pe,fe,_?be:ve);O[R]=xe,D[R]=xe-fe}t.modifiersData[h]=D}},requiresIfExists:["offset"]}},7170:function(e,t,n){"use strict";n.d(t,{fi:function(){return p}});var r=n(761),i=n(7786),a=n(545),o=n(9224),s=n(3514),l=n(5934),u=n(5468),c=n(9790),d=n(8702),f=n(1668),h=[i.Z,a.Z,o.Z,s.Z,l.Z,u.Z,c.Z,d.Z,f.Z],p=(0,r.kZ)({defaultModifiers:h})},6425:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(5532),i=n(5227),a=n(5376),o=n(2570);function s(e){var t,n=e.reference,s=e.element,l=e.placement,u=l?(0,r.Z)(l):null,c=l?(0,i.Z)(l):null,d=n.x+n.width/2-s.width/2,f=n.y+n.height/2-s.height/2;switch(u){case o.we:t={x:d,y:n.y-s.height};break;case o.I:t={x:d,y:n.y+n.height};break;case o.F2:t={x:n.x+n.width,y:f};break;case o.t$:t={x:n.x-s.width,y:f};break;default:t={x:n.x,y:n.y}}var h=u?(0,a.Z)(u):null;if(null!=h){var p="y"===h?"height":"width";switch(c){case o.BL:t[h]=t[h]-(n[p]/2-s[p]/2);break;case o.ut:t[h]=t[h]+(n[p]/2-s[p]/2)}}return t}},9913:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(2570),i=n(3265),a=n(881),o=n(7902),s=n(8044);var l=n(7427),u=n(4801),c=n(3676);var d=n(7467),f=n(5411),h=n(9265),p=n(5652),v=n(8779),m=n(1942),g=n(3120);function y(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function b(e,t,n){return t===r.Pj?y(function(e,t){var n=(0,i.Z)(e),r=(0,a.Z)(e),l=n.visualVie
2wport,u=r.clientWidth,c=r.clientHeight,d=0,f=0;if(l){u=l.width,c=l.height;var h=(0,s.Z)();(h||!h&&"fixed"===t)&&(d=l.offsetLeft,f=l.offsetTop)}return{width:u,height:c,x:d+(0,o.Z)(e),y:f}}(e,n)):(0,h.kK)(t)?function(e,t){var n=(0,p.Z)(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):y(function(e){var t,n=(0,a.Z)(e),r=(0,u.Z)(e),i=null==(t=e.ownerDocument)?void 0:t.body,s=(0,c.Fp)(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),d=(0,c.Fp)(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),f=-r.scrollLeft+(0,o.Z)(e),h=-r.scrollTop;return"rtl"===(0,l.Z)(i||n).direction&&(f+=(0,c.Fp)(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:d,x:f,y:h}}((0,a.Z)(e)))}function x(e,t,n,r){var i="clippingParents"===t?function(e){var t=(0,d.Z)((0,v.Z)(e)),n=["absolute","fixed"].indexOf((0,l.Z)(e).position)>=0&&(0,h.Re)(e)?(0,f.Z)(e):e;return(0,h.kK)(n)?t.filter((function(e){return(0,h.kK)(e)&&(0,m.Z)(e,n)&&"body"!==(0,g.Z)(e)})):[]}(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce((function(t,n){var i=b(e,n,r);return t.top=(0,c.Fp)(i.top,t.top),t.right=(0,c.VV)(i.right,t.right),t.bottom=(0,c.VV)(i.bottom,t.bottom),t.left=(0,c.Fp)(i.left,t.left),t}),b(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var w=n(6425),S=n(1340),_=n(2031);function k(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=void 0===i?e.placement:i,s=n.strategy,l=void 0===s?e.strategy:s,u=n.boundary,c=void 0===u?r.zV:u,d=n.rootBoundary,f=void 0===d?r.Pj:d,v=n.elementContext,m=void 0===v?r.k5:v,g=n.altBoundary,b=void 0!==g&&g,k=n.padding,M=void 0===k?0:k,E=(0,S.Z)("number"!==typeof M?M:(0,_.Z)(M,r.mv)),T=m===r.k5?r.YP:r.k5,C=e.rects.popper,A=e.elements[b?T:m],P=x((0,h.kK)(A)?A:A.contextElement||(0,a.Z)(e.elements.popper),c,f,l),R=(0,p.Z)(e.elements.reference),O=(0,w.Z)({reference:R,element:C,strategy:"absolute",placement:o}),L=y(Object.assign({},C,O)),Z=m===r.k5?L:R,N={top:P.top-Z.top+E.top,bottom:Z.bottom-P.bottom+E.bottom,left:P.left-Z.left+E.left,right:Z.right-P.right+E.right},I=e.modifiersData.offset;if(m===r.k5&&I){var j=I[o];Object.keys(N).forEach((function(e){var t=[r.F2,r.I].indexOf(e)>=0?1:-1,n=[r.we,r.I].indexOf(e)>=0?"y":"x";N[e]+=j[n]*t}))}return N}},2031:function(e,t,n){"use strict";function r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,{Z:function(){return r}})},5532:function(e,t,n){"use strict";function r(e){return e.split("-")[0]}n.d(t,{Z:function(){return r}})},9139:function(e,t,n){"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{Z:function(){return r}})},5376:function(e,t,n){"use strict";function r(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{Z:function(){return r}})},5227:function(e,t,n){"use strict";function r(e){return e.split("-")[1]}n.d(t,{Z:function(){return r}})},3676:function(e,t,n){"use strict";n.d(t,{Fp:function(){return r},NM:function(){return a},VV:function(){return i}});var r=Math.max,i=Math.min,a=Math.round},1340:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9139);function i(e){return Object.assign({},(0,r.Z)(),e)}},3118:function(e,t,n){"use strict";function r(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}n.d(t,{Z:function(){return r}})},4666:function(e,t,n){"use strict";n.d(t,{q:function(){return a},u:function(){return i}});var r=n(3676);function i(e,t,n){return(0,r.Fp)(e,(0,r.VV)(t,n))}function a(e,t,n){var r=i(e,t,n);return r>n?n:r}},7945:function(e){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=(r(n(1)),n(6)),o=r(a),s=r(n(7)),l=r(n(8)),u=r(n(9)),c=r(n(10)),d=r(n(11)),f=r(n(14)),h=[],p=!1,v={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},m=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(p=!0),p)return h=(0,d.default)(h,v),(0,c.default)(h,v.once),h},g=function(){h=(0,f.default)(),m()},y=function(){h.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")}))},b=function(e){return!0===e||"mobile"===e&&u.default.mobile()||"phone"===e&&u.default.phone()||"tablet"===e&&u.default.tablet()||"function"==typeof e&&!0===e()},x=function(e){v=i(v,e),h=(0,f.default)();var t=document.all&&!window.atob;return b(v.disable)||t?y():(v.disableMutationObserver||l.default.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),v.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",v.easing),document.querySelector("body").setAttribute("data-aos-duration",v.duration),document.querySelector("body").setAttribute("data-aos-delay",v.delay),"DOMContentLoaded"===v.startEvent&&["complete","
2interactive"].indexOf(document.readyState)>-1?m(!0):"load"===v.startEvent?window.addEventListener(v.startEvent,(function(){m(!0)})):document.addEventListener(v.startEvent,(function(){m(!0)})),window.addEventListener("resize",(0,s.default)(m,v.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(m,v.debounceDelay,!0)),window.addEventListener("scroll",(0,o.default)((function(){(0,c.default)(h,v.once)}),v.throttleDelay)),v.disableMutationObserver||l.default.ready("[data-aos]",g),h)};e.exports={init:x,refresh:m,refreshHard:g}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function r(t){var n=v,r=m;return v=m=void 0,k=t,y=e.apply(r,n)}function a(e){return k=e,b=setTimeout(c,t),M?r(e):y}function o(e){var n=t-(e-x);return E?S(n,g-(e-k)):n}function l(e){var n=e-x;return void 0===x||n>=t||n<0||E&&e-k>=g}function c(){var e=_();return l(e)?d(e):void(b=setTimeout(c,o(e)))}function d(e){return b=void 0,T&&v?r(e):(v=m=void 0,y)}function f(){void 0!==b&&clearTimeout(b),k=0,v=x=m=b=void 0}function h(){return void 0===b?y:d(_())}function p(){var e=_(),n=l(e);if(v=arguments,m=this,x=e,n){if(void 0===b)return a(x);if(E)return b=setTimeout(c,t),r(x)}return void 0===b&&(b=setTimeout(c,t)),y}var v,m,g,y,b,x,k=0,M=!1,E=!1,T=!0;if("function"!=typeof e)throw new TypeError(u);return t=s(t)||0,i(n)&&(M=!!n.leading,g=(E="maxWait"in n)?w(s(n.maxWait)||0,t):g,T="trailing"in n?!!n.trailing:T),p.cancel=f,p.flush=h,p}function r(e,t,r){var a=!0,o=!0;if("function"!=typeof e)throw new TypeError(u);return i(r)&&(a="leading"in r?!!r.leading:a,o="trailing"in r?!!r.trailing:o),n(e,t,{leading:a,maxWait:t,trailing:o})}function i(e){var t="undefined"==typeof e?"undefined":l(e);return!!e&&("object"==t||"function"==t)}function a(e){return!!e&&"object"==("undefined"==typeof e?"undefined":l(e))}function o(e){return"symbol"==("undefined"==typeof e?"undefined":l(e))||a(e)&&x.call(e)==d}function s(e){if("number"==typeof e)return e;if(o(e))return c;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(f,"");var n=p.test(e);return n||v.test(e)?m(e.slice(2),n?2:8):h.test(e)?c:+e}var l="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},u="Expected a function",c=NaN,d="[object Symbol]",f=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,v=/^0o[0-7]+$/i,m=parseInt,g="object"==("undefined"==typeof t?"undefined":l(t))&&t&&t.Object===Object&&t,y="object"==("undefined"==typeof self?"undefined":l(self))&&self&&self.Object===Object&&self,b=g||y||Function("return this")(),x=Object.prototype.toString,w=Math.max,S=Math.min,_=function(){return b.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e,t,n){function i(t){var n=v,r=m;return v=m=void 0,k=t,y=e.apply(r,n)}function a(e){return k=e,b=setTimeout(c,t),M?i(e):y}function s(e){var n=t-(e-_);return E?w(n,g-(e-k)):n}function u(e){var n=e-_;return void 0===_||n>=t||n<0||E&&e-k>=g}function c(){var e=S();return u(e)?d(e):void(b=setTimeout(c,s(e)))}function d(e){return b=void 0,T&&v?i(e):(v=m=void 0,y)}function f(){void 0!==b&&clearTimeout(b),k=0,v=_=m=b=void 0}function h(){return void 0===b?y:d(S())}function p(){var e=S(),n=u(e);if(v=arguments,m=this,_=e,n){if(void 0===b)return a(_);if(E)return b=setTimeout(c,t),i(_)}return void 0===b&&(b=setTimeout(c,t)),y}var v,m,g,y,b,_,k=0,M=!1,E=!1,T=!0;if("function"!=typeof e)throw new TypeError(l);return t=o(t)||0,r(n)&&(M=!!n.leading,g=(E="maxWait"in n)?x(o(n.maxWait)||0,t):g,T="trailing"in n?!!n.trailing:T),p.cancel=f,p.flush=h,p}function r(e){var t="undefined"==typeof e?"undefined":s(e);return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==("undefined"==typeof e?"undefined":s(e))}function a(e){return"symbol"==("undefined"==typeof e?"undefined":s(e))||i(e)&&b.call(e)==c}function o(e){if("number"==typeof e)return e;if(a(e))return u;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=h.test(e);return n||p.test(e)?v(e.slice(2),n?2:8):f.test(e)?u:+e}var s="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},l="Expected a function",u=NaN,c="[object Symbol]",d=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,p=/^0o[0-7]+$/i,v=parseInt,m="object"==("undefined"==typeof t?"undefined":s(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":s(self))&&self&&self.Object===Object&&self,y=m||g||Function("return this")(),b=Object.prototype.toString,x=Math.max,w=Math.min,S=function(){return y.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){var t=void 0,r=void 0;for(t=0;t<e.length;t+=1){if((r=e[t]).dataset&&r.dataset.aos)return!0;
2if(r.children&&n(r.children))return!0}return!1}function r(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function i(){return!!r()}function a(e,t){var n=window.document,i=new(r())(o);s=t,i.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function o(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),r=Array.prototype.slice.call(e.removedNodes);if(n(t.concat(r)))return s()}))}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){};t.default={isSupported:i,ready:a}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,o=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,l=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
2sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,u=function(){function e(){n(this,e)}return i(e,[{key:"phone",value:function(){var e=r();return!(!a.test(e)&&!o.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=r();return!(!s.test(e)&&!l.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new u},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,n){var r=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):"undefined"!=typeof r&&("false"===r||!n&&"true"!==r)&&e.node.classList.remove("aos-animate")},r=function(e,t){var r=window.pageYOffset,i=window.innerHeight;e.forEach((function(e,a){n(e,i+r,t)}))};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(12)),a=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,i.default)(e.node,t.offset)})),e};t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(13)),a=function(e,t){var n=0,r=0,a=window.innerHeight,o={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(o.offset&&!isNaN(o.offset)&&(r=parseInt(o.offset)),o.anchor&&document.querySelectorAll(o.anchor)&&(e=document.querySelectorAll(o.anchor)[0]),n=(0,i.default)(e).top,o.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=a/2;break;case"bottom-center":n+=a/2+e.offsetHeight;break;case"center-center":n+=a/2+e.offsetHeight/2;break;case"top-top":n+=a;break;case"bottom-top":n+=e.offsetHeight+a;break;case"center-top":n+=e.offsetHeight/2+a}return o.anchorPlacement||o.offset||isNaN(t)||(r=t),n+r};t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))};t.default=n}])},4569:function(e,t,n){n(8036)},3381:function(e,t,n){"use strict";var r=n(3589),i=n(7297),a=n(9301),o=n(9774),s=n(1804),l=n(9145),u=n(5354),c=n(6467),d=n(6789),f=n(9346);e.exports=function(e){return new Promise((function(t,n){var h,p=e.data,v=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(p)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+x)}var w=s(e.baseURL,e.url);function S(){if(y){var r="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,a={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};i((function(e){t(e),g()}),(function(e){n(e),g()}),a),y=null}}if(y.open(e.method.toUpperCase(),o(w,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=S:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(S)},y.onabort=function(){y&&(n(c("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(c("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var _=(e.withCredentials||u(w))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;_&&(v[e.xsrfHeaderName]=_)}"setRequestHeader"in y&&r.forEach(v,(function(e,t){"undefined"===typeof p&&"content-type"===t.toLowerCase()?delete v[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){y&&(n(!e||e&&e.type?new f("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),p||(p=null),y.send(p)}))}},8036:function(e,t,n){"use strict";var r=n(3589),i=n(4049),a=n(3773),o=n(777);var s=function e(t){var n=new a(t),s=i(a.prototype.request,n);return r.extend(s,a.prototype,n),r.extend(s,n),s.create=function(n){return e(o(t,n))},s}(n(1709));s.Axios=a,s.Cancel=n(9346),s.CancelToken=n(6857),s.isCancel=n(5517),s.VERSION=n(7600).version,s.all=function(e){return Promise.all(e)},s.spread=n(8089),s.isAxiosError=n(9580),e.exports=s,e.exports.default=s},9346:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")}
vendor: 5,703 bytes, line 2
2,t.prototype.__CANCEL__=!0,e.exports=t},6857:function(e,t,n){"use strict";var r=n(9346);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},5517:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},3773:function(e,t,n){"use strict";var r=n(3589),i=n(9774),a=n(7470),o=n(2733),s=n(777),l=n(7835),u=l.validators;function c(e){this.defaults=e,this.interceptors={request:new a,response:new a}}c.prototype.request=function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var a,c=[];if(this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)})),!i){var d=[o,void 0];for(Array.prototype.unshift.apply(d,r),d=d.concat(c),a=Promise.resolve(t);d.length;)a=a.then(d.shift(),d.shift());return a}for(var f=t;r.length;){var h=r.shift(),p=r.shift();try{f=h(f)}catch(v){p(v);break}}try{a=o(f)}catch(v){return Promise.reject(v)}for(;c.length;)a=a.then(c.shift(),c.shift());return a},c.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=c},7470:function(e,t,n){"use strict";var r=n(3589);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},1804:function(e,t,n){"use strict";var r=n(4044),i=n(9549);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},6467:function(e,t,n){"use strict";var r=n(6460);e.exports=function(e,t,n,i,a){var o=new Error(e);return r(o,t,n,i,a)}},2733:function(e,t,n){"use strict";var r=n(3589),i=n(2693),a=n(5517),o=n(1709),s=n(9346);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||o.adapter)(e).then((function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},6460:function(e){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},777:function(e,t,n){"use strict";var r=n(3589);e.exports=function(e,t){t=t||{};var n={};function i(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function o(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function l(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||a,i=t(e);r.isUndefined(i)&&t!==l||(n[e]=i)})),n}},7297:function(e,t,n){"use strict";var r=n(6467);e.exports=function(e,t,n){var i=n.config.validateStatus;
vendor: 7,896 bytes, line 2
2n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},2693:function(e,t,n){"use strict";var r=n(3589),i=n(1709);e.exports=function(e,t,n){var a=this||i;return r.forEach(n,(function(n){e=n.call(a,e,t)})),e}},1709:function(e,t,n){"use strict";var r=n(3589),i=n(4341),a=n(6460),o=n(6789),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u={transitional:o,adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(3381)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(o){if("SyntaxError"===s.name)throw a(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(s)})),e.exports=u},6789:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7600:function(e){e.exports={version:"0.26.1"}},4049:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},9774:function(e,t,n){"use strict";var r=n(3589);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(r.isURLSearchParams(t))a=t.toString();else{var o=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),o.push(i(t)+"="+i(e))})))})),a=o.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},9549:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},9301:function(e,t,n){"use strict";var r=n(3589);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,a,o){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(a)&&s.push("domain="+a),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},4044:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},9580:function(e,t,n){"use strict";var r=n(3589);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},5354:function(e,t,n){"use strict";var r=n(3589);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},4341:function(e,t,n){"use strict";var r=n(3589);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},9145:function(e,t,n){"use strict";var r=n(3589),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,a,o={};return e?(r.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=r.trim(e.substr(0,a)).toLowerCase(),n=r.trim(e.substr(a+1)),t){if(o[t]&&i.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}},8089:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},7835:function(e,t,n){"use strict";var r=n(7600).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,o){if(!1===e)throw new Error(i(r," has been removed"+(t?" in "+t:"")));return t&&!a[r]&&(a[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,o)}},e.exports={assertOptions:function(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],o=t[a];if(o){var s=e[a],l=void 0===s||o(s,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+a)}},validators:i}},3589:function(e,t,n){"use strict";var r=n(4049),i=Object.prototype.toString;function a(e){return Array.isArray(e)}function o(e){return"undefined"===typeof e}function s(e){return"[object ArrayBuffer]"===i.call(e)}function l(e){return null!==e&&"object"===typeof e}function u(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function d(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:a,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===i.call(e)},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:l,isPlainObject:u,isUndefined:o,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return l(e)&&c(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===i.call(e)},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}
2,forEach:d,merge:function e(){var t={};function n(n,r){u(t[r])&&u(n)?t[r]=e(t[r],n):u(n)?t[r]=e({},n):a(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)d(arguments[r],n);return t},extend:function(e,t,n){return d(t,(function(t,i){e[i]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},2776:function(e,t,n){var r=n(1588).default,i=n(3808).default,a=n(4993).default,o=n(6115).default,s=n(1655).default,l=n(6389).default,u=n(2122).default,c=n(6690).default,d=n(9728).default,f=n(7424).default,h=n(4704).default,p=n(861).default,v=n(8416).default;e.exports=function(e){"use strict";var t;function n(e){var t=Object.create(null,v({},Symbol.toStringTag,{value:"Module"}));if(e){var n=function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}};for(var r in e)n(r)}return t.default=e,Object.freeze(t)}var m=n(e),g=new Map,y={set:function(e,t,n){g.has(e)||g.set(e,new Map);var r=g.get(e);r.has(t)||0===r.size?r.set(t,n):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(r.keys())[0],"."))},get:function(e,t){return g.has(e)&&g.get(e).get(t)||null},remove:function(e,t){if(g.has(e)){var n=g.get(e);n.delete(t),0===n.size&&g.delete(e)}}},b=1e6,x=1e3,w="transitionend",S=function(e){return e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(function(e,t){return"#".concat(CSS.escape(t))}))),e},_=function(e){return null===e||void 0===e?"".concat(e):Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()},k=function(e){do{e+=Math.floor(Math.random()*b)}while(document.getElementById(e));return e},M=function(e){if(!e)return 0;var t=window.getComputedStyle(e),n=t.transitionDuration,r=t.transitionDelay,i=Number.parseFloat(n),a=Number.parseFloat(r);return i||a?(n=n.split(",")[0],r=r.split(",")[0],(Number.parseFloat(n)+Number.parseFloat(r))*x):0},E=function(e){e.dispatchEvent(new Event(w))},T=function(e){return!(!e||"object"!==typeof e)&&("undefined"!==typeof e.jquery&&(e=e[0]),"undefined"!==typeof e.nodeType)},C=function(e){return T(e)?e.jquery?e[0]:e:"string"===typeof e&&e.length>0?document.querySelector(S(e)):null},A=function(e){if(!T(e)||0===e.getClientRects().length)return!1;var t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){var r=e.closest("summary");if(r&&r.parentNode!==n)return!1;if(null===r)return!1}return t},P=function(e){return!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||("undefined"!==typeof e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))},R=function e(t){if(!document.documentElement.attachShadow)return null;if("function"===typeof t.getRootNode){var n=t.getRootNode();return n instanceof ShadowRoot?n:null}return t instanceof ShadowRoot?t:t.parentNode?e(t.parentNode):null},O=function(){},L=function(e){e.offsetHeight},Z=function(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},N=[],I=function(e){"loading"===document.readyState?(N.length||document.addEventListener("DOMContentLoaded",(function(){for(var e=0,t=N;e<t.length;e++)(0,t[e])()})),N.push(e)):e()},j=function(){return"rtl"===document.documentElement.dir},D=function(e){I((function(){var t=Z();if(t){var n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=function(){return t.fn[n]=r,e.jQueryInterface}}}))},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"===typeof e?e.apply(void 0,p(t)):n},U=function(e,t){if(arguments.length>2&&void 0!==arguments[2]&&!arguments[2])z(e);else{var n=5,r=M(t)+n,i=!1,a=function n(r){r.target===t&&(i=!0,t.removeEventListener(w,n),z(e))};t.addEventListener(w,a),setTimeout((function(){i||E(t)}),r)}},F=function(e,t,n,r){var i=e.length,a=e.indexOf(t);return-1===a?!n&&r?e[i-1]:e[0]:(a+=n?1:-1,r&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},B=/[^.]*(?=\..*)\.|.*/,V=/\..*/,H=/::\d+$/,W={}
2,G=1,q={mouseenter:"mouseover",mouseleave:"mouseout"},X=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Y(e,t){return t&&"".concat(t,"::").concat(G++)||e.uidEvent||G++}function J(e){var t=Y(e);return e.uidEvent=t,W[t]=W[t]||{},W[t]}function K(e,t){return function n(r){return oe(r,{delegateTarget:e}),n.oneOff&&ae.off(e,r.type,t),t.apply(e,[r])}}function Q(e,t,n){return function r(i){for(var a=e.querySelectorAll(t),o=i.target;o&&o!==this;o=o.parentNode){var s,l=h(a);try{for(l.s();!(s=l.n()).done;)if(s.value===o)return oe(i,{delegateTarget:o}),r.oneOff&&ae.off(e,i.type,t,n),n.apply(o,[i])}catch(u){l.e(u)}finally{l.f()}}}}function $(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(e).find((function(e){return e.callable===t&&e.delegationSelector===n}))}function ee(e,t,n){var r="string"===typeof t,i=r?n:t||n,a=ie(e);return X.has(a)||(a=e),[r,i,a]}function te(e,t,n,r,i){if("string"===typeof t&&e){var a=ee(t,n,r),o=f(a,3),s=o[0],l=o[1],u=o[2];if(t in q){var c=function(e){return function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)}};l=c(l)}var d=J(e),h=d[u]||(d[u]={}),p=$(h,l,s?n:null);if(p)p.oneOff=p.oneOff&&i;else{var v=Y(l,t.replace(B,"")),m=s?Q(e,n,l):K(e,l);m.delegationSelector=s?n:null,m.callable=l,m.oneOff=i,m.uidEvent=v,h[v]=m,e.addEventListener(u,m,s)}}}function ne(e,t,n,r,i){var a=$(t[n],r,i);a&&(e.removeEventListener(n,a,Boolean(i)),delete t[n][a.uidEvent])}function re(e,t,n,r){for(var i=t[n]||{},a=0,o=Object.entries(i);a<o.length;a++){var s=f(o[a],2),l=s[0],u=s[1];l.includes(r)&&ne(e,t,n,u.callable,u.delegationSelector)}}function ie(e){return e=e.replace(V,""),q[e]||e}var ae={on:function(e,t,n,r){te(e,t,n,r,!1)},one:function(e,t,n,r){te(e,t,n,r,!0)},off:function(e,t,n,r){if("string"===typeof t&&e){var i=ee(t,n,r),a=f(i,3),o=a[0],s=a[1],l=a[2],u=l!==t,c=J(e),d=c[l]||{},h=t.startsWith(".");if("undefined"===typeof s){if(h)for(var p=0,v=Object.keys(c);p<v.length;p++)re(e,c,v[p],t.slice(1));for(var m=0,g=Object.entries(d);m<g.length;m++){var y=f(g[m],2),b=y[0],x=y[1],w=b.replace(H,"");u&&!t.includes(w)||ne(e,c,l,x.callable,x.delegationSelector)}}else{if(!Object.keys(d).length)return;ne(e,c,l,s,o?n:null)}}},trigger:function(e,t,n){if("string"!==typeof t||!e)return null;var r=Z(),i=null,a=!0,o=!0,s=!1;t!==ie(t)&&r&&(i=r.Event(t,n),r(e).trigger(i),a=!i.isPropagationStopped(),o=!i.isImmediatePropagationStopped(),s=i.isDefaultPrevented());var l=oe(new Event(t,{bubbles:a,cancelable:!0}),n);return s&&l.preventDefault(),o&&e.dispatchEvent(l),l.defaultPrevented&&i&&i.preventDefault(),l}};function oe(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){var t=f(i[r],2),n=t[0],a=t[1];try{e[n]=a}catch(o){Object.defineProperty(e,n,{configurable:!0,get:function(){return a}})}},r=0,i=Object.entries(t);r<i.length;r++)n();return e}function se(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!==typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function le(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}var ue={setDataAttribute:function(e,t,n){e.setAttribute("data-bs-".concat(le(t)),n)},removeDataAttribute:function(e,t){e.removeAttribute("data-bs-".concat(le(t)))},getDataAttributes:function(e){if(!e)return{};var t,n={},r=Object.keys(e.dataset).filter((function(e){return e.startsWith("bs")&&!e.startsWith("bsConfig")})),i=h(r);try{for(i.s();!(t=i.n()).done;){var a=t.value,o=a.replace(/^bs/,"");n[o=o.charAt(0).toLowerCase()+o.slice(1,o.length)]=se(e.dataset[a])}}catch(s){i.e(s)}finally{i.f()}return n},getDataAttribute:function(e,t){return se(e.getAttribute("data-bs-".concat(le(t))))}},ce=function(){function e(){c(this,e)}return d(e,[{key:"_getConfig",value:function(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}},{key:"_configAfterMerge",value:function(e){return e}},{key:"_mergeConfigObj",value:function(e,t){var n=T(t)?ue.getDataAttribute(t,"config"):{};return u(u(u(u({},this.constructor.Default),"object"===typeof n?n:{}),T(t)?ue.getDataAttributes(t):{}),"object"===typeof e?e:{})}},{key:"_typeCheckConfig",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,n=0,r=Object.entries(t);n<r.length;n++){var i=f(r[n],2),a=i[0],o=i[1],s=e[a],l=T(s)?"element":_(s);if(!new RegExp(o).test(l))throw new TypeError("".concat(this.constructor.NAME.toUpperCase(),': Option "').concat(a,'" provided type "').concat(l,'" but expected type "').concat(o,'".'))}}}],[{key:"Default",get:function(){return{}}},{key:"DefaultType",get:function(){return{}}},{key:"NAME",get:function(){throw new Error('You have to implement the static method "NAME", for each component!')}}]),e}(),de="5.3.0",fe=function(e){s(n,e);var t=l(n);function n(e,r){var i;return c(this,n),i=t.call(this),(e=C(e))?(i._element=e,i._config=i._getConfig(r),y.set(i._element,i.constructor.DATA_KEY,o(i)),i):a(i)}return d(n,[{key:"dispose",value:function(){y.remove(this._element,this.constructor.DATA_KEY),ae.off(this._element,this.constructor.EVENT_KEY);var e,t=h(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;)this[e.value]=null}catch(n){t.e(n)}finally{t.f()}}},{key:"_queueCallback",value:function(e,t){U(e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}},{key:"_getConfig",value:function(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}}],[{key:"getInstance",value:function(e){return y.get(C(e),this.DATA_KEY)}},{key:"getOrCreateInstance",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===typeof t?t:null)}},{key:"VERSION",get:function(){return de}},{key:"DATA_KEY",get:function(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function(){return".".concat(this.DATA_KEY)}},{key:"eventName",value:function(e){return"".concat(e).concat(this.EVENT_KEY)}}]),n}(ce),he=function(e){var t=e.getAttribute("data-bs-target");if(!t||"#"===t){var n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#".concat(n.split("#")[1])),t=n&&"#"!==n?n.trim():null}return S(t)},pe={find:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(t=[]).concat.apply(t,p(Element.prototype.querySelectorAll.call(n,e)))},findOne:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:function(e,t){var n;return(n=[]).concat.apply(n,p(e.children)).filter((function(e){return e.matches(t)}))},parents:function(e,t){for(var n=[],r=e.parentNode.closest(t);r;)n.push(r),r=r.parentNode.closest(t);return n},prev:function(e,t){for(var n=e.previousElementSibling;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next:function(e,t){for(var n=e.nextElementSibling;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren:function(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((function(e){return"".concat(e,':not([tabindex^="-"])')})).join(",");return this.find(t,e).filter((function(e){return!P(e)&&A(e)}))},getSelectorFromElement:function(e){var t=he(e);return t&&pe.findOne(t)?t:null},getElementFromSelector:function(e){var t=he(e);return t?pe.findOne(t):null},getMultipleElementsFromSelector:function(e){var t=he(e);return t?pe.find(t):[]}},ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hide",n="click.dismiss".concat(e.EVENT_KEY),r=e.NAME;ae.on(document,n,'[data-bs-dismiss="'.concat(r,'"]'),(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),!P(this)){var i=pe.getElementFromSelector(this)||this.closest(".".concat(r));e.getOrCreateInstance(i)[t]()}}))},me="alert",ge=".".concat("bs.alert"),ye="close".concat(ge),be="closed".concat(ge),xe="fade",we="show",Se=function(e){s(n,e);var t=l(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"close",value:function(){var e=this;if(!ae.trigger(this._element,ye).defaultPrevented){this._element.classList.remove(we);var t=this._element.classList.contains(xe);this._queueCallback((function(){return e._destroyElement()}),this._element,t)}}},{key:"_destroyElement",value:function(){this._element.remove(),ae.trigger(this._element,be),this.dispose()}}],[{key:"NAME",get:function(){return me}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method n
2amed "'.concat(e,'"'));t[e](this)}}))}}]),n}(fe);ve(Se,"close"),D(Se);var _e="button",ke=".".concat("bs.button"),Me=".data-api",Ee="active",Te='[data-bs-toggle="button"]',Ce="click".concat(ke).concat(Me),Ae=function(e){s(n,e);var t=l(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"toggle",value:function(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Ee))}}],[{key:"NAME",get:function(){return _e}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}]),n}(fe);ae.on(document,Ce,Te,(function(e){e.preventDefault();var t=e.target.closest(Te);Ae.getOrCreateInstance(t).toggle()})),D(Ae);var Pe="swipe",Re=".bs.swipe",Oe="touchstart".concat(Re),Le="touchmove".concat(Re),Ze="touchend".concat(Re),Ne="pointerdown".concat(Re),Ie="pointerup".concat(Re),je="touch",De="pen",ze="pointer-event",Ue=40,Fe={endCallback:null,leftCallback:null,rightCallback:null},Be={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},Ve=function(e){s(n,e);var t=l(n);function n(e,r){var i;return c(this,n),(i=t.call(this))._element=e,e&&n.isSupported()?(i._config=i._getConfig(r),i._deltaX=0,i._supportPointerEvents=Boolean(window.PointerEvent),i._initEvents(),i):a(i)}return d(n,[{key:"dispose",value:function(){ae.off(this._element,Re)}},{key:"_start",value:function(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}},{key:"_end",value:function(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),z(this._config.endCallback)}},{key:"_move",value:function(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}},{key:"_handleSwipe",value:function(){var e=Math.abs(this._deltaX);if(!(e<=Ue)){var t=e/this._deltaX;this._deltaX=0,t&&z(t>0?this._config.rightCallback:this._config.leftCallback)}}},{key:"_initEvents",value:function(){var e=this;this._supportPointerEvents?(ae.on(this._element,Ne,(function(t){return e._start(t)})),ae.on(this._element,Ie,(function(t){return e._end(t)})),this._element.classList.add(ze)):(ae.on(this._element,Oe,(function(t){return e._start(t)})),ae.on(this._element,Le,(function(t){return e._move(t)})),ae.on(this._element,Ze,(function(t){return e._end(t)})))}},{key:"_eventIsPointerPenTouch",value:function(e){return this._supportPointerEvents&&(e.pointerType===De||e.pointerType===je)}}],[{key:"Default",get:function(){return Fe}},{key:"DefaultType",get:function(){return Be}},{key:"NAME",get:function(){return Pe}},{key:"isSupported",value:function(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}]),n}(ce),He="carousel",We=".".concat("bs.carousel"),Ge=".data-api",qe="ArrowLeft",Xe="ArrowRight",Ye=500,Je="next",Ke="prev",Qe="left",$e="right",et="slide".concat(We),tt="slid".concat(We),nt="keydown".concat(We),rt="mouseenter".concat(We),it="mouseleave".concat(We),at="dragstart".concat(We),ot="load".concat(We).concat(Ge),st="click".concat(We).concat(Ge),lt="carousel",ut="active",ct="slide",dt="carousel-item-end",ft="carousel-item-start",ht="carousel-item-next",pt="carousel-item-prev",vt=".active",mt=".carousel-item",gt=vt+mt,yt=".carousel-item img",bt=".carousel-indicators",xt="[data-bs-slide], [data-bs-slide-to]",wt='[data-bs-ride="carousel"]',St=(v(t={},qe,$e),v(t,Xe,Qe),t),_t={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},kt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},Mt=function(e){s(n,e);var t=l(n);function n(e,r){var i;return c(this,n),(i=t.call(this,e,r))._interval=null,i._activeElement=null,i._isSliding=!1,i.touchTimeout=null,i._swipeHelper=null,i._indicatorsElement=pe.findOne(bt,i._element),i._addEventListeners(),i._config.ride===lt&&i.cycle(),i}return d(n,[{key:"next",value:function(){this._slide(Je)}},{key:"nextWhenVisible",value:function(){!document.hidden&&A(this._element)&&this.next()}},{key:"prev",value:function(){this._slide(Ke)}},{key:"pause",value:function(){this._isSliding&&E(this._element),this._clearInterval()}},{key:"cycle",value:function(){var e=this;this._clearInterval(),this._updateInterval(),this._interval=setInterval((function(){return e.nextWhenVisible()}),this._config.interval)}},{key:"_maybeEnableCycle",value:function(){var e=this;this._config.ride&&(this._isSliding?ae.one(this._element,tt,(function(){return e.cycle()})):this.cycle())}},{key:"to",value:function(e){var t=this,n=this._getItems();if(!(e>n.length-1||e<0))if(this._isSliding)ae.one(this._element,tt,(function(){return t.to(e)}));else{var r=this._getItemIndex(this._getActive());if(r!==e){var i=e>r?Je:Ke;this._slide(i,n[e])}}}},{key:"dispose",value:function(){this._swipeHelper&&this._swipeHelper.dis
2pose(),r(i(n.prototype),"dispose",this).call(this)}},{key:"_configAfterMerge",value:function(e){return e.defaultInterval=e.interval,e}},{key:"_addEventListeners",value:function(){var e=this;this._config.keyboard&&ae.on(this._element,nt,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&(ae.on(this._element,rt,(function(){return e.pause()})),ae.on(this._element,it,(function(){return e._maybeEnableCycle()}))),this._config.touch&&Ve.isSupported()&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function(){var e,t=this,n=h(pe.find(yt,this._element));try{for(n.s();!(e=n.n()).done;){var r=e.value;ae.on(r,at,(function(e){return e.preventDefault()}))}}catch(a){n.e(a)}finally{n.f()}var i={leftCallback:function(){return t._slide(t._directionToOrder(Qe))},rightCallback:function(){return t._slide(t._directionToOrder($e))},endCallback:function(){"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(){return t._maybeEnableCycle()}),Ye+t._config.interval))}};this._swipeHelper=new Ve(this._element,i)}},{key:"_keydown",value:function(e){if(!/input|textarea/i.test(e.target.tagName)){var t=St[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}}},{key:"_getItemIndex",value:function(e){return this._getItems().indexOf(e)}},{key:"_setActiveIndicatorElement",value:function(e){if(this._indicatorsElement){var t=pe.findOne(vt,this._indicatorsElement);t.classList.remove(ut),t.removeAttribute("aria-current");var n=pe.findOne('[data-bs-slide-to="'.concat(e,'"]'),this._indicatorsElement);n&&(n.classList.add(ut),n.setAttribute("aria-current","true"))}}},{key:"_updateInterval",value:function(){var e=this._activeElement||this._getActive();if(e){var t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}}},{key:"_slide",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!this._isSliding){var r=this._getActive(),i=e===Je,a=n||F(this._getItems(),r,i,this._config.wrap);if(a!==r){var o=this._getItemIndex(a),s=function(n){return ae.trigger(t._element,n,{relatedTarget:a,direction:t._orderToDirection(e),from:t._getItemIndex(r),to:o})};if(!s(et).defaultPrevented&&r&&a){var l=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=a;var u=i?ft:dt,c=i?ht:pt;a.classList.add(c),L(a),r.classList.add(u),a.classList.add(u);var d=function(){a.classList.remove(u,c),a.classList.add(ut),r.classList.remove(ut,c,u),t._isSliding=!1,s(tt)};this._queueCallback(d,r,this._isAnimated()),l&&this.cycle()}}}}},{key:"_isAnimated",value:function(){return this._element.classList.contains(ct)}},{key:"_getActive",value:function(){return pe.findOne(gt,this._element)}},{key:"_getItems",value:function(){return pe.find(mt,this._element)}},{key:"_clearInterval",value:function(){this._interval&&(clearInterval(this._interval),this._interval=null)}},{key:"_directionToOrder",value:function(e){return j()?e===Qe?Ke:Je:e===Qe?Je:Ke}},{key:"_orderToDirection",value:function(e){return j()?e===Ke?Qe:$e:e===Ke?$e:Qe}}],[{key:"Default",get:function(){return _t}},{key:"DefaultType",get:function(){return kt}},{key:"NAME",get:function(){return He}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("number"!==typeof e){if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}else t.to(e)}))}}]),n}(fe);ae.on(document,st,xt,(function(e){var t=pe.getElementFromSelector(this);if(t&&t.classList.contains(lt)){e.preventDefault();var n=Mt.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");if(r)return n.to(r),void n._maybeEnableCycle();if("next"===ue.getDataAttribute(this,"slide"))return n.next(),void n._maybeEnableCycle();n.prev(),n._maybeEnableCycle()}})),ae.on(window,ot,(function(){var e,t=pe.find(wt),n=h(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;Mt.getOrCreateInstance(r)}}catch(i){n.e(i)}finally{n.f()}})),D(Mt);var Et="collapse",Tt=".".concat("bs.collapse"),Ct=".data-api",At="show".concat(Tt),Pt="shown".concat(Tt),Rt="hide".concat(Tt),Ot="hidden".concat(Tt),Lt="click".concat(Tt).concat(Ct),Zt="show",Nt="collapse",It="collapsing",jt="collapsed",Dt=":scope .".concat(Nt," .").concat(Nt),zt="collapse-horizontal",Ut="width",Ft="height",Bt=".collapse.show, .collapse.collapsing",Vt='[data-bs-toggle="collapse"]',Ht={parent:null,toggle:!0},Wt={parent:"(null|element)",toggle:"boolean"},Gt=function(e){s(n,e);var t=l(n);function n(e,r){var i;c(this,n),(i=t.call(this,e,r))._isTransitioning=!1,i._triggerArray=[];var a,o=pe.find(Vt),s=h(o);try{for(s.s();!(a=s.n()).done;){var l=a.value,u=pe.getSelectorFromElement(l),d=pe.find(u).filter((function(e){return e===i._element}));null!==u&&d.length&&i._triggerArray.push(l)}}catch(f){s.e(f)}finally{s.f()}return i._initializeChildren(),i._config.parent||i._addAriaAndCollapsedClass(i._triggerArray,i._isShown()),i._config.toggle&&i.toggle(),i}return d(n,[{key:"toggle",value:function(){this._isShown()?this.hide():this.show()}},{key:"show",value:function(){var e=this;if(!this._isTransitioning&&!this._isShown()){var t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Bt).filter((function(t){return t!==e._element})).map((function(e){return n.getOrCreateInstance(e,{toggle:!1})}
2))),(!t.length||!t[0]._isTransitioning)&&!ae.trigger(this._element,At).defaultPrevented){var r,i=h(t);try{for(i.s();!(r=i.n()).done;)r.value.hide()}catch(u){i.e(u)}finally{i.f()}var a=this._getDimension();this._element.classList.remove(Nt),this._element.classList.add(It),this._element.style[a]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var o=function(){e._isTransitioning=!1,e._element.classList.remove(It),e._element.classList.add(Nt,Zt),e._element.style[a]="",ae.trigger(e._element,Pt)},s=a[0].toUpperCase()+a.slice(1),l="scroll".concat(s);this._queueCallback(o,this._element,!0),this._element.style[a]="".concat(this._element[l],"px")}}}},{key:"hide",value:function(){var e=this;if(!this._isTransitioning&&this._isShown()&&!ae.trigger(this._element,Rt).defaultPrevented){var t=this._getDimension();this._element.style[t]="".concat(this._element.getBoundingClientRect()[t],"px"),L(this._element),this._element.classList.add(It),this._element.classList.remove(Nt,Zt);var n,r=h(this._triggerArray);try{for(r.s();!(n=r.n()).done;){var i=n.value,a=pe.getElementFromSelector(i);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([i],!1)}}catch(s){r.e(s)}finally{r.f()}this._isTransitioning=!0;var o=function(){e._isTransitioning=!1,e._element.classList.remove(It),e._element.classList.add(Nt),ae.trigger(e._element,Ot)};this._element.style[t]="",this._queueCallback(o,this._element,!0)}}},{key:"_isShown",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(Zt)}},{key:"_configAfterMerge",value:function(e){return e.toggle=Boolean(e.toggle),e.parent=C(e.parent),e}},{key:"_getDimension",value:function(){return this._element.classList.contains(zt)?Ut:Ft}},{key:"_initializeChildren",value:function(){if(this._config.parent){var e,t=this._getFirstLevelChildren(Vt),n=h(t);try{for(n.s();!(e=n.n()).done;){var r=e.value,i=pe.getElementFromSelector(r);i&&this._addAriaAndCollapsedClass([r],this._isShown(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"_getFirstLevelChildren",value:function(e){var t=pe.find(Dt,this._config.parent);return pe.find(e,this._config.parent).filter((function(e){return!t.includes(e)}))}},{key:"_addAriaAndCollapsedClass",value:function(e,t){if(e.length){var n,r=h(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.classList.toggle(jt,!t),i.setAttribute("aria-expanded",t)}}catch(a){r.e(a)}finally{r.f()}}}}],[{key:"Default",get:function(){return Ht}},{key:"DefaultType",get:function(){return Wt}},{key:"NAME",get:function(){return Et}},{key:"jQueryInterface",value:function(e){var t={};return"string"===typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){var r=n.getOrCreateInstance(this,t);if("string"===typeof e){if("undefined"===typeof r[e])throw new TypeError('No method named "'.concat(e,'"'));r[e]()}}))}}]),n}(fe);ae.on(document,Lt,Vt,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();var t,n=h(pe.getMultipleElementsFromSelector(this));try{for(n.s();!(t=n.n()).done;){var r=t.value;Gt.getOrCreateInstance(r,{toggle:!1}).toggle()}}catch(i){n.e(i)}finally{n.f()}})),D(Gt);var qt="dropdown",Xt=".".concat("bs.dropdown"),Yt=".data-api",Jt="Escape",Kt="Tab",Qt="ArrowUp",$t="ArrowDown",en=2,tn="hide".concat(Xt),nn="hidden".concat(Xt),rn="show".concat(Xt),an="shown".concat(Xt),on="click".concat(Xt).concat(Yt),sn="keydown".concat(Xt).concat(Yt),ln="keyup".concat(Xt).concat(Yt),un="show",cn="dropup",dn="dropend",fn="dropstart",hn="dropup-center",pn="dropdown-center",vn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',mn="".concat(vn,".").concat(un),gn=".dropdown-menu",yn=".navbar",bn=".navbar-nav",xn=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",wn=j()?"top-end":"top-start",Sn=j()?"top-start":"top-end",_n=j()?"bottom-end":"bottom-start",kn=j()?"bottom-start":"bottom-end",Mn=j()?"left-start":"right-start",En=j()?"right-start":"left-start",Tn="top",Cn="bottom",An={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Pn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"str
2ing",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},Rn=function(e){s(n,e);var t=l(n);function n(e,r){var i;return c(this,n),(i=t.call(this,e,r))._popper=null,i._parent=i._element.parentNode,i._menu=pe.next(i._element,gn)[0]||pe.prev(i._element,gn)[0]||pe.findOne(gn,i._parent),i._inNavbar=i._detectNavbar(),i}return d(n,[{key:"toggle",value:function(){return this._isShown()?this.hide():this.show()}},{key:"show",value:function(){if(!P(this._element)&&!this._isShown()){var e={relatedTarget:this._element};if(!ae.trigger(this._element,rn,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(bn)){var t,n,r=h((t=[]).concat.apply(t,p(document.body.children)));try{for(r.s();!(n=r.n()).done;){var i=n.value;ae.on(i,"mouseover",O)}}catch(a){r.e(a)}finally{r.f()}}this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(un),this._element.classList.add(un),ae.trigger(this._element,an,e)}}}},{key:"hide",value:function(){if(!P(this._element)&&this._isShown()){var e={relatedTarget:this._element};this._completeHide(e)}}},{key:"dispose",value:function(){this._popper&&this._popper.destroy(),r(i(n.prototype),"dispose",this).call(this)}},{key:"update",value:function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}},{key:"_completeHide",value:function(e){if(!ae.trigger(this._element,tn,e).defaultPrevented){if("ontouchstart"in document.documentElement){var t,n,r=h((t=[]).concat.apply(t,p(document.body.children)));try{for(r.s();!(n=r.n()).done;){var i=n.value;ae.off(i,"mouseover",O)}}catch(a){r.e(a)}finally{r.f()}}this._popper&&this._popper.destroy(),this._menu.classList.remove(un),this._element.classList.remove(un),this._element.setAttribute("aria-expanded","false"),ue.removeDataAttribute(this._menu,"popper"),ae.trigger(this._element,nn,e)}}},{key:"_getConfig",value:function(e){if("object"===typeof(e=r(i(n.prototype),"_getConfig",this).call(this,e)).reference&&!T(e.reference)&&"function"!==typeof e.reference.getBoundingClientRect)throw new TypeError("".concat(qt.toUpperCase(),': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'));return e}},{key:"_createPopper",value:function(){if("undefined"===typeof m)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var e=this._element;"parent"===this._config.reference?e=this._parent:T(this._config.reference)?e=C(this._config.reference):"object"===typeof this._config.reference&&(e=this._config.reference);var t=this._getPopperConfig();this._popper=m.createPopper(e,this._menu,t)}},{key:"_isShown",value:function(){return this._menu.classList.contains(un)}},{key:"_getPlacement",value:function(){var e=this._parent;if(e.classList.contains(dn))return Mn;if(e.classList.contains(fn))return En;if(e.classList.contains(hn))return Tn;if(e.classList.contains(pn))return Cn;var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains(cn)?t?Sn:wn:t?kn:_n}},{key:"_detectNavbar",value:function(){return null!==this._element.closest(yn)}},{key:"_getOffset",value:function(){var e=this,t=this._config.offset;return"string"===typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"===typeof t?function(n){return t(n,e._element)}:t}},{key:"_getPopperConfig",value:function(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(ue.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),u(u({},e),z(this._config.popperConfig,[e]))}},{key:"_selectMenuItem",value:function(e){var t=e.key,n=e.target,r=pe.find(xn,this._menu).filter((function(e){return A(e)}));r.length&&F(r,n,t===$t,!r.includes(n)).focus()}}],[{key:"Default",get:function(){return An}},{key:"DefaultType",get:function(){return Pn}},{key:"NAME",get:function(){return qt}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method n
2amed "'.concat(e,'"'));t[e]()}}))}},{key:"clearMenus",value:function(e){if(e.button!==en&&("keyup"!==e.type||e.key===Kt)){var t,r=pe.find(mn),i=h(r);try{for(i.s();!(t=i.n()).done;){var a=t.value,o=n.getInstance(a);if(o&&!1!==o._config.autoClose){var s=e.composedPath(),l=s.includes(o._menu);if(!(s.includes(o._element)||"inside"===o._config.autoClose&&!l||"outside"===o._config.autoClose&&l)&&(!o._menu.contains(e.target)||!("keyup"===e.type&&e.key===Kt||/input|select|option|textarea|form/i.test(e.target.tagName)))){var u={relatedTarget:o._element};"click"===e.type&&(u.clickEvent=e),o._completeHide(u)}}}}catch(c){i.e(c)}finally{i.f()}}}},{key:"dataApiKeydownHandler",value:function(e){var t=/input|textarea/i.test(e.target.tagName),r=e.key===Jt,i=[Qt,$t].includes(e.key);if((i||r)&&(!t||r)){e.preventDefault();var a=this.matches(vn)?this:pe.prev(this,vn)[0]||pe.next(this,vn)[0]||pe.findOne(vn,e.delegateTarget.parentNode),o=n.getOrCreateInstance(a);if(i)return e.stopPropagation(),o.show(),void o._selectMenuItem(e);o._isShown()&&(e.stopPropagation(),o.hide(),a.focus())}}}]),n}(fe);ae.on(document,sn,vn,Rn.dataApiKeydownHandler),ae.on(document,sn,gn,Rn.dataApiKeydownHandler),ae.on(document,on,Rn.clearMenus),ae.on(document,ln,Rn.clearMenus),ae.on(document,on,vn,(function(e){e.preventDefault(),Rn.getOrCreateInstance(this).toggle()})),D(Rn);var On="backdrop",Ln="fade",Zn="show",Nn="mousedown.bs.".concat(On),In={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},jn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},Dn=function(e){s(n,e);var t=l(n);function n(e){var r;return c(this,n),(r=t.call(this))._config=r._getConfig(e),r._isAppended=!1,r._element=null,r}return d(n,[{key:"show",value:function(e){if(this._config.isVisible){this._append();var t=this._getElement();this._config.isAnimated&&L(t),t.classList.add(Zn),this._emulateAnimation((function(){z(e)}))}else z(e)}},{key:"hide",value:function(e){var t=this;this._config.isVisible?(this._getElement().classList.remove(Zn),this._emulateAnimation((function(){t.dispose(),z(e)}))):z(e)}},{key:"dispose",value:function(){this._isAppended&&(ae.off(this._element,Nn),this._element.remove(),this._isAppended=!1)}},{key:"_getElement",value:function(){if(!this._element){var e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(Ln),this._element=e}return this._element}},{key:"_configAfterMerge",value:function(e){return e.rootElement=C(e.rootElement),e}},{key:"_append",value:function(){var e=this;if(!this._isAppended){var t=this._getElement();this._config.rootElement.append(t),ae.on(t,Nn,(function(){z(e._config.clickCallback)})),this._isAppended=!0}}},{key:"_emulateAnimation",value:function(e){U(e,this._getElement(),this._config.isAnimated)}}],[{key:"Default",get:function(){return In}},{key:"DefaultType",get:function(){return jn}},{key:"NAME",get:function(){return On}}]),n}(ce),zn="focustrap",Un=".".concat("bs.focustrap"),Fn="focusin".concat(Un),Bn="keydown.tab".concat(Un),Vn="Tab",Hn="forward",W
2n="backward",Gn={autofocus:!0,trapElement:null},qn={autofocus:"boolean",trapElement:"element"},Xn=function(e){s(n,e);var t=l(n);function n(e){var r;return c(this,n),(r=t.call(this))._config=r._getConfig(e),r._isActive=!1,r._lastTabNavDirection=null,r}return d(n,[{key:"activate",value:function(){var e=this;this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ae.off(document,Un),ae.on(document,Fn,(function(t){return e._handleFocusin(t)})),ae.on(document,Bn,(function(t){return e._handleKeydown(t)})),this._isActive=!0)}},{key:"deactivate",value:function(){this._isActive&&(this._isActive=!1,ae.off(document,Un))}},{key:"_handleFocusin",value:function(e){var t=this._config.trapElement;if(e.target!==document&&e.target!==t&&!t.contains(e.target)){var n=pe.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===Wn?n[n.length-1].focus():n[0].focus()}}},{key:"_handleKeydown",value:function(e){e.key===Vn&&(this._lastTabNavDirection=e.shiftKey?Wn:Hn)}}],[{key:"Default",get:function(){return Gn}},{key:"DefaultType",get:function(){return qn}},{key:"NAME",get:function(){return zn}}]),n}(ce),Yn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Jn=".sticky-top",Kn="padding-right",Qn="margin-right",$n=function(){function e(){c(this,e),this._element=document.body}return d(e,[{key:"getWidth",value:function(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}},{key:"hide",value:function(){var e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Kn,(function(t){return t+e})),this._setElementAttributes(Yn,Kn,(function(t){return t+e})),this._setElementAttributes(Jn,Qn,(function(t){return t-e}))}},{key:"reset",value:function(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Kn),this._resetElementAttributes(Yn,Kn),this._resetElementAttributes(Jn,Qn)}},{key:"isOverflowing",value:function(){return this.getWidth()>0}},{key:"_disableOverFlow",value:function(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}},{key:"_setElementAttributes",value:function(e,t,n){var r=this,i=this.getWidth(),a=function(e){if(!(e!==r._element&&window.innerWidth>e.clientWidth+i)){r._saveInitialAttribute(e,t);var a=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,"".concat(n(Number.parseFloat(a)),"px"))}};this._applyManipulationCallback(e,a)}},{key:"_saveInitialAttribute",value:function(e,t){var n=e.style.getPropertyValue(t);n&&ue.setDataAttribute(e,t,n)}},{key:"_resetElementAttributes",value:function(e,t){var n=function(e){var n=ue.getDataAttribute(e,t);null!==n?(ue.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)};this._applyManipulationCallback(e,n)}},{key:"_applyManipulationCallback",value:function(e,t){if(T(e))t(e);else{var n,r=h(pe.find(e,this._element));try{for(r.s();!(n=r.n()).done;)t(n.value)}catch(i){r.e(i)}finally{r.f()}}}}]),e}(),er="modal",tr=".".concat("bs.modal"),nr=".data-api",rr="Escape",ir="hide".concat(tr),ar="hidePrevented".concat(tr),or="hidden".concat(tr),sr="show".concat(tr),lr="shown".concat(tr),ur="resize".concat(tr),cr="click.dismiss".concat(tr),dr="mousedown.dismiss".concat(tr),fr="keydown.dismiss".concat(tr),hr="click".concat(tr).concat(nr),pr="modal-open",vr="fade",mr="show",gr="modal-static",yr=".modal.show",br=".modal-dialog",xr=".modal-body",wr='[data-bs-toggle="modal"]',Sr={backdrop:!0,focus:!0,keyboard:!0},_r={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},kr=function(e){s(n,e);var t=l(n);function n(e,r){var i;return c(this,n),(i=t.call(this,e,r))._dialog=pe.findOne(br,i._element),i._backdrop=i._initializeBackDrop(),i._focustrap=i._initializeFocusTrap(),i._isShown=!1,i._isTransitioning=!1,i._scrollBar=new $n,i._addEventListeners(),i}return d(n,[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;this._isShown||this._isTransitioning||ae.trigger(this._element,sr,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(pr),this._adjustDialog(),this._backdrop.show((function(){return t._showElement(e)})))}},{key:"hide",value:function(){var e=this;this._isShown&&!this._isTransitioning&&(ae.trigger(this._element,ir).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(mr),this._queueCallback((function(){return e._hideModal()}),this._element,this._isAnimated())))}},{key:"dispose",value:function(){ae.off(window,tr),ae.off(this._dialog,tr),this._backdrop.dispose(),this._focustrap.deactivate(),r(i(n.prototype),"dis
2pose",this).call(this)}},{key:"handleUpdate",value:function(){this._adjustDialog()}},{key:"_initializeBackDrop",value:function(){return new Dn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}},{key:"_initializeFocusTrap",value:function(){return new Xn({trapElement:this._element})}},{key:"_showElement",value:function(e){var t=this;document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var n=pe.findOne(xr,this._dialog);n&&(n.scrollTop=0),L(this._element),this._element.classList.add(mr);var r=function(){t._config.focus&&t._focustrap.activate(),t._isTransitioning=!1,ae.trigger(t._element,lr,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}},{key:"_addEventListeners",value:function(){var e=this;ae.on(this._element,fr,(function(t){t.key===rr&&(e._config.keyboard?e.hide():e._triggerBackdropTransition())})),ae.on(window,ur,(function(){e._isShown&&!e._isTransitioning&&e._adjustDialog()})),ae.on(this._element,dr,(function(t){ae.one(e._element,cr,(function(n){e._element===t.target&&e._element===n.target&&("static"!==e._config.backdrop?e._config.backdrop&&e.hide():e._triggerBackdropTransition())}))}))}},{key:"_hideModal",value:function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((function(){document.body.classList.remove(pr),e._resetAdjustments(),e._scrollBar.reset(),ae.trigger(e._element,or)}))}},{key:"_isAnimated",value:function(){return this._element.classList.contains(vr)}},{key:"_triggerBackdropTransition",value:function(){var e=this;if(!ae.trigger(this._element,ar).defaultPrevented){var t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(gr)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(gr),this._queueCallback((function(){e._element.classList.remove(gr),e._queueCallback((function(){e._element.style.overflowY=n}),e._dialog)}),this._dialog),this._element.focus())}}},{key:"_adjustDialog",value:function(){var e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){var r=j()?"paddingLeft":"paddingRight";this._element.style[r]="".concat(t,"px")}if(!n&&e){var i=j()?"paddingRight":"paddingLeft";this._element.style[i]="".concat(t,"px")}}},{key:"_resetAdjustments",value:function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}}],[{key:"Default",get:function(){return Sr}},{key:"DefaultType",get:function(){return _r}},{key:"NAME",get:function(){return er}},{key:"jQueryInterface",value:function(e,t){return this.each((function(){var r=n.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof r[e])throw new TypeError('No method named "'.concat(e,'"'));r[e](t)}}))}}]),n}(fe);ae.on(document,hr,wr,(function(e){var t=this,n=pe.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),ae.one(n,sr,(function(e){e.defaultPrevented||ae.one(n,or,(function(){A(t)&&t.focus()}))}));var r=pe.findOne(yr);r&&kr.getInstance(r).hide(),kr.getOrCreateInstance(n).toggle(this)})),ve(kr),D(kr);var Mr="offcanvas",Er=".".concat("bs.offcanvas"),Tr=".data-api",Cr="load".concat(Er).concat(Tr),Ar="Escape",Pr="show",Rr="showing",Or="hiding",Lr="offcanvas-backdrop",Zr=".offcanvas.show",Nr="show".concat(Er),Ir="shown".concat(Er),jr="hide".concat(Er),Dr="hidePrevented".concat(Er),zr="hidden".concat(Er),Ur="resize".concat(Er),Fr="click".concat(Er).concat(Tr),Br="keydown.dismiss".concat(Er),Vr='[data-bs-toggle="offcanvas"]',Hr={backdrop:!0,keyboard:!0,scroll:!1},Wr={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},Gr=function(e){s(n,e);var t=l(n);function n(e,r){var i;return c(this,n),(i=t.call(this,e,r))._isShown=!1,i._backdrop=i._initializeBackDrop(),i._focustrap=i._initializeFocusTrap(),i._addEventListeners(),i}return d(n,[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;if(!this._isShown&&!ae.trigger(this._element,Nr,{relatedTarget:e}).defaultPrevented){this._isShown=!0,this._backdrop.show(),this._config.scroll||(new $n).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Rr);var n=function(){t._config.scroll&&!t._config.backdrop||t._focustrap.activate(),t._element.classList.add(Pr),t._element.classList.remove(Rr),ae.trigger(t._element,Ir,{relatedTarget:e})};this._queueCallback(n,this._element,!0)}}},{key:"hide",value:function(){var e=this;if(this._isShown&&!ae.trigger(this._element,jr).defaultPrevented){this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Or),this._backdrop.hide();var t=function(){e._element.classList.remove(Pr,Or),e._element.removeAttribute("aria-modal"),e._element.removeAttribute("role"),e._config.scroll||(new $n).reset(),ae.trigger(e._element,zr)};this._queueCallback(t,this._element,!0)}}},{key:"dispose",value:function(){this._backdrop.dispose(),this._focustrap.deactivate(),r(i(n.prototype),"dis
2pose",this).call(this)}},{key:"_initializeBackDrop",value:function(){var e=this,t=function(){"static"!==e._config.backdrop?e.hide():ae.trigger(e._element,Dr)},n=Boolean(this._config.backdrop);return new Dn({className:Lr,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}},{key:"_initializeFocusTrap",value:function(){return new Xn({trapElement:this._element})}},{key:"_addEventListeners",value:function(){var e=this;ae.on(this._element,Br,(function(t){t.key===Ar&&(e._config.keyboard?e.hide():ae.trigger(e._element,Dr))}))}}],[{key:"Default",get:function(){return Hr}},{key:"DefaultType",get:function(){return Wr}},{key:"NAME",get:function(){return Mr}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}]),n}(fe);ae.on(document,Fr,Vr,(function(e){var t=this,n=pe.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),!P(this)){ae.one(n,zr,(function(){A(t)&&t.focus()}));var r=pe.findOne(Zr);r&&r!==n&&Gr.getInstance(r).hide(),Gr.getOrCreateInstance(n).toggle(this)}})),ae.on(window,Cr,(function(){var e,t=h(pe.find(Zr));try{for(t.s();!(e=t.n()).done;){var n=e.value;Gr.getOrCreateInstance(n).show()}}catch(r){t.e(r)}finally{t.f()}})),ae.on(window,Ur,(function(){var e,t=h(pe.find("[aria-modal][class*=show][class*=offcanvas-]"));try{for(t.s();!(e=t.n()).done;){var n=e.value;"fixed"!==getComputedStyle(n).position&&Gr.getOrCreateInstance(n).hide()}}catch(r){t.e(r)}finally{t.f()}})),ve(Gr),D(Gr);var qr={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Xr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Yr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Jr=function(e,t){var n=e.nodeName.toLowerCase();return t.includes(n)?!Xr.has(n)||Boolean(Yr.test(e.nodeValue)):t.filter((function(e){return e instanceof RegExp})).some((function(e){return e.test(n)}))};function Kr(e,t,n){var r;if(!e.length)return e;if(n&&"function"===typeof n)return n(e);var i,a=(new window.DOMParser).parseFromString(e,"text/html"),o=(r=[]).concat.apply(r,p(a.body.querySelectorAll("*"))),s=h(o);try{for(s.s();!(i=s.n()).done;){var l,u=i.value,c=u.nodeName.toLowerCase();if(Object.keys(t).includes(c)){var d,f=(l=[]).concat.apply(l,p(u.attributes)),v=[].concat(t["*"]||[],t[c]||[]),m=h(f);try{for(m.s();!(d=m.n()).done;){var g=d.value;Jr(g,v)||u.removeAttribute(g.nodeName)}}catch(y){m.e(y)}finally{m.f()}}else u.remove()}}catch(y){s.e(y)}finally{s.f()}return a.body.innerHTML}var Qr="TemplateFactory",$r={allowList:qr,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},ei={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ti={entry:"(string|element|function|null)",selector:"(string|element)"},ni=function(e){s(n,e);var t=l(n);function n(e){var r;return c(this,n),(r=t.call(this))._config=r._getConfig(e),r}return d(n,[{key:"getContent",value:function(){var e=this;return Object.values(this._config.content).map((function(t){return e._resolvePossibleFunction(t)})).filter(Boolean)}},{key:"hasContent",value:function(){return this.getContent().length>0}},{key:"changeContent",value:function(e){return this._checkContent(e),this._config.content=u(u({},this._config.content),e),this}},{key:"toHtml",value:function(){var e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(var t=0,n=Object.entries(this._config.content);t<n.length;t++){var r=f(n[t],2),i=r[0],a=r[1];this._setContent(e,a,i)}var o,s=e.children[0],l=this._resolvePossibleFunction(this._config.extraClass);return l&&(o=s.classList).add.apply(o,p(l.split(" "))),s}},{key:"_typeCheckConfig",value:function(e){r(i(n.prototype),"_typeCheckConfig",this).call(this,e),this._checkContent(e.content)}},{key:"_checkContent",value:function(e){for(var t=0,a=Object.entries(e);t<a.length;t++){var o=f(a[t],2),s=o[0],l=o[1];r(i(n.prototype),"_typeCheckConfig",this).call(this,{selector:s,entry:l},ti)}}},{key:"_setContent",value:function(e,t,n){var r=pe.findOne(n,e);
2r&&((t=this._resolvePossibleFunction(t))?T(t)?this._putElementInTemplate(C(t),r):this._config.html?r.innerHTML=this._maybeSanitize(t):r.textContent=t:r.remove())}},{key:"_maybeSanitize",value:function(e){return this._config.sanitize?Kr(e,this._config.allowList,this._config.sanitizeFn):e}},{key:"_resolvePossibleFunction",value:function(e){return z(e,[this])}},{key:"_putElementInTemplate",value:function(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}],[{key:"Default",get:function(){return $r}},{key:"DefaultType",get:function(){return ei}},{key:"NAME",get:function(){return Qr}}]),n}(ce),ri="tooltip",ii=new Set(["sanitize","allowList","sanitizeFn"]),ai="fade",oi="show",si=".tooltip-inner",li=".".concat("modal"),ui="hide.bs.modal",ci="hover",di="focus",fi="click",hi="manual",pi="hide",vi="hidden",mi="show",gi="shown",yi="inserted",bi="click",xi="focusin",wi="focusout",Si="mouseenter",_i="mouseleave",ki={AUTO:"auto",TOP:"top",RIGHT:j()?"left":"right",BOTTOM:"bottom",LEFT:j()?"right":"left"},Mi={allowList:qr,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Ei={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"},Ti=function(e){s(n,e);var t=l(n);function n(e,r){var i;if(c(this,n),"undefined"===typeof m)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(i=t.call(this,e,r))._isEnabled=!0,i._timeout=0,i._isHovered=null,i._activeTrigger={},i._popper=null,i._templateFactory=null,i._newContent=null,i.tip=null,i._setListeners(),i._config.selector||i._fixTitle(),i}return d(n,[{key:"enable",value:function(){this._isEnabled=!0}},{key:"disable",value:function(){this._isEnabled=!1}},{key:"toggleEnabled",value:function(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}},{key:"dispose",value:function(){clearTimeout(this._timeout),ae.off(this._element.closest(li),ui,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),r(i(n.prototype),"dispose",this).call(this)}},{key:"show",value:function(){var e=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){var t=ae.trigger(this._element,this.constructor.eventName(mi)),n=(R(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!t.defaultPrevented&&n){this._disposePopper();var r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));var i=this._config.container;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(r),ae.trigger(this._element,this.constructor.eventName(yi))),this._popper=this._createPopper(r),r.classList.add(oi),"ontouchstart"in document.documentElement){var a,o,s=h((a=[]).concat.apply(a,p(document.body.children)));try{for(s.s();!(o=s.n()).done;){var l=o.value;ae.on(l,"mouseover",O)}}catch(c){s.e(c)}finally{s.f()}}var u=function(){ae.trigger(e._element,e.constructor.eventName(gi)),!1===e._isHovered&&e._leave(),e._isHovered=!1};this._queueCallback(u,this.tip,this._isAnimated())}}}},{key:"hide",value:function(){var e=this;if(this._isShown()&&!ae.trigger(this._element,this.constructor.eventName(pi)).defaultPrevented){if(this._getTipElement().classList.remove(oi),"ontouchstart"in document.documentElement){var t,n,r=h((t=[]).concat.apply(t,p(document.body.children)));try{for(r.s();!(n=r.n()).done;){var i=n.value;ae.off(i,"mouseover",O)}}catch(o){r.e(o)}finally{r.f()}}this._activeTrigger[fi]=!1,this._activeTrigger[di]=!1,this._activeTrigger[ci]=!1,this._isHovered=null;var a=function(){e._isWithActiveTrigger()||(e._isHovered||e._disposePopper(),e._element.removeAttribute("aria-describedby"),ae.trigger(e._element,e.constructor.eventName(vi)))};this._queueCallback(a,this.tip,this._isAnimated())}}},{key:"update",value:function(){this._popper&&this._popper.update(
2)}},{key:"_isWithContent",value:function(){return Boolean(this._getTitle())}},{key:"_getTipElement",value:function(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}},{key:"_createTipElement",value:function(e){var t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(ai,oi),t.classList.add("bs-".concat(this.constructor.NAME,"-auto"));var n=k(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(ai),t}},{key:"setContent",value:function(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}},{key:"_getTemplateFactory",value:function(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ni(u(u({},this._config),{},{content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)})),this._templateFactory}},{key:"_getContentForTemplate",value:function(){return v({},si,this._getTitle())}},{key:"_getTitle",value:function(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}},{key:"_initializeOnDelegatedTarget",value:function(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}},{key:"_isAnimated",value:function(){return this._config.animation||this.tip&&this.tip.classList.contains(ai)}},{key:"_isShown",value:function(){return this.tip&&this.tip.classList.contains(oi)}},{key:"_createPopper",value:function(e){var t=z(this._config.placement,[this,e,this._element]),n=ki[t.toUpperCase()];return m.createPopper(this._element,e,this._getPopperConfig(n))}},{key:"_getOffset",value:function(){var e=this,t=this._config.offset;return"string"===typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"===typeof t?function(n){return t(n,e._element)}:t}},{key:"_resolvePossibleFunction",value:function(e){return z(e,[this._element])}},{key:"_getPopperConfig",value:function(e){var t=this,n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:function(e){t._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return u(u({},n),z(this._config.popperConfig,[n]))}},{key:"_setListeners",value:function(){var e,t=this,n=this._config.trigger.split(" "),r=h(n);try{for(r.s();!(e=r.n()).done;){var i=e.value;if("click"===i)ae.on(this._element,this.constructor.eventName(bi),this._config.selector,(function(e){t._initializeOnDelegatedTarget(e).toggle()}));else if(i!==hi){var a=i===ci?this.constructor.eventName(Si):this.constructor.eventName(xi),o=i===ci?this.constructor.eventName(_i):this.constructor.eventName(wi);ae.on(this._element,a,this._config.selector,(function(e){var n=t._initializeOnDelegatedTarget(e);n._activeTrigger["focusin"===e.type?di:ci]=!0,n._enter()})),ae.on(this._element,o,this._config.selector,(function(e){var n=t._initializeOnDelegatedTarget(e);n._activeTrigger["focusout"===e.type?di:ci]=n._element.contains(e.relatedTarget),n._leave()}))}}}catch(s){r.e(s)}finally{r.f()}this._hideModalHandler=function(){t._element&&t.hide()},ae.on(this._element.closest(li),ui,this._hideModalHandler)}},{key:"_fixTitle",value:function(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}},{key:"_enter",value:function(){var e=this;this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((function(){e._isHovered&&e.show()}),this._config.delay.show))}},{key:"_leave",value:function(){var e=this;this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((function(){e._isHovered||e.hide()}),this._config.delay.hide))}},{key:"_setTimeout",value:function(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}},{key:"_isWithActiveTrigger",value:function(){return Object.values(this._activeTrigger).includes(!0)}},{key:"_getConfig",value:function(e){for(var t=ue.getDataAttributes(this._element),n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];ii.has(i)&&delete t[i]}return e=u(u({},t),"object"===typeof e&&e?e:{}),e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}},{key:"_configAfterMerge",value:function(e){return e.container=!1===e.container?document.body:C(e.container),"number"===typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"===typeof e.title&&(e.title=e.title.toString()),"number"===typeof e.content&&(e.content=e.content.toString()),e}},{key:"_getDelegateConfig",value:function(){for(var e={},t=0,n=Object.entries(this._config);t<n.length;t++){var r=f(n[t],2),i=r[0],a=r[1];this.constructor.Default[i]!==a&&(e[i]=a)}return e.selector=!1,e.trigger="manual",e}},{key:"_disposePopper",value:function(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}}],[{key:"Default",get:function(){return Mi}},{key:"DefaultType",get:function(){return Ei}},{key:"NAME",get:function(){return ri}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method n
2amed "'.concat(e,'"'));t[e]()}}))}}]),n}(fe);D(Ti);var Ci="popover",Ai=".popover-header",Pi=".popover-body",Ri=u(u({},Ti.Default),{},{content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"}),Oi=u(u({},Ti.DefaultType),{},{content:"(null|string|element|function)"}),Li=function(e){s(n,e);var t=l(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"_isWithContent",value:function(){return this._getTitle()||this._getContent()}},{key:"_getContentForTemplate",value:function(){var e;return v(e={},Ai,this._getTitle()),v(e,Pi,this._getContent()),e}},{key:"_getContent",value:function(){return this._resolvePossibleFunction(this._config.content)}}],[{key:"Default",get:function(){return Ri}},{key:"DefaultType",get:function(){return Oi}},{key:"NAME",get:function(){return Ci}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),n}(Ti);D(Li);var Zi="scrollspy",Ni=".".concat("bs.scrollspy"),Ii=".data-api",ji="activate".concat(Ni),Di="click".concat(Ni),zi="load".concat(Ni).concat(Ii),Ui="dropdown-item",Fi="active",Bi='[data-bs-spy="scroll"]',Vi="[href]",Hi=".nav, .list-group",Wi=".nav-link",Gi=".nav-item",qi=".list-group-item",Xi="".concat(Wi,", ").concat(Gi," > ").concat(Wi,", ").concat(qi),Yi=".dropdown",Ji=".dropdown-toggle",Ki={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Qi={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},$i=function(e){s(n,e);var t=l(n);function n(e,r){var i;return c(this,n),(i=t.call(this,e,r))._targetLinks=new Map,i._observableSections=new Map,i._rootElement="visible"===getComputedStyle(i._element).overflowY?null:i._element,i._activeTarget=null,i._observer=null,i._previousScrollData={visibleEntryTop:0,parentScrollTop:0},i.refresh(),i}return d(n,[{key:"refresh",value:function(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();var e,t=h(this._observableSections.values());try{for(t.s();!(e=t.n()).done;){var n=e.value;this._observer.observe(n)}}catch(r){t.e(r)}finally{t.f()}}},{key:"dispose",value:function(){this._observer.disconnect(),r(i(n.prototype),"dispose",this).call(this)}},{key:"_configAfterMerge",value:function(e){return e.target=C(e.target)||document.body,e.rootMargin=e.offset?"".concat(e.offset,"px 0px -30%"):e.rootMargin,"string"===typeof e.threshold&&(e.threshold=e.threshold.split(",").map((function(e){return Number.parseFloat(e)}))),e}},{key:"_maybeEnableSmoothScroll",value:function(){var e=this;this._config.smoothScroll&&(ae.off(this._config.target,Di),ae.on(this._config.target,Di,Vi,(function(t){var n=e._observableSections.get(t.target.hash);if(n){t.preventDefault();var r=e._rootElement||window,i=n.offsetTop-e._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:i,behavior:"smooth"});r.scrollTop=i}})))}},{key:"_getNewObserver",value:function(){var e=this,t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((function(t){return e._observerCallback(t)}),t)}},{key:"_observerCallback",value:function(e){var t=this,n=function(e){return t._targetLinks.get("#".concat(e.target.id))},r=function(e){t._previousScrollData.visibleEntryTop=e.target.offsetTop,t._process(n(e))},i=(this._rootElement||document.documentElement).scrollTop,a=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;var o,s=h(e);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(l.isIntersecting){var u=l.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&u){if(r(l),!i)return}else a||u||r(l)}else this._activeTarget=null,this._clearActiveClass(n(l))}}catch(c){s.e(c)}finally{s.f()}}},{key:"_initializeTargetsAndObservables",value:function(){this._targetLinks=new Map,this._observableSections=new Map;var e,t=pe.find(Vi,this._config.target),n=h(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r.hash&&!P(r)){var i=pe.findOne(decodeURI(r.hash),this._element);A(i)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,i)
2)}}}catch(a){n.e(a)}finally{n.f()}}},{key:"_process",value:function(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Fi),this._activateParents(e),ae.trigger(this._element,ji,{relatedTarget:e}))}},{key:"_activateParents",value:function(e){if(e.classList.contains(Ui))pe.findOne(Ji,e.closest(Yi)).classList.add(Fi);else{var t,n=h(pe.parents(e,Hi));try{for(n.s();!(t=n.n()).done;){var r,i=t.value,a=h(pe.prev(i,Xi));try{for(a.s();!(r=a.n()).done;)r.value.classList.add(Fi)}catch(o){a.e(o)}finally{a.f()}}}catch(o){n.e(o)}finally{n.f()}}}},{key:"_clearActiveClass",value:function(e){e.classList.remove(Fi);var t,n=pe.find("".concat(Vi,".").concat(Fi),e),r=h(n);try{for(r.s();!(t=r.n()).done;)t.value.classList.remove(Fi)}catch(i){r.e(i)}finally{r.f()}}}],[{key:"Default",get:function(){return Ki}},{key:"DefaultType",get:function(){return Qi}},{key:"NAME",get:function(){return Zi}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),n}(fe);ae.on(window,zi,(function(){var e,t=h(pe.find(Bi));try{for(t.s();!(e=t.n()).done;){var n=e.value;$i.getOrCreateInstance(n)}}catch(r){t.e(r)}finally{t.f()}})),D($i);var ea="tab",ta=".".concat("bs.tab"),na="hide".concat(ta),ra="hidden".concat(ta),ia="show".concat(ta),aa="shown".concat(ta),oa="click".concat(ta),sa="keydown".concat(ta),la="load".concat(ta),ua="ArrowLeft",ca="ArrowRight",da="ArrowUp",fa="ArrowDown",ha="active",pa="fade",va="show",ma="dropdown",ga=".dropdown-toggle",ya=".dropdown-menu",ba=":not(.dropdown-toggle)",xa='.list-group, .nav, [role="tablist"]',wa=".nav-item, .list-group-item",Sa=".nav-link".concat(ba,", .list-group-item").
2concat(ba,', [role="tab"]').concat(ba),_a='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ka="".concat(Sa,", ").concat(_a),Ma=".".concat(ha,'[data-bs-toggle="tab"], .').concat(ha,'[data-bs-toggle="pill"], .').concat(ha,'[data-bs-toggle="list"]'),Ea=function(e){s(n,e);var t=l(n);function n(e){var r;return c(this,n),(r=t.call(this,e))._parent=r._element.closest(xa),r._parent?(r._setInitialAttributes(r._parent,r._getChildren()),ae.on(r._element,sa,(function(e){return r._keydown(e)})),r):a(r)}return d(n,[{key:"show",value:function(){var e=this._element;if(!this._elemIsActive(e)){var t=this._getActiveElem(),n=t?ae.trigger(t,na,{relatedTarget:e}):null;ae.trigger(e,ia,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}}},{key:"_activate",value:function(e,t){var n=this;if(e){e.classList.add(ha),this._activate(pe.getElementFromSelector(e));var r=function(){"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),n._toggleDropDown(e,!0),ae.trigger(e,aa,{relatedTarget:t})):e.classList.add(va)};this._queueCallback(r,e,e.classList.contains(pa))}}},{key:"_deactivate",value:function(e,t){var n=this;if(e){e.classList.remove(ha),e.blur(),this._deactivate(pe.getElementFromSelector(e));var r=function(){"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),n._toggleDropDown(e,!1),ae.trigger(e,ra,{relatedTarget:t})):e.classList.remove(va)};this._queueCallback(r,e,e.classList.contains(pa))}}},{key:"_keydown",value:function(e){if([ua,ca,da,fa].includes(e.key)){e.stopPropagation(),e.preventDefault();var t=[ca,fa].includes(e.key),r=F(this._getChildren().filter((function(e){return!P(e)})),e.target,t,!0);r&&(r.focus({preventScroll:!0}),n.getOrCreateInstance(r).show())}}},{key:"_getChildren",value:function(){return pe.find(ka,this._parent)}},{key:"_getActiveElem",value:function(){var e=this;return this._getChildren().find((function(t){return e._elemIsActive(t)}))||null}},{key:"_setInitialAttributes",value:function(e,t){this._setAttributeIfNotExists(e,"role","tablist");var n,r=h(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;this._setInitialAttributesOnChild(i)}}catch(a){r.e(a)}finally{r.f()}}},{key:"_setInitialAttributesOnChild",value:function(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}},{key:"_setInitialAttributesOnTargetPanel",value:function(e){var t=pe.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby","".concat(e.id)))}},{key:"_toggleDropDown",value:function(e,t){var n=this._getOuterElement(e);if(n.classList.contains(ma)){var r=function(e,r){var i=pe.findOne(e,n);i&&i.classList.toggle(r,t)};r(ga,ha),r(ya,va),n.setAttribute("aria-expanded",t)}}},{key:"_setAttributeIfNotExists",value:function(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}},{key:"_elemIsActive",value:function(e){return e.classList.contains(ha)}},{key:"_getInnerElement",value:function(e){return e.matches(ka)?e:pe.findOne(ka,e)}},{key:"_getOuterElement",value:function(e){return e.closest(wa)||e}}],[{key:"NAME",get:function(){return ea}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),n}(fe);ae.on(document,oa,_a,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),P(this)||Ea.getOrCreateInstance(this).show()})),ae.on(window,la,(function(){var e,t=h(pe.find(Ma));try{for(t.s();!(e=t.n()).done;){var n=e.value;Ea.getOrCreateInstance(n)}}catch(r){t.e(r)}finally{t.f()}})),D(Ea);var Ta="toast",Ca=".".concat("bs.toast"),Aa="mouseover".concat(Ca),Pa="mouseout".concat(Ca),Ra="focusin".concat(Ca),Oa="focusout".concat(Ca),La="hide".concat(Ca),Za="hidden".concat(Ca),Na="show".concat(Ca),Ia="shown".concat(Ca),ja="fade",Da="hide",za="show",Ua="showing",Fa={animation:"boolean",autohide:"boolean",delay:"number"},Ba={animation:!0,autohide:!0,delay:5e3},Va=function(e){s(n,e);var t=l(n);function n(e,r){var i;return c(this,n),(i=t.call(this,e,r))._timeout=null,i._hasMouseInteraction=!1,i._hasKeyboardInteraction=!1,i._set
2Listeners(),i}return d(n,[{key:"show",value:function(){var e=this;if(!ae.trigger(this._element,Na).defaultPrevented){this._clearTimeout(),this._config.animation&&this._element.classList.add(ja);var t=function(){e._element.classList.remove(Ua),ae.trigger(e._element,Ia),e._maybeScheduleHide()};this._element.classList.remove(Da),L(this._element),this._element.classList.add(za,Ua),this._queueCallback(t,this._element,this._config.animation)}}},{key:"hide",value:function(){var e=this;if(this.isShown()&&!ae.trigger(this._element,La).defaultPrevented){var t=function(){e._element.classList.add(Da),e._element.classList.remove(Ua,za),ae.trigger(e._element,Za)};this._element.classList.add(Ua),this._queueCallback(t,this._element,this._config.animation)}}},{key:"dispose",value:function(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(za),r(i(n.prototype),"dispose",this).call(this)}},{key:"isShown",value:function(){return this._element.classList.contains(za)}},{key:"_maybeScheduleHide",value:function(){var e=this;this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((function(){e.hide()}),this._config.delay)))}},{key:"_onInteraction",value:function(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)this._clearTimeout();else{var n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}}},{key:"_setListeners",value:function(){var e=this;ae.on(this._element,Aa,(function(t){return e._onInteraction(t,!0)})),ae.on(this._element,Pa,(function(t){return e._onInteraction(t,!1)})),ae.on(this._element,Ra,(function(t){return e._onInteraction(t,!0)})),ae.on(this._element,Oa,(function(t){return e._onInteraction(t,!1)}))}},{key:"_clearTimeout",value:function(){clearTimeout(this._timeout),this._timeout=null}}],[{key:"Default",get:function(){return Ba}},{key:"DefaultType",get:function(){return Fa}},{key:"NAME",get:function(){return Ta}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}]),n}(fe);return ve(Va),D(Va),{Alert:Se,Button:Ae,Carousel:Mt,Collapse:Gt,Dropdown:Rn,Modal:kr,Offcanvas:Gr,Popover:Li,ScrollSpy:$i,Tab:Ea,Toast:Va,Tooltip:Ti}}(n(6292))},1694:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var o=i.apply(null,n);o&&e.push(o)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},8182:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}t.Z=function(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}},2110:function(e,t,n){"use strict";var r=n(8309),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 r.isMemo(e)?o:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var o=c(n);
2d&&(o=o.concat(d(n)));for(var s=l(t),v=l(n),m=0;m<o.length;++m){var g=o[m];if(!a[g]&&(!r||!r[g])&&(!v||!v[g])&&(!s||!s[g])){var y=f(n,g);try{u(t,g,y)}catch(b){}}}}return t}},746:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case m:case v:case l:return e;default:return t}}case i:return t}}}function S(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||w(e)===c},t.isConcurrentMode=S,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===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===v},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)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===d||e===s||e===o||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},8309:function(e,t,n){"use strict";e.exports=n(746)},2176:function(e){"use strict";e.exports=function(e,t,n,r,i,a,o,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,s],c=0;(l=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},1725:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,i){for(var a,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var u in a=Object(arguments[l]))n.call(a,u)&&(s[u]=a[u]);if(t){o=t(a);for(var c=0;c<o.length;c++)r.call(a,o[c])&&(s[o[c]]=a[o[c]])}}return s}},888:function(e,t,n){"use strict";var r=n(9047);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
2: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};return n.PropTypes=n,n}},2007:function(e,t,n){e.exports=n(888)()},9047:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2026:function(e,t,n){e.exports=function(e,t){"use strict";var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};function r(e,n,r){void 0===r&&(r=window);var i=t.useRef(null);t.useEffect((function(){i.current=n}),[n]),t.useEffect((function(){if(r&&r.addEventListener){var t=function(e){i.current&&i.current(e)};return r.addEventListener(e,t),function(){r.removeEventListener(e,t)}}}),[e,r])}var i=function(){if("undefined"!==typeof navigator){var e=navigator.userAgent;return{info:e,Android:function(){return e.match(/Android/i)},BlackBerry:function(){return e.match(/BlackBerry/i)},IEMobile:function(){return e.match(/IEMobile/i)},iOS:function(){return e.match(/iPhone|iPad|iPod/i)},iPad:function(){return e.match(/Mac/)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2},OperaMini:function(){return e.match(/Opera Mini/i)},any:function(){return i.Android()||i.BlackBerry()||i.iOS()||i.iPad()||i.OperaMini()||i.IEMobile()}}}}();function a(i){var a=i.clickables,o=void 0===a?["a",'input[type="text"]','input[type="email"]','input[type="number"]','input[type="submit"]','input[type="image"]',"label[for]","select","textarea","button",".link"]:a,s=i.color,l=void 0===s?"220, 90, 90":s,u=i.innerScale,c=void 0===u?.6:u,d=i.innerSize,f=void 0===d?8:d,h=i.innerStyle,p=i.outerAlpha,v=void 0===p?.4:p,m=i.outerScale,g=void 0===m?6:m,y=i.outerSize,b=void 0===y?8:y,x=i.outerStyle,w=i.showSystemCursor,S=void 0!==w&&w,_=i.trailingSpeed,k=void 0===_?8:_,M=t.useRef(null),E=t.useRef(null),T=t.useRef(null),C=t.useRef(null),A=t.useState({x:0,y:0}),P=A[0],R=A[1],O=t.useState(!1),L=O[0],Z=O[1],N=t.useState(!1),I=N[0],j=N[1],D=t.useState(!1),z=D[0],U=D[1],F=t.useRef(0),B=t.useRef(0),V=t.useCallback((function(e){var t=e.clientX,n=e.clientY;R({x:t,y:n}),E.current.style.top="".concat(n,"px"),E.current.style.left="".concat(t,"px"),F.current=t,B.current=n}),[]),H=t.useCallback((function(e){void 0!==C.current&&(P.x+=(F.current-P.x)/k,P.y+=(B.current-P.y)/k,M.current.style.top="".concat(P.y,"px"),M.current.style.left="".concat(P.x,"px")),C.current=e,T.current=requestAnimationFrame(H)}),[T]);t.useEffect((function(){return T.current=requestAnimationFrame(H),function(){return cancelAnimationFrame(T.current)}}),[H]);var W=function(e,t){return"".concat(parseInt(String(e*t)),"px")},G=t.useCallback((function(e,t,n){e&&(e.style.height=W(t,n),e.style.width=W(t,n))}),[]),q=t.useCallback((function(){return j(!0)}),[]),X=t.useCallback((function(){return j(!1)}),[]),Y=t.useCallback((function(){return Z(!0)}),[]),J=t.useCallback((function(){return Z(!1)}),[]);r("mousemove",V),r("mousedown",q),r("mouseup",X),r("mouseover",Y),r("mouseout",J),t.useEffect((function(){I?(G(E.current,f,c),G(M.current,b,g)):(G(E.current,f,1),G(M.current,b,1))}),[f,c,b,g,G,I]),t.useEffect((function(){z&&(G(E.current,f,1.2*c),G(M.current,b,1.4*g))}),[f,c,b,g,G,z]),t.useEffect((function(){L?(E.current.style.opacity="1",M.current.style.opacity="1"):(E.current.style.opacity="0",M.current.style.opacity="0")}),[L]),t.useEffect((function(){var e=document.querySelectorAll(o.join(","));return e.forEach((function(e){S||(e.style.cursor="none"),e.addEventListener("mouseover",(function(){j(!0)})),e.addEventListener("click",(function(){j(!0),U(!1)})),e.addEventListener("mousedown",(function(){U(!0)})),e.addEventListener("mouseup",(function(){j(!0)})),e.addEventListener("mouseout",(function(){j(!1),U(!1)}))})),function(){e.forEach((function(e){e.removeEventListener("mouseover",(function(){j(!0)})),e.removeEventListener("click",(function(){j(!0),U(!1)})),e.removeEventListener("mousedown",(function(){U(!0)})),e.removeEventListener("mouseup",(function(){j(!0)})),e.removeEventListener("mouseout",(function(){j(!1),U(!1)}))}))}}),[I,o,S]);var K={zIndex:999,display:"block",position:"fixed",borderRadius:"50%",pointerEvents:"none",transform:"translate(-50%, -50%)",transition:"opacity 0.15s ease-in-out, height 0.2s ease-in-out, width 0.2s ease-in-out"}
vendor: 5,258 bytes, line 2
2,Q={cursorInner:n(n({width:f,height:f,backgroundColor:"rgba(".concat(l,", 1)")},K),h&&h),cursorOuter:n(n({width:b,height:b,backgroundColor:"rgba(".concat(l,", ").concat(v,")")},K),x&&x)};return S||(document.body.style.cursor="none"),e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:M,style:Q.cursorOuter}),e.jsx("div",{ref:E,style:Q.cursorInner})]})}function o(t){var n=t.clickables,r=t.color,o=t.innerScale,s=t.innerSize,l=t.innerStyle,u=t.outerAlpha,c=t.outerScale,d=t.outerSize,f=t.outerStyle,h=t.showSystemCursor,p=t.trailingSpeed;return"undefined"!==typeof navigator&&i.any()?e.jsx(e.Fragment,{}):e.jsx(a,{clickables:n,color:r,innerScale:o,innerSize:s,innerStyle:l,outerAlpha:u,outerScale:c,outerSize:d,outerStyle:f,showSystemCursor:h,trailingSpeed:p})}return o}(n(184),n(2791))},4463:function(e,t,n){"use strict";var r=n(2791),i=n(5296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)o.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function v(e,t,n,r,i,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=m.hasOwnProperty(t)?m[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
2-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),T=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var Z=Symbol.iterator;function N(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=Z&&e[Z]||e["@@iterator"])?e:null}var I,j=Object.assign;function D(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var z=!1;function U(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var i=u.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(1!==o||1!==s)do{if(o--,0>--s||i[o]!==a[s]){var l="\n"+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=o&&0<=s);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function F(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function B(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case _:return"Fragment";case S:return"Portal";case M:return"Profiler";case k:return"StrictMode";case A:return"Suspense";case P:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case C:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return B(e(t))}catch(n){}}return null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)}
vendor: 11,036 bytes, line 2
2,set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return j({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function K(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){K(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function $(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return j({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ae(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function pe(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=pe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(fe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var me=j({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ge(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var be=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,Se=null,_e=null;function ke(e){if(e=vi(e)){if("function"!==typeof we)throw Error(a(280));var t=e.stateNode;t&&(t=gi(t),we(e.stateNode,e.type,t))}}function Me(e){Se?_e?_e.push(e):_e=[e]:Se=e}function Ee(){if(Se){var e=Se,t=_e;if(_e=Se=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Te(e,t){return e(t)}function Ce(){}var Ae=!1;function Pe(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return Te(e,t,n)}finally{Ae=!1,(null!==Se||null!==_e)&&(Ce(),Ee())}}function Re(e,t){var n=e.stateNode;if(null===n)return null;var r=gi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var Oe=!1;if(c)try{var Le={};Object.defineProperty(Le,"passive",{get:function(){Oe=!0}}),window.addEventListener("test",Le,Le),window.removeEventListener("test",Le,Le)}catch(tc){Oe=!1}function Ze(e,t,n,r,i,a,o,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ne=!1,Ie=null,je=!1,De=null,ze={onError:function(e){Ne=!0,Ie=e}};function Ue(e,t,n,r,i,a,o,s,l){Ne=!1,Ie=null,Ze.apply(ze,arguments)}function Fe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Be(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ve(e){if(Fe(e)!==e)throw Error(a(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Fe(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Ve(i),e;if(o===r)return Ve(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ge=i.unstable_scheduleCallback,qe=i.unstable_cancelCallback,Xe=i.unstable_shouldYield,Ye=i.unstable_requestPaint,Je=i.unstable_now,Ke=i.unstable_getCurrentPriorityLevel,Qe=i.unstable_ImmediatePriority,$e=i.unstable_UserBlockingPriority,et=i.unstable_NormalPriority,tt=i.unstable_LowPriority,nt=i.unstable_IdlePriority,rt=null,it=null;var at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(ot(e)/st|0)|0},ot=Math.log,st=Math.LN2;var lt=64,ut=4194304;function ct(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=268435455&n;if(0!==o){var s=o&~i;0!==s?r=ct(s):0!==(a&=o)&&(r=ct(a))}else 0!==(o=n&~i)?r=ct(o):0!==a&&(r=ct(a));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(a=t&-t)||16===i&&0!==(4194240&a)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function pt(){var e=lt;return 0===(4194240&(lt<<=1))&&(lt=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var yt=0;function bt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,wt,St,_t,kt,Mt=!1,Et=[],Tt=null,Ct=null,At=null,Pt=new Map,Rt=new Map,Ot=[],Lt="mou
2sedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Zt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Ct=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function Nt(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&(null!==(t=vi(t))&&wt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function It(e){var t=pi(e.target);if(null!==t){var n=Fe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Be(n)))return e.blockedOn=t,void kt(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function jt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=vi(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function Dt(e,t,n){jt(e)&&n.delete(t)}function zt(){Mt=!1,null!==Tt&&jt(Tt)&&(Tt=null),null!==Ct&&jt(Ct)&&(Ct=null),null!==At&&jt(At)&&(At=null),Pt.forEach(Dt),Rt.forEach(Dt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,Mt||(Mt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,zt)))}function Ft(e){function t(t){return Ut(t,e)}if(0<Et.length){Ut(Et[0],e);for(var n=1;n<Et.length;n++){var r=Et[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ut(Tt,e),null!==Ct&&Ut(Ct,e),null!==At&&Ut(At,e),Pt.forEach(t),Rt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)It(n),null===n.blockedOn&&Ot.shift()}var Bt=x.ReactCurrentBatchConfig,Vt=!0;function Ht(e,t,n,r){var i=yt,a=Bt.transition;Bt.transition=null;try{yt=1,Gt(e,t,n,r)}finally{yt=i,Bt.transition=a}}function Wt(e,t,n,r){var i=yt,a=Bt.transition;Bt.transition=null;try{yt=4,Gt(e,t,n,r)}finally{yt=i,Bt.transition=a}}function Gt(e,t,n,r){if(Vt){var i=Xt(e,t,n,r);if(null===i)Ur(e,t,r,qt,n),Zt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Tt=Nt(Tt,e,t,n,r,i),!0;case"dragenter":return Ct=Nt(Ct,e,t,n,r,i),!0;case"mouseover":return At=Nt(At,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Pt.set(a,Nt(Pt.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Rt.set(a,Nt(Rt.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Zt(e,r),4&t&&-1<Lt.indexOf(e)){for(;null!==i;){var a=vi(i);if(null!==a&&xt(a),null===(a=Xt(e,t,n,r))&&Ur(e,t,r,qt,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else Ur(e,t,r,null,n)}}var qt=null;function Xt(e,t,n,r){if(qt=null,null!==(e=pi(e=xe(r))))if(null===(t=Fe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Be(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ke()){case Qe:return 1;case $e:return 4;case et:case tt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Jt=null,Kt=null,Qt=null;function $t(){if(Qt)return Qt;var e,t,n=Kt,r=n.length,i="value"in Jt?Jt.value:Jt.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return Qt=i.slice(e,1<t?1-t:void 0)}function en(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tn(){return!0}function nn(){return!1}function rn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?tn:nn,this.isPropagationStopped=nn,this}return j(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tn)},persist:function(){},isPersistent:tn}),t}var an,on,sn,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=rn(ln),cn=j({},ln,{view:0,detail:0}),dn=rn(cn),fn=j({},cn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 9,166 bytes, line 2
2Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,on=e.screenY-sn.screenY):on=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:on}}),hn=rn(fn),pn=rn(j({},fn,{dataTransfer:0})),vn=rn(j({},cn,{relatedTarget:0})),mn=rn(j({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=rn(j({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),yn=rn(j({},ln,{data:0})),bn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function _n(){return Sn}var kn=rn(j({},cn,{key:function(e){if(e.key){var t=bn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=en(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?en(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?en(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Mn=rn(j({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),En=rn(j({},cn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),Tn=rn(j({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Cn=rn(j({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),An=[9,13,27,32],Pn=c&&"CompositionEvent"in window,Rn=null;c&&"documentMode"in document&&(Rn=document.documentMode);var On=c&&"TextEvent"in window&&!Rn,Ln=c&&(!Pn||Rn&&8<Rn&&11>=Rn),Zn=String.fromCharCode(32),Nn=!1;function In(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Dn=!1;var zn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!zn[e.type]:"textarea"===t}function Fn(e,t,n,r){Me(r),0<(t=Br(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bn=null,Vn=null;function Hn(e){Zr(e,0)}function Wn(e){if(q(mi(e)))return e}function Gn(e,t){if("change"===e)return t}var qn=!1;if(c){var Xn;if(c){var Yn="oninput"in document;if(!Yn){var Jn=document.createElement("div");Jn.setAttribute("oninput","return;"),Yn="function"===typeof Jn.oninput}Xn=Yn}else Xn=!1;qn=Xn&&(!document.documentMode||9<document.documentMode)}function Kn(){Bn&&(Bn.detachEvent("onpropertychange",Qn),Vn=Bn=null)}function Qn(e){if("value"===e.propertyName&&Wn(Vn)){var t=[];Fn(t,Vn,e,xe(e)),Pe(Hn,t)}}function $n(e,t,n){"focusin"===e?(Kn(),Vn=n,(Bn=t).attachEvent("onpropertychange",Qn)):"focusout"===e&&Kn()}function er(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Wn(Vn)}function tr(e,t){if("click"===e)return Wn(t)}function nr(e,t){if("input"===e||"change"===e)return Wn(t)}var rr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ir(e,t){if(rr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!d.call(t,i)||!rr(e[i],t[i]))return!1}return!0}function ar(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function or(e,t){var n,r=ar(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ar(r)}}function sr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?sr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function lr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function ur(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function cr(e){var t=lr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sr(n.ownerDocument.documentElement,n)){if(null!==r&&ur(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=void 0===r.end?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=or(n,a);var o=or(n,r);i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var dr=c&&"documentMode"in document&&11>=document.documentMode,fr=null,hr=null,pr=null,vr=!1;function mr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==fr||fr!==X(r)||("selectionStart"in(r=fr)&&ur(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},pr&&ir(pr,r)||(pr=r,0<(r=Br(hr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=fr)))}function gr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var yr={animationend:gr("Animation","AnimationEnd"),animationiteration:gr("Animation","AnimationIteration"),animationstart:gr("Animation","AnimationStart"),transitionend:gr("Transition","TransitionEnd")},br={},xr={};function wr(e){if(br[e])return br[e];if(!yr[e])return e;var t,n=yr[e];for(t in n)if(n.hasOwnProperty(t)&&t in xr)return br[e]=n[t];return e}c&&(xr=document.createElement("div").style,"AnimationEvent"in window||(delete yr.animationend.animation,delete yr.animationiteration.animation,delete yr.animationstart.animation),"TransitionEvent"in window||delete yr.transitionend.transition);var Sr=wr("animationend"),_r=wr("animationiteration"),kr=wr("animationstart"),Mr=wr("transitionend"),Er=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Cr(e,t){Er.set(e,t),l(t,[e])}for(var Ar=0;Ar<Tr.length;Ar++){var Pr=Tr[Ar];Cr(Pr.toLowerCase(),"on"+(Pr[0].toUpperCase()+Pr.slice(1)))}Cr(Sr,"onAnimationEnd"),Cr(_r,"onAnimationIteration"),Cr(kr,"onAnimationStart"),Cr("dblclick","onDoubleClick"),Cr("focusin","onFocus"),Cr("focusout","onBlur"),Cr(Mr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focu
2sin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Or=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function Lr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,s,l,u){if(Ue.apply(this,arguments),Ne){if(!Ne)throw Error(a(198));var c=Ie;Ne=!1,Ie=null,je||(je=!0,De=c)}}(r,t,void 0,e),e.currentTarget=null}function Zr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;Lr(i,s,u),a=l}else for(o=0;o<r.length;o++){if(l=(s=r[o]).instance,u=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;Lr(i,s,u),a=l}}}if(je)throw e=De,je=!1,De=null,e}function Nr(e,t){var n=t[di];void 0===n&&(n=t[di]=new Set);var r=e+"__bubble";n.has(r)||(zr(t,e,2,!1),n.add(r))}function Ir(e,t,n){var r=0;t&&(r|=4),zr(n,e,r,t)}var jr="_reactListening"+Math.random().toString(36).slice(2);function Dr(e){if(!e[jr]){e[jr]=!0,o.forEach((function(t){"selectionchange"!==t&&(Or.has(t)||Ir(t,!1,e),Ir(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[jr]||(t[jr]=!0,Ir("selectionchange",!1,t))}}function zr(e,t,n,r){switch(Yt(t)){case 1:var i=Ht;break;case 4:i=Wt;break;default:i=Gt}n=i.bind(null,t,n,e),i=void 0,!Oe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ur(e,t,n,r,i){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;o=o.return}for(;null!==s;){if(null===(o=pi(s)))return;if(5===(l=o.tag)||6===l){r=a=o;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=a,i=xe(n),o=[];e:{var s=Er.get(e);if(void 0!==s){var l=un,u=e;switch(e){case"keypress":if(0===en(n))break e;case"keydown":case"keyup":l=kn;break;case"focusin":u="focus",l=vn;break;case"focusout":u="blur",l=vn;break;case"beforeblur":case"afterblur":l=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=pn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=En;break;case Sr:case _r:case kr:l=mn;break;case Mr:l=Tn;break;case"scroll":l=dn;break;case"wheel":l=Cn;break;case"copy":case"cut":case"paste":l=gn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Mn}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var h,p=r;null!==p;){var v=(h=p).stateNode;if(5===h.tag&&null!==v&&(h=v,null!==f&&(null!=(v=Re(p,f))&&c.push(Fr(p,v,h)))),d)break;p=p.return}0<c.length&&(s=new l(s,u,null,n,i),o.push({event:s,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===be||!(u=n.relatedTarget||n.fromElement)||!pi(u)&&!u[ci])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?pi(u):null)&&(u!==(d=Fe(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=hn,v="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=Mn,v="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:mi(l),h=null==u?s:mi(u),(s=new c(v,p+"leave",l,n,i)).target=d,s.relatedTarget=h,v=null,pi(i)===r&&((c=new c(f,p+"enter",u,n,i)).target=h,c.relatedTarget=d,v=c),d=v,l&&u)e:{for(f=u,p=0,h=c=l;h;h=Vr(h))p++;for(h=0,v=f;v;v=Vr(v))h++;for(;0<p-h;)c=Vr(c),p--;for(;0<h-p;)f=Vr(f),h--;for(;p--;){if(c===f||null!==f&&c===f.alternate)break e;c=Vr(c),f=Vr(f)}c=null}else c=null;null!==l&&Hr(o,s,l,c,!1),null!==u&&null!==d&&Hr(o,d,u,c,!0)}if("select"===(l=(s=r?mi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Gn;else if(Un(s))if(qn)m=nr;else{m=er;var g=$n}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=tr);switch(m&&(m=m(e,r))?Fn(o,m,n,i):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=r?mi(r):window,e){case"focusin":(Un(g)||"true"===g.contentEditable)&&(fr=g,hr=r,pr=null);break;case"focusout":pr=hr=fr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,mr(o,n,i);break;case"selectionchange":if(dr)break;case"keydown":case"keyup":mr(o,n,i)}var y;if(Pn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Dn?In(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");
vendor: 88,313 bytes, line 2
2b&&(Ln&&"ko"!==n.locale&&(Dn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Dn&&(y=$t()):(Kt="value"in(Jt=i)?Jt.value:Jt.textContent,Dn=!0)),0<(g=Br(r,b)).length&&(b=new yn(b,e,null,n,i),o.push({event:b,listeners:g}),y?b.data=y:null!==(y=jn(n))&&(b.data=y))),(y=On?function(e,t){switch(e){case"compositionend":return jn(t);case"keypress":return 32!==t.which?null:(Nn=!0,Zn);case"textInput":return(e=t.data)===Zn&&Nn?null:e;default:return null}}(e,n):function(e,t){if(Dn)return"compositionend"===e||!Pn&&In(e,t)?(e=$t(),Qt=Kt=Jt=null,Dn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ln&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Br(r,"onBeforeInput")).length&&(i=new yn("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=y))}Zr(o,t)}))}function Fr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Br(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=Re(e,n))&&r.unshift(Fr(e,a,i)),null!=(a=Re(e,t))&&r.push(Fr(e,a,i))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Hr(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,i?null!=(l=Re(n,a))&&o.unshift(Fr(n,l,s)):i||null!=(l=Re(n,a))&&o.push(Fr(n,l,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Wr=/\r\n?/g,Gr=/\u0000|\uFFFD/g;function qr(e){return("string"===typeof e?e:""+e).replace(Wr,"\n").replace(Gr,"")}function Xr(e,t,n){if(t=qr(t),qr(e)!==t&&n)throw Error(a(425))}function Yr(){}var Jr=null,Kr=null;function Qr(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $r="function"===typeof setTimeout?setTimeout:void 0,ei="function"===typeof clearTimeout?clearTimeout:void 0,ti="function"===typeof Promise?Promise:void 0,ni="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ti?function(e){return ti.resolve(null).then(e).catch(ri)}:$r;function ri(e){setTimeout((function(){throw e}))}function ii(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ft(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ft(t)}function ai(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function oi(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var si=Math.random().toString(36).slice(2),li="__reactFiber$"+si,ui="__reactProps$"+si,ci="__reactContainer$"+si,di="__reactEvents$"+si,fi="__reactListeners$"+si,hi="__reactHandles$"+si;function pi(e){var t=e[li];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ci]||n[li]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=oi(e);null!==e;){if(n=e[li])return n;e=oi(e)}return t}n=(e=n).parentNode}return null}function vi(e){return!(e=e[li]||e[ci])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function mi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function gi(e){return e[ui]||null}var yi=[],bi=-1;function xi(e){return{current:e}}function wi(e){0>bi||(e.current=yi[bi],yi[bi]=null,bi--)}function Si(e,t){bi++,yi[bi]=e.current,e.current=t}var _i={},ki=xi(_i),Mi=xi(!1),Ei=_i;function Ti(e,t){var n=e.type.contextTypes;if(!n)return _i;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ci(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ai(){wi(Mi),wi(ki)}function Pi(e,t,n){if(ki.current!==_i)throw Error(a(168));Si(ki,t),Si(Mi,n)}function Ri(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(a(108,V(e)||"Unknown",i));return j({},n,r)}function Oi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_i,Ei=ki.current,Si(ki,e),Si(Mi,Mi.current),!0}function Li(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Ri(e,t,Ei),r.__reactInternalMemoizedMergedChildContext=e,wi(Mi),wi(ki),Si(ki,e)):wi(Mi),Si(Mi,n)}var Zi=null,Ni=!1,Ii=!1;function ji(e){null===Zi?Zi=[e]:Zi.push(e)}function Di(){if(!Ii&&null!==Zi){Ii=!0;var e=0,t=yt;try{var n=Zi;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Zi=null,Ni=!1}catch(i){throw null!==Zi&&(Zi=Zi.slice(e+1)),Ge(Qe,Di),i}finally{yt=t,Ii=!1}}return null}var zi=[],Ui=0,Fi=null,Bi=0,Vi=[],Hi=0,Wi=null,Gi=1,qi="";function Xi(e,t){zi[Ui++]=Bi,zi[Ui++]=Fi,Fi=e,Bi=t}function Yi(e,t,n){Vi[Hi++]=Gi,Vi[Hi++]=qi,Vi[Hi++]=Wi,Wi=e;var r=Gi;e=qi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var a=32-at(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Gi=1<<32-at(t)+i|n<<i|r,qi=a+e}else Gi=1<<a|n<<i|r,qi=e}function Ji(e){null!==e.return&&(Xi(e,1),Yi(e,1,0))}function Ki(e){for(;e===Fi;)Fi=zi[--Ui],zi[Ui]=null,Bi=zi[--Ui],zi[Ui]=null;for(;e===Wi;)Wi=Vi[--Hi],Vi[Hi]=null,qi=Vi[--Hi],Vi[Hi]=null,Gi=Vi[--Hi],Vi[Hi]=null}var Qi=null,$i=null,ea=!1,ta=null;function na(e,t){var n=Cu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ra(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Qi=e,$i=ai(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Qi=e,$i=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Wi?{id:Gi,overflow:qi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Cu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Qi=e,$i=null,!0);default:return!1}}function ia(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function aa(e){if(ea){var t=$i;if(t){var n=t;if(!ra(e,t)){if(ia(e))throw Error(a(418));t=ai(n.nextSibling);var r=Qi;t&&ra(e,t)?na(r,n):(e.flags=-4097&e.flags|2,ea=!1,Qi=e)}}else{if(ia(e))throw Error(a(418));e.flags=-4097&e.flags|2,ea=!1,Qi=e}}}function oa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Qi=e}function sa(e){if(e!==Qi)return!1;if(!ea)return oa(e),ea=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Qr(e.type,e.memoizedProps)),t&&(t=$i)){if(ia(e))throw la(),Error(a(418));for(;t;)na(e,t),t=ai(t.nextSibling)}if(oa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){$i=ai(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}$i=null}}else $i=Qi?ai(e.stateNode.nextSibling):null;return!0}function la(){for(var e=$i;e;)e=ai(e.nextSibling)}function ua(){$i=Qi=null,ea=!1}function ca(e){null===ta?ta=[e]:ta.push(e)}var da=x.ReactCurrentBatchConfig;function fa(e,t){if(e&&e.defaultProps){for(var n in t=j({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ha=xi(null),pa=null,va=null,ma=null;function ga(){ma=va=pa=null}function ya(e){var t=ha.current;wi(ha),e._currentValue=t}function ba(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function xa(e,t){pa=e,ma=va=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ms=!0),e.firstContext=null)}function wa(e){var t=e._currentValue;if(ma!==e)if(e={context:e,memoizedValue:t,next:null},null===va){if(null===pa)throw Error(a(308));va=e,pa.dependencies={lanes:0,firstContext:e}}else va=va.next=e;return t}var Sa=null;function _a(e){null===Sa?Sa=[e]:Sa.push(e)}function ka(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,_a(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ma(e,r)}function Ma(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ea=!1;function Ta(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ca(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Aa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Pa(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ml)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ma(e,n)}return null===(i=r.interleaved)?(t.next=t,_a(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ma(e,n)}function Ra(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function Oa(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function La(e,t,n,r){var i=e.updateQueue;Ea=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===o?a=u:o.next=u,o=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==a){var d=i.baseState;for(o=0,c=u=l=null,s=a;;){var f=s.lane,h=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,v=s;switch(f=t,h=n,v.tag){case 1:if("function"===typeof(p=v.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(f="function"===typeof(p=v.payload)?p.call(h,d,f):p)||void 0===f)break e;d=j({},d,f);break e;case 2:Ea=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=i.effects)?i.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,o|=f;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(f=s).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}if(null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{o|=i.lane,i=i.next}while(i!==t)}else null===a&&(i.shared.lanes=0);Ll|=o,e.lanes=o,e.memoizedState=d}}function Za(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(a(191,i));i.call(r)}}}var Na=(new r.Component).refs;function Ia(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:j({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ja={isMounted:function(e){return!!(e=e._reactInternals)&&Fe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Kl(),i=Ql(e),a=Aa(r,i);a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Pa(e,a,i))&&($l(t,e,i,r),Ra(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Kl(),i=Ql(e),a=Aa(r,i);a.tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Pa(e,a,i))&&($l(t,e,i,r),Ra(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Kl(),r=Ql(e),i=Aa(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Pa(e,i,r))&&($l(t,e,r,n),Ra(t,e,r))}};function Da(e,t,n,r,i,a,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!ir(n,r)||!ir(i,a))}function za(e,t,n){var r=!1,i=_i,a=t.contextType;return"object"===typeof a&&null!==a?a=wa(a):(i=Ci(t)?Ei:ki.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ti(e,i):_i),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ja,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ua(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ja.enqueueReplaceState(t,t.state,null)}function Fa(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Na,Ta(e);var a=t.contextType;"object"===typeof a&&null!==a?i.context=wa(a):(a=Ci(t)?Ei:ki.current,i.context=Ti(e,a)),i.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(Ia(e,t,a,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ja.enqueueReplaceState(i,i.state,null),La(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function Ba(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=r,o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs;t===Na&&(t=i.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Va(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ha(e){return(0,e._init)(e._payload)}function Wa(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Pu(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Zu(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){var a=n.type;return a===_?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===O&&Ha(a)===t.type)?((r=i(t,n.props)).ref=Ba(e,t,n),r.return=e,r):((r=Ru(n.type,n.key,n.props,null,e.mode,r)).ref=Ba(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nu(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Ou(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Zu(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Ru(t.type,t.key,t.props,null,e.mode,n)).ref=Ba(e,null,t),n.return=e,n;case S:return(t=Nu(t,e.mode,n)).return=e,t;case O:return f(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Ou(t,e.mode,n,null)).return=e,t;Va(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===i?u(e,t,n,r):null;case S:return n.key===i?c(e,t,n,r):null;case O:return h(e,t,(i=n._init)(n._payload),r)}if(te(n)||N(n))return null!==i?null:d(e,t,n,r,null);Va(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case O:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||N(r))return d(t,e=e.get(n)||null,r,i,null);Va(t,r)}return null}function v(i,a,s,l){for(var u=null,c=null,d=a,v=a=0,m=null;null!==d&&v<s.length;v++){d.index>v?(m=d,d=null):m=d.sibling;var g=h(i,d,s[v],l);if(null===g){null===d&&(d=m);break}e&&d&&null===g.alternate&&t(i,d),a=o(g,a,v),null===c?u=g:c.sibling=g,c=g,d=m}if(v===s.length)return n(i,d),ea&&Xi(i,v),u;if(null===d){for(;v<s.length;v++)null!==(d=f(i,s[v],l))&&(a=o(d,a,v),null===c?u=d:c.sibling=d,c=d);return ea&&Xi(i,v),u}for(d=r(i,d);v<s.length;v++)null!==(m=p(d,i,v,s[v],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?v:m.key),a=o(m,a,v),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach((function(e){return t(i,e)})),ea&&Xi(i,v),u}function m(i,s,l,u){var c=N(l);if("function"!==typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var d=c=null,v=s,m=s=0,g=null,y=l.next();null!==v&&!y.done;m++,y=l.next()){v.index>m?(g=v,v=null):g=v.sibling;var b=h(i,v,y.value,u);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(i,v),s=o(b,s,m),null===d?c=b:d.sibling=b,d=b,v=g}if(y.done)return n(i,v),ea&&Xi(i,m),c;if(null===v){for(;!y.done;m++,y=l.next())null!==(y=f(i,y.value,u))&&(s=o(y,s,m),null===d?c=y:d.sibling=y,d=y);return ea&&Xi(i,m),c}for(v=r(i,v);!y.done;m++,y=l.next())null!==(y=p(v,i,m,y.value,u))&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),s=o(y,s,m),null===d?c=y:d.sibling=y,d=y);return e&&v.forEach((function(e){return t(i,e)})),ea&&Xi(i,m),c}return function e(r,a,o,l){if("object"===typeof o&&null!==o&&o.type===_&&null===o.key&&(o=o.props.children),"object"===typeof o&&null!==o){switch(o.$$typeof){case w:e:{for(var u=o.key,c=a;null!==c;){if(c.key===u){if((u=o.type)===_){if(7===c.tag){n(r,c.sibling),(a=i(c,o.props.children)).return=r,r=a;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===O&&Ha(u)===c.type){n(r,c.sibling),(a=i(c,o.props)).ref=Ba(r,c,o),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}o.type===_?((a=Ou(o.props.children,r.mode,l,o.key)).return=r,r=a):((l=Ru(o.type,o.key,o.props,null,r.mode,l)).ref=Ba(r,a,o),l.return=r,r=l)}return s(r);case S:e:{for(c=o.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===o.containerInfo&&a.stateNode.implementation===o.implementation){n(r,a.sibling),(a=i(a,o.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Nu(o,r.mode,l)).return=r,r=a}return s(r);case O:return e(r,a,(c=o._init)(o._payload),l)}if(te(o))return v(r,a,o,l);if(N(o))return m(r,a,o,l);Va(r,o)}return"string"===typeof o&&""!==o||"number"===typeof o?(o=""+o,null!==a&&6===a.tag?(n(r,a.sibling),(a=i(a,o)).return=r,r=a):(n(r,a),(a=Zu(o,r.mode,l)).return=r,r=a),s(r)):n(r,a)}}var Ga=Wa(!0),qa=Wa(!1),Xa={},Ya=xi(Xa),Ja=xi(Xa),Ka=xi(Xa);function Qa(e){if(e===Xa)throw Error(a(174));return e}function $a(e,t){switch(Si(Ka,t),Si(Ja,e),Si(Ya,Xa),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}wi(Ya),Si(Ya,t)}function eo(){wi(Ya),wi(Ja),wi(Ka)}function to(e){Qa(Ka.current);var t=Qa(Ya.current),n=le(t,e.type);t!==n&&(Si(Ja,e),Si(Ya,n))}function no(e){Ja.current===e&&(wi(Ya),wi(Ja))}var ro=xi(0);function io(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ao=[];function oo(){for(var e=0;e<ao.length;e++)ao[e]._workInProgressVersionPrimary=null;ao.length=0}var so=x.ReactCurrentDispatcher,lo=x.ReactCurrentBatchConfig,uo=0,co=null,fo=null,ho=null,po=!1,vo=!1,mo=0,go=0;function yo(){throw Error(a(321))}function bo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!rr(e[n],t[n]))return!1;return!0}function xo(e,t,n,r,i,o){if(uo=o,co=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,so.current=null===e||null===e.memoizedState?rs:is,e=n(r,i),vo){o=0;do{if(vo=!1,mo=0,25<=o)throw Error(a(301));o+=1,ho=fo=null,t.updateQueue=null,so.current=as,e=n(r,i)}while(vo)}if(so.current=ns,t=null!==fo&&null!==fo.next,uo=0,ho=fo=co=null,po=!1,t)throw Error(a(300));return e}function wo(){var e=0!==mo;return mo=0,e}function So(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ho?co.memoizedState=ho=e:ho=ho.next=e,ho}function _o(){if(null===fo){var e=co.alternate;e=null!==e?e.memoizedState:null}else e=fo.next;var t=null===ho?co.memoizedState:ho.next;if(null!==t)ho=t,fo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(fo=e).memoizedState,baseState:fo.baseState,baseQueue:fo.baseQueue,queue:fo.queue,next:null},null===ho?co.memoizedState=ho=e:ho=ho.next=e}return ho}function ko(e,t){return"function"===typeof t?t(e):t}function Mo(e){var t=_o(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=fo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){o=i.next,r=r.baseState;var l=s=null,u=null,c=o;do{var d=c.lane;if((uo&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=r):u=u.next=f,co.lanes|=d,Ll|=d}c=c.next}while(null!==c&&c!==o);null===u?s=r:u.next=l,rr(r,t.memoizedState)||(ms=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{o=i.lane,co.lanes|=o,Ll|=o,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Eo(e){var t=_o(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);rr(o,t.memoizedState)||(ms=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function To(){}function Co(e,t){var n=co,r=_o(),i=t(),o=!rr(r.memoizedState,i);if(o&&(r.memoizedState=i,ms=!0),r=r.queue,Uo(Ro.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==ho&&1&ho.memoizedState.tag){if(n.flags|=2048,No(9,Po.bind(null,n,r,i,t),void 0,null),null===El)throw Error(a(349));0!==(30&uo)||Ao(n,t,i)}return i}function Ao(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=co.updateQueue)?(t={lastEffect:null,stores:null},co.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Po(e,t,n,r){t.value=n,t.getSnapshot=r,Oo(t)&&Lo(e)}function Ro(e,t,n){return n((function(){Oo(t)&&Lo(e)}))}function Oo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!rr(e,n)}catch(r){return!0}}function Lo(e){var t=Ma(e,1);null!==t&&$l(t,e,1,-1)}function Zo(e){var t=So();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ko,lastRenderedState:e},t.queue=e,e=e.dispatch=Qo.bind(null,co,e),[t.memoizedState,e]}function No(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=co.updateQueue)?(t={lastEffect:null,stores:null},co.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Io(){return _o().memoizedState}function jo(e,t,n,r){var i=So();co.flags|=e,i.memoizedState=No(1|t,n,void 0,void 0===r?null:r)}function Do(e,t,n,r){var i=_o();r=void 0===r?null:r;var a=void 0;if(null!==fo){var o=fo.memoizedState;if(a=o.destroy,null!==r&&bo(r,o.deps))return void(i.memoizedState=No(t,n,a,r))}co.flags|=e,i.memoizedState=No(1|t,n,a,r)}function zo(e,t){return jo(8390656,8,e,t)}function Uo(e,t){return Do(2048,8,e,t)}function Fo(e,t){return Do(4,2,e,t)}function Bo(e,t){return Do(4,4,e,t)}function Vo(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ho(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Do(4,4,Vo.bind(null,t,e),n)}function Wo(){}function Go(e,t){var n=_o();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&bo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function qo(e,t){var n=_o();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&bo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xo(e,t,n){return 0===(21&uo)?(e.baseState&&(e.baseState=!1,ms=!0),e.memoizedState=n):(rr(n,t)||(n=pt(),co.lanes|=n,Ll|=n,e.baseState=!0),t)}function Yo(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=lo.transition;lo.transition={};try{e(!1),t()}finally{yt=n,lo.transition=r}}function Jo(){return _o().memoizedState}function Ko(e,t,n){var r=Ql(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$o(e))es(t,n);else if(null!==(n=ka(e,t,n,r))){$l(n,e,r,Kl()),ts(n,t,r)}}function Qo(e,t,n){var r=Ql(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($o(e))es(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,rr(s,o)){var l=t.interleaved;return null===l?(i.next=i,_a(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(u){}null!==(n=ka(e,t,i,r))&&($l(n,e,r,i=Kl()),ts(n,t,r))}}function $o(e){var t=e.alternate;return e===co||null!==t&&t===co}function es(e,t){vo=po=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ts(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var ns={readContext:wa,useCallback:yo,useContext:yo,useEffect:yo,useImperativeHandle:yo,useInsertionEffect:yo,useLayoutEffect:yo,useMemo:yo,useReducer:yo,useRef:yo,useState:yo,useDebugValue:yo,useDeferredValue:yo,useTransition:yo,useMutableSource:yo,useSyncExternalStore:yo,useId:yo,unstable_isNewReconciler:!1},rs={readContext:wa,useCallback:function(e,t){return So().memoizedState=[e,void 0===t?null:t],e},useContext:wa,useEffect:zo,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,jo(4194308,4,Vo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return jo(4194308,4,e,t)},useInsertionEffect:function(e,t){return jo(4,2,e,t)},useMemo:function(e,t){var n=So();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=So();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ko.bind(null,co,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},So().memoizedState=e},useState:Zo,useDebugValue:Wo,useDeferredValue:function(e){return So().memoizedState=e},useTransition:function(){var e=Zo(!1),t=e[0];return e=Yo.bind(null,e[1]),So().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=co,i=So();if(ea){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===El)throw Error(a(349));0!==(30&uo)||Ao(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,zo(Ro.bind(null,r,o,e),[e]),r.flags|=2048,No(9,Po.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=So(),t=El.identifierPrefix;if(ea){var n=qi;t=":"+t+"R"+(n=(Gi&~(1<<32-at(Gi)-1)).toString(32)+n),0<(n=mo++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=go++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},is={readContext:wa,useCallback:Go,useContext:wa,useEffect:Uo,useImperativeHandle:Ho,useInsertionEffect:Fo,useLayoutEffect:Bo,useMemo:qo,useReducer:Mo,useRef:Io,useState:function(){return Mo(ko)},useDebugValue:Wo,useDeferredValue:function(e){return Xo(_o(),fo.memoizedState,e)},useTransition:function(){return[Mo(ko)[0],_o().memoizedState]},useMutableSource:To,useSyncExternalStore:Co,useId:Jo,unstable_isNewReconciler:!1},as={readContext:wa,useCallback:Go,useContext:wa,useEffect:Uo,useImperativeHandle:Ho,useInsertionEffect:Fo,useLayoutEffect:Bo,useMemo:qo,useReducer:Eo,useRef:Io,useState:function(){return Eo(ko)},useDebugValue:Wo,useDeferredValue:function(e){var t=_o();return null===fo?t.memoizedState=e:Xo(t,fo.memoizedState,e)},useTransition:function(){return[Eo(ko)[0],_o().memoizedState]},useMutableSource:To,useSyncExternalStore:Co,useId:Jo,unstable_isNewReconciler:!1};function os(e,t){try{var n="",r=t;do{n+=F(r),r=r.return}while(r);var i=n}catch(a){i="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:i,digest:null}}function ss(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ls(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var us="function"===typeof WeakMap?WeakMap:Map;function cs(e,t,n){(n=Aa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Fl||(Fl=!0,Bl=r),ls(0,t)},n}function ds(e,t,n){(n=Aa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ls(0,t)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){ls(0,t),"function"!==typeof r&&(null===Vl?Vl=new Set([this]):Vl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function fs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new us;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Su.bind(null,e,t,n),t.then(e,e))}function hs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ps(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Aa(-1,1)).tag=2,Pa(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var vs=x.ReactCurrentOwner,ms=!1;function gs(e,t,n,r){t.child=null===e?qa(t,null,n,r):Ga(t,e.child,n,r)}function ys(e,t,n,r,i){n=n.render;var a=t.ref;return xa(t,i),r=xo(e,t,n,r,a,i),n=wo(),null===e||ms?(ea&&n&&Ji(t),t.flags|=1,gs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Fs(e,t,i))}function bs(e,t,n,r,i){if(null===e){var a=n.type;return"function"!==typeof a||Au(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ru(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,xs(e,t,a,r,i))}if(a=e.child,0===(e.lanes&i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:ir)(o,r)&&e.ref===t.ref)return Fs(e,t,i)}return t.flags|=1,(e=Pu(a,r)).ref=t.ref,e.return=t,t.child=e}function xs(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if(ir(a,r)&&e.ref===t.ref){if(ms=!1,t.pendingProps=r=a,0===(e.lanes&i))return t.lanes=e.lanes,Fs(e,t,i);0!==(131072&e.flags)&&(ms=!0)}}return _s(e,t,n,r,i)}function ws(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Si(Pl,Al),Al|=n;else{if(0===(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Si(Pl,Al),Al|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Si(Pl,Al),Al|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Si(Pl,Al),Al|=r;return gs(e,t,i,n),t.child}function Ss(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _s(e,t,n,r,i){var a=Ci(n)?Ei:ki.current;return a=Ti(t,a),xa(t,i),n=xo(e,t,n,r,a,i),r=wo(),null===e||ms?(ea&&r&&Ji(t),t.flags|=1,gs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Fs(e,t,i))}function ks(e,t,n,r,i){if(Ci(n)){var a=!0;Oi(t)}else a=!1;if(xa(t,i),null===t.stateNode)Us(e,t),za(t,n,r),Fa(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=n.contextType;"object"===typeof u&&null!==u?u=wa(u):u=Ti(t,u=Ci(n)?Ei:ki.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof o.getSnapshotBeforeUpdate;d||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==r||l!==u)&&Ua(t,o,r,u),Ea=!1;var f=t.memoizedState;o.state=f,La(t,r,o,i),l=t.memoizedState,s!==r||f!==l||Mi.current||Ea?("function"===typeof c&&(Ia(t,n,c,r),l=t.memoizedState),(s=Ea||Da(t,n,s,r,f,l,u))?(d||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.flags|=4194308)):("function"===typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=s):("function"===typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Ca(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:fa(t.type,s),o.props=u,d=t.pendingProps,f=o.context,"object"===typeof(l=n.contextType)&&null!==l?l=wa(l):l=Ti(t,l=Ci(n)?Ei:ki.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==d||f!==l)&&Ua(t,o,r,l),Ea=!1,f=t.memoizedState,o.state=f,La(t,r,o,i);var p=t.memoizedState;s!==d||f!==p||Mi.current||Ea?("function"===typeof h&&(Ia(t,n,h,r),p=t.memoizedState),(u=Ea||Da(t,n,u,r,f,p,l)||!1)?(c||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,l),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,l)),"function"===typeof o.componentDidUpdate&&(t.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=l,r=u):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ms(e,t,n,r,a,i)}function Ms(e,t,n,r,i,a){Ss(e,t);var o=0!==(128&t.flags);if(!r&&!o)return i&&Li(t,n,!1),Fs(e,t,a);r=t.stateNode,vs.current=t;var s=o&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Ga(t,e.child,null,a),t.child=Ga(t,null,s,a)):gs(e,t,s,a),t.memoizedState=r.state,i&&Li(t,n,!0),t.child}function Es(e){var t=e.stateNode;t.pendingContext?Pi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Pi(0,t.context,!1),$a(e,t.containerInfo)}function Ts(e,t,n,r,i){return ua(),ca(i),t.flags|=256,gs(e,t,n,r),t.child}var Cs,As,Ps,Rs,Os={dehydrated:null,treeContext:null,retryLane:0};function Ls(e){return{baseLanes:e,cachePool:null,transitions:null}}function Zs(e,t,n){var r,i=t.pendingProps,o=ro.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&o)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Si(ro,1&o),null===e)return aa(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Lu(l,i,0,null),e=Ou(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ls(n),t.memoizedState=Os,e):Ns(t,l));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,i,o,s){if(n)return 256&t.flags?(t.flags&=-257,Is(e,t,s,r=ss(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Lu({mode:"visible",children:r.children},i,0,null),(o=Ou(o,i,s,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!==(1&t.mode)&&Ga(t,e.child,null,s),t.child.memoizedState=Ls(s),t.memoizedState=Os,o);if(0===(1&t.mode))return Is(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,Is(e,t,s,r=ss(o=Error(a(419)),r,void 0))}if(l=0!==(s&e.childLanes),ms||l){if(null!==(r=El)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==o.retryLane&&(o.retryLane=i,Ma(e,i),$l(r,e,i,-1))}return fu(),Is(e,t,s,r=ss(Error(a(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=ku.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,$i=ai(i.nextSibling),Qi=t,ea=!0,ta=null,null!==e&&(Vi[Hi++]=Gi,Vi[Hi++]=qi,Vi[Hi++]=Wi,Gi=e.id,qi=e.overflow,Wi=t),t=Ns(t,r.children),t.flags|=4096,t)}(e,t,l,i,r,o,n);if(s){s=i.fallback,l=t.mode,r=(o=e.child).sibling;var u={mode:"hidden",children:i.children};return 0===(1&l)&&t.child!==o?((i=t.child).childLanes=0,i.pendingProps=u,t.deletions=null):(i=Pu(o,u)).subtreeFlags=14680064&o.subtreeFlags,null!==r?s=Pu(r,s):(s=Ou(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Ls(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Os,i}return e=(s=e.child).sibling,i=Pu(s,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Ns(e,t){return(t=Lu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Is(e,t,n,r){return null!==r&&ca(r),Ga(t,e.child,null,n),(e=Ns(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function js(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ba(e.return,t,n)}function Ds(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function zs(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(gs(e,t,r.children,n),0!==(2&(r=ro.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&js(e,n,t);else if(19===e.tag)js(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Si(ro,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===io(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ds(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===io(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ds(t,!0,n,null,a);break;case"together":Ds(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Us(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Fs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ll|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Pu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Bs(e,t){if(!ea)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Hs(e,t,n){var r=t.pendingProps;switch(Ki(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vs(t),null;case 1:case 17:return Ci(t.type)&&Ai(),Vs(t),null;case 3:return r=t.stateNode,eo(),wi(Mi),wi(ki),oo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(sa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ta&&(ru(ta),ta=null))),As(e,t),Vs(t),null;case 5:no(t);var i=Qa(Ka.current);if(n=t.type,null!==e&&null!=t.stateNode)Ps(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Vs(t),null}if(e=Qa(Ya.current),sa(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[li]=t,r[ui]=o,e=0!==(1&t.mode),n){case"dialog":Nr("cancel",r),Nr("close",r);break;case"iframe":case"object":case"embed":Nr("load",r);break;case"video":case"audio":for(i=0;i<Rr.length;i++)Nr(Rr[i],r);break;case"source":Nr("error",r);break;case"img":case"image":case"link":Nr("error",r),Nr("load",r);break;case"details":Nr("toggle",r);break;case"input":J(r,o),Nr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Nr("invalid",r);break;case"textarea":ie(r,o),Nr("invalid",r)}for(var l in ge(n,o),i=null,o)if(o.hasOwnProperty(l)){var u=o[l];"children"===l?"string"===typeof u?r.textContent!==u&&(!0!==o.suppressHydrationWarning&&Xr(r.textContent,u,e),i=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==o.suppressHydrationWarning&&Xr(r.textContent,u,e),i=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Nr("scroll",r)}switch(n){case"input":G(r),$(r,o,!0);break;case"textarea":G(r),oe(r);break;case"select":case"option":break;default:"function"===typeof o.onClick&&(r.onclick=Yr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[li]=t,e[ui]=r,Cs(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(n,r),n){case"dialog":Nr("cancel",e),Nr("close",e),i=r;break;case"iframe":case"object":case"embed":Nr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Rr.length;i++)Nr(Rr[i],e);i=r;break;case"source":Nr("error",e),i=r;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),i=r;break;case"details":Nr("toggle",e),i=r;break;case"input":J(e,r),i=Y(e,r),Nr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=j({},r,{value:void 0}),Nr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Nr("invalid",e)}for(o in ge(n,i),u=i)if(u.hasOwnProperty(o)){var c=u[o];"style"===o?ve(e,c):"dangerouslySetInnerHTML"===o?null!=(c=c?c.__html:void 0)&&ce(e,c):"children"===o?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(s.hasOwnProperty(o)?null!=c&&"onScroll"===o&&Nr("scroll",e):null!=c&&b(e,o,c,l))}switch(n){case"input":G(e),$(e,r,!1);break;case"textarea":G(e),oe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?ne(e,!!r.multiple,o,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Yr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vs(t),null;case 6:if(e&&null!=t.stateNode)Rs(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));if(n=Qa(Ka.current),Qa(Ya.current),sa(t)){if(r=t.stateNode,n=t.memoizedProps,r[li]=t,(o=r.nodeValue!==n)&&null!==(e=Qi))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}o&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[li]=t,t.stateNode=r}return Vs(t),null;case 13:if(wi(ro),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ea&&null!==$i&&0!==(1&t.mode)&&0===(128&t.flags))la(),ua(),t.flags|=98560,o=!1;else if(o=sa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(a(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(a(317));o[li]=t}else ua(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vs(t),o=!1}else null!==ta&&(ru(ta),ta=null),o=!0;if(!o)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ro.current)?0===Rl&&(Rl=3):fu())),null!==t.updateQueue&&(t.flags|=4),Vs(t),null);case 4:return eo(),As(e,t),null===e&&Dr(t.stateNode.containerInfo),Vs(t),null;case 10:return ya(t.type._context),Vs(t),null;case 19:if(wi(ro),null===(o=t.memoizedState))return Vs(t),null;if(r=0!==(128&t.flags),null===(l=o.rendering))if(r)Bs(o,!1);else{if(0!==Rl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=io(e))){for(t.flags|=128,Bs(o,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=14680066,null===(l=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Si(ro,1&ro.current|2),t.child}e=e.sibling}null!==o.tail&&Je()>zl&&(t.flags|=128,r=!0,Bs(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=io(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Bs(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!ea)return Vs(t),null}else 2*Je()-o.renderingStartTime>zl&&1073741824!==n&&(t.flags|=128,r=!0,Bs(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=o.last)?n.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Je(),t.sibling=null,n=ro.current,Si(ro,r?1&n|2:1&n),t):(Vs(t),null);case 22:case 23:return lu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Al)&&(Vs(t),6&t.subtreeFlags&&(t.flags|=8192)):Vs(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Ws(e,t){switch(Ki(t),t.tag){case 1:return Ci(t.type)&&Ai(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return eo(),wi(Mi),wi(ki),oo(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return no(t),null;case 13:if(wi(ro),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ua()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return wi(ro),null;case 4:return eo(),null;case 10:return ya(t.type._context),null;case 22:case 23:return lu(),null;default:return null}}Cs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},As=function(){},Ps=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Qa(Ya.current);var a,o=null;switch(n){case"input":i=Y(e,i),r=Y(e,r),o=[];break;case"select":i=j({},i,{value:void 0}),r=j({},r,{value:void 0}),o=[];break;case"textarea":i=re(e,i),r=re(e,r),o=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Yr)}for(c in ge(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var l=i[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(o||(o=[]),o.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(o=o||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(o=o||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Nr("scroll",e),o||l===u||(o=[])):(o=o||[]).push(c,u))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}},Rs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gs=!1,qs=!1,Xs="function"===typeof WeakSet?WeakSet:Set,Ys=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){wu(e,t,r)}else n.current=null}function Ks(e,t,n){try{n()}catch(r){wu(e,t,r)}}var Qs=!1;function $s(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&Ks(t,n,a)}i=i.next}while(i!==r)}}function el(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function tl(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function nl(e){var t=e.alternate;null!==t&&(e.alternate=null,nl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[li],delete t[ui],delete t[di],delete t[fi],delete t[hi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function rl(e){return 5===e.tag||3===e.tag||4===e.tag}function il(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||rl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function al(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Yr));else if(4!==r&&null!==(e=e.child))for(al(e,t,n),e=e.sibling;null!==e;)al(e,t,n),e=e.sibling}function ol(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ol(e,t,n),e=e.sibling;null!==e;)ol(e,t,n),e=e.sibling}var sl=null,ll=!1;function ul(e,t,n){for(n=n.child;null!==n;)cl(e,t,n),n=n.sibling}function cl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(rt,n)}catch(s){}switch(n.tag){case 5:qs||Js(n,t);case 6:var r=sl,i=ll;sl=null,ul(e,t,n),ll=i,null!==(sl=r)&&(ll?(e=sl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):sl.removeChild(n.stateNode));break;case 18:null!==sl&&(ll?(e=sl,n=n.stateNode,8===e.nodeType?ii(e.parentNode,n):1===e.nodeType&&ii(e,n),Ft(e)):ii(sl,n.stateNode));break;case 4:r=sl,i=ll,sl=n.stateNode.containerInfo,ll=!0,ul(e,t,n),sl=r,ll=i;break;case 0:case 11:case 14:case 15:if(!qs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,void 0!==o&&(0!==(2&a)||0!==(4&a))&&Ks(n,t,o),i=i.next}while(i!==r)}ul(e,t,n);break;case 1:if(!qs&&(Js(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){wu(n,t,s)}ul(e,t,n);break;case 21:ul(e,t,n);break;case 22:1&n.mode?(qs=(r=qs)||null!==n.memoizedState,ul(e,t,n),qs=r):ul(e,t,n);break;default:ul(e,t,n)}}function dl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=Mu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function fl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:sl=l.stateNode,ll=!1;break e;case 3:case 4:sl=l.stateNode.containerInfo,ll=!0;break e}l=l.return}if(null===sl)throw Error(a(160));cl(o,s,i),sl=null,ll=!1;var u=i.alternate;null!==u&&(u.return=null),i.return=null}catch(c){wu(i,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)hl(t,e),t=t.sibling}function hl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(fl(t,e),pl(e),4&r){try{$s(3,e,e.return),el(3,e)}catch(m){wu(e,e.return,m)}try{$s(5,e,e.return)}catch(m){wu(e,e.return,m)}}break;case 1:fl(t,e),pl(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(fl(t,e),pl(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(m){wu(e,e.return,m)}}if(4&r&&null!=(i=e.stateNode)){var o=e.memoizedProps,s=null!==n?n.memoizedProps:o,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===o.type&&null!=o.name&&K(i,o),ye(l,s);var c=ye(l,o);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?ve(i,f):"dangerouslySetInnerHTML"===d?ce(i,f):"children"===d?de(i,f):b(i,d,f,c)}switch(l){case"input":Q(i,o);break;case"textarea":ae(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;null!=p?ne(i,!!o.multiple,p,!1):h!==!!o.multiple&&(null!=o.defaultValue?ne(i,!!o.multiple,o.defaultValue,!0):ne(i,!!o.multiple,o.multiple?[]:"",!1))}i[ui]=o}catch(m){wu(e,e.return,m)}}break;case 6:if(fl(t,e),pl(e),4&r){if(null===e.stateNode)throw Error(a(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(m){wu(e,e.return,m)}}break;case 3:if(fl(t,e),pl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ft(t.containerInfo)}catch(m){wu(e,e.return,m)}break;case 4:default:fl(t,e),pl(e);break;case 13:fl(t,e),pl(e),8192&(i=e.child).flags&&(o=null!==i.memoizedState,i.stateNode.isHidden=o,!o||null!==i.alternate&&null!==i.alternate.memoizedState||(Dl=Je())),4&r&&dl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(qs=(c=qs)||d,fl(t,e),qs=c):fl(t,e),pl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Ys=e,d=e.child;null!==d;){for(f=Ys=d;null!==Ys;){switch(p=(h=Ys).child,h.tag){case 0:case 11:case 14:case 15:$s(4,h,h.return);break;case 1:Js(h,h.return);var v=h.stateNode;if("function"===typeof v.componentWillUnmount){r=h,n=h.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){wu(r,n,m)}}break;case 5:Js(h,h.return);break;case 22:if(null!==h.memoizedState){yl(f);continue}}null!==p?(p.return=h,Ys=p):yl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{i=f.stateNode,c?"function"===typeof(o=i.style).setProperty?o.setProperty("display","none","important"):o.display="none":(l=f.stateNode,s=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,l.style.display=pe("display",s))}catch(m){wu(e,e.return,m)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(m){wu(e,e.return,m)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:fl(t,e),pl(e),4&r&&dl(e);case 21:}}function pl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(rl(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(de(i,""),r.flags&=-33),ol(e,il(e),i);break;case 3:case 4:var o=r.stateNode.containerInfo;al(e,il(e),o);break;default:throw Error(a(161))}}catch(s){wu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Ys=e,ml(e,t,n)}function ml(e,t,n){for(var r=0!==(1&e.mode);null!==Ys;){var i=Ys,a=i.child;if(22===i.tag&&r){var o=null!==i.memoizedState||Gs;if(!o){var s=i.alternate,l=null!==s&&null!==s.memoizedState||qs;s=Gs;var u=qs;if(Gs=o,(qs=l)&&!u)for(Ys=i;null!==Ys;)l=(o=Ys).child,22===o.tag&&null!==o.memoizedState?bl(i):null!==l?(l.return=o,Ys=l):bl(i);for(;null!==a;)Ys=a,ml(a,t,n),a=a.sibling;Ys=i,Gs=s,qs=u}gl(e)}else 0!==(8772&i.subtreeFlags)&&null!==a?(a.return=i,Ys=a):gl(e)}}function gl(e){for(;null!==Ys;){var t=Ys;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:qs||el(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!qs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:fa(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Za(t,o,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Za(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ft(f)}}}break;default:throw Error(a(163))}qs||512&t.flags&&tl(t)}catch(h){wu(t,t.return,h)}}if(t===e){Ys=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ys=n;break}Ys=t.return}}function yl(e){for(;null!==Ys;){var t=Ys;if(t===e){Ys=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ys=n;break}Ys=t.return}}function bl(e){for(;null!==Ys;){var t=Ys;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{el(4,t)}catch(l){wu(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(l){wu(t,i,l)}}var a=t.return;try{tl(t)}catch(l){wu(t,a,l)}break;case 5:var o=t.return;try{tl(t)}catch(l){wu(t,o,l)}}}catch(l){wu(t,t.return,l)}if(t===e){Ys=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Ys=s;break}Ys=t.return}}var xl,wl=Math.ceil,Sl=x.ReactCurrentDispatcher,_l=x.ReactCurrentOwner,kl=x.ReactCurrentBatchConfig,Ml=0,El=null,Tl=null,Cl=0,Al=0,Pl=xi(0),Rl=0,Ol=null,Ll=0,Zl=0,Nl=0,Il=null,jl=null,Dl=0,zl=1/0,Ul=null,Fl=!1,Bl=null,Vl=null,Hl=!1,Wl=null,Gl=0,ql=0,Xl=null,Yl=-1,Jl=0;function Kl(){return 0!==(6&Ml)?Je():-1!==Yl?Yl:Yl=Je()}function Ql(e){return 0===(1&e.mode)?1:0!==(2&Ml)&&0!==Cl?Cl&-Cl:null!==da.transition?(0===Jl&&(Jl=pt()),Jl):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function $l(e,t,n,r){if(50<ql)throw ql=0,Xl=null,Error(a(185));mt(e,n,r),0!==(2&Ml)&&e===El||(e===El&&(0===(2&Ml)&&(Zl|=n),4===Rl&&iu(e,Cl)),eu(e,r),1===n&&0===Ml&&0===(1&t.mode)&&(zl=Je()+500,Ni&&Di()))}function eu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-at(a),s=1<<o,l=i[o];-1===l?0!==(s&n)&&0===(s&r)||(i[o]=ft(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var r=dt(e,e===El?Cl:0);if(0===r)null!==n&&qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&qe(n),1===t)0===e.tag?function(e){Ni=!0,ji(e)}(au.bind(null,e)):ji(au.bind(null,e)),ni((function(){0===(6&Ml)&&Di()})),n=null;else{switch(bt(r)){case 1:n=Qe;break;case 4:n=$e;break;case 16:default:n=et;break;case 536870912:n=nt}n=Eu(n,tu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function tu(e,t){if(Yl=-1,Jl=0,0!==(6&Ml))throw Error(a(327));var n=e.callbackNode;if(bu()&&e.callbackNode!==n)return null;var r=dt(e,e===El?Cl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=hu(e,r);else{t=r;var i=Ml;Ml|=2;var o=du();for(El===e&&Cl===t||(Ul=null,zl=Je()+500,uu(e,t));;)try{vu();break}catch(l){cu(e,l)}ga(),Sl.current=o,Ml=i,null!==Tl?t=0:(El=null,Cl=0,t=Rl)}if(0!==t){if(2===t&&(0!==(i=ht(e))&&(r=i,t=nu(e,i))),1===t)throw n=Ol,uu(e,0),iu(e,r),eu(e,Je()),n;if(6===t)iu(e,r);else{if(i=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!rr(a(),i))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=hu(e,r))&&(0!==(o=ht(e))&&(r=o,t=nu(e,o))),1===t))throw n=Ol,uu(e,0),iu(e,r),eu(e,Je()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:yu(e,jl,Ul);break;case 3:if(iu(e,r),(130023424&r)===r&&10<(t=Dl+500-Je())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){Kl(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=$r(yu.bind(null,e,jl,Ul),t);break}yu(e,jl,Ul);break;case 4:if(iu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);o=1<<s,(s=t[s])>i&&(i=s),r&=~o}if(r=i,10<(r=(120>(r=Je()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wl(r/1960))-r)){e.timeoutHandle=$r(yu.bind(null,e,jl,Ul),r);break}yu(e,jl,Ul);break;default:throw Error(a(329))}}}return eu(e,Je()),e.callbackNode===n?tu.bind(null,e):null}function nu(e,t){var n=Il;return e.current.memoizedState.isDehydrated&&(uu(e,t).flags|=256),2!==(e=hu(e,t))&&(t=jl,jl=n,null!==t&&ru(t)),e}function ru(e){null===jl?jl=e:jl.push.apply(jl,e)}function iu(e,t){for(t&=~Nl,t&=~Zl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function au(e){if(0!==(6&Ml))throw Error(a(327));bu();var t=dt(e,0);if(0===(1&t))return eu(e,Je()),null;var n=hu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=nu(e,r))}if(1===n)throw n=Ol,uu(e,0),iu(e,t),eu(e,Je()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,yu(e,jl,Ul),eu(e,Je()),null}function ou(e,t){var n=Ml;Ml|=1;try{return e(t)}finally{0===(Ml=n)&&(zl=Je()+500,Ni&&Di())}}function su(e){null!==Wl&&0===Wl.tag&&0===(6&Ml)&&bu();var t=Ml;Ml|=1;var n=kl.transition,r=yt;try{if(kl.transition=null,yt=1,e)return e()}finally{yt=r,kl.transition=n,0===(6&(Ml=t))&&Di()}}function lu(){Al=Pl.current,wi(Pl)}function uu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ei(n)),null!==Tl)for(n=Tl.return;null!==n;){var r=n;switch(Ki(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ai();break;case 3:eo(),wi(Mi),wi(ki),oo();break;case 5:no(r);break;case 4:eo();break;case 13:case 19:wi(ro);break;case 10:ya(r.type._context);break;case 22:case 23:lu()}n=n.return}if(El=e,Tl=e=Pu(e.current,null),Cl=Al=t,Rl=0,Ol=null,Nl=Zl=Ll=0,jl=Il=null,null!==Sa){for(t=0;t<Sa.length;t++)if(null!==(r=(n=Sa[t]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var o=a.next;a.next=i,r.next=o}n.pending=r}Sa=null}return e}function cu(e,t){for(;;){var n=Tl;try{if(ga(),so.current=ns,po){for(var r=co.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}po=!1}if(uo=0,ho=fo=co=null,vo=!1,mo=0,_l.current=null,null===n||null===n.return){Rl=1,Ol=t,Tl=null;break}e:{var o=e,s=n.return,l=n,u=t;if(t=Cl,l.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=l,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=hs(s);if(null!==p){p.flags&=-257,ps(p,s,l,0,t),1&p.mode&&fs(o,c,t),u=c;var v=(t=p).updateQueue;if(null===v){var m=new Set;m.add(u),t.updateQueue=m}else v.add(u);break e}if(0===(1&t)){fs(o,c,t),fu();break e}u=Error(a(426))}else if(ea&&1&l.mode){var g=hs(s);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),ps(g,s,l,0,t),ca(os(u,l));break e}}o=u=os(u,l),4!==Rl&&(Rl=2),null===Il?Il=[o]:Il.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Oa(o,cs(0,u,t));break e;case 1:l=u;var y=o.type,b=o.stateNode;if(0===(128&o.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Vl||!Vl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t,Oa(o,ds(o,l,t));break e}}o=o.return}while(null!==o)}gu(n)}catch(x){t=x,Tl===n&&null!==n&&(Tl=n=n.return);continue}break}}function du(){var e=Sl.current;return Sl.current=ns,null===e?ns:e}function fu(){0!==Rl&&3!==Rl&&2!==Rl||(Rl=4),null===El||0===(268435455&Ll)&&0===(268435455&Zl)||iu(El,Cl)}function hu(e,t){var n=Ml;Ml|=2;var r=du();for(El===e&&Cl===t||(Ul=null,uu(e,t));;)try{pu();break}catch(i){cu(e,i)}if(ga(),Ml=n,Sl.current=r,null!==Tl)throw Error(a(261));return El=null,Cl=0,Rl}function pu(){for(;null!==Tl;)mu(Tl)}function vu(){for(;null!==Tl&&!Xe();)mu(Tl)}function mu(e){var t=xl(e.alternate,e,Al);e.memoizedProps=e.pendingProps,null===t?gu(e):Tl=t,_l.current=null}function gu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Hs(n,t,Al)))return void(Tl=n)}else{if(null!==(n=Ws(n,t)))return n.flags&=32767,void(Tl=n);if(null===e)return Rl=6,void(Tl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Tl=t);Tl=t=e}while(null!==t);0===Rl&&(Rl=5)}function yu(e,t,n){var r=yt,i=kl.transition;try{kl.transition=null,yt=1,function(e,t,n,r){do{bu()}while(null!==Wl);if(0!==(6&Ml))throw Error(a(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}(e,o),e===El&&(Tl=El=null,Cl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Hl||(Hl=!0,Eu(et,(function(){return bu(),null}))),o=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||o){o=kl.transition,kl.transition=null;var s=yt;yt=1;var l=Ml;Ml|=4,_l.current=null,function(e,t){if(Jr=Vt,ur(e=lr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(w){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==i&&3!==f.nodeType||(l=s+i),f!==o||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===i&&(l=s),h===o&&++d===r&&(u=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Kr={focusedElem:e,selectionRange:n},Vt=!1,Ys=t;null!==Ys;)if(e=(t=Ys).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Ys=e;else for(;null!==Ys;){t=Ys;try{var v=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,g=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:fa(t.type,m),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(a(163))}}catch(w){wu(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Ys=e;break}Ys=t.return}v=Qs,Qs=!1}(e,n),hl(n,e),cr(Kr),Vt=!!Jr,Kr=Jr=null,e.current=n,vl(n,e,i),Ye(),Ml=l,yt=s,kl.transition=o}else e.current=n;if(Hl&&(Hl=!1,Wl=e,Gl=i),o=e.pendingLanes,0===o&&(Vl=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(rt,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),eu(e,Je()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Fl)throw Fl=!1,e=Bl,Bl=null,e;0!==(1&Gl)&&0!==e.tag&&bu(),o=e.pendingLanes,0!==(1&o)?e===Xl?ql++:(ql=0,Xl=e):ql=0,Di()}(e,t,n,r)}finally{kl.transition=i,yt=r}return null}function bu(){if(null!==Wl){var e=bt(Gl),t=kl.transition,n=yt;try{if(kl.transition=null,yt=16>e?16:e,null===Wl)var r=!1;else{if(e=Wl,Wl=null,Gl=0,0!==(6&Ml))throw Error(a(331));var i=Ml;for(Ml|=4,Ys=e.current;null!==Ys;){var o=Ys,s=o.child;if(0!==(16&Ys.flags)){var l=o.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Ys=c;null!==Ys;){var d=Ys;switch(d.tag){case 0:case 11:case 15:$s(8,d,o)}var f=d.child;if(null!==f)f.return=d,Ys=f;else for(;null!==Ys;){var h=(d=Ys).sibling,p=d.return;if(nl(d),d===c){Ys=null;break}if(null!==h){h.return=p,Ys=h;break}Ys=p}}}var v=o.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}Ys=o}}if(0!==(2064&o.subtreeFlags)&&null!==s)s.return=o,Ys=s;else e:for(;null!==Ys;){if(0!==(2048&(o=Ys).flags))switch(o.tag){case 0:case 11:case 15:$s(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,Ys=y;break e}Ys=o.return}}var b=e.current;for(Ys=b;null!==Ys;){var x=(s=Ys).child;if(0!==(2064&s.subtreeFlags)&&null!==x)x.return=s,Ys=x;else e:for(s=b;null!==Ys;){if(0!==(2048&(l=Ys).flags))try{switch(l.tag){case 0:case 11:case 15:el(9,l)}}catch(S){wu(l,l.return,S)}if(l===s){Ys=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Ys=w;break e}Ys=l.return}}if(Ml=i,Di(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(rt,e)}catch(S){}r=!0}return r}finally{yt=n,kl.transition=t}}return!1}function xu(e,t,n){e=Pa(e,t=cs(0,t=os(n,t),1),1),t=Kl(),null!==e&&(mt(e,1,t),eu(e,t))}function wu(e,t,n){if(3===e.tag)xu(e,e,n);else for(;null!==t;){if(3===t.tag){xu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Vl||!Vl.has(r))){t=Pa(t,e=ds(t,e=os(n,e),1),1),e=Kl(),null!==t&&(mt(t,1,e),eu(t,e));break}}t=t.return}}function Su(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Kl(),e.pingedLanes|=e.suspendedLanes&n,El===e&&(Cl&n)===n&&(4===Rl||3===Rl&&(130023424&Cl)===Cl&&500>Je()-Dl?uu(e,0):Nl|=n),eu(e,t)}function _u(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=Kl();null!==(e=Ma(e,t))&&(mt(e,t,n),eu(e,n))}function ku(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_u(e,n)}function Mu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),_u(e,n)}function Eu(e,t){return Ge(e,t)}function Tu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Cu(e,t,n,r){return new Tu(e,t,n,r)}function Au(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pu(e,t){var n=e.alternate;return null===n?((n=Cu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ru(e,t,n,r,i,o){var s=2;if(r=e,"function"===typeof e)Au(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case _:return Ou(n.children,i,o,t);case k:s=8,i|=8;break;case M:return(e=Cu(12,n,t,2|i)).elementType=M,e.lanes=o,e;case A:return(e=Cu(13,n,t,i)).elementType=A,e.lanes=o,e;case P:return(e=Cu(19,n,t,i)).elementType=P,e.lanes=o,e;case L:return Lu(n,i,o,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case T:s=9;break e;case C:s=11;break e;case R:s=14;break e;case O:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Cu(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Ou(e,t,n,r){return(e=Cu(7,e,r,t)).lanes=n,e}function Lu(e,t,n,r){return(e=Cu(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Zu(e,t,n){return(e=Cu(6,e,null,t)).lanes=n,e}function Nu(e,t,n){return(t=Cu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Iu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ju(e,t,n,r,i,a,o,s,l){return e=new Iu(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Cu(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ta(a),e}function Du(e){if(!e)return _i;e:{if(Fe(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ci(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Ci(n))return Ri(e,n,t)}return t}function zu(e,t,n,r,i,a,o,s,l){return(e=ju(n,r,!0,e,0,a,0,s,l)).context=Du(null),n=e.current,(a=Aa(r=Kl(),i=Ql(n))).callback=void 0!==t&&null!==t?t:null,Pa(n,a,i),e.current.lanes=i,mt(e,i,r),eu(e,r),e}function Uu(e,t,n,r){var i=t.current,a=Kl(),o=Ql(i);return n=Du(n),null===t.context?t.context=n:t.pendingContext=n,(t=Aa(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Pa(i,t,o))&&($l(e,i,o,a),Ra(e,i,o)),o}function Fu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Bu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Vu(e,t){Bu(e,t),(e=e.alternate)&&Bu(e,t)}xl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Mi.current)ms=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return ms=!1,function(e,t,n){switch(t.tag){case 3:Es(t),ua();break;case 5:to(t);break;case 1:Ci(t.type)&&Oi(t);break;case 4:$a(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Si(ha,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Si(ro,1&ro.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Zs(e,t,n):(Si(ro,1&ro.current),null!==(e=Fs(e,t,n))?e.sibling:null);Si(ro,1&ro.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return zs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Si(ro,ro.current),r)break;return null;case 22:case 23:return t.lanes=0,ws(e,t,n)}return Fs(e,t,n)}(e,t,n);ms=0!==(131072&e.flags)}else ms=!1,ea&&0!==(1048576&t.flags)&&Yi(t,Bi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Us(e,t),e=t.pendingProps;var i=Ti(t,ki.current);xa(t,n),i=xo(null,t,r,e,i,n);var o=wo();return t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ci(r)?(o=!0,Oi(t)):o=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Ta(t),i.updater=ja,t.stateNode=i,i._reactInternals=t,Fa(t,r,e,n),t=Ms(null,t,r,!0,o,n)):(t.tag=0,ea&&o&&Ji(t),gs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"===typeof e)return Au(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===C)return 11;if(e===R)return 14}return 2}(r),e=fa(r,e),i){case 0:t=_s(null,t,r,e,n);break e;case 1:t=ks(null,t,r,e,n);break e;case 11:t=ys(null,t,r,e,n);break e;case 14:t=bs(null,t,r,fa(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,_s(e,t,r,i=t.elementType===r?i:fa(r,i),n);case 1:return r=t.type,i=t.pendingProps,ks(e,t,r,i=t.elementType===r?i:fa(r,i),n);case 3:e:{if(Es(t),null===e)throw Error(a(387));r=t.pendingProps,i=(o=t.memoizedState).element,Ca(e,t),La(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Ts(e,t,r,n,i=os(Error(a(423)),t));break e}if(r!==i){t=Ts(e,t,r,n,i=os(Error(a(424)),t));break e}for($i=ai(t.stateNode.containerInfo.firstChild),Qi=t,ea=!0,ta=null,n=qa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ua(),r===i){t=Fs(e,t,n);break e}gs(e,t,r,n)}t=t.child}return t;case 5:return to(t),null===e&&aa(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,Qr(r,i)?s=null:null!==o&&Qr(r,o)&&(t.flags|=32),Ss(e,t),gs(e,t,s,n),t.child;case 6:return null===e&&aa(t),null;case 13:return Zs(e,t,n);case 4:return $a(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ga(t,null,r,n):gs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,ys(e,t,r,i=t.elementType===r?i:fa(r,i),n);case 7:return gs(e,t,t.pendingProps,n),t.child;case 8:case 12:return gs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Si(ha,r._currentValue),r._currentValue=s,null!==o)if(rr(o.value,s)){if(o.children===i.children&&!Mi.current){t=Fs(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){s=o.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===o.tag){(u=Aa(-1,n&-n)).tag=2;var c=o.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}o.lanes|=n,null!==(u=o.alternate)&&(u.lanes|=n),ba(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===o.tag)s=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(s=o.return))throw Error(a(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),ba(s,n,t),s=o.sibling}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===t){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}gs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,xa(t,n),r=r(i=wa(i)),t.flags|=1,gs(e,t,r,n),t.child;case 14:return i=fa(r=t.type,t.pendingProps),bs(e,t,r,i=fa(r.type,i),n);case 15:return xs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:fa(r,i),Us(e,t),t.tag=1,Ci(r)?(e=!0,Oi(t)):e=!1,xa(t,n),za(t,r,i),Fa(t,r,i,n),Ms(null,t,r,!0,e,n);case 19:return zs(e,t,n);case 22:return ws(e,t,n)}throw Error(a(156,t.tag))};var Hu="function"===typeof reportError?reportError:function(e){console.error(e)};function Wu(e){this._internalRoot=e}function Gu(e){this._internalRoot=e}function qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yu(){}function Ju(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if("function"===typeof i){var s=i;i=function(){var e=Fu(o);s.call(e)}}Uu(t,o,e,i)}else o=function(e,t,n,r,i){if(i){if("function"===typeof r){var a=r;r=function(){var e=Fu(o);a.call(e)}}var o=zu(t,r,e,0,null,!1,0,"",Yu);return e._reactRootContainer=o,e[ci]=o.current,Dr(8===e.nodeType?e.parentNode:e),su(),o}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof r){var s=r;r=function(){var e=Fu(l);s.call(e)}}var l=ju(e,0,!1,null,0,!1,0,"",Yu);return e._reactRootContainer=l,e[ci]=l.current,Dr(8===e.nodeType?e.parentNode:e),su((function(){Uu(t,l,n,r)})),l}(n,t,e,i,r);return Fu(o)}Gu.prototype.render=Wu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Uu(e,t,null,null)},Gu.prototype.unmount=Wu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;su((function(){Uu(null,e,null,null)})),t[ci]=null}},Gu.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ot.length&&0!==t&&t<Ot[n].priority;n++);Ot.splice(n,0,e),0===n&&It(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ct(t.pendingLanes);0!==n&&(gt(t,1|n),eu(t,Je()),0===(6&Ml)&&(zl=Je()+500,Di()))}break;case 13:su((function(){var t=Ma(e,1);if(null!==t){var n=Kl();$l(t,e,1,n)}})),Vu(e,1)}},wt=function(e){if(13===e.tag){var t=Ma(e,134217728);if(null!==t)$l(t,e,134217728,Kl());Vu(e,134217728)}},St=function(e){if(13===e.tag){var t=Ql(e),n=Ma(e,t);if(null!==n)$l(n,e,t,Kl());Vu(e,t)}},_t=function(){return yt},kt=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},we=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=gi(r);if(!i)throw Error(a(90));q(r),Q(r,i)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=ou,Ce=su;var Ku={usingClientEntryPoint:!1,Events:[vi,mi,gi,Me,Ee,ou]},Qu={findFiberByHostInstance:pi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},$u={bundleType:Qu.bundleType,version:Qu.version,rendererPackageName:Qu.rendererPackageName,rendererConfig:Qu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:Qu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ec=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ec.isDisabled&&ec.supportsFiber)try{rt=ec.inject($u),it=ec}catch(tc){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ku,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!qu(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!qu(e))throw Error(a(299));var n=!1,r="",i=Hu;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=ju(e,1,!1,null,0,n,0,r,i),e[ci]=t.current,Dr(8===e.nodeType?e.parentNode:e),new Wu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return su(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(a(200));return Ju(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!qu(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,i=!1,o="",s=Hu;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=zu(t,null,e,1,null!=n?n:null,i,0,o,s),e[ci]=t.current,Dr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Gu(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(a(200));return Ju(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(a(40));return!!e._reactRootContainer&&(su((function(){Ju(null,null,e,!1,(function(){e._reactRootContainer=null,e[ci]=null}))})),!0)},t.unstable_batchedUpdates=ou,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return Ju(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},1250:function(e,t,n){"use strict";var r=n(4164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},4164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4463)},77:function(e){var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,i="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,o){if(e===o)return!0;
2if(e&&o&&"object"==typeof e&&"object"==typeof o){if(e.constructor!==o.constructor)return!1;var s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=o.length)return!1;for(l=s;0!==l--;)if(!a(e[l],o[l]))return!1;return!0}if(n&&e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!o.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!a(l.value[1],o.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(o)){if((s=e.length)!=o.length)return!1;for(l=s;0!==l--;)if(e[l]!==o[l])return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof o.valueOf)return e.valueOf()===o.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof o.toString)return e.toString()===o.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(o).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(o,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!a(e[u[l]],o[u[l]]))return!1;return!0}return e!==e&&o!==o}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},4038:function(e,t,n){var r=n(861).default,i=n(8416).default,a=n(7424).default;var o=n(2791);function s(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var l=s(o);!function(e){if(e&&"undefined"!==typeof window){var t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}}('.marquee-container {\n  overflow-x: hidden !important;\n  display: flex !important;\n  flex-direction: row !important;\n  position: relative;\n  width: var(--width);\n  transform: var(--transform);\n}\n.marquee-container:hover div {\n  animation-play-state: var(--pause-on-hover);\n}\n.marquee-container:active div {\n  animation-play-state: var(--pause-on-click);\n}\n\n.overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.overlay::before, .overlay::after {\n  background: linear-gradient(to right, var(--gradient-color));\n  content: "";\n  height: 100%;\n  position: absolute;\n  width: var(--gradient-width);\n  z-index: 2;\n}\n.overlay::after {\n  right: 0;\n  top: 0;\n  transform: rotateZ(180deg);\n}\n.overlay::before {\n  left: 0;\n  top: 0;\n}\n\n.marquee {\n  flex: 0 0 auto;\n  min-width: var(--min-width);\n  z-index: 1;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n  animation-play-state: var(--play);\n  animation-delay: var(--delay);\n  animation-direction: var(--direction);\n}\n@keyframes scroll {\n  0% {\n    transform: translateX(0%);\n  }\n  100% {\n    transform: translateX(-100%);\n  }\n}\n\n.initial-child-container {\n  flex: 0 0 auto;\n  display: flex;\n  min-width: auto;\n  flex-direction: row;\n}\n\n.child {\n  transform: var(--transform);\n}');var u=o.forwardRef((function(e,t){var n=e.style,s=void 0===n?{}:n,u=e.className,c=void 0===u?"":u,d=e.autoFill,f=void 0!==d&&d,h=e.play,p=void 0===h||h,v=e.pauseOnHover,m=void 0!==v&&v,g=e.pauseOnClick,y=void 0!==g&&g,b=e.direction,x=void 0===b?"left":b,w=e.speed,S=void 0===w?50:w,_=e.delay,k=void 0===_?0:_,M=e.loop,E=void 0===M?0:M,T=e.gradient,C=void 0!==T&&T,A=e.gradientColor,P=void 0===A?[255,255,255]:A,R=e.gradientWidth,O=void 0===R?200:R,L=e.onFinish,Z=e.onCycleComplete,N=e.onMount,I=e.children,j=o.useState(0),D=a(j,2),z=D[0],U=D[1],F=o.useState(0),B=a(F,2),V=B[0],H=B[1],W=o.useState(1),G=a(W,2),q=G[0],X=G[1],Y=o.useState(!1),J=a(Y,2),K=J[0],Q=J[1],$=o.useRef(null),ee=t||$,te=o.useRef(null),ne=o.useCallback((function(){if(te.current&&ee.current){var e=ee.current.getBoundingClientRect(),t=te.current.getBoundingClientRect(),n=e.width,r=t.width;"up"!==x&&"down"!==x||(n=e.height,r=t.height),X(f&&n&&r&&r<n?Math.ceil(n/r):1),U(n),H(r)}}),[f,ee,x]);o.useEffect((function(){if(K&&(ne(),te.current&&ee.current)){var e=new ResizeObserver((function(){return ne()}));return e.observe(ee.current),e.observe(te.current),function(){e&&e.disconnect()}}}),[ne,ee,K]),o.useEffect((function(){ne()}),[ne,I]),o.useEffect((function(){Q(!0)}),[]),o.useEffect((function(){"function"===typeof N&&N()}),[]);var re=o.useMemo((function(){return f?V*q/S:V<z?z/S:V/S}),[f,z,V,q,S]),ie="rgba(".concat(P[0],", ").concat(P[1],", ").concat(P[2]),ae=o.useMemo((function(){var e;return Object.assign(Object.assign({},s),(i(e={},"--pause-on-hover",!p||m?"paused":"running"),i(e,"--pause-on-click",!p||m&&!y||y?"paused":"running"),i(e,"--width","up"===x||"down"===x?"100vh":"100%"),i(e,"--transform","up"===x?"rotate(-90deg)":"down"===x?"rotate(90deg)":"none"),e))}),[s,p,m,y,x]),oe=o.useMemo((function(){var e;return i(e={},"--gradient-color","".concat(ie,", 1), ").concat(ie,", 0)")),i(e,"--gradient-width","number"===typeof O?"".concat(O,"px"):O),e}),[ie,O]),se=o.useMemo((function(){var e;return i(e={},"--play",p?"running":"paused"),i(e,"--direction","left"===x?"normal":"reverse"),i(e,"--duration","".concat(re,"s")),i(e,"--delay","".concat(k,"s")),i(e,"--iteration-count",E?"".concat(E):"infinite"),i(e,"--min-width",f?"auto":"100%"),e}),[p,x,re,k,E,f]),le=o.useMemo((function(){return i({},"--transform","up"===x?"rotate(90deg)":"down"===x?"rotate(-90deg)":"none")}),[x]),ue=o.useCallback((function(e){return r(Array(Number.isFinite(e)&&e>=0?e:0)).map((function(e,t){return l.default.createElement(o.Fragment,{key:t},o.Children.map(I,(function(e){return l.default.createElement("div",{style:le,className:"child"},e)})))}))}),[le,I]);return K?l.default.createElement("div",{ref:ee,style:ae,className:"marquee-container "+c},C&&l.default.createElement("div",{style:oe,className:"overlay"}),l.default.createElement("div",{className:"marquee",style:se,onAnimationIteration:Z,onAnimationEnd:L},l.default.createElement("div",{className:"initial-child-container",ref:te},o.Children.map(I,(function(e){return l.default.createElement("div",{style:le,className:"child"},e)}))),ue(q-1)),l.default.createElement("div",{className:"marquee",style:se},ue(q))):null}));t.Z=u},1372:function(e,t){"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case a:case s:case o:case f:case h:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case v:case p:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference")},7441:function(e,t,n){"use strict";n(1372)},9403:function(e,t,n){var r=n(2791),i=n(1673);var a=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(r),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},s={x:0,y:0},l={x:new i.SpringValue(0),y:new i.SpringValue(0)},u=r.createContext(l),c=function(){return r.useContext(u)};t.JV=function(e){var t=e.factorX,n=void 0===t?1:t,s=e.factorY,l=void 0===s?1:s,u=e.inverted,d=void 0!==u&&u,f=e.className,h=e.style,p=e.children,v=c(),m=r.useCallback((function(e){return{x:e.x.to((function(e){return e*n*(d?-1:1)})),y:e.y.to((function(e){return e*l*(d?-1:1)}))}}),[n,l]),g=o(o({},m(v)),h);return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.animated.div,o({},{className:f},{style:g}),p))},t.W7=function(e){var t=e.globalFactorX,n=void 0===t?1:t,l=e.globalFactorY,c=void 0===l?1:l,d=e.resetOnLeave,f=e.useWindowMouseEvents,h=e.inverted,p=e.springConfig,v=e.enabled,m=void 0===v||v,g=e.containerStyle,y=e.className,b=e.children,x=i.useSpring((function(){return o(o({},s),p?{config:p}:{})})),w=x[0],S=x[1],_=function(){return S.start(s)},k=r.useState({current:null}),M=k[0],E=k[1],T=r.useCallback((function(e){null!==e&&E({current:e})}),[]),C=r.useCallback((function(e){var t=M.current?M.current.getBoundingClientRect():{left:0,top:0};return{x:e.clientX-t.left,y:e.clientY-t.top}}),[M]),A=r.useCallback((function(e){if(M.current){var t=M.current.clientHeight,r=M.current.clientWidth,i=C(e),a={x:(r/2-i.x)*n*(h?-1:1),y:(t/2-i.y)*c*(h?-1:1)};S.start(a)}}),[M,C,h]);r.useEffect((function(){return m&&f&&M.current&&(window.addEventListener("mousemove",A,!1),d&&window.addEventListener("mouseout",_,!1)),function(){m&&f&&M.current&&(window.removeEventListener("mousemove",A,!1),d&&window.removeEventListener("mouseout",_,!1))}}),[M,A,d,f,m]);var P={onMouseMove:m&&!f?A:void 0,onMouseLeave:m&&!f&&d?_:void 0};return a.default.createElement(u.Provider,{value:w},a.default.createElement("div",o({id:"mouse-parallax-container",ref:T,style:o({overflow:"hidden",position:"relative"},g)},{className:y},P),b))}},9475:function(e,t,n){"use strict";var r,i=n(2791),a=(r=i)&&"object"===typeof r&&"default"in r?r.default:r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");
2if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof n&&"function"!==typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!==typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,u=[];function c(){l=e(u.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return l},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,u=[],e};var o=i.prototype;return o.UNSAFE_componentWillMount=function(){u.push(this),c()},o.componentDidUpdate=function(){c()},o.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),c()},o.render=function(){return a.createElement(r,this.props)},i}(i.PureComponent);return o(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),o(d,"canUseDOM",s),d}}},1673:function(e,t,n){"use strict";n.r(t),n.d(t,{Any:function(){return Gt},BailSignal:function(){return Pn},Controller:function(){return Qn},FrameValue:function(){return Zn},Globals:function(){return U},Interpolation:function(){return Mr},Spring:function(){return Sr},SpringContext:function(){return sr},SpringRef:function(){return ur},SpringValue:function(){return Fn},Trail:function(){return _r},Transition:function(){return kr},a:function(){return Yr},animated:function(){return Yr},config:function(){return gn},createInterpolator:function(){return Ae},easings:function(){return Ie},inferTo:function(){return cn},interpolate:function(){return Pr},to:function(){return Ar},update:function(){return Rr},useChain:function(){return mn},useInView:function(){return wr},useIsomorphicLayoutEffect:function(){return _t},useReducedMotion:function(){return At},useResize:function(){return br},useScroll:function(){return yr},useSpring:function(){return dr},useSpringRef:function(){return hr},useSpringValue:function(){return pr},useSprings:function(){return cr},useTrail:function(){return vr},useTransition:function(){return mr}});var r=n(7326),i=n(4942),a=n(9439),o=n(3144),s=n(5671),l=n(136),u=n(9388),c=n(5987),d=n(3433);var f=n(2963),h=n(1752),p=n(1120),v=n(8737),m=n(4165),g=n(5861),y=n(1413),b=n(7762),x=I(),w=function(e){return O(e,x)},S=I();w.write=function(e){return O(e,S)};var _=I();w.onStart=function(e){return O(e,_)};var k=I();w.onFrame=function(e){return O(e,k)};var M=I();w.onFinish=function(e){return O(e,M)};var E=[];w.setTimeout=function(e,t){var n=w.now()+t,r={time:n,handler:e,cancel:function e(){var t=E.findIndex((function(t){return t.cancel==e}));~t&&E.splice(t,1),P-=~t?1:0}};return E.splice(T(n),0,r),P+=1,L(),r};var T=function(e){return~(~E.findIndex((function(t){return t.time>e}))||~E.length)};w.cancel=function(e){_.delete(e),k.delete(e),M.delete(e),x.delete(e),S.delete(e)},w.sync=function(e){R=!0,w.batchedUpdates(e),R=!1},w.throttle=function(e){var t;function n(){try{e.apply(void 0,(0,d.Z)(t))}finally{t=null}}function r(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];t=r,w.onStart(n)}return r.handler=e,r.cancel=function(){_.delete(n),t=null},r};var C=typeof window<"u"?window.requestAnimationFrame:function(){};w.use=function(e){return C=e},w.now=typeof performance<"u"?function(){return performance.now()}:Date.now,w.batchedUpdates=function(e){return e()},w.catch=console.error,w.frameLoop="always",w.advance=function(){"demand"!==w.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):N()};var A=-1,P=0,R=!1;function O(e,t){R?(t.delete(e),e(0)):(t.add(e),L())}function L(){A<0&&(A=0,"demand"!==w.frameLoop&&C(Z))}function Z(){~A&&(C(Z),w.batchedUpdates(N))}function N(){var e=A;A=w.now();var t=T(A);t&&(j(E.splice(0,t),(function(e){return e.handler()})),P-=t),P?(_.flush(),x.flush(e?Math.min(64,A-e):16.667),k.flush(),S.flush(),M.flush()):A=-1}function I(){var e=new Set,t=e;return{add:function(n){P+=t!=e||e.has(n)?0:1,e.add(n)},delete:function(n){return P-=t==e&&e.has(n)?1:0,e.delete(n)},flush:function(n){t.size&&(e=new Set,P-=t.size,j(t,(function(t){return t(n)&&e.add(t)})),P+=e.size,t=e)}}}function j(e,t){e.forEach((function(e){try{t(e)}catch(n){w.catch(n)}}))}var D=n(2791),z=Object.defineProperty,U={};function F(){}!function(e,t){for(var n in t)z(e,n,{get:t[n],enumerable:!0})}(U,{assign:function(){return te},colors:function(){return Q},createStringInterpolator:function(){return X},skipAnimation:function(){return $},to:function(){return Y},willAdvance:function(){return ee}});var B={arr:Array.isArray,obj:function(e){return!!e&&"Object"===e.constructor.name},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e}};function V(e,t){if(B.arr(e)){if(!B.arr(t)||e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var H=function(e,t){return e.forEach(t)};function W(e,t,n){if(B.arr(e))for(var r=0;r<e.length;r++)t.call(n,e[r],"".concat(r));else for(var i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i)}var G=function(e){return B.und(e)?[]:B.arr(e)?e:[e]};function q(e,t){if(e.size){var n=Array.from(e);e.clear(),H(n,t)}}var X,Y,J=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return q(e,(function(e){return e.apply(void 0,n)}))},K=function(){return typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)},Q=null,$=!1,ee=F,te=function(e){e.to&&(Y=e.to),e.now&&(w.now=e.now),void 0!==e.colors&&(Q=e.colors),null!=e.ski
vendor: 6,200 bytes, line 2
2pAnimation&&($=e.skipAnimation),e.createStringInterpolator&&(X=e.createStringInterpolator),e.requestAnimationFrame&&w.use(e.requestAnimationFrame),e.batchedUpdates&&(w.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ee=e.willAdvance),e.frameLoop&&(w.frameLoop=e.frameLoop)},ne=new Set,re=[],ie=[],ae=0,oe={get idle(){return!ne.size&&!re.length},start:function(e){ae>e.priority?(ne.add(e),w.onStart(se)):(le(e),w(ce))},advance:ce,sort:function(e){if(ae)w.onFrame((function(){return oe.sort(e)}));else{var t=re.indexOf(e);~t&&(re.splice(t,1),ue(e))}},clear:function(){re=[],ne.clear()}};function se(){ne.forEach(le),ne.clear(),w(ce)}function le(e){re.includes(e)||ue(e)}function ue(e){re.splice(function(e,t){var n=e.findIndex(t);return n<0?e.length:n}(re,(function(t){return t.priority>e.priority})),0,e)}function ce(e){for(var t=ie,n=0;n<re.length;n++){var r=re[n];ae=r.priority,r.idle||(ee(r),r.advance(e),r.idle||t.push(r))}return ae=0,(ie=re).length=0,(re=t).length>0}var de="[-+]?\\d*\\.?\\d+",fe=de+"%";function he(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var pe=new RegExp("rgb"+he(de,de,de)),ve=new RegExp("rgba"+he(de,de,de,de)),me=new RegExp("hsl"+he(de,fe,fe)),ge=new RegExp("hsla"+he(de,fe,fe,de)),ye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,be=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,xe=/^#([0-9a-fA-F]{6})$/,we=/^#([0-9a-fA-F]{8})$/;function Se(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function _e(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,a=Se(i,r,e+1/3),o=Se(i,r,e),s=Se(i,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*o)<<16|Math.round(255*s)<<8}function ke(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function Me(e){return(parseFloat(e)%360+360)%360/360}function Ee(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Te(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function Ce(e){var t=function(e){var t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=xe.exec(e))?parseInt(t[1]+"ff",16)>>>0:Q&&void 0!==Q[e]?Q[e]:(t=pe.exec(e))?(ke(t[1])<<24|ke(t[2])<<16|ke(t[3])<<8|255)>>>0:(t=ve.exec(e))?(ke(t[1])<<24|ke(t[2])<<16|ke(t[3])<<8|Ee(t[4]))>>>0:(t=ye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=we.exec(e))?parseInt(t[1],16)>>>0:(t=be.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=me.exec(e))?(255|_e(Me(t[1]),Te(t[2]),Te(t[3])))>>>0:(t=ge.exec(e))?(_e(Me(t[1]),Te(t[2]),Te(t[3]))|Ee(t[4]))>>>0:null}(e);if(null===t)return e;var n=(16711680&(t=t||0))>>>16,r=(65280&t)>>>8,i=(255&t)/255;return"rgba(".concat((4278190080&t)>>>24,", ").concat(n,", ").concat(r,", ").concat(i,")")}var Ae=function e(t,n,r){if(B.fun(t))return t;if(B.arr(t))return e({range:t,output:n,extrapolate:r});if(B.str(t.output[0]))return X(t);var i=t,a=i.output,o=i.range||[0,1],s=i.extrapolateLeft||i.extrapolate||"extend",l=i.extrapolateRight||i.extrapolate||"extend",u=i.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,a,o,s,l){var u=l?l(e):e;if(u<t){if("identity"===o)return u;"clamp"===o&&(u=t)}if(u>n){if("identity"===s)return u;"clamp"===s&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t),u=a(u),r===-1/0?u=-u:i===1/0?u+=r:u=u*(i-r)+r,u)}(e,o[t],o[t+1],a[t],a[t+1],u,s,l,i.map)}};var Pe=1.70158,Re=1.525*Pe,Oe=Pe+1,Le=2*Math.PI/3,Ze=2*Math.PI/4.5,Ne=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},Ie={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return 1-(1-e)*(1-e)},easeInOutQuad:function(e){return e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1-Math.pow(1-e,3)},easeInOutCubic:function(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1-Math.pow(1-e,4)},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1-Math.pow(1-e,5)},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2},easeInSine:function(e){return 1-Math.cos(e*Math.PI/2)},easeOutSine:function(e){return Math.sin(e*Math.PI/2)},easeInOutSine:function(e){return-(Math.cos(Math.PI*e)-1)/2},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*e-10)},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2},easeInCirc:function(e){return 1-Math.sqrt(1-Math.pow(e,2))},easeOutCirc:function(e){return Math.sqrt(1-Math.pow(e-1,2))},easeInOutCirc:function(e){return e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2},easeInBack:function(e){return Oe*e*e*e-Pe*e*e},easeOutBack:function(e){return 1+Oe*Math.pow(e-1,3)+Pe*Math.pow(e-1,2)},easeInOutBack:function(e){return e<.5?Math.pow(2*e,2)*(2*(Re+1)*e-Re)/2:(Math.pow(2*e-2,2)*((Re+1)*(2*e-2)+Re)+2)/2},easeInElastic:function(e){return 0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Le)},easeOutElastic:function(e){return 0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Le)+1},easeInOutElastic:function(e){return 0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Ze)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Ze)/2+1},easeInBounce:function(e){return 1-Ne(1-e)},easeOutBounce:Ne,easeInOutBounce:function(e){return e<.5?(1-Ne(1-2*e))/2:(1+Ne(2*e-1))/2},steps:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"end";return function(n){var r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return function(e,t,n){return Math.min(Math.max(n,e),t)}(0,1,("end"===t?Math.floor(r):Math.ceil(r))/e)}}},je=Symbol.for("FluidValue.get"),De=Symbol.for("FluidValue.observers"),ze=function(e){return!(!e||!e[je])},Ue=function(e){return e&&e[je]?e[je]():e},Fe=function(e){return e[De]||null};function Be(e,t){var n=e[De];
2n&&n.forEach((function(e){!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var Ve=(0,o.Z)((function e(t){if((0,s.Z)(this,e),(0,i.Z)(this,je,void 0),(0,i.Z)(this,De,void 0),!t&&!(t=this.get))throw Error("Unknown getter");He(this,t)})),He=function(e,t){return Xe(e,je,t)};function We(e,t){if(e[je]){var n=e[De];n||Xe(e,De,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Ge(e,t){var n=e[De];if(n&&n.has(t)){var r=n.size-1;r?n.delete(t):e[De]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var qe,Xe=function(e,t,n){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})},Ye=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Je=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ke=new RegExp("(".concat(Ye.source,")(%|[a-z]+)"),"i"),Qe=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,$e=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,et=function e(t){var n=tt(t),r=(0,a.Z)(n,2),i=r[0],o=r[1];if(!i||K())return t;var s=window.getComputedStyle(document.documentElement).getPropertyValue(i);return s?s.trim():o&&o.startsWith("--")?window.getComputedStyle(document.documentElement).getPropertyValue(o)||t:o&&$e.test(o)?e(o):o||t},tt=function(e){var t=$e.exec(e);if(!t)return[,];var n=(0,a.Z)(t,3);return[n[1],n[2]]},nt=function(e,t,n,r,i){return"rgba(".concat(Math.round(t),", ").concat(Math.round(n),", ").concat(Math.round(r),", ").concat(i,")")},rt=function(e){qe||(qe=Q?new RegExp("(".concat(Object.keys(Q).join("|"),")(?!\\w)"),"g"):/^\b$/);var t=e.output.map((function(e){return Ue(e).replace($e,et).replace(Je,Ce).replace(qe,Ce)})),n=t.map((function(e){return e.match(Ye).map(Number)})),r=n[0].map((function(e,t){return n.map((function(e){if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]}))})).map((function(t){return Ae((0,y.Z)((0,y.Z)({},e),{},{output:t}))}));return function(e){var n,i=!Ke.test(t[0])&&(null===(n=t.find((function(e){return Ke.test(e)})))||void 0===n?void 0:n.replace(Ye,"")),a=0;return t[0].replace(Ye,(function(){return"".concat(r[a++](e)).concat(i||"")})).replace(Qe,nt)}},it="react-spring: ",at=function(e){var t=e,n=!1;if("function"!=typeof t)throw new TypeError("".concat(it,"once requires a function parameter"));return function(){n||(t.apply(void 0,arguments),n=!0)}},ot=at(console.warn);function st(){ot("".concat(it,'The "interpolate" function is deprecated in v9 (use "to" instead)'))}var lt=at(console.warn);function ut(e){return B.str(e)&&("#"==e[0]||/\d/.test(e)||!K()&&$e.test(e)||e in(Q||{}))}var ct,dt=new WeakMap,ft=function(e){return e.forEach((function(e){var t,n=e.target,r=e.contentRect;return null===(t=dt.get(n))||void 0===t?void 0:t.forEach((function(e){return e(r)}))}))};var ht,pt=new Set,vt=function(e){return pt.add(e),ht||(ht=function(){var e=function(){pt.forEach((function(e){return e({width:window.innerWidth,height:window.innerHeight})}))};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}()),function(){pt.delete(e),!pt.size&&ht&&(ht(),ht=void 0)}},mt=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).container,n=void 0===t?document.documentElement:t;return n===document.documentElement?vt(e):function(e,t){ct||typeof ResizeObserver<"u"&&(ct=new ResizeObserver(ft));var n=dt.get(t);return n||(n=new Set,dt.set(t,n)),n.add(e),ct&&ct.observe(t),function(){var n=dt.get(t);n&&(n.delete(e),!n.size&&ct&&ct.unobserve(t))}}(e,n)},gt={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}},yt=(0,o.Z)((function e(t,n){var r=this;(0,s.Z)(this,e),(0,i.Z)(this,"callback",void 0),(0,i.Z)(this,"container",void 0),(0,i.Z)(this,"info",void 0),(0,i.Z)(this,"createAxis",(function(){return{current:0,progress:0,scrollLength:0}})),(0,i.Z)(this,"updateAxis",(function(e){var t=r.info[e],n=gt[e],i=n.length,a=n.position;t.current=r.container["scroll".concat(a)],t.scrollLength=r.container["scroll"+i]-r.container["client"+i],t.progress=function(e,t,n){return t-e===0?1:(n-e)/(t-e)}(0,t.scrollLength,t.current)})),(0,i.Z)(this,"update",(function(){r.updateAxis("x"),r.updateAxis("y")})),(0,i.Z)(this,"sendEvent",(function(){r.callback(r.info)}
2)),(0,i.Z)(this,"advance",(function(){r.update(),r.sendEvent()})),this.callback=t,this.container=n,this.info={time:0,x:this.createAxis(),y:this.createAxis()}})),bt=new WeakMap,xt=new WeakMap,wt=new WeakMap,St=function(e){return e===document.documentElement?window:e};var _t=K()?D.useEffect:D.useLayoutEffect,kt=function(){var e=(0,D.useRef)(!1);return _t((function(){return e.current=!0,function(){e.current=!1}}),[]),e};function Mt(){var e=(0,D.useState)()[1],t=kt();return function(){t.current&&e(Math.random())}}var Et=function(e){return(0,D.useEffect)(e,Tt)},Tt=[];function Ct(e){var t=(0,D.useRef)();return(0,D.useEffect)((function(){t.current=e})),t.current}var At=function(){var e=(0,D.useState)(null),t=(0,a.Z)(e,2),n=t[0],r=t[1];return _t((function(){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(e){r(e.matches),te({skipAnimation:e.matches})};return t(e),e.addEventListener("change",t),function(){e.removeEventListener("change",t)}}),[]),n},Pt=Symbol.for("Animated:node"),Rt=function(e){return e&&e[Pt]},Ot=function(e,t){return function(e,t,n){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}(e,Pt,t)},Lt=function(e){return e&&e[Pt]&&e[Pt].getPayload()},Zt=function(){function e(){(0,s.Z)(this,e),(0,i.Z)(this,"payload",void 0),Ot(this,this)}return(0,o.Z)(e,[{key:"getPayload",value:function(){return this.payload||[]}}]),e}(),Nt=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e){var a;return(0,s.Z)(this,n),a=t.call(this),(0,i.Z)((0,r.Z)(a),"done",!0),(0,i.Z)((0,r.Z)(a),"elapsedTime",void 0),(0,i.Z)((0,r.Z)(a),"lastPosition",void 0),(0,i.Z)((0,r.Z)(a),"lastVelocity",void 0),(0,i.Z)((0,r.Z)(a),"v0",void 0),(0,i.Z)((0,r.Z)(a),"durationProgress",0),a._value=e,B.num(a._value)&&(a.lastPosition=a._value),a}return(0,o.Z)(n,[{key:"getPayload",value:function(){return[this]}},{key:"getValue",value:function(){return this._value}},{key:"setValue",value:function(e,t){return B.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}},{key:"reset",value:function(){var e=this.done;this.done=!1,B.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}],[{key:"create",value:function(e){return new n(e)}}]),n}(Zt),It=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e){var a;return(0,s.Z)(this,n),a=t.call(this,0),(0,i.Z)((0,r.Z)(a),"_string",null),(0,i.Z)((0,r.Z)(a),"_toString",void 0),a._toString=Ae({output:[e,e]}),a}return(0,o.Z)(n,[{key:"getValue",value:function(){var e=this._string;return null!==e&&void 0!==e?e:this._string=this._toString(this._value)}},{key:"setValue",value:function(e){if(B.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!(0,h.Z)((0,p.Z)(n.prototype),"setValue",this).call(this,e))return!1;this._string=null}return!0}},{key:"reset",value:function(e){e&&(this._toString=Ae({output:[this.getValue(),e]})),this._value=0,(0,h.Z)((0,p.Z)(n.prototype),"reset",this).call(this)}}],[{key:"create",value:function(e){return new n(e)}}]),n}(Nt),jt={dependencies:null},Dt=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;return(0,s.Z)(this,n),(r=t.call(this)).source=e,r.setValue(e),r}return(0,o.Z)(n,[{key:"getValue",value:function(e){var t={};return W(this.source,(function(n,r){!function(e){return!!e&&e[Pt]===e}(n)?ze(n)?t[r]=Ue(n):e||(t[r]=n):t[r]=n.getValue(e)})),t}},{key:"setValue",value:function(e){this.source=e,this.payload=this._makePayload(e)}},{key:"reset",value:function(){this.payload&&H(this.payload,(function(e){return e.reset()}))}},{key:"_makePayload",value:function(e){if(e){var t=new Set;return W(e,this._addToPayload,t),Array.from(t)}}},{key:"_addToPayload",value:function(e){var t=this;jt.dependencies&&ze(e)&&jt.dependencies.add(e);var n=Lt(e);n&&H(n,(function(e){return t.add(e)}))}}]),n}(Zt),zt=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e){return(0,s.Z)(this,n),t.call(this,e)}return(0,o.Z)(n,[{key:"getValue",value:function(){return this.source.map((function(e){return e.getValue()}))}},{key:"setValue",value:function(e){var t=this.getPayload();return e.length==t.length?t.map((function(t,n){return t.setValue(e[
2n])})).some(Boolean):((0,h.Z)((0,p.Z)(n.prototype),"setValue",this).call(this,e.map(Ut)),!0)}}],[{key:"create",value:function(e){return new n(e)}}]),n}(Dt);function Ut(e){return(ut(e)?It:Nt).create(e)}function Ft(e){var t=Rt(e);return t?t.constructor:B.arr(e)?zt:ut(e)?It:Nt}var Bt=function(e,t){var n=!B.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,D.forwardRef)((function(r,i){var o=(0,D.useRef)(null),s=n&&(0,D.useCallback)((function(e){o.current=function(e,t){return e&&(B.fun(e)?e(t):e.current=t),t}(i,e)}),[i]),l=function(e,t){var n=new Set;return jt.dependencies=n,e.style&&(e=(0,y.Z)((0,y.Z)({},e),{},{style:t.createAnimatedStyle(e.style)})),e=new Dt(e),jt.dependencies=null,[e,n]}(r,t),u=(0,a.Z)(l,2),c=u[0],d=u[1],f=Mt(),h=function(){var e=o.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,c.getValue(!0)))&&f()},p=new Vt(h,d),v=(0,D.useRef)();_t((function(){return v.current=p,H(d,(function(e){return We(e,p)})),function(){v.current&&(H(v.current.deps,(function(e){return Ge(e,v.current)})),w.cancel(v.current.update))}})),(0,D.useEffect)(h,[]),Et((function(){return function(){var e=v.current;H(e.deps,(function(t){return Ge(t,e)}))}}));var m=t.getComponentProps(c.getValue());return D.createElement(e,(0,y.Z)((0,y.Z)({},m),{},{ref:s}))}))},Vt=function(){function e(t,n){(0,s.Z)(this,e),this.update=t,this.deps=n}return(0,o.Z)(e,[{key:"eventObserved",value:function(e){"change"==e.type&&w.write(this.update)}}]),e}();var Ht=Symbol.for("AnimatedComponent"),Wt=function(e){return B.str(e)?e:e&&B.str(e.displayName)?e.displayName:B.fun(e)&&e.name||null},Gt=(0,o.Z)((function e(){(0,s.Z)(this,e),(0,i.Z)(this,"_",void 0)})),qt=["children"],Xt=["container"],Yt=["container"],Jt=["to","from"],Kt=["root","once","amount"],Qt=["children"],$t=["items","children"],en=["items","children"];function tn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return B.fun(e)?e.apply(void 0,n):e}var nn=function(e,t){return!0===e||!!(t&&e&&(B.fun(e)?e(t):G(e).includes(t)))},rn=function(e,t){return B.obj(e)?t&&e[t]:e},an=function(e,t){return!0===e.default?e[t]:e.default?e.default[t]:void 0},on=function(e){return e},sn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:on,n=ln;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));var r,i={},a=(0,b.Z)(n);try{for(a.s();!(r=a.n()).done;){var o=r.value,s=t(e[o],o);B.und(s)||(i[o]=s)}}catch(l){a.e(l)}finally{a.f()}return i},ln=["config","onProps","onStart","onChange","onPause","onResume","onRest"],un={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function cn(e){var t=function(e){var t={},n=0;if(W(e,(function(e,r){un[r]||(t[r]=e,n++)})),n)return t}(e);if(t){var n={to:t};return W(e,(function(e,r){return r in t||(n[r]=e)})),n}return(0,y.Z)({},e)}function dn(e){return e=Ue(e),B.arr(e)?e.map(dn):ut(e)?U.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function fn(e){for(var t in e)return!0;return!1}function hn(e){return B.fun(e)||B.arr(e)&&B.obj(e[0])}function pn(e,t){var n;null!==(n=e.ref)&&void 0!==n&&n.delete(e),null===t||void 0===t||t.delete(e)}function vn(e,t){var n;t&&e.ref!==t&&(null!==(n=e.ref)&&void 0!==n&&n.delete(e),t.add(e),e.ref=t)}function mn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;_t((function(){if(t){var r=0;H(e,(function(e,i){var a=e.current;if(a.length){var o=n*t[i];isNaN(o)?o=r:r=o,H(a,(function(e){H(e.queue,(function(e){var t=e.delay;e.delay=function(e){return o+tn(t||0,e)}}))})),e.start()}}))}else{var i=Promise.resolve();H(e,(function(e){var t=e.current;if(t.length){var n=t.map((function(e){var t=e.queue;return e.queue=[],t}));i=i.then((function(){return H(t,(function(e,t){return H(n[t]||[],(function(t){return e.queue.push(t)}))})),Promise.all(e.start())}))}}))}}))}var gn={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},yn=(0,y.Z)((0,y.Z)({},gn.default),{},{mass:1,damping:1,easing:Ie.linear,clamp:!1}),bn=(0,o.Z)((function e(){(0,s.Z)(this,e),(0,i.Z)(this,"tension",void 0),(0,i.Z)(this,"friction",void 0),(0,i.Z)(this,"frequency",void 0),(0,i.Z)(this,"damping",void 0),(0,i.Z)(this,"mass",void 0),(0,i.Z)(this,"velocity",0),(0,i.Z)(this,"restVelocity",void 0),(0,i.Z)(this,"precision",void 0),(0,i.Z)(this,"progress",void 0),(0,i.Z)(this,"duration",void 0),(0,i.Z)(this,"easing",void 0),(0,i.Z)(this,"clamp",void 0),(0,i.Z)(this,"bounce",void 0),(0,i.Z)(this,"decay",void 0),(0,i.Z)(this,"round",void 0),Object.assign(this,yn)}));function xn(e,t){if(B.und(t.decay)){var n=!B.und(t.tension)||!B.und(t.friction);
2(n||!B.und(t.frequency)||!B.und(t.damping)||!B.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var wn=[],Sn=(0,o.Z)((function e(){(0,s.Z)(this,e),(0,i.Z)(this,"changed",!1),(0,i.Z)(this,"values",wn),(0,i.Z)(this,"toValues",null),(0,i.Z)(this,"fromValues",wn),(0,i.Z)(this,"to",void 0),(0,i.Z)(this,"from",void 0),(0,i.Z)(this,"config",new bn),(0,i.Z)(this,"immediate",!1)}));function _n(e,t){var n=t.key,r=t.props,i=t.defaultProps,a=t.state,o=t.actions;return new Promise((function(t,s){var l,u,c,d=nn(null!==(l=r.cancel)&&void 0!==l?l:null===i||void 0===i?void 0:i.cancel,n);if(d)v();else{B.und(r.pause)||(a.paused=nn(r.pause,n));var f=null===i||void 0===i?void 0:i.pause;!0!==f&&(f=a.paused||nn(f,n)),u=tn(r.delay||0,n),f?(a.resumeQueue.add(p),o.pause()):(o.resume(),p())}function h(){a.resumeQueue.add(p),a.timeouts.delete(c),c.cancel(),u=c.time-w.now()}function p(){u>0&&!U.skipAnimation?(a.delayed=!0,c=w.setTimeout(v,u),a.pauseQueue.add(h),a.timeouts.add(c)):v()}function v(){a.delayed&&(a.delayed=!1),a.pauseQueue.delete(h),a.timeouts.delete(c),e<=(a.cancelId||0)&&(d=!0);try{o.start((0,y.Z)((0,y.Z)({},r),{},{callId:e,cancel:d}),t)}catch(f){s(f)}}}))}var kn=function(e,t){return 1==t.length?t[0]:t.some((function(e){return e.cancelled}))?Tn(e.get()):t.every((function(e){return e.noop}))?Mn(e.get()):En(e.get(),t.every((function(e){return e.finished})))},Mn=function(e){return{value:e,noop:!0,finished:!0,cancelled:!1}},En=function(e,t){return{value:e,finished:t,cancelled:arguments.length>2&&void 0!==arguments[2]&&arguments[2]}},Tn=function(e){return{value:e,cancelled:!0,finished:!1}};function Cn(e,t,n,r){var i=t.callId,a=t.parentId,o=t.onRest,s=n.asyncTo,l=n.promise;return a||e!==s||t.reset?n.promise=(0,g.Z)((0,m.Z)().mark((function u(){var c,d,f,h,p,v,x,S;return(0,m.Z)().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(n.asyncId=i,n.asyncTo=e,c=sn(t,(function(e,t){return"onRest"===t?void 0:e})),h=new Promise((function(e,t){return d=e,f=t})),p=function(e){var t=i<=(n.cancelId||0)&&Tn(r)||i!==n.asyncId&&En(r,!1);if(t)throw e.result=t,f(e),e},v=function(e,t){var a=new Pn,o=new Rn;return(0,g.Z)((0,m.Z)().mark((function s(){var l,u;return(0,m.Z)().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(!U.skipAnimation){s.next=2;break}throw An(n),o.result=En(r,!1),f(o),o;case 2:return p(a),(l=B.obj(e)?(0,y.Z)({},e):(0,y.Z)((0,y.Z)({},t),{},{to:e})).parentId=i,W(c,(function(e,t){B.und(l[t])&&(l[t]=e)})),s.next=7,r.start(l);case 7:if(u=s.sent,p(a),s.t0=n.paused,!s.t0){s.next=13;break}return s.next=13,new Promise((function(e){n.resumeQueue.add(e)}));case 13:return s.abrupt("return",u);case 14:case"end":return s.stop()}}),s)})))()},!U.skipAnimation){u.next=4;break}return u.abrupt("return",(An(n),En(r,!1)));case 4:return u.prev=4,S=B.arr(e)?function(){var e=(0,g.Z)((0,m.Z)().mark((function e(t){var n,r,i;return(0,m.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=(0,b.Z)(t),e.prev=1,n.s();case 3:if((r=n.n()).done){e.next=9;break}return i=r.value,e.next=7,v(i);case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.e(e.t0);case 14:return e.prev=14,n.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[1,11,14,17]])})));return function(t){return e.apply(this,arguments)}}()(e):Promise.resolve(e(v,r.stop.bind(r))),u.next=8,Promise.all([S.then(d),h]);case 8:x=En(r.get(),!0,!1),u.next=22;break;case 11:if(u.prev=11,u.t0=u.catch(4),!(u.t0 instanceof Pn)){u.next=17;break}x=u.t0.result,u.next=22;break;case 17:if(!(u.t0 instanceof Rn)){u.next=21;break}x=u.t0.result,u.next=22;break;case 21:throw u.t0;case 22:return u.prev=22,i==n.asyncId&&(n.asyncId=a,n.asyncTo=a?s:void 0,n.promise=a?l:void 0),u.finish(22);case 25:return u.abrupt("return",(B.fun(o)&&w.batchedUpdates((function(){o(x,r,r.item)})),x));case 26:case"end":return u.stop()}}),u,null,[[4,11,22,25]])})))():l}function An(e,t){q(e.timeouts,(function(e){return e.cancel()})),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Pn=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;return(0,s.Z)(this,n),e=t.call(this,"An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),(0,i.Z)((0,r.Z)(e),"result",void 0),e}return(0,o.Z)(n)}((0,v.Z)(Error)),Rn=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;return(0,s.Z)(this,n),e=t.call(this,"SkipAnimationSignal"),(0,i.Z)((0,r.Z)(e),"result",void 0),e}return(0,o.Z)(n)}((0,v.Z)(Error)),On=function(e){return e instanceof Zn},Ln=1,Zn=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return e=t.call.apply(t,[this].concat(o)),(0,i.Z)((0,r.Z)(e),"id",Ln++),(0,i.Z)((0,r.Z)(e),"_priority",0),e}return(0,o.Z)(n,[{key:"priority",get:function(){return this._priority},set:function(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}},{key:"get",value:function(){var e=Rt(this);return e&&e.getValue()}},{key:"to",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return U.to(this,t)}},{key:"interpolate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return st(),U.to(this,t)}},{key:"toJSON",value:function(){return this.get()}},{key:"observerAdded",value:function(e){1==e&&this._attach()}},{key:"observerRemoved",value:function(e){0==e&&this._detach()}},{key:"_attach",value:function(){}},{key:"_detach",value:function(){}},{key:"_onChange",value:function(e){Be(this,{type:"change",parent:this,value:e,idle:arguments.length>1&&void 0!==arguments[1]&&arguments[1]})}},{key:"_onPriorityChange",value:function(e){this.idle||oe.sort(this),Be(this,{type:"priority",parent:this,priority:e})}}]),n}(Ve),Nn=Symbol.for("SpringPhase"),In=function(e){return(1&e[Nn])>0},jn=function(e){return(2&e[Nn])>0},Dn=function(e){return(4&e[Nn])>0},zn=function(e,t){return t?e[Nn]|=3:e[Nn]&=-3},Un=function(e,t){return t?e[Nn]|=4:e[Nn]&=-5},Fn=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,a){var o;if((0,s.Z)(this,n),o=t.call(this),(0,i.Z)((0,r.Z)(o),"key",void 0),(0,i.Z)((0,r.Z)(o),"animation",new Sn),(0,i.Z)((0,r.Z)(o),"queue",void 0),(0,i.Z)((0,r.Z)(o),"defaultProps",{}),(0,i.Z)((0,r.Z)(o),"_state",{paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set}),(0,i.Z)((0,r.Z)(o),"_pendingCalls",new Set),(0,i.Z)((0,r.Z)(o),"_lastCallId",0),(0,i.Z)((0,r.Z)(o),"_lastToId",0),(0,i.Z)((0,r.Z)(o),"_memoizedDuration",0),!B.und(e)||!B.und(a)){var l=B.obj(e)?(0,y.Z)({},e):(0,y.Z)((0,y.Z)({},a),{},{from:e});B.und(l.default)&&(l.default=!0),o.start(l)}return(0,f.Z)(o)}return(0,o.Z)(n,[{key:"idle",get:function(){return!(jn(this)||this._state.asyncTo)||Dn(this)}},{key:"goal",get:function(){return Ue(this.animation.to)}},{key:"velocity",get:function(){var e=Rt(this);return e instanceof Nt?e.lastVelocity||0:e.getPayload().map((function(e){return e.lastVelocity||0}))}},{key:"hasAnimated",get:function(){return In(this)}},{key:"isAnimating",get:function(){return jn(this)}},{key:"isPaused",get:function(){return Dn(this)}},{key:"isDelayed",get:function(){return this._state.delayed}},{key:"advance",value:function(e){var t=this,n=!0,r=!1,i=this.animation,a=i.toValues,o=i.config,s=Lt(i.to);
vendor: 4,397 bytes, line 2
2!s&&ze(i.to)&&(a=G(Ue(i.to))),i.values.forEach((function(l,u){if(!l.done){var c=l.constructor==It?1:s?s[u].lastPosition:a[u],d=i.immediate,f=c;if(!d){if(f=l.lastPosition,o.tension<=0)return void(l.done=!0);var h,p=l.elapsedTime+=e,v=i.fromValues[u],m=null!=l.v0?l.v0:l.v0=B.arr(o.velocity)?o.velocity[u]:o.velocity,g=o.precision||(v==c?.005:Math.min(1,.001*Math.abs(c-v)));if(B.und(o.duration))if(o.decay){var y=!0===o.decay?.998:o.decay,b=Math.exp(-(1-y)*p);f=v+m/(1-y)*(1-b),d=Math.abs(l.lastPosition-f)<=g,h=m*b}else{h=null==l.lastVelocity?m:l.lastVelocity;for(var x=o.restVelocity||g/10,w=o.clamp?0:o.bounce,S=!B.und(w),_=v==c?l.v0>0:v<c,k=Math.ceil(e/1),M=0;M<k&&(Math.abs(h)>x||!(d=Math.abs(c-f)<=g));++M){S&&((f==c||f>c==_)&&(h=-h*w,f=c)),f+=1*(h+=1*((1e-6*-o.tension*(f-c)+.001*-o.friction*h)/o.mass))}}else{var E=1;o.duration>0&&(t._memoizedDuration!==o.duration&&(t._memoizedDuration=o.duration,l.durationProgress>0&&(l.elapsedTime=o.duration*l.durationProgress,p=l.elapsedTime+=e)),E=(E=(o.progress||0)+p/t._memoizedDuration)>1?1:E<0?0:E,l.durationProgress=E),h=((f=v+o.easing(E)*(c-v))-l.lastPosition)/e,d=1==E}l.lastVelocity=h,Number.isNaN(f)&&(console.warn("Got NaN while animating:",t),d=!0)}s&&!s[u].done&&(d=!1),d?l.done=!0:n=!1,l.setValue(f,o.round)&&(r=!0)}}));var l=Rt(this),u=l.getValue();if(n){var c=Ue(i.to);u===c&&!r||o.decay?r&&o.decay&&this._onChange(u):(l.setValue(c),this._onChange(c)),this._stop()}else r&&this._onChange(u)}},{key:"set",value:function(e){var t=this;return w.batchedUpdates((function(){t._stop(),t._focus(e),t._set(e)})),this}},{key:"pause",value:function(){this._update({pause:!0})}},{key:"resume",value:function(){this._update({pause:!1})}},{key:"finish",value:function(){var e=this;if(jn(this)){var t=this.animation,n=t.to,r=t.config;w.batchedUpdates((function(){e._onStart(),r.decay||e._set(n,!1),e._stop()}))}return this}},{key:"update",value:function(e){return(this.queue||(this.queue=[])).push(e),this}},{key:"start",value:function(e,t){var n,r=this;return B.und(e)?(n=this.queue||[],this.queue=[]):n=[B.obj(e)?e:(0,y.Z)((0,y.Z)({},t),{},{to:e})],Promise.all(n.map((function(e){return r._update(e)}))).then((function(e){return kn(r,e)}))}},{key:"stop",value:function(e){var t=this,n=this.animation.to;return this._focus(this.get()),An(this._state,e&&this._lastCallId),w.batchedUpdates((function(){return t._stop(n,e)})),this}},{key:"reset",value:function(){this._update({reset:!0})}},{key:"eventObserved",value:function(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}},{key:"_prepareNode",value:function(e){var t,n=this.key||"",r=e.to,i=e.from;(null==(r=B.obj(r)?r[n]:r)||hn(r))&&(r=void 0),null==(i=B.obj(i)?i[n]:i)&&(i=void 0);var a={to:r,from:i};return In(this)||(e.reverse&&(r=(t=[i,r])[0],i=t[1]),i=Ue(i),B.und(i)?Rt(this)||this._set(r):this._set(i)),a}},{key:"_update",value:function(e,t){var n=this,r=Object.assign({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),e)),i=this.key,a=this.defaultProps;r.default&&Object.assign(a,sn(r,(function(e,t){return/^on/.test(t)?rn(e,i):e}))),Xn(this,r,"onProps"),Yn(this,"onProps",r,this);var o=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");var s=this._state;return _n(++this._lastCallId,{key:i,props:r,defaultProps:a,state:s,actions:{pause:function(){Dn(n)||(Un(n,!0),J(s.pauseQueue),Yn(n,"onPause",En(n,Bn(n,n.animation.to)),n))},resume:function(){Dn(n)&&(Un(n,!1),jn(n)&&n._resume(),J(s.resumeQueue),Yn(n,"onResume",En(n,Bn(n,n.animation.to)),n))},start:this._merge.bind(this,o)}}).then((function(e){if(r.loop&&e.finished&&(!t||!e.noop)){var i=Vn(r);if(i)return n._update(i,!0)}return e}))}},{key:"_merge",value:function(e,t,n){var r,i=this;if(t.cancel)return this.stop(!0),n(Tn(this));var a=!B.und(e.to),o=!B.und(e.from);if(a||o){if(!(t.callId>this._lastToId))return n(Tn(this));this._lastToId=t.callId}var s=this.key,l=this.defaultProps,u=this.animation,c=u.to,d=u.from,f=e.to,h=void 0===f?c:f,p=e.from,v=void 0===p?d:p;o&&!a&&(!t.default||B.und(h))&&(h=v),t.reverse&&(h=(r=[v,h])[0],v=r[1]);var m=!V(v,d);m&&(u.from=v),v=Ue(v);var g=!V(h,c);g&&this._focus(h);var b=hn(t.to),x=u.config,S=x.decay,_=x.velocity;(a||o)&&(x.velocity=0),t.config&&!b&&function(e,t,n){for(var r in n&&
2(xn(n=(0,y.Z)({},n),t),t=(0,y.Z)((0,y.Z)({},n),t)),xn(e,t),Object.assign(e,t),yn)null==e[r]&&(e[r]=yn[r]);var i=e.frequency,a=e.damping,o=e.mass;B.und(i)||(i<.01&&(i=.01),a<0&&(a=0),e.tension=Math.pow(2*Math.PI/i,2)*o,e.friction=4*Math.PI*a*o/i)}(x,tn(t.config,s),t.config!==l.config?tn(l.config,s):void 0);var k=Rt(this);if(!k||B.und(h))return n(En(this,!0));var M=B.und(t.reset)?o&&!t.default:!B.und(v)&&nn(t.reset,s),E=M?v:this.get(),T=dn(h),C=B.num(T)||B.arr(T)||ut(T),A=!b&&(!C||nn(l.immediate||t.immediate,s));if(g){var P=Ft(h);if(P!==k.constructor){if(!A)throw Error("Cannot animate between ".concat(k.constructor.name," and ").concat(P.name,', as the "to" prop suggests'));k=this._set(T)}}var R=k.constructor,O=ze(h),L=!1;if(!O){var Z=M||!In(this)&&m;(g||Z)&&(O=!(L=V(dn(E),T))),(!V(u.immediate,A)&&!A||!V(x.decay,S)||!V(x.velocity,_))&&(O=!0)}if(L&&jn(this)&&(u.changed&&!M?O=!0:O||this._stop(c)),!b&&((O||ze(c))&&(u.values=k.getPayload(),u.toValues=ze(h)?null:R==It?[1]:G(T)),u.immediate!=A&&(u.immediate=A,!A&&!M&&this._set(c)),O)){var N=u.onRest;H(qn,(function(e){return Xn(i,t,e)}));var I=En(this,Bn(this,c));J(this._pendingCalls,I),this._pendingCalls.add(n),u.changed&&w.batchedUpdates((function(){var e;u.changed=!M,null!==N&&void 0!==N&&N(I,i),M?tn(l.onRest,I):null===(e=u.onStart)||void 0===e||e.call(u,I,i)}))}M&&this._set(E),b?n(Cn(t.to,t,this._state,this)):O?this._start():jn(this)&&!g?this._pendingCalls.add(n):n(Mn(E))}},{key:"_focus",value:function(e){var t=this.animation;e!==t.to&&(Fe(this)&&this._detach(),t.to=e,Fe(this)&&this._attach())}},{key:"_attach",value:function(){var e=0,t=this.animation.to;ze(t)&&(We(t,this),On(t)&&(e=t.priority+1)),this.priority=e}},{key:"_detach",value:function(){var e=this.animation.to;ze(e)&&Ge(e,this)}},{key:"_set",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Ue(e);if(!B.und(r)){var i=Rt(this);if(!i||!V(r,i.getValue())){var a=Ft(r);i&&i.constructor==a?i.setValue(r):Ot(this,a.create(r)),i&&w.batchedUpdates((function(){t._onChange(r,n)}))}}return Rt(this)}},{key:"_onStart",value:function(){var e=this.animation;e.changed||(e.changed=!0,Yn(this,"onStart",En(this,Bn(this,e.to)),this))}},{key:"_onChange",value:function(e,t){t||(this._onStart(),tn(this.animation.onChange,e,this)),tn(this.defaultProps.onChange,e,this),(0,h.Z)((0,p.Z)(n.prototype),"_onChange",this).call(this,e,t)}},{key:"_start",value:function(){var e=this.animation;Rt(this).reset(Ue(e.to)),e.immediate||(e.fromValues=e.values.map((function(e){return e.lastPosition}))),jn(this)||(zn(this,!0),Dn(this)||this._resume())}},{key:"_resume",value:function(){U.skipAnimation?this.finish():oe.start(this)}},{key:"_stop",value:function(e,t){if(jn(this)){zn(this,!1);var n=this.animation;H(n.values,(function(e){e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Be(this,{type:"idle",parent:this});var r=t?Tn(this.get()):En(this.get(),Bn(this,null!==e&&void 0!==e?e:n.to));J(this._pendingCalls,r),n.changed&&(n.changed=!1,Yn(this,"onRest",r,this))}}}]),n}(Zn);function Bn(e,t){var n=dn(t);return V(dn(e.get()),n)}function Vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.loop,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.to,r=tn(t);if(r){var i=!0!==r&&cn(r),a=(i||e).reverse,o=!i||i.reset;return Hn((0,y.Z)((0,y.Z)({},e),{},{loop:t,default:!1,pause:void 0,to:!a||hn(n)?n:void 0,from:o?e.from:void 0,reset:o},i))}}function Hn(e){var t=e=cn(e),n=t.to,r=t.from,i=new Set;return B.obj(n)&&Gn(n,i),B.obj(r)&&Gn(r,i),e.keys=i.size?Array.from(i):null,e}function Wn(e){var t=Hn(e);return B.und(t.default)&&(t.default=sn(t)),t}function Gn(e,t){W(e,(function(e,n){return null!=e&&t.add(n)}))}var qn=["onStart","onRest","onChange","onPause","onResume"];function Xn(e,t,n){e.animation[n]=t[n]!==an(t,n)?rn(t[n],e.key):void 0}function Yn(e,t){for(var n,r,i,a,o=arguments.length,s=new Array(o>2?o-2:0),l=2;l<o;l++)s[l-2]=arguments[l];null!==(n=(r=e.animation)[t])&&void 0!==n&&n.call.apply(n,[r].concat(s)),null===(i=(a=e.defaultProps)[t])||void 0===i||i.call.apply(i,[a].concat(s))}var Jn=["onStart","onChange","onRest"],Kn=1,Qn=function(){function e(t,n){(0,s.Z)(this,e),(0,i.Z)(this,"id",Kn++),(0,i.Z)(this,"springs",{}),(0,i.Z)(this,"queue",[]),(0,i.Z)(this,"ref",void 0),(0,i.Z)(this,"_flush",void 0),(0,i.Z)(this,"_initialProps",void 0),(0,i.Z)(this,"_lastAsyncId",0),(0,i.Z)(this,"_active",new Set),(0,i.Z)(this,"_changed",new Set),(0,i.Z)(this,"_started",!1),(0,i.Z)(this,"_item",void 0),(0,i.Z)(this,"_state",{paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set}),(0,i.Z)(this,"_events",{onStart:new Map,onChange:new Map,onRest:new Map}),this._onFrame=this._onFrame.bind(this),n&&(this._flush=n),t&&this.start((0,y.Z)({default:!0},t))}return(0,o.Z)(e,[{key:"idle",get:function(){return!this._state.asyncTo&&Object.values(this.springs).every((function(e){return e.idle&&!e.isDelayed&&!e.isPaused}))}},{key:"item",get:function(){return this._item},set:function(e){this._item=e}},{key:"get",value:function(){var e={};return this.each((function(t,n){return e[n]=t.get()})),e}},{key:"set",value:function(e){for(var t in e){var n=e[t];B.und(n)||this.springs[t].set(n)}}},{key:"update",value:function(e){return e&&this.queue.push(Hn(e)),this}},{key:"start",value:function(e){var t=this.queue;return e?t=G(e).map(Hn):this.queue=[],this._flush?this._flush(this,t):(or(this,t),$n(this,t))}},{key:"stop",value:function(e,t){if(e!==!!e&&(t=e),t){var n=this.springs;H(G(t),(function(t){return n[t].stop(!!e)}))}else An(this._state,this._lastAsyncId),this.each((function(t){return t.stop(!!e)}));return this}},{key:"pause",value:function(e){if(B.und(e))this.start({pause:!0});else{var t=this.springs;H(G(e),(function(e){return t[e].pause()}))}return this}},{key:"resume",value:function(e){if(B.und(e))this.start({pause:!1});else{var t=this.springs;H(G(e),(function(e){return t[e].resume()}))}return this}},{key:"each",value:function(e){W(this.springs,e)}},{key:"_onFrame",value:function(){var e=this,t=this._events,n=t.onStart,r=t.onChange,i=t.onRest,o=this._active.size>0,s=this._changed.size>0;(o&&!this._started||s&&!this._started)&&(this._started=!0,q(n,(function(t){var n=(0,a.Z)(t,2),r=n[0],i=n[1];i.value=e.get(),r(i,e,e._item)})));var l=!o&&this._started,u=s||l&&i.size?this.get():null;s&&r.size&&q(r,(function(t){var n=(0,a.Z)(t,2),r=n[0],i=n[1];i.value=u,r(i,e,e._item)})),l&&(this._started=!1,q(i,(function(t){var n=(0,a.Z)(t,2),r=n[0],i=n[1];i.value=u,r(i,e,e._item)})))}},{key:"eventObserved",value:function(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}w.onFrame(this._onFrame)}}]),e}();function $n(e,t){return Promise.all(t.map((function(t){return er(e,t)}))).then((function(t){return kn(e,t)}))}function er(e,t,n){return tr.apply(this,arguments)}function tr(){return tr=(0,g.Z)((0,m.Z)().mark((function e(t,n,r){var i,a,o,s,l,u,c,d,f,h,p,v,g;return(0,m.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.keys,a=n.to,o=n.from,s=n.loop,l=n.onRest,u=n.onResolve,c=B.obj(n.default)&&n.default,s&&(n.loop=!1),!1===a&&(n.to=null),!1===o&&(n.from=null),(d=B.arr(a)||B.fun(a)?a:void 0)?(n.to=void 0,n.onRest=void 0,c&&(c.onRest=void 0)):H(Jn,(function(e){var r=n[e];if(B.fun(r)){var i=t._events[e];n[e]=function(e){var t=e.finished,n=e.cancelled,a=i.get(r);a?(t||(a.finished=!1),n&&(a.cancelled=!0)):i.set(r,{value:null,finished:t||!1,cancelled:n||!1})},c&&(c[e]=n[e])}})),f=t._state,n.pause===!f.paused?(f.paused=n.pause,J(n.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(n.pause=!0),h=(i||Object.keys(t.springs)).map((function(e){return t.springs[e].start(n)})),p=!0===n.cancel||!0===an(n,"cancel"),(d||p&&f.asyncId)&&h.push(_n(++t._lastAsyncId,{props:n,state:f,actions:{pause:F,resume:F,start:function(e,n){p?(An(f,t._lastAsyncId),n(Tn(t))):(e.onRest=l,n(Cn(d,e,f,t)))}}})),e.t0=f.paused,!e.t0){e.next=12;break}return e.next=12,new Promise((function(e){f.resumeQueue.add(e)}));case 12:return e.t1=kn,e.t2=t,e.next=16,Promise.all(h);case 16:if(e.t3=e.sent,v=(0,e.t1)(e.t2,e.t3),!s||!v.finished||r&&v.noop){e.next=22;break}if(!(g=Vn(n,s,a))){e.next=22;break}
2return e.abrupt("return",(or(t,[g]),er(t,g,!0)));case 22:return e.abrupt("return",(u&&w.batchedUpdates((function(){return u(v,t,t.item)})),v));case 23:case"end":return e.stop()}}),e)}))),tr.apply(this,arguments)}function nr(e,t){var n=(0,y.Z)({},e.springs);return t&&H(G(t),(function(e){B.und(e.keys)&&(e=Hn(e)),B.obj(e.to)||(e=(0,y.Z)((0,y.Z)({},e),{},{to:void 0})),ar(n,e,(function(e){return ir(e)}))})),rr(e,n),n}function rr(e,t){W(t,(function(t,n){e.springs[n]||(e.springs[n]=t,We(t,e))}))}function ir(e,t){var n=new Fn;return n.key=e,t&&We(n,t),n}function ar(e,t,n){t.keys&&H(t.keys,(function(r){(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function or(e,t){H(t,(function(t){ar(e.springs,t,(function(t){return ir(t,e)}))}))}var sr=function(e){var t=e.children,n=(0,c.Z)(e,qt),r=(0,D.useContext)(lr),i=n.pause||!!r.pause,o=n.immediate||!!r.immediate;n=function(e,t){var n=(0,D.useState)((function(){return{inputs:t,result:e()}})),r=(0,a.Z)(n,1)[0],i=(0,D.useRef)(),o=i.current,s=o;return s?t&&s.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,s.inputs)||(s={inputs:t,result:e()}):s=r,(0,D.useEffect)((function(){i.current=s,o==r&&(r.inputs=r.result=void 0)}),[s]),s.result}((function(){return{pause:i,immediate:o}}),[i,o]);var s=lr.Provider;return D.createElement(s,{value:n},t)},lr=function(e,t){return Object.assign(e,D.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}(sr,{});sr.Provider=lr.Provider,sr.Consumer=lr.Consumer;var ur=function(){var e=[],t=function(t){lt("".concat(it,'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions'));var r=[];return H(e,(function(e,i){if(B.und(t))r.push(e.start());else{var a=n(t,e,i);a&&r.push(e.start(a))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){var n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){var t=arguments;return H(e,(function(e){return e.pause.apply(e,(0,d.Z)(t))})),this},t.resume=function(){var t=arguments;return H(e,(function(e){return e.resume.apply(e,(0,d.Z)(t))})),this},t.set=function(t){H(e,(function(e,n){var r=B.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){var n=this,r=[];return H(e,(function(e,i){if(B.und(t))r.push(e.start());else{var a=n._getProps(t,e,i);a&&r.push(e.start(a))}})),r},t.stop=function(){var t=arguments;return H(e,(function(e){return e.stop.apply(e,(0,d.Z)(t))})),this},t.update=function(t){var n=this;return H(e,(function(e,r){return e.update(n._getProps(t,e,r))})),this};var n=function(e,t,n){return B.fun(e)?e(n,t):e};return t._getProps=n,t};function cr(e,t,n){var r=arguments,i=B.fun(t)&&t;i&&!n&&(n=[]);var a=(0,D.useMemo)((function(){return i||3==r.length?ur():void 0}),[]),o=(0,D.useRef)(0),s=Mt(),l=(0,D.useMemo)((function(){return{ctrls:[],queue:[],flush:function(e,t){var n=nr(e,t);return o.current>0&&!l.queue.length&&!Object.keys(n).some((function(t){return!e.springs[t]}))?$n(e,t):new Promise((function(r){rr(e,n),l.queue.push((function(){r($n(e,t))})),s()}))}}}),[]),u=(0,D.useRef)((0,d.Z)(l.ctrls)),c=[],f=Ct(e)||0;function h(e,n){for(var r=e;r<n;r++){var a=u.current[r]||(u.current[r]=new Qn(null,l.flush)),o=i?i(r,a):t[r];o&&(c[r]=Wn(o))}}(0,D.useMemo)((function(){H(u.current.slice(e,f),(function(e){pn(e,a),e.stop(!0)})),u.current.length=e,h(f,e)}),[e]),(0,D.useMemo)((function(){h(0,Math.min(f,e))}),n);var p=u.current.map((function(e,t){return nr(e,c[t])})),v=(0,D.useContext)(sr),m=Ct(v),g=v!==m&&fn(v);_t((function(){o.current++,l.ctrls=u.current;var e=l.queue;e.length&&(l.queue=[],H(e,(function(e){return e()}))),H(u.current,(function(e,t){null!==a&&void 0!==a&&a.add(e),g&&e.start({default:v});var n=c[t];n&&(vn(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),Et((function(){return function(){H(l.ctrls,(function(e){return e.stop(!0)}))}}));var b=p.map((function(e){return(0,y.Z)({},e)}));return a?[b,a]:b}function dr(e,t){var n=B.fun(e),r=cr(1,n?e:[e],n?t||[]:t),i=(0,a.Z)(r,2),o=(0,a.Z)(i[0],1)[0],s=i[1];return n||2==arguments.length?[o,s]:o}var fr=function(){return ur()},hr=function(){return(0,D.useState)(fr)[0]},pr=function(e,t){var n=function(e){var t=(0,D.useRef)(null);return null===t.current&&(t.current=e()),t.current}((function(){return new Fn(e,t)}));return Et((function(){return function(){n.stop()}})),n};function vr(e,t,n){var r=B.fun(t)&&t;r&&!n&&(n=[]);var i,a=!0,o=cr(e,(function(e,n){var o=r?r(e,n):t;return i=o.ref,a=a&&o.reverse,o}),n||[{}]);if(_t((function(){H(o[1].current,(function(e,t){var n=o[1].current[t+(a?1:-1)];vn(e,i),e.ref?n&&e.update({to:n.springs}):n?e.start({to:n.springs}):e.start()}))}),n),r||3==arguments.length){var s,l=null!==(s=i)&&void 0!==s?s:o[1];return l._getProps=function(e,t,n){var r=B.fun(e)?e(n,t):e;if(r){var i=l.current[n+(r.reverse?1:-1)];return i&&(r.to=i.springs),r}},o}return o[0]}function mr(e,t,n){var r=arguments,i=B.fun(t)&&t,a=i?i():t,o=a.reset,s=a.sort,l=a.trail,u=void 0===l?0:l,c=a.expires,d=void 0===c||c,f=a.exitBeforeEnter,h=void 0!==f&&f,p=a.onDestroyed,v=a.ref,m=a.config,g=(0,D.useMemo)((function(){return i||3==r.length?ur():void 0}),[]),b=G(e),x=[],w=(0,D.useRef)(null),S=o?null:w.current;_t((function(){w.current=x})),Et((function(){return H(x,(function(e){null!==g&&void 0!==g&&g.add(e.ctrl),e.ctrl.ref=g})),function(){H(w.current,(function(e){e.expired&&clearTimeout(e.expirationId),pn(e.ctrl,g),e.ctrl.stop(!0)}))}}));var _=function(e,t,n){var r=t.key,i=t.keys,a=void 0===i?r:i;if(null===a){var o=new Set;return e.map((function(e){var t=n&&n.find((function(t){return t.item===e&&"leave"!==t.phase&&!o.has(t)}));return t?(o.add(t),t.key):gr++}))}return B.und(a)?e:B.fun(a)?e.map(a):G(a)}(b,i?i():t,S),k=o&&w.current||[];_t((function(){return H(k,(function(e){var t=e.ctrl,n=e.item,r=e.key;pn(t,g),tn(p,n,r)}))}));var M=[];if(S&&H(S,(function(e,t){e.expired?(clearTimeout(e.expirationId),k.push(e)):~(t=M[t]=_.indexOf(e.key))&&(x[t]=e)})),H(b,(function(e,t){x[t]||(x[t]={key:_[t],item:e,phase:"mount",ctrl:new Qn},x[t].ctrl.item=e)})),M.length){var E=-1,T=(i?i():t).leave;H(M,(function(e,t){var n=S[t];~e?(E=x.indexOf(n),x[E]=(0,y.Z)((0,y.Z)({},n),{},{item:b[e]})):T&&x.splice(++E,0,n)}))}B.fun(s)&&x.sort((function(e,t){return s(e.item,t.item)}));var C=-u,A=Mt(),P=sn(t),R=new Map,O=(0,D.useRef)(new Map),L=(0,D.useRef)(!1);H(x,(function(e,n){var r,a,o=e.key,s=e.phase,l=i?i():t,c=tn(l.delay||0,o);if("mount"==s)r=l.enter,a="enter";else{var f=_.indexOf(o)<0;if("leave"!=s)if(f)r=l.leave,a="leave";else{if(!(r=l.update))return;a="update"}else{if(f)return;r=l.enter,a="enter"}}if(r=tn(r,e.item,n),!(r=B.obj(r)?cn(r):{to:r}).config){var p=m||P.config;r.config=tn(p,e.item,n,a)}C+=u;var g=(0,y.Z)((0,y.Z)({},P),{},{delay:c+C,ref:v,immediate:l.immediate,reset:!1},r);if("enter"==a&&B.und(g.from)){var b=i?i():t,x=B.und(b.initial)||S?b.from:b.initial;g.from=tn(x,e.item,n)}var k=g.onResolve;g.onResolve=function(e){tn(k,e);var t=w.current,n=t.find((function(e){return e.key===o}));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){var r=t.every((function(e){return e.ctrl.idle}));if("leave"==n.phase){var i=tn(d,n.item);if(!1!==i){var a=!0===i?0:i;if(n.expired=!0,!r&&a>0)return void(a<=2147483647&&(n.expirationId=setTimeout(A,a)))}}r&&t.some((function(e){return e.expired}))&&(O.current.delete(n),h&&(L.current=!0),A())}};var M=nr(e.ctrl,g);"leave"===a&&h?O.current.set(e,{phase:a,springs:M,payload:g}):R.set(e,{phase:a,springs:M,payload:g})}));var Z=(0,D.useContext)(sr),N=Ct(Z),I=Z!==N&&fn(Z);_t((function(){I&&H(x,(function(e){e.ctrl.start({default:Z})}))}),[Z]),H(R,(function(e,t){if(O.current.size){var n=x.findIndex((function(e){return e.key===t.key}));x.splice(n,1)}})),_t((function(){H(O.current.size?O.current:R,(function(e,t){var n=e.phase,r=e.payload,i=t.ctrl;
2t.phase=n,null!==g&&void 0!==g&&g.add(i),I&&"enter"==n&&i.start({default:Z}),r&&(vn(i,r.ref),!i.ref&&!g||L.current?(i.start(r),L.current&&(L.current=!1)):i.update(r))}))}),o?void 0:n);var j=function(e){return D.createElement(D.Fragment,null,x.map((function(t,n){var r=(R.get(t)||t.ctrl).springs,i=e((0,y.Z)({},r),t.item,t,n);return i&&i.type?D.createElement(i.type,(0,y.Z)((0,y.Z)({},i.props),{},{key:B.str(t.key)||B.num(t.key)?t.key:t.ctrl.id,ref:i.ref})):i})))};return g?[j,g]:j}var gr=1;var yr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.container,n=(0,c.Z)(e,Xt),r=dr((function(){return(0,y.Z)({scrollX:0,scrollY:0,scrollXProgress:0,scrollYProgress:0},n)}),[]),i=(0,a.Z)(r,2),o=i[0],s=i[1];return _t((function(){var e=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).container,n=void 0===t?document.documentElement:t,r=wt.get(n);r||(r=new Set,wt.set(n,r));var i=new yt(e,n);if(r.add(i),!bt.has(n)){var a=function(){var e;return null!==(e=r)&&void 0!==e&&e.forEach((function(e){return e.advance()})),!0};bt.set(n,a);var o=St(n);window.addEventListener("resize",a,{passive:!0}),n!==document.documentElement&&xt.set(n,mt(a,{container:n})),o.addEventListener("scroll",a,{passive:!0})}var s=bt.get(n);return w(s),function(){var e;w.cancel(s);var t=wt.get(n);if(t&&(t.delete(i),!t.size)){var r=bt.get(n);bt.delete(n),r&&(St(n).removeEventListener("scroll",r),window.removeEventListener("resize",r),null===(e=xt.get(n))||void 0===e||e())}}}((function(e){var t=e.x,n=e.y;s.start({scrollX:t.current,scrollXProgress:t.progress,scrollY:n.current,scrollYProgress:n.progress})}),{container:(null===t||void 0===t?void 0:t.current)||void 0});return function(){H(Object.values(o),(function(e){return e.stop()})),e()}}),[]),o},br=function(e){var t=e.container,n=(0,c.Z)(e,Yt),r=dr((function(){return(0,y.Z)({width:0,height:0},n)}),[]),i=(0,a.Z)(r,2),o=i[0],s=i[1];return _t((function(){var e=mt((function(e){var t=e.width,n=e.height;s.start({width:t,height:n,immediate:0===o.width.get()||0===o.height.get()})}),{container:(null===t||void 0===t?void 0:t.current)||void 0});return function(){H(Object.values(o),(function(e){return e.stop()})),e()}}),[]),o},xr={any:0,all:1};function wr(e,t){var n=(0,D.useState)(!1),r=(0,a.Z)(n,2),i=r[0],o=r[1],s=(0,D.useRef)(),l=B.fun(e)&&e,u=l?l():{},d=u.to,f=void 0===d?{}:d,h=u.from,p=void 0===h?{}:h,v=(0,c.Z)(u,Jt),m=l?t:e,g=dr((function(){return(0,y.Z)({from:p},v)}),[]),b=(0,a.Z)(g,2),x=b[0],w=b[1];return _t((function(){var e=s.current,t=null!==m&&void 0!==m?m:{},n=t.root,r=t.once,a=t.amount,l=void 0===a?"any":a,u=(0,c.Z)(t,Kt);if(!(!e||r&&i||typeof IntersectionObserver>"u")){var d=new WeakMap,h=new IntersectionObserver((function(e){e.forEach((function(e){var t=d.get(e.target);if(e.isIntersecting!==!!t)if(e.isIntersecting){var n=(f&&w.start(f),o(!0),r?void 0:function(){p&&w.start(p),o(!1)});B.fun(n)?d.set(e.target,n):h.unobserve(e.target)}else t&&(t(),d.delete(e.target))}))}),(0,y.Z)({root:n&&n.current||void 0,threshold:"number"==typeof l||Array.isArray(l)?l:xr[l]},u));return h.observe(e),function(){return h.unobserve(e)}}}),[m]),l?[s,x]:[s,i]}function Sr(e){return(0,e.children)(dr((0,c.Z)(e,Qt)))}function _r(e){var t=e.items,n=e.children,r=(0,c.Z)(e,$t),i=vr(t.length,r);return t.map((function(e,t){var r=n(e,t);return B.fun(r)?r(i[t]):r}))}function kr(e){var t=e.items,n=e.children;return mr(t,(0,c.Z)(e,en))(n)}var Mr=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,a){var o;(0,s.Z)(this,n),o=t.call(this),(0,i.Z)((0,r.Z)(o),"key",void 0),(0,i.Z)((0,r.Z)(o),"idle",!0),(0,i.Z)((0,r.Z)(o),"calc",void 0),(0,i.Z)((0,r.Z)(o),"_active",new Set),o.source=e,o.calc=Ae.apply(void 0,(0,d.Z)(a));var l=o._get(),u=Ft(l);return Ot((0,r.Z)(o),u.create(l)),o}return(0,o.Z)(n,[{key:"advance",value:function(e){var t=this._get();V(t,this.get())||(Rt(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Tr(this._active)&&Cr(this)}},{key:"_get",value:function(){var e=B.arr(this.source)?this.source.map(Ue):G(Ue(this.source));return this.calc.apply(this,(0,d.Z)(e))}},{key:"_start",value:function(){var e=this;this.idle&&!Tr(this._active)&&(this.idle=!1,H(Lt(this),(function(e){e.done=!1})),U.skipAnimation?(w.batchedUpdates((function(){return e.advance()})),Cr(this)):oe.start(this))}},{key:"_attach",value:function(){var e=this,t=1;H(G(this.source),(function(n){ze(n)&&We(n,e),On(n)&&(n.idle||e._active.add(n),t=Math.max(t,n.priority+1))})),this.priority=t,this._start()}},{key:"_detach",value:function(){var e=this;H(G(this.source),(function(t){ze(t)&&Ge(t,e)}
2)),this._active.clear(),Cr(this)}},{key:"eventObserved",value:function(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=G(this.source).reduce((function(e,t){return Math.max(e,(On(t)?t.priority:0)+1)}),0))}}]),n}(Zn);function Er(e){return!1!==e.idle}function Tr(e){return!e.size||Array.from(e).every(Er)}function Cr(e){e.idle||(e.idle=!0,H(Lt(e),(function(e){e.done=!0})),Be(e,{type:"idle",parent:e}))}var Ar=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new Mr(e,n)},Pr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return st(),new Mr(e,n)};U.assign({createStringInterpolator:rt,to:function(e,t){return new Mr(e,t)}});var Rr=oe.advance,Or=n(4164),Lr=["style","children","scrollTop","scrollLeft","viewBox"],Zr=["x","y","z"],Nr=["scrollTop","scrollLeft"],Ir=/^--/;function jr(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Ir.test(e)||zr.hasOwnProperty(e)&&zr[e]?(""+t).trim():t+"px"}var Dr={};var zr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ur=["Webkit","Ms","Moz","O"];zr=Object.keys(zr).reduce((function(e,t){return Ur.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),zr);var Fr=/^(matrix|translate|scale|rotate|skew)/,Br=/^(translate)/,Vr=/^(rotate|skew)/,Hr=function(e,t){return B.num(e)&&0!==e?e+t:e},Wr=function e(t,n){return B.arr(t)?t.every((function(t){return e(t,n)})):B.num(t)?t===n:parseFloat(t)===n},Gr=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r=e.x,i=e.y,o=e.z,l=(0,c.Z)(e,Zr);(0,s.Z)(this,n);var u=[],d=[];return(r||i||o)&&(u.push([r||0,i||0,o||0]),d.push((function(e){return["translate3d(".concat(e.map((function(e){return Hr(e,"px")})).join(","),")"),Wr(e,0)]}))),W(l,(function(e,t){if("transform"===t)u.push([e||""]),d.push((function(e){return[e,""===e]}));else if(Fr.test(t)){if(delete l[t],B.und(e))return;var n=Br.test(t)?"px":Vr.test(t)?"deg":"";u.push(G(e)),d.push("rotate3d"===t?function(e){var t=(0,a.Z)(e,4),r=t[0],i=t[1],o=t[2],s=t[3];return["rotate3d(".concat(r,",").concat(i,",").concat(o,",").concat(Hr(s,n),")"),Wr(s,0)]}:function(e){return["".concat(t,"(").concat(e.map((function(e){return Hr(e,n)})).join(","),")"),Wr(e,t.startsWith("scale")?1:0)]})}})),u.length&&(l.transform=new qr(u,d)),t.call(this,l)}return(0,o.Z)(n)}(Dt),qr=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,a){var o;return(0,s.Z)(this,n),o=t.call(this),(0,i.Z)((0,r.Z)(o),"_value",null),o.inputs=e,o.transforms=a,o}return(0,o.Z)(n,[{key:"get",value:function(){return this._value||(this._value=this._get())}},{key:"_get",value:function(){var e=this,t="",n=!0;return H(this.inputs,(function(r,i){var o=Ue(r[0]),s=e.transforms[i](B.arr(o)?o:r.map(Ue)),l=(0,a.Z)(s,2),u=l[0],c=l[1];t+=" "+u,n=n&&c})),n?"none":t}},{key:"observerAdded",value:function(e){var t=this;1==e&&H(this.inputs,(function(e){return H(e,(function(e){return ze(e)&&We(e,t)}))}))}},{key:"observerRemoved",value:function(e){var t=this;0==e&&H(this.inputs,(function(e){return H(e,(function(e){return ze(e)&&Ge(e,t)}))}))}},{key:"eventObserved",value:function(e){"change"==e.type&&(this._value=null),Be(this,e)}}]),n}(Ve);U.assign({batchedUpdates:Or.unstable_batchedUpdates,createStringInterpolator:rt,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,dar
2kgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var Xr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.applyAnimatedValues,r=void 0===n?function(){return!1}:n,i=t.createAnimatedStyle,a=void 0===i?function(e){return new Dt(e)}:i,o=t.getComponentProps,s=void 0===o?function(e){return e}:o,l={applyAnimatedValues:r,createAnimatedStyle:a,getComponentProps:s},u=function e(t){var n=Wt(t)||"Anonymous";return(t=B.str(t)?e[t]||(e[t]=Bt(t,l)):t[Ht]||(t[Ht]=Bt(t,l))).displayName="Animated(".concat(n,")"),t};return W(e,(function(t,n){B.arr(e)&&(n=Wt(t)),u[n]=u(t)})),{animated:u}}(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;var n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,r=t.style,i=t.children,a=t.scrollTop,o=t.scrollLeft,s=t.viewBox,l=(0,c.Z)(t,Lr),u=Object.values(l),d=Object.keys(l).map((function(t){return n||e.hasAttribute(t)?t:Dr[t]||(Dr[t]=t.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})))}));for(var f in void 0!==i&&(e.textContent=i),r)if(r.hasOwnProperty(f)){var h=jr(f,r[f]);Ir.test(f)?e.style.setProperty(f,h):e.style[f]=h}
vendor: 9,055 bytes, line 2
2d.forEach((function(t,n){e.setAttribute(t,u[n])})),void 0!==a&&(e.scrollTop=a),void 0!==o&&(e.scrollLeft=o),void 0!==s&&e.setAttribute("viewBox",s)},createAnimatedStyle:function(e){return new Gr(e)},getComponentProps:function(e){e.scrollTop,e.scrollLeft;return(0,c.Z)(e,Nr)}}),Yr=Xr.animated},6374:function(e,t,n){"use strict";var r=n(2791),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,a={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},9117:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var x=b.prototype=new y;x.constructor=b,v(x,g.prototype),x.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,_={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,r){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)S.call(t,i)&&!k.hasOwnProperty(i)&&(a[i]=t[i]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===a[i]&&(a[i]=l[i]);return{$$typeof:n,type:e,key:o,ref:s,props:a,_owner:_.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function C(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,i,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return o=o(l=e),e=""===a?"."+C(l,0):a,w(o)?(i="",null!=e&&(i=e.replace(T,"$&/")+"/"),A(o,t,i,"",(function(e){return e}))):null!=o&&(E(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,i+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(T,"$&/")+"/")+e)),t.push(o)),1;if(l=0,a=""===a?".":a+":",w(e))for(var u=0;u<e.length;u++){var c=a+C(s=e[u],u);l+=A(s,t,i,c,o)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=A(s=s.value,t,i,c=a+C(s,u++),o);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function P(e,t,n){if(null==e)return e;var r=[],i=0;return A(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O={current:null},L={transition:null},Z={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:L,ReactCurrentOwner:_};t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=i,t.Profiler=o,t.PureComponent=b,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=v({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)S.call(t,u)&&!k.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:n,type:e.type,key:a,ref:o,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=M,t.createFactory=function(e){var t=M.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return O.current.useCallback(e,t)},t.useContext=function(e){return O.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return O.current.useDeferredValue(e)},t.useEffect=function(e,t){return O.current.useEffect(e,t)},t.useId=function(){return O.current.useId()},t.useImperativeHandle=function(e,t,n){return O.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return O.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return O.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return O.current.useMemo(e,t)},t.useReducer=function(e,t,n){return O.current.useReducer(e,t,n)},t.useRef=function(e){return O.current.useRef(e)},t.useState=function(e){return O.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return O.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return O.current.useTransition()},t.version="18.2.0"},2791:function(e,t,n){"use strict";e.exports=n(9117)},184:function(e,t,n){"use strict";e.exports=n(6374)},6813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<a(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>a(l,n))u<i&&0>a(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<i&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,h=3,p=!1,v=!1,m=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function w(e){if(m=!1,x(e),!v)if(null!==r(u))v=!0,L(S);else{var t=r(c);null!==t&&Z(w,t.startTime-e)}}function S(e,n){v=!1,m&&(m=!1,y(E),E=-1),p=!0;var a=h;try{for(x(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!A());){var o=f.callback;if("function"===typeof o){f.callback=null,h=f.priorityLevel;var s=o(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===r(u)&&i(u),x(n)}else i(u);f=r(u)}if(null!==f)var l=!0;else{var d=r(c);null!==d&&Z(w,d.startTime-n),l=!1}return l}finally{f=null,h=a,p=!1}
2}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,k=!1,M=null,E=-1,T=5,C=-1;function A(){return!(t.unstable_now()-C<T)}function P(){if(null!==M){var e=t.unstable_now();C=e;var n=!0;try{n=M(!0,e)}finally{n?_():(k=!1,M=null)}}else k=!1}if("function"===typeof b)_=function(){b(P)};else if("undefined"!==typeof MessageChannel){var R=new MessageChannel,O=R.port2;R.port1.onmessage=P,_=function(){O.postMessage(null)}}else _=function(){g(P,0)};function L(e){M=e,k||(k=!0,_())}function Z(e,n){E=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||p||(v=!0,L(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?o+a:o:a=o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>o?(e.sortIndex=a,n(c,e),null===r(u)&&e===r(c)&&(m?(y(E),E=-1):m=!0,Z(w,a-o))):(e.sortIndex=s,n(u,e),v||p||(v=!0,L(S))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},5296:function(e,t,n){"use strict";e.exports=n(6813)},4969:function(e,t,n){var r=n(6115).default,i=n(1588).default,a=n(3808).default,o=n(1655).default,s=n(6389).default,l=n(6690).default,u=n(9728).default;"undefined"!=typeof self&&self,e.exports=function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function n(e){for(;e.children&&e.children.length>0;)n(e.children[0]),e.remove(e.children[0]);e.geometry&&e.geometry.dispose(),e.material&&(Object.keys(e.material).forEach((function(t){e.material[t]&&null!==e.material[t]&&"function"==typeof e.material[t].dispose&&e.material[t].dispose()})),e.material.dispose())}e.r(t),e.d(t,{default:function(){return y}}),Number.prototype.clamp=function(e,t){return Math.min(Math.max(this,e),t)};var c="object"==typeof window,d=c&&window.THREE||{};c&&!window.VANTA&&(window.VANTA={});var f=c&&window.VANTA||{};f.register=function(e,t){return f[e]=function(e){return new t(e)}},f.version="0.5.24";var h=function(){return Array.prototype.unshift.call(arguments,"[VANTA]"),console.error.apply(this,arguments)};f.VantaBase=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(l(this,e),!c)return!1;f.current=this,this.windowMouseMoveWrapper=this.windowMouseMoveWrapper.bind(this),this.windowTouchWrapper=this.windowTouchWrapper.bind(this),this.windowGyroWrapper=this.windowGyroWrapper.bind(this),this.resize=this.resize.bind(this),this.animationLoop=this.animationLoop.bind(this),this.restart=this.restart.bind(this);var n,r,i="function"==typeof this.getDefaultOptions?this.getDefaultOptions():this.defaultOptions;
2if(this.options=Object.assign({mouseControls:!0,touchControls:!0,gyroControls:!1,minHeight:200,minWidth:200,scale:1,scaleMobile:1},i),(t instanceof HTMLElement||"string"==typeof t)&&(t={el:t}),Object.assign(this.options,t),this.options.THREE&&(d=this.options.THREE),this.el=this.options.el,null==this.el)h('Instance needs "el" param!');else if(!(this.options.el instanceof HTMLElement)){var a=this.el;if(this.el=(n=a,document.querySelector(n)),!this.el)return void h("Cannot find element",a)}this.prepareEl(),this.initThree(),this.setSize();try{this.init()}catch(t){return h("Init error",t),this.renderer&&this.renderer.domElement&&this.el.removeChild(this.renderer.domElement),void(this.options.backgroundColor&&(console.log("[VANTA] Falling back to backgroundColor"),this.el.style.background=(r=this.options.backgroundColor,"number"==typeof r?"#"+("00000"+r.toString(16)).slice(-6):r)))}this.initMouse(),this.resize(),this.animationLoop();var o=window.addEventListener;o("resize",this.resize),window.requestAnimationFrame(this.resize),this.options.mouseControls&&(o("scroll",this.windowMouseMoveWrapper),o("mousemove",this.windowMouseMoveWrapper)),this.options.touchControls&&(o("touchstart",this.windowTouchWrapper),o("touchmove",this.windowTouchWrapper)),this.options.gyroControls&&o("deviceorientation",this.windowGyroWrapper)}return u(e,[{key:"setOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(this.options,e),this.triggerMouseMove()}},{key:"prepareEl",value:function(){var e,t;if("undefined"!=typeof Node&&Node.TEXT_NODE)for(e=0;e<this.el.childNodes.length;e++){var n=this.el.childNodes[e];if(n.nodeType===Node.TEXT_NODE){var r=document.createElement("span");r.textContent=n.textContent,n.parentElement.insertBefore(r,n),n.remove()}}for(e=0;e<this.el.children.length;e++)t=this.el.children[e],"static"===getComputedStyle(t).position&&(t.style.position="relative"),"auto"===getComputedStyle(t).zIndex&&(t.style.zIndex=1);"static"===getComputedStyle(this.el).position&&(this.el.style.position="relative")}},{key:"applyCanvasStyles",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.assign(e.style,{position:"absolute",zIndex:0,top:0,left:0,background:""}),Object.assign(e.style,t),e.classList.add("vanta-canvas")}},{key:"initThree",value:function(){d.WebGLRenderer?(this.renderer=new d.WebGLRenderer({alpha:!0,antialias:!0}),this.el.appendChild(this.renderer.domElement),this.applyCanvasStyles(this.renderer.domElement),isNaN(this.options.backgroundAlpha)&&(this.options.backgroundAlpha=1),this.scene=new d.Scene):console.warn("[VANTA] No THREE defined on window")}},{key:"getCanvasElement",value:function(){return this.renderer?this.renderer.domElement:this.p5renderer?this.p5renderer.canvas:void 0}},{key:"getCanvasRect",value:function(){var e=this.getCanvasElement();return!!e&&e.getBoundingClientRect()}},{key:"windowMouseMoveWrapper",value:function(e){var t=this.getCanvasRect();if(!t)return!1;var n=e.clientX-t.left,r=e.clientY-t.top;n>=0&&r>=0&&n<=t.width&&r<=t.height&&(this.mouseX=n,this.mouseY=r,this.options.mouseEase||this.triggerMouseMove(n,r))}},{key:"windowTouchWrapper",value:function(e){var t=this.getCanvasRect();if(!t)return!1;if(1===e.touches.length){var n=e.touches[0].clientX-t.left,r=e.touches[0].clientY-t.top;n>=0&&r>=0&&n<=t.width&&r<=t.height&&(this.mouseX=n,this.mouseY=r,this.options.mouseEase||this.triggerMouseMove(n,r))}}},{key:"windowGyroWrapper",value:function(e){var t=this.getCanvasRect();if(!t)return!1;var n=Math.round(2*e.alpha)-t.left,r=Math.round(2*e.beta)-t.top;n>=0&&r>=0&&n<=t.width&&r<=t.height&&(this.mouseX=n,this.mouseY=r,this.options.mouseEase||this.triggerMouseMove(n,r))}},{key:"triggerMouseMove",value:function(e,t){void 0===e&&void 0===t&&(this.options.mouseEase?(e=this.mouseEaseX,t=this.mouseEaseY):(e=this.mouseX,t=this.mouseY)),this.uniforms&&(this.uniforms.iMouse.value.x=e/this.scale,this.uniforms.iMouse.value.y=t/this.scale);var n=e/this.width,r=t/this.height;"function"==typeof this.onMouseMove&&this.onMouseMove(n,r)}},{key:"setSize",value:function(){this.scale||(this.scale=1),"undefined"!=typeof navigator&&(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<600)&&this.options.scaleMobile?this.scale=this.options.scaleMobile:this.options.scale&&(this.scale=this.options.scale),this.width=Math.max(this.el.offsetWidth,this.options.minWidth),this.height=Math.max(this.el.offsetHeight,this.options.minHeight)}},{key:"initMouse",value:function(){(!this.mouseX&&!this.mouseY||this.mouseX===this.options.minWidth/2&&this.mouseY===this.options.minHeight/2)&&(this.mouseX=this.width/2,this.mouseY=this.height/2,this.triggerMouseMove(this.mouseX,this.mouseY))}},{key:"resize",value:function(){this.setSize(),this.camera&&(this.camera.aspect=this.width/this.height,"function"==typeof this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix()),this.renderer&&(this.renderer.setSize(this.width,this.height),this.renderer.setPixelRatio(window.devicePixelRatio/this.scale)),"function"==typeof this.onResize&&this.onResize()}},{key:"isOnScreen",value:function(){var e=this.el.offsetHeight,t=this.el.getBoundingClientRect(),n=window.pageYOffset||(document.documentElement||document.body.parentNode||document.body).scrollTop,r
2=t.top+n;return r-window.innerHeight<=n&&n<=r+e}},{key:"animationLoop",value:function(){this.t||(this.t=0),this.t2||(this.t2=0);var e=performance.now();if(this.prevNow){var t=(e-this.prevNow)/(1e3/60);t=Math.max(.2,Math.min(t,5)),this.t+=t,this.t2+=(this.options.speed||1)*t,this.uniforms&&(this.uniforms.iTime.value=.016667*this.t2)}return this.prevNow=e,this.options.mouseEase&&(this.mouseEaseX=this.mouseEaseX||this.mouseX||0,this.mouseEaseY=this.mouseEaseY||this.mouseY||0,Math.abs(this.mouseEaseX-this.mouseX)+Math.abs(this.mouseEaseY-this.mouseY)>.1&&(this.mouseEaseX+=.05*(this.mouseX-this.mouseEaseX),this.mouseEaseY+=.05*(this.mouseY-this.mouseEaseY),this.triggerMouseMove(this.mouseEaseX,this.mouseEaseY))),(this.isOnScreen()||this.options.forceAnimate)&&("function"==typeof this.onUpdate&&this.onUpdate(),this.scene&&this.camera&&(this.renderer.render(this.scene,this.camera),this.renderer.setClearColor(this.options.backgroundColor,this.options.backgroundAlpha)),this.fps&&this.fps.update&&this.fps.update(),"function"==typeof this.afterRender&&this.afterRender()),this.req=window.requestAnimationFrame(this.animationLoop)}},{key:"restart",value:function(){if(this.scene)for(;this.scene.children.length;)this.scene.remove(this.scene.children[0]);"function"==typeof this.onRestart&&this.onRestart(),this.init()}},{key:"init",value:function(){"function"==typeof this.onInit&&this.onInit()}},{key:"destroy",value:function(){"function"==typeof this.onDestroy&&this.onDestroy();var e=window.removeEventListener;e("touchstart",this.windowTouchWrapper),e("touchmove",this.windowTouchWrapper),e("scroll",this.windowMouseMoveWrapper),e("mousemove",this.windowMouseMoveWrapper),e("deviceorientation",this.windowGyroWrapper),e("resize",this.resize),window.cancelAnimationFrame(this.req);var t=this.scene;t&&t.children&&n(t),this.renderer&&(this.renderer.domElement&&this.el.removeChild(this.renderer.domElement),this.renderer=null,this.scene=null),f.current===this&&(f.current=null)}}]),e}();var p=f.VantaBase,v="object"==typeof window&&window.THREE,m=function(e){o(n,e);var t=s(n);function n(e){var i;return l(this,n),(v=e.THREE||v).Color.prototype.toVector=function(){return new v.Vector3(this.r,this.g,this.b)},(i=t.call(this,e)).updateUniforms=i.updateUniforms.bind(r(i)),i}return u(n,[{key:"init",value:function(){this.mode="shader",this.uniforms={iTime:{type:"f",value:1},iResolution:{type:"v2",value:new v.Vector2(1,1)},iDpr:{type:"f",value:window.devicePixelRatio||1},iMouse:{type:"v2",value:new v.Vector2(this.mouseX||0,this.mouseY||0)}},i(a(n.prototype),"init",this).call(this),this.fragmentShader&&this.initBasicShader()}},{key:"setOptions",value:function(e){i(a(n.prototype),"setOptions",this).call(this,e),this.updateUniforms()}},{key:"initBasicShader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.fragmentShader,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.vertexShader;t||(t="uniform float uTime;\nuniform vec2 uResolution;\nvoid main() {\n  gl_Position = vec4( position, 1.0 );\n}"),this.updateUniforms(),"function"==typeof this.valuesChanger&&this.valuesChanger();var n=new v.ShaderMaterial({uniforms:this.uniforms,vertexShader:t,fragmentShader:e}),r=this.options.texturePath;r&&(this.uniforms.iTex={type:"t",value:(new v.TextureLoader).load(r)});var i=new v.Mesh(new v.PlaneGeometry(2,2),n);this.scene.add(i),this.camera=new v.Camera,this.camera.position.z=1}},{key:"updateUniforms",value:function(){var e,t,n={};for(e in this.options)t=this.options[e],-1!==e.toLowerCase().indexOf("color")?n[e]={type:"v3",value:new v.Color(t).toVector()}:"number"==typeof t&&(n[e]={type:"f",value:t});return Object.assign(this.uniforms,n)}},{key:"resize",value:function(){i(a(n.prototype),"resize",this).call(this),this.uniforms.iResolution.value.x=this.width/this.scale,this.uniforms.iResolution.value.y=this.height/this.scale}}]),n}(p),g=function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return u(n)}(m),y=f.register("CELLS",g);return g.prototype.defaultOptions={color1:35980,color2:15918901,backgroundColor:14155663,amplitudeFactor:1,ringFactor:1,rotationFactor:1,size:1.5,speed:1,scaleMobile:3},g.prototype.fragmentShader="uniform vec2 iResolution;\nuniform vec2 iMouse;\nuniform float iTime;\n\nuniform float blurFactor;
2\nuniform vec3 color1;\nuniform vec3 color2;\nuniform vec3 backgroundColor;\nuniform float size;\nuniform float amplitudeFactor;\nuniform float ringFactor;\nuniform float rotationFactor;\n\nfloat length2(vec2 p) { return dot(p, p); }\n\nfloat noise(vec2 p){\n    return fract(sin(fract(sin(p.x) * (43.13311)) + p.y) * 31.0011);\n}\n\nfloat worley(vec2 p) {\n    float d = 1e30;\n    for (int xo = -1; xo <= 1; ++xo) {\n        for (int yo = -1; yo <= 1; ++yo) {\n            vec2 tp = floor(p) + vec2(xo, yo);\n            d = min(d, length2(p - tp - vec2(noise(tp))));\n        }\n    }\n    vec2 uv = gl_FragCoord.xy / iResolution.xy;\n    float timeOffset =  0.15 * sin(iTime * 2.0 + 10.0*(uv.x - uv.y));\n    return 3.0*exp(-4.0*abs(2.0*d - 1.0 + timeOffset));\n}\n\nfloat fworley(vec2 p) {\n    return sqrt(sqrt(sqrt(\n    1.1 * // light\n    worley(p*5. + .3 + iTime*.0525) *\n    sqrt(worley(p * 50. / size + 0.3 + iTime * -0.15)) *\n    sqrt(sqrt(worley(p * -10. + 9.3))))));\n}\n\nvoid main() {\n    vec2 uv = gl_FragCoord.xy / iResolution.xy;\n    float t = fworley(uv * iResolution.xy / 1500.0);\n    t *= exp(-length2(abs(0.7*uv - 1.0)));\n\n    float tExp = pow(t, 0.5 - t);\n    vec3 c1 = color1 * (1.0 - t);\n    vec3 c2 = color2 * tExp;\n\n    gl_FragColor = vec4(pow(t, 1.0 - t) * (c1 + c2), 1.0);\n}\n",t}()},7399:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},2391:function(e){"use strict";var t=function(){};e.exports=t},3897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},5372:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},3405:function(e,t,n){var r=n(3897);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6115:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},6690:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},9728:function(e,t,n){var r=n(4062);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},4704:function(e,t,n){var r=n(6116);e.exports=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}},e.exports.__esModule=!0,e.exports.default=e.exports},6389:function(e,t,n){var r=n(3808),i=n(9617),a=n(4993);e.exports=function(e){var t=i();return function(){var n,i=r(e);if(t){var o=r(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return a(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},8416:function(e,t,n){var r=n(4062);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},1588:function(e,t,n){var r=n(1753);function i(){return"undefined"!==typeof Reflect&&Reflect.get?(e.exports=i=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,n){var i=r(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(this,arguments)}
vendor: 6,976 bytes, line 2
2e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},3808:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},1655:function(e,t,n){var r=n(6015);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},9617:function(e){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},9498:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},8872:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,i=c}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},2218:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},2281:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},2122:function(e,t,n){var r=n(8416);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},4993:function(e,t,n){var r=n(8698).default,i=n(6115);e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},7424:function(e,t,n){var r=n(5372),i=n(8872),a=n(6116),o=n(2218);e.exports=function(e,t){return r(e)||i(e,t)||a(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},1753:function(e,t,n){var r=n(3808);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,n){var r=n(3405),i=n(9498),a=n(6116),o=n(2281);e.exports=function(e){return r(e)||i(e)||a(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},5036:function(e,t,n){var r=n(8698).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},4062:function(e,t,n){var r=n(8698).default,i=n(5036);e.exports=function(e){var t=i(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},8698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},6116:function(e,t,n){var r=n(3897);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},3878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},7326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},5861:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,a){var o=e.apply(t,n);function s(e){r(o,i,a,s,l,"next",e)}function l(e){r(o,i,a,s,l,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return i}})},5671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},3144:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9142);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},7762:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(181);function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
2if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},9388:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1120),i=n(8814),a=n(2963);function o(e){var t=(0,i.Z)();return function(){var n,i=(0,r.Z)(e);if(t){var o=(0,r.Z)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(0,a.Z)(this,n)}}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9142);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},1752:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1120);function i(){return i="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},i.apply(this,arguments)}},1120:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},136:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9611);function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},8814:function(e,t,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},9199:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},5267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},1413:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4942);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},5987:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3366);function i(e,t){if(null==e)return{};var n,i,a=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},3366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},2963:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(1002),i=n(7326);function a(e,t){if(t&&("object"===(0,r.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},4165:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1002);function i(){i=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";
vendor: 4,342 bytes, line 2
2function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(P){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof p?t:p,o=Object.create(i.prototype),s=new T(r||[]);return a(o,"_invoke",{value:_(e,n,s)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(P){return{type:"throw",arg:P}}}e.wrap=d;var h={};function p(){}function v(){}function m(){}var g={};c(g,s,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(C([])));b&&b!==t&&n.call(b,s)&&(g=b);var x=m.prototype=p.prototype=Object.create(g);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function i(a,o,s,l){var u=f(e[a],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==(0,r.Z)(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return A()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=k(o,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function k(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=f(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,h;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function C(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:A}}function A(){return{value:void 0,done:!0}}return v.prototype=m,a(x,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:v,configurable:!0}),v.displayName=c(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,u,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},w(S.prototype),c(S.prototype,l,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new S(d(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},w(x),c(x,u,"Generator"),c(x,s,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=C,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},9439:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3878);var i=n(181),a=n(5267);function o(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,i=c}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},3433:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(907);var i=n(9199),a=n(181);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,a.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1002);function i(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(907);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},8737:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1120),i=n(9611);var a=n(8814);function o(e,t,n){return o=(0,a.Z)()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&(0,i.Z)(a,n.prototype),a},o.apply(null,arguments)}function s(e){var t="function"===typeof Map?new Map:void 0;return s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return o(e,arguments,(0,r.Z)(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),(0,i.Z)(a,e)},s(e)}}},t={};function n(r){var i=t[r];
vendor: 5,633 bytes, line 2
2if(void 0!==i)return i.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"===typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"===typeof r.then)return r}var a=Object.create(null);n.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){o[e]=function(){return r[e]}}));return o.default=function(){return r},n.d(a,o),a}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+".3fde15f5.chunk.js"},n.miniCssF=function(e){},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="benft:";n.l=function(r,i,a,o){if(e[r])e[r].push(i);else{var s,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+a),s.src=r),e[r]=[i];var f=function(t,n){s.onerror=s.onload=null,clearTimeout(h);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(n)})),t)return t(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",function(){var e={179:0};n.f.j=function(t,r){var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var a=new Promise((function(n,r){i=e[t]=[n,r]}));r.push(i[2]=a);var o=n.p+n.u(t),s=new Error;n.l(o,(function(r){if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",s.name="ChunkLoadError",s.type=a,s.request=o,i[1](s)}}),"chunk-"+t,t)}};var t=function(t,r){var i,a,o=r[0],s=r[1],l=r[2],u=0;if(o.some((function(t){return 0!==e[t]}))){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);if(l)l(n)}for(t&&t(r);u<o.length;u++)a=o[u],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunkbenft=self.webpackChunkbenft||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e={};n.r(e),n.d(e,{ACESFilmicToneMapping:function(){return dg},AddEquation:function(){return Zm},AddOperation:function(){return og},AdditiveAnimationBlendMode:function(){return Uy},AdditiveBlending:function(){return Pm},AlphaFormat:function(){return Vg},AlwaysDepth:function(){return Km},AlwaysStencilFunc:function(){return vb},AmbientLight:function(){return bA},AmbientLightProbe:function(){return NA},AnimationAction:function(){return cP},AnimationClip:function(){return BC},AnimationLoader:function(){return QC},AnimationMixer:function(){return fP},AnimationObjectGroup:function(){return uP},AnimationUtils:function(){return AC},ArcCurve:function(){return GE},ArrayCamera:function(){return bM},ArrowHelper:function(){return rR},Audio:function(){return qA},AudioAnalyser:function(){return $A},AudioContext:function(){return OA},AudioListener:function(){return GA},AudioLoader:function(){return LA},AxesHelper:function(){return iR},BackSide:function(){return Mm},BasicDepthPacking:function(){return Gy},BasicShadowMap:function(){return xm},Bone:function(){return sE},BooleanKeyframeTrack:function(){return NC},Box2:function(){return kP},Box3:function(){return xx},Box3Helper:function(){return eR},BoxBufferGeometry:function(){return oR},BoxGeometry:function(){return RS},BoxHelper:function(){return $P},BufferAttribute:function(){return qw},BufferGeometry:function(){return dS},BufferGeometryLoader:function(){return EA},ByteType:function(){return Lg},Cache:function(){return WC},Camera:function(){return jS},CameraHelper:function(){return XP},CanvasTexture:function(){return VE},CapsuleBufferGeometry:function(){return sR},CapsuleGeometry:function(){return hT},CatmullRomCurve3:function(){return QE},CineonToneMapping:function(){return cg},CircleBufferGeometry:function(){return lR},CircleGeometry:function(){return pT},ClampToEdgeWrapping:function(){return xg},Clock:function(){return UA},Color:function(){return jw},ColorKeyframeTrack:function(){return IC},ColorManagement:function(){return rx},CompressedArrayTexture:function(){return BE},CompressedTexture:function(){return FE},CompressedTextureLoader:function(){return $C},ConeBufferGeometry:function(){return uR},ConeGeometry:function(){return mT},CubeCamera:function(){return US},CubeReflectionMapping:function(){return pg},CubeRefractionMapping:function(){return vg},CubeTexture:function(){return FS},CubeTextureLoader:function(){return tA},CubeUVReflectionMapping:function(){return yg},CubicBezierCurve:function(){return nT},CubicBezierCurve3:function(){return rT},CubicInterpolant:function(){return RC}
2,CullFaceBack:function(){return gm},CullFaceFront:function(){return ym},CullFaceFrontBack:function(){return bm},CullFaceNone:function(){return mm},Curve:function(){return HE},CurvePath:function(){return cT},CustomBlending:function(){return Lm},CustomToneMapping:function(){return fg},CylinderBufferGeometry:function(){return cR},CylinderGeometry:function(){return vT},Cylindrical:function(){return SP},Data3DTexture:function(){return hx},DataArrayTexture:function(){return dx},DataTexture:function(){return lE},DataTextureLoader:function(){return nA},DataUtils:function(){return Hw},DecrementStencilOp:function(){return ib},DecrementWrapStencilOp:function(){return ob},DefaultLoadingManager:function(){return qC},DepthFormat:function(){return qg},DepthStencilFormat:function(){return Xg},DepthTexture:function(){return _M},DirectionalLight:function(){return yA},DirectionalLightHelper:function(){return WP},DiscreteInterpolant:function(){return LC},DisplayP3ColorSpace:function(){return $y},DodecahedronBufferGeometry:function(){return dR},DodecahedronGeometry:function(){return yT},DoubleSide:function(){return Em},DstAlphaFactor:function(){return Wm},DstColorFactor:function(){return qm},DynamicCopyUsage:function(){return _b},DynamicDrawUsage:function(){return gb},DynamicReadUsage:function(){return xb},EdgesGeometry:function(){return _T},EllipseCurve:function(){return WE},EqualDepth:function(){return eg},EqualStencilFunc:function(){return cb},EquirectangularReflectionMapping:function(){return mg},EquirectangularRefractionMapping:function(){return gg},Euler:function(){return rw},EventDispatcher:function(){return Cb},ExtrudeBufferGeometry:function(){return fR},ExtrudeGeometry:function(){return $T},FileLoader:function(){return KC},Float16BufferAttribute:function(){return tS},Float32BufferAttribute:function(){return nS},Float64BufferAttribute:function(){return rS},FloatType:function(){return Dg},Fog:function(){return RM},FogExp2:function(){return PM},FramebufferTexture:function(){return UE},FrontSide:function(){return km},Frustum:function(){return YS},GLBufferAttribute:function(){return gP},GLSL1:function(){return Mb},GLSL3:function(){return Eb},GreaterDepth:function(){return ng},GreaterEqualDepth:function(){return tg},GreaterEqualStencilFunc:function(){return pb},GreaterStencilFunc:function(){return fb},GridHelper:function(){return UP},Group:function(){return xM},HalfFloatType:function(){return zg},HemisphereLight:function(){return aA},HemisphereLightHelper:function(){return zP},HemisphereLightProbe:function(){return ZA},IcosahedronBufferGeometry:function(){return hR},IcosahedronGeometry:function(){return tC},ImageBitmapLoader:function(){return RA},ImageLoader:function(){return eA},ImageUtils:function(){return ix},IncrementStencilOp:function(){return rb},IncrementWrapStencilOp:function(){return ab},InstancedBufferAttribute:function(){return fE},InstancedBufferGeometry:function(){return MA},InstancedInterleavedBuffer:function(){return mP},InstancedMesh:function(){return xE},Int16BufferAttribute:function(){return Kw},Int32BufferAttribute:function(){return $w},Int8BufferAttribute:function(){return Xw},IntType:function(){return Ig},InterleavedBuffer:function(){return LM},InterleavedBufferAttribute:function(){return NM},Interpolant:function(){return PC},InterpolateDiscrete:function(){return Ly},InterpolateLinear:function(){return Zy},InterpolateSmooth:function(){return Ny},InvertStencilOp:function(){return sb},KeepStencilOp:function(){return tb},KeyframeTrack:function(){return ZC},LOD:function(){return $M},LatheBufferGeometry:function(){return pR},LatheGeometry:function(){return fT},Layers:function(){return iw},LessDepth:function(){return Qm},LessEqualDepth:function(){return $m},LessEqualStencilFunc:function(){return db},LessStencilFunc:function(){return ub},Light:function(){return iA},LightProbe:function(){return SA},Line:function(){return TE},Line3:function(){return TP},LineBasicMaterial:function(){return wE},LineCurve:function(){return iT},LineCurve3:function(){return aT},LineDashedMaterial:function(){return SC},LineLoop:function(){return RE},LineSegments:function(){return PE},LinearEncoding:function(){return Hy},LinearFilter:function(){return Tg},LinearInterpolant:function(){return OC},LinearMipMapLinearFilter:function(){return Rg},LinearMipMapNearestFilter:function(){return Ag},LinearMipmapLinearFilter:function(){return Pg},LinearMipmapNearestFilter:function(){return Cg},LinearSRGBColorSpace:function(){return Qy},LinearToneMapping:function(){return lg},Loader:function(){return XC},LoaderUtils:function(){return kA},LoadingManager:function(){return GC},LoopOnce:function(){return Py},LoopPingPong:function(){return Oy},LoopRepeat:function(){return Ry},LuminanceAlphaFormat:function(){return Gg},LuminanceFormat:function(){return Wg},MOUSE:function(){return pm},Material:function(){return Ow},MaterialLoader:function(){return _A},MathUtils:function(){return Bb},Matrix3:function(){return Hb},Matrix4:function(){return qx},MaxEquation:function(){return Dm},Mesh:function(){return AS},MeshBasicMaterial:function(){return zw},MeshDepthMaterial:function(){return hM},MeshDistanceMaterial:function(){return pM},MeshLambertMaterial:function(){return xC},MeshMatcapMaterial:function(){return wC},MeshNormalMaterial:function(){return bC},MeshPhongMaterial:function(){return gC},MeshPhysicalMaterial:function(){return mC},MeshStandardMaterial:function(){return vC},MeshToonMaterial:function(){return yC},MinEquation:function(){return jm},MirroredRepeatWrapping:function(){return wg},MixOperation:function(){return ag},MultiplyBlending:function(){return Om},MultiplyOperation:function(){return ig},NearestFilter:function(){return Sg},NearestMipMapLinearFilter:function(){return Eg},NearestMipMapNearestFilter:function(){return kg},NearestMipmapLinearFilter:function(){return Mg},NearestMipmapNearestFilter:function(){return _g},NeverDepth:function(){return Jm},NeverStencilFunc:function(){return lb},NoBlending:function(){return Cm},NoColorSpace:function(){return Jy},NoToneMapping:function(){return sg},NormalAnimationBlendMode:function(){return zy},NormalBlending:function(){return Am},NotEqualDepth:function(){return rg},NotEqualStencilFunc:function(){return hb},NumberKeyframeTrack:function(){return jC},Object3D:function(){return yw},ObjectLoader:function(){return TA},ObjectSpaceNormalMap:function(){return Yy},OctahedronBufferGeometry:function(){return vR},OctahedronGeometry:function(){return nC},OneFactor:function(){return Um},OneMinusDstAlphaFactor:function(){return Gm},OneMinusDstColorFactor:function(){return Xm},OneMinusSrcAlphaFactor:function(){return Hm},OneMinusSrcColorFactor:function(){return Bm}
2,OrthographicCamera:function(){return u_},PCFShadowMap:function(){return wm},PCFSoftShadowMap:function(){return Sm},PMREMGenerator:function(){return y_},Path:function(){return dT},PerspectiveCamera:function(){return DS},Plane:function(){return GS},PlaneBufferGeometry:function(){return mR},PlaneGeometry:function(){return QS},PlaneHelper:function(){return tR},PointLight:function(){return mA},PointLightHelper:function(){return NP},Points:function(){return jE},PointsMaterial:function(){return OE},PolarGridHelper:function(){return FP},PolyhedronBufferGeometry:function(){return gR},PolyhedronGeometry:function(){return gT},PositionalAudio:function(){return QA},PropertyBinding:function(){return lP},PropertyMixer:function(){return eP},QuadraticBezierCurve:function(){return oT},QuadraticBezierCurve3:function(){return sT},Quaternion:function(){return mx},QuaternionKeyframeTrack:function(){return zC},QuaternionLinearInterpolant:function(){return DC},RED_GREEN_RGTC2_Format:function(){return Cy},RED_RGTC1_Format:function(){return Ey},REVISION:function(){return hm},RGBADepthPacking:function(){return qy},RGBAFormat:function(){return Hg},RGBAIntegerFormat:function(){return $g},RGBA_ASTC_10x10_Format:function(){return Sy},RGBA_ASTC_10x5_Format:function(){return by},RGBA_ASTC_10x6_Format:function(){return xy},RGBA_ASTC_10x8_Format:function(){return wy},RGBA_ASTC_12x10_Format:function(){return _y},RGBA_ASTC_12x12_Format:function(){return ky},RGBA_ASTC_4x4_Format:function(){return dy},RGBA_ASTC_5x4_Format:function(){return fy},RGBA_ASTC_5x5_Format:function(){return hy},RGBA_ASTC_6x5_Format:function(){return py},RGBA_ASTC_6x6_Format:function(){return vy},RGBA_ASTC_8x5_Format:function(){return my},RGBA_ASTC_8x6_Format:function(){return gy},RGBA_ASTC_8x8_Format:function(){return yy},RGBA_BPTC_Format:function(){return My},RGBA_ETC2_EAC_Format:function(){return cy},RGBA_PVRTC_2BPPV1_Format:function(){return sy},RGBA_PVRTC_4BPPV1_Format:function(){return oy},RGBA_S3TC_DXT1_Format:function(){return ty},RGBA_S3TC_DXT3_Format:function(){return ny},RGBA_S3TC_DXT5_Format:function(){return ry},RGB_ETC1_Format:function(){return ly},RGB_ETC2_Format:function(){return uy},RGB_PVRTC_2BPPV1_Format:function(){return ay},RGB_PVRTC_4BPPV1_Format:function(){return iy},RGB_S3TC_DXT1_Format:function(){return ey},RGFormat:function(){return Kg},RGIntegerFormat:function(){return Qg},RawShaderMaterial:function(){return pC},Ray:function(){return Gx},Raycaster:function(){return yP},RectAreaLight:function(){return xA},RedFormat:function(){return Yg},RedIntegerFormat:function(){return Jg},ReinhardToneMapping:function(){return ug},RepeatWrapping:function(){return bg},ReplaceStencilOp:function(){return nb},ReverseSubtractEquation:function(){return Im},RingBufferGeometry:function(){return yR},RingGeometry:function(){return rC},SIGNED_RED_GREEN_RGTC2_Format:function(){return Ay},SIGNED_RED_RGTC1_Format:function(){return Ty},SRGBColorSpace:function(){return Ky},Scene:function(){return OM},ShaderChunk:function(){return $S},ShaderLib:function(){return t_},ShaderMaterial:function(){return IS},ShadowMaterial:function(){return hC},Shape:function(){return kT},ShapeBufferGeometry:function(){return bR},ShapeGeometry:function(){return iC},ShapePath:function(){return aR},ShapeUtils:function(){return JT},ShortType:function(){return Zg},Skeleton:function(){return dE},SkeletonHelper:function(){return LP},SkinnedMesh:function(){return oE},Source:function(){return ax},Sphere:function(){return Dx},SphereBufferGeometry:function(){return xR},SphereGeometry:function(){return aC},Spherical:function(){return wP},SphericalHarmonics3:function(){return wA},SplineCurve:function(){return lT},SpotLight:function(){return dA},SpotLightHelper:function(){return AP},Sprite:function(){return YM},SpriteMaterial:function(){return IM},SrcAlphaFactor:function(){return Vm},SrcAlphaSaturateFactor:function(){return Ym},SrcColorFactor:function(){return Fm},StaticCopyUsage:function(){return Sb},StaticDrawUsage:function(){return mb},StaticReadUsage:function(){return bb},StereoCamera:function(){return zA},StreamCopyUsage:function(){return kb},StreamDrawUsage:function(){return yb},StreamReadUsage:function(){return wb},StringKeyframeTrack:function(){return UC},SubtractEquation:function(){return Nm},SubtractiveBlending:function(){return Rm},TOUCH:function(){return vm},TangentSpaceNormalMap:function(){return Xy},TetrahedronBufferGeometry:function(){return wR},TetrahedronGeometry:function(){return oC},Texture:function(){return lx},TextureLoader:function(){return rA},TorusBufferGeometry:function(){return SR},TorusGeometry:function(){return sC},TorusKnotBufferGeometry:function(){return _R},TorusKnotGeometry:function(){return lC},Triangle:function(){return Pw},TriangleFanDrawMode:function(){return Vy},TriangleStripDrawMode:function(){return By},TrianglesDrawMode:function(){return Fy},TubeBufferGeometry:function(){return kR},TubeGeometry:function(){return uC},TwoPassDoubleSide:function(){return Tm},UVMapping:function(){return hg},Uint16BufferAttribute:function(){return Qw},Uint32BufferAttribute:function(){return eS},Uint8BufferAttribute:function(){return Yw},Uint8ClampedBufferAttribute:function(){return Jw},Uniform:function(){return hP},UniformsGroup:function(){return vP},UniformsLib:function(){return e_},UniformsUtils:function(){return NS},UnsignedByteType:function(){return Og},UnsignedInt248Type:function(){return Bg},UnsignedIntType:function(){return jg},UnsignedShort4444Type:function(){return Ug},UnsignedShort5551Type:function(){return Fg},UnsignedShortType:function(){return Ng},VSMShadowMap:function(){return _m},Vector2:function(){return Vb},Vector3:function(){return gx},Vector4:function(){return ux},VectorKeyframeTrack:function(){return FC},VideoTexture:function(){return zE},WebGL1Renderer:function(){return CM},WebGL3DRenderTarget:function(){return px},WebGLArrayRenderTarget:function(){return fx}
2,WebGLCubeRenderTarget:function(){return BS},WebGLMultipleRenderTargets:function(){return vx},WebGLRenderTarget:function(){return cx},WebGLRenderer:function(){return TM},WebGLUtils:function(){return yM},WireframeGeometry:function(){return cC},WrapAroundEnding:function(){return Dy},ZeroCurvatureEnding:function(){return Iy},ZeroFactor:function(){return zm},ZeroSlopeEnding:function(){return jy},ZeroStencilOp:function(){return eb},_SRGBAFormat:function(){return Tb},sRGBEncoding:function(){return Wy}});var t=n(2791),r=n.t(t,2),i=n(1250),a=n(9439),o=n(184),s=t.createContext(),l=[{bg:"rgb(32, 34, 37)",txt:"#fff"},{bg:"#FFF",txt:""}],u=function(e){var n=e.children,r=(0,t.useState)(!1),i=(0,a.Z)(r,2),u=i[0],c=i[1],d=(0,t.useState)(l[0]),f=(0,a.Z)(d,2),h=f[0],p=f[1];return(0,t.useEffect)((function(){p(u?l[0]:l[1])}),[u]),(0,o.jsx)(s.Provider,{value:{turnOn:u,setTurnOn:c,mainColor:h,setMainColor:p},children:n})};var c=function(){var e=function(e,n){var r=(0,t.useState)((function(){try{var t=window.localStorage.getItem(e);return t?JSON.parse(t):n}catch(r){return console.log(r),n}})),i=(0,a.Z)(r,2),o=i[0],s=i[1];return[o,function(t){try{var n=t instanceof Function?t(o):t;s(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(r){console.log(r)}}]}("dark-mode-enabled"),n=(0,a.Z)(e,2),r=n[0],i=n[1],o=function(e,n,r){var i=(0,t.useState)(r),o=(0,a.Z)(i,2),s=o[0],l=o[1],u=e.map((function(e){return window.matchMedia(e)})),c=function(){var e=u.findIndex((function(e){return e.matches}));return"undefined"!==typeof n[e]?n[e]:r};return(0,t.useEffect)((function(){l(c);var e=function(){return l(c)};return u.forEach((function(t){return t.addListener(e)})),function(){return u.forEach((function(t){return t.removeListener(e)}))}}),[]),s}(["(prefers-color-scheme: dark)"],[!0],!1),s="undefined"!==typeof r?r:o;return(0,t.useEffect)((function(){var e="dark-mode",t=window.document.body;s?t.classList.add(e):t.classList.remove(e)}),[s]),[s,i]},d=n(1694),f=n.n(d),h=n(2007),p=n.n(h),v=n(9475),m=n.n(v),g=n(77),y=n.n(g),b=n(1725),x=n.n(b),w="bodyAttributes",S="htmlAttributes",_="titleAttributes",k={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},M=(Object.keys(k).map((function(e){return k[e]})),"charset"),E="cssText",T="href",C="http-equiv",A="innerHTML",P="itemprop",R="name",O="property",L="rel",Z="src",N="target",I={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},j="defaultTitle",D="defer",z="encodeSpecialCharacters",U="onChangeClientState",F="titleTemplate",B=Object.keys(I).reduce((function(e,t){return e[I[t]]=t,e}),{}),V=[k.NOSCRIPT,k.SCRIPT,k.STYLE],H="data-react-helmet",W="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Y=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},J=function(e){var t=te(e,k.TITLE),n=te(e,F);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=te(e,j);return t||r||void 0},K=function(e){return te(e,U)||function(){}},Q=function(e,t){return t.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return q({},e,t)}),{})},$=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[k.BASE]})).map((function(e){return e[k.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var a=r[i].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},ee=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||("undefined"!==typeof t[e]&&oe("Helmet: "+e+' should be of type "Array". Instead found type "'+W(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,a=Object.keys(e),o=0;o<a.length;o++){var s=a[o],l=s.toLowerCase();-1===t.indexOf(l)||n===L&&"canonical"===e[n].toLowerCase()||l===L&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==A&&s!==E&&s!==P||(n=s)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][u]&&(i[n][u]=!0,!0)}
2)).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(i),o=0;o<a.length;o++){var s=a[o],l=x()({},r[s],i[s]);r[s]=l}return e}),[]).reverse()},te=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},ne=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){ne(t)}),0)}}(),re=function(e){return clearTimeout(e)},ie="undefined"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ne:n.g.requestAnimationFrame||ne,ae="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||re:n.g.cancelAnimationFrame||re,oe=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},se=null,le=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,a=e.linkTags,o=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,u=e.scriptTags,c=e.styleTags,d=e.title,f=e.titleAttributes;de(k.BODY,r),de(k.HTML,i),ce(d,f);var h={baseTag:fe(k.BASE,n),linkTags:fe(k.LINK,a),metaTags:fe(k.META,o),noscriptTags:fe(k.NOSCRIPT,s),scriptTags:fe(k.SCRIPT,u),styleTags:fe(k.STYLE,c)},p={},v={};Object.keys(h).forEach((function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(v[e]=h[e].oldTags)})),t&&t(),l(e,p,v)},ue=function(e){return Array.isArray(e)?e.join(""):e},ce=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=ue(e)),de(k.TITLE,t)},de=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(H),i=r?r.split(","):[],a=[].concat(i),o=Object.keys(t),s=0;s<o.length;s++){var l=o[s],u=t[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),-1===i.indexOf(l)&&i.push(l);var c=a.indexOf(l);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d--)n.removeAttribute(a[d]);i.length===a.length?n.removeAttribute(H):n.getAttribute(H)!==o.join(",")&&n.setAttribute(H,o.join(","))}},fe=function(e,t){var n=document.head||document.querySelector(k.HEAD),r=n.querySelectorAll(e+"["+H+"]"),i=Array.prototype.slice.call(r),a=[],o=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===A)n.innerHTML=t.innerHTML;else if(r===E)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s="undefined"===typeof t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(H,"true"),i.some((function(e,t){return o=t,n.isEqualNode(e)}))?i.splice(o,1):a.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:a}},he=function(e){return Object.keys(e).reduce((function(t,n){var r="undefined"!==typeof e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[I[n]||n]=e[n],t}),t)},ve=function(e,n,r){switch(e){case k.TITLE:return{toComponent:function(){return function(e,n,r){var i,a=((i={key:n})[H]=!0,i),o=pe(r,a);return[t.createElement(k.TITLE,o,n)]}(0,n.title,n.titleAttributes)},toString:function(){return function(e,t,n,r){var i=he(n),a=ue(t);return i?"<"+e+" "+H+'="true" '+i+">"+Y(a,r)+"</"+e+">":"<"+e+" "+H+'="true">'+Y(a,r)+"</"+e+">"}(e,n.title,n.titleAttributes,r)}};case w:case S:return{toComponent:function(){return pe(n)},toString:function(){return he(n)}};default:return{toComponent:function(){return function(e,n){return n.map((function(n,r){var i,a=((i={key:r})[H]=!0,i);return Object.keys(n).forEach((function(e){var t=I[e]||e;if(t===A||t===E){var r=n.innerHTML||n.cssText;a.dangerouslySetInnerHTML={__html:r}}else a[t]=n[e]})),t.createElement(e,a)}))}(e,n)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===A||e===E)})).reduce((function(e,t){var i="undefined"===typeof r[t]?t:t+'="'+Y(r[t],n)+'"';return e?e+" "+i:i}),""),a=r.innerHTML||r.cssText||"",o=-1===V.indexOf(e);return t+"<"+e+" "+H+'="true" '+i+(o?"/>":">"+a+"</"+e+">")}),"")}(e,n,r)}}}},me=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,a=e.linkTags,o=e.metaTags,s=e.noscriptTags,l=e.scriptTags,u=e.styleTags,c=e.title,d=void 0===c?"":c,f=e.titleAttributes;return{base:ve(k.BASE,t,r),bodyAttributes:ve(w,n,r),htmlAttributes:ve(S,i,r),link:ve(k.LINK,a,r),meta:ve(k.META,o,r),noscript:ve(k.NOSCRIPT,s,r),script:ve(k.SCRIPT,l,r),style:ve(k.STYLE,u,r),title:ve(k.TITLE,{title:d,titleAttributes:f},r)}},ge=function(e){var n,r;return r=n=function(n){function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,n.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),r.prototype.shouldComponentUpdate=function(e){return!y()(this.props,e)},r.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case k.SCRIPT:case k.NOSCRIPT:return{innerHTML:t};case k.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},r.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,a=e.nestedChildren;return q({},r,((t={})[n.type]=[].concat(r[n.type]||[],[q({},i,this.mapNestedChildrenToProps(n,a))]),t))},r.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(r.type){case k.TITLE:return q({},i,((t={})[r.type]=o,t.titleAttributes=q({},a),t));case k.BODY:return q({},i,{bodyAttributes:q({},a)});case k.HTML:return q({},i,{htmlAttributes:q({},a)})}return q({},i,((n={})[r.type]=q({},a),n))},r.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=q({},t);return Object.keys(e).forEach((function(t){var r;n=q({},n,((r={})[t]=e[t],r))})),n}
2,r.prototype.warnOnInvalidChildren=function(e,t){return!0},r.prototype.mapChildrenToProps=function(e,n){var r=this,i={};return t.Children.forEach(e,(function(e){if(e&&e.props){var t=e.props,a=t.children,o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[B[n]||n]=e[n],t}),t)}(X(t,["children"]));switch(r.warnOnInvalidChildren(e,a),e.type){case k.LINK:case k.META:case k.NOSCRIPT:case k.SCRIPT:case k.STYLE:i=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:i,newChildProps:o,nestedChildren:a});break;default:n=r.mapObjectTypeChildren({child:e,newProps:n,newChildProps:o,nestedChildren:a})}}})),n=this.mapArrayTypeChildrenToProps(i,n)},r.prototype.render=function(){var n=this.props,r=n.children,i=X(n,["children"]),a=q({},i);return r&&(a=this.mapChildrenToProps(r,a)),t.createElement(e,a)},G(r,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),r}(t.Component),n.propTypes={base:p().object,bodyAttributes:p().object,children:p().oneOfType([p().arrayOf(p().node),p().node]),defaultTitle:p().string,defer:p().bool,encodeSpecialCharacters:p().bool,htmlAttributes:p().object,link:p().arrayOf(p().object),meta:p().arrayOf(p().object),noscript:p().arrayOf(p().object),onChangeClientState:p().func,script:p().arrayOf(p().object),style:p().arrayOf(p().object),title:p().string,titleAttributes:p().object,titleTemplate:p().string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=e.peek,n.rewind=function(){var t=e.rewind();return t||(t=me({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},r}(m()((function(e){return{baseTag:$([T,N],e),bodyAttributes:Q(w,e),defer:te(e,D),encode:te(e,z),htmlAttributes:Q(S,e),linkTags:ee(k.LINK,[L,T],e),metaTags:ee(k.META,[R,M,C,O,P],e),noscriptTags:ee(k.NOSCRIPT,[A],e),onChangeClientState:K(e),scriptTags:ee(k.SCRIPT,[Z,A],e),styleTags:ee(k.STYLE,[E],e),title:J(e),titleAttributes:Q(_,e)}}),(function(e){se&&ae(se),e.defer?se=ie((function(){le(e,(function(){se=null}))})):(le(e),se=null)}),me)((function(){return null})));ge.renderStatic=ge.rewind;var ye=n(3433),be=n(5671),xe=n(3144),we=n(136),Se=n(9388),_e=n(8737),ke=n(3878),Me=n(9199),Ee=n(181),Te=n(5267);function Ce(e){return(0,ke.Z)(e)||(0,Me.Z)(e)||(0,Ee.Z)(e)||(0,Te.Z)()}var Ae,Pe=n(7762);function Re(){return Re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Re.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(Ae||(Ae={}));var Oe,Le="popstate";function Ze(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function Ne(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function Ie(e,t){return{usr:e.state,key:e.key,idx:t}}function je(e,t,n,r){return void 0===n&&(n=null),Re({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?ze(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function De(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,a=e.hash,o=void 0===a?"":a;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),o&&"#"!==o&&(n+="#"===o.charAt(0)?o:"#"+o),n}function ze(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Ue(e,t,n,r){void 0===r&&(r={});var i=r,a=i.window,o=void 0===a?document.defaultView:a,s=i.v5Compat,l=void 0!==s&&s,u=o.history,c=Ae.Pop,d=null,f=h();function h(){return(u.state||{idx:null}).idx}function p(){c=Ae.Pop;var e=h(),t=null==e?null:e-f;f=e,d&&d({action:c,location:m.location,delta:t})}function v(e){var t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"===typeof e?e:De(e);return Ze(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==f&&(f=0,u.replaceState(Re({},u.state,{idx:f}),""));var m={get action(){return c},get location(){return e(o,u)},listen:function(e){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(Le,p),d=e,function(){o.removeEventListener(Le,p),d=null}},createHref:function(e){return t(o,e)},createURL:v,encodeLocation:function(e){var t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=Ae.Push;var r=je(m.location,e,t);n&&n(r,e);var i=Ie(r,f=h()+1),a=m.createHref(r);try{u.pushState(i,"",a)}catch(s){o.location.assign(a)}l&&d&&d({action:c,location:m.location,delta:1})},replace:function(e,t){c=Ae.Replace;var r=je(m.location,e,t);n&&n(r,e);var i=Ie(r,f=h()),a=m.createHref(r);u.replaceState(i,"",a),l&&d&&d({action:c,location:m.location,delta:0})},go:function(e){return u.go(e)}};return m}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Oe||(Oe={}));
2new Set(["lazy","caseSensitive","path","id","index","children"]);function Fe(e,t,n){void 0===n&&(n="/");var r=tt(("string"===typeof t?ze(t):t).pathname||"/",n);if(null==r)return null;var i=Be(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(i);for(var a=null,o=0;null==a&&o<i.length;++o)a=Qe(i[o],et(r));return a}function Be(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var i=function(e,i,a){var o={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};o.relativePath.startsWith("/")&&(Ze(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));var s=nt([r,o.relativePath]),l=n.concat(o);e.children&&e.children.length>0&&(Ze(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),Be(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:Ke(s,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,a=(0,Pe.Z)(Ve(e.path));try{for(a.s();!(r=a.n()).done;){var o=r.value;i(e,t,o)}}catch(s){a.e(s)}finally{a.f()}}else i(e,t)})),t}function Ve(e){var t=e.split("/");if(0===t.length)return[];var n=Ce(t),r=n[0],i=n.slice(1),a=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===i.length)return a?[o,""]:[o];var s=Ve(i.join("/")),l=[];return l.push.apply(l,(0,ye.Z)(s.map((function(e){return""===e?o:[o,e].join("/")})))),a&&l.push.apply(l,(0,ye.Z)(s)),l.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var He=/^:\w+$/,We=3,Ge=2,qe=1,Xe=10,Ye=-2,Je=function(e){return"*"===e};function Ke(e,t){var n=e.split("/"),r=n.length;return n.some(Je)&&(r+=Ye),t&&(r+=Ge),n.filter((function(e){return!Je(e)})).reduce((function(e,t){return e+(He.test(t)?We:""===t?qe:Xe)}),r)}function Qe(e,t){for(var n=e.routesMeta,r={},i="/",a=[],o=0;o<n.length;++o){var s=n[o],l=o===n.length-1,u="/"===i?t:t.slice(i.length)||"/",c=$e({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},u);if(!c)return null;
2Object.assign(r,c.params);var d=s.route;a.push({params:r,pathname:nt([i,c.pathname]),pathnameBase:rt(nt([i,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(i=nt([i,c.pathnameBase]))}return a}function $e(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);Ne("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");var a=new RegExp(i,t?void 0:"i");return[a,r]}(e.path,e.caseSensitive,e.end),r=(0,a.Z)(n,2),i=r[0],o=r[1],s=t.match(i);if(!s)return null;var l=s[0],u=l.replace(/(.)\/+$/,"$1"),c=s.slice(1),d=o.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";u=l.slice(0,l.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return Ne(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(c[n]||"",t),e}),{});return{params:d,pathname:l,pathnameBase:u,pattern:e}}function et(e){try{return decodeURI(e)}catch(t){return Ne(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function tt(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}var nt=function(e){return e.join("/").replace(/\/\/+/g,"/")},rt=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},it=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){return(0,be.Z)(this,n),t.apply(this,arguments)}return(0,xe.Z)(n)}((0,_e.Z)(Error));function at(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var ot=["post","put","patch","delete"],st=(new Set(ot),["get"].concat(ot));new Set(st),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;Symbol("deferred");function lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lt.apply(this,arguments)}var ut=t.createContext(null);var ct=t.createContext(null);var dt=t.createContext(null);var ft=t.createContext(null);var ht=t.createContext(null);var pt=t.createContext({outlet:null,matches:[],isDataRoute:!1});var vt=t.createContext(null);function mt(){return null!=t.useContext(ht)}function gt(){return mt()||Ze(!1),t.useContext(ht).location}function yt(e,n,r){mt()||Ze(!1);var i,a=t.useContext(ft).navigator,o=t.useContext(pt).matches,s=o[o.length-1],l=s?s.params:{},u=(s&&s.pathname,s?s.pathnameBase:"/"),c=(s&&s.route,gt());if(n){var d,f="string"===typeof n?ze(n):n;"/"===u||(null==(d=f.pathname)?void 0:d.startsWith(u))||Ze(!1),i=f}else i=c;var h=i.pathname||"/",p=Fe(e,{pathname:"/"===u?h:h.slice(u.length)||"/"});var v=Mt(p&&p.map((function(e){return Object.assign({},e,{params:Object.assign({},l,e.params),pathname:nt([u,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:nt([u,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),o,r);return n&&v?t.createElement(ht.Provider,{value:{location:lt({pathname:"/",search:"",hash:"",state:null,key:"default"},i),navigationType:Ae.Pop}},v):v}function bt(){var e=function(){var e,n=t.useContext(vt),r=Et(wt.UseRouteError),i=Tt(wt.UseRouteError);if(n)return n;return null==(e=r.errors)?void 0:e[i]}(),n=at(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application 
2Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),r?t.createElement("pre",{style:a},r):null,null)}var xt,wt,St=t.createElement(bt,null),_t=function(e){(0,we.Z)(r,e);var n=(0,Se.Z)(r);function r(e){var t;return(0,be.Z)(this,r),(t=n.call(this,e)).state={location:e.location,revalidation:e.revalidation,error:e.error},t}return(0,xe.Z)(r,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?t.createElement(pt.Provider,{value:this.props.routeContext},t.createElement(vt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),r}(t.Component);function kt(e){var n=e.routeContext,r=e.match,i=e.children,a=t.useContext(ut);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(pt.Provider,{value:n},i)}function Mt(e,n,r){var i;if(void 0===n&&(n=[]),void 0===r&&(r=null),null==e){var a;if(null==(a=r)||!a.errors)return null;e=r.matches}var o=e,s=null==(i=r)?void 0:i.errors;if(null!=s){var l=o.findIndex((function(e){return e.route.id&&(null==s?void 0:s[e.route.id])}));l>=0||Ze(!1),o=o.slice(0,Math.min(o.length,l+1))}return o.reduceRight((function(e,i,a){var l=i.route.id?null==s?void 0:s[i.route.id]:null,u=null;r&&(u=i.route.errorElement||St);var c=n.concat(o.slice(0,a+1)),d=function(){var n;return n=l?u:i.route.Component?t.createElement(i.route.Component,null):i.route.element?i.route.element:e,t.createElement(kt,{match:i,routeContext:{outlet:e,matches:c,isDataRoute:null!=r},children:n})};return r&&(i.route.ErrorBoundary||i.route.errorElement||0===a)?t.createElement(_t,{location:r.location,revalidation:r.revalidation,component:u,error:l,children:d(),routeContext:{outlet:null,matches:c,isDataRoute:!0}}):d()}),null)}function Et(e){var n=t.useContext(ct);return n||Ze(!1),n}function Tt(e){var n=function(e){var n=t.useContext(pt);return n||Ze(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||Ze(!1),r.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(xt||(xt={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(wt||(wt={}));var Ct;function At(e){Ze(!1)}function Pt(e){var n=e.basename,r=void 0===n?"/":n,i=e.children,a=void 0===i?null:i,o=e.location,s=e.navigationType,l=void 0===s?Ae.Pop:s,u=e.navigator,c=e.static,d=void 0!==c&&c;mt()&&Ze(!1);var f=r.replace(/^\/*/,"/"),h=t.useMemo((function(){return{basename:f,navigator:u,static:d}}),[f,u,d]);"string"===typeof o&&(o=ze(o));var p=o,v=p.pathname,m=void 0===v?"/":v,g=p.search,y=void 0===g?"":g,b=p.hash,x=void 0===b?"":b,w=p.state,S=void 0===w?null:w,_=p.key,k=void 0===_?"default":_,M=t.useMemo((function(){var e=tt(m,f);return null==e?null:{location:{pathname:e,search:y,hash:x,state:S,key:k},navigationType:l}}),[f,m,y,x,S,k,l]);return null==M?null:t.createElement(ft.Provider,{value:h},t.createElement(ht.Provider,{children:a,value:M}))}function Rt(e){var t=e.children,n=e.location;return yt(Lt(t),n)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(Ct||(Ct={}));var Ot=new Promise((function(){}));t.Component;function Lt(e,n){void 0===n&&(n=[]);var r=[];return t.Children.forEach(e,(function(e,i){if(t.isValidElement(e)){var a=[].concat((0,ye.Z)(n),[i]);if(e.type!==t.Fragment){e.type!==At&&Ze(!1),e.props.index&&e.props.children&&Ze(!1);var o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=Lt(e.props.children,a)),r.push(o)}else r.push.apply(r,Lt(e.props.children,a))}})),r}function Zt(e){var n=e.basename,r=e.children,i=e.window,o=t.useRef();null==o.current&&(o.current=function(e){return void 0===e&&(e={}),Ue((function(e,t){var n=e.location;return je("",{pathname:n.pathname,search:n.search,hash:n.hash},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:De(t)}),null,e)}({window:i,v5Compat:!0}));var s=o.current,l=t.useState({action:s.action,location:s.location}),u=(0,a.Z)(l,2),c=u[0],d=u[1];return t.useLayoutEffect((function(){return s.listen(d)}),[s]),t.createElement(Pt,{basename:n,children:r,location:c.location,navigationType:c.action,navigator:s})}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var Nt,It;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Nt||(Nt={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(It||(It={}));n.p;var jt=n(9120),Dt=n(3073),zt=n(162);function Ut(e,n,r,i,o){var s=t.useState((function(){return o&&r?r(e).matches:i?i(e).matches:n})),l=(0,a.Z)(s,2),u=l[0],c=l[1];return(0,zt.Z)((function(){var t=!0;if(r){var n=r(e),i=function(){t&&c(n.matches)};return i(),n.addListener(i),function(){t=!1,n.removeListener(i)}}}),[e,r]),u}var Ft=r.useSyncExternalStore;function Bt(e,n,r,i,o){var s=t.useCallback((function(){return n}),[n]),l=t.useMemo((function(){if(o&&r)return function(){return r(e).matches};if(null!==i){var t=i(e).matches;return function(){return t}}return s}),[s,e,i,o,r]),u=t.useMemo((function(){if(null===r)return[s,function(){return function(){}}];var t=r(e);return[function(){return t.matches},function(e){return t.addListener(e),function(){t.removeListener(e)}}]}),[s,r,e]),c=(0,a.Z)(u,2),d=c[0],f=c[1];return Ft(f,d,l)}function Vt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,jt.Z)(),r="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,i=(0,Dt.Z)({name:"MuiUseMediaQuery",props:t,theme:n}),a=i.defaultMatches,o=void 0!==a&&a,s=i.matchMedia,l=void 0===s?r?window.matchMedia:null:s,u=i.ssrMatchMedia,c=void 0===u?null:u,d=i.noSsr,f=void 0!==d&&d;var h="function"===typeof e?e(n):e;return h=h.replace(/^@media( ?)/m,""),(void 0!==Ft?Bt:Ut)(h,o,l,c,f)}var Ht=n(418),Wt=n(6482),Gt=n(988);function qt(){var e=(0,Ht.Z)(Wt.Z);return e[Gt.Z]||e}
2var Xt=n(2026),Yt=n.n(Xt),Jt=n(4942),Kt=n(3366),Qt=n(7462),$t=n(8182),en=n(5735),tn=n(4419),nn=n(2065),rn=n(7630),an=n(3736),on=n(2071),sn=n(9683),ln=n(3031);function un(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var cn=n(7326),dn=n(9611);function fn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,dn.Z)(e,t)}var hn=t.createContext(null);function pn(e,n){var r=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return n&&(0,t.isValidElement)(e)?n(e):e}(e)})),r}function vn(e,t,n){return null!=n[t]?n[t]:e.props[t]}function mn(e,n,r){var i=pn(e.children),a=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),a=[];for(var o in e)o in t?a.length&&(i[o]=a,a=[]):a.push(o);var s={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++){var u=i[l][r];s[i[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<a.length;r++)s[a[r]]=n(a[r]);return s}(n,i);return Object.keys(a).forEach((function(o){var s=a[o];if((0,t.isValidElement)(s)){var l=o in n,u=o in i,c=n[o],d=(0,t.isValidElement)(c)&&!c.props.in;!u||l&&!d?u||!l||d?u&&l&&(0,t.isValidElement)(c)&&(a[o]=(0,t.cloneElement)(s,{onExited:r.bind(null,s),in:c.props.in,exit:vn(s,"exit",e),enter:vn(s,"enter",e)})):a[o]=(0,t.cloneElement)(s,{in:!1}):a[o]=(0,t.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:vn(s,"exit",e),enter:vn(s,"enter",e)})}})),a}var gn=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},yn=function(e){function n(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,cn.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}fn(n,e);var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,n){var r,i,a=n.children,o=n.handleExited;return{children:n.firstRender?(r=e,i=o,pn(r.children,(function(e){return(0,t.cloneElement)(e,{onExited:i.bind(null,e),in:!0,appear:vn(e,"appear",r),enter:vn(e,"enter",r),exit:vn(e,"exit",r)})}))):mn(e,a,o),firstRender:!1}},r.handleExited=function(e,t){var n=pn(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,Qt.Z)({},t.children);return delete n[e.key],{children:n}})))},r.render=function(){var e=this.props,n=e.component,r=e.childFactory,i=(0,Kt.Z)(e,["component","childFactory"]),a=this.state.contextValue,o=gn(this.state.children).map(r);return delete i.appear,delete i.enter,delete i.exit,null===n?t.createElement(hn.Provider,{value:a},o):t.createElement(hn.Provider,{value:a},t.createElement(n,i,o))},n}(t.Component);yn.propTypes={},yn.defaultProps={component:"div",childFactory:function(e){return e}};var bn=yn,xn=n(2564),wn=n(5438),Sn=n(2561),_n=n(9140),kn=(n(3361),n(2110),(0,xn.w)((function(e,n){var r=e.styles,i=(0,_n.O)([r],void 0,t.useContext(xn.T));if(!xn.i){for(var a,o=i.name,s=i.styles,l=i.next;void 0!==l;)o+=" "+l.name,s+=l.styles,l=l.next;var u=!0===n.compat,c=n.insert("",{name:o,styles:s},n.sheet,u);return u?null:t.createElement("style",((a={})["data-emotion"]=n.key+"-global "+o,a.dangerouslySetInnerHTML={__html:c},a.nonce=n.sheet.nonce,a))}var d=t.useRef();return(0,Sn.j)((function(){var e=n.key+"-global",t=new n.sheet.constructor({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,a=document.querySelector('style[data-emotion="'+e+" "+i.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==a&&(r=!0,a.setAttribute("data-emotion",e),t.hydrate([a])),d.current=[t,r],function(){t.flush()}}),[n]),(0,Sn.j)((function(){var e=d.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==i.next&&(0,wn.My)(n,i.next,!0),t.tags.length){var r=t.tags[t.tags.length-1].nextElementSibling;t.before=r,t.flush()}n.insert("",i,t,!1)}}),[n,i.name]),null})));function Mn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,_n.O)(t)}var En=function(){var e=Mn.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_"}}};var Tn=function(e){var n=e.className,r=e.classes,i=e.pulsate,s=void 0!==i&&i,l=e.rippleX,u=e.rippleY,c=e.rippleSize,d=e.in,f=e.onExited,h=e.timeout,p=t.useState(!1),v=(0,a.Z)(p,2),m=v[0],g=v[1],y=(0,$t.Z)(n,r.ripple,r.rippleVisible,s&&r.ripplePulsate),b={width:c,height:c,top:-c/2+u,left:-c/2+l},x=(0,$t.Z)(r.child,m&&r.childLeaving,s&&r.childPulsate);return d||m||g(!0),t.useEffect((function(){if(!d&&null!=f){var e=setTimeout(f,h);return function(){clearTimeout(e)}}}),[f,d,h]),(0,o.jsx)("span",{className:y,style:b,children:(0,o.jsx)("span",{className:x})})},Cn=n(5878);var An,Pn,Rn,On,Ln,Zn,Nn,In,jn=(0,Cn.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Dn=["center","classes","className"],zn=En(Ln||(Ln=An||(An=un(["\n  0% {\n    transform: scale(0);\n    opacity: 0.1;\n  }\n\n  100% {\n    transform: scale(1);\n    opacity: 0.3;\n  }\n"])))),Un=En(Zn||(Zn=Pn||(Pn=un(["\n  0% {\n    opacity: 1;\n  }\n\n  100% {\n    opacity: 0;\n  }
2\n"])))),Fn=En(Nn||(Nn=Rn||(Rn=un(["\n  0% {\n    transform: scale(1);\n  }\n\n  50% {\n    transform: scale(0.92);\n  }\n\n  100% {\n    transform: scale(1);\n  }\n"])))),Bn=(0,rn.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Vn=(0,rn.ZP)(Tn,{name:"MuiTouchRipple",slot:"Ripple"})(In||(In=On||(On=un(["\n  opacity: 0;\n  position: absolute;\n\n  &."," {\n    opacity: 0.3;\n    transform: scale(1);\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  &."," {\n    animation-duration: ","ms;\n  }\n\n  & ."," {\n    opacity: 1;\n    display: block;\n    width: 100%;\n    height: 100%;\n    border-radius: 50%;\n    background-color: currentColor;\n  }\n\n  & ."," {\n    opacity: 0;\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  & ."," {\n    position: absolute;\n    /* @noflip */\n    left: 0px;\n    top: 0;\n    animation-name: ",";\n    animation-duration: 2500ms;\n    animation-timing-function: ",";\n    animation-iteration-count: infinite;\n    animation-delay: 200ms;\n  }\n"]))),jn.rippleVisible,zn,550,(function(e){return e.theme.transitions.easing.easeInOut}),jn.ripplePulsate,(function(e){return e.theme.transitions.duration.shorter}),jn.child,jn.childLeaving,Un,550,(function(e){return e.theme.transitions.easing.easeInOut}),jn.childPulsate,Fn,(function(e){return e.theme.transitions.easing.easeInOut})),Hn=t.forwardRef((function(e,n){var r=(0,an.Z)({props:e,name:"MuiTouchRipple"}),i=r.center,s=void 0!==i&&i,l=r.classes,u=void 0===l?{}:l,c=r.className,d=(0,Kt.Z)(r,Dn),f=t.useState([]),h=(0,a.Z)(f,2),p=h[0],v=h[1],m=t.useRef(0),g=t.useRef(null);t.useEffect((function(){g.current&&(g.current(),g.current=null)}),[p]);var y=t.useRef(!1),b=t.useRef(null),x=t.useRef(null),w=t.useRef(null);t.useEffect((function(){return function(){clearTimeout(b.current)}}),[]);var S=t.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,i=e.rippleSize,a=e.cb;v((function(e){return[].concat((0,ye.Z)(e),[(0,o.jsx)(Vn,{classes:{ripple:(0,$t.Z)(u.ripple,jn.ripple),rippleVisible:(0,$t.Z)(u.rippleVisible,jn.rippleVisible),ripplePulsate:(0,$t.Z)(u.ripplePulsate,jn.ripplePulsate),child:(0,$t.Z)(u.child,jn.child),childLeaving:(0,$t.Z)(u.childLeaving,jn.childLeaving),childPulsate:(0,$t.Z)(u.childPulsate,jn.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},m.current)])})),m.current+=1,g.current=a}),[u]),_=t.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=t.pulsate,i=void 0!==r&&r,a=t.center,o=void 0===a?s||t.pulsate:a,l=t.fakeElement,u=void 0!==l&&l;if("mousedown"===(null==e?void 0:e.type)&&y.current)y.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(y.current=!0);var c,d,f,h=u?null:w.current,p=h?h.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(p.width/2),d=Math.round(p.height/2);else{var v=e.touches&&e.touches.length>0?e.touches[0]:e,m=v.clientX,g=v.clientY;c=Math.round(m-p.left),d=Math.round(g-p.top)}if(o)(f=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(f+=1);
vendor: 4,278 bytes, line 2
2else{var _=2*Math.max(Math.abs((h?h.clientWidth:0)-c),c)+2,k=2*Math.max(Math.abs((h?h.clientHeight:0)-d),d)+2;f=Math.sqrt(Math.pow(_,2)+Math.pow(k,2))}null!=e&&e.touches?null===x.current&&(x.current=function(){S({pulsate:i,rippleX:c,rippleY:d,rippleSize:f,cb:n})},b.current=setTimeout((function(){x.current&&(x.current(),x.current=null)}),80)):S({pulsate:i,rippleX:c,rippleY:d,rippleSize:f,cb:n})}}),[s,S]),k=t.useCallback((function(){_({},{pulsate:!0})}),[_]),M=t.useCallback((function(e,t){if(clearTimeout(b.current),"touchend"===(null==e?void 0:e.type)&&x.current)return x.current(),x.current=null,void(b.current=setTimeout((function(){M(e,t)})));x.current=null,v((function(e){return e.length>0?e.slice(1):e})),g.current=t}),[]);return t.useImperativeHandle(n,(function(){return{pulsate:k,start:_,stop:M}}),[k,_,M]),(0,o.jsx)(Bn,(0,Qt.Z)({className:(0,$t.Z)(jn.root,u.root,c),ref:w},d,{children:(0,o.jsx)(bn,{component:null,exit:!0,children:p})}))})),Wn=Hn,Gn=n(1217);function qn(e){return(0,Gn.Z)("MuiButtonBase",e)}var Xn,Yn=(0,Cn.Z)("MuiButtonBase",["root","disabled","focusVisible"]),Jn=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Kn=(0,rn.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((Xn={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},(0,Jt.Z)(Xn,"&.".concat(Yn.disabled),{pointerEvents:"none",cursor:"default"}),(0,Jt.Z)(Xn,"@media print",{colorAdjust:"exact"}),Xn)),Qn=t.forwardRef((function(e,n){var r=(0,an.Z)({props:e,name:"MuiButtonBase"}),i=r.action,s=r.centerRipple,l=void 0!==s&&s,u=r.children,c=r.className,d=r.component,f=void 0===d?"button":d,h=r.disabled,p=void 0!==h&&h,v=r.disableRipple,m=void 0!==v&&v,g=r.disableTouchRipple,y=void 0!==g&&g,b=r.focusRipple,x=void 0!==b&&b,w=r.LinkComponent,S=void 0===w?"a":w,_=r.onBlur,k=r.onClick,M=r.onContextMenu,E=r.onDragLeave,T=r.onFocus,C=r.onFocusVisible,A=r.onKeyDown,P=r.onKeyUp,R=r.onMouseDown,O=r.onMouseLeave,L=r.onMouseUp,Z=r.onTouchEnd,N=r.onTouchMove,I=r.onTouchStart,j=r.tabIndex,D=void 0===j?0:j,z=r.TouchRippleProps,U=r.touchRippleRef,F=r.type,B=(0,Kt.Z)(r,Jn),V=t.useRef(null),H=t.useRef(null),W=(0,on.Z)(H,U),G=(0,ln.Z)(),q=G.isFocusVisibleRef,X=G.onFocus,Y=G.onBlur,J=G.ref,K=t.useState(!1),Q=(0,a.Z)(K,2),$=Q[0],ee=Q[1];p&&$&&ee(!1),t.useImperativeHandle(i,(function(){return{focusVisible:function(){ee(!0),V.current.focus()}}}),[]);var te=t.useState(!1),ne=(0,a.Z)(te,2),re=ne[0],ie=ne[1];t.useEffect((function(){ie(!0)}),[]);var ae=re&&!m&&!p;function oe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return(0,sn.Z)((function(r){return t&&t(r),!n&&H.current&&H.current[e](r),!0}))}t.useEffect((function(){$&&x&&!m&&re&&H.current.pulsate()}),[m,x,$,re]);var se=oe("start",R),le=oe("stop",M),ue=oe("stop",E),ce=oe("stop",L),de=oe("stop",(function(e){$&&e.preventDefault(),O&&O(e)})),fe=oe("start",I),he=oe("stop",Z),pe=oe("stop",N),ve=oe("stop",(function(e){Y(e),!1===q.current&&ee(!1),_&&_(e)}),!1),me=(0,sn.Z)((function(e){V.current||(V.current=e.currentTarget),X(e),!0===q.current&&(ee(!0),C&&C(e)),T&&T(e)})),ge=function(){var e=V.current;return f&&"button"!==f&&!("A"===e.tagName&&e.href)},ye=t.useRef(!1),be=(0,sn.Z)((function(e){x&&!ye.current&&$&&H.current&&" "===e.key&&(ye.current=!0,H.current.stop(e,(function(){H.current.start(e)}))),e.target===e.currentTarget&&ge()&&" "===e.key&&e.preventDefault(),A&&A(e),e.target===e.currentTarget&&ge()&&"Enter"===e.key&&!p&&(e.preventDefault(),k&&k(e))})),xe=(0,sn.Z)((function(e){x&&" "===e.key&&H.current&&$&&!e.defaultPrevented&&(ye.current=!1,H.
2current.stop(e,(function(){H.current.pulsate(e)}))),P&&P(e),k&&e.target===e.currentTarget&&ge()&&" "===e.key&&!e.defaultPrevented&&k(e)})),we=f;"button"===we&&(B.href||B.to)&&(we=S);var Se={};"button"===we?(Se.type=void 0===F?"button":F,Se.disabled=p):(B.href||B.to||(Se.role="button"),p&&(Se["aria-disabled"]=p));var _e=(0,on.Z)(n,J,V);var ke=(0,Qt.Z)({},r,{centerRipple:l,component:f,disabled:p,disableRipple:m,disableTouchRipple:y,focusRipple:x,tabIndex:D,focusVisible:$}),Me=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,i=e.classes,a={root:["root",t&&"disabled",n&&"focusVisible"]},o=(0,tn.Z)(a,qn,i);return n&&r&&(o.root+=" ".concat(r)),o}(ke);return(0,o.jsxs)(Kn,(0,Qt.Z)({as:we,className:(0,$t.Z)(Me.root,c),ownerState:ke,onBlur:ve,onClick:k,onContextMenu:le,onFocus:me,onKeyDown:be,onKeyUp:xe,onMouseDown:se,onMouseLeave:de,onMouseUp:ce,onDragLeave:ue,onTouchEnd:he,onTouchMove:pe,onTouchStart:fe,ref:_e,tabIndex:p?-1:D,type:F},Se,B,{children:[u,ae?(0,o.jsx)(Wn,(0,Qt.Z)({ref:W,center:l},z)):null]}))})),$n=Qn,er=n(4036);function tr(e){return(0,Gn.Z)("MuiButton",e)}var nr=(0,Cn.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var rr=t.createContext({}),ir=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],ar=function(e){return(0,Qt.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},or=(0,rn.ZP)($n,{shouldForwardProp:function(e){return(0,rn.FO)(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,er.Z)(n.color))],t["size".concat((0,er.Z)(n.size))],t["".concat(n.variant,"Size").concat((0,er.Z)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,r,i=e.theme,a=e.ownerState,o="light"===i.palette.mode?i.palette.grey[300]:i.palette.grey[800],s="light"===i.palette.mode?i.palette.grey.A100:i.palette.grey[700];return(0,Qt.Z)({},i.typography.button,(t={minWidth:64,padding:"6px 16px",borderRadius:(i.vars||i).shape.borderRadius,transition:i.transitions.create(["background-color","box-shadow","border-color","color"],{duration:i.transitions.duration.short}),"&:hover":(0,Qt.Z)({textDecoration:"none",backgroundColor:i.vars?"rgba(".concat(i.vars.palette.text.primaryChannel," / ").concat(i.vars.palette.action.hoverOpacity,")"):(0,nn.Fq)(i.palette.text.primary,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===a.variant&&"inherit"!==a.color&&{backgroundColor:i.vars?"rgba(".concat(i.vars.palette[a.color].mainChannel," / ").concat(i.vars.palette.action.hoverOpacity,")"):(0,nn.Fq)(i.palette[a.color].main,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===a.variant&&"inherit"!==a.color&&{border:"1px solid ".concat((i.vars||i).palette[a.color].main),backgroundColor:i.vars?"rgba(".concat(i.vars.palette[a.color].mainChannel," / ").concat(i.vars.palette.action.hoverOpacity,")"):(0,nn.Fq)(i.palette[a.color].main,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===a.variant&&{backgroundColor:i.vars?i.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(i.vars||i).shadows[4],"@media (hover: none)":{boxShadow:(i.vars||i).shadows[2],backgroundColor:(i.vars||i).palette.grey[300]}},"contained"===a.variant&&"inherit"!==a.color&&{backgroundColor:(i.vars||i).palette[a.color].dark,"@media (hover: none)":{backgroundColor:(i.vars||i).palette[a.color].main}}),"&:active":(0,Qt.Z)({},"contained"===a.variant&&{boxShadow:(i.vars||i).shadows[8]})},(0,Jt.Z)(t,"&.".concat(nr.focusVisible),(0,Qt.Z)({},"contained"===a.variant&&{boxShadow:(i.vars||i).shadows[6]})),(0,Jt.Z)(t,"&.".concat(nr.disabled),(0,Qt.Z)({color:(i.vars||i).palette.action.disabled},"outlined"===a.variant&&{border:"1px solid ".concat((i.vars||i).palette.action.disabledBackgroun
2d)},"contained"===a.variant&&{color:(i.vars||i).palette.action.disabled,boxShadow:(i.vars||i).shadows[0],backgroundColor:(i.vars||i).palette.action.disabledBackground})),t),"text"===a.variant&&{padding:"6px 8px"},"text"===a.variant&&"inherit"!==a.color&&{color:(i.vars||i).palette[a.color].main},"outlined"===a.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===a.variant&&"inherit"!==a.color&&{color:(i.vars||i).palette[a.color].main,border:i.vars?"1px solid rgba(".concat(i.vars.palette[a.color].mainChannel," / 0.5)"):"1px solid ".concat((0,nn.Fq)(i.palette[a.color].main,.5))},"contained"===a.variant&&{color:i.vars?i.vars.palette.text.primary:null==(n=(r=i.palette).getContrastText)?void 0:n.call(r,i.palette.grey[300]),backgroundColor:i.vars?i.vars.palette.Button.inheritContainedBg:o,boxShadow:(i.vars||i).shadows[2]},"contained"===a.variant&&"inherit"!==a.color&&{color:(i.vars||i).palette[a.color].contrastText,backgroundColor:(i.vars||i).palette[a.color].main},"inherit"===a.color&&{color:"inherit",borderColor:"currentColor"},"small"===a.size&&"text"===a.variant&&{padding:"4px 5px",fontSize:i.typography.pxToRem(13)},"large"===a.size&&"text"===a.variant&&{padding:"8px 11px",fontSize:i.typography.pxToRem(15)},"small"===a.size&&"outlined"===a.variant&&{padding:"3px 9px",fontSize:i.typography.pxToRem(13)},"large"===a.size&&"outlined"===a.variant&&{padding:"7px 21px",fontSize:i.typography.pxToRem(15)},"small"===a.size&&"contained"===a.variant&&{padding:"4px 10px",fontSize:i.typography.pxToRem(13)},"large"===a.size&&"contained"===a.variant&&{padding:"8px 22px",fontSize:i.typography.pxToRem(15)},a.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(t={boxShadow:"none","&:hover":{boxShadow:"none"}},(0,Jt.Z)(t,"&.".concat(nr.focusVisible),{boxShadow:"none"}),(0,Jt.Z)(t,"&:active",{boxShadow:"none"}),(0,Jt.Z)(t,"&.".concat(nr.disabled),{boxShadow:"none"}),t)})),sr=(0,rn.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat((0,er.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,Qt.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},ar(t))})),lr=(0,rn.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat((0,er.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,Qt.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},ar(t))})),ur=t.forwardRef((function(e,n){var r=t.useContext(rr),i=(0,en.Z)(r,e),a=(0,an.Z)({props:i,name:"MuiButton"}),s=a.children,l=a.color,u=void 0===l?"primary":l,c=a.component,d=void 0===c?"button":c,f=a.className,h=a.disabled,p=void 0!==h&&h,v=a.disableElevation,m=void 0!==v&&v,g=a.disableFocusRipple,y=void 0!==g&&g,b=a.endIcon,x=a.focusVisibleClassName,w=a.fullWidth,S=void 0!==w&&w,_=a.size,k=void 0===_?"medium":_,M=a.startIcon,E=a.type,T=a.variant,C=void 0===T?"text":T,A=(0,Kt.Z)(a,ir),P=(0,Qt.Z)({},a,{color:u,component:d,disabled:p,disableElevation:m,disableFocusRipple:y,fullWidth:S,size:k,type:E,variant:C}),R=function(e){var t=e.color,n=e.disableElevation,r=e.fullWidth,i=e.size,a=e.variant,o=e.classes,s={root:["root",a,"".concat(a).concat((0,er.Z)(t)),"size".concat((0,er.Z)(i)),"".concat(a,"Size").concat((0,er.Z)(i)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,er.Z)(i))],endIcon:["endIcon","iconSize".concat((0,er.Z)(i))]},l=(0,tn.Z)(s,tr,o);return(0,Qt.Z)({},o,l)}(P),O=M&&(0,o.jsx)(sr,{className:R.startIcon,ownerState:P,children:M}),L=b&&(0,o.jsx)(lr,{className:R.endIcon,ownerState:P,children:b});return(0,o.jsxs)(or,(0,Qt.Z)({ownerState:P,className:(0,$t.Z)(r.className,R.root,f),component:d,disabled:p,focusRipple:!y,focusVisibleClassName:(0,$t.Z)(R.focusVisible,x),ref:n,type:E},A,{classes:R,children:[O,s,L]}))})),cr=ur,dr=n(1184),fr=n(2466),hr=n(7416),pr=["sx"],vr=function(e){var t,n,r={systemProps:{},otherProps:{}},i=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:hr.Z;return Object.keys(e).forEach((function(t){i[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function mr(e){var t,n=e.sx,r=(0,Kt.Z)(e,pr),i=vr(r),a=i.systemProps,o=i.otherProps;return t=Array.isArray(n)?[a].concat((0,ye.Z)(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return(0,fr.P)(e)?(0,Qt.Z)({},a,e):a}:(0,Qt.Z)({},a,n),(0,Qt.Z)({},o,{sx:t})}var gr=t.createContext();function yr(e){return(0,Gn.Z)("MuiGrid",e)}var br=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],xr=(0,Cn.Z)("MuiGrid",["root","container","item","zeroMinWidth"].concat((0,ye.Z)([0,1,2,3,4,5,6,7,8,9,10].map((function(e){return"spacing-xs-".concat(e)}))),(0,ye.Z)(["column-reverse","column","row-reverse","row"].map((function(e){return"direction-xs-".concat(e)}))),(0,ye.Z)(["nowrap","wrap-reverse","wrap"].map((function(e){return"wrap-xs-".concat(e)}))),(0,ye.Z)(br.map((function(e){return"grid-xs-".concat(e)}))),(0,ye.Z)(br.map((function(e){return"grid-sm-".concat(e)}))),(0,ye.Z)(br.map((function(e){return"grid-md-".concat(e)}))),(0,ye.Z)(br.map((function(e){return"grid-lg-".concat(e)}))),(0,ye.Z)(br.map((function(e){return"grid-xl-".concat(e)}))))),wr=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Sr(e){var t=parseFloat(e);return"".concat(t).concat(String(e).replace(String(t),"")||"px")}function _r(e){var t=e.breakpoints,n=e.values,r="";
2Object.keys(n).forEach((function(e){""===r&&0!==n[e]&&(r=e)}));var i=Object.keys(t).sort((function(e,n){return t[e]-t[n]}));return i.slice(0,i.indexOf(r))}var kr=(0,rn.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.container,i=n.direction,a=n.item,o=n.spacing,s=n.wrap,l=n.zeroMinWidth,u=n.breakpoints,c=[];r&&(c=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n["spacing-xs-".concat(String(e))]];var r=[];return t.forEach((function(t){var i=e[t];Number(i)>0&&r.push(n["spacing-".concat(t,"-").concat(String(i))])})),r}(o,u,t));var d=[];return u.forEach((function(e){var r=n[e];r&&d.push(t["grid-".concat(e,"-").concat(String(r))])})),[t.root,r&&t.container,a&&t.item,l&&t.zeroMinWidth].concat((0,ye.Z)(c),["row"!==i&&t["direction-xs-".concat(String(i))],"wrap"!==s&&t["wrap-xs-".concat(String(s))]],d)}})((function(e){var t=e.ownerState;return(0,Qt.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})}),(function(e){var t=e.theme,n=e.ownerState,r=(0,dr.P$)({values:n.direction,breakpoints:t.breakpoints.values});return(0,dr.k9)({theme:t},r,(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(xr.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,i=n.rowSpacing,a={};if(r&&0!==i){var o,s=(0,dr.P$)({values:i,breakpoints:t.breakpoints.values});"object"===typeof s&&(o=_r({breakpoints:t.breakpoints.values,values:s})),a=(0,dr.k9)({theme:t},s,(function(e,n){var r,i=t.spacing(e);return"0px"!==i?(0,Jt.Z)({marginTop:"-".concat(Sr(i))},"& > .".concat(xr.item),{paddingTop:Sr(i)}):null!=(r=o)&&r.includes(n)?{}:(0,Jt.Z)({marginTop:0},"& > .".concat(xr.item),{paddingTop:0})}))}return a}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,i=n.columnSpacing,a={};if(r&&0!==i){var o,s=(0,dr.P$)({values:i,breakpoints:t.breakpoints.values});"object"===typeof s&&(o=_r({breakpoints:t.breakpoints.values,values:s})),a=(0,dr.k9)({theme:t},s,(function(e,n){var r,i=t.spacing(e);return"0px"!==i?(0,Jt.Z)({width:"calc(100% + ".concat(Sr(i),")"),marginLeft:"-".concat(Sr(i))},"& > .".concat(xr.item),{paddingLeft:Sr(i)}):null!=(r=o)&&r.includes(n)?{}:(0,Jt.Z)({width:"100%",marginLeft:0},"& > .".concat(xr.item),{paddingLeft:0})}))}return a}),(function(e){var t,n=e.theme,r=e.ownerState;return n.breakpoints.keys.reduce((function(e,i){var a={};if(r[i]&&(t=r[i]),!t)return e;if(!0===t)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var o=(0,dr.P$)({values:r.columns,breakpoints:n.breakpoints.values}),s="object"===typeof o?o[i]:o;if(void 0===s||null===s)return e;var l="".concat(Math.round(t/s*1e8)/1e6,"%"),u={};if(r.container&&r.item&&0!==r.columnSpacing){var c=n.spacing(r.columnSpacing);if("0px"!==c){var d="calc(".concat(l," + ").concat(Sr(c),")");u={flexBasis:d,maxWidth:d}}}a=(0,Qt.Z)({flexBasis:l,flexGrow:0,maxWidth:l},u)}return 0===n.breakpoints.values[i]?Object.assign(e,a):e[n.breakpoints.up(i)]=a,e}),{})}));var Mr=function(e){var t=e.classes,n=e.container,r=e.direction,i=e.item,a=e.spacing,o=e.wrap,s=e.zeroMinWidth,l=e.breakpoints,u=[];n&&(u=function(e,t){if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return["spacing-xs-".concat(String(e))];var n=[];return t.forEach((function(t){var r=e[t];if(Number(r)>0){var i="spacing-".concat(t,"-").concat(String(r));n.push(i)}})),n}(a,l));var c=[];l.forEach((function(t){var n=e[t];n&&c.push("grid-".concat(t,"-").concat(String(n)))}));var d={root:["root",n&&"container",i&&"item",s&&"zeroMinWidth"].concat((0,ye.Z)(u),["row"!==r&&"direction-xs-".concat(String(r)),"wrap"!==o&&"wrap-xs-".concat(String(o))],c)};return(0,tn.Z)(d,yr,t)},Er=t.forwardRef((function(e,n){var r=(0,an.Z)({props:e,name:"MuiGrid"}),i=qt().breakpoints,a=mr(r),s=a.className,l=a.columns,u=a.columnSpacing,c=a.component,d=void 0===c?"div":c,f=a.container,h=void 0!==f&&f,p=a.direction,v=void 0===p?"row":p,m=a.item,g=void 0!==m&&m,y=a.rowSpacing,b
2=a.spacing,x=void 0===b?0:b,w=a.wrap,S=void 0===w?"wrap":w,_=a.zeroMinWidth,k=void 0!==_&&_,M=(0,Kt.Z)(a,wr),E=y||x,T=u||x,C=t.useContext(gr),A=h?l||12:C,P={},R=(0,Qt.Z)({},M);i.keys.forEach((function(e){null!=M[e]&&(P[e]=M[e],delete R[e])}));var O=(0,Qt.Z)({},a,{columns:A,container:h,direction:v,item:g,rowSpacing:E,columnSpacing:T,wrap:S,zeroMinWidth:k,spacing:x},P,{breakpoints:i.keys}),L=Mr(O);return(0,o.jsx)(gr.Provider,{value:A,children:(0,o.jsx)(kr,(0,Qt.Z)({ownerState:O,className:(0,$t.Z)(L.root,s),as:d,ref:n},R))})})),Tr=Er,Cr=n.p+"static/media/hero.3971d2b3d8146ca7f68d.png",Ar=n.p+"static/media/ethh.9c66fc9a791e3a89dcd9.png",Pr=n(1413),Rr=n(5987),Or=["xxl","xl","lg","md","sm","xs"],Lr=t.createContext({prefixes:{},breakpoints:Or,minBreakpoint:"xs"});Lr.Consumer,Lr.Provider;function Zr(e,n){var r=(0,t.useContext)(Lr).prefixes;return e||r[n]||n}var Nr=Function.prototype.bind.call(Function.prototype.call,[].slice);function Ir(e,t){return Nr(e.querySelectorAll(t))}var jr=!("undefined"===typeof window||!window.document||!window.document.createElement),Dr=!1,zr=!1;try{var Ur={get passive(){return Dr=!0},get once(){return zr=Dr=!0}};jr&&(window.addEventListener("test",Ur,Ur),window.removeEventListener("test",Ur,!0))}catch(nZ){}var Fr=function(e,t,n,r){if(r&&"boolean"!==typeof r&&!zr){var i=r.once,a=r.capture,o=n;!zr&&i&&(o=n.__once||function e(r){this.removeEventListener(t,e,a),n.call(this,r)},n.__once=o),e.addEventListener(t,o,Dr?r:a)}e.addEventListener(t,n,r)};function Br(e,n,r){var i=(0,t.useRef)(void 0!==e),o=(0,t.useState)(n),s=(0,a.Z)(o,2),l=s[0],u=s[1],c=void 0!==e,d=i.current;return i.current=c,!c&&d&&l!==n&&u(n),[c?e:l,(0,t.useCallback)((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];r&&r.apply(void 0,[e].concat(n)),u(e)}),[r])]}var Vr=function(e){var n=(0,t.useRef)(e);return(0,t.useEffect)((function(){n.current=e}),[e]),n};function Hr(e){var n=Vr(e);return(0,t.useCallback)((function(){return n.current&&n.current.apply(n,arguments)}),[n])}var Wr=t.createContext(null);var Gr=Object.prototype.hasOwnProperty;function qr(e,t,n){var r,i=(0,Pe.Z)(e.keys());try{for(i.s();!(r=i.n()).done;)if(Xr(n=r.value,t))return n}catch(a){i.e(a)}finally{i.f()}}function Xr(e,t){var n,r,i;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&Xr(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;var a,o=(0,Pe.Z)(e);try{for(o.s();!(a=o.n()).done;){if((i=r=a.value)&&"object"===typeof i&&!(i=qr(t,i)))return!1;if(!t.has(i))return!1}}catch(u){o.e(u)}finally{o.f()}return!0}if(n===Map){if(e.size!==t.size)return!1;var s,l=(0,Pe.Z)(e);try{for(l.s();!(s=l.n()).done;){if((i=(r=s.value)[0])&&"object"===typeof i&&!(i=qr(t,i)))return!1;if(!Xr(r[1],t.get(i)))return!1}}catch(u){l.e(u)}finally{l.f()}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"===typeof e){for(n in r=0,e){if(Gr.call(e,n)&&++r&&!Gr.call(t,n))return!1;if(!(n in t)||!Xr(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!==e&&t!==t}var Yr=function(e){var n=function(){var e=(0,t.useRef)(!0),n=(0,t.useRef)((function(){return e.current}));return(0,t.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),n.current}();return[e[0],(0,t.useCallback)((function(t){if(n())return e[1](t)}),[n,e[1]])]},Jr=n(8702),Kr=n(9224),Qr=n(7786),$r=n(5468),ei=n(1668),ti=n(5934),ni=n(545),ri=n(9790),ii=(0,n(761).kZ)({defaultModifiers:[ei.Z,ni.Z,Kr.Z,Qr.Z,ti.Z,$r.Z,ri.Z,Jr.Z]}),ai=["enabled","placement","strategy","modifiers"];var oi={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:function(){}},si={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:function(e){var t=e.state;return function(){var e=t.elements,n=e.reference,r=e.popper;if("removeAttribute"in n){var i=(n.getAttribute("aria-describedby")||"").split(",").filter((function(e){return e.trim()!==r.id}));i.length?n.setAttribute("aria-describedby",i.join(",")):n.removeAttribute("aria-describedby")}}},fn:function(e){var t,n=e.state.elements,r=n.popper,i=n.reference,a=null==(t=r.getAttribute("role"))?void 0:t.toLowerCase();if(r.id&&"tooltip"===a&&"setAttribute"in i){var o=i.getAttribute("aria-describedby");if(o&&-1!==o.split(",").indexOf(r.id))return;i.setAttribute("aria-describedby",o?"".concat(o,",").concat(r.id):r.id)}}},li=[];var ui=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.enabled,o=void 0===i||i,s=r.placement,l=void 0===s?"bottom":s,u=r.strategy,c=void 0===u?"absolute":u,d=r.modifiers,f=void 0===d?li:d,h=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(r,ai),p=(0,t.useRef)(f),v=(0,t.useRef)(),m=(0,t.useCallback)((function(){var e;
2null==(e=v.current)||e.update()}),[]),g=(0,t.useCallback)((function(){var e;null==(e=v.current)||e.forceUpdate()}),[]),y=Yr((0,t.useState)({placement:l,update:m,forceUpdate:g,attributes:{},styles:{popper:{},arrow:{}}})),b=(0,a.Z)(y,2),x=b[0],w=b[1],S=(0,t.useMemo)((function(){return{name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:function(e){var t=e.state,n={},r={};Object.keys(t.elements).forEach((function(e){n[e]=t.styles[e],r[e]=t.attributes[e]})),w({state:t,styles:n,attributes:r,update:m,forceUpdate:g,placement:t.placement})}}}),[m,g,w]),_=(0,t.useMemo)((function(){return Xr(p.current,f)||(p.current=f),p.current}),[f]);return(0,t.useEffect)((function(){v.current&&o&&v.current.setOptions({placement:l,strategy:c,modifiers:[].concat((0,ye.Z)(_),[S,oi])})}),[c,l,S,o,_]),(0,t.useEffect)((function(){if(o&&null!=e&&null!=n)return v.current=ii(e,n,Object.assign({},h,{placement:l,strategy:c,modifiers:[].concat((0,ye.Z)(_),[si,S])})),function(){null!=v.current&&(v.current.destroy(),v.current=void 0,w((function(e){return Object.assign({},e,{attributes:{},styles:{popper:{}}})})))}}),[o,e,n]),x};function ci(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}var di=function(e,t,n,r){var i=r&&"boolean"!==typeof r?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)};var fi=function(e,t,n,r){return Fr(e,t,n,r),function(){di(e,t,n,r)}};var hi=n(2391),pi=n.n(hi),vi=function(){};var mi=function(e){return e&&("current"in e?e.current:e)},gi={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};var yi=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vi,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.disabled,a=r.clickTrigger,o=void 0===a?"click":a,s=(0,t.useRef)(!1),l=(0,t.useRef)(!1),u=(0,t.useCallback)((function(t){var n=mi(e);pi()(!!n,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),s.current=!n||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t)||!function(e){return 0===e.button}(t)||!!ci(n,t.target)||l.current,l.current=!1}),[e]),c=Hr((function(t){var n=mi(e);n&&ci(n,t.target)&&(l.current=!0)})),d=Hr((function(e){s.current||n(e)}));(0,t.useEffect)((function(){var t,n;if(!i&&null!=e){var r,a=(r=mi(e))&&r.ownerDocument||document,s=a.defaultView||window,l=null!=(t=s.event)?t:null==(n=s.parent)?void 0:n.event,f=null;gi[o]&&(f=fi(a,gi[o],c,!0));var h=fi(a,o,u,!0),p=fi(a,o,(function(e){e!==l?d(e):l=void 0})),v=[];return"ontouchstart"in a.documentElement&&(v=[].slice.call(a.body.children).map((function(e){return fi(e,"mousemove",vi)}))),function(){null==f||f(),h(),p(),v.forEach((function(e){return e()}))}}}),[e,i,o,u,c,d])};function bi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(e)?e:Object.keys(e).map((function(t){return e[t].name=t,e[t]}))}function xi(e){var t,n,r,i,a,o=e.enabled,s=e.enableEvents,l=e.placement,u=e.flip,c=e.offset,d=e.fixed,f=e.containerPadding,h=e.arrowElement,p=e.popperConfig,v=void 0===p?{}:p,m=function(e){var t={};return Array.isArray(e)?(null==e||e.forEach((function(e){t[e.name]=e})),t):e||t}(v.modifiers);return Object.assign({},v,{placement:l,enabled:o,strategy:d?"fixed":v.strategy,modifiers:bi(Object.assign({},m,{eventListeners:{enabled:s,options:null==(t=m.eventListeners)?void 0:t.options},preventOverflow:Object.assign({},m.preventOverflow,{options:f?Object.assign({padding:f},null==(n=m.preventOverflow)?void 0:n.options):null==(r=m.preventOverflow)?void 0:r.options}),offset:{options:Object.assign({offset:c},null==(i=m.offset)?void 0:i.options)},arrow:Object.assign({},m.arrow,{enabled:!!h,options:Object.assign({},null==(a=m.arrow)?void 0:a.options,{element:h})}),flip:Object.assign({enabled:!!u},m.flip)}))})}var wi=["children"];var Si=function(){};function _i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,t.useContext)(Wr),r=(0,t.useState)(null),i=(0,a.Z)(r,2),o=i[0],s=i[1],l=(0,t.useRef)(!1),u=e.flip,c=e.offset,d=e.rootCloseEvent,f=e.fixed,h=void 0!==f&&f,p=e.placement,v=e.popperConfig,m=void 0===v?{}:v,g=e.enableEventListeners,y=void 0===g||g,b=e.usePopper,x=void 0===b?!!n:b,w=null==(null==n?void 0:n.show)?!!e.show:n.show;w&&!l.current&&(l.current=!0);var S=n||{},_=S.placement,k=S.setMenu,M=S.menuElement,E=S.toggleElement,T=ui(E,M,xi({placement:p||_||"bottom-start",enabled:x,enableEvents:null==y?w:y,offset:c,flip:u,fixed:h,arrowElement:o,popperConfig:m})),C=Object.assign({ref:k||Si,"aria-labelledby":null==E?void 0:E.id},T.attributes.popper,{style:T.styles.popper}
2),A={show:w,placement:_,hasShown:l.current,toggle:null==n?void 0:n.toggle,popper:x?T:null,arrowProps:x?Object.assign({ref:s},T.attributes.arrow,{style:T.styles.arrow}):{}};return yi(M,(function(e){null==n||n.toggle(!1,e)}),{clickTrigger:d,disabled:!w}),[C,A]}function ki(e){var t=e.children,n=_i(function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,wi)),r=(0,a.Z)(n,2),i=r[0],s=r[1];return(0,o.jsx)(o.Fragment,{children:t(i,s)})}ki.displayName="DropdownMenu",ki.defaultProps={usePopper:!0};var Mi=ki,Ei={prefix:String(Math.round(1e10*Math.random())),current:0,isSSR:!1},Ti=t.createContext(Ei);var Ci=Boolean("undefined"!==typeof window&&window.document&&window.document.createElement),Ai=new WeakMap;function Pi(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=(0,t.useContext)(Ti),r=(0,t.useRef)(null);if(null===r.current&&!e){var i,a,o=null===(i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===i||null===(a=i.ReactCurrentOwner)||void 0===a?void 0:a.current;if(o){var s=Ai.get(o);null==s?Ai.set(o,{id:n.current,state:o.memoizedState}):o.memoizedState!==s.state&&(n.current=s.id,Ai.delete(o))}r.current=++n.current}return r.current}var Ri=function(e){var t;return"menu"===(null==(t=e.getAttribute("role"))?void 0:t.toLowerCase())},Oi=function(){};function Li(){var e=function(e){var n=(0,t.useContext)(Ti);n!==Ei||Ci||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");var r=Pi(!!e);return e||"react-aria".concat(n.prefix,"-").concat(r)}(),n=(0,t.useContext)(Wr)||{},r=n.show,i=void 0!==r&&r,a=n.toggle,o=void 0===a?Oi:a,s=n.setToggle,l=n.menuElement,u=(0,t.useCallback)((function(e){o(!i,e)}),[i,o]),c={id:e,ref:s||Oi,onClick:u,"aria-expanded":!!i};return l&&Ri(l)&&(c["aria-haspopup"]=!0),[c,{show:i,toggle:o}]}function Zi(e){var t=e.children,n=Li(),r=(0,a.Z)(n,2),i=r[0],s=r[1];return(0,o.jsx)(o.Fragment,{children:t(i,s)})}Zi.displayName="DropdownToggle";var Ni=Zi,Ii=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null!=e?String(e):t||null},ji=t.createContext(null),Di=t.createContext(null);Di.displayName="NavContext";var zi=Di,Ui=["as","disabled"];function Fi(e){var t=e.tagName,n=e.disabled,r=e.href,i=e.target,a=e.rel,o=e.role,s=e.onClick,l=e.tabIndex,u=void 0===l?0:l,c=e.type;t||(t=null!=r||null!=i||null!=a?"a":"button");var d={tagName:t};if("button"===t)return[{type:c||"button",disabled:n},d];var f=function(e){(n||"a"===t&&function(e){return!e||"#"===e.trim()}(r))&&e.preventDefault(),n?e.stopPropagation():null==s||s(e)};return"a"===t&&(r||(r="#"),n&&(r=void 0)),[{role:null!=o?o:"button",disabled:void 0,tabIndex:n?void 0:u,href:r,target:"a"===t?i:void 0,"aria-disabled":n||void 0,rel:"a"===t?a:void 0,onClick:f,onKeyDown:function(e){" "===e.key&&(e.preventDefault(),f(e))}},d]}var Bi=t.forwardRef((function(e,t){var n=e.as,r=e.disabled,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Ui),s=Fi(Object.assign({tagName:n,disabled:r},i)),l=(0,a.Z)(s,2),u=l[0],c=l[1].tagName;return(0,o.jsx)(c,Object.assign({},i,u,{ref:t}))}));Bi.displayName="Button";var Vi=Bi,Hi="data-rr-ui-";function Wi(e){return"".concat(Hi).concat(e)}var Gi=["eventKey","disabled","onClick","active","as"];function qi(e){var n=e.key,r=e.href,i=e.active,a=e.disabled,o=e.onClick,s=(0,t.useContext)(ji),l=((0,t.useContext)(zi)||{}).activeKey,u=Ii(n,r),c=null==i&&null!=n?Ii(l)===u:i,d=Hr((function(e){a||(null==o||o(e),s&&!e.isPropagationStopped()&&s(u,e))}));return[(0,Jt.Z)({onClick:d,"aria-disabled":a||void 0,"aria-selected":c},Wi("dropdown-item"),""),{isActive:c}]}var Xi=t.forwardRef((function(e,t){var n=e.eventKey,r=e.disabled,i=e.onClick,s=e.active,l=e.as,u=void 0===l?Vi:l,c=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Gi),d=qi({key:n,href:c.href,disabled:r,onClick:i,active:s}),f=(0,a.Z)(d,1)[0];return(0,o.jsx)(u,Object.assign({},c,{ref:t},f))}));Xi.displayName="DropdownItem";var Yi=Xi,Ji=(0,t.createContext)(jr?window:void 0);Ji.Provider;function Ki(){var e=(0,t.useReducer)((function(e){return!e}),!1)[1],n=(0,t.useRef)(null),r=(0,t.useCallback)((function(t){n.current=t,e()}),[e]);return[n,r]}function Qi(e){var n=e.defaultShow,r=e.show,i=e.onSelect,s=e.onToggle,l=e.itemSelector,u=void 0===l?"* [".concat(Wi("dropdown-item"),"]"):l,c=e.focusFirstItemOnShow,d=e.placement,f=void 0===d?"bottom-start":d,h=e.children,p=(0,t.useContext)(Ji),v=Br(r,n,s),m=(0,a.Z)(v,2),g=m[0],y=m[1],b=Ki(),x=(0,a.Z)(b,2),w=x[0],S=x[1],_=w.current,k=Ki(),M=(0,a.Z)(k,2),E=M[0],T=M[1],C=E.current,A=function(e){var n=(0,t.useRef)(null);return(0,t.useEffect)((function(){n.current=e})),n.current}(g),P=(0,t.useRef)(null),R=(0,t.useRef)(!1),O=(0,t.useContext)(ji),L=(0,t.useCallback)((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null==t?void 0:t.type;y(e,{originalEvent:t,source:n})}),[y]),Z=Hr((function(e,t){null==i||i(e,t),L(!1,t,"select"),t.isPropagationStopped()||null==O||O(e,t)})),N=(0,t.useMemo)((function(){return{toggle:L,placement:f,show:g,menuElement:_,toggleElement:C,setMenu:S,setToggle:T}}),[L,f,g,_,C,S,T]);_&&A&&!g&&(R.current=_.contains(_.ownerDocument.activeElement));var I=Hr((function(){C&&C.focus&&C.focus()})),j=Hr((function(){var e=P.current,t=c;if(null==t&&(t=!(!w.current||!Ri(w.current))&&"keyboard"),!1!==t&&("keyboard"!==t||/^key.+$/.test(e))){var n=Ir(w.current,u)[0];n&&n.focus&&n.focus()}}));(0,t.useEffect)((function(){g?j():R.current&&(R.current=!1,I())}),[g,R,I,j]),(0,t.useEffect)((function(){P.current=null}));var D=function(e,t){if(!w.current)return null;var n=Ir(w.current,u),r=n.indexOf(e)+t;return n[r=Math.max(0,Math.min(r,n.length))]};return function(e,n,r,i){void 0===i&&(i=!1);var a=Hr(r);(0,t.useEffect)((function(){var t="function"===typeof e?e():e;return t.addEventListener(n,a,i),function(){return t.removeEventListener(n,a,i)}}),[e])}((0,t.useCallback)((function(){return p.document}),[p]),"keydown",(function(e){var t,n,r=e.key,i=e.target,a=null==(t=w.current)?void 0:t.contains(i),o=null==(n=E.current)?void 0:n.contains(i);if((!/input|textarea/i.test(i.tagName)||!(" "===r||"Escape"!==r&&a||"Escape"===r&&"search"===i.type))&&(a||o)&&("Tab"!==r||w.current&&g)){P.current=e.type;var s={originalEvent:e,source:e.type};switch(r){case"ArrowUp":var l=D(i,-1);return l&&l.focus&&l.focus(),void e.preventDefault();case"ArrowDown":if(e.preventDefault(),g){var u=D(i,1);u&&u.focus&&u.focus()}else y(!0,s);return;case"Tab":Fr(i.ownerDocument,"keyup",(function(e){var t;("Tab"!==e.key||e.target)&&null!=(t=w.current)&&t.contains(e.target)||y(!1,s)}),{once:!0});break;case"Escape":"Escape"===r&&(e.preventDefault(),e.stopPropagation()),y(!1,s)}}})),(0,o.jsx)(ji.Provider,{value:Z,children:(0,o.jsx)(Wr.Provider,{value:N,children:h})})}Qi.displayName="Dropdown",Qi.Menu=Mi,Qi.Toggle=Ni,Qi.Item=Yi;var $i=Qi;n(2176);function ea(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function ta(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}function na(e,n){return Object.keys(n).reduce((function(r,i){var a,o=r,s=o[ea(i)],l=o[i],u=(0,Kt.Z)(o,[ea(i),i].map(ta)),c=n[i],d=function(e,n,r){var i=(0,t.useRef)(void 0!==e),a=(0,t.useState)(n),o=a[0],s=a[1],l=void 0!==e,u=i.current;return i.current=l,!l&&u&&o!==n&&s(n),[l?e:o,(0,t.useCallback)((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];r&&r.apply(void 0,[e].concat(n)),s(e)}),[r])]}(l,s,e[c]),f=d[0],h=d[1];return(0,Qt.Z)({},u,((a={})[i]=f,a[c]=h,a))}),e)}function ra(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function ia(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function aa(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}ra.__suppressDeprecationWarning=!0,ia.__suppressDeprecationWarning=!0,aa.__suppressDeprecationWarning=!0;var oa=t.createContext({});oa.displayName="DropdownContext";var sa=oa;var la="undefined"!==typeof n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,ua="undefined"!==typeof document||la?t.useLayoutEffect:t.useEffect;new WeakMap;var ca=["onKeyDown"];var da=t.forwardRef((function(e,t){var n,r=e.onKeyDown,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,ca),s=Fi(Object.assign({tagName:"a"},i)),l=(0,a.Z)(s,1)[0],u=Hr((function(e){l.onKeyDown(e),null==r||r(e)}));return(n=i.href)&&"#"!==n.trim()&&"button"!==i.role?(0,o.jsx)("a",Object.assign({ref:t},i,{onKeyDown:r})):(0,o.jsx)("a",Object.assign({ref:t},i,l,{onKeyDown:u}))}));da.displayName="Anchor";
2var fa=da,ha=["bsPrefix","className","eventKey","disabled","onClick","active","as"],pa=t.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,i=e.eventKey,s=e.disabled,l=void 0!==s&&s,u=e.onClick,c=e.active,d=e.as,h=void 0===d?fa:d,p=(0,Rr.Z)(e,ha),v=Zr(n,"dropdown-item"),m=qi({key:i,href:p.href,disabled:l,onClick:u,active:c}),g=(0,a.Z)(m,2),y=g[0],b=g[1];return(0,o.jsx)(h,(0,Pr.Z)((0,Pr.Z)((0,Pr.Z)({},p),y),{},{ref:t,className:f()(r,v,b.isActive&&"active",l&&"disabled")}))}));pa.displayName="DropdownItem";var va=pa,ma=function(e){return e&&"function"!==typeof e?function(t){e.current=t}:e};var ga=function(e,n){return(0,t.useMemo)((function(){return function(e,t){var n=ma(e),r=ma(t);return function(e){n&&n(e),r&&r(e)}}(e,n)}),[e,n])},ya=t.createContext(null);ya.displayName="InputGroupContext";var ba=ya,xa=t.createContext(null);xa.displayName="NavbarContext";var wa=xa;function Sa(e,t){return e}var _a=["bsPrefix","className","align","rootCloseEvent","flip","show","renderOnMount","as","popperConfig","variant"];function ka(e,t,n){var r=e?n?"bottom-start":"bottom-end":n?"bottom-end":"bottom-start";return"up"===t?r=e?n?"top-start":"top-end":n?"top-end":"top-start":"end"===t?r=e?n?"left-end":"right-end":n?"left-start":"right-start":"start"===t?r=e?n?"right-end":"left-end":n?"right-start":"left-start":"down-centered"===t?r="bottom":"up-centered"===t&&(r="top"),r}var Ma=t.forwardRef((function(e,n){var r=e.bsPrefix,i=e.className,s=e.align,l=e.rootCloseEvent,u=e.flip,c=void 0===u||u,d=e.show,h=e.renderOnMount,p=e.as,v=void 0===p?"div":p,m=e.popperConfig,g=e.variant,y=(0,Rr.Z)(e,_a),b=!1,x=(0,t.useContext)(wa),w=Zr(r,"dropdown-menu"),S=(0,t.useContext)(sa),_=S.align,k=S.drop,M=S.isRTL;s=s||_;var E=(0,t.useContext)(ba),T=[];if(s)if("object"===typeof s){var C=Object.keys(s);if(C.length){var A=C[0],P=s[A];b="start"===P,T.push("".concat(w,"-").concat(A,"-").concat(P))}}else"end"===s&&(b=!0);var R=ka(b,k,M),O=_i({flip:c,rootCloseEvent:l,show:d,usePopper:!x&&0===T.length,offset:[0,2],popperConfig:m,placement:R}),L=(0,a.Z)(O,2),Z=L[0],N=L[1],I=N.hasShown,j=N.popper,D=N.show,z=N.toggle;if(Z.ref=ga(Sa(n),Z.ref),ua((function(){D&&(null==j||j.update())}),[D]),!I&&!h&&!E)return null;"string"!==typeof v&&(Z.show=D,Z.close=function(){return null==z?void 0:z(!1)},Z.align=s);var U=y.style;return null!=j&&j.placement&&(U=(0,Pr.Z)((0,Pr.Z)({},y.style),Z.style),y["x-placement"]=j.placement),(0,o.jsx)(v,(0,Pr.Z)((0,Pr.Z)((0,Pr.Z)((0,Pr.Z)({},y),Z),{},{style:U},(T.length||x)&&{"data-bs-popper":"static"}),{},{className:f().apply(void 0,[i,w,D&&"show",b&&"".concat(w,"-end"),g&&"".concat(w,"-").concat(g)].concat(T))}))}));Ma.displayName="DropdownMenu";var Ea=Ma,Ta=["as","bsPrefix","variant","size","active","disabled","className"],Ca=t.forwardRef((function(e,t){var n=e.as,r=e.bsPrefix,i=e.variant,s=void 0===i?"primary":i,l=e.size,u=e.active,c=void 0!==u&&u,d=e.disabled,h=void 0!==d&&d,p=e.className,v=(0,Rr.Z)(e,Ta),m=Zr(r,"btn"),g=Fi((0,Pr.Z)({tagName:n,disabled:h},v)),y=(0,a.Z)(g,2),b=y[0],x=y[1].tagName;return(0,o.jsx)(x,(0,Pr.Z)((0,Pr.Z)((0,Pr.Z)({},b),v),{},{ref:t,disabled:h,className:f()(p,m,c&&"active",s&&"".concat(m,"-").concat(s),l&&"".concat(m,"-").concat(l),v.href&&h&&"disabled")}))}));Ca.displayName="Button";var Aa=Ca,Pa=["bsPrefix","split","className","childBsPrefix","as"],Ra=t.forwardRef((function(e,n){var r=e.bsPrefix,i=e.split,s=e.className,l=e.childBsPrefix,u=e.as,c=void 0===u?Aa:u,d=(0,Rr.Z)(e,Pa),h=Zr(r,"dropdown-toggle"),p=(0,t.useContext)(Wr);void 0!==l&&(d.bsPrefix=l);var v=Li(),m=(0,a.Z)(v,1)[0];return m.ref=ga(m.ref,Sa(n)),(0,o.jsx)(c,(0,Pr.Z)((0,Pr.Z)({className:f()(s,h,i&&"".concat(h,"-split"),(null==p?void 0:p.show)&&"show")},m),d))}));Ra.displayName="DropdownToggle";var Oa=Ra,La=/-(.)/g;var Za=["className","bsPrefix","as"],Na=function(e){return e[0].toUpperCase()+(t=e,t.replace(La,(function(e,t){return t.toUpperCase()}))).slice(1);var t};function Ia(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.displayName,i=void 0===r?Na(e):r,a=n.Component,s=n.defaultProps,l=t.forwardRef((function(t,n){var r=t.className,i=t.bsPrefix,l=t.as,u=void 0===l?a||"div":l,c=(0,Rr.Z)(t,Za),d=(0,Pr.Z)((0,Pr.Z)({},s),c),h=Zr(i,e);return(0,o.jsx)(u,(0,Pr.Z)({ref:n,className:f()(r,h)},d))}));return l.displayName=i,l}var ja=["bsPrefix","drop","show","className","align","onSelect","onToggle","focusFirstItemOnShow","as","navbar","autoClose"],Da=Ia("dropdown-header",{defaultProps:{role:"heading"}}),za=Ia("dropdown-divider",{Component:"hr",defaultProps:{role:"separator"}}),Ua=Ia("dropdown-item-text",{Component:"span"}),Fa=t.forwardRef((function(e,n){var r=na(e,{show:"onToggle"}),i=r.bsPrefix,a=r.drop,s=void 0===a?"down":a,l=r.show,u=r.className,c=r.align,d=void 0===c?"start":c,h=r.onSelect,p=r.onToggle,v=r.focusFirstItemOnShow,m=r.as,g=void 0===m?"div":m,y=(r.navbar,r.autoClose),b=void 0===y||y,x=(0,Rr.Z)(r,ja),w=(0,t.useContext)(ba),S=Zr(i,"dropdown"),_="rtl"===(0,t.useContext)(Lr).dir,k=Hr((function(e,t){var n;t.originalEvent.currentTarget!==document||"keydown"===t.source&&"Escape"!==t.originalEvent.key||(t.source="rootClose"),n=t.source,(!1===b?"click"===n:"inside"===b?"rootClose"!==n:"outside"!==b||"select"!==n)&&(null==p||p(e,t))})),M=ka("end"===d,s,_),E=(0,t.useMemo)((function(){return{align:d,drop:s,isRTL:_}}),[d,s,_]),T={down:S,"down-centered":"".concat(S,"-center"),up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return(0,o.jsx)(sa.Provider,{value:E,children:(0,o.jsx)($i,{placement:M,show:l,onSelect:h,onToggle:k,focusFirstItemOnShow:v,itemSelector:".".concat(S,"-item:not(.disabled):not(:disabled)"),children:w?x.children:(0,o.jsx)(g,(0,Pr.Z)((0,Pr.Z)({},x),{},{ref:n,className:f()(u,l&&"show",T[s])}))})})}));Fa.displayName="Dropdown";var Ba=Object.assign(Fa,{Toggle:Oa,Menu:Ea,Item:va,ItemText:Ua,Divider:za,Header:Da}
2),Va=t.createContext(null),Ha=["as","active","eventKey"];function Wa(e){var n=e.key,r=e.onClick,i=e.active,a=e.id,o=e.role,s=e.disabled,l=(0,t.useContext)(ji),u=(0,t.useContext)(zi),c=(0,t.useContext)(Va),d=i,f={role:o};if(u){o||"tablist"!==u.role||(f.role="tab");var h=u.getControllerId(null!=n?n:null),p=u.getControlledId(null!=n?n:null);f[Wi("event-key")]=n,f.id=h||a,!(d=null==i&&null!=n?u.activeKey===n:i)&&(null!=c&&c.unmountOnExit||null!=c&&c.mountOnEnter)||(f["aria-controls"]=p)}return"tab"===f.role&&(f["aria-selected"]=d,d||(f.tabIndex=-1),s&&(f.tabIndex=-1,f["aria-disabled"]=!0)),f.onClick=Hr((function(e){s||(null==r||r(e),null!=n&&l&&!e.isPropagationStopped()&&l(n,e))})),[f,{isActive:d}]}var Ga=t.forwardRef((function(e,t){var n=e.as,r=void 0===n?Vi:n,i=e.active,s=e.eventKey,l=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Ha),u=Wa(Object.assign({key:Ii(s,l.href),active:i},l)),c=(0,a.Z)(u,2),d=c[0],f=c[1];return d[Wi("active")]=f.isActive,(0,o.jsx)(r,Object.assign({},l,d,{ref:t}))}));Ga.displayName="NavItem";var qa=["bsPrefix","className","as","active","eventKey","disabled"],Xa=t.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,i=e.as,s=void 0===i?fa:i,l=e.active,u=e.eventKey,c=e.disabled,d=void 0!==c&&c,h=(0,Rr.Z)(e,qa);n=Zr(n,"nav-link");var p=Wa((0,Pr.Z)({key:Ii(u,h.href),active:l,disabled:d},h)),v=(0,a.Z)(p,2),m=v[0],g=v[1];return(0,o.jsx)(s,(0,Pr.Z)((0,Pr.Z)((0,Pr.Z)({},h),m),{},{ref:t,disabled:d,className:f()(r,n,d&&"disabled",g.isActive&&"active")}))}));Xa.displayName="NavLink";var Ya=Xa,Ja=["id","title","children","bsPrefix","className","rootCloseEvent","menuRole","disabled","active","renderMenuOnMount","menuVariant"],Ka=t.forwardRef((function(e,t){var n=e.id,r=e.title,i=e.children,a=e.bsPrefix,s=e.className,l=e.rootCloseEvent,u=e.menuRole,c=e.disabled,d=e.active,h=e.renderMenuOnMount,p=e.menuVariant,v=(0,Rr.Z)(e,Ja),m=Zr(void 0,"nav-item");return(0,o.jsxs)(Ba,(0,Pr.Z)((0,Pr.Z)({ref:t},v),{},{className:f()(s,m),children:[(0,o.jsx)(Ba.Toggle,{id:n,eventKey:null,active:d,disabled:c,childBsPrefix:a,as:Ya,children:r}),(0,o.jsx)(Ba.Menu,{role:u,renderOnMount:h,rootCloseEvent:l,variant:p,children:i})]}))}));Ka.displayName="NavDropdown";var Qa=Object.assign(Ka,{Item:Ba.Item,ItemText:Ba.ItemText,Divider:Ba.Divider,Header:Ba.Header}),$a=n(8744);var eo=t.createContext(void 0);function to(){return t.useContext(eo)}function no(e){return(0,Gn.Z)("PrivateSwitchBase",e)}(0,Cn.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var ro=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],io=(0,rn.ZP)($n)((function(e){var t=e.ownerState;return(0,Qt.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),ao=(0,rn.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),oo=t.forwardRef((function(e,t){var n=e.autoFocus,r=e.checked,i=e.checkedIcon,s=e.className,l=e.defaultChecked,u=e.disabled,c=e.disableFocusRipple,d=void 0!==c&&c,f=e.edge,h=void 0!==f&&f,p=e.icon,v=e.id,m=e.inputProps,g=e.inputRef,y=e.name,b=e.onBlur,x=e.onChange,w=e.onFocus,S=e.readOnly,_=e.required,k=void 0!==_&&_,M=e.tabIndex,E=e.type,T=e.value,C=(0,Kt.Z)(e,ro),A=(0,$a.Z)({controlled:r,default:Boolean(l),name:"SwitchBase",state:"checked"}),P=(0,a.Z)(A,2),R=P[0],O=P[1],L=to(),Z=u;L&&"undefined"===typeof Z&&(Z=L.disabled);var N="checkbox"===E||"radio"===E,I=(0,Qt.Z)({},e,{checked:R,disabled:Z,disableFocusRipple:d,edge:h}),j=function(e){var t=e.classes,n=e.checked,r=e.disabled,i=e.edge,a={root:["root",n&&"checked",r&&"disabled",i&&"edge".concat((0,er.Z)(i))],input:["input"]};return(0,tn.Z)(a,no,t)}(I);return(0,o.jsxs)(io,(0,Qt.Z)({component:"span",className:(0,$t.Z)(j.root,s),centerRipple:!0,focusRipple:!d,disabled:Z,tabIndex:null,role:void 0,onFocus:function(e){w&&w(e),L&&L.onFocus&&L.onFocus(e)},onBlur:function(e){b&&b(e),L&&L.onBlur&&L.onBlur(e)},ownerState:I,ref:t},C,{children:[(0,o.jsx)(ao,(0,Qt.Z)({autoFocus:n,checked:r,defaultChecked:l,className:j.input,disabled:Z,id:N?v:void 0,name:y,onChange:function(e){if(!e.nativeEvent.defaultPrevented){var t=e.target.checked;O(t),x&&x(e,t)}},readOnly:S,ref:g,required:k,ownerState:I,tabIndex:M,type:E},"checkbox"===E&&void 0===T?{}:{value:T},m)),R?i:p]}))})),so=oo;function lo(e){return(0,Gn.Z)("MuiSwitch",e)}var uo=(0,Cn.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),co=["className","color","edge","size","sx"],fo=(0,rn.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.edge&&t["edge".concat((0,er.Z)(n.edge))],t["size".concat((0,er.Z)(n.size))]]}})((function(e){var t,n=e.ownerState;return(0,Qt.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===n.edge&&{marginLeft:-8},"end"===n.edge&&{marginRight:-8},"small"===n.size&&(t={width:40,height:24,padding:7},(0,Jt.Z)(t,"& .".concat(uo.thumb),{width:16,height:16}),(0,Jt.Z)(t,"& .".concat(uo.switchBase),(0,Jt.Z)({padding:4},"&.".concat(uo.checked),{transform:"translateX(16px)"})),t))})),ho=(0,rn.ZP)(so,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(e,t){var n=e.ownerState;return[t.switchBase,(0,Jt.Z)({},"& .".concat(uo.input),t.input),"default"!==n.color&&t["color".concat((0,er.Z)(n.color))]]}})((function(e){var t,n=e.theme;return t={position:"absolute",top:0,left:0,zIndex:1,color:n.vars?n.vars.palette.Switch.defaultColor:"".concat("light"===n.palette.mode?n.palette.common.white:n.palette.grey[300]),transition:n.transitions.create(["left","transform"],{duration:n.transitions.duration.shortest})},(0,Jt.Z)(t,"&.".concat(uo.checked),{transform:"translateX(20px)"}),(0,Jt.Z)(t,"&.".concat(uo.disabled),{color:n.vars?n.vars.palette.Switch.defaultDisabledColor:"".concat("light"===n.palette.mode?n.palette.grey[100]:n.palette.grey[600])}),(0,Jt.Z)(t,"&.".concat(uo.checked," + .").concat(uo.track),{opacity:.5}),(0,Jt.Z)(t,"&.".concat(uo.disabled," + .").concat(uo.track),{opacity:n.vars?n.vars.opacity.switchTrackDisabled:"".concat("light"===n.palette.mode?.12:.2)}),(0,Jt.Z)(t,"& .".concat(uo.input),{left:"-100%",width:"300%"}),t}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,Qt.Z)({"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.activeChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,nn.Fq)(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(t={},(0,Jt.Z)(t,"&.".concat(uo.checked),(0,Jt.Z)({color:(n.vars||n).palette[r.color].main,"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette[r.color].mainCh
2annel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,nn.Fq)(n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(uo.disabled),{color:n.vars?n.vars.palette.Switch["".concat(r.color,"DisabledColor")]:"".concat("light"===n.palette.mode?(0,nn.$n)(n.palette[r.color].main,.62):(0,nn._j)(n.palette[r.color].main,.55))})),(0,Jt.Z)(t,"&.".concat(uo.checked," + .").concat(uo.track),{backgroundColor:(n.vars||n).palette[r.color].main}),t))})),po=(0,rn.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:"".concat("light"===t.palette.mode?t.palette.common.black:t.palette.common.white),opacity:t.vars?t.vars.opacity.switchTrack:"".concat("light"===t.palette.mode?.38:.3)}})),vo=(0,rn.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(e,t){return t.thumb}})((function(e){var t=e.theme;return{boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),mo=t.forwardRef((function(e,t){var n=(0,an.Z)({props:e,name:"MuiSwitch"}),r=n.className,i=n.color,a=void 0===i?"primary":i,s=n.edge,l=void 0!==s&&s,u=n.size,c=void 0===u?"medium":u,d=n.sx,f=(0,Kt.Z)(n,co),h=(0,Qt.Z)({},n,{color:a,edge:l,size:c}),p=function(e){var t=e.classes,n=e.edge,r=e.size,i=e.color,a=e.checked,o=e.disabled,s={root:["root",n&&"edge".concat((0,er.Z)(n)),"size".concat((0,er.Z)(r))],switchBase:["switchBase","color".concat((0,er.Z)(i)),a&&"checked",o&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=(0,tn.Z)(s,lo,t);return(0,Qt.Z)({},t,l)}(h),v=(0,o.jsx)(vo,{className:p.thumb,ownerState:h});return(0,o.jsxs)(fo,{className:(0,$t.Z)(p.root,r),sx:d,ownerState:h,children:[(0,o.jsx)(ho,(0,Qt.Z)({type:"checkbox",icon:v,checkedIcon:v,ref:t,ownerState:h},f,{classes:(0,Qt.Z)({},p,{root:p.switchBase})})),(0,o.jsx)(po,{className:p.track,ownerState:h})]})})),go=mo,yo=function(e){var n=e.darkMode,r=e.setDarkMode;(0,t.useEffect)((function(){var e=JSON.parse(localStorage.getItem("darkMode"));null!==e&&r(e)}),[r]);var i=n?" Dark Mode":" Light Mode";return(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{style:{fontWeight:"900"},children:"Change Theme"}),(0,o.jsx)(go,{checked:n,onClick:function(){var e=!n;r(e),localStorage.setItem("darkMode",JSON.stringify(e))}}),(0,o.jsx)("p",{style:{fontWeight:"900"},children:i})]})};n(7399);Object.create(null);function bo(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"===typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var xo={};function wo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"===typeof t[0]&&xo[t[0]]||("string"===typeof t[0]&&(xo[t[0]]=new Date),bo.apply(void 0,t))}var So=function(e,t){return function(){if(e.isInitialized)t();else{e.on("initialized",(function n(){setTimeout((function(){e.off("initialized",n)}),0),t()}))}}};function _o(e,t,n){e.loadNamespaces(t,So(e,n))}function ko(e,t,n,r){"string"===typeof n&&(n=[n]),n.forEach((function(t){e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,So(e,r))}var Mo=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Eo={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"\u2026","&#8230;":"\u2026","&#x2F;":"/","&#47;":"/"},To=function(e){return Eo[e]};function Co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ao(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Co(Object(n),!0).forEach((function(t){(0,Jt.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Co(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Po={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(Mo,To)}};var Ro;var Oo={type:"3rdParty",init:function(e){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Po=Ao(Ao({},Po),e)}(e.options.react),function(e){Ro=e}(e)}};var Lo=(0,t.createContext)(),Zo=function(){function e(){(0,be.Z)(this,e),this.usedNamespaces={}}return(0,xe.Z)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();var No=n(1002);function Io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Io(Object(n),!0).forEach((function(t){(0,Jt.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Io(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Do=function(e,n){var r=(0,t.useRef)();return(0,t.useEffect)((function(){r.current=n?r.current:e}),[e,n]),r.current};function zo(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.i18n,i=(0,t.useContext)(Lo)||{},o=i.i18n,s=i.defaultNS,l=r||o||Ro;if(l&&!l.reportNamespaces&&(l.reportNamespaces=new Zo),!l){wo("You will need to pass in an i18next instance by using initReactI18next");var u=function(e,t){return"string"===typeof t?t:t&&"object"===(0,No.Z)(t)&&"string"===typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e},c=[u,{},!1];return c.t=u,c.i18n={},c.ready=!1,c}l.options.react&&void 0!==l.options.react.wait&&wo("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var d=jo(jo(jo({},Po),l.options.react),n),f=d.useSuspense,h=d.keyPrefix,p=e||s||l.options&&l.options.defaultNS;p="string"===typeof p?[p]:p||["translation"],l.reportNamespaces.addUsedNamespaces&&l.reportNamespaces.addUsedNamespaces(p);var v=(l.isInitialized||l.initializedStoreOnce)&&p.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var o=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(r,e)||!(t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages))||!(!o(r,e)||i&&!o(a,e)))}(e,t,n):(wo("i18n.languages were undefined or empty",t.languages),!0)}(e,l,d)}));function m(){return l.getFixedT(n.lng||null,"fallback"===d.nsMode?p:p[0],h)}var g=(0,t.useState)(m),y=(0,a.Z)(g,2),b=y[0],x=y[1],w=p.join();n.lng&&(w="".concat(n.lng).concat(w));var S=Do(w),_=(0,t.useRef)(!0);(0,t.useEffect)((function(){var e=d.bindI18n,t=d.bindI18nStore;function r(){_.current&&x(m)}return _.current=!0,v||f||(n.lng?ko(l,n.lng,p,(function(){_.current&&x(m)})):_o(l,p,(function(){_.current&&x(m)}))),v&&S&&S!==w&&_.current&&x(m),e&&l&&l.on(e,r),t&&l&&l.store.on(t,r),function(){_.current=!1,e&&l&&e.split(" ").forEach((function(e){return l.off(e,r)})),t&&l&&t.split(" ").forEach((function(e){return l.store.off(e,r)}))}}),[l,w]);var k=(0,t.useRef)(!0);(0,t.useEffect)((function(){_.current&&!k.current&&x(m),k.current=!1}),[l,h]);var M=[b,l,v];
vendor: 4,099 bytes, line 2
2if(M.t=b,M.i18n=l,M.ready=v,v)return M;if(!v&&!f)return M;throw new Promise((function(e){n.lng?ko(l,n.lng,p,(function(){return e()})):_o(l,p,(function(){return e()}))}))}var Uo=n(2963),Fo=n(1120);function Bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bo(Object(n),!0).forEach((function(t){(0,Jt.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ho={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},Wo=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,be.Z)(this,e),this.init(t,n)}return(0,xe.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Ho,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"===typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,Vo(Vo({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}(),Go=new Wo,qo=function(){function e(){(0,be.Z)(this,e),this.observers={}}return(0,xe.Z)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)}));this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function Xo(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function Yo(e){return null==e?"":""+e}function Jo(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"===typeof e}for(var a="string"!==typeof t?[].concat(t):t.split(".");a.length>1;){if(i())return{};var o=r(a.shift());!e[o]&&n&&(e[o]=new n),e=Object.prototype.hasOwnProperty.call(e,o)?e[o]:{}}return i()?{}:{obj:e,k:r(a.shift())}}function Ko(e,t,n){var r=Jo(e,t,Object);r.obj[r.k]=n}function Qo(e,t){var n=Jo(e,t),r=n.obj,i=n.k;if(r)return r[i]}function $o(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"===typeof e[r]||e[r]instanceof String||"string"===typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):$o(e[r],t[r],n):e[r]=t[r]);return e}function es(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ts={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function ns(e){return"string"===typeof e?e.replace(/[&<>
2"'\/]/g,(function(e){return ts[e]})):e}var rs="undefined"!==typeof window&&window.navigator&&"undefined"===typeof window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,is=[" ",",","?","!",";"];function as(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,a=0;a<r.length;++a){if(!i)return;if("string"===typeof i[r[a]]&&a+1<r.length)return;if(void 0===i[r[a]]){for(var o=2,s=r.slice(a,a+o).join(n),l=i[s];void 0===l&&r.length>a+o;)o++,l=i[s=r.slice(a,a+o).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if("string"===typeof l)return l;if(s&&"string"===typeof l[s])return l[s]}var u=r.slice(a+o).join(n);return u?as(l,u,n):void 0}i=i[r[a]]}return i}}function os(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ss(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?os(Object(n),!0).forEach((function(t){(0,Jt.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):os(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ls(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(nZ){return!1}}();return function(){var n,r=(0,Fo.Z)(e);if(t){var i=(0,Fo.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Uo.Z)(this,n)}}var us=function(e){(0,we.Z)(n,e);var t=ls(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,be.Z)(this,n),r=t.call(this),rs&&qo.call((0,cn.Z)(r)),r.data=e||{},r.options=i,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return(0,xe.Z)(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,o=[e,t];n&&"string"!==typeof n&&(o=o.concat(n)),n&&"string"===typeof n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split("."));var s=Qo(this.data,o);return s||!a||"string"!==typeof n?s:as(this.data&&this.data[e]&&this.data[e][t],n,i)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var o=[e,t];
2n&&(o=o.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(r=t,t=(o=e.split("."))[1]),this.addNamespaces(t),Ko(this.data,o,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!==typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},o=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(o=e.split("."))[1]),this.addNamespaces(t);var s=Qo(this.data,o)||{};r?$o(s,n,i):s=ss(ss({},s),n),Ko(this.data,o,s),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?ss(ss({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(qo),cs={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,r,i))})),t}};function ds(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ds(Object(n),!0).forEach((function(t){(0,Jt.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ds(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hs(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(nZ){return!1}}();return function(){var n,r=(0,Fo.Z)(e);if(t){var i=(0,Fo.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Uo.Z)(this,n)}}var ps={},vs=function(e){(0,we.Z)(n,e);var t=hs(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,be.Z)(this,n),r=t.call(this),rs&&qo.call((0,cn.Z)(r)),function(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
2i18nFormat","utils"],e,(0,cn.Z)(r)),r.options=i,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=Go.create("translator"),r}return(0,xe.Z)(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(void 0===e||null===e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";var r=is.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var i=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),a=!i.test(e);if(!a){var o=e.indexOf(n);o>0&&!i.test(e.substring(0,o))&&(a=!0)}return a}(e,n,r);if(a&&!o){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:i};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(i=l.shift()),e=l.join(r)}return"string"===typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,t,r){var i=this;if("object"!==(0,No.Z)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"===(0,No.Z)(t)&&(t=fs({},t)),t||(t={}),void 0===e||null===e)return"";Array.isArray(e)||(e=[String(e)]);var a=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),l=s.key,u=s.namespaces,c=u[u.length-1],d=t.lng||this.language,f=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(f){var h=t.nsSeparator||this.options.nsSeparator;return a?{res:"".concat(c).concat(h).concat(l),usedKey:l,exactUsedKey:l,usedLng:d,usedNS:c}:"".concat(c).concat(h).concat(l)}return a?{res:l,usedKey:l,exactUsedKey:l,usedLng:d,usedNS:c}:l}var p=this.resolve(e,t),v=p&&p.res,m=p&&p.usedKey||l,g=p&&p.exactUsedKey||l,y=Object.prototype.toString.apply(v),b=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject;if(x&&v&&("string"!==typeof v&&"boolean"!==typeof v&&"number"!==typeof v)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(y)<0&&("string"!==typeof b||"[object Array]"!==y)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,v,fs(fs({},t),{},{ns:u})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return a?(p.res=w,p):w}if(o){var S="[object Array]"===y,_=S?[]:{},k=S?g:m;for(var M in v)if(Object.prototype.hasOwnProperty.call(v,M)){var E="".concat(k).concat(o).concat(M);_[M]=this.translate(E,fs(fs({},t),{joinArrays:!1,ns:u})),_[M]===E&&(_[M]=v[M])}v=_}}else if(x&&"string"===typeof b&&"[object Array]"===y)(v=v.join(b))&&(v=this.extendTranslation(v,e,t,r));else{var T=!1,C=!1,A=void 0!==t.count&&"string"!==typeof t.count,P=n.hasDefaultValue(t),R=A?this.pluralResolver.getSuffix(d,t.count,t):"",O=t["defaultValue".concat(R)]||t.defaultValue;!this.isValidLookup(v)&&P&&(T=!0,v=O),this.isValidLookup(v)||(C=!0,v=l);var L=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:v,Z=P&&O!==v&&this.options.updateMissing;if(C||T||Z){if(this.logger.log(Z?"updateKey":"missingKey",d,c,l,Z?O:v),o){var N=this.resolve(l,fs(fs({},t),{},{keySeparator:!1}));N&&N.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var I=[],j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&j&&j[0])for(var D=0;D<j.length;D++)I.push(j[D]);else"all"===this.options.saveMissingTo?I=this.languageUtils.toResolveHierarchy(t.lng||this.language):I.push(t.lng||this.language);var z=function(e,n,r){var a=P&&r!==v?r:L;i.options.missingKeyHandler?i.options.missingKeyHandler(e,c,n,a,Z,t):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(e,c,n,a,Z,t),i.emit("missingKey",e,c,n,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&A?I.forEach((function(e){i.pluralResolver.getSuffixes(e,t).forEach((function(n){z([e],l+n,t["defaultValue".concat(n)]||O)}))})):z(I,l,O))}v=this.extendTranslation(v,e,t,p,r),C&&v===l&&this.options.appendNamespaceToMissingKey&&(v="".concat(c,":").concat(l)),(C||T)&&this.options.parseMissingKeyHandler&&(v="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(c,":").concat(l):l,T?v:void 0):this.options.parseMissingKeyHandler(v))}return a?(p.res=v,p):v}},{key:"extendTranslation",value:function(e,t,n,r,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,fs(fs({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(fs(fs({},n),{interpolation:fs(fs({},this.options.interpolation),n.interpolation)}));var o,s="string"===typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);o=l&&l.length}var u=n.replace&&"string"!==typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u=fs(fs({},this.options.interpolation.defaultVariables),u)),e=this.interpolator.interpolate(e,u,n.lng||this.language,n),s){var c=e.match(this.interpolator.nestingRegexp);o<(c&&c.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return i&&i[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,f="string"===typeof d?[d]:d;return void 0!==e&&null!==e&&f&&f.length&&!1!==n.applyPostProcessor&&(e=cs.handle(f,e,t,this.options&&this.options.postProcessPassResolved?fs({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,a,o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"===typeof e&&(e=[e]),e.forEach((function(e){if(!o.isValidLookup(t)){var l=o.extractFromKey(e,s
vendor: 4,350 bytes, line 2
2),u=l.key;n=u;var c=l.namespaces;o.options.fallbackNS&&(c=c.concat(o.options.fallbackNS));var d=void 0!==s.count&&"string"!==typeof s.count,f=d&&!s.ordinal&&0===s.count&&o.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&("string"===typeof s.context||"number"===typeof s.context)&&""!==s.context,p=s.lngs?s.lngs:o.languageUtils.toResolveHierarchy(s.lng||o.language,s.fallbackLng);c.forEach((function(e){o.isValidLookup(t)||(a=e,!ps["".concat(p[0],"-").concat(e)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(a)&&(ps["".concat(p[0],"-").concat(e)]=!0,o.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(a,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((function(n){if(!o.isValidLookup(t)){i=n;var a,l=[u];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(l,u,n,e,s);else{var c;d&&(c=o.pluralResolver.getSuffix(n,s.count,s));var p="".concat(o.options.pluralSeparator,"zero");if(d&&(l.push(u+c),f&&l.push(u+p)),h){var v="".concat(u).concat(o.options.contextSeparator).concat(s.context);l.push(v),d&&(l.push(v+c),f&&l.push(v+p))}}for(;a=l.pop();)o.isValidLookup(t)||(r=a,t=o.getResource(n,e,a,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:a}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}]),n}(qo);function ms(e){return e.charAt(0).toUpperCase()+e.slice(1)}var gs=function(){function e(t){(0,be.Z)(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Go.create("languageUtils")}return(0,xe.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"===typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=ms(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=ms(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=ms(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){return e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:0===e.indexOf(r)?e:void 0}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"===typeof e&&(e=e(t)),"string"===typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];
vendor: 4,076 bytes, line 2
2return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],a=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"===typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):"string"===typeof e&&a(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&a(n.formatLanguageCode(e))})),i}}]),e}(),ys=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],bs={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},xs=["v1","v2","v3"],ws={zero:0,one:1,two:2,few:3,many:4,other:5};var Ss=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,be.Z)(this,e),this.languageUtils=t,this.options=n,this.logger=Go.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!==typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){var e={};
vendor: 11,101 bytes, line 2
2return ys.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:bs[t.fc]}}))})),e}()}return(0,xe.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(n){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return ws[e]-ws[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"===typeof i?"_plural_".concat(i.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!xs.includes(this.options.compatibilityJSON)}}]),e}();function _s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ks(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_s(Object(n),!0).forEach((function(t){(0,Jt.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ms(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=function(e,t,n){var r=Qo(e,n);return void 0!==r?r:Qo(t,n)}(e,t,n);return!a&&i&&"string"===typeof n&&void 0===(a=as(e,n,r))&&(a=as(t,n,r)),a}var Es=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,be.Z)(this,e),this.logger=Go.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,xe.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:ns,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?es(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?es(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?es(t.nestingPrefix):t.nestingPrefixEscaped||es("$t("),this.nestingSuffix=t.nestingSuffix?es(t.nestingSuffix):t.nestingSuffixEscaped||es(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,a,o,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(s.formatSeparator)<0){var i=Ms(t,l,e,s.options.keySeparator,s.options.ignoreJSONStructure);return s.alwaysFormat?s.format(i,void 0,n,ks(ks(ks({},r),t),{},{interpolationkey:e})):i}var a=e.split(s.formatSeparator),o=a.shift().trim(),u=a.join(s.formatSeparator).trim();return s.format(Ms(t,l,o,s.options.keySeparator,s.options.ignoreJSONStructure),u,n,ks(ks(ks({},r),t),{},{interpolationkey:o}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,h=[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}];return h.forEach((function(t){for(o=0;i=t.regex.exec(e);){var n=i[1].trim();if(void 0===(a=c(n)))if("function"===typeof d){var l=d(e,i,r);a="string"===typeof l?l:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a="";else{if(f){a=i[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),a=""}else"string"===typeof a||s.useRawValueToEscape||(a=Yo(a));var u=t.safeValue(a);if(e=e.replace(i[0],u),f?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++o>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,i,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),a="{".concat(r[1]);e=r[0];var o=(a=this.interpolate(a,i)).match(/'/g),s=a.match(/"/g);(o&&o.length%2===0&&!s||s.length%2!==0)&&(a=a.replace(/'/g,'"'));try{i=JSON.parse(a),t&&(i=ks(ks({},t),i))}catch(nZ){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),nZ),"".concat(e).concat(n).concat(a)}return delete i.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){var l=[];(i=(i=ks({},o)).replace&&"string"!==typeof i.replace?i.replace:i).applyPostProcessor=!1,delete i.defaultValue;var u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),l=c,u=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!==typeof r)return r;"string"!==typeof r&&(r=Yo(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),u&&(r=l.reduce((function(e,t){return a.format(e,t,o.lng,ks(ks({},o),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Ts(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ts(Object(n),!0).forEach((function(t){(0,Jt.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ts(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function As(e){var t={};return function(n,r,i){var a=r+JSON.stringify(i),o=t[a];return o||(o=e(r,i),t[a]=o),o(n)}}var Ps=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,be.Z)(this,e),this.logger=Go.create("formatter"),this.options=t,this.formats={number:As((function(e,t){var n=new Intl.NumberFormat(e,Cs({},t));return function(e){return n.format(e)}})),currency:As((function(e,t){var n=new Intl.NumberFormat(e,Cs(Cs({},t),{},{style:"currency"}));return function(e){return n.format(e)}})),datetime:As((function(e,t){var n=new Intl.DateTimeFormat(e,Cs({},t));return function(e){return n.format(e)}})),relativetime:As((function(e,t){var n=new Intl.RelativeTimeFormat(e,Cs({},t));return function(e){return n.format(e,t.range||"day")}})),list:As((function(e,t){var n=new Intl.ListFormat(e,Cs({},t));return function(e){return n.format(e)}}))},this.init(t)}return(0,xe.Z)(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=As(t)}},{key:"format",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=t.split(this.formatSeparator).reduce((function(e,t){var a=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((function(e){if(e){var t=Ce(e.split(":")),r=t[0],i=t.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=i),"false"===i&&(n[r.trim()]=!1),"true"===i&&(n[r.trim()]=!0),isNaN(i)||(n[r.trim()]=parseInt(i,10))}}))}return{formatName:t,formatOptions:n}}(t),o=a.formatName,s=a.formatOptions;if(r.formats[o]){var l=e;try{var u=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},c=u.locale||u.lng||i.locale||i.lng||n;l=r.formats[o](e,c,Cs(Cs(Cs({},s),i),u))}catch(d){r.logger.warn(d)}return l}return r.logger.warn("there was no format function for ".concat(o)),e}),e);return a}}]),e}();function Rs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Os(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Rs(Object(n),!0).forEach((function(t){(0,Jt.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ls(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(nZ){return!1}}();return function(){var n,r=(0,Fo.Z)(e);if(t){var i=(0,Fo.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Uo.Z)(this,n)}}var Zs=function(e){(0,we.Z)(n,e);var t=Ls(n);function n(e,r,i){var a,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,be.Z)(this,n),a=t.call(this),rs&&qo.call((0,cn.Z)(a)),a.backend=e,a.store=r,a.services=i,a.languageUtils=i.languageUtils,a.options=o,a.logger=Go.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=o.maxParallelReads||10,a.readingCalls=0,a.maxRetries=o.maxRetries>=0?o.maxRetries:5,a.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(i,o.backend,o),a}return(0,xe.Z)(n,[{key:"queueLoad",value:function(e,t,n,r){var i=this,a={},o={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?void 0===o[s]&&(o[s]=!0):(i.state[s]=1,r=!1,void 0===o[s]&&(o[s]=!0),void 0===a[s]&&(a[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],a=r[1];t&&this.emit("failedLoading",i,a,t),n&&this.store.addResourceBundle(i,a,n),this.state[e]=t?-1:2;var o={};this.queue.forEach((function(n){!function(e,t,n,r){var i=Jo(e,t,Object),a=i.obj,o=i.k;a[o]=a[o]||[],r&&(a[o]=a[o].concat(n)),r||a[o].push(n)}(n.loaded,[i],a),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){o[e]||(o[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===o[e][t]&&(o[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",o),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:e,ns:t,fcName:n,tried:i,wait:a,callback:o});else{this.readingCalls++;var s=function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var u=r.waitingReads.shift();r.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}s&&l&&i<r.maxRetries?setTimeout((function(){r.read.call(r,e,t,n,i+1,2*a,o)}),a):o(s,l)},l=this.backend[n].bind(this.backend);if(2!==l.length)return l(e,t,s);try{var u=l(e,t);u&&"function"===typeof u.then?u.then((function(e){return s(null,e)})).catch(s):s(null,u)}catch(c){s(c)}}}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"===typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"===typeof t&&(t=[t]);var a=this.queueLoad(e,t,r,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],a=r[1];this.read(i,a,"read",void 0,void 0,(function(r,o){r&&t.logger.warn("".concat(n,"loading namespace ").concat(a," for language ").concat(i," failed"),r),!r&&o&&t.logger.log("".concat(n,"loaded namespace ").concat(a," for language ").concat(i),o),t.loaded(e,r,o)}))}},{key:"saveMissing",value:function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(void 0!==n&&null!==n&&""!==n){if(this.backend&&this.backend.create){var s=Os(Os({},a),{},{isUpdate:i}),l=this.backend.create.bind(this.backend);if(l.length<6)try{var u;
2(u=5===l.length?l(e,t,n,r,s):l(e,t,n,r))&&"function"===typeof u.then?u.then((function(e){return o(null,e)})).catch(o):o(null,u)}catch(c){o(c)}else l(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}]),n}(qo);function Ns(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,No.Z)(e[1])&&(t=e[1]),"string"===typeof e[1]&&(t.defaultValue=e[1]),"string"===typeof e[2]&&(t.tDescription=e[2]),"object"===(0,No.Z)(e[2])||"object"===(0,No.Z)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Is(e){return"string"===typeof e.ns&&(e.ns=[e.ns]),"string"===typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"===typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function js(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ds(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?js(Object(n),!0).forEach((function(t){(0,Jt.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):js(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zs(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(nZ){return!1}}();return function(){var n,r=(0,Fo.Z)(e);if(t){var i=(0,Fo.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Uo.Z)(this,n)}}function Us(){}var Fs=function(e){(0,we.Z)(n,e);var t=zs(n);function n(){var e,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if((0,be.Z)(this,n),e=t.call(this),rs&&qo.call((0,cn.Z)(e)),e.options=Is(i),e.services={},e.logger=Go,e.modules={external:[]},r=(0,cn.Z)(e),Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((function(e){"function"===typeof r[e]&&(r[e]=r[e].bind(r))})),a&&!e.isInitialized&&!i.isClone){if(!e.options.initImmediate)return e.init(i,a),(0,Uo.Z)(e,(0,cn.Z)(e));setTimeout((function(){e.init(i,a)}),0)}return e}return(0,xe.Z)(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"===typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"===typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=Ns();function i(e){return e?"function"===typeof e?new e:e:null}if(this.options=Ds(Ds(Ds({},r),this.options),Is(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=Ds(Ds({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var a;this.modules.logger?Go.init(i(this.modules.logger),this.options):Go.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!==typeof Intl&&(a=Ps);var o=new gs(this.options);this.store=new us(this.options.resources,this.options);var s=this.services;s.logger=Go,s.resourceStore=this.store,s.languageUtils=o,s.pluralResolver=new Ss(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!a||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(s.formatter=i(a),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new Es(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new Zs(i(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(s.languageDetector=i(this.modules.languageDetector),s.languageDetector.init&&s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=i(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new vs(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=Us),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var u=Xo(),c=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Us,r="string"===typeof e?e:this.language;if("function"===typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(r)a(r);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return a(e)}));
vendor: 3,802 bytes, line 2
2this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(i,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=Xo();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Us),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&cs.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=Xo();this.emit("languageChanging",e);var i=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},a=function(a){e||a||!n.services.languageDetector||(a=[]);var o="string"===typeof a?a:n.services.languageUtils.getBestMatchFromCodes(a);o&&(n.language||i(o),n.translator.language||n.translator.changeLanguage(o),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(o)),n.loadResources(o,(function(e){!function(e,a){a?(i(a),n.translator.changeLanguage(a),n.isLanguageChangingTo=void 0,n.emit("languageChanged",a),n.logger.log("languageChanged",a)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,o)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,i=function e(t,i){var a;if("object"!==(0,No.Z)(i)){for(var o=arguments.length,s=new Array(o>2?o-2:0),l=2;l<o;l++)s[l-2]=arguments[l];a=r.options.overloadTranslationOptionHandler([t,i].concat(s))}else a=Ds({},i);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,a.keyPrefix=a.keyPrefix||n||e.keyPrefix;var u,c=r.options.keySeparator||".";return u=a.keyPrefix&&Array.isArray(t)?t.map((function(e){return"".concat(a.keyPrefix).concat(c).concat(e)})):a.keyPrefix?"".concat(a.keyPrefix).concat(c).concat(t):t,r.t(u,a)};return"string"===typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
2if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=n.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var o=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,o);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!o(r,e)||i&&!o(a,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=Xo();return this.options.ns?("string"===typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=Xo();"string"===typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";var t=this.services&&this.services.languageUtils||new gs(Ns());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Us,i=Ds(Ds(Ds({},this.options),t),{isClone:!0}),a=new n(i);void 0===t.debug&&void 0===t.prefix||(a.logger=a.logger.clone(t));return["store","services","language"].forEach((function(t){a[t]=e[t]})),a.services=Ds({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new vs(a.services,a.options),a.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit.apply(a,[e].concat(n))})),a.init(i,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(qo);(0,Jt.Z)(Fs,"createInstance",(function(){return new Fs(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var Bs=Fs.createInstance();Bs.createInstance=Fs.createInstance;Bs.createInstance,Bs.dir,Bs.init,Bs.loadResources,Bs.reloadResources,Bs.use,Bs.changeLanguage,Bs.getFixedT,Bs.t,Bs.exists,Bs.setDefaultNamespace,Bs.hasLoadedNamespace,Bs.loadNamespaces,Bs.loadLanguages;function Vs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Hs={read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};var Ws=function e(t,n){function r(e,r,i){if("undefined"!==typeof document){"number"===typeof(i=Vs({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var o in i)i[o]&&(a+="; "+o,!0!==i[o]&&(a+="="+i[o].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+a}}return Object.create({set:r,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var a=n[i].split("="),o=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(r[s]=t.read(o,s),e===s)break}catch(nZ){}}return e?r[e]:r}},remove:function(e,t){r(e,"",Vs({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Vs({},this.attributes,t))},withConverter:function(t){return e(Vs({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}(Hs,{path:"/"}),Gs={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},qs=t.createContext&&t.createContext(Gs),Xs=function(){return Xs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xs.apply(this,arguments)},Ys=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function Js(e){return e&&e.map((function(e,n){return t.createElement(e.tag,Xs({key:n},e.attr),Js(e.child))}))}function Ks(e){return function(n){return t.createElement(Qs,Xs({attr:Xs({},e.attr)},n),Js(e.child))}}function Qs(e){var n=function(n){var r,i=e.attr,a=e.size,o=e.title,s=Ys(e,["attr","size","title"]),l=a||n.size||"1em";return n.className&&(r=n.className),e.className&&(r=(r?r+" ":"")+e.className),t.createElement("svg",Xs({stroke:"currentColor",fill:"
2currentColor",strokeWidth:"0"},n.attr,i,s,{className:r,style:Xs(Xs({color:e.color||n.color},n.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),o&&t.createElement("title",null,o),e.children)};return void 0!==qs?t.createElement(qs.Consumer,null,(function(e){return n(e)})):n(Gs)}function $s(e){return Ks({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(e)}function el(e){return Ks({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]})(e)}var tl=n.p+"static/media/lo.f1ab7ac9373caa10fdb1.png";function nl(e){return Ks({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"3"}},{tag:"path",attr:{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}}]})(e)}var rl=(0,t.createContext)({}),il=function(){var e=(0,t.useContext)(rl).setDarkTheme,n=(0,t.useState)(!1),r=(0,a.Z)(n,2),i=r[0],s=r[1],l=function(){s(!0)},u=function(){s(!1)},d=c(!1),h=(0,a.Z)(d,2),p=h[0],v=h[1];(0,t.useEffect)((function(){e(p)}),[p]);var m=t.useState(!1),g=(0,a.Z)(m,2),y=g[0],b=g[1],x=(0,t.useState)("10rem"),w=(0,a.Z)(x,2),S=(w[0],w[1]),_=(0,t.useState)("transparent"),k=(0,a.Z)(_,2),M=(k[0],k[1]),E=function(){window.scrollY>10?M("#080a3e"):M("transparent"),window.scrollY>10?S("5rem"):S("10rem")};(0,t.useEffect)((function(){return window.addEventListener("scroll",E),function(){window.removeEventListener("scroll",E)}}),[]);var T=[{code:"fr",name:"Spanish",country_code:"fr",flag:"Image/spain.png"},{code:"en",name:"English",country_code:"gb",flag:"Image/english.png"}],C=Ws.get("i18next")||"en",A=(T.find((function(e){return e.code===C})),zo().t);new Date("2021-03-07"),Math.floor(2/864e5);return(0,o.jsxs)("nav",{className:"app__navbar",children:[(0,o.jsx)("div",{className:"app__navbar-logo",children:(0,o.jsx)("img",{src:tl,alt:"app__logo"})}),(0,o.jsxs)("ul",{className:"app__navbar-links",children:[(0,o.jsx)("li",{className:"p__opensans",children:(0,o.jsx)("a",{href:"#UtilityToken",style:{color:"#fff",fontWeight:"800",textDecoration:"none"},children:"Utility Token"})})," ",(0,o.jsx)("li",{className:"p__opensans",children:(0,o.jsx)("a",{href:"#IbizaPay",style:{color:"#fff",fontWeight:"800",textDecoration:"none"},children:"IbizaPay"})})," ",(0,o.jsx)("li",{className:"p__opensans",children:(0,o.jsx)("a",{href:"#IBZNFTMarketplace",style:{color:"#fff",fontWeight:"800",textDecoration:"none"},children:A("welcome_message")})}),(0,o.jsx)("li",{className:"p__opensans",children:(0,o.jsx)("a",{href:"#IbizaNXT",style:{color:"#fff",fontWeight:"800",textDecoration:"none"},children:"Ibiza NXT"})}),(0,o.jsx)("li",{className:"p__opensans",children:(0,o.jsx)("a",{href:"#Press",style:{color:"#fff",fontWeight:"800",textDecoration:"none"},children:A("welcome_message5")})}),(0,o.jsx)("li",{className:"p__opensans",children:(0,o.jsx)("a",{href:"#faq",style:{color:"#fff",fontWeight:"800",textDecoration:"none"},children:A("welcome_message6")})}),(0,o.jsx)("li",{className:"p__opensans",children:(0,o.jsx)("a",{href:"#roadmap",style:{color:"#fff",fontWeight:"800",textDecoration:"none"},children:A("welcome_message7")})}),(0,o.jsx)("li",{className:"p__opensans",children:(0,o.jsx)("a",{href:"./IbizaContact",style:{color:"#fff",fontWeight:"800",textDecoration:"none"},children:A("welcome_message8")})}),(0,o.jsxs)("li",{children:[" ",(0,o.jsxs)(Qa,{id:"nav-dropdown-dark-example",title:(0,o.jsx)("span",{children:(0,o.jsx)(nl,{className:"my-icon"})}),menuVariant:"",show:i,onMouseEnter:l,onMouseLeave:u,menuAlign:"right",className:f()("App",p?"darkMode":"lightMode"),children:[(0,o.jsx)("li",{style:{color:"#fff",fontWeight:"500"},className:f()("App",p?"darkMode":"lightMode"),children:(0,o.jsx)("span",{className:"dropdown-item-text",style:{justifyContent:"center"},children:(0,o.jsx)(yo,{darkMode:p,setDarkMode:v})})}),(0,o.jsx)("li",{style:{fontWeight:"600"},children:(0,o.jsx)("span",{className:"dropdown-item-text",style:{justifyContent:"center"},children:A("language")})}),T.map((function(e){var t=e.code,n=e.name,r=e.flag;return(0,o.jsx)("li",{style:{},children:(0,o.jsxs)("a",{href:"#",className:f()("dropdown-item",{disabled:C===t}),onClick:function(){Bs.changeLanguage(t)},style:{position:"relative",right:"35px",background:"transparent",fontWeight:"900"},children:[(0,o.jsx)("a",{className:"flag-icon flag-icon-".concat(r," mx-2"),style:{opacity:C===t?.5:1}}),(0,o.jsx)("img",{src:r,style:{height:"40px",borderRadius:"50%"}})," ",n]})},r)})),(0,o.jsx)("br",{})]})]})]}),(0,o.jsxs)("div",{className:"app__navbar-smallscreen",children:[(0,o.jsx)($s,{color:"#fff",fontSize:27,onClick:function(){return b(!0)}}),y&&(0,o.jsxs)("div",{className:"app__navbar-smallscreen_overlay flex__center slide-bottom",children:[(0,o.jsx)(el,{fontSize:27,className:"overlay__close",onClick:function(){return b(!1)}}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)("ul",{className:"app__navbar-smallscreen_links",children:[(0,o.jsx)("li",{className:"li",children:(0,o.jsx)("a",{href:"#UtilityToken",onClick:function(){return b(!1)},style:{color:"#fff",fontWeight:"800"},children:"Utility Token"})}),(0,o.jsx)("li",{className:"li",children:(0,o.jsx)("a",{href:"#IbizaPay",onClick:function(){return b(!1)},style:{color:"#fff",fontWeight:"800"},children:"IbizaPay"})})," ",(0,o.jsx)("li",{className:"li",children:(0,o.jsx)("a",{href:"#IBZNFTMarketplace",onClick:function(){return b(!1)},style:{color:"#fff",fontWeight:"800"},children:"NFT Marketplace"})})," ",(0,o.jsx)("li",{className:"li",children:(0,o.jsx)("a",{href:"#IbizaNXT",onClick:function(){return b(!1)},style:{color:"#fff",fontWeight:"800"},children:"Ibiza NXT"})}),(0,o.jsx)("li",{className:"li",children:(0,o.jsx)("a",{href:"#Press",onClick:function(){return b(!1)},style:{color:"#fff",fontWeight:"800"},children:A("welcome_message5")})}),(0,o.jsx)("li",{className:"li",children:(0,o.jsx)("a",{href:"#faq",onClick:function(){return b(!1)},style:{color:"#fff",fontWeight:"800"},children:A("welcome_message6")})}),(0,o.jsx)("li",{className:"li",children:(0,o.jsx)("a",{href:"#roadmap",onClick:function(){return b(!1)},style:{color:"#fff",fontWeight:"800"},children:A("welcome_message7")})}),(0,o.jsx)("li",{className:"li",children:(0,o.jsx)("a",{href:"./IbizaContact",onClick:function(){return b(!1)},style:{color:"#fff",fontWeight:"800"},children:A("welcome_message8")})}),(0,o.jsx)("li",{className:"li",children:(0,o.jsxs)(Qa,{id:"nav-dropdown-dark-example",title:(0,o.jsx)("span",{children:(0,o.jsx)(nl,{className:"my-icon"})}),menuVariant:"",show:i,onMouseEnter:l,onMouseLeave:u,menuAlign:"right",className:f()("App",p?"darkMode":"lightMode"),children:[(0,o.jsx)("li",{style:{color:"#fff",fontWeight:"500"},className:f()("App",p?"darkMode":"lightMode"),children:(0,o.jsx)("span",{className:"dropdown-item-text",style:{justifyContent:"center"},children:(0,o.jsx)(yo,{darkMode:p,setDarkMode:v})})}),(0,o.jsx)("li",{style:{fontWeight:"500"},children:(0,o.jsx)("span",{className:"dropdown-item-text",style:{justifyContent:"center"},children:A("language")})}),T.map((function(e){var t=e.code,n=e.name,r=e.flag;return(0,o.jsx)("li",{children:(0,o.jsxs)("a",{href:"#",className:f()("dropdown-item",{disabled:C===t}),onClick:function(){Bs.changeLanguage(t)},children:[(0,o.jsx)("a",{className:"flag-icon flag-icon-".concat(r," mx-2"),style:{opacity:C===t?.5:1}}),(0,o.jsx)("img",{src:r,style:{height:"15px"}})," ",n]})},r)})),(0,o.jsx)("br",{})]})})]})]})]})]})},al=n(9403),ol=n(7945),sl=n.n(ol);sl().init({duration:6500});var ll=function(){var e=zo().t;return(0,o.jsxs)("div",{className:" background_hero",children:[(0,o.jsx)(il,{}),(0,o.jsx)("div",{className:"container  ",children:(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)(Tr,{container:!0,spacing:2,children:[(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,xs:12,sm:12,children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsxs)("h1",{className:"top_hero_under_text_sign_up",children:["The Ibiza ",(0,o.jsx)("br",{}),"Web3",(0,o.jsx)("br",{})," ecosystem"]})}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsx)("p",{className:"top_hero_under_text_sign_upp",children:e("hero_under_text")})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"\xa0",(0,o.jsxs)("a",{href:"#UtilityToken",children:[" ",(0,o.jsx)(cr,{className:"top_hero_under_button_css_login ",children:"Explore More"})]})]}),(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,xs:12,sm:12,className:" ",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsxs)(al.W7,{className:"parallax",resetOnLeave:!0,updateStyles:{width:"100%",height:"100%"},children:[(0,o.jsx)("br",{}),(0,o.jsx)(al.JV,{factorX:.1,factorY:.1,updateStyles:{filter:"invert(1)",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:(0,o.jsx)("img",{src:Cr,alt:"",className:"hero_parallex vert-move"})})]})})]})]})})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})," ",(0,o.jsxs)("h1",{className:"utilityhead neon",children:[e("Built"),"\xa0 ",(0,o.jsx)("img",{src:Ar,style:{width:"390px"}})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})};sl().init({duration:6500});var ul=function(){var e=zo().t;return(0,o.jsxs)("div",{className:" background_hero",children:[(0,o.jsx)(il,{}),(0,o.jsx)("div",{className:"container  ",children:(0,o.jsx)("div",{className:"container",children:(0,o.jsx)(Tr,{container:!0,spacing:2,children:(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,xs:12,sm:12,children:[(0,o.jsx)("br",{}),(0,o.jsxs)(al.W7,{className:"parallax",resetOnLeave:!0,updateStyles:{width:"100%",height:"100%"},children:[(0,o.jsx)("br",{}),(0,o.jsx)(al.JV,{factorX:.1,factorY:.1,updateStyles:{filter:"invert(1)",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:(0,o.jsx)("img",{src:Cr,alt:"",className:"hero_parallex vert-move"})})]}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsxs)("h1",{className:"top_hero_under_text_sign_up",children:["The Ibiza ",(0,o.jsx)("br",{}),"Web3",(0,o.jsx)("br",{})," ecosystem"]})}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsx)("p",{className:"top_hero_under_text_sign_upp",children:e("hero_under_text")})}),"\xa0",(0,o.jsx)("a",{href:"#UtilityToken",children:(0,o.jsx)(cr,{variant:"outlined",className:"top_hero_under_button_css_login ",children:"Explore More"})})]})})})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})," ",(0,o.jsxs)("h1",{className:"utilityhead neon",children:[e("Built")," \xa0 ",(0,o.jsx)("img",{src:Ar,style:{width:"160px"}})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})};sl().init({duration:2500});var cl=function(){var e=zo().t;return(0,o.jsxs)("div",{className:"container",children:[(0,o.jsx)(Tr,{container:!0,children:(0,o.jsxs)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px"},children:[(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsx)("h1",{className:"utilityhead neon",children:e("Elevating")})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsx)("p",{className:"utilityhead_under",children:e("Elevating_under")})})]})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})},dl=n.p+"static/media/ibz.7d07c74c7689e467a2ee.png",fl=n.p+"static/media/ibzmarkett.fcd80b8c0be30cdc85d5.png",hl=n.p+"static/media/ibpay.b62d3d2e8905cf089421.png",pl=n.p+"static/media/black.cb0ab533c9d1de38d389.png",vl=n.p+"static/media/white.478e286e3bc66bc7e808.png";sl().init({duration:2500});var ml=function(){var e=zo().t,n=(0,t.useContext)(rl).darkTheme;return(0,o.jsx)("div",{children:(0,o.jsx)("div",{className:" addcard_bg",children:(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)(Tr,{container:!0,spacing:8,children:[(0,o.jsx)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",children:(0,o.jsxs)("div",{"data-aos":"fade-down-right","data-aos-duration":"1000",children:[(0,o.jsx)("img",{src:dl,style:{width:"100%"},className:"avatar"}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})}),(0,o.jsx)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",id:"UtilityToken",children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("h5",{className:"undercard_head neon",children:"Utility Token ($IBZ)"}),(0,o.jsx)("p",{className:"undercard_para",children:e("Utility_Token")}),(0,o.jsx)("div",{className:"start_under_button",children:(0,o.jsx)("button",{class:"button-17 ",role:"button",children:e("Coming_Soon")})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})}),(0,o.jsx)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",id:"IbizaPay",children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("h5",{className:"undercard_heade neon",children:"IbizaPay"}),(0,o.jsx)("p",{className:"undercard_parae",children:e("Ibiza_Pay")}),(0,o.jsxs)("div",{className:"start_under_buttone",children:[(0,o.jsx)("button",{class:"button-17 ",role:"button",children:e("explore")}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})]})}),(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",children:[(0,o.jsx)("div",{"data-aos":"fade-down-left","data-aos-duration":"1000",children:(0,o.jsx)("img",{src:hl,style:{width:"90%",position:"relative",top:"-30px"},className:"avatar"})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsx)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center ",id:"IBZNFTMarketplace",children:(0,o.jsxs)("div",{"data-aos":"fade-down-right","data-aos-duration":"1000",children:[(0,o.jsx)("img",{src:fl,style:{width:"130%"},className:"avatar"}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})}),(0,o.jsx)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("h5",{className:"undercard_head neon",children:"IBZ NFT Marketplace"}),(0,o.jsx)("p",{className:"undercard_para",children:e("NFT_Marketplace")}),(0,o.jsx)("div",{className:"start_under_button",children:(0,o.jsx)("button",{class:"button-17 ",role:"button",children:e("WINTER")})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})}),(0,o.jsx)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",id:"IbizaNXT",children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("h5",{className:"undercard_heade neon",children:"Ibiza NXT"}),(0,o.jsx)("p",{className:"undercard_parae",children:e("Ibiza_NXT")}),(0,o.jsxs)("div",{className:"start_under_buttone",children:[(0,o.jsx)("a",{href:"https://nxt.ibizatoken.com/",children:(0,o.jsx)("button",{className:"button-17",role:"button",children:e("explore")})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})]})}),(0,o.jsx)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",style:{textAlign:"center"}
2,children:(0,o.jsxs)("div",{"data-aos":"fade-down-left","data-aos-duration":"1000",children:[(0,o.jsx)("img",{src:n?vl:pl,alt:"Change_Dark_Mode_And_Light_Mode_Image_Here",style:{width:"60%"},className:"avatar"}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})})]})})})})};sl().init({duration:2500});var gl=function(){var e=zo().t,n=(0,t.useContext)(rl).darkTheme;return(0,o.jsx)("div",{className:" addcard_bg",children:(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)(Tr,{container:!0,spacing:2,children:[(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",children:[(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsx)("img",{src:dl,style:{width:"70%"},className:"avatar"})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",id:"UtilityToken",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("h5",{className:"undercard_head",children:"Utility Token ($IBZ)"}),(0,o.jsx)("p",{className:"undercard_para",children:e("Utility_Token")}),(0,o.jsxs)("div",{className:"start_under_button",children:[(0,o.jsx)("br",{}),(0,o.jsx)("button",{class:"button-17 ",role:"button",children:e("Coming_Soon")})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",children:[(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("img",{src:hl,style:{width:"70%"},className:"avatar"})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",id:"IbizaPay",children:[(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("h5",{className:"undercard_head",children:"IbizaPay"}),(0,o.jsx)("p",{className:"undercard_para",children:e("Ibiza_Pay")}),(0,o.jsxs)("div",{className:"start_under_button",children:[(0,o.jsx)("br",{}),(0,o.jsx)("button",{class:"button-17 ",role:"button",children:e("explore")})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",children:[(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("img",{src:fl,style:{width:"100%"},className:"avatar"})," ",(0,o.jsx)("br",{})," ",(0,o.jsx)("br",{})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",id:"IBZNFTMarketplace",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("h5",{className:"undercard_heade ",children:"IBZ NFT Marketplace"}),(0,o.jsx)("p",{className:"undercard_parae",children:e("NFT_Marketplace")}),(0,o.jsxs)("div",{className:"start_under_buttone",children:[(0,o.jsx)("br",{}),(0,o.jsx)("button",{class:"button-17 ",role:"button",children:e("WINTER")})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",id:"IbizaNXT",children:[(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)("h1",{style:{fontSize:"60px"},children:[" ",(0,o.jsx)("img",{src:n?vl:pl,alt:"Change_Dark_Mode_And_Light_Mode_Image_Here",style:{width:"60%"},className:"avatar"})]})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsxs)(Tr,{item:!0,md:6,lg:6,sm:12,xs:12,className:"center",children:[(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("h5",{className:"undercard_heade ",children:"Ibiza NXT"}),(0,o.jsx)("p",{className:"undercard_parae",children:e("Ibiza_NXT")}),(0,o.jsxs)("div",{className:"start_under_buttone",children:[(0,o.jsx)("br",{}),(0,o.jsxs)("a",{href:"https://nxt.ibizatoken.com/",children:[" ",(0,o.jsx)("button",{class:"button-17 ",role:"button",children:e("explore")})]})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})]})})})},yl=n(4038),bl=n.p+"static/media/logo7.4de5586a6924953d13e7.png",xl=n.p+"static/media/logo8.4ab99be4415c8c9123a7.png",wl=n.p+"static/media/logo10.0
2dfad20943dec6e9c403.png",Sl=n.p+"static/media/logo11.29f12a5b75ffd830d723.png";sl().init({duration:2500});var _l=function(){return(0,o.jsxs)("div",{className:"background_hero_ticker",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)(yl.Z,{pauseOnHover:!0,gradient:!0,speed:50,children:[(0,o.jsx)("div",{className:"mar_wrap",children:(0,o.jsxs)("a",{href:"https://www.bitnovo.com/",target:"_blank",children:[" ",(0,o.jsx)("img",{src:xl,className:"logo_ticker"})]})}),(0,o.jsx)("div",{className:"mar_wrap",children:(0,o.jsxs)("a",{href:"https://bitsacard.com/",target:"_blank",children:[" ",(0,o.jsx)("img",{src:"data:image/png;base64,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",className:"logo_ticker"})]})}),(0,o.jsx)("div",{className:"mar_wrap",children:(0,o.jsxs)("a",{href:"https://vibrant.io/",target:"_blank",children:[" ",(0,o.jsx)("img",{src:wl,className:"logo_ticker"})]})}),(0,o.jsxs)("div",{className:"mar_wrap",children:[" ",(0,o.jsxs)("a",{href:"https://www.google.com/maps/dir//thehub+ibiza/@38.9308134,1.3975798,13z/data=!4m8!4m7!1m0!1m5!1m1!1s0x129940b56dd133b5:0xb2ccaf85a3fa89c9!2m2!1d1.4452991!2d38.9591026",target:"_blank",children:[" ",(0,o.jsx)("img",{src:"data:image/png;base64,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",className:"logo_ticker_oth"})]})]}),(0,o.jsx)("div",{className:"mar_wrap",children:(0,o.jsxs)("a",{href:"https://www.asesoriamadavi.com/",target:"_blank",children:[" ",(0,o.jsx)("img",{src:"data:image/png;base64,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",className:"logo_ticker_oth"})]})}),"\xa0 \xa0",(0,o.jsx)("div",{className:"mar_wrap",children:(0,o.jsx)("a",{href:"https://lasdalias.es/",target:"_blank",children:(0,o.jsx)("img",{src:"data:image/png;base64,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",className:"logo_ticker",style:{position:"relative",top:"20px"}})})}),(0,o.jsx)("div",{className:"mar_wrap",children:(0,o.jsxs)("a",{href:"https://ibizabotanicobiotecnologico.com/ibb/",target:"_blank",children:[" ",(0,o.jsx)("img",{src:bl,className:"logo_ticker_oth"})]})}),(0,o.jsx)("div",{className:"mar_wrap",children:(0,o.jsxs)("a",{href:"https://ibizaloe.com/",target:"_blank",children:[" ",(0,o.jsx)("img",{src:Sl,className:"logo_ticker_phool"})]})}),(0,o.jsx)("div",{className:"mar_wrap",children:(0,o.jsxs)("a",{href:"https://quadrans.io/",target:"_blank",children:[" ",(0,o.jsx)("img",{src:"data:image/png;base64,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",className:"logo_ticker",style:{position:"relative",top:"20px"}})]})})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})};function kl(e){var t,n,r="";if("string"===typeof e||"number"===typeof e)r+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=kl(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Ml(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=kl(e))&&(r&&(r+=" "),r+=t);return r}var El=n(4164),Tl=(n(7170),"undefined"!==typeof window&&window.document&&window.document.createElement?t.useLayoutEffect:t.useEffect,function(){return Tl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Tl.apply(this,arguments)});function Cl(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}var Al=t.forwardRef((function(e,n){var r=e.breakpoint,i=e.fluid,a=e.children,o=e.className,s=e.tag,l=Cl(e,["breakpoint","fluid","children","className","tag"]),u=Ml("".concat(i?"container-fluid":"container".concat(r?"-"+r:"")),o);return t.createElement(s,Tl({className:u},l,{ref:n}),a)}));Al.defaultProps={tag:"div"};var Pl=t.forwardRef((function(e,n){var r=e.center,i=e.children,a=e.className,o=e.end,s=e.lg,l=e.md,u=e.offsetLg,c=e.offsetMd,d=e.offsetSm,f=e.order,h=e.size,p=e.sm,v=e.start,m=e.tag,g=e.xl,y=e.xxl,b=e.xs,x=Cl(e,["center","children","className","end","lg","md","offsetLg","offsetMd","offsetSm","order","size","sm","start","tag","xl","xxl","xs"]),w=Ml(h&&"col-".concat(h),b&&"col-xs-".concat(b),p&&"col-sm-".concat(p),l&&"col-md-".concat(l),s&&"col-lg-".concat(s),g&&"col-xl-".concat(g),y&&"col-xxl-".concat(y),h||b||p||l||s||g||y?"":"col",f&&"order-".concat(f),v&&"align-self-start",r&&"align-self-center",o&&"align-self-end",d&&"offset-sm-".concat(d),c&&"offset-md-".concat(c),u&&"offset-lg-".concat(u),a);return t.createElement(m,Tl({className:w,ref:n},x),i)}));Pl.defaultProps={tag:"div"};var Rl=t.forwardRef((function(e,n){var r=e.className,i=e.color,a=e.pill,o=e.light,s=e.dot,l=e.tag,u=e.children,c=e.notification,d=Cl(e,["className","color","pill","light","dot","tag","children","notification"]),f=Ml("badge",o?i&&"badge-".concat(i):i&&"bg-".concat(i),s&&"badge-dot",a&&"rounded-pill",c&&"badge-notification",r);return t.createElement(l,Tl({className:f,ref:n},d),u)}));Rl.defaultProps={tag:"span",color:"primary"};var Ol=function(e){var n=Cl(e,[]),r=(0,t.useState)(!1),i=r[0],a=r[1],o=Ml("ripple-wave",i&&"active");return(0,t.useEffect)((function(){var e=setTimeout((function(){a(!0)}),50);return function(){clearTimeout(e)}}),[]),t.createElement("div",Tl({className:o}
2,n))},Ll=t.forwardRef((function(e,n){var r=e.className,i=e.rippleTag,a=e.rippleCentered,o=e.rippleDuration,s=e.rippleUnbound,l=e.rippleRadius,u=e.rippleColor,c=e.children,d=e.onMouseDown,f=Cl(e,["className","rippleTag","rippleCentered","rippleDuration","rippleUnbound","rippleRadius","rippleColor","children","onMouseDown"]),h=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.useRef();return t.useEffect((function(){e.forEach((function(e){e&&("function"==typeof e?e(r.current):e.current=r.current)}))}),[e]),r}(n,(0,t.useRef)(null)),p=[0,0,0],v=["primary","secondary","success","danger","warning","info","light","dark"],m=(0,t.useState)([]),g=m[0],y=m[1],b=(0,t.useState)(!1),x=b[0],w=b[1],S=Ml("ripple","ripple-surface",s&&"ripple-surface-unbound",x&&"ripple-surface-".concat(u),r),_=function(){if(v.find((function(e){return e===(null==u?void 0:u.toLowerCase())})))return w(!0);var e=k(u).join(","),t="rgba({{color}}, 0.2) 0, rgba({{color}}, 0.3) 40%, rgba({{color}}, 0.4) 50%, rgba({{color}}, 0.5) 60%, rgba({{color}}, 0) 70%".split("{{color}}").join("".concat(e));return"radial-gradient(circle, ".concat(t,")")},k=function(e){return"transparent"===e.toLowerCase()?p:"#"===e[0]?function(e){return e.length<7&&(e="#".concat(e[1]).concat(e[1]).concat(e[2]).concat(e[2]).concat(e[3]).concat(e[3])),[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16)]}(e):(-1===e.indexOf("rgb")&&(e=function(e){var t=document.body.appendChild(document.createElement("fictum")),n="rgb(1, 2, 3)";return t.style.color=n,t.style.color!==n?p:(t.style.color=e,t.style.color===n||""===t.style.color?p:(e=getComputedStyle(t).color,document.body.removeChild(t),e))}(e)),0===e.indexOf("rgb")?function(e){return(e=e.match(/[.\d]+/g).map((function(e){return+Number(e)}))).length=3,e}(e):p)};return(0,t.useEffect)((function(){var e=setTimeout((function(){g.length>0&&y(g.splice(1,g.length-1))}),o);return function(){clearTimeout(e)}}),[o,g]),t.createElement(i,Tl({className:S,onMouseDown:function(e){return function(e){var t=function(e){var t,n=null===(t=h.current)||void 0===t?void 0:t.getBoundingClientRect(),r=e.clientX-n.left,i=e.clientY-n.top,s=n.height,u=n.width,c={delay:o&&.5*o,duration:o&&o-.5*o},d=function(e){var t=e.offsetX,n=e.offsetY,r=e.height,i=e.width,a=n<=r/2,o=t<=i/2,s=function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))},l=n===r/2&&t===i/2,u=!0===a&&!1===o,c=!0===a&&!0===o,d=!1===a&&!0===o,f=!1===a&&!1===o,h={topLeft:s(t,n),topRight:s(i-t,n),bottomLeft:s(t,r-n),bottomRight:s(i-t,r-n)},p=0;return l||f?p=h.topLeft:d?p=h.topRight:c?p=h.bottomRight:u&&(p=h.bottomLeft),2*p}({offsetX:a?s/2:r,offsetY:a?u/2:i,height:s,width:u}),f=l||d/2,p={left:"".concat(a?u/2-f:r-f,"px"),top:"".concat(a?s/2-f:i-f,"px"),height:"".concat(l?2*l:d,"px"),width:"".concat(l?2*l:d,"px"),transitionDelay:"0s, ".concat(c.delay,"ms"),transitionDuration:"".concat(o,"ms, ").concat(c.duration,"ms")};return x?p:Tl(Tl({},p),{backgroundImage:"".concat(_())})}(e),n=g.concat(t);y(n),d&&d(e)}(e)},ref:h},f),c,g.map((function(e,n){return t.createElement(Ol,{key:n,style:e})})))}));Ll.defaultProps={rippleTag:"div",rippleDuration:500,rippleRadius:0,rippleColor:"dark"};var Zl=t.forwardRef((function(e,n){var r=e.className,i=e.color,a=e.outline,o=e.children,s=e.rounded,l=e.disabled,u=e.floating,c=e.size,d=e.href,f=e.block,h=e.active,p=e.toggle,v=e.noRipple,m=e.tag,g=Cl(e,["className","color","outline","children","rounded","disabled","floating","size","href","block","active","toggle","noRipple","tag"]),y=(0,t.useState)(h||!1),b=y[0],x=y[1],w=i&&["light","link"].includes(i)||a?"dark":"light",S=Ml("none"!==i&&"btn","none"!==i?a?i?"btn-outline-".concat(i):"btn-outline-primary":i?"btn-".concat(i):"btn-primary":"",s&&"btn-rounded",u&&"btn-floating",c&&"btn-".concat(c),"".concat((d||"button"!==m)&&l?"disabled":""),f&&"btn-block",b&&"active",r);return d&&"a"!==m&&(m="a"),["hr","img","input"].includes(m)||v?t.createElement(m,Tl({className:S,onClick:p?function(){x(!b)}:void 0,disabled:!(!l||"button"!==m)||void 0,href:d,ref:n},g),o):t.createElement(Ll,Tl({rippleTag:m,rippleColor:w,className:S,onClick:p?function(){x(!b)}:void 0,disabled:!(!l||"button"!==m)||void 0,href:d,ref:n},g),o)}));Zl.defaultProps={tag:"button",role:"button",color:"primary"};var Nl=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.shadow,o=e.toolbar,s=e.size,l=e.vertical,u=e.tag,c=Cl(e,["className","children","shadow","toolbar","size","vertical","tag"]),d=Ml(o?"btn-toolbar":l?"btn-group-vertical":"btn-group",a&&"shadow-".concat(a),s&&"btn-group-".concat(s),r);return t.createElement(u,Tl({className:d,ref:n},c),i)}));Nl.defaultProps={tag:"div",role:"group"};var Il=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=e.color,s=e.grow,l=e.size,u=Cl(e,["className","children","tag","color","grow","size"]),c=Ml("".concat(s?"spinner-grow":"spinner-border"),o&&"text-".concat(o),"".concat(l?s?"spinner-grow-"+l:"spinner-border-"+l:""),r);return t.createElement(a,Tl({className:c,ref:n},u),i)}));Il.defaultProps={tag:"div"};var jl=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.border,o=e.background,s=e.tag,l=e.shadow,u=e.alignment,c=Cl(e,["className","children","border","background","tag","shadow","alignment"]),d=Ml("card",a&&"border border-".concat(a),o&&"bg-".concat(o),l&&"shadow-".concat(l),u&&"text-".concat(u),r);return t.createElement(s,Tl({className:d,ref:n},c),i)}));jl.defaultProps={tag:"div"};var Dl=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.border,o=e.background,s=e.tag,l=Cl(e,["className","children","border","background","tag"]),u=Ml("card-header",a&&"border-".concat(a),o&&"bg-".concat(o),r);return t.createElement(s,Tl({className:u},l,{ref:n}),i)}));Dl.defaultProps={tag:"div"};var zl=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("card-subtitle",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));zl.defaultProps={tag:"p"};var Ul=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("card-title",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));Ul.defaultProps={tag:"h5"};var Fl=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("card-text",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));Fl.defaultProps={tag:"p"};var Bl=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("card-body",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));Bl.defaultProps={tag:"div"};var Vl=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.border,o=e.background,s=e.tag,l=Cl(e,["className","children","border","background","tag"]),u=Ml("card-footer",a&&"border-".concat(a),o&&"bg-".concat(o),r);return t.createElement(s,Tl({className:u},l,{ref:n}),i)}));Vl.defaultProps={tag:"div"};var Hl=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("card-img-
2overlay",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));Hl.defaultProps={tag:"div"};var Wl=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("card-group",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));Wl.defaultProps={tag:"div"};var Gl=t.forwardRef((function(e,n){var r=e.className,i=e.tag,a=e.horizontal,o=e.horizontalSize,s=e.light,l=e.numbered,u=e.children,c=e.small,d=Cl(e,["className","tag","horizontal","horizontalSize","light","numbered","children","small"]),f=Ml("list-group",a&&(o?"list-group-horizontal-".concat(o):"list-group-horizontal"),s&&"list-group-light",l&&"list-group-numbered",c&&"list-group-small",r);return t.createElement(i,Tl({className:f,ref:n},d),u)}));Gl.defaultProps={tag:"ul"};var ql=t.forwardRef((function(e,n){var r=e.className,i=e.tag,a=e.active,o=e.disabled,s=e.action,l=e.color,u=e.children,c=e.noBorders,d=Cl(e,["className","tag","active","disabled","action","color","children","noBorders"]),f="button"===i,h=Ml("list-group-item",a&&"active",o&&!f&&"disabled",s&&"list-group-item-action",l&&"list-group-item-".concat(l),c&&"border-0",r);return t.createElement(i,Tl({className:h,disabled:f&&o,ref:n},d),u)}));ql.defaultProps={tag:"li"};var Xl=t.forwardRef((function(e,n){var r=e.around,i=e.between,a=e.bottom,o=e.center,s=e.children,l=e.className,u=e.evenly,c=e.end,d=e.middle,f=e.start,h=e.tag,p=e.top,v=Cl(e,["around","between","bottom","center","children","className","evenly","end","middle","start","tag","top"]),m=Ml("row",r&&"justify-content-around",i&&"justify-content-between",a&&"align-self-end",o&&"justify-content-center",u&&"justifty-content-evenly",c&&"justify-content-end",d&&"align-self-center",f&&"justify-content-start",p&&"align-self-start",l);return t.createElement(h,Tl({className:m},v,{ref:n}),s)}));Xl.defaultProps={tag:"div"};var Yl=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=e.variant,s=e.color,l=e.blockquote,u=e.note,c=e.noteColor,d=e.listUnStyled,f=e.listInLine,h=Cl(e,["className","children","tag","variant","color","blockquote","note","noteColor","listUnStyled","listInLine"]),p=Ml(o&&o,l&&"blockquote",u&&"note",s&&"text-".concat(s),c&&"note-".concat(c),d&&"list-unstyled",f&&"list-inline",r);return l&&(a="blockquote"),(d||f)&&(a="ul"),t.createElement(a,Tl({className:p,ref:n},h),i)}));Yl.defaultProps={tag:"p"};t.forwardRef((function(e,n){var r=e.className,i=e.color,a=e.uppercase,o=e.bold,s=e.children,l=Cl(e,["className","color","uppercase","bold","children"]),u=Ml("breadcrumb",o&&"font-weight-bold",i&&"text-".concat(i),a&&"text-uppercase",r);return t.createElement("nav",{"aria-label":"breadcrumb"},t.createElement("ol",Tl({className:u,ref:n},l),s))}));var Jl=t.forwardRef((function(e,n){var r=e.className,i=e.active,a=e.current,o=e.children,s=Cl(e,["className","active","current","children"]),l=Ml("breadcrumb-item",i&&"active",r);return t.createElement("li",Tl({className:l,ref:n,"aria-current":i&&a},s),o)}));Jl.defaultProps={current:"page"};var Kl=t.forwardRef((function(e,n){var r,i=e.className,a=e.children,o=e.light,s=e.dark,l=e.scrolling,u=e.fixed,c=e.sticky,d=e.scrollingNavbarOffset,f=e.color,h=e.transparent,p=e.expand,v=e.tag,m=e.bgColor,g=Cl(e,["className","children","light","dark","scrolling","fixed","sticky","scrollingNavbarOffset","color","transparent","expand","tag","bgColor"]),y=(0,t.useState)(!1),b=y[0],x=y[1],w=Ml(((r={"navbar-light":o,"navbar-dark":s,"scrolling-navbar":l||d,"top-nav-collapse":b})["text-".concat(f)]=f&&h?b:f,r),u&&"fixed-".concat(u),c&&"sticky-top","navbar",p&&function(e){if(!1!==e)return"navbar-expand-".concat(e)}(p),m&&"bg-".concat(m),i),S=(0,t.useCallback)((function(){d&&window.pageYOffset>d?x(!0):x(!1)}),[d]);return(0,t.useEffect)((function(){return(l||d)&&window.addEventListener("scroll",S),function(){window.removeEventListener("scroll",S)}}),[S,l,d]),t.createElement(v,Tl({className:w,role:"navigation"},g,{ref:n}),a)}));Kl.defaultProps={tag:"nav"};var Ql=t.forwardRef((function(e,n){var r=e.children,i=e.className,a=e.disabled,o=e.active,s=e.tag,l=Cl(e,["children","className","disabled","active","tag"]),u=Ml("nav-link",a?"disabled":o?"active":"",i);return t.createElement(s,Tl({"data-test":"nav-link",className:u,style:{cursor:"pointer"},ref:n},l),r)}));Ql.defaultProps={tag:"a",active:!1,className:"",disabled:!1};var $l=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("navbar-brand",r);return t.createElement(a,Tl({className:s,ref:n},o),i)}));$l.defaultProps={tag:"a"};var eu=t.forwardRef((function(e,n){var r=e.children,i=e.className,a=e.active,o=e.text,s=e.tag,l=Cl(e,["children","className","active","text","tag"]),u=Ml("nav-item",a&&"active",o&&"navbar-text",i);return t.createElement(s,Tl({},l,{className:u,ref:n}),r)}));eu.defaultProps={tag:"li"};var tu=t.forwardRef((function(e,n){var r=e.children,i=e.className,a=e.right,o=e.fullWidth,s=e.left,l=e.tag,u=Cl(e,["children","className","right","fullWidth","left","tag"]),c=Ml("navbar-nav",o&&"w-100",a&&"ms-auto",s&&"me-auto",i);return t.createElement(l,Tl({className:c,ref:n},u),r)}));tu.defaultProps={tag:"ul",fullWidth:!0};var nu=t.forwardRef((function(e,n){var r=e.children,i=e.className,a=e.tag,o=Cl(e,["children","className","tag"]),s=Ml("navbar-toggler",i);return t.createElement(a,Tl({},o,{className:s,ref:n}),r)}));nu.defaultProps={tag:"button"};var ru=t.forwardRef((function(e,n){var r=e.children,i=e.bgColor,a=e.color,o=e.className,s=Cl(e,["children","bgColor","color","className"]),l=Ml(i&&"bg-".concat(i),a&&"text-".concat(a),o);return t.createElement("footer",Tl({className:l},s,{ref:n}),r)})),iu=(t.forwardRef((function(e,n){var r=e.children,i=e.size,a=e.circle,o=e.center,s=e.end,l=e.start,u=e.className,c=Cl(e,["children","size","circle","center","end","start","className"]),d=Ml("pagination",o&&"justify-content-center",a&&"pagination-circle",s&&"justify-content-end",i&&"pagination-".concat(i),l&&"justify-content-start",u);return t.createElement("ul",Tl({className:d},c,{ref:n}),r)})),t.forwardRef((function(e,n){var r=e.children,i=e.className,a=e.tag,o=Cl(e,["children","className","tag"]),s=Ml("page-link",i);return t.createElement(a,Tl({className:s},o,{ref:n}),r)})));iu.defaultProps={tag:"a"};t.forwardRef((function(e,n){var r=e.children,i=e.className,a=e.active,o=e.disabled,s=Cl(e,["children","className","active","disabled"]),l=Ml("page-item",a&&"active",o&&"disabled",i);return t.createElement("li",Tl({className:l},s,{ref:n}),r)}));var au=t.forwardRef((function(e,n){var r,i=e.animated,a=e.children,o=e.className,s=e.style,l=e.tag,u=e.valuenow,c=e.valuemax,d=e.striped,f=e.bgColor,h=e.valuemin,p=e.width,v=Cl(e,["animated","children","className","style","tag","valuenow","valuemax","striped","bgColor","valuemin","width"]),m=Ml("progress-bar",f&&"bg-".concat(f),d&&"progress-bar-striped",i&&"progress-bar-animated",o),g=Tl({width:"".concat(p,"%")},s);return t.createElement(l,Tl({className:m,style:g,ref:n,role:"progressbar"},v,{"aria-valuenow":null!==(r=Number(p))&&void 0!==r?r:u,"aria-valuemin":Number(h),"aria-valuemax":Number(c)}),a)}));au.defaultProps={tag:"div"};var ou=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=e.height,s=e.style,l=Cl(e,["className","children","tag","height","style"]),u=
2Ml("progress",r),c=Tl({height:"".concat(o,"px")},s);return t.createElement(a,Tl({className:u,ref:n,style:c},l),t.Children.map(i,(function(e){return t.isValidElement(e)&&e.type===au?e:void console.error("Progress component only allows ProgressBar as child")})))}));ou.defaultProps={tag:"div"};var su=t.forwardRef((function(e,n){var r,i,a=e.className,o=e.size,s=e.contrast,l=e.value,u=e.defaultValue,c=e.id,d=e.labelClass,f=e.wrapperClass,h=e.wrapperStyle,p=e.wrapperTag,v=e.label,m=e.onChange,g=e.children,y=e.labelRef,b=e.labelStyle,x=e.type,w=e.onBlur,S=e.readonly,_=Cl(e,["className","size","contrast","value","defaultValue","id","labelClass","wrapperClass","wrapperStyle","wrapperTag","label","onChange","children","labelRef","labelStyle","type","onBlur","readonly"]),k=(0,t.useState)(l||u),M=k[0],E=k[1],T=(0,t.useState)(0),C=T[0],A=T[1],P=(0,t.useState)(!1),R=P[0],O=P[1],L=(0,t.useRef)(null);(0,t.useImperativeHandle)(n,(function(){return L.current}));var Z=(0,t.useRef)(null),N=y||Z,I=Ml("form-outline",s&&"form-white",f),j=Ml("form-control",R&&"active","date"===x&&"active",o&&"form-control-".concat(o),a),D=Ml("form-label",d);(0,t.useEffect)((function(){L.current&&(L.current.value.length>0?O(!0):O(!1))}),[null===(r=L.current)||void 0===r?void 0:r.value]),(0,t.useEffect)((function(){void 0!==l&&(l.toString().length>0?O(!0):O(!1))}),[l]),(0,t.useEffect)((function(){void 0!==u&&(u.toString().length>0?O(!0):O(!1))}),[u]);var z=(0,t.useCallback)((function(){var e;(null===(e=N.current)||void 0===e?void 0:e.clientWidth)&&A(.8*N.current.clientWidth+8)}),[N]);(0,t.useEffect)((function(){z()}),[null===(i=N.current)||void 0===i?void 0:i.clientWidth,z]);var U=(0,t.useCallback)((function(e){L.current&&(void 0!==M&&M.toString().length>0||void 0!==l&&l.toString().length>0||L.current.value.length>0?O(!0):O(!1),w&&w(e))}),[M,l,w]);return t.createElement(p,{className:I,style:h},t.createElement("input",Tl({type:x,readOnly:S,className:j,onBlur:U,onChange:function(e){E(e.target.value),null==m||m(e)},onFocus:z,value:l,defaultValue:u,id:c,ref:L},_)),v&&t.createElement("label",{className:D,style:b,htmlFor:c,ref:N},v),t.createElement("div",{className:"form-notch"},t.createElement("div",{className:"form-notch-leading"}),t.createElement("div",{className:"form-notch-middle",style:{width:C}}),t.createElement("div",{className:"form-notch-trailing"})),g)}));su.defaultProps={wrapperTag:"div",readonly:!1};var lu=function(e){var n=e.className,r=e.inputRef,i=e.labelClass,a=e.wrapperClass,o=e.labelStyle,s=e.wrapperTag,l=e.wrapperStyle,u=e.label,c=e.inline,d=e.btn,f=e.id,h=e.btnColor,p=e.disableWrapper,v=e.toggleSwitch,m=Cl(e,["className","inputRef","labelClass","wrapperClass","labelStyle","wrapperTag","wrapperStyle","label","inline","btn","id","btnColor","disableWrapper","toggleSwitch"]),g="form-check-input",y="form-check-label";d&&(g="btn-check",y=h?"btn btn-".concat(h):"btn btn-primary");var b=Ml(u&&!d&&"form-check",c&&!d&&"form-check-inline",v&&"form-switch",a),x=Ml(g,n),w=Ml(y,i),S=t.createElement(t.Fragment,null,t.createElement("input",Tl({className:x,id:f,ref:r},m)),u&&t.createElement("label",{className:w,style:o,htmlFor:f},u));return t.createElement(t.Fragment,null,p?S:t.createElement(s,{style:l,className:b},S))};lu.defaultProps={wrapperTag:"div"};var uu=function(e){var n=e.className,r=e.children,i=e.show,a=e.id,o=e.navbar,s=e.tag,l=e.collapseRef,u=e.style,c=Cl(e,["className","children","show","id","navbar","tag","collapseRef","style"]),d=(0,t.useState)(!1),f=d[0],h=d[1],p=(0,t.useState)(void 0),v=p[0],m=p[1],g=(0,t.useState)(!1),y=g[0],b=g[1],x=Ml(y?"collapsing":"collapse",!y&&f&&"show",o&&"navbar-collapse",n),w=(0,t.useRef)(null),S=null!=l?l:w,_=(0,t.useCallback)((function(){f&&m(void 0)}),[f]);return(0,t.useEffect)((function(){var e;void 0===v&&f&&m(null===(e=null==S?void 0:S.current)||void 0===e?void 0:e.scrollHeight)}),[v,f,S]),(0,t.useEffect)((function(){h(i),f&&b(!0);var e=setTimeout((function(){b(!1)}),350);return function(){clearTimeout(e)}}),[i,f]),(0,t.useEffect)((function(){var e;m(f?null===(e=null==S?void 0:S.current)||void 0===e?void 0:e.scrollHeight:0)}),[f,S]),(0,t.useEffect)((function(){return window.addEventListener("resize",_),function(){window.removeEventListener("resize",_)}}),[_]),t.createElement(s,Tl({style:Tl({height:v},u),id:a,className:x},c,{ref:S}),r)};uu.defaultProps={tag:"div"};(0,t.createContext)(null);function cu(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");
2i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}cu(".dropdown-menu .active {\r\n  color: #16181b;\r\n  background-color: #eee;\r\n}\r\n");cu(".dropdown-menu [data-active='true'] a.dropdown-item,\r\n.dropdown-menu .dropdown-item:focus,\r\n.dropdown-menu li:focus .dropdown-item :not(.disabled) {\r\n  color: #16181b;\r\n  background-color: #eee;\r\n}\r\n\r\n.dropdown-menu li:focus {\r\n  outline: none;\r\n}\r\n\r\n.dropdown-menu.dropdown-menu-dark [data-active='true'] a.dropdown-item,\r\n.dropdown-menu.dropdown-menu-dark .dropdown-item:focus,\r\n.dropdown-menu.dropdown-menu-dark li:focus .dropdown-item {\r\n  color: #fff;\r\n  background-color: #1266f1;\r\n}\r\n\r\n.btn-group.dropstart > .dropdown-menu {\r\n  right: 0 !important;\r\n}\r\n");var du=t.forwardRef((function(e,n){var r=e.className,i=e.centered,a=e.children,o=e.size,s=e.scrollable,l=e.tag,u=Cl(e,["className","centered","children","size","scrollable","tag"]),c=Ml("modal-dialog",s&&"modal-dialog-scrollable",i&&"modal-dialog-centered",o&&"modal-".concat(o),r);return t.createElement(l,Tl({className:c},u,{ref:n}),a)}));du.defaultProps={tag:"div"};var fu=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("modal-content",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));fu.defaultProps={tag:"div"};var hu=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("modal-header",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));hu.defaultProps={tag:"div"};var pu=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("modal-title",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));pu.defaultProps={tag:"h5"};var vu=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("modal-body",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));vu.defaultProps={tag:"div"};var mu=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.tag,o=Cl(e,["className","children","tag"]),s=Ml("modal-footer",r);return t.createElement(a,Tl({className:s},o,{ref:n}),i)}));mu.defaultProps={tag:"div"};t.createContext({activeElement:null,setTargets:null});var gu=function(e){var n=e.value,r=e.min,i=e.max,a=e.showThumb,o=Number(n),s=(0,t.useState)(100*(o||0-Number(r))/(Number(i)-Number(r))),l=s[0],u=s[1],c=Ml("thumb",a&&"thumb-active");return(0,t.useEffect)((function(){u(100*(Number(n)-Number(r))/(Number(i)-Number(r)))}),[n,i,r]),t.createElement("span",{className:c,style:{left:"calc(".concat(l,"% + (").concat(8-.15*l,"px))")}},t.createElement("span",{className:"thumb-value"},n))};gu.defaultProps={min:"0",max:"100"};var yu=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.noBorder,o=e.textBefore,s=e.textAfter,l=e.noWrap,u=e.tag,c=e.textTag,d=e.textClass,f=e.size,h=e.textProps,p=Cl(e,["className","children","noBorder","textBefore","textAfter","noWrap","tag","textTag","textClass","size","textProps"]),v=Ml("input-group",l&&"flex-nowrap",f&&"input-group-".concat(f),r),m=Ml("input-group-text",a&&"border-0",d),g=function(e){return t.createElement(t.Fragment,null,e&&Array.isArray(e)?e.map((function(e,n){return t.createElement(c,Tl({key:n,className:m},h),e)})):t.createElement(c,Tl({className:m},h),e))};return t.createElement(u,Tl({className:v,ref:n},p),o&&g(o),i,s&&g(s))}));yu.defaultProps={tag:"div",textTag:"span"};var bu=t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.isValidated,o=e.onReset,s=e.onSubmit,l=Cl(e,["className","children","isValidated","onReset","onSubmit"]),u=(0,t.useState)(a),c=u[0],d=u[1],f=Ml("needs-validation",c&&"was-validated",r);return t.createElement("form",Tl({className:f,onSubmit:function(e){e.preventDefault(),d(!0),s&&s(e)},onReset:function(e){e.preventDefault(),d(!1),o&&o(e)},ref:n},l),i)}));bu.defaultProps={noValidate:!0};t.forwardRef((function(e,n){var r=e.className,i=e.fill,a=e.pills,o=e.justify,s=e.children,l=Cl(e,["className","fill","pills","justify","children"]),u=Ml("nav",a?"nav-pills":"nav-tabs",i&&"nav-fill",o&&"nav-justified",r);return t.createElement("ul",Tl({className:u,ref:n},l),s)})),t.forwardRef((function(e,n){var r=e.className,i=e.children,a=e.style,o=Cl(e,["className","children","style"]),s=Ml("nav-item",r);return t.createElement("li",Tl({className:s,style:Tl({cursor:"pointer"},a),role:"presentation",ref:n},o),i)})),t.forwardRef((function(e,n){var r=e.className,i=e.color,a=e.active,o=e.onShow,s=e.onHide,l=e.children,u=Cl(e,["className","color","active","onShow","onHide","children"]),c=Ml("nav-link",a&&"active",i&&"bg-".concat(i),r);return(0,t.useEffect)((function(){a?null==o||o():null==s||s()}
2),[a]),t.createElement("a",Tl({className:c,ref:n},u),l)}));var xu=t.forwardRef((function(e,n){var r=e.className,i=e.tag,a=e.children,o=Cl(e,["className","tag","children"]),s=Ml("tab-content",r);return t.createElement(i,Tl({className:s,ref:n},o),a)}));xu.defaultProps={tag:"div"};var wu=t.forwardRef((function(e,n){var r=e.className,i=e.tag,a=e.show,o=e.children,s=Cl(e,["className","tag","show","children"]),l=(0,t.useState)(!1),u=l[0],c=l[1],d=Ml("tab-pane","fade",u&&"show",a&&"active",r);return(0,t.useEffect)((function(){var e;return a?e=setTimeout((function(){c(!0)}),100):c(!1),function(){clearTimeout(e)}}),[a]),t.createElement(i,Tl({className:d,role:"tabpanel",ref:n},s),o)}));wu.defaultProps={tag:"div"};var Su=(0,t.createContext)({active:0}),_u=function(e){var n=e.imagesCount,r=e.to,i=(0,t.useContext)(Su).active;return t.createElement("ol",{className:"carousel-indicators"},Array.from(Array(n)).map((function(e,n){return t.createElement("li",{"data-mdb-target":n,key:n,className:Ml(i===n&&"active"),onClick:function(){return r(n)}})})))},ku=function(e){var n=e.move;return t.createElement(t.Fragment,null,t.createElement("a",{role:"button",className:"carousel-control-prev",onClick:function(){return n("prev")}},t.createElement("span",{className:"carousel-control-prev-icon"}),t.createElement("span",{className:"visually-hidden"},"Previous")),t.createElement("a",{role:"button",className:"carousel-control-next",onClick:function(){return n("next")}},t.createElement("span",{className:"carousel-control-next-icon"}),t.createElement("span",{className:"visually-hidden"},"Next")))},Mu=function(e){"function"==typeof e&&e()};(function(e){var n=e.fade,r=e.className,i=e.dark,a=e.children,o=e.interval,s=e.keyboard,l=e.touch,u=e.showControls,c=e.showIndicators,d=e.onSlide,f=Cl(e,["fade","className","dark","children","interval","keyboard","touch","showControls","showIndicators","onSlide"]),h=(0,t.useRef)([]),p=(0,t.useRef)(null),v=(0,t.useRef)(0),m=(0,t.useRef)(!1),g=(0,t.useState)(0),y=g[0],b=g[1],x=(0,t.useState)(0),w=x[0],S=x[1],_=(0,t.useState)({initialX:0,initialY:0}),k=_[0],M=_[1],E=(0,t.useState)(!1),T=E[0],C=E[1],A=(0,t.useRef)(null),P=Ml("carousel","slide",n&&"carousel-fade",i&&"carousel-dark",r),R=function(){p.current&&(clearInterval(p.current),p.current=null)},O=(0,t.useCallback)((function(e,t){if(void 0!==t)v.current=t,b(t);else{var n=y===w-1?0:y+1,r=0===y?w-1:y-1;v.current="next"===e?n:r,b("next"===e?n:r)}}),[y,w]),L=(0,t.useCallback)((function(e,t,n){var r;C(!0);var i=h.current[y],a=Boolean(p.current),o="next"===e,s=o?"carousel-item-start":"carousel-item-end",l=o?"carousel-item-next":"carousel-item-prev";t.classList.contains("active")?m.current=!1:(O(e,n),i&&t&&(m.current=!0,a&&R(),(null===(r=A.current)||void 0===r?void 0:r.classList.contains("slide"))?(t.classList.add(l),t.offsetHeight,i.classList.add(s),t.classList.add(s),function(e,t,n){if(void 0===n&&(n=!0),n){var r=function(e){if(!e)return 0;var t=window.getComputedStyle(e),n=t.transitionDuration,r=t.transitionDelay,i=Number.parseFloat(n),a=Number.parseFloat(r);return i||a?(n=n.split(",")[0],r=r.split(",")[0],1e3*(Number.parseFloat(n)+Number.parseFloat(r))):0}(t);t.addEventListener("transitionend",(function(){return Mu(e)}),{once:!0}),function(e,t){var n=!1,r=t+5;e.addEventListener("transitionend",(function t(){n=!0,e.removeEventListener("transitionend",t)})),setTimeout((function(){n||function(e){e.dispatchEvent(new Event("transitionend"))}(e)}),r)}(t,r)}else Mu(e)}((function(){C(!1),t.classList.remove(s,l),t.classList.add("active"),i.classList.remove("active",l,s),m.current=!1}),i,!0)):(i.classList.remove("active"),t.classList.add("active"),m.current=!1)))}),[A,y,O]),Z=function(e){m.current||(m.current=!0,setTimeout((function(){m.current=!1}),e))},N=(0,t.useCallback)((function(e){var t="prev"===e,n=(v.current+(t?-1:1))%w,r=h.current;return-1===n?r[w-1]:r[n]}),[w]),I=(0,t.useCallback)((function(e){if(!m.current){Z(600);var t=N(e);L(e,t)}}),[N,L]),j=(0,t.useCallback)((function(){var e,t,n,r=document.visibilityState,i=document.hidden;if(r){if(i||(e=A.current,t=getComputedStyle(e),n=getComputedStyle(null==e?void 0:e.parentNode),"none"===t.display||"none"===n.display||"hidden"===t.visibility))return;return I("next")}I("next")}),[A,I]),D=(0,t.useCallback)((function(){p.current&&(clearInterval(p.current),p.current=null),p.current=setInterval(j,o)}),[j,o]),z=(0,t.useCallback)((function(e){switch(e.key){case"ArrowLeft":e.preventDefault(),I("prev");break;case"ArrowRight":e.preventDefault(),I("next")}}),[I]);return(0,t.useEffect)((function(){if(s)return window.addEventListener("keydown",z),function(){window.removeEventListener("keydown",z)}}),[z,s]),(0,t.useEffect)((function(){var e=function(e){return Array.from(null==e?void 0:e.querySelectorAll(".carousel-item"))}(A.current);h.current=e,S(e.length)}),[A]),(0,t.useEffect)((function(){null==d||d()}),[T,d]),(0,t.useEffect)((function(){D()}),[D]),t.createElement("div",Tl({onTouchStart:function(e){l&&M({initialX:e.touches[0].clientX,initialY:e.touches[0].clientY})},onTouchMove:function(e){m.current=!0;var t=k.initialX,n=k.initialY;if(t&&n){var r=t-e.touches[0].clientX,i=n-e.touches[0].clientY;Math.abs(r)>Math.abs(i)&&I(r>0?"prev":"next"),M({initialX:0,initialY:0})}},onTouchEnd:function(){m.current=!1},onMouseEnter:R,onMouseLeave:D,className:P,ref:A},f),t.createElement("div",{className:"carousel-inner"},t.createElement(Su.Provider,{value:{active:y}},c&&t.createElement(_u,{to:function(e){if(!(m.current||(Z(700),e>w-1||e<0))){var t=function(e){return{direction:e>v.current?"next":"prev",nextElement:h.current[e]}}(e),n=t.direction,r=t.nextElement;L(n,r,e)}},imagesCount:w}),a,u&&t.createElement(ku,{move:I}))))}).defaultProps={fade:!1,interval:5e3,touch:!0,keyboard:!1};var Eu=t.createContext({activeItem:0,setActiveItem:null,alwaysOpen:!1,initialActive:0}),Tu=t.forwardRef((function(e,n){var r=e.alwaysOpen,i=e.borderless,a=e.className,o=e.flush,s=e.initialActive,l=e.tag,u=e.children,c=e.onCh
2ange,d=Cl(e,["alwaysOpen","borderless","className","flush","initialActive","tag","children","onChange"]),f=Ml("accordion",o&&"accordion-flush",i&&"accordion-borderless",a),h=(0,t.useState)(s),p=h[0],v=h[1];return(0,t.useEffect)((function(){p&&c&&c(p)}),[c,p]),t.createElement(l,Tl({className:f,ref:n},d),t.createElement(Eu.Provider,{value:{activeItem:p,setActiveItem:v,alwaysOpen:r,initialActive:s}},u))}));Tu.defaultProps={tag:"div",initialActive:0};var Cu=t.forwardRef((function(e,n){var r=e.className,i=e.bodyClassName,a=e.bodyStyle,o=e.headerClassName,s=e.collapseId,l=e.headerTitle,u=e.headerStyle,c=e.btnClassName,d=e.tag,f=e.children,h=Cl(e,["className","bodyClassName","bodyStyle","headerClassName","collapseId","headerTitle","headerStyle","btnClassName","tag","children"]),p=(0,t.useContext)(Eu),v=p.activeItem,m=p.setActiveItem,g=p.alwaysOpen,y=p.initialActive,b=(0,t.useState)(y),x=b[0],w=b[1],S=Ml("accordion-item",r),_=Ml("accordion-header",o),k=Ml("accordion-body",i),M=Ml("accordion-button",g?s!==x&&"collapsed":s!==v&&"collapsed",c);return t.createElement(d,Tl({className:S,ref:n},h),t.createElement("h2",{className:_,style:u},t.createElement("button",{onClick:function(){return e=s,void(g?w(e!==x?e:0):m(e!==v?e:0));var e},className:M,type:"button"},l)),t.createElement(uu,{id:s.toString(),show:g?x===s:v===s},t.createElement("div",{className:k,style:a},f)))}));Cu.defaultProps={tag:"div"};function Au(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function Pu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(t).forEach((function(n){"undefined"===typeof e[n]?e[n]=t[n]:Au(t[n])&&Au(e[n])&&Object.keys(t[n]).length>0&&Pu(e[n],t[n])}))}var Ru={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ou(){var e="undefined"!==typeof document?document:{};return Pu(e,Ru),e}var Lu={document:Ru,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function Zu(){var e="undefined"!==typeof window?window:{};return Pu(e,Lu),e}var Nu=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),"number"===typeof e?r=t.call(this,e):(r=t.call.apply(t,[this].concat((0,ye.Z)(e||[]))),function(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(e){t.__proto__=e}})}((0,cn.Z)(r))),(0,Uo.Z)(r)}return(0,xe.Z)(n)}((0,_e.Z)(Array));function Iu(){var e=[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(t){Array.isArray(t)?e.push.apply(e,(0,ye.Z)(Iu(t))):e.push(t)})),e}function ju(e,t){return Array.prototype.filter.call(e,t)}function Du(e,t){var n=Zu(),r=Ou(),i=[];if(!t&&e instanceof Nu)return e;if(!e)return new Nu(i);if("string"===typeof e){var a=e.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){var o="div";0===a.indexOf("<li")&&(o="ul"),0===a.indexOf("<tr")&&(o="tbody"),0!==a.indexOf("<td")&&0!==a.indexOf("<th")||(o="tr"),0===a.indexOf("<tbody")&&(o="table"),0===a.indexOf("<option")&&(o="select");var s=r.createElement(o);s.innerHTML=a;for(var l=0;l<s.childNodes.length;l+=1)i.push(s.childNodes[l])}else i=function(e,t){if("string"!==typeof e)return[e];for(var n=[],r=t.querySelectorAll(e),i=0;i<r.length;i+=1)n.push(r[i]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)i.push(e);else if(Array.isArray(e)){if(e instanceof Nu)return e;i=e}return new Nu(function(e){for(var t=[],n=0;n<e.length;
2n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(i))}Du.fn=Nu.prototype;var zu="resize scroll".split(" ");function Uu(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if("undefined"===typeof n[0]){for(var i=0;i<this.length;i+=1)zu.indexOf(e)<0&&(e in this[i]?this[i][e]():Du(this[i]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}}Uu("click"),Uu("blur"),Uu("focus"),Uu("focusin"),Uu("focusout"),Uu("keyup"),Uu("keydown"),Uu("keypress"),Uu("submit"),Uu("change"),Uu("mousedown"),Uu("mousemove"),Uu("mouseup"),Uu("mouseenter"),Uu("mouseleave"),Uu("mouseout"),Uu("mouseover"),Uu("touchstart"),Uu("touchend"),Uu("touchmove"),Uu("resize"),Uu("scroll");var Fu={addClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Iu(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).add.apply(t,(0,ye.Z)(r))})),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Iu(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).remove.apply(t,(0,ye.Z)(r))})),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Iu(t.map((function(e){return e.split(" ")})));return ju(this,(function(e){return r.filter((function(t){return e.classList.contains(t)})).length>0})).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Iu(t.map((function(e){return e.split(" ")})));this.forEach((function(e){r.forEach((function(t){e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"===typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!==typeof e?"".concat(e,"ms"):e;return this},on:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],a=t[2],o=t[3];function s(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),Du(t).is(i))a.apply(t,n);else for(var r=Du(t).parents(),o=0;o<r.length;o+=1)Du(r[o]).is(i)&&a.apply(r[o],n)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"===typeof t[1]&&(r=t[0],a=t[1],o=t[2],i=void 0),o||(o=!1);for(var u,c=r.split(" "),d=0;d<this.length;d+=1){var f=this[d];if(i)for(u=0;u<c.length;u+=1){var h=c[u];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[h]||(f.dom7LiveListeners[h]=[]),f.dom7LiveListeners[h].push({listener:a,proxyListener:s}),f.addEventListener(h,s,o)}else for(u=0;u<c.length;u+=1){var p=c[u];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[p]||(f.dom7Listeners[p]=[]),f.dom7Listeners[p].push({listener:a,proxyListener:l}),f.addEventListener(p,l,o)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],a=t[2],o=t[3];"function"===typeof t[1]&&(r=t[0],a=t[1],o=t[2],i=void 0),o||(o=!1);for(var s=r.split(" "),l=0;l<s.length;l+=1)for(var u=s[l],c=0;c<this.length;c+=1){var d=this[c],f=void 0;if(!i&&d.dom7Listeners?f=d.dom7Listeners[u]:i&&d.dom7LiveListeners&&(f=d.dom7LiveListeners[u]),f&&f.length)for(var h=f.length-1;h>=0;h-=1){var p=f[h];a&&p.listener===a||a&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===a?(d.removeEventListener(u,p.proxyListener,o),f.splice(h,1)):a||(d.removeEventListener(u,p.proxyListener,o),f.splice(h,1))}}return this},trigger:function(){for(var e=Zu(),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=n[0].split(" "),a=n[1],o=0;o<i.length;o+=1)for(var s=i[o],l=0;l<this.length;l+=1){var u=this[l];if(e.CustomEvent){var c=new e.CustomEvent(s,{detail:a,bubbles:!0,cancelable:!0});u.dom7EventData=n.filter((function(e,t){return t>0})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}}return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",(function n(r){r.target===this&&(e.call(this,r),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+
vendor: 4,708 bytes, line 2
2parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=Zu();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var e=Zu(),t=Ou(),n=this[0],r=n.getBoundingClientRect(),i=t.body,a=n.clientTop||i.clientTop||0,o=n.clientLeft||i.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-a,left:r.left+l-o}}return null},css:function(e,t){var n,r=Zu();if(1===arguments.length){if("string"!==typeof e){for(n=0;n<this.length;n+=1)for(var i in e)this[n].style[i]=e[i];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"===typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){return e?(this.forEach((function(t,n){e.apply(t,[t,n])})),this):this},html:function(e){if("undefined"===typeof e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if("undefined"===typeof e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,n,r=Zu(),i=Ou(),a=this[0];if(!a||"undefined"===typeof e)return!1;if("string"===typeof e){if(a.matches)return a.matches(e);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(e);if(a.msMatchesSelector)return a.msMatchesSelector(e);for(t=Du(e),n=0;n<t.length;n+=1)if(t[n]===a)return!0;return!1}if(e===i)return a===i;if(e===r)return a===r;if(e.nodeType||e instanceof Nu){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===a)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if("undefined"===typeof e)return this;var t=this.length;if(e>t-1)return Du([]);if(e<0){var n=t+e;return Du(n<0?[]:[this[n]])}return Du([this[e]])},append:function(){for(var e,t=Ou(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if("string"===typeof e){var i=t.createElement("div");for(i.innerHTML=e;i.firstChild;)this[r].appendChild(i.firstChild)}else if(e instanceof Nu)for(var a=0;a<e.length;a+=1)this[r].appendChild(e[a]);else this[r].appendChild(e)}return this},prepend:function(e){var t,n,r=Ou();for(t=0;t<this.length;t+=1)if("string"===typeof e){var i=r.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof Nu)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&Du(this[0].nextElementSibling).is(e)?Du([this[0].nextElementSibling]):Du([]):this[0].nextElementSibling?Du([this[0].nextElementSibling]):Du([]):Du([])},nextAll:function(e){var t=[],n=this[0];if(!n)return Du([]);for(;n.nextElementSibling;){var r=n.nextElementSibling;e?Du(r).is(e)&&t.push(r):t.push(r),n=r}return Du(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&Du(t.previousElementSibling).is(e)?Du([t.previousElementSibling]):Du([]):t.previousElementSibling?Du([t.previousElementSibling]):Du([])}return Du([])},prevAll:function(e){var t=[],n=this[0];if(!n)return Du([]);for(;n.previousElementSibling;){var r=n.previousElementSibling;e?Du(r).is(e)&&t.push(r):t.push(r),n=r}return Du(t)},parent:function(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?Du(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return Du(t)},parents:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?Du(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return Du(t)},closest:function(e){var t=this;return"undefined"===typeof e?Du([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),i=0;i<r.length;i+=1)t.push(r[i]);return Du(t)},children:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,i=0;i<r.length;i+=1)e&&!Du(r[i]).is(e)||t.push(r[i]);return Du(t)},filter:function(e){return Du(ju(this,e))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(Fu).forEach((function(e){Object.defineProperty(Du.fn,e,{value:Fu[e],writable:!0})}
2));var Bu,Vu,Hu,Wu=Du;function Gu(e){return setTimeout(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)}function qu(){return Date.now()}function Xu(e){var t,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",a=Zu(),o=function(e){var t,n=Zu();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return a.WebKitCSSMatrix?((n=o.transform||o.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new a.WebKitCSSMatrix("none"===n?"":n)):t=(r=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(n=a.WebKitCSSMatrix?r.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===i&&(n=a.WebKitCSSMatrix?r.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),n||0}function Yu(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Ju(){for(var e,t=Object(arguments.length<=0?void 0:arguments[0]),n=["__proto__","constructor","prototype"],r=1;r<arguments.length;r+=1){var i=r<0||arguments.length<=r?void 0:arguments[r];if(void 0!==i&&null!==i&&(e=i,!("undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType))))for(var a=Object.keys(Object(i)).filter((function(e){return n.indexOf(e)<0})),o=0,s=a.length;o<s;o+=1){var l=a[o],u=Object.getOwnPropertyDescriptor(i,l);void 0!==u&&u.enumerable&&(Yu(t[l])&&Yu(i[l])?i[l].__swiper__?t[l]=i[l]:Ju(t[l],i[l]):!Yu(t[l])&&Yu(i[l])?(t[l]={},i[l].__swiper__?t[l]=i[l]:Ju(t[l],i[l])):t[l]=i[l])}}return t}function Ku(e,t,n){e.style.setProperty(t,n)}function Qu(e){var t,n=e.swiper,r=e.targetPosition,i=e.side,a=Zu(),o=-n.translate,s=null,l=n.params.speed;n.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(n.cssModeFrameID);var u=r>o?"next":"prev",c=function(e,t){return"next"===u&&e>=t||"prev"===u&&e<=t};!function e(){t=(new Date).getTime(),null===s&&(s=t);var u=Math.max(Math.min((t-s)/l,1),0),d=.5-Math.cos(u*Math.PI)/2,f=o+d*(r-o);if(c(f,r)&&(f=r),n.wrapperEl.scrollTo((0,Jt.Z)({},i,f)),c(f,r))return n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout((function(){n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo((0,Jt.Z)({},i,f))})),void a.cancelAnimationFrame(n.cssModeFrameID);n.cssModeFrameID=a.requestAnimationFrame(e)}()}function $u(){return Bu||(Bu=function(){var e=Zu(),t=Ou();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(nZ){}return t}(),gestures:"ongesturestart"in e}}()),Bu}function ec(){return Vu||(Vu=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).userAgent,t=$u(),n=Zu(),r=n.navigator.platform,i=e||n.navigator.userAgent,a={ios:!1,android:!1},o=n.screen.width,s=n.screen.height,l=i.match(/(Android);?[\s\/]+([\d.]+)?/),u=i.match(/(iPad).*OS\s([\d_]+)/),c=i.match(/(iPod)(.*OS\s([\d_]+))?/),d=!u&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===r,h="MacIntel"===r;return!u&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(o,"x").concat(s))>=0&&((u=i.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),h=!1),l&&!f&&(a.os="android",a.android=!0),(u||d||c)&&
2(a.os="ios",a.ios=!0),a}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})),Vu}function tc(){return Hu||(Hu=function(){var e=Zu();return{isSafari:function(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),Hu}var nc={on:function(e,t,n){var r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;var i=n?"unshift":"push";return e.split(" ").forEach((function(e){r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once:function(e,t,n){var r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];t.apply(r,a)}return i.__emitterProxy=t,r.on(e,i,n)},onAny:function(e,t){var n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof e)return n;var r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny:function(e){var t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;var n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off:function(e,t){var n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((function(e){"undefined"===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((function(r,i){(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit:function(){var e,t,n,r=this;if(!r.eventsListeners||r.destroyed)return r;if(!r.eventsListeners)return r;for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return"string"===typeof a[0]||Array.isArray(a[0])?(e=a[0],t=a.slice(1,a.length),n=r):(e=a[0].events,t=a[0].data,n=a[0].context||r),t.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach((function(e){r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach((function(r){r.apply(n,[e].concat((0,ye.Z)(t)))})),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach((function(e){e.apply(n,t)}))})),r}};var rc={updateSize:function(){var e,t,n=this,r=n.$el;e="undefined"!==typeof n.params.width&&null!==n.params.width?n.params.width:r[0].clientWidth,t="undefined"!==typeof n.params.height&&null!==n.params.height?n.params.height:r[0].clientHeight,0===e&&n.isHorizontal()||0===t&&n.isVertical()||(e=e-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),t=t-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(n,{width:e,height:t,size:n.isHorizontal()?e:t}))},updateSlides:function(){var e=this;function t(t){return e.isHorizontal()?t:{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"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}var r=e.params,i=e.$wrapperEl,a=e.size,o=e.rtlTranslate,s=e.wrongRTL,l=e.virtual&&r.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=i.children(".".concat(e.params.slideClass)),d=l?e.virtual.slides.length:c.length,f=[],h=[],p=[],v=r.slidesOffsetBefore;"function"===typeof v&&(v=r.slidesOffsetBefore.call(e));var m=r.slidesOffsetAfter;"function"===typeof m&&(m=r.slidesOffsetAfter.call(e));var g=e.snapGrid.length,y=e.slidesGrid.length,b=r.spaceBetween,x=-v,w=0,S=0;if("undefined"!==typeof a){"string"===typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*a),e.virtualSize=-b,o?c.css({marginLeft:"",marginBottom:"",marginTop:""}):c.css({marginRight:"",marginBottom:"",marginTop:""}),r.centeredSlides&&r.cssMode&&(Ku(e.wrapperEl,"--swiper-centered-offset-before",""),Ku(e.wrapperEl,"--swiper-centered-offset-after",""));var _,k=r.grid&&r.grid.rows>1&&e.grid;k&&e.grid.initSlides(d);for(var M="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((function(e){return"undefined"!==typeof r.breakpoints[e].slidesPerView})).length>0,E=0;E<d;E+=1){_=0;var T=c.eq(E);if(k&&e.grid.updateSlide(E,T,d,t),"none"!==T.css("display")){if("auto"===r.slidesPerView){M&&(c[E].style[t("width")]="");var C=getComputedStyle(T[0]),A=T[0].style.transform,P=T[0].style.webkitTransform;if(A&&(T[0].style.transform="none"),P&&(T[0].style.webkitTransform="none"),r.roundLengths)_=e.isHorizontal()?T.outerWidth(!0):T.outerHeight(!0);else{var R=n(C,"width"),O=n(C,"padding-left"),L=n(C,"padding-right"),Z=n(C,"margin-left"),N=n(C,"margin-right"),I=C.getPropertyValue("box-sizing");if(I&&"border-box"===I)_=R+Z+N;else{var j=T[0],D=j.clientWidth;_=R+O+L+Z+N+(j.offsetWidth-D)}}A&&(T[0].style.transform=A),P&&(T[0].style.webkitTransform=P),r.roundLengths&&(_=Math.floor(_))}else _=(a-(r.slidesPerView-1)*b)/r.slidesPerView,r.roundLengths&&(_=Math.floor(_)),c[E]&&(c[E].style[t("width")]="".concat(_,"px"));c[E]&&(c[E].swiperSlideSize=_),p.push(_),r.centeredSlides?(x=x+_/2+w/2+b,0===w&&0!==E&&(x=x-a/2-b),0===E&&(x=x-a/2-b),Math.abs(x)<.001&&(x=0),r.roundLengths&&(x=Math.floor(x)),S%r.slidesPerGroup===0&&f.push(x),h.push(x)):(r.roundLengths&&(x=Math.floor(x)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&f.push(x),h.push(x),x=x+_+b),e.virtualSize+=_+b,w=_,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+m,o&&s&&("slide"===r.effect||"coverflow"===r.effect)&&i.css({width:"".concat(e.virtualSize+r.spaceBetween,"px")}),r.setWrapperSize&&i.css((0,Jt.Z)({},t("width"),"".concat(e.virtualSize+r.spaceBetween,"px"))),k&&e.grid.updateWrapperSize(_,f,t),!r.centeredSlides){for(var z=[],U=0;U<f.length;U+=1){var F=f[U];r.roundLengths&&(F=Math.floor(F)),f[U]<=e.virtualSize-a&&z.push(F)}f=z,Math.floor(e.virtualSize-a)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-a)}if(0===f.length&&(f=[0]),0!==r.spaceBetween){var B=e.isHorizontal()&&o?"marginLeft":t("marginRight");c.filter((function(e,t){return!r.cssMode||t!==c.length-1})).css((0,Jt.Z)({},B,"".concat(b,"px")))}
2if(r.centeredSlides&&r.centeredSlidesBounds){var V=0;p.forEach((function(e){V+=e+(r.spaceBetween?r.spaceBetween:0)}));var H=(V-=r.spaceBetween)-a;f=f.map((function(e){return e<0?-v:e>H?H+m:e}))}if(r.centerInsufficientSlides){var W=0;if(p.forEach((function(e){W+=e+(r.spaceBetween?r.spaceBetween:0)})),(W-=r.spaceBetween)<a){var G=(a-W)/2;f.forEach((function(e,t){f[t]=e-G})),h.forEach((function(e,t){h[t]=e+G}))}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:h,slidesSizesGrid:p}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){Ku(e.wrapperEl,"--swiper-centered-offset-before","".concat(-f[0],"px")),Ku(e.wrapperEl,"--swiper-centered-offset-after","".concat(e.size/2-p[p.length-1]/2,"px"));var q=-e.snapGrid[0],X=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((function(e){return e+q})),e.slidesGrid=e.slidesGrid.map((function(e){return e+X}))}if(d!==u&&e.emit("slidesLengthChange"),f.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==y&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),!l&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){var Y="".concat(r.containerModifierClass,"backface-hidden"),J=e.$el.hasClass(Y);d<=r.maxBackfaceHiddenSlides?J||e.$el.addClass(Y):J&&e.$el.removeClass(Y)}}},updateAutoHeight:function(e){var t,n=this,r=[],i=n.virtual&&n.params.virtual.enabled,a=0;"number"===typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);var o=function(e){return i?n.slides.filter((function(t){return parseInt(t.getAttribute("data-swiper-slide-index"),10)===e}))[0]:n.slides.eq(e)[0]};if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)if(n.params.centeredSlides)(n.visibleSlides||Wu([])).each((function(e){r.push(e)}));else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var s=n.activeIndex+t;if(s>n.slides.length&&!i)break;r.push(o(s))}else r.push(o(n.activeIndex));for(t=0;t<r.length;t+=1)if("undefined"!==typeof r[t]){var l=r[t].offsetHeight;a=l>a?l:a}(a||0===a)&&n.$wrapperEl.css("height","".concat(a,"px"))},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,n=t.params,r=t.slides,i=t.rtlTranslate,a=t.snapGrid;if(0!==r.length){"undefined"===typeof r[0].swiperSlideOffset&&t.updateSlidesOffset();var o=-e;i&&(o=e),r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<r.length;s+=1){var l=r[s],u=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(u-=r[0].swiperSlideOffset);var c=(o+(n.centeredSlides?t.minTranslate():0)-u)/(l.swiperSlideSize+n.spaceBetween),d=(o-a[0]+(n.centeredSlides?t.minTranslate():0)-u)/(l.swiperSlideSize+n.spaceBetween),f=-(o-u),h=f+t.slidesSizesGrid[s];(f>=0&&f<t.size-1||h>1&&h<=t.size||f<=0&&h>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(s),r.eq(s).addClass(n.slideVisibleClass)),l.progress=i?-c:c,l.originalProgress=i?-d:d}t.visibleSlides=Wu(t.visibleSlides)}},updateProgress:function(e){var t=this;if("undefined"===typeof e){var n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}var r=t.params,i=t.maxTranslate()-t.minTranslate(),a=t.progress,o=t.isBeginning,s=t.isEnd,l=o,u=s;0===i?(a=0,o=!0,s=!0):(o=(a=(e-t.minTranslate())/i)<=0,s=a>=1),Object.assign(t,{progress:a,isBeginning:o,isEnd:s}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),s&&!u&&t.emit("reachEnd toEdge"),(l&&!o||u&&!s)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){var e,t=this,n=t.slides,r=t.params,i=t.$wrapperEl,a=t.activeIndex,o=t.realIndex,s=t.virtual&&r.virtual.enabled;n.removeClass("".concat(r.slideActiveClass," ").concat(r.slideNextClass," ").concat(r.slidePrevClass," ").concat(r.slideDuplicateActiveClass," ").concat(r.slideDuplicateNextClass," ").concat(r.slideDuplicatePrevClass)),(e=s?t.$wrapperEl.find(".".concat(r.slideClass,'[data-swiper-slide-index="').concat(a,'"]')):n.eq(a)).addClass(r.slideActiveClass),r.loop&&(e.hasClass(r.slideDuplicateClass)?i.children(".".concat(r.slideClass,":not(.").concat(r.slideDuplicateClass,')[data-swiper-slide-index="').concat(o,'"]')).addClass(r.slideDuplicateActiveClass):i.children(".".concat(r.slideClass,".").concat(r.slideDuplicateClass,'[data-swiper-slide-index="').concat(o,'"]')).addClass(r.slideDuplicateActiveClass));var l=e.nextAll(".".concat(r.slideClass)).eq(0).addClass(r.slideNextClass);r.loop&&0===l.length&&(l=n.eq(0)).addClass(r.slideNextClass);var u=e.prevAll(".".concat(r.slideClass)).eq(0).addClass(r.slidePrevClass);r.loop&&0===u.length&&(u=n.eq(-1)).addClass(r.slidePrevClass),r.loop&&(l.hasClass(r.slideDuplicateClass)?i.children(".".concat(r.slideClass,":not(.").concat(r.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(r.slideDuplicateNextClass):i.children(".".concat(r.slideClass,".").concat(r.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(r.slideDuplicateNextClass),u.hasClass(r.slideDuplicateClass)?i.children(".".concat(r.slideClass,":not(.").concat(r.slideDuplicateClass,')[data-swiper-slide-index="').concat(u.attr("data-swiper-slide-index"),'"]')).addClass(r.slideDuplicatePrevClass):i.children(".".concat(r.slideClass,".").concat(r.slideDuplicateClass,'[data-swiper-slide-index="').concat(u.attr("data-swiper-slide-index"),'"]')).addClass(r.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(e){var t,n=this,r=n.rtlTranslate?n.translate:-n.translate,i=n.slidesGrid,a=n.snapGrid,o=n.params,s=n.activeIndex,l=n.realIndex,u=n.snapIndex,c=e;if("undefined"===typeof c){for(var d=0;d<i.length;d+=1)"undefined"!==typeof i[d+1]?r>=i[d]&&r<i[d+1]-(i[d+1]-i[d])/2?c=d:r>=i[d]&&r<i[d+1]&&(c=d+1):r>=i[d]&&(c=d);o.normalizeSlideIndex&&(c<0||"undefined"===typeof c)&&(c=0)}if(a.indexOf(r)>=0)t=a.indexOf(r);else{var f=Math.min(o.slidesPerGroupSkip,c);t=f+Math.floor((c-f)/o.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),c!==s){var h=parseInt(n.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(n,{snapIndex:t,realIndex:h,previousIndex:s,activeIndex:c}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),l!==h&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")}else t!==u&&(n.snapIndex=t,n.emit("snapIndexChange"))},updateClickedSlide:function(e){var t,n=this,r=n.params,i=Wu(e).closest(".".concat(r.slideClass))[0],a=!1;if(i)for(var o=0;o<n.slides.length;o+=1)if(n.slides[o]===i){a=!0,t=o;break}if(!i||!a)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(Wu(i).attr("data-swiper-slide-index"),10):n.clickedIndex=t,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var ic={getTranslate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this,n=t.params,r=t.rtlTranslate,i=t.translate,a=t.$wrapperEl;if(n.virtualTranslate)return r?-i:i;if(n.cssMode)return i;var o=Xu(a[0],e);return r&&(o=-o),o||0},setTranslate:function(e,t){var n=this,r=n.rtlTranslate,i=n.params,a=n.$wrapperEl,o=n.wrapperEl,s=n.progress,l=0,u=0;n.isHorizontal()?l=r?-e:e:u=e,i.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),i.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-u:i.virtualTranslate||a.transform("translate3d(".concat(l,"px, ").concat(u,"px, ").concat(0,"px)")),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:u;var c=n.maxTranslate()-n.minTranslate();(0===c?0:(e-n.minTranslate())/c)!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4?arguments[4]:void 0,a=this,o=a.params,s=a.wrapperEl;if(a.animating&&o.preventInteractionOnTransition)return!1;var l,u=a.minTranslate(),c=a.maxTranslate();if(l=r&&e>u?u:r&&e<c?c:e,a.updateProgress(l),o.cssMode){var d=a.isHorizontal();if(0===t)s[d?"scrollLeft":"scrollTop"]=-l;else{var f;if(!a.support.smoothScroll)return Qu({swiper:a,targetPosition:-l,side:d?"left":"top"}),!0;s.scrollTo((f={},(0,Jt.Z)(f,d?"left":"top",-l),(0,Jt.Z)(f,"behavior","smooth"),f))}return!0}return 0===t?(a.setTransition(0),a.setTranslate(l),n&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(l),n&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,n&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}};function ac(e){var t=e.swiper,n=e.runCallbacks,r=e.direction,i=e.step,a=t.activeIndex,o=t.previousIndex,s=r;if(s||(s=a>o?"next":a<o?"prev":"reset"),t.emit("transition".concat(i)),n&&a!==o){if("reset"===s)return void t.emit("slideResetTransition".concat(i));t.emit("slideChangeTransition".concat(i)),"next"===s?t.emit("slideNextTransition".concat(i)):t.emit("slidePrevTransition".concat(i))}}var oc={setTransition:function(e,t){var n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,r=n.params;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),ac({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,r=n.params;n.animating=!1,r.cssMode||(n.setTransition(0),ac({swiper:n,runCallbacks:e,direction:t,step:"End"}))}};var sc={slideTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if("number"!==typeof e&&"string"!==typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. [".concat(typeof e,"] given."));if("string"===typeof e){var a=parseInt(e,10);if(!isFinite(a))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(e,"] given."));e=a}var o=this,s=e;s<0&&(s=0);var l=o.params,u=o.snapGrid,c=o.slidesGrid,d=o.previousIndex,f=o.activeIndex,h=o.rtlTranslate,p=o.wrapperEl,v=o.enabled;if(o.animating&&l.preventInteractionOnTransition||!v&&!r&&!i)return!1;var m=Math.min(o.params.slidesPerGroupSkip,s),g=m+Math.floor((s-m)/o.params.slidesPerGroup);g>=u.length&&(g=u.length-1);var y,b=-u[g];if(l.normalizeSlideIndex)for(var x=0;x<c.length;x+=1){var w=-Math.floor(100*b),S=Math.floor(100*c[x]),_=Math.floor(100*c[x+1]);"undefined"!==typeof c[x+1]?w>=S&&w<_-(_-S)/2?s=x:w>=S&&w<_&&(s=x+1):w>=S&&(s=x)}if(o.initialized&&s!==f){if(!o.allowSlideNext&&b<o.translate&&b<o.minTranslate())return!1;if(!o.allowSlidePrev&&b>o.translate&&b>o.maxTranslate()&&(f||0)!==s)return!1}if(s!==(d||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(b),y=s>f?"next":s<f?"prev":"reset",h&&-b===o.translate||!h&&b===o.translate)return o.updateActiveIndex(s),l.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==l.effect&&o.setTranslate(b),"reset"!==y&&(o.transitionStart(n,y),o.transitionEnd(n,y)),!1;if(l.cssMode){var k=o.isHorizontal(),M=h?b:-b;if(0===t){var E=o.virtual&&o.params.virtual.enabled;E&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),p[k?"scrollLeft":"scrollTop"]=M,E&&requestAnimationFrame((function(){o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{var T;if(!o.support.smoothScroll)return Qu({swiper:o,targetPosition:M,side:k?"left":"top"}),!0;p.scrollTo((T={},(0,Jt.Z)(T,k?"left":"top",M),(0,Jt.Z)(T,"behavior","smooth"),T))}return!0}return o.setTransition(t),o.setTranslate(b),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,y),0===t?o.transitionEnd(n,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,y))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3?arguments[3]:void 0;if("string"===typeof e){var i=parseInt(e,10);if(!isFinite(i))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(e,"] given."));e=i}var a=this,o=e;return a.params.loop&&(o+=a.loopedSlides),a.slideTo(o,t,n,r)},slideNext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=this,i=r.animating,a=r.enabled,o=r.params;if(!a)return r;var s=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));var l=r.activeIndex<o.slidesPerGroupSkip?1:s;if(o.loop){if(i&&o.loopPreventsSlide)return!1;
2r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return o.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=this,i=r.params,a=r.animating,o=r.snapGrid,s=r.slidesGrid,l=r.rtlTranslate;if(!r.enabled)return r;if(i.loop){if(a&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var c,d=u(l?r.translate:-r.translate),f=o.map((function(e){return u(e)})),h=o[f.indexOf(d)-1];"undefined"===typeof h&&i.cssMode&&(o.forEach((function(e,t){d>=e&&(c=t)})),"undefined"!==typeof c&&(h=o[c>0?c-1:c]));var p=0;if("undefined"!==typeof h&&((p=s.indexOf(h))<0&&(p=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(p=p-r.slidesPerViewDynamic("previous",!0)+1,p=Math.max(p,0))),i.rewind&&r.isBeginning){var v=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(v,e,t,n)}return r.slideTo(p,e,t,n)},slideReset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,i=this,a=i.activeIndex,o=Math.min(i.params.slidesPerGroupSkip,a),s=o+Math.floor((a-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){var u=i.snapGrid[s];l-u>(i.snapGrid[s+1]-u)*r&&(a+=i.params.slidesPerGroup)}else{var c=i.snapGrid[s-1];l-c<=(i.snapGrid[s]-c)*r&&(a-=i.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,i.slidesGrid.length-1),i.slideTo(a,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,r=t.$wrapperEl,i="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,a=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(Wu(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?a<t.loopedSlides-i/2||a>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),a=r.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),Gu((function(){t.slideTo(a)}))):t.slideTo(a):a>t.slides.length-i?(t.loopFix(),a=r.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),Gu((function(){t.slideTo(a)}))):t.slideTo(a)}else t.slideTo(a)}};var lc={loopCreate:function(){var e=this,t=Ou(),n=e.params,r=e.$wrapperEl,i=r.children().length>0?Wu(r.children()[0].parentNode):r;i.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass)).remove();var a=i.children(".".concat(n.slideClass));if(n.loopFillGroupWithBlank){var o=n.slidesPerGroup-a.length%n.slidesPerGroup;if(o!==n.slidesPerGroup){for(var s=0;s<o;s+=1){var l=Wu(t.createElement("div")).addClass("".concat(n.slideClass," ").concat(n.slideBlankClass));i.append(l)}a=i.children(".".concat(n.slideClass))}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=a.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>a.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=a.length);var u=[],c=[];a.each((function(e,t){Wu(e).attr("data-swiper-slide-index",t)}));for(var d=0;d<e.loopedSlides;d+=1){var f=d-Math.floor(d/a.length)*a.length;c.push(a.eq(f)[0]),u.unshift(a.eq(a.length-f-1)[0])}for(var h=0;h<c.length;h+=1)i.append(Wu(c[h].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var p=u.length-1;p>=0;p-=1)i.prepend(Wu(u[p].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,n=e.activeIndex,r=e.slides,i=e.loopedSlides,a=e.allowSlidePrev,o=e.allowSlideNext,s=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var u=-s[n]-e.getTranslate();if(n<i)t=r.length-3*i+n,t+=i,e.slideTo(t,0,!1,!0)&&0!==u&&e.setTranslate((l?-e.translate:e.translate)-u);else if(n>=r.length-i){t=-r.length+n+i,t+=i,e.slideTo(t,0,!1,!0)&&0!==u&&e.setTranslate((l?-e.translate:e.translate)-u)}e.allowSlidePrev=a,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){var e=this,t=e.$wrapperEl,n=e.params,r=e.slides;t.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,",.").concat(n.slideClass,".").concat(n.slideBlankClass)).remove(),r.removeAttr("data-swiper-slide-index")}};function uc(e){var t=this,n=Ou(),r=Zu(),i=t.touchEventsData,a=t.params,o=t.touches;if(t.enabled&&(!t.animating||!a.preventInteractionOnTransition)){!t.animating&&a.cssMode&&a.loop&&t.loopFix();var s=e;s.originalEvent&&(s=s.originalEvent);var l=Wu(s.target);if(("wrapper"!==a.touchEventsTarget||l.closest(t.wrapperEl).length)&&(i.isTouchEvent="touchstart"===s.type,(i.isTouchEvent||!("which"in s)||3!==s.which)&&!(!i.isTouchEvent&&"button"in s&&s.button>0)&&(!i.isTouched||!i.isMoved))){var u=!!a.noSwipingClass&&""!==a.noSwipingClass,c=e.composedPath?e.composedPath():e.path;u&&s.target&&s.target.shadowRoot&&c&&(l=Wu(c[0]));var d=a.noSwipingSelector?a.noSwipingSelector:".".concat(a.noSwipingClass),f=!(!s.target||!s.target.shadowRoot);if(a.noSwiping&&(f?function(e){return function t(n){if(!n||n===Ou()||n===Zu())return null;n.assignedSlot&&(n=n.assignedSlot);var r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:this)}(d,l[0]):l.closest(d)[0]))t.allowClick=!0;else if(!a.swipeHandler||l.closest(a.swipeHandler)[0]){o.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,o.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var h=o.currentX,p=o.currentY,v=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,m=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(v&&(h<=m||h>
vendor: 4,010 bytes, line 2
2=r.innerWidth-m)){if("prevent"!==v)return;e.preventDefault()}if(Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=h,o.startY=p,i.touchStartTime=qu(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==s.type){var g=!0;l.is(i.focusableElements)&&(g=!1,"SELECT"===l[0].nodeName&&(i.isTouched=!1)),n.activeElement&&Wu(n.activeElement).is(i.focusableElements)&&n.activeElement!==l[0]&&n.activeElement.blur();var y=g&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!y||l[0].isContentEditable||s.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",s)}}}}function cc(e){var t=Ou(),n=this,r=n.touchEventsData,i=n.params,a=n.touches,o=n.rtlTranslate;if(n.enabled){var s=e;if(s.originalEvent&&(s=s.originalEvent),r.isTouched){if(!r.isTouchEvent||"touchmove"===s.type){var l="touchmove"===s.type&&s.targetTouches&&(s.targetTouches[0]||s.changedTouches[0]),u="touchmove"===s.type?l.pageX:s.pageX,c="touchmove"===s.type?l.pageY:s.pageY;if(s.preventedByNestedSwiper)return a.startX=u,void(a.startY=c);if(!n.allowTouchMove)return Wu(s.target).is(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(a,{startX:u,startY:c,currentX:u,currentY:c}),r.touchStartTime=qu()));if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(c<a.startY&&n.translate<=n.maxTranslate()||c>a.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(u<a.startX&&n.translate<=n.maxTranslate()||u>a.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&t.activeElement&&s.target===t.activeElement&&Wu(s.target).is(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){a.currentX=u,a.currentY=c;var d=a.currentX-a.startX,f=a.currentY-a.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(f,2))<n.params.threshold)){var h;if("undefined"===typeof r.isScrolling)n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:d*d+f*f>=25&&(h=180*Math.atan2(Math.abs(f),Math.abs(d))/Math.PI,r.isScrolling=n.isHorizontal()?h>i.touchAngle:90-h>i.touchAngle);if(r.isScrolling&&n.emit("touchMoveOpposite",s),"undefined"===typeof r.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(r.startMoving=!0)),r.isScrolling)r.isTouched=!1;else if(r.startMoving){n.allowClick=!1,!i.cssMode&&s.cancelable&&s.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&s.stopPropagation(),r.isMoved||(i.loop&&!i.cssMode&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",s)),n.emit("sliderMove",s),r.isMoved=!0;var p=n.isHorizontal()?d:f;a.diff=p,p*=i.touchRatio,o&&(p=-p),n.swipeDirection=p>0?"prev":"next",r.currentTranslate=p+r.startTranslate;var v=!0,m=i.resistanceRatio;if(i.touchReleaseOnEdges&&(m=0),p>0&&r.currentTranslate>n.minTranslate()?(v=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+r.startTranslate+p,m))):p<0&&r.currentTranslate<n.maxTranslate()&&(v=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-r.startTranslate-p,m))),v&&(s.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(p)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);
2if(!r.allowThresholdMove)return r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,void(a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}}}}}else r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",s)}}function dc(e){var t=this,n=t.touchEventsData,r=t.params,i=t.touches,a=t.rtlTranslate,o=t.slidesGrid;if(t.enabled){var s=e;if(s.originalEvent&&(s=s.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",s),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var l,u=qu(),c=u-n.touchStartTime;if(t.allowClick){var d=s.path||s.composedPath&&s.composedPath();t.updateClickedSlide(d&&d[0]||s.target),t.emit("tap click",s),c<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",s)}if(n.lastClickTime=qu(),Gu((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,l=r.followFinger?a?t.translate:-t.translate:-n.currentTranslate,!r.cssMode)if(t.params.freeMode&&r.freeMode.enabled)t.freeMode.onTouchEnd({currentPos:l});else{for(var f=0,h=t.slidesSizesGrid[0],p=0;p<o.length;p+=p<r.slidesPerGroupSkip?1:r.slidesPerGroup){var v=p<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;"undefined"!==typeof o[p+v]?l>=o[p]&&l<o[p+v]&&(f=p,h=o[p+v]-o[p]):l>=o[p]&&(f=p,h=o[o.length-1]-o[o.length-2])}var m=null,g=null;r.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(m=0));var y=(l-o[f])/h,b=f<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(c>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?m:f+b):t.slideTo(f)),"prev"===t.swipeDirection&&(y>1-r.longSwipesRatio?t.slideTo(f+b):null!==g&&y<0&&Math.abs(y)>r.longSwipesRatio?t.slideTo(g):t.slideTo(f))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(s.target===t.navigation.nextEl||s.target===t.navigation.prevEl)?s.target===t.navigation.nextEl?t.slideTo(f+b):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(null!==m?m:f+b),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:f))}}}}function fc(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var r=e.allowSlideNext,i=e.allowSlidePrev,a=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}}function hc(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function pc(){var e=this,t=e.wrapperEl,n=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var r=e.maxTranslate()-e.minTranslate();(0===r?0:(e.translate-e.minTranslate())/r)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}var vc=!1;function mc(){}var gc=function(e,t){var n=Ou(),r=e.params,i=e.touchEvents,a=e.el,o=e.wrapperEl,s=e.device,l=e.support,u=!!r.nested,c="on"===t?"addEventListener":"removeEventListener",d=t;if(l.touch){var f=!("touchstart"!==i.start||!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};a[c](i.start,e.onTouchStart,f),a[c](i.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:u}:u),a[c](i.end,e.onTouchEnd,f),i.cancel&&a[c](i.cancel,e.onTouchEnd,f)}else a[c](i.start,e.onTouchStart,!1),n[c](i.move,e.onTouchMove,u),n[c](i.end,e.onTouchEnd,!1);(r.preventClicks||r.preventClicksPropagation)&&a[c]("click",e.onClick,!0),r.cssMode&&o[c]("scroll",e.onScroll),r.updateOnWindowResize?e[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",fc,!0):e[d]("observerUpdate",fc,!0)};var yc={attachEvents:function(){var e=this,t=Ou(),n=e.params,r=e.support;e.onTouchStart=uc.bind(e),e.onTouchMove=cc.bind(e),e.onTouchEnd=dc.bind(e),n.cssMode&&(e.onScroll=pc.bind(e)),e.onClick=hc.bind(e),r.touch&&!vc&&(t.addEventListener("touchstart",mc),vc=!0),gc(e,"on")},detachEvents:function(){gc(this,"off")}},bc=function(e,t){return e.grid&&t.grid&&t.grid.rows>1};var xc={setBreakpoint:function(){var e=this,t=e.activeIndex,n=e.initialized,r=e.loopedSlides,i=void 0===r?0:r,a=e.params,o=e.$el,s=a.breakpoints;
2if(s&&(!s||0!==Object.keys(s).length)){var l=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(l&&e.currentBreakpoint!==l){var u=(l in s?s[l]:void 0)||e.originalParams,c=bc(e,a),d=bc(e,u),f=a.enabled;c&&!d?(o.removeClass("".concat(a.containerModifierClass,"grid ").concat(a.containerModifierClass,"grid-column")),e.emitContainerClasses()):!c&&d&&(o.addClass("".concat(a.containerModifierClass,"grid")),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===a.grid.fill)&&o.addClass("".concat(a.containerModifierClass,"grid-column")),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((function(t){var n=a[t]&&a[t].enabled,r=u[t]&&u[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()}));var h=u.direction&&u.direction!==a.direction,p=a.loop&&(u.slidesPerView!==a.slidesPerView||h);h&&n&&e.changeDirection(),Ju(e.params,u);var v=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!v?e.disable():!f&&v&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",u),p&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",u)}}},getBreakpoint:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"window",n=arguments.length>2?arguments[2]:void 0;if(e&&("container"!==t||n)){var r=!1,i=Zu(),a="window"===t?i.innerHeight:n.clientHeight,o=Object.keys(e).map((function(e){if("string"===typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));o.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var s=0;s<o.length;s+=1){var l=o[s],u=l.point,c=l.value;"window"===t?i.matchMedia("(min-width: ".concat(c,"px)")).matches&&(r=u):c<=n.clientWidth&&(r=u)}return r||"max"}}};var wc={addClasses:function(){var e=this,t=e.classNames,n=e.params,r=e.rtl,i=e.$el,a=e.device,o=e.support,s=function(e,t){var n=[];return e.forEach((function(e){"object"===typeof e?Object.keys(e).forEach((function(r){e[r]&&n.push(t+r)})):"string"===typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":!o.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:a.android},{ios:a.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push.apply(t,(0,ye.Z)(s)),i.addClass((0,ye.Z)(t).join(" ")),e.emitContainerClasses()},removeClasses:function(){var e=this,t=e.$el,n=e.classNames;t.removeClass(n.join(" ")),e.emitContainerClasses()}};var Sc={loadImage:function(e,t,n,r,i,a){var o,s=Zu();function l(){a&&a()}Wu(e).parent("picture")[0]||e.complete&&i?l():t?((o=new s.Image).onload=l,o.onerror=l,r&&(o.sizes=r),n&&(o.srcset=n),t&&(o.src=t)):l()},preloadImages:function(){var e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var r=e.imagesToLoad[n];e.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,t)}}};var _c={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,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",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!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-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function kc(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.keys(n)[0],i=n[r];"object"===typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===e[r]&&(e[r]={auto:!0}),r in e&&"enabled"in i?(!0===e[r]&&(e[r]={enabled:!0}),"object"!==typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),Ju(t,n)):Ju(t,n)):Ju(t,n)}}var Mc={eventsEmitter:nc,update:rc,translate:ic,transition:oc,slide:sc,loop:lc,grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:yc,breakpoints:xc,checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked,n=e.params,r=n.slidesOffsetBefore;if(r){var i=e.slides.length-1,a=e.slidesGrid[i]+e.slidesSizesGrid[i]+2*r;e.isLocked=e.size>a}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:wc,images:Sc},Ec={},Tc=function(){function e(){var t,n;(0,be.Z)(this,e);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];if(1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?n=i[0]:(t=i[0],n=i[1]),n||(n={}),n=Ju({}
2,n),t&&!n.el&&(n.el=t),n.el&&Wu(n.el).length>1){var o=[];return Wu(n.el).each((function(t){var r=Ju({},n,{el:t});o.push(new e(r))})),o}var s,l=this;(l.__swiper__=!0,l.support=$u(),l.device=ec({userAgent:n.userAgent}),l.browser=tc(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=(0,ye.Z)(l.__modules__),n.modules&&Array.isArray(n.modules))&&(s=l.modules).push.apply(s,(0,ye.Z)(n.modules));var u={};l.modules.forEach((function(e){e({swiper:l,extendParams:kc(n,u),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})}));var c=Ju({},_c,u);return l.params=Ju({},c,Ec,n),l.originalParams=Ju({},l.params),l.passedParams=Ju({},n),l.params&&l.params.on&&Object.keys(l.params.on).forEach((function(e){l.on(e,l.params.on[e])})),l.params&&l.params.onAny&&l.onAny(l.params.onAny),l.$=Wu,Object.assign(l,{enabled:l.params.enabled,el:t,classNames:[],slides:Wu(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return l.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},l.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},l.support.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop}(),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:l.params.focusableElements,lastClickTime:qu(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}return(0,xe.Z)(e,[{key:"enable",value:function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}},{key:"disable",value:function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}},{key:"setProgress",value:function(e,t){var n=this;e=Math.min(Math.max(e,0),1);var r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,"undefined"===typeof t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}},{key:"emitContainerClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}}},{key:"getSlideClasses",value:function(e){var t=this;return t.destroyed?"":e.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")}},{key:"emitSlidesClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each((function(n){var r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}}},{key:"slidesPerViewDynamic",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"current",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this,r=n.params,i=n.slides,a=n.slidesGrid,o=n.slidesSizesGrid,s=n.size,l=n.activeIndex,u=1;if(r.centeredSlides){for(var c,d=i[l].swiperSlideSize,f=l+1;f<i.length;f+=1)i[f]&&!c&&(u+=1,(d+=i[f].swiperSlideSize)>s&&(c=!0));for(var h=l-1;h>=0;h-=1)i[h]&&!c&&(u+=1,(d+=i[h].swiperSlideSize)>s&&(c=!0))}else if("current"===e)for(var p=l+1;p<i.length;p+=1){(t?a[p]+o[p]-a[l]<s:a[p]-a[l]<s)&&(u+=1)}else for(var v=l-1;v>=0;v-=1){a[l]-a[v]<s&&(u+=1)}return u}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(r(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||r(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function r(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass("".concat(n.params.containerModifierClass).concat(r)).addClass("".concat(n.params.containerModifierClass).concat(e)),n.emitContainerClasses(),n.params.direction=e,n.slides.each((function(t){"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}},{key:"changeLanguageDirection",value:function(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="rtl"):(t.$el.removeClass("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="ltr"),t.update(
2))}},{key:"mount",value:function(e){var t=this;if(t.mounted)return!0;var n=Wu(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;var r=function(){return".".concat((t.params.wrapperClass||"").trim().split(" ").join("."))},i=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var t=Wu(e.shadowRoot.querySelector(r()));return t.children=function(e){return n.children(e)},t}return n.children?n.children(r()):Wu(n).children(r())}();if(0===i.length&&t.params.createElements){var a=Ou().createElement("div");i=Wu(a),a.className=t.params.wrapperClass,n.append(a),n.children(".".concat(t.params.slideClass)).each((function(e){i.append(e)}))}return Object.assign(t,{$el:n,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}},{key:"init",value:function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=n.params,i=n.$el,a=n.$wrapperEl,o=n.slides;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),a.removeAttr("style"),o&&o.length&&o.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(nZ){}try{delete t[e]}catch(nZ){}}))}(n)),n.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){Ju(Ec,e)}},{key:"extendedDefaults",get:function(){return Ec}},{key:"defaults",get:function(){return _c}},{key:"installModule",value:function(t){e.prototype.__modules__||(e.prototype.__modules__=[]);var n=e.prototype.__modules__;"function"===typeof t&&n.indexOf(t)<0&&n.push(t)}},{key:"use",value:function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)}}]),e}();Object.keys(Mc).forEach((function(e){Object.keys(Mc[e]).forEach((function(t){Tc.prototype[t]=Mc[e][t]}))})),Tc.use([function(e){var t=e.swiper,n=e.on,r=e.emit,i=Zu(),a=null,o=null,s=function(){t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=function(){t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",(function(){t.params.resizeObserver&&"undefined"!==typeof i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((function(e){o=i.requestAnimationFrame((function(){var n=t.width,r=t.height,i=n,a=r;e.forEach((function(e){var n=e.contentBoxSize,r=e.contentRect,o=e.target;o&&o!==t.el||(i=r?r.width:(n[0]||n).inlineSize,a=r?r.height:(n[0]||n).blockSize)})),i===n&&a===r||s()}))})),a.observe(t.el)):(i.addEventListener("resize",s),i.addEventListener("orientationchange",l))})),n("destroy",(function(){o&&i.cancelAnimationFrame(o),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),i.removeEventListener("resize",s),i.removeEventListener("orientationchange",l)}))},function(e){var t=e.swiper,n=e.extendParams,r=e.on,i=e.emit,a=[],o=Zu(),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new(o.MutationObserver||o.WebkitMutationObserver)((function(e){if(1!==e.length){var t=function(){i("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)}else i("observerUpdate",e[0])}));n.observe(e,{attributes:"undefined"===typeof t.attributes||t.attributes,childList:"undefined"===typeof t.childList||t.childList,characterData:"undefined"===typeof t.characterData||t.characterData}),a.push(n)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",(function(){if(t.params.observer){if(t.params.observeParents)for(var e=t.$el.parents(),n=0;n<e.length;n+=1)s(e[n]);s(t.$el[0],{childList:t.params.observeSlideChildren}),s(t.$wrapperEl[0],{attributes:!1})}})),r("destroy",(function(){a.forEach((function(e){e.disconnect()})),a.splice(0,a.length)}))}]);var Cc=Tc;function Ac(e){var t=e.swiper,n=e.extendParams,r=e.on,i=e.emit;function a(e){var n;return e&&(n=Wu(e),t.params.uniqueNavElements&&"string"===typeof e&&n.length>1&&1===t.$el.find(e).length&&(n=t.$el.find(e))),n}function o(e,n){var r=t.params.navigation;e&&e.length>0&&(e[n?"addClass":"removeClass"](r.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=n),t.params.watchOverflow&&t.enabled&&e[t.isLocked?"addClass":"removeClass"](r.lockClass))}function s(){if(!t.params.loop){var e=t.navigation,n=e.$nextEl;o(e.$prevEl,t.isBeginning&&!t.params.rewind),o(n,t.isEnd&&!t.params.rewind)}}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function c(){var e=t.params.navigation;if(t.params.navigation=function(e,t,n,r){var i=Ou();return e.params.createElements&&Object.keys(r).forEach((function(a){if
2(!n[a]&&!0===n.auto){var o=e.$el.children(".".concat(r[a]))[0];o||((o=i.createElement("div")).className=r[a],e.$el.append(o)),n[a]=o,t[a]=o}})),n}(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),e.nextEl||e.prevEl){var n=a(e.nextEl),r=a(e.prevEl);n&&n.length>0&&n.on("click",u),r&&r.length>0&&r.on("click",l),Object.assign(t.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:r,prevEl:r&&r[0]}),t.enabled||(n&&n.addClass(e.lockClass),r&&r.addClass(e.lockClass))}}function d(){var e=t.navigation,n=e.$nextEl,r=e.$prevEl;n&&n.length&&(n.off("click",u),n.removeClass(t.params.navigation.disabledClass)),r&&r.length&&(r.off("click",l),r.removeClass(t.params.navigation.disabledClass))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},r("init",(function(){!1===t.params.navigation.enabled?f():(c(),s())})),r("toEdge fromEdge lock unlock",(function(){s()})),r("destroy",(function(){d()})),r("enable disable",(function(){var e=t.navigation,n=e.$nextEl,r=e.$prevEl;n&&n[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),r&&r[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)})),r("click",(function(e,n){var r=t.navigation,a=r.$nextEl,o=r.$prevEl,s=n.target;if(t.params.navigation.hideOnClick&&!Wu(s).is(o)&&!Wu(s).is(a)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===s||t.pagination.el.contains(s)))return;var l;a?l=a.hasClass(t.params.navigation.hiddenClass):o&&(l=o.hasClass(t.params.navigation.hiddenClass)),i(!0===l?"navigationShow":"navigationHide"),a&&a.toggleClass(t.params.navigation.hiddenClass),o&&o.toggleClass(t.params.navigation.hiddenClass)}}));var f=function(){t.$el.addClass(t.params.navigation.navigationDisabledClass),d()};Object.assign(t.navigation,{enable:function(){t.$el.removeClass(t.params.navigation.navigationDisabledClass),c(),s()},disable:f,update:s,init:c,destroy:d})}function Pc(e){var t,n=e.swiper,r=e.extendParams,i=e.on,a=e.emit;function o(){if(!n.size)return n.autoplay.running=!1,void(n.autoplay.paused=!1);var e=n.slides.eq(n.activeIndex),r=n.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(r=e.attr("data-swiper-autoplay")||n.params.autoplay.delay),clearTimeout(t),t=Gu((function(){var e;n.params.autoplay.reverseDirection?n.params.loop?(n.loopFix(),e=n.slidePrev(n.params.speed,!0,!0),a("autoplay")):n.isBeginning?n.params.autoplay.stopOnLastSlide?l(
2):(e=n.slideTo(n.slides.length-1,n.params.speed,!0,!0),a("autoplay")):(e=n.slidePrev(n.params.speed,!0,!0),a("autoplay")):n.params.loop?(n.loopFix(),e=n.slideNext(n.params.speed,!0,!0),a("autoplay")):n.isEnd?n.params.autoplay.stopOnLastSlide?l():(e=n.slideTo(0,n.params.speed,!0,!0),a("autoplay")):(e=n.slideNext(n.params.speed,!0,!0),a("autoplay")),(n.params.cssMode&&n.autoplay.running||!1===e)&&o()}),r)}function s(){return"undefined"===typeof t&&(!n.autoplay.running&&(n.autoplay.running=!0,a("autoplayStart"),o(),!0))}function l(){return!!n.autoplay.running&&("undefined"!==typeof t&&(t&&(clearTimeout(t),t=void 0),n.autoplay.running=!1,a("autoplayStop"),!0))}function u(e){n.autoplay.running&&(n.autoplay.paused||(t&&clearTimeout(t),n.autoplay.paused=!0,0!==e&&n.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((function(e){n.$wrapperEl[0].addEventListener(e,d)})):(n.autoplay.paused=!1,o())))}function c(){var e=Ou();"hidden"===e.visibilityState&&n.autoplay.running&&u(),"visible"===e.visibilityState&&n.autoplay.paused&&(o(),n.autoplay.paused=!1)}function d(e){n&&!n.destroyed&&n.$wrapperEl&&e.target===n.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((function(e){n.$wrapperEl[0].removeEventListener(e,d)})),n.autoplay.paused=!1,n.autoplay.running?o():l())}function f(){n.params.autoplay.disableOnInteraction?l():(a("autoplayPause"),u()),["transitionend","webkitTransitionEnd"].forEach((function(e){n.$wrapperEl[0].removeEventListener(e,d)}))}function h(){n.params.autoplay.disableOnInteraction||(n.autoplay.paused=!1,a("autoplayResume"),o())}n.autoplay={running:!1,paused:!1},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),i("init",(function(){n.params.autoplay.enabled&&(s(),Ou().addEventListener("visibilitychange",c),n.params.autoplay.pauseOnMouseEnter&&(n.$el.on("mouseenter",f),n.$el.on("mouseleave",h)))})),i("beforeTransitionStart",(function(e,t,r){n.autoplay.running&&(r||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(t):l())})),i("sliderFirstMove",(function(){n.autoplay.running&&(n.params.autoplay.disableOnInteraction?l():u())})),i("touchEnd",(function(){n.params.cssMode&&n.autoplay.paused&&!n.params.autoplay.disableOnInteraction&&o()})),i("destroy",(function(){n.$el.off("mouseenter",f),n.$el.off("mouseleave",h),n.autoplay.running&&l(),Ou().removeEventListener("visibilitychange",c)})),Object.assign(n.autoplay,{pause:u,run:o,start:s,stop:l})}function Rc(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Oc(e,t){var n=["__proto__","constructor","prototype"];Object.keys(t).filter((function(e){return n.indexOf(e)<0})).forEach((function(n){"undefined"===typeof e[n]?e[n]=t[n]:Rc(t[n])&&Rc(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Oc(e[n],t[n]):e[n]=t[n]}))}function Lc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function Zc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.pagination&&"undefined"===typeof e.pagination.el}function Nc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.scrollbar&&"undefined"===typeof e.scrollbar.el}function Ic(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(" ").map((function(e){return e.trim()})).filter((function(e){return!!e})),t=[];return e.forEach((function(e){t.indexOf(e)<0&&t.push(e)})),t.join(" ")}var jc=["modules","init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesB
2ounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopedSlidesLimit","_loopFillGroupWithBlank","loopPreventsSlide","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"];var Dc=function(e,t){var n=t.slidesPerView;if(t.breakpoints){var r=Cc.prototype.getBreakpoint(t.breakpoints),i=r in t.breakpoints?t.breakpoints[r]:void 0;i&&i.slidesPerView&&(n=i.slidesPerView)}var a=Math.ceil(parseFloat(t.loopedSlides||n,10));return(a+=t.loopAdditionalSlides)>e.length&&t.loopedSlidesLimit&&(a=e.length),a};function zc(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function Uc(e){var n=[];return t.Children.toArray(e).forEach((function(e){zc(e)?n.push(e):e.props&&e.props.children&&Uc(e.props.children).forEach((function(e){return n.push(e)}))})),n}function Fc(e){var n=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return t.Children.toArray(e).forEach((function(e){if(zc(e))n.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){var t=Uc(e.props.children);t.length>0?t.forEach((function(e){return n.push(e)})):r["container-end"].push(e)}else r["container-end"].push(e)})),{slides:n,slots:r}}function Bc(e){var t,n,r,i,a,o=e.swiper,s=e.slides,l=e.passedParams,u=e.changedParams,c=e.nextEl,d=e.prevEl,f=e.scrollbarEl,h=e.paginationEl,p=u.filter((function(e){return"children"!==e&&"direction"!==e})),v=o.params,m=o.pagination,g=o.navigation,y=o.scrollbar,b=o.virtual,x=o.thumbs;u.includes("thumbs")&&l.thumbs&&l.thumbs.swiper&&v.thumbs&&!v.thumbs.swiper&&(t=!0),u.includes("controller")&&l.controller&&l.controller.control&&v.controller&&!v.controller.control&&(n=!0),u.includes("pagination")&&l.pagination&&(l.pagination.el||h)&&(v.pagination||!1===v.pagination)&&m&&!m.el&&(r=!0),u.includes("scrollbar")&&l.scrollbar&&(l.scrollbar.el||f)&&(v.scrollbar||!1===v.scrollbar)&&y&&!y.el&&(i=!0),u.includes("navigation")&&l.navigation&&(l.navigation.prevEl||d)&&(l.navigation.nextEl||c)&&(v.navigation||!1===v.navigation)&&g&&!g.prevEl&&!g.nextEl&&(a=!0);(p.forEach((function(e){if(Rc(v[e])&&Rc(l[e]))Oc(v[e],l[e]);else{var t=l[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?v[e]=l[e]:!1===t&&o[n=e]&&(o[n].destroy(),"navigation"===n?(v[n].prevEl=void 0,v[n].nextEl=void 0,o[n].prevEl=void 0,o[n].nextEl=void 0):(v[n].el=void 0,o[n].el=void 0))}var n})),p.includes("controller")&&!n&&o.controller&&o.controller.control&&v.controller&&v.controller.control&&(o.controller.control=v.controller.control),u.includes("children")&&s&&b&&v.virtual.enabled?(b.slides=s,b.update(!0)):u.includes("children")&&o.lazy&&o.params.lazy.enabled&&o.lazy.load(),t)&&(x.init()&&x.update(!0));n&&(o.controller.control=v.controller.control),r&&(h&&(v.pagination.el=h),m.init(),m.render(),m.update()),i&&(f&&(v.scrollbar.el=f),y.init(),y.updateSize(),y.setTranslate()),a&&(c&&(v.navigation.nextEl=c),d&&(v.navigation.prevEl=d),g.init(),g.update(
2)),u.includes("allowSlideNext")&&(o.allowSlideNext=l.allowSlideNext),u.includes("allowSlidePrev")&&(o.allowSlidePrev=l.allowSlidePrev),u.includes("direction")&&o.changeDirection(l.direction,!1),o.update()}function Vc(e,n){return"undefined"===typeof window?(0,t.useEffect)(e,n):(0,t.useLayoutEffect)(e,n)}var Hc=(0,t.createContext)(null),Wc=(0,t.createContext)(null),Gc=["className","tag","wrapperTag","children","onSwiper"];function qc(){return qc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qc.apply(this,arguments)}var Xc=(0,t.forwardRef)((function(e,n){var r=void 0===e?{}:e,i=r.className,o=r.tag,s=void 0===o?"div":o,l=r.wrapperTag,u=void 0===l?"div":l,c=r.children,d=r.onSwiper,f=(0,Rr.Z)(r,Gc),h=!1,p=(0,t.useState)("swiper"),v=(0,a.Z)(p,2),m=v[0],g=v[1],y=(0,t.useState)(null),b=(0,a.Z)(y,2),x=b[0],w=b[1],S=(0,t.useState)(!1),_=(0,a.Z)(S,2),k=_[0],M=_[1],E=(0,t.useRef)(!1),T=(0,t.useRef)(null),C=(0,t.useRef)(null),A=(0,t.useRef)(null),P=(0,t.useRef)(null),R=(0,t.useRef)(null),O=(0,t.useRef)(null),L=(0,t.useRef)(null),Z=(0,t.useRef)(null),N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={on:{}},r={},i={};Oc(n,Cc.defaults),Oc(n,Cc.extendedDefaults),n._emitClasses=!0,n.init=!1;var a={},o=jc.map((function(e){return e.replace(/_/,"")})),s=Object.assign({},e);return Object.keys(s).forEach((function(s){"undefined"!==typeof e[s]&&(o.indexOf(s)>=0?Rc(e[s])?(n[s]={},i[s]={},Oc(n[s],e[s]),Oc(i[s],e[s])):(n[s]=e[s],i[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"===typeof e[s]?t?r["".concat(s[2].toLowerCase()).concat(s.substr(3))]=e[s]:n.on["".concat(s[2].toLowerCase()).concat(s.substr(3))]=e[s]:a[s]=e[s])})),["navigation","pagination","scrollbar"].forEach((function(e){!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]})),{params:n,passedParams:i,rest:a,events:r}}(f),I=N.params,j=N.passedParams,D=N.rest,z=N.events,U=Fc(c),F=U.slides,B=U.slots,V=function(){M(!k)};Object.assign(I.on,{_containerClasses:function(e,t){g(t)}});var H=function(){if(Object.assign(I.on,z),h=!0,C.current=new Cc(I),C.current.loopCreate=function(){},C.current.loopDestroy=function(){},I.loop&&(C.current.loopedSlides=Dc(F,I)),C.current.virtual&&C.current.params.virtual.enabled){C.current.virtual.slides=F;var e={cache:!1,slides:F,renderExternal:w,renderExternalUpdate:!1};Oc(C.current.params.virtual,e),Oc(C.current.originalParams.virtual,e)}};T.current||H(),C.current&&C.current.on("_beforeBreakpoint",V);return(0,t.useEffect)((function(){return function(){C.current&&C.current.off("_beforeBreakpoint",V)}})),(0,t.useEffect)((function(){!E.current&&C.current&&(C.current.emitSlidesClasses(),E.current=!0)})),Vc((function(){if(n&&(n.current=T.current),T.current)return C.current.destroyed&&H(),function(e,t){var n=e.el,r=e.nextEl,i=e.prevEl,a=e.paginationEl,o=e.scrollbarEl,s=e.swiper;Lc(t)&&r&&i&&(s.params.navigation.nextEl=r,s.originalParams.navigation.nextEl=r,s.params.navigation.prevEl=i,s.originalParams.navigation.prevEl=i),Zc(t)&&a&&(s.params.pagination.el=a,s.originalParams.pagination.el=a),Nc(t)&&o&&(s.params.scrollbar.el=o,s.originalParams.scrollbar.el=o),s.init(n)}({el:T.current,nextEl:R.current,prevEl:O.current,paginationEl:L.current,scrollbarEl:Z.current,swiper:C.current},I),d&&d(C.current),function(){C.current&&!C.current.destroyed&&C.current.destroy(!0,!1)}}),[]),Vc((function(){!h&&z&&C.current&&Object.keys(z).forEach((function(e){C.current.on(e,z[e])}));var e=function(e,t,n,r,i){var a=[];if(!t)return a;var o=function(e){a.indexOf(e)<0&&a.push(e)};if(n&&r){var s=r.map(i),l=n.map(i);s.join("")!==l.join("")&&o("children"),r.length!==n.length&&o("children")}return jc.filter((function(e){return"_"===e[0]})).map((function(e){return e.replace(/_/,"")})).forEach((function(n){if(n in e&&n in t)if(Rc(e[n])&&Rc(t[n])){var r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?o(n):(r.forEach((function(r){e[n][r]!==t[n][r]&&o(n)})),i.forEach((function(r){e[n][r]!==t[n][r]&&o(n)})))}else e[n]!==t[n]&&o(n)})),a}(j,A.current,F,P.current,(function(e){return e.key}));return A.current=j,P.current=F,e.length&&C.current&&!C.current.destroyed&&Bc({swiper:C.current,slides:F,passedParams:j,changedParams:e,nextEl:R.current,prevEl:O.current,scrollbarEl:Z.current,paginationEl:L.current}),function(){z&&C.current&&Object.keys(z).forEach((function(e){C.current.off(e,z[e])}))}})),Vc((function(){var e;!(e=C.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[x]),t.createElement(s,qc({ref:T,className:Ic("".concat(m).concat(i?" ".concat(i):""))},D),t.createElement(Wc.Provider,{value:C.current},B["container-start"],t.createElement(u,{className:"swiper-wrapper"},B["wrapper-start"],I.virtual?function(e,n,r){if(!r)return null;var i=e.isHorizontal()?(0,Jt.Z)({},e.rtlTranslate?"right":"left","".concat(r.offset,"px")):{top:"".concat(r.offset,"px")};return n.filter((function(e,t){return t>=r.from&&t<=r.to})).map((function(n){return t.cloneElement(n,{swiper:e,style:i})}
2))}(C.current,F,x):!I.loop||C.current&&C.current.destroyed?F.map((function(e){return t.cloneElement(e,{swiper:C.current})})):function(e,n,r){var i=n.map((function(n,r){return t.cloneElement(n,{swiper:e,"data-swiper-slide-index":r})}));function a(e,n,i){return t.cloneElement(e,{key:"".concat(e.key,"-duplicate-").concat(n,"-").concat(i),className:"".concat(e.props.className||""," ").concat(r.slideDuplicateClass)})}if(r.loopFillGroupWithBlank){var o=r.slidesPerGroup-i.length%r.slidesPerGroup;if(o!==r.slidesPerGroup)for(var s=0;s<o;s+=1){var l=t.createElement("div",{className:"".concat(r.slideClass," ").concat(r.slideBlankClass)});i.push(l)}}"auto"!==r.slidesPerView||r.loopedSlides||(r.loopedSlides=i.length);for(var u=Dc(i,r),c=[],d=[],f=0;f<u;f+=1){var h=f-Math.floor(f/i.length)*i.length;d.push(a(i[h],f,"append")),c.unshift(a(i[i.length-h-1],f,"prepend"))}return e&&(e.loopedSlides=u),[].concat(c,(0,ye.Z)(i),d)}(C.current,F,I),B["wrapper-end"]),Lc(I)&&t.createElement(t.Fragment,null,t.createElement("div",{ref:O,className:"swiper-button-prev"}),t.createElement("div",{ref:R,className:"swiper-button-next"})),Nc(I)&&t.createElement("div",{ref:Z,className:"swiper-scrollbar"}),Zc(I)&&t.createElement("div",{ref:L,className:"swiper-pagination"}),B["container-end"]))}));Xc.displayName="Swiper";var Yc=["tag","children","className","swiper","zoom","virtualIndex"];function Jc(){return Jc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jc.apply(this,arguments)}var Kc=(0,t.forwardRef)((function(e,n){var r=void 0===e?{}:e,i=r.tag,o=void 0===i?"div":i,s=r.children,l=r.className,u=void 0===l?"":l,c=r.swiper,d=r.zoom,f=r.virtualIndex,h=(0,Rr.Z)(r,Yc),p=(0,t.useRef)(null),v=(0,t.useState)("swiper-slide"),m=(0,a.Z)(v,2),g=m[0],y=m[1];function b(e,t,n){t===p.current&&y(n)}Vc((function(){if(n&&(n.current=p.current),p.current&&c){if(!c.destroyed)return c.on("_slideClass",b),function(){c&&c.off("_slideClass",b)};"swiper-slide"!==g&&y("swiper-slide")}})),Vc((function(){c&&p.current&&!c.destroyed&&y(c.getSlideClasses(p.current))}),[c]);var x={isActive:g.indexOf("swiper-slide-active")>=0||g.indexOf("swiper-slide-duplicate-active")>=0,isVisible:g.indexOf("swiper-slide-visible")>=0,isDuplicate:g.indexOf("swiper-slide-duplicate")>=0,isPrev:g.indexOf("swiper-slide-prev")>=0||g.indexOf("swiper-slide-duplicate-prev")>=0,isNext:g.indexOf("swiper-slide-next")>=0||g.indexOf("swiper-slide-duplicate-next")>=0},w=function(){return"function"===typeof s?s(x):s};return t.createElement(o,Jc({ref:p,className:Ic("".concat(g).concat(u?" ".concat(u):"")),"data-swiper-slide-index":f},h),t.createElement(Hc.Provider,{value:x},d?t.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof d?d:void 0},w()):w()))}));Kc.displayName="SwiperSlide";var Qc=n.p+"static/media/coint.9cccf0f527b8a845625e.png";sl().init({duration:2500});var $c=function(){return(0,o.jsxs)("div",{className:"",children:[(0,o.jsxs)(Xc,{effect:"coverflow",spaceBetween:150,loop:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev",clickable:!0},grabCursor:!0,autoplay:{delay:4500,disableOnInteraction:!1},modules:[Pc,Ac],centeredSlides:!0,slidesPerView:"auto",coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},pagination:!0,className:"mySwiper swiper_container",children:[(0,o.jsx)(Kc,{children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[" ",(0,o.jsx)(jl,{className:"width_press",style:{border:"2px solid #000",borderRadius:"20px"},children:(0,o.jsxs)(Bl,{children:[(0,o.jsx)("h1",{style:{color:"#005ca3",textAlign:"center"},className:"undercard_heads",children:"Diaro De Ibiza"}),(0,o.jsxs)(Fl,{style:{color:"#000",textAlign:"center"},className:"undercard_para",children:[(0,o.jsx)("br",{}),"Ibiza Token brings to the island the first NFT platform aimed to democratize art through a decentralized system.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("img",{src:"data:image/png;base64,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",style:{width:"30%"}}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)("div",{className:"center_button",children:[" ",(0,o.jsx)("button",{class:"button-173 ",role:"button",children:"Explore"})]})]})]})})," "]})}),(0,o.jsx)(Kc,{children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[" ",(0,o.jsx)(jl,{className:"width_press",style:{border:"2px solid #000",borderRadius:"20px"},children:(0,o.jsxs)(Bl,{children:[(0,o.jsx)("h1",{style:{color:"#005ca3",textAlign:"center"},className:"undercard_heads",children:"Cointelegraph"}),(0,o.jsxs)(Fl,{style:{color:"#000",textAlign:"center"},className:"undercard_para",children:[(0,o.jsx)("br",{}),"In Spain, Ibiza Token announced the launch of an NFT platform with the aim of supporting content creators and businesses in Ibiza.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("img",{src:Qc,style:{width:"30%"}}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)("div",{className:"center_button",children:[" ",(0,o.jsx)("button",{class:"button-173 ",role:"button",children:"Explore"})]}),(0,o.jsx)("br",{})]})]})})," "]})}),(0,o.jsx)(Kc,{children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[" ",(0,o.jsx)(jl,{className:"width_press",style:{border:"2px solid #000",borderRadius:"20px"},children:(0,o.jsxs)(Bl,{children:[(0,o.jsx)("h1",{style:{color:"#005ca3",textAlign:"center"},className:"undercard_heads",children:"Periodico de ibiza"}),(0,o.jsxs)(Fl,{style:{color:"#000",textAlign:"center"},className:"undercard_para",children:[(0,o.jsx)("br",{}),"The conference Ibiza NXT lands in Ibiza to introduce blockchain technology.",(0,o.jsx)("br",{}),(0,o.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABkCAQAAABpj7eAAAAAAmJLR0QA/4ePzL8AAAm2SURBVHja7Zp5cFXVHcd/ZIECIm1E08Ys73zP5YUl1GEeFDQiUaClGTLFAQYUaKqWRBAVhs2xlW2gBnQ6gtoaNvPOY02RgbQdtGVxaY0podTWshRSh5GlRUpFRJZAbv9475177n33hQQyUzr9fc5fZ/ud8873LL9z7iNiGIZhGIZhGIZhGIZhGIZhGIZhGIZhGIZhGIZhGIZhGIZhGIZhGIZhGIZh/r8Qg7APu3gcbgqyOolluIomsZDH4iZAFuIwbLEd/Xksbg5BHsQuMSgnSxZYt7el3cDXAwMwFP3kHT5t3iELcrIo5X9tqFaKBjOgHqtQTO2IiMRSnPAGMYxILvbUOSC3yfKsTlGLuuQfnVYsiVX4F2zYsPGxXISuzrB5bNVhi3jCynbqYry2OMOweLtcjIMxizZs0YAp8bzsDFTgaCz9tKgMBFo4Fm/qlpYSyXHunokGWYtfiKn5XWIn4jBjVDKJ/GroX/W0uyUs0Hn5nk6gxvlRxs/bnZ1BJFf45JQQiUq/OjiCIBGRjp/QbUzGBU/Zk7g3mpeT5WvrIl6KCyzLdOp8bfFRfOGtI2fH8obglCfvPB5piSDYq22tcLXr6XtgABGRKHHScrI8PfWGeWY72R315LTl4hYJAhu/abUgttwfSk8URD7pW/q8LGxGEBs2PsjO8BdELvIpfSU2KPfjok9uk5jUZoLYOJnVqVWCXMzr6VqJ3zfyjlFqEkFEFSrwKzTpov0MQV6RZdGAXJcgm1EhtxmSfNcriAzhUizeKDbKF/BnnX8UXV2CfCjLMB2/NsTf6ieImGAONHbIF1AhKsVyIqJg
2N5zQeTtQgZ06dkEWXL8gREVpYhBOuqZlgiB5PeOjJMvky8nWBxF+75ri304iiAwREaFCF5zqCCJKXPeJSnc6Nmsbs7yCiO267AQiot7tsUuXfs4lSE3M+gRnUgS+4xUks7Mx5MfEtzyngLN2fhqztswt7/UKQkSEuTplvJ8gBinifZ17KPAVVx8LYMPGl3pjXd+sIOI+beiZFgsyXdt4yi2IJfXgHtIdut9Z+pSSKAgR1phpbkHEJB1rtPp6hiFVnI7lXY5ud0TZGWiMpV1F7o0JIhbG43k9mxcE05w1LB/wTJro2qmRKr52A19tboU8rOPjWiqIMwut77kFweO65NJ47aI0nNHl+/oK0l+nnaVUtyDOBik2JgyoU2+n0dvdusZjNyII+mu5V/kf6tpOLs7pvDXuNrI7Rn+9LJelurXypIKITNEQ163HbX6Hek6WS5AfWlJMxPlY/Fx+F48gr+rY40ab+3SbP/ATpChNnzs2ct2C4GNdtzRhQB/VeSuN1FU69WUnVS1RP2rFoV6PY/EDWj5XlNa8IMakOe29d8X62CRznF8ua5MIIir1HLBR4e9luQXxc+5MQWS17toYo83f6jJz/AQhwqc6tY9HkC/1+TI4YUDn6JLPG6n6VJSbnNTw8Uj9dXhZjfLH8VtNMkHkOMPJSZw0dbBho46ISO43t0AfQYyG37U6tFqQn0Vvxa4VskFbH2t0Sh/rYoavICl6309cIWe1xcKEi92sxA2SSCzV9dffsCA2bDTi1czOyQTJzsA/tJW3oxdsoy93Oc4PkVjuM4F8BLkqKrM7ErkE0W5vVqckgpyN32BdgrxyPVuWyHTsZnf0CHLIT+Lmtiynt9EtK9y3KrQ7LS5IdfuqUFVhdWrzgshQYAAeclx2sZ3a+QuC1cluH0RE+Hksb2gQQWCyz23EFERWiyo5G931jLvmoY4Kx/MQM30E0Yc6lji+kHOoy5CfIHK4TvvI62VhvY6tbuZQ32GkvqVbK7PbhVcqW9nhWnUmUk+kCsJ/UwdVg6pTnVvgZeUZt7QhfoIEBhsl5nn71/sWZ30nXKqHJ/GyXFtAC7ys3u31uXMy6m+73N5eOrZPPwgO1GmfFaX5rpCNuk8vegWRY43nlaC7v6F0fB53STI7x968OmiXww70CI9Wdrh87a3hNcqO1Fenqj+pv1amr8pQlyJl1xaECJ85p1+iIFYHHEh2+yAikuVJ7/42NrSRIER4ze1Wui+G+EA/XtwXa1HPcbHc92I4Rs+yS0F4BendHod1/LDVy7NGHK9uWizFcbzfJwpvUpcq04leDyg7Uh/JV3a4NlIWKVNn1bprC5InjAGc7PN0sjj57cO1JX6iHx1POi8JuV9rjSALRYkOmW5BZKE2epBSEgQZoeNn8AwecmY/vsgTLkHqxRgxUYRx1fT0Ep9OUGyUuIzNYiaeRgVqitKILKnXQ6N8UY7FElzWZYuJ1Hvq0+jJoexIvXpA2Wq/qlbVqjoy81qC5An8zkmxenkFQR+jrQ/FGDNghLGh/jt6QhMRBe80trjJrRDE/byYcFPXBy1GJT4u4vUki3RK84+Lclv0oEt8XHReBlyhHxGRmJrE3moiovAmdaX6FiIllB2pV0LZSrXwHvJ3XDHi6xK8rBT3C5Xntxw37kMvuca41nlMbTtB5uncPyQKEkp3nF8drmJOs8/vl8TC6PXL//ldjDZ283iYHst71ph1egCj1tREZauniNQiZUfqiSLvqAuRe4hUwdrslr/2iq2Jr71iWDPngy2Po2v8g4G4y7X9z3RK5fVsI0GCiA1BE06gT+L3ECI5Dh85Ysi3rbvjOQmCXEadXGR+oPIThKjHbVjg3Nph41zcyyOS9+AdY1v7i+MgV6arrapJfaI2qH9G6onWIbJP2eqc+jwyqkWCnMEWFPtdDM2YnyDiCeckc33zDBjTp4KIpCVD0RD/IGQs4a45WYnB6hDsFkQ06I9IIwODg+jdPvrgHg3o47EWFCWyVA7P+4b7QTBuK4ggnC+JDsFucYuemtEvkcWyVI5EP69Pk5Mlh8tSUeL1xOanqAGqH9G6vPCdRES709YOVPeuvZWIKNBD9z3XbDcarF6eF6uuTl4ovVsXa0H+N2V5EGKSWIYh3R/BXKsXpljPdx+BefLB7qOwxJogKq3RmELtZKmYgflihizDfFEil4uF1kA58lpvbUyrQI0I42EiuULOEoOwF/PwGmrwE+zEEbyBN3BElmE9gmjCNOwRmbBFJvbKUutubMEBMQhLsJdHsS3/nTAcRymVSK7Au3K2rMZQ7EINTslZ2CO2i+3YI8vwSxmSx7FBNBDBJsJeOUsW4gxOWbdiD47wv3LaUpACuS32djY+vwt2oQ7FqMFcvCe2ikliktiK8WI3psjaYDe8RYQTRPJNUSXHoR5b8p4Vj8kn4/8LYBiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYf6r/AeV0koRvk581wAAAABJRU5ErkJggg==",style:{width:"30%"}}),(0,o.jsx)("br",{}),(0,o.jsxs)("div",{className:"center_button",children:[" ",(0,o.jsx)("button",{class:"button-173 ",role:"button",children:"Explore"})]}),(0,o.jsx)("br",{})]})]})})," "]})}),(0,o.jsx)(Kc,{children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[" ",(0,o.jsx)(jl,{className:"width_press",style:{border:"2px solid #000",borderRadius:"20px"},children:(0,o.jsxs)(Bl,{children:[(0,o.jsx)("h1",{style:{color:"#005ca3",textAlign:"center"},className:"undercard_heads",children:"Noudiari"}),(0,o.jsxs)(Fl,{style:{color:"#000",textAlign:"center"},className:"undercard_para",children:[(0,o.jsx)("br",{}),'Las Dalias presents his first NFT collection "El Viaje/The trip "which will be available on the Ibiza Token Marketplace.',(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAc0AAABHCAYAAABlGRwXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpjM2QyYTZmZS0yY2EyLTQ2YTItOTYyMC0zODZhYTQ1N2M0MmIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MkU4MDBBQzM4RkU0MTFFQkEzNjZDRTUyRkZDRjgzRjkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MkU4MDBBQzI4RkU0MTFFQkEzNjZDRTUyRkZDRjgzRjkiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpiNTU5OWQyNy01NjE2LTRkNmYtOTE4MS05M2RhNzE2NWM4ZTUiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDpmMWY5MmU2MS04NGIxLWQzNDctOWE1OS1m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",style:{width:"30%"}}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)("div",{className:"center_button",children:[" ",(0,o.jsx)("button",{class:"button-173 ",role:"button",children:"Explore"})]}),(0,o.jsx)("br",{})]})]})})," "]})})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})};sl().init({duration:2500});var ed=function(){return(0,o.jsxs)("div",{className:"addpress_bg",id:"Press",children:[(0,o.jsx)("br",{}),(0,o.jsx)(Tr,{container:!0,id:"press",children:(0,o.jsx)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px"},children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[" ",(0,o.jsx)("h1",{className:"utilityhead neon",children:"Press"})]})})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)($c,{})]})},td=(n(7441),!1),nd="unmounted",rd="exited",id="entering",ad="entered",od="exiting",sd=function(e){function n(t,n){var r;r=e.call(this,t,n)||this;var i,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(i=rd,r.appearStatus=id):i=ad:i=t.unmountOnExit||t.mountOnEnter?nd:rd,r.state={status:i},r.nextCallback=null,r}fn(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===nd?{status:rd}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==id&&n!==ad&&(t=id):n!==id&&n!==ad||(t=od)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===id){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:El.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===rd&&this.setState({status:nd})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.
2isMounting:e,i=this.props.nodeRef?[r]:[El.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||td?this.safeSetState({status:ad},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,o),this.safeSetState({status:id},(function(){t.props.onEntering(a,o),t.onTransitionEnd(l,(function(){t.safeSetState({status:ad},(function(){t.props.onEntered(a,o)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:El.findDOMNode(this);t&&!td?(this.props.onExit(r),this.safeSetState({status:od},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:rd},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:rd},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:El.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===nd)return null;var n=this.props,r=n.children,i=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,Kt.Z)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(hn.Provider,{value:null},"function"===typeof r?r(e,i):t.cloneElement(t.Children.only(r),i))},n}(t.Component);function ld(){}sd.contextType=hn,sd.propTypes={},sd.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ld,onEntering:ld,onEntered:ld,onExit:ld,onExiting:ld,onExited:ld},sd.UNMOUNTED=nd,sd.EXITED=rd,sd.ENTERING=id,sd.ENTERED=ad,sd.EXITING=od;var ud=sd,cd=n(1314),dd=function(e){return e.scrollTop};function fd(e,t){var n,r,i=e.timeout,a=e.easing,o=e.style,s=void 0===o?{}:o;return{duration:null!=(n=s.transitionDuration)?n:"number"===typeof i?i:i[t.mode]||0,easing:null!=(r=s.transitionTimingFunction)?r:"object"===typeof a?a[t.mode]:a,delay:s.transitionDelay}}function hd(e){return(0,Gn.Z)("MuiCollapse",e)}(0,Cn.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var pd=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],vd=(0,rn.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Qt.Z)({height:0,overflow:"hidden",transition:t.transitions.create("height")},"horizontal"===n.orientation&&{height:"auto",width:0,transition:t.transitions.create("width")},"entered"===n.state&&(0,Qt.Z)({height:"auto",overflow:"visible"},"horizontal"===n.orientation&&{width:"auto"}),"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&{visibility:"hidden"})})),md=(0,rn.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:function(e,t){return t.wrapper}})((function(e){var t=e.ownerState;return(0,Qt.Z)({display:"flex",width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})})),gd=(0,rn.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:function(e,t){return t.wrapperInner}})((function(e){var t=e.ownerState;return(0,Qt.Z)({width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"})})),yd=t.forwardRef((function(e,n){var r=(0,an.Z)({props:e,name:"MuiCollapse"}),i=r.addEndListener,a=r.children,s=r.className,l=r.collapsedSize,u=void 0===l?"0px":l,c=r.component,d=r.easing,f=r.in,h=r.onEnter,p=r.onEntered,v=r.onEntering,m=r.onExit,g=r.onExited,y=r.onExiting,b=r.orientation,x=void 0===b?"vertical":b,w=r.style,S=r.timeout,_=void 0===S?cd.x9.standard:S,k=r.TransitionComponent,M=void 0===k?ud:k,E=(0,Kt.Z)(r,pd),T=(0,Qt.Z)({},r,{orientation:x,collapsedSize:u}),C=function(e){var t=e.orientation,n=e.classes,r={root:["root","".concat(t)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(t)],wrapperInner:["wrapperInner","".concat(t)]};return(0,tn.Z)(r,hd,n)}(T),A=qt(),P=t.useRef(),R=t.useRef(null),O=t.useRef(),L="number"===typeof u?"".concat(u,"px"):u,Z="horizontal"===x,N=Z?"width":"height";t.useEffect((function(){return function(){clearTimeout(P.current)}}),[]);var I=t.useRef(null),j=(0,on.Z)(n,I),D=function(e){return function(t){if(e){var n=I.current;void 0===t?e(n):e(n,t)}}},z=function(){return R.current?R.current[Z?"clientWidth":"clientHeight"]:0},U=D((function(e,t){R.current&&Z&&(R.current.style.position="absolute"),e.style[N]=L,h&&h(e,t)})),F=D((function(e,t){var n=z();R.current&&Z&&(R.current.style.position="");var r=fd({style:w,timeout:_,easing:d},{mode:"enter"}),i=r.duration,a=r.easing;if("auto"===_){var o=A.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(o,"ms"),O.current=o}else e.style.transitionDuration="string"===typeof i?i:"".concat(i,"ms");e.style[N]="".concat(n,"px"),e.style.transitionTimingFunction=a,v&&v(e,t)})),B=D((function(e,t){e.style[N]="auto",p&&p(e,t)})),V=D((function(e){e.style[N]="".concat(z(),"px"),m&&m(e)})),H=D(g),W=D((function(e){var t=z(),n=fd({style:w,timeout:_,easing:d},{mode:"exit"}),r=n.duration,i=n.easing;if("auto"===_){var a=A.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(a,"ms"),O.current=a}else e.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");e.style[N]=L,e.style.transitionTimingFunction=i,y&&y(e)}));return(0,o.jsx)(M,(0,Qt.Z)({in:f,onEnter:U,onEntered:B,onEntering:F,onExit:V,onExited:H,onExiting:W,addEndListener:function(e){"auto"===_&&(P.current=setTimeout(e,O.current||0)),i&&i(I.current,e)},nodeRef:I,timeout:"auto"===_?null:_},E,{children:function(e,t){return(0,o.jsx)(vd,(0,Qt.Z)({as:c,className:(0,$t.Z)(C.root,s,{entered:C.entered,exited:!f&&"0px"===L&&C.hidden}[e]),style:(0,Qt.Z)((0,Jt.Z)({},Z?"minWidth":"minHeight",L),w),ownerState:(0,Qt.Z)({},T,{state:e}),ref:j},t,{children:(0,o.jsx)(md,{ownerState:(0,Qt.Z)({},T,{state:e}),className:C.wrapper,ref:R,children:(0,o.jsx)(gd,{ownerState:(0,Qt.Z)({},T,{state:e}),className:C.wrapperInner,children:a})})}))}}))}));yd.muiSupportAuto=!0;var bd=yd,xd=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)};function wd(e){return(0,Gn.Z)("MuiPaper",e)}(0,Cn.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var Sd=["className","component","elevation","square","variant"],_d=(0,rn.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;
2return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Qt.Z)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!r.square&&{borderRadius:n.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===r.variant&&(0,Qt.Z)({boxShadow:(n.vars||n).shadows[r.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,nn.Fq)("#fff",xd(r.elevation)),", ").concat((0,nn.Fq)("#fff",xd(r.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[r.elevation]}))})),kd=t.forwardRef((function(e,t){var n=(0,an.Z)({props:e,name:"MuiPaper"}),r=n.className,i=n.component,a=void 0===i?"div":i,s=n.elevation,l=void 0===s?1:s,u=n.square,c=void 0!==u&&u,d=n.variant,f=void 0===d?"elevation":d,h=(0,Kt.Z)(n,Sd),p=(0,Qt.Z)({},n,{component:a,elevation:l,square:c,variant:f}),v=function(e){var t=e.square,n=e.elevation,r=e.variant,i=e.classes,a={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,tn.Z)(a,wd,i)}(p);return(0,o.jsx)(_d,(0,Qt.Z)({as:a,ownerState:p,className:(0,$t.Z)(v.root,r),ref:t},h))})),Md=kd;var Ed=t.createContext({});function Td(e){return(0,Gn.Z)("MuiAccordion",e)}var Cd=(0,Cn.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),Ad=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],Pd=(0,rn.ZP)(Md,{name:"MuiAccordion",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,Jt.Z)({},"& .".concat(Cd.region),t.region),t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r={duration:n.transitions.duration.shortest};return t={position:"relative",transition:n.transitions.create(["margin"],r),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(n.vars||n).palette.divider,transition:n.transitions.create(["opacity","background-color"],r)},"&:first-of-type":{"&:before":{display:"none"}}},(0,Jt.Z)(t,"&.".concat(Cd.expanded),{"&:before":{opacity:0}
2,"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}}),(0,Jt.Z)(t,"&.".concat(Cd.disabled),{backgroundColor:(n.vars||n).palette.action.disabledBackground}),t}),(function(e){var t=e.theme,n=e.ownerState;return(0,Qt.Z)({},!n.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!n.disableGutters&&(0,Jt.Z)({},"&.".concat(Cd.expanded),{margin:"16px 0"}))})),Rd=t.forwardRef((function(e,n){var r=(0,an.Z)({props:e,name:"MuiAccordion"}),i=r.children,s=r.className,l=r.defaultExpanded,u=void 0!==l&&l,c=r.disabled,d=void 0!==c&&c,f=r.disableGutters,h=void 0!==f&&f,p=r.expanded,v=r.onChange,m=r.square,g=void 0!==m&&m,y=r.TransitionComponent,b=void 0===y?bd:y,x=r.TransitionProps,w=(0,Kt.Z)(r,Ad),S=(0,$a.Z)({controlled:p,default:u,name:"Accordion",state:"expanded"}),_=(0,a.Z)(S,2),k=_[0],M=_[1],E=t.useCallback((function(e){M(!k),v&&v(e,!k)}),[k,v,M]),T=Ce(t.Children.toArray(i)),C=T[0],A=T.slice(1),P=t.useMemo((function(){return{expanded:k,disabled:d,disableGutters:h,toggle:E}}),[k,d,h,E]),R=(0,Qt.Z)({},r,{square:g,disabled:d,disableGutters:h,expanded:k}),O=function(e){var t=e.classes,n={root:["root",!e.square&&"rounded",e.expanded&&"expanded",e.disabled&&"disabled",!e.disableGutters&&"gutters"],region:["region"]};return(0,tn.Z)(n,Td,t)}(R);return(0,o.jsxs)(Pd,(0,Qt.Z)({className:(0,$t.Z)(O.root,s),ref:n,ownerState:R,square:g},w,{children:[(0,o.jsx)(Ed.Provider,{value:P,children:C}),(0,o.jsx)(b,(0,Qt.Z)({in:k,timeout:"auto"},x,{children:(0,o.jsx)("div",{"aria-labelledby":C.props.id,id:C.props["aria-controls"],role:"region",className:O.region,children:A})}))]}))})),Od=Rd;function Ld(e){return(0,Gn.Z)("MuiAccordionSummary",e)}var Zd=(0,Cn.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),Nd=["children","className","expandIcon","focusVisibleClassName","onClick"],Id=(0,rn.ZP)($n,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){var t,n=e.theme,r=e.ownerState,i={duration:n.transitions.duration.shortest};return(0,Qt.Z)((t={display:"flex",minHeight:48,padding:n.spacing(0,2),transition:n.transitions.create(["min-height","background-color"],i)},(0,Jt.Z)(t,"&.".concat(Zd.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,Jt.Z)(t,"&.".concat(Zd.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,Jt.Z)(t,"&:hover:not(.".concat(Zd.disabled,")"),{cursor:"pointer"}),t),!r.disableGutters&&(0,Jt.Z)({},"&.".concat(Zd.expanded),{minHeight:64}))})),jd=(0,rn.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:function(e,t){return t.content}})((function(e){var t=e.theme,n=e.ownerState;return(0,Qt.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&(0,Jt.Z)({transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest})},"&.".concat(Zd.expanded),{margin:"20px 0"}))})),Dd=(0,rn.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:function(e,t){return t.expandIconWrapper}})((function(e){var t=e.theme;return(0,Jt.Z)({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest})},"&.".concat(Zd.expanded),{transform:"rotate(180deg)"})})),zd=t.forwardRef((function(e,n){var r=(0,an.Z)({props:e,name:"MuiAccordionSummary"}),i=r.children,a=r.className,s=r.expandIcon,l=r.focusVisibleClassName,u=r.onClick,c=(0,Kt.Z)(r,Nd),d=t.useContext(Ed),f=d.disabled,h=void 0!==f&&f,p=d.disableGutters,v=d.expanded,m=d.toggle,g=(0,Qt.Z)({},r,{expanded:v,disabled:h,disableGutters:p}),y=function(e){var t=e.classes,n=e.expanded,r=e.disabled,i=e.disableGutters,a={root:["root",n&&"expanded",r&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,tn.Z)(a,Ld,t)}(g);return(0,o.jsxs)(Id,(0,Qt.Z)({focusRipple:!1,disableRipple:!0,disabled:h,component:"div","aria-expanded":v,className:(0,$t.Z)(y.root,a),focusVisibleClassName:(0,$t.Z)(y.focusVisible,l),onClick:function(e){m&&m(e),u&&u(e)},ref:n,ownerState:g},c,{children:[(0,o.jsx)(jd,{className:y.content,ownerState:g,children:i}),s&&(0,o.jsx)(Dd,{className:y.expandIconWrapper,ownerState:g,children:s})]}))})),Ud=zd;function Fd(e){return(0,Gn.Z)("MuiTypography",e)}(0,Cn.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","
2subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var Bd=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Vd=(0,rn.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat((0,er.Z)(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Qt.Z)({margin:0},n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),Hd={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Wd={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Gd=t.forwardRef((function(e,t){var n=(0,an.Z)({props:e,name:"MuiTypography"}),r=function(e){return Wd[e]||e}(n.color),i=mr((0,Qt.Z)({},n,{color:r})),a=i.align,s=void 0===a?"inherit":a,l=i.className,u=i.component,c=i.gutterBottom,d=void 0!==c&&c,f=i.noWrap,h=void 0!==f&&f,p=i.paragraph,v=void 0!==p&&p,m=i.variant,g=void 0===m?"body1":m,y=i.variantMapping,b=void 0===y?Hd:y,x=(0,Kt.Z)(i,Bd),w=(0,Qt.Z)({},i,{align:s,color:r,className:l,component:u,gutterBottom:d,noWrap:h,paragraph:v,variant:g,variantMapping:b}),S=u||(v?"p":b[g]||Hd[g])||"span",_=function(e){var t=e.align,n=e.gutterBottom,r=e.noWrap,i=e.paragraph,a=e.variant,o=e.classes,s={root:["root",a,"inherit"!==e.align&&"align".concat((0,er.Z)(t)),n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return(0,tn.Z)(s,Fd,o)}(w);return(0,o.jsx)(Vd,(0,Qt.Z)({as:S,ref:t,ownerState:w,className:(0,$t.Z)(_.root,l)},x))})),qd=Gd,Xd=n(1131);sl().init({duration:2500});var Yd=function(){var e=zo().t;return(0,o.jsxs)("div",{className:"background_hero_ticker_faq",id:"faq",children:[(0,o.jsx)(Tr,{container:!0,children:(0,o.jsxs)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px"},children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsx)("h1",{className:"utilityhead neon",style:{color:"#fff"},children:"Faq"})})]})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)(Tr,{item:!0,lg:12,xs:12,sm:12,md:12,children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsxs)(Od,{style:{background:"#fff",color:"#000 ",border:"2px solid #fff ",borderRadius:"10px"},className:"dark-mode",children:[(0,o.jsx)(Ud,{expandIcon:(0,o.jsx)(Xd.Z,{className:"svg"}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,o.jsx)(qd,{className:"faq_top",children:e("Question_one")})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(qd,{className:"faq_under",children:e("Answer_one")}),(0,o.jsx)("br",{})]})]})}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsxs)(Od,{style:{background:"#fff",color:"#000 ",border:"2px solid #fff ",borderRadius:"10px"},className:"dark-mode",children:[(0,o.jsx)(Ud,{expandIcon:(0,o.jsx)(Xd.Z,{className:"svg"}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,o.jsx)(qd,{className:"faq_top",children:e("Question_two")})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(qd,{className:"faq_under",children:e("Answer_two")}),(0,o.jsx)("br",{})]})]})}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsxs)(Od,{style:{background:"#fff",color:"#000 ",border:"2px solid #fff ",borderRadius:"10px"},className:"dark-mode",children:[(0,o.jsx)(Ud,{expandIcon:(0,o.jsx)(Xd.Z,{className:"svg"}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,o.jsx)(qd,{className:"faq_top",children:e("Question_three")})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(qd,{className:"faq_under",children:e("Answer_three")}),(0,o.jsx)("br",{})]})]})}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsxs)(Od,{style:{background:"#fff",color:"#000 ",border:"2px s
2olid #fff ",borderRadius:"10px"},className:"dark-mode",children:[(0,o.jsx)(Ud,{expandIcon:(0,o.jsx)(Xd.Z,{className:"svg"}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,o.jsx)(qd,{className:"faq_top",children:e("Question_four")})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(qd,{className:"faq_under",children:e("Answer_four")}),(0,o.jsx)("br",{})]})]})}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsxs)(Od,{style:{background:"#fff",color:"#000 ",border:"2px solid #fff ",borderRadius:"10px"},className:"dark-mode",children:[(0,o.jsx)(Ud,{expandIcon:(0,o.jsx)(Xd.Z,{className:"svg"}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,o.jsx)(qd,{className:"faq_top",children:e("Question_five")})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(qd,{className:"faq_under",children:e("Answer_five")}),(0,o.jsx)("br",{})]})]})}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsxs)(Od,{style:{background:"#fff",color:"#000 ",border:"2px solid #fff ",borderRadius:"10px"},className:"dark-mode",children:[(0,o.jsx)(Ud,{expandIcon:(0,o.jsx)(Xd.Z,{className:"svg"}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,o.jsx)(qd,{className:"faq_top",children:e("Question_six")})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(qd,{className:"faq_under",children:e("Answer_six")}),(0,o.jsx)("br",{})]})]})}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsxs)(Od,{style:{background:"#fff",color:"#000 ",border:"2px solid #fff ",borderRadius:"10px"},className:"dark-mode",children:[(0,o.jsx)(Ud,{expandIcon:(0,o.jsx)(Xd.Z,{className:"svg"}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,o.jsx)(qd,{className:"faq_top",children:e("Question_seven")})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(qd,{className:"faq_under",children:e("Answer_seven")}),(0,o.jsx)("br",{})]})]})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})})]})},Jd=n.p+"static/media/lo.f1ab7ac9373caa10fdb1.png",Kd=n.p+"static/media/eswhite.8e03284a4f759492325f.pdf",Qd=n.p+"static/media/engwhite.0bba7c73df6d5d0a8c08.pdf",$d=n.p+"static/media/chain.c003b1ed0892cef06126.pdf",ef=n.p+"static/media/solid.1e71cf19f83cc0b589c6.pdf";function tf(){return(0,o.jsxs)(ru,{className:"text-center text-lg-start text-muted footer_bg",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("section",{className:"",children:(0,o.jsx)(Al,{className:"text-center text-md-start mt-",children:(0,o.jsx)("div",{children:(0,o.jsxs)(Xl,{className:"mt-5",children:[(0,o.jsx)(Pl,{md:"3",lg:"4",xl:"3",className:"mx-auto mb-4",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h6",{className:"text-uppercase fw-bold mb-4",children:(0,o.jsx)("img",{src:Jd})}),(0,o.jsx)("p",{style:{color:"transparent"},children:"Here you can use rows and columns to organize your footer content. Lorem ipsum dolor sit amet, consectetur adipisicing elit."})]})}),(0,o.jsxs)(Pl,{md:"2",lg:"2",xl:"2",className:"mx-auto mb-4",children:[(0,o.jsx)("div",{children:(0,o.jsx)("h6",{className:"text-uppercase fw-bold mb-4",style:{color:"#fff"},children:"PROJECT"})}),(0,o.jsxs)("div",{children:[" ",(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"#UtilityToken",className:"text-reset",children:"Utility Token"})})]})," ",(0,o.jsxs)("div",{children:[" ",(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"#IbizaPay",className:"text-reset",style:{color:"#fff"},children:"IbizaPay"})})]}),(0,o.jsx)("div",{children:(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"#IBZNFTMarketplace",className:"text-reset",style:{color:"#fff"},children:"NFT Marketplace"})})}),(0,o.jsxs)("div",{children:[" ",(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"#IbizaNXT",className:"text-reset",children:"IbizaNXT"})})]})]}),(0,o.jsxs)(Pl,{md:"3",lg:"2",xl:"2",className:"mx-auto mb-4",children:[(0,o.jsxs)("div",{children:[" ",(0,o.jsx)("h6",{className:"text-uppercase fw-bold mb-4",style:{color:"#fff"},children:"SOCIAL"})]}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff",textDecoration:"none"},children:(0,o.jsx)("a",{href:"https://www.facebook.com/ibizatoken/",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Facebook"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://www.instagram.com/ibizatoken/",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Instagram"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://twitter.com/IbizaToken",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Twitter"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://www.linkedin.com/company/ibizatoken/",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Linkedin"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://github.com/ibizatoken",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"GitHub"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://t.me/ibizatoken",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Telegram"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://medium.com/@ibizatoken",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Medium"})})]}),(0,o.jsxs)(Pl,{md:"4",lg:"3",xl:"2",className:"mx-auto mb-md-0 mb-4",children:[(0,o.jsx)("div",{}),(0,o.jsx)("h6",{className:"text-uppercase fw-bold mb-4",style:{color:"#fff"},children:"RESOURCES"}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:Kd,className:"text-reset",target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",textDecoration:"none"},children:"Whitepaper es"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:Qd,className:"text-reset",target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",textDecoration:"none"},children:"Whitepaper eng"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:$d,className:"text-reset",target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",textDecoration:"none"},children:"Chainsulting audit"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:ef,className:"text-reset",target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",textDecoration:"none"},children:"Solidproof audit"})})]}),(0,o.jsxs)(Pl,{md:"4",lg:"3",xl:"2",className:"mx-auto mb-md-0 mb-4",children:[(0,o.jsx)("div",{}),(0,o.jsx)("h6",{className:"text-uppercase fw-bold mb-4",style:{color:"#fff"},children:"LEGAL"}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"/IbizaTerm",className:"text-reset",style:{color:"#fff",textDecoration:"none"},children:"Privacy and Terms"})})]})]})})})})," ",(0,o.jsxs)("div",{className:"text-center p-4",style:{backgroundColor:"",color:"#fff"},children:["\xa9 2023 - All Rights Reserved - Defi Proxima SL -",(0,o.jsx)("a",{className:"text-reset fw-bold",href:"https://www.defiproxima.com/",target:"_blank",children:"www.defiproxima.com"})]})]})}function nf(){return(0,o.jsxs)(ru,{className:"text-center text-lg-start text-muted footer_bg",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("section",{className:"",children:(0,o.jsx)(Al,{className:"text-center text-md-start mt-",children:(0,o.jsx)("div",{children:(0,o.jsxs)(Xl,{className:"mt-5",children:[(0,o.jsx)(Pl,{md:"3",lg:"4",xl:"3",className:"mx-auto mb-4",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h6",{className:"text-uppercase fw-bold mb-4",children:(0,o.jsx)("img",{src:Jd})}),(0,o.jsx)("p",{style:{color:"transparent"},children:"Here you can use rows and columns to organize your footer content. Lorem ipsum dolor sit amet, consectetur adipisicing elit."})]})}),(0,o.jsx)(Pl,{md:"2",lg:"2",xl:"2",className:"mx-auto mb-4",children:(0,o.jsxs)(Od,{className:"back_footer_accord dark-mode",children:[(0,o.jsx)(Ud,{expandIcon:(0,o.jsx)(Xd.Z,{className:"svg",style:{color:"#fff"}}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,o.jsx)("h6",{className:"text-uppercase fw-bold mb-4 ",style:{color:"#fff",textAlign:"center",alignItems:"center",justifyContent:"center"},children:"PROJECT"})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{children:[" ",(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"#UtilityToken",className:"text-reset",children:"Utility Token"})})]})," ",(0,o.jsxs)("div",{children:[" ",(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"#IbizaPay",className:"text-reset",style:{color:"#fff"},children:"IbizaPay"})})]}),(0,o.jsx)("div",{children:(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"#IBZNFTMarketplace",className:"text-reset",style:{color:"#fff"},children:"NFT Marketplace"})})}),(0,o.jsxs)("div",{children:[" ",(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"#IbizaNXT",className:"text-reset",children:"IbizaNXT"})})]}),(0,o.jsx)("br",{})]})]})}),(0,o.jsx)(Pl,{md:"2",lg:"2",xl:"2",className:"mx-auto mb-4",children:(0,o.jsxs)(Od,{className:"back_footer_accord dark-mode",children:[(0,o.jsx)(Ud,{expandIcon:(0,o.jsx)(Xd.Z,{className:"svg",style:{color:"#fff"}}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,o.jsx)("h6",{className:"text-uppercase fw-bold mb-4 ",style:{color:"#fff",textAlign:"center",alignItems:"center",justifyContent:"center"},children:"SOCIAL"})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("p",{style:{color:"#fff",textDecoration:"none"},children:(0,o.jsx)("a",{href:"https://www.facebook.com/ibizatoken/",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Facebook"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://www.instagram.com/ibizatoken/",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Instagram"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://twitter.com/IbizaToken",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Twitter"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://www.linkedin.com/company/ibizatoken/",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Linkedin"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://github.com/ibizatoken",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"GitHub"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://t.me/ibizatoken",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Telegram"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"https://medium.com/@ibizatoken",className:"text-reset",target:"_blank",style:{color:"#fff",textDecoration:"none"},children:"Medium"})}),(0,o.jsx)("br",{})]})]})}),(0,o.jsx)(Pl,{md:"2",lg:"2",xl:"2",className:"mx-auto mb-4",children:(0,o.jsxs)(Od,{className:"back_footer_accord dark-mode",children:[(0,o.jsx)(Ud,{expandIcon:(0,o.jsx)(Xd.Z,{className:"svg",style:{color:"#fff"}}),"aria-controls":"panel1a-content",id:"panel1a-header",children:(0,o.jsx)("h6",{className:"text-uppercase fw-bold mb-4 ",style:{color:"#fff",textAlign:"center",alignItems:"center",justifyContent:"center"},children:"RESOURCES"})}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:Kd,className:"text-reset",target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",textDecoration:"none"},children:"Whitepaper es"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:Qd,className:"text-reset",target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",textDecoration:"none"},children:"Whitepaper eng"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:$d,className:"text-reset",target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",textDecoration:"none"},children:"Chainsulting audit"})}),(0,o.jsx)("div",{}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:ef,className:"text-reset",target:"_blank",rel:"noopener noreferrer",style:{color:"#fff",textDecoration:"none"},children:"Solidproof audit"})}),(0,o.jsx)("br",{})]})]})}),(0,o.jsxs)(Pl,{md:"4",lg:"3",xl:"2",className:"mx-auto mb-md-0 mb-4",children:[(0,o.jsx)("div",{}),(0,o.jsx)("h6",{className:"text-uppercase fw-bold mb-4",style:{color:"#fff"},children:"LEGAL"}),(0,o.jsx)("p",{style:{color:"#fff"},children:(0,o.jsx)("a",{href:"/IbizaTerm",className:"text-reset",style:{color:"#fff",textDecoration:"none"},children:"Privacy and Terms"})})]})]})})})})," ",(0,o.jsxs)("div",{className:"text-center p-4",style:{backgroundColor:"",color:"#fff"},children:["\xa9 2023 - All Rights Reserved - Defi Proxima SL -",(0,o.jsx)("a",{className:"text-reset fw-bold",href:"https://www.defiproxima.com/",target:"_blank",children:"www.defiproxima.com"})]})]})}sl().init({duration:2500}),sl().init({duration:2500});var rf="data:image/png;base64,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",af="data:image/png;base64,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";sl().init({duration:2500});var of=function(){var e=zo().t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(Tr,{container:!0,children:[(0,o.jsx)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px"},children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[" ",(0,o.jsxs)("h1",{className:"utilityhead neon",children:[" ",e("Subscribe")]})]})}),(0,o.jsxs)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px",justifyContent:"center",display:"flex"},children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{class:"custom-search  ",children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("input",{type:"text",class:"custom-search-input",placeholder:"What is your mail ?"}),(0,o.jsx)("button",{class:"custom-search-botton ",type:"submit",children:e("Sub")})]})})]}),(0,o.jsx)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px"},children:(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsx)("h1",{className:"utilityhead neon",children:e("Listed")})})}),(0,o.jsx)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px",justifyContent:"center",alignItems:"center",textAlign:"center"},children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("a",{href:"https://coinmarketcap.com/currencies/ibiza-token/",target:"_blank",children:(0,o.jsx)("img",{src:rf})})," ","\xa0 \xa0"," ",(0,o.jsxs)("a",{href:"https://www.coingecko.com/en/coins/ibiza-token",target:"_blank",children:[" ",(0,o.jsx)("img",{src:af})]})]})})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})};sl().init({duration:2500});var sf=function(){var e=zo().t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(Tr,{container:!0,children:[(0,o.jsx)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px"},children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[" ",(0,o.jsx)("h1",{className:"utilityhead neon",children:e("Subscribe")})]})}),(0,o.jsxs)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px",justifyContent:"center",display:"flex"},children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)("div",{class:"custom-search  ",children:[(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsx)("input",{type:"text",class:"custom-search-input",placeholder:"Enter your email"})}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{className:"center_news_sub_btn",children:(0,o.jsx)("button",{class:"custom-search-bottonn ",type:"submit",children:e("Sub")})})]})]}),(0,o.jsx)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px"},children:(0,o.jsx)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:(0,o.jsx)("h1",{className:"utilityhead neon",children:e("Listed")})})}),(0,o.jsx)(Tr,{item:!0,md:12,lg:12,sm:12,xs:12,style:{margin:"50px",justifyContent:"center",alignItems:"center",textAlign:"center"},children:(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsxs)("a",{href:"https://coinmarketcap.com/currencies/ibiza-token/",target:"_blank",children:[" ",(0,o.jsx)("img",{src:rf})]})," ","\xa0 \xa0"," ",(0,o.jsxs)("a",{href:"https://www.coingecko.com/en/coins/ibiza-token",target:"_blank",children:[" ",(0,o.jsx)("img",{src:af})]})," "]})})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})};sl().init({duration:4500});var lf=function(){var e=zo().t;return(0,o.jsxs)("div",{className:" ",id:"roadmap",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsxs)("h1",{className:"roadmap_titles neon",children:[" ",e("Road_Head")]}),(0,o.jsx)("br",{}),(0,o.jsxs)("div",{className:"container",children:[(0,o.jsx)("br",{}),(0,o.jsxs)("div",{"data-aos":"fade-up","data-aos-duration":"1000",children:[(0,o.jsx)("p",{className:"utilityhead_under",children:e("Road_Para_one")}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{className:"utilityhead_under",children:e("Road_Para_two")}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{className:"utilityhead_under",children:e("Road_Para_three")})]})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{class:" container timeline",children:(0,o.jsxs)("ul",{children:[(0,o.jsxs)("li",{children:[(0,o.jsx)("span",{children:"1"}),(0,o.jsx)("div",{class:"content",children:(0,o.jsx)("p",{children:e("Road_map_One")})})]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("span",{children:"2"}),(0,o.jsx)("div",{class:"content",children:(0,o.jsx)("p",{children:e("Road_map_Two")})})]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("span",{children:"3"}),(0,o.jsx)("div",{class:"content",children:(0,o.jsx)("p",{children:e("Road_map_Three")})})]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("span",{children:"4"}),(0,o.jsx)("div",{class:"content",children:(0,o.jsx)("p",{children:e("Road_map_Four")})})]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("span",{children:"5"}),(0,o.jsx)("div",{class:"content",children:(0,o.jsx)("p",{children:e("Road_map_Five")})})]})," ",(0,o.jsxs)("li",{children:[(0,o.jsx)("span",{children:"6"}),(0,o.jsx)("div",{class:"content",children:(0,o.jsx)("p",{children:e("Road_map_Six")})})]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("span",{children:"7"}),(0,o.jsx)("div",{class:"content",children:(0,o.jsx)("p",{children:e("Road_map_Seven")})})]})]})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})},uf=function(){qt();var e=Vt((function(e){return e.breakpoints.down("lg")})),n=(0,t.useState)("0%"),r=(0,a.Z)(n,2),i=r[0],s=r[1],l=function(){var e=document.documentElement.scrollTop,t=document.documentElement.scrollHeight-document.documentElement.clientHeight,n="".concat(e/t*100,"%");s(n)};(0,t.useEffect)((function(){return window.addEventListener("scroll",l),function(){return window.removeEventListener("scroll",l)}}));
2var u={height:"5px",background:"#e91e63",width:i};return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"progress-container",style:{background:"#f8bbd0",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.3)",height:"5px",position:"fixed",top:0,left:0,width:"100vw",zIndex:99},children:(0,o.jsx)("div",{className:"progress-bar",style:u})}),!e&&(0,o.jsxs)("div",{children:[(0,o.jsx)(ll,{}),(0,o.jsx)(cl,{}),(0,o.jsx)(ml,{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)(_l,{}),(0,o.jsx)(ed,{}),(0,o.jsx)(Yd,{}),(0,o.jsx)("div",{className:"addwaves_bg",children:(0,o.jsx)(lf,{})}),(0,o.jsx)("div",{className:"subs_bg",children:(0,o.jsx)(of,{})}),(0,o.jsx)(tf,{}),(0,o.jsx)(Yt(),{innerSize:10,outerSize:35,color:"0, 255 ,255",outerAlpha:.4,innerScale:.1,outerScale:2})]}),e&&(0,o.jsxs)("div",{children:[(0,o.jsx)(ul,{}),(0,o.jsx)(cl,{}),(0,o.jsx)(gl,{}),(0,o.jsx)(_l,{}),(0,o.jsx)(ed,{}),(0,o.jsx)(Yd,{}),(0,o.jsx)(lf,{}),(0,o.jsxs)("div",{className:"subs_bg",children:[" ",(0,o.jsx)(sf,{})]}),(0,o.jsx)(nf,{})]})]})};n(4569);var cf=function(e){(function(){var e=t.useContext(pt).matches,n=e[e.length-1];return n?n.params:{}})().slug;var n=gt();console.log(n.state);var r=n.state;return(0,o.jsxs)("div",{id:"cards_landscape_wrap-2",children:[(0,o.jsx)("h1",{className:"text-center",children:"Blog Detail Page"}),(0,o.jsxs)("div",{className:"mt-5 container",children:[(0,o.jsx)("strong",{className:"",children:"Title"}),(0,o.jsx)("p",{children:r.title}),(0,o.jsx)("p",{children:r.brief}),(0,o.jsx)("img",{width:"1060",src:r.coverImage,alt:""})]})]})},df=n(4165),ff=n(5861),hf=n(6248),pf=n(6189),vf=n(7563),mf=n(7979),gf=n(3981),yf=n(5721),bf=["onChange","maxRows","minRows","style","value"];function xf(e){return parseInt(e,10)||0}var wf={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Sf(e){return void 0===e||null===e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}var _f=t.forwardRef((function(e,n){var r=e.onChange,i=e.maxRows,s=e.minRows,l=void 0===s?1:s,u=e.style,c=e.value,d=(0,Kt.Z)(e,bf),f=t.useRef(null!=c).current,h=t.useRef(null),p=(0,vf.Z)(n,h),v=t.useRef(null),m=t.useRef(0),g=t.useState({outerHeightStyle:0}),y=(0,a.Z)(g,2),b=y[0],x=y[1],w=t.useCallback((function(){var t=h.current,n=(0,mf.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};var r=v.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var a=n.boxSizing,o=xf(n.paddingBottom)+xf(n.paddingTop),s=xf(n.borderBottomWidth)+xf(n.borderTopWidth),u=r.scrollHeight;r.value="x";var c=r.scrollHeight,d=u;return l&&(d=Math.max(Number(l)*c,d)),i&&(d=Math.min(Number(i)*c,d)),{outerHeightStyle:(d=Math.max(d,c))+("border-box"===a?o+s:0),overflow:Math.abs(d-u)<=1}}),[i,l,e.placeholder]),S=function(e,t){var n=t.outerHeightStyle,r=t.overflow;return m.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(m.current+=1,{overflow:r,outerHeightStyle:n}):e},_=t.useCallback((function(){var e=w();Sf(e)||x((function(t){return S(t,e)}))}),[w]);t.useEffect((function(){var e,t=(0,gf.Z)((function(){m.current=0,h.current&&function(){var e=w();Sf(e)||El.flushSync((function(){x((function(t){return S(t,e)}))}))}()})),n=h.current,r=(0,mf.Z)(n);return r.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(n),function(){t.clear(),r.removeEventListener("resize",t),e&&e.disconnect()}})),(0,yf.Z)((function(){_()})),t.useEffect((function(){m.current=0}),[c]);return(0,o.jsxs)(t.Fragment,{children:[(0,o.jsx)("textarea",(0,Qt.Z)({value:c,onChange:function(e){m.current=0,f||_(),r&&r(e)},ref:p,rows:l,style:(0,Qt.Z)({height:b.outerHeightStyle,overflow:b.overflow?"hidden":void 0},u)},d)),(0,o.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:v,tabIndex:-1,style:(0,Qt.Z)({},wf,u,{padding:0})})]})})),kf=_f;function Mf(e){return"string"===typeof e}function Ef(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}function Tf(e){var t=e.styles,n=e.defaultTheme,r=void 0===n?{}:n,i="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,o.jsx)(kn,{styles:i})}var Cf=function(e){var t=e.styles,n=e.themeId,r=e.defaultTheme,i=void 0===r?{}:r,a=(0,Ht.Z)(i),s="function"===typeof t?t(n&&a[n]||a):t;return(0,o.jsx)(Tf,{styles:s})};var Af=function(e){return(0,o.jsx)(Cf,(0,Qt.Z)({},e,{defaultTheme:Wt.Z,themeId:Gt.Z}))};function Pf(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Rf(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(Pf(e.value)&&""!==e.value||t&&Pf(e.defaultValue)&&""!==e.defaultValue)}function Of(e){return(0,Gn.Z)("MuiInputBase",e)}var Lf=(0,Cn.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Zf=["aria-describedby","autoComplete","autoF
2ocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Nf=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,er.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},If=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},jf=(0,rn.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Nf})((function(e){var t=e.theme,n=e.ownerState;return(0,Qt.Z)({},t.typography.body1,(0,Jt.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(Lf.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,Qt.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),Df=(0,rn.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:If})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode,a=(0,Qt.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),o={opacity:"0 !important"},s=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5};return(0,Qt.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,Jt.Z)(t,"label[data-shrink=false] + .".concat(Lf.formControl," &"),{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus:-ms-input-placeholder":s,"&:focus::-ms-input-placeholder":s}),(0,Jt.Z)(t,"&.".concat(Lf.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,Jt.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),zf=(0,o.jsx)(Af,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Uf=t.forwardRef((function(e,n){var r,i=(0,an.Z)({props:e,name:"MuiInputBase"}),s=i["aria-describedby"],l=i.autoComplete,u=i.autoFocus,c=i.className,d=i.components,f=void 0===d?{}:d,h=i.componentsProps,p=void 0===h?{}:h,v=i.defaultValue,m=i.disabled,g=i.disableInjectingGlobalStyles,y=i.endAdornment,b=i.fullWidth,x=void 0!==b&&b,w=i.id,S=i.inputComponent,_=void 0===S?"input":S,k=i.inputProps,M=void 0===k?{}:k,E=i.inputRef,T=i.maxRows,C=i.minRows,A=i.multiline,P=void 0!==A&&A,R=i.name,O=i.onBlur,L=i.onChange,Z=i.onClick,N=i.onFocus,I=i.onKeyDown,j=i.onKeyUp,D=i.placeholder,z=i.readOnly,U=i.renderSuffix,F=i.rows,B=i.slotProps,V=void 0===B?{}:B,H=i.slots,W=void 0===H?{}:H,G=i.startAdornment,q=i.type,X=void 0===q?"text":q,Y=i.value,J=(0,Kt.Z)(i,Zf),K=null!=M.value?M.value:Y,Q=t.useRef(null!=K).current,$=t.useRef(),ee=t.useCallback((function(e){0}),[]),te=(0,on.Z)($,E,M.ref,ee),ne=t.useState(!1),re=(0,a.Z)(ne,2),ie=re[0],ae=re[1],oe=to();var se=Ef({props:i,muiFormControl:oe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});se.focused=oe?oe.focused:ie,t.useEffect((function(){!oe&&m&&ie&&(ae(!1),O&&O())}),[oe,m,ie,O]);var le=oe&&oe.onFilled,ue=oe&&oe.onEmpty,ce=t.useCallback((function(e){Rf(e)?le&&le():ue&&ue()}),[le,ue]);(0,zt.Z)((function(){Q&&ce({value:K})}),[K,ce,Q]);t.useEffect((function(){ce($.current)}),[]);var de=_,fe=M;P&&"input"===de&&(fe=F?(0,Qt.Z)({type:void 0,minRows:F,maxRows:F},fe):(0,Qt.Z)({type:void 0,maxRows:T,minRows:C},fe),de=kf);t.useEffect((function(){oe&&oe.setAdornedStart(Boolean(G))}),[oe,G]);var he=(0,Qt.Z)({},i,{color:se.color||"primary",disabled:se.disabled,endAdornment:y,error:se.error,focused:se.focused,formControl:oe,fullWidth:x,hiddenLabel:se.hiddenLabel,multiline:P,size:se.size,startAdornment:G,type:X}),pe=function(e){var t=e.classes,n=e.color,r=e.disabled,i=e.error,a=e.endAdornment,o=e.focused,s=e.formControl,l=e.fullWidth,u=e.hiddenLabel,c=e.multiline,d=e.readOnly,f=e.size,h=e.startAdornment,p=e.type,v={root:["root","color".concat((0,er.Z)(n)),r&&"disabled",i&&"error",l&&"fullWidth",o&&"focu
2sed",s&&"formControl","small"===f&&"sizeSmall",c&&"multiline",h&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===p&&"inputTypeSearch",c&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]};return(0,tn.Z)(v,Of,t)}(he),ve=W.root||f.Root||jf,me=V.root||p.root||{},ge=W.input||f.Input||Df;return fe=(0,Qt.Z)({},fe,null!=(r=V.input)?r:p.input),(0,o.jsxs)(t.Fragment,{children:[!g&&zf,(0,o.jsxs)(ve,(0,Qt.Z)({},me,!Mf(ve)&&{ownerState:(0,Qt.Z)({},he,me.ownerState)},{ref:n,onClick:function(e){$.current&&e.currentTarget===e.target&&$.current.focus(),Z&&!se.disabled&&Z(e)}},J,{className:(0,$t.Z)(pe.root,me.className,c,z&&"MuiInputBase-readOnly"),children:[G,(0,o.jsx)(eo.Provider,{value:null,children:(0,o.jsx)(ge,(0,Qt.Z)({ownerState:he,"aria-invalid":se.error,"aria-describedby":s,autoComplete:l,autoFocus:u,defaultValue:v,disabled:se.disabled,id:w,onAnimationStart:function(e){ce("mui-auto-fill-cancel"===e.animationName?$.current:{value:"x"})},name:R,placeholder:D,readOnly:z,required:se.required,rows:F,value:K,onKeyDown:I,onKeyUp:j,type:X},fe,!Mf(ge)&&{as:de,ownerState:(0,Qt.Z)({},he,fe.ownerState)},{ref:te,className:(0,$t.Z)(pe.input,fe.className,z&&"MuiInputBase-readOnly"),onBlur:function(e){O&&O(e),M.onBlur&&M.onBlur(e),oe&&oe.onBlur?oe.onBlur(e):ae(!1)},onChange:function(e){if(!Q){var t=e.target||$.current;if(null==t)throw new Error((0,pf.Z)(1));ce({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];M.onChange&&M.onChange.apply(M,[e].concat(r)),L&&L.apply(void 0,[e].concat(r))},onFocus:function(e){se.disabled?e.stopPropagation():(N&&N(e),M.onFocus&&M.onFocus(e),oe&&oe.onFocus?oe.onFocus(e):ae(!0))}}))}),y,U?U((0,Qt.Z)({},se,{startAdornment:G})):null]}))]})})),Ff=Uf;function Bf(e){return(0,Gn.Z)("MuiInput",e)}var Vf=(0,Qt.Z)({},Lf,(0,Cn.Z)("MuiInput",["root","underline","input"])),Hf=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Wf=(0,rn.ZP)(jf,{shouldForwardProp:function(e){return(0,rn.FO)(e)||"classes"===e},name:"MuiInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,ye.Z)(Nf(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return n.vars&&(i="rgba(".concat(n.vars.palette.common.onBackgroundChannel," / ").concat(n.vars.opacity.inputUnderline,")")),(0,Qt.Z)({position:"relative"},r.formControl&&{"label + &":{marginTop:16}},!r.disableUnderline&&(t={"&:after":{borderBottom:"2px solid ".concat((n.vars||n).palette[r.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:n.transitions.create("transform",{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut}),pointerEvents:"none"}},(0,Jt.Z)(t,"&.".concat(Vf.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,Jt.Z)(t,"&.".concat(Vf.error),{"&:before, &:after":{borderBottomColor:(n.vars||n).palette.error.main}}),(0,Jt.Z)(t,"&:before",{borderBottom:"1px solid ".concat(i),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:n.transitions.create("border-bottom-color",{duration:n.transitions.duration.shorter}),pointerEvents:"none"}),(0,Jt.Z)(t,"&:hover:not(.".concat(Vf.disabled,", .").concat(Vf.error,"):before"),{borderBottom:"2px solid ".concat((n.vars||n).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(i)}}),(0,Jt.Z)(t,"&.".concat(Vf.disabled,":before"),{borderBottomStyle:"dotted"}),t))})),Gf=(0,rn.ZP)(Df,{name:"MuiInput",slot:"Input",overridesResolver:If})({}),qf=t.forwardRef((function(e,t){var n,r,i,a,s=(0,an.Z)({props:e,name:"MuiInput"}),l=s.disableUnderline,u=s.components,c=void 0===u?{}:u,d=s.componentsProps,f=s.fullWidth,h=void 0!==f&&f,p=s.inputComponent,v=void 0===p?"input":p,m=s.multiline,g=void 0!==m&&m,y=s.slotProps,b=s.slots,x=void 0===b?{}:b,w=s.type,S=void 0===w?"text":w,_=(0,Kt.Z)(s,Hf),k=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,tn.Z)(n,Bf,t);return(0,Qt.Z)({},t,r)}(s),M={root:{ownerState:{disableUnderline:l}}},E=(null!=y?y:d)?(0,fr.Z)(null!=y?y:d,M):M,T=null!=(n=null!=(r=x.root)?r:c.Root)?n:Wf,C=null!=(i=null!=(a=x.input)?a:c.Input)?i:Gf;return(0,o.jsx)(Ff,(0,Qt.Z)({slots:{root:T,input:C},slotProps:E,fullWidth:h,inputComponent:v,multiline:g,ref:t,type:S},_,{classes:k}))}));qf.muiName="Input";var Xf=qf;function Yf(e){return(0,Gn.Z)("MuiFilledInput",e)}var Jf=(0,Qt.Z)({},Lf,(0,Cn.Z)("MuiFilledInput",["root","underline","input"])),Kf=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","
2slots","type"],Qf=(0,rn.ZP)(jf,{shouldForwardProp:function(e){return(0,rn.FO)(e)||"classes"===e},name:"MuiFilledInput",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[].concat((0,ye.Z)(Nf(e,t)),[!n.disableUnderline&&t.underline])}})((function(e){var t,n,r,i=e.theme,a=e.ownerState,o="light"===i.palette.mode,s=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",l=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",u=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",c=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,Qt.Z)((t={position:"relative",backgroundColor:i.vars?i.vars.palette.FilledInput.bg:l,borderTopLeftRadius:(i.vars||i).shape.borderRadius,borderTopRightRadius:(i.vars||i).shape.borderRadius,transition:i.transitions.create("background-color",{duration:i.transitions.duration.shorter,easing:i.transitions.easing.easeOut}),"&:hover":{backgroundColor:i.vars?i.vars.palette.FilledInput.hoverBg:u,"@media (hover: none)":{backgroundColor:i.vars?i.vars.palette.FilledInput.bg:l}}},(0,Jt.Z)(t,"&.".concat(Jf.focused),{backgroundColor:i.vars?i.vars.palette.FilledInput.bg:l}),(0,Jt.Z)(t,"&.".concat(Jf.disabled),{backgroundColor:i.vars?i.vars.palette.FilledInput.disabledBg:c}),t),!a.disableUnderline&&(n={"&:after":{borderBottom:"2px solid ".concat(null==(r=(i.vars||i).palette[a.color||"primary"])?void 0:r.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:i.transitions.create("transform",{duration:i.transitions.duration.shorter,easing:i.transitions.easing.easeOut}),pointerEvents:"none"}},(0,Jt.Z)(n,"&.".concat(Jf.focused,":after"),{transform:"scaleX(1) translateX(0)"}),(0,Jt.Z)(n,"&.".concat(Jf.error),{"&:before, &:after":{borderBottomColor:(i.vars||i).palette.error.main}}),(0,Jt.Z)(n,"&:before",{borderBottom:"1px solid ".concat(i.vars?"rgba(".concat(i.vars.palette.common.onBackgroundChannel," / ").concat(i.vars.opacity.inputUnderline,")"):s),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:i.transitions.create("border-bottom-color",{duration:i.transitions.duration.shorter}),pointerEvents:"none"}),(0,Jt.Z)(n,"&:hover:not(.".concat(Jf.disabled,", .").concat(Jf.error,"):before"),{borderBottom:"1px solid ".concat((i.vars||i).palette.text.primary)}),(0,Jt.Z)(n,"&.".concat(Jf.disabled,":before"),{borderBottomStyle:"dotted"}),n),a.startAdornment&&{paddingLeft:12},a.endAdornment&&{paddingRight:12},a.multiline&&(0,Qt.Z)({padding:"25px 12px 8px"},"small"===a.size&&{paddingTop:21,paddingBottom:4},a.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),$f=(0,rn.ZP)(Df,{name:"MuiFilledInput",slot:"Input",overridesResolver:If})((function(e){var t=e.theme,n=e.ownerState;return(0,Qt.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&(0,Jt.Z)({"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9})})),eh=t.forwardRef((function(e,t){var n,r,i,a,s=(0,an.Z)({props:e,name:"MuiFilledInput"}),l=s.components,u=void 0===l?{}:l,c=s.componentsProps,d=s.fullWidth,f=void 0!==d&&d,h=s.inputComponent,p=void 0===h?"input":h,v=s.multiline,m=void 0!==v&&v,g=s.slotProps,y=s.slots,b=void 0===y?{}:y,x=s.type,w=void 0===x?"text":x,S=(0,Kt.Z)(s,Kf),_=(0,Qt.Z)({},s,{fullWidth:f,inputComponent:p,multiline:m,type:w}),k=function(e){var t=e.classes,n={root:["root",!e.disableUnderline&&"underline"],input:["input"]},r=(0,tn.Z)(n,Yf,t);return(0,Qt.Z)({},t,r)}(s),M={root:{ownerState:_},input:{ownerState:_}},E=(null!=g?g:c)?(0,fr.Z)(null!=g?g:c,M):M,T=null!=(n=null!=(r=b.root)?r:u.Root)?n:Qf,C=null!=(i=null!=(a=b.input)?a:u.Input)?i:$f;return(0,o.jsx)(Ff,(0,Qt.Z)({slots:{root:T,input:C}
2,componentsProps:E,fullWidth:f,inputComponent:p,multiline:m,ref:t,type:w},S,{classes:k}))}));eh.muiName="Input";var th,nh=eh,rh=["children","classes","className","label","notched"],ih=(0,rn.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),ah=(0,rn.ZP)("legend")((function(e){var t=e.ownerState,n=e.theme;return(0,Qt.Z)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,Qt.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));function oh(e){return(0,Gn.Z)("MuiOutlinedInput",e)}var sh=(0,Qt.Z)({},Lf,(0,Cn.Z)("MuiOutlinedInput",["root","notchedOutline","input"])),lh=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],uh=(0,rn.ZP)(jf,{shouldForwardProp:function(e){return(0,rn.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:Nf})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,Qt.Z)((t={position:"relative",borderRadius:(n.vars||n).shape.borderRadius},(0,Jt.Z)(t,"&:hover .".concat(sh.notchedOutline),{borderColor:(n.vars||n).palette.text.primary}),(0,Jt.Z)(t,"@media (hover: none)",(0,Jt.Z)({},"&:hover .".concat(sh.notchedOutline),{borderColor:n.vars?"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.23)"):i})),(0,Jt.Z)(t,"&.".concat(sh.focused," .").concat(sh.notchedOutline),{borderColor:(n.vars||n).palette[r.color].main,borderWidth:2}),(0,Jt.Z)(t,"&.".concat(sh.error," .").concat(sh.notchedOutline),{borderColor:(n.vars||n).palette.error.main}),(0,Jt.Z)(t,"&.".concat(sh.disabled," .").concat(sh.notchedOutline),{borderColor:(n.vars||n).palette.action.disabled}),t),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,Qt.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),ch=(0,rn.ZP)((function(e){var t=e.className,n=e.label,r=e.notched,i=(0,Kt.Z)(e,rh),a=null!=n&&""!==n,s=(0,Qt.Z)({},e,{notched:r,withLabel:a});return(0,o.jsx)(ih,(0,Qt.Z)({"aria-hidden":!0,className:t,ownerState:s},i,{children:(0,o.jsx)(ah,{ownerState:s,children:a?(0,o.jsx)("span",{children:n}):th||(th=(0,o.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){var t=e.theme,n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),dh=(0,rn.ZP)(Df,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:If})((function(e){var t=e.theme,n=e.ownerState;return(0,Qt.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&(0,Jt.Z)({"&:-webkit-autofill":{borderRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),fh=t.forwardRef((function(e,n){var r,i,a,s,l,u=(0,an.Z)({props:e,name:"MuiOutlinedInput"}),c=u.components,d=void 0===c?{}:c,f=u.fullWidth,h=void 0!==f&&f,p=u.inputComponent,v=void 0===p?"input":p,m=u.label,g=u.multiline,y=void 0!==g&&g,b=u.notched,x=u.slots,w=void 0===x?{}:x,S=u.type,_=void 0===S?"text":S,k=(0,Kt.Z)(u,lh),M=function(e){var t=e.classes,n=(0,tn.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},oh,t);return(0,Qt.Z)({},t,n)}(u),E=to(),T=Ef({props:u,muiFormControl:E,states:["required"]}),C=(0,Qt.Z)({},u,{color:T.color||"primary",disabled:T.disabled,error:T.error,focused:T.focused,formControl:E,fullWidth:h,hiddenLabel:T.hiddenLabel,multiline:y,size:T.size,type:_}),A=null!=(r=null!=(i=w.root)?i:d.Root)?r:uh,P=null!=(a=null!=(s=w.input)?s:d.Input)?a:dh;return(0,o.jsx)(Ff,(0,Qt.Z)({slots:{root:A,input:P},renderSuffix:function(e){return(0,o.jsx)(ch,{ownerState:C,className:M.notchedOutline,label:null!=m&&""!==m&&T.required?l||(l=(0,o.jsxs)(t.Fragment,{children:[m,"\u2009","*"]})):m,notched:"undefined"!==typeof b?b:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:h,inputComponent:v,multiline:y,ref:n,type:_},k,{classes:(0,Qt.Z)({},M,{notchedOutline:null})}))}));fh.muiName="Input";var hh=fh;function ph(e){return(0,Gn.Z)("MuiFormLabel",e)}var vh=(0,Cn.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),mh=["children","className","color","component","disabled","error","filled","focused","required"],gh=(0,rn.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,Qt.Z)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Qt.Z)({color:(n.vars||n).palette.text.secondary},n.typography.body1,(t={lineHeight:"1.4375em",padding:0,position:"relative"},(0,Jt.Z)(t,"&.".concat(vh.focused),{color:(n.vars||n).palette[r.color].main}),(0,Jt.Z)(t,"&.".concat(vh.disabled),{color:(n.vars||n).palette.text.disabled}),(0,Jt.Z)(t,"&.".concat(vh.error),{color:(n.vars||n).palette.error.main}),t))})),yh=(0,rn.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,Jt.Z)({},"&.".concat(vh.error),{color:(t.vars||t).palette.error.main})})),bh=t.forwardRef((function(e,t){var n=(0,an.Z)({props:e,name:"MuiFormLabel"}),r=n.children,i=n.className,a=n.component,s=void 0===a?"label":a,l=(0,Kt.Z)(n,mh),u=Ef({props:n,muiFormControl:to(),states:["color","required","focused","disabled","error","filled"]}),c=(0,Qt.Z)({},n,{color:u.color||"primary",component:s,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),d=function(e){var t=e.classes,n=e.color,r=e.focused,i=e.disabled,a=e.error,o=e.filled,s=e.required,l={root:["root","color".concat((0,er.Z)(n)),i&&"disabled",a&&"error",o&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]};return(0,tn.Z)(l,ph,t)}(c);return(0,o.jsxs)(gh,(0,Qt.Z)({as:s,ownerState:c,className:(0,$t.Z)(d.root,i),ref:t},l,{children:[r,u.required&&(0,o.jsxs)(yh,{ownerState:c,"aria-hidden":!0,
2className:d.asterisk,children:["\u2009","*"]})]}))})),xh=bh;function wh(e){return(0,Gn.Z)("MuiInputLabel",e)}(0,Cn.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var Sh=["disableAnimation","margin","shrink","variant","className"],_h=(0,rn.ZP)(xh,{shouldForwardProp:function(e){return(0,rn.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,Jt.Z)({},"& .".concat(vh.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Qt.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,Qt.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,Qt.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,Qt.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))})),kh=t.forwardRef((function(e,t){var n=(0,an.Z)({name:"MuiInputLabel",props:e}),r=n.disableAnimation,i=void 0!==r&&r,a=n.shrink,s=n.className,l=(0,Kt.Z)(n,Sh),u=to(),c=a;"undefined"===typeof c&&u&&(c=u.filled||u.focused||u.adornedStart);var d=Ef({props:n,muiFormControl:u,states:["size","variant","required"]}),f=(0,Qt.Z)({},n,{disableAnimation:i,formControl:u,shrink:c,size:d.size,variant:d.variant,required:d.required}),h=function(e){var t=e.classes,n=e.formControl,r=e.size,i=e.shrink,a={root:["root",n&&"formControl",!e.disableAnimation&&"animated",i&&"shrink","small"===r&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},o=(0,tn.Z)(a,wh,t);return(0,Qt.Z)({},t,o)}(f);return(0,o.jsx)(_h,(0,Qt.Z)({"data-shrink":c,ownerState:f,ref:t,className:(0,$t.Z)(h.root,s)},l,{classes:h}))})),Mh=kh,Eh=n(9103);function Th(e){return(0,Gn.Z)("MuiFormControl",e)}(0,Cn.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var Ch=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],Ah=(0,rn.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,Qt.Z)({},t.root,t["margin".concat((0,er.Z)(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return(0,Qt.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),Ph=t.forwardRef((function(e,n){var r=(0,an.Z)({props:e,name:"MuiFormControl"}),i=r.children,s=r.className,l=r.color,u=void 0===l?"primary":l,c=r.component,d=void 0===c?"div":c,f=r.disabled,h=void 0!==f&&f,p=r.error,v=void 0!==p&&p,m=r.focused,g=r.fullWidth,y=void 0!==g&&g,b=r.hiddenLabel,x=void 0!==b&&b,w=r.margin,S=void 0===w?"none":w,_=r.required,k=void 0!==_&&_,M=r.size,E=void 0===M?"medium":M,T=r.variant,C=void 0===T?"outlined":T,A=(0,Kt.Z)(r,Ch),P=(0,Qt.Z)({},r,{color:u,component:d,disabled:h,error:v,fullWidth:y,hiddenLabel:x,margin:S,required:k,size:E,variant:C}),R=function(e){var t=e.classes,n=e.margin,r=e.fullWidth,i={root:["root","none"!==n&&"margin".concat((0,er.Z)(n)),r&&"fullWidth"]};return(0,tn.Z)(i,Th,t)}(P),O=t.useState((function(){var e=!1;
2return i&&t.Children.forEach(i,(function(t){if((0,Eh.Z)(t,["Input","Select"])){var n=(0,Eh.Z)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),L=(0,a.Z)(O,2),Z=L[0],N=L[1],I=t.useState((function(){var e=!1;return i&&t.Children.forEach(i,(function(t){(0,Eh.Z)(t,["Input","Select"])&&(Rf(t.props,!0)||Rf(t.props.inputProps,!0))&&(e=!0)})),e})),j=(0,a.Z)(I,2),D=j[0],z=j[1],U=t.useState(!1),F=(0,a.Z)(U,2),B=F[0],V=F[1];h&&B&&V(!1);var H,W=void 0===m||h?B:m,G=t.useMemo((function(){return{adornedStart:Z,setAdornedStart:N,color:u,disabled:h,error:v,filled:D,focused:W,fullWidth:y,hiddenLabel:x,size:E,onBlur:function(){V(!1)},onEmpty:function(){z(!1)},onFilled:function(){z(!0)},onFocus:function(){V(!0)},registerEffect:H,required:k,variant:C}}),[Z,u,h,v,D,W,y,x,H,k,E,C]);return(0,o.jsx)(eo.Provider,{value:G,children:(0,o.jsx)(Ah,(0,Qt.Z)({as:d,ownerState:P,className:(0,$t.Z)(R.root,s),ref:n},A,{children:i}))})})),Rh=Ph;function Oh(e){return(0,Gn.Z)("MuiFormHelperText",e)}var Lh,Zh=(0,Cn.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Nh=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Ih=(0,rn.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.size&&t["size".concat((0,er.Z)(n.size))],n.contained&&t.contained,n.filled&&t.filled]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,Qt.Z)({color:(n.vars||n).palette.text.secondary},n.typography.caption,(t={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},(0,Jt.Z)(t,"&.".concat(Zh.disabled),{color:(n.vars||n).palette.text.disabled}),(0,Jt.Z)(t,"&.".concat(Zh.error),{color:(n.vars||n).palette.error.main}),t),"small"===r.size&&{marginTop:4},r.contained&&{marginLeft:14,marginRight:14})})),jh=t.forwardRef((function(e,t){var n=(0,an.Z)({props:e,name:"MuiFormHelperText"}),r=n.children,i=n.className,a=n.component,s=void 0===a?"p":a,l=(0,Kt.Z)(n,Nh),u=Ef({props:n,muiFormControl:to(),states:["variant","size","disabled","error","filled","focused","required"]}),c=(0,Qt.Z)({},n,{component:s,contained:"filled"===u.variant||"outlined"===u.variant,variant:u.variant,size:u.size,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),d=function(e){var t=e.classes,n=e.contained,r=e.size,i=e.disabled,a=e.error,o=e.filled,s=e.focused,l=e.required,u={root:["root",i&&"disabled",a&&"error",r&&"size".concat((0,er.Z)(r)),n&&"contained",s&&"focused",o&&"filled",l&&"required"]};return(0,tn.Z)(u,Oh,t)}(c);return(0,o.jsx)(Ih,(0,Qt.Z)({as:s,ownerState:c,className:(0,$t.Z)(d.root,i),ref:t},l,{children:" "===r?Lh||(Lh=(0,o.jsx)("span",{className:"notranslate",children:"\u200b"})):r}))})),Dh=jh,zh=n(8301);var Uh=t.createContext({});function Fh(e){return(0,Gn.Z)("MuiList",e)}(0,Cn.Z)("MuiList",["root","padding","dense","subheader"]);var Bh=["children","className","component","dense","disablePadding","subheader"],Vh=(0,rn.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,Qt.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),Hh=t.forwardRef((function(e,n){var r=(0,an.Z)({props:e,name:"MuiList"}),i=r.children,a=r.className,s=r.component,l=void 0===s?"ul":s,u=r.dense,c=void 0!==u&&u,d=r.disablePadding,f=void 0!==d&&d,h=r.subheader,p=(0,Kt.Z)(r,Bh),v=t.useMemo((function(){return{dense:c}}),[c]),m=(0,Qt.Z)({},r,{component:l,dense:c,disablePadding:f}),g=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,tn.Z)(n,Fh,t)}(m);return(0,o.jsx)(Uh.Provider,{value:v,children:(0,o.jsxs)(Vh,(0,Qt.Z)({as:l,className:(0,$t.Z)(g.root,a),ref:n,ownerState:m},p,{children:[h,i]}))})})),Wh=Hh;function Gh(e){var t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var qh=Gh,Xh=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Yh(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}
vendor: 12,184 bytes, line 2
2function Jh(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Kh(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Qh(e,t,n,r,i,a){for(var o=!1,s=i(e,t,!!t&&n);s;){if(s===e.firstChild){if(o)return!1;o=!0}var l=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Kh(s,a)&&!l)return s.focus(),!0;s=i(e,s,n)}return!1}var $h=t.forwardRef((function(e,n){var r=e.actions,i=e.autoFocus,a=void 0!==i&&i,s=e.autoFocusItem,l=void 0!==s&&s,u=e.children,c=e.className,d=e.disabledItemsFocusable,f=void 0!==d&&d,h=e.disableListWrap,p=void 0!==h&&h,v=e.onKeyDown,m=e.variant,g=void 0===m?"selectedMenu":m,y=(0,Kt.Z)(e,Xh),b=t.useRef(null),x=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,zt.Z)((function(){a&&b.current.focus()}),[a]),t.useImperativeHandle(r,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!b.current.style.width;if(e.clientHeight<b.current.clientHeight&&n){var r="".concat(qh((0,zh.Z)(e)),"px");b.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,b.current.style.width="calc(100% + ".concat(r,")")}return b.current}}}),[]);var w=(0,on.Z)(b,n),S=-1;t.Children.forEach(u,(function(e,n){t.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===S)&&(S=n),S===n&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(S+=1)>=u.length&&(S=-1))}));var _=t.Children.map(u,(function(e,n){if(n===S){var r={};return l&&(r.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===g&&(r.tabIndex=0),t.cloneElement(e,r)}return e}));return(0,o.jsx)(Wh,(0,Qt.Z)({role:"menu",ref:w,className:c,onKeyDown:function(e){var t=b.current,n=e.key,r=(0,zh.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Qh(t,r,p,f,Yh);else if("ArrowUp"===n)e.preventDefault(),Qh(t,r,p,f,Jh);else if("Home"===n)e.preventDefault(),Qh(t,null,p,f,Yh);else if("End"===n)e.preventDefault(),Qh(t,null,p,f,Jh);else if(1===n.length){var i=x.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);var s=r&&!i.repeating&&Kh(r,i);i.previousKeyMatched&&(s||Qh(t,r,!1,f,Yh,i))?e.preventDefault():i.previousKeyMatched=!1}v&&v(e)},tabIndex:a?0:-1},y,{children:_}))})),ep=$h,tp=n(3199),np=n(7602),rp=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ip(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var ap={entering:{opacity:1,transform:ip(1)},entered:{opacity:1,transform:"none"}},op="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),sp=t.forwardRef((function(e,n){var r=e.addEndListener,i=e.appear,a=void 0===i||i,s=e.children,l=e.easing,u=e.in,c=e.onEnter,d=e.onEntered,f=e.onEntering,h=e.onExit,p=e.onExited,v=e.onExiting,m=e.style,g=e.timeout,y=void 0===g?"auto":g,b=e.TransitionComponent,x=void 0===b?ud:b,w=(0,Kt.Z)(e,rp),S=t.useRef(),_=t.useRef(),k=qt(),M=t.useRef(null),E=(0,on.Z)(M,s.ref,n),T=function(e){return function(t){if(e){var n=M.current;void 0===t?e(n):e(n,t)}}},C=T(f),A=T((function(e,t){dd(e);var n,r=fd({style:m,timeout:y,easing:l},{mode:"enter"}),i=r.duration,a=r.delay,o=r.easing;"auto"===y?(n=k.transitions.getAutoHeightDuration(e.clientHeight),_.current=n):n=i,e.style.transition=[k.transitions.create("opacity",{duration:n,delay:a}),k.transitions.create("transform",{duration:op?n:.666*n,delay:a,easing:o})].join(","),c&&c(e,t)})),P=T(d),R=T(v),O=T((function(e){var t,n=fd({style:m,timeout:y,easing:l},{mode:"exit"}),r=n.duration,i=n.delay,a=n.easing;"auto"===y?(t=k.transitions.getAutoHeightDuration(e.clientHeight),_.current=t):t=r,e.style.transition=[k.transitions.create("opacity",{duration:t,delay:i}),k.transitions.create("transform",{duration:op?t:.666*t,delay:op?i:i||.333*t,easing:a})].join(","),e.style.opacity=0,e.style.transform=ip(.75),h&&h(e)})),L=T(p);return t.useEffect((function(){return function(){clearTimeout(S.current)}}),[]),(0,o.jsx)(x,(0,Qt.Z)({appear:a,in:u,nodeRef:M,onEnter:A,onEntered:P,onEntering:C,onExit:O,onExited:L,onExiting:R,addEndListener:function(e){"auto"===y&&(S.current=setTimeout(e,_.current||0)),r&&r(M.current,e)},timeout:"auto"===y?null:y},w,{children:function(e,n){return t.cloneElement(s,(0,Qt.Z)({style:(0,Qt.Z)({opacity:0,transform:ip(.75),visibility:"exited"!==e||u?void 0:"hidden"},ap[e],m,s.props.style),ref:E},n))}}))}));sp.muiSupportAuto=!0;var lp=sp,up=n(9723),cp=n(8956),dp=n(8949),fp=n(2971);var hp=t.forwardRef((function(e,n){var r=e.children,i=e.container,s=e.disablePortal,l=void 0!==s&&s,u=t.useState(null),c=(0,a.Z)(u,2),d=c[0],f=c[1],h=(0,vf.Z)(t.isValidElement(r)?r.ref:null,n);if((0,yf.Z)((function(){l||f(function(e){return"function"===typeof e?e():e}(i)||document.body)}),[i,l]),(0,yf.Z)((function(){if(d&&!l)return(0,fp.Z)(n,d),function(){(0,fp.Z)(n,null)}}),[n,d,l]),l){if(t.isValidElement(r)){var p={ref:h};return t.cloneElement(r,p)}return(0,o.jsx)(t.Fragment,{children:r})}return(0,o.jsx)(t.Fragment,{children:d?El.createPortal(r,d):d})}));var pp=hp;function vp(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function mp(e){return parseInt((0,mf.Z)(e).getComputedStyle(e).paddingRight,10)||0}function gp(e,t,n,r,i){var a=[t,n].concat((0,ye.Z)(r));[].forEach.call(e.children,(function(e){var t=-1===a.indexOf(e),n=!function(e){var t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&vp(e,i)}))}function yp(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function bp(e,t){var n=[],r=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,up.Z)(e);return t.body===e?(0,mf.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){var i=Gh((0,up.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(mp(r)+i,"px");var a=(0,up.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(a,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(mp(e)+i,"px")}))}var o;if(r.parentNode instanceof DocumentFragment)o=(0,up.Z)(r).body;else{var s=r.parentElement,l=(0,mf.Z)(r);o="HTML"===(null==s?void 0:s.nodeName)&&"scroll"===l.getComputedStyle(s).overflowY?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,r=e.property;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var xp=function(){function e(){(0,be.Z)(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return(0,xe.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&vp(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);gp(t,e.mount,e.modalRef,r,!0);var i=yp(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}},{key:"mount",value:function(e,t){var n=yp(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=bp(r,t))}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;var r=yp(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&vp(e.modalRef,t),gp(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{var a=i.modals[i.modals.length-1];a.modalRef&&vp(a.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),wp=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Sp(e){var t=[],n=[];return Array.from(e.querySelectorAll(wp)).forEach((function(e,r){var i=function(e){var t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==i&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===i?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function _p(){return!0}var kp=function(e){var n=e.children,r=e.disableAutoFocus,i=void 0!==r&&r,a=e.disableEnforceFocus,s=void 0!==a&&a,l=e.disableRestoreFocus,u=void 0!==l&&l,c=e.getTabbable,d=void 0===c?Sp:c,f=e.isEnabled,h=void 0===f?_p:f,p=e.open,v=t.useRef(!1),m=t.useRef(null),g=t.useRef(null),y=t.useRef(null),b=t.useRef(null),x=t.useRef(!1),w=t.useRef(null),S=(0,vf.Z)(n.ref,w),_=t.useRef(null);t.useEffect((function(){p&&w.current&&(x.current=!i)}),[i,p]),t.useEffect((function(){if(p&&w.current){var e=(0,up.Z)(w.current);return w.current.contains(e.activeElement)||(w.current.hasAttribute("tabIndex")||w.current.setAttribute("tabIndex","-1"),x.current&&w.current.focus()),function(){u||(y.current&&y.current.focus&&(v.current=!0,y.current.focus()),y.current=null)}}}),[p]),t.useEffect((function(){if(p&&w.current){var e=(0,up.Z)(w.current),t=function(t){var n=w.current;if(null!==n)if(e.hasFocus()&&!s&&h()&&!v.current){if(!n.contains(e.activeElement)){if(t&&b.current!==t.target||e.activeElement!==b.current)b.current=null;else if(null!==b.current)return;if(!x.current)return;var r=[];if(e.activeElement!==m.current&&e.activeElement!==g.current||(r=d(w.current)),r.length>0){var i,a,o=Boolean((null==(i=_.current)?void 0:i.shiftKey)&&"Tab"===(null==(a=_.current)?void 0:a.key)),l=r[0],u=r[r.length-1];"string"!==typeof l&&"string"!==typeof u&&(o?u.focus():l.focus())}else n.focus()}}else v.current=!1},n=function(t){_.current=t,!s&&h()&&"Tab"===t.key&&e.activeElement===w.current&&t.shiftKey&&(v.current=!0,g.current&&g.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);var r=setInterval((function(){e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return function(){clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}}),[i,s,u,h,p,d]);var k=function(e){null===y.current&&(y.current=e.relatedTarget),x.current=!0};return(0,o.jsxs)(t.Fragment,{children:[(0,o.jsx)("div",{tabIndex:p?0:-1,onFocus:k,ref:m,"data-testid":"sentinelStart"}),t.cloneElement(n,{ref:S,onFocus:function(e){null===y.current&&(y.current=e.relatedTarget),x.current=!0,b.current=e.target;var t=n.props.onFocus;t&&t(e)}}),(0,o.jsx)("div",{tabIndex:p?0:-1,onFocus:k,ref:g,"data-testid":"sentinelEnd"})]})};function Mp(e){return(0,Gn.Z)("MuiModal",e)}(0,Cn.Z)("MuiModal",["root","hidden","backdrop"]);function Ep(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"===typeof e[t])}
2)).forEach((function(n){t[n]=e[n]})),t}function Tp(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,i=e.externalForwardedProps,a=e.className;if(!t){var o=(0,$t.Z)(null==i?void 0:i.className,null==r?void 0:r.className,a,null==n?void 0:n.className),s=(0,Qt.Z)({},null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),l=(0,Qt.Z)({},n,i,r);return o.length>0&&(l.className=o),Object.keys(s).length>0&&(l.style=s),{props:l,internalRef:void 0}}var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}((0,Qt.Z)({},i,r)),c=Ep(r),d=Ep(i),f=t(u),h=(0,$t.Z)(null==f?void 0:f.className,null==n?void 0:n.className,a,null==i?void 0:i.className,null==r?void 0:r.className),p=(0,Qt.Z)({},null==f?void 0:f.style,null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),v=(0,Qt.Z)({},f,n,d,c);return h.length>0&&(v.className=h),Object.keys(p).length>0&&(v.style=p),{props:v,internalRef:f.ref}}function Cp(e,t){return"function"===typeof e?e(t):e}var Ap=["elementType","externalSlotProps","ownerState"];function Pp(e){var t,n=e.elementType,r=e.externalSlotProps,i=e.ownerState,a=(0,Kt.Z)(e,Ap),o=Cp(r,i),s=Tp((0,Qt.Z)({},a,{externalSlotProps:o})),l=s.props,u=s.internalRef,c=(0,vf.Z)(u,null==o?void 0:o.ref,null==(t=e.additionalProps)?void 0:t.ref),d=function(e,t,n){return void 0===e||Mf(e)?t:(0,Qt.Z)({},t,{ownerState:(0,Qt.Z)({},t.ownerState,n)})}(n,(0,Qt.Z)({},l,{ref:c}),i);return d}var Rp={disableDefaultClasses:!1},Op=t.createContext(Rp);var Lp=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],Zp=function(e){var n=e.open,r=e.exited,i={root:["root",!n&&r&&"hidden"],backdrop:["backdrop"]};return(0,tn.Z)(i,function(e){var n=t.useContext(Op).disableDefaultClasses;return function(t){return n?"":e(t)}}(Mp))};var Np=new xp,Ip=t.forwardRef((function(e,n){var r,i,s=e.children,l=e.closeAfterTransition,u=void 0!==l&&l,c=e.container,d=e.disableAutoFocus,f=void 0!==d&&d,h=e.disableEnforceFocus,p=void 0!==h&&h,v=e.disableEscapeKeyDown,m=void 0!==v&&v,g=e.disablePortal,y=void 0!==g&&g,b=e.disableRestoreFocus,x=void 0!==b&&b,w=e.disableScrollLock,S=void 0!==w&&w,_=e.hideBackdrop,k=void 0!==_&&_,M=e.keepMounted,E=void 0!==M&&M,T=e.manager,C=void 0===T?Np:T,A=e.onBackdropClick,P=e.onClose,R=e.onKeyDown,O=e.open,L=e.onTransitionEnter,Z=e.onTransitionExited,N=e.slotProps,I=void 0===N?{}:N,j=e.slots,D=void 0===j?{}:j,z=(0,Kt.Z)(e,Lp),U=C,F=t.useState(!O),B=(0,a.Z)(F,2),V=B[0],H=B[1],W=t.useRef({}),G=t.useRef(null),q=t.useRef(null),X=(0,vf.Z)(q,n),Y=function(e){return!!e&&e.props.hasOwnProperty("in")}(s),J=null==(r=e["aria-hidden"])||r,K=function(){return W.current.modalRef=q.current,W.current.mountNode=G.current,W.current},Q=function(){U.mount(K(),{disableScrollLock:S}),q.current&&(q.current.scrollTop=0)},$=(0,cp.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(c)||(0,up.Z)(G.current).body;U.add(K(),e),q.current&&Q()})),ee=t.useCallback((function(){return U.isTopModal(K())}),[U]),te=(0,cp.Z)((function(e){G.current=e,e&&q.current&&(O&&ee()?Q():vp(q.current,J))})),ne=t.useCallback((function(){U.remove(K(),J)}),[U,J]);t.useEffect((function(){return function(){ne()}}),[ne]),t.useEffect((function(){O?$():Y&&u||ne()}),[O,ne,Y,u,$]);var re=(0,Qt.Z)({},e,{closeAfterTransition:u,disableAutoFocus:f,disableEnforceFocus:p,disableEscapeKeyDown:m,disablePortal:y,disableRestoreFocus:x,disableScrollLock:S,exited:V,hideBackdrop:k,keepMounted:E}),ie=Zp(re),ae={};void 0===s.props.tabIndex&&(ae.tabIndex="-1"),Y&&(ae.onEnter=(0,dp.Z)((function(){H(!1),L&&L()}),s.props.onEnter),ae.onExited=(0,dp.Z)((function(){H(!0),Z&&Z(),u&&ne()}),s.props.onExited));var oe=null!=(i=D.root)?i:"div",se=Pp({elementType:oe,externalSlotProps:I.root,externalForwardedProps:z,additionalProps:{ref:X,role:"presentation",onKeyDown:function(e){R&&R(e),"Escape"===e.key&&ee()&&(m||(e.stopPropagation(),P&&P(e,"escapeKeyDown")))}},className:ie.root,ownerState:re}),le=D.backdrop,ue=Pp({elementType:le,externalSlotProps:I.backdrop,additionalProps:{"aria-hidden":!0,onClick:function(e){e.target===e.currentTarget&&(A&&A(e),P&&P(e,"backdropClick"))},open:O},className:ie.backdrop,ownerState:re});return E||O||Y&&!V?(0,o.jsx)(pp,{ref:te,container:c,disablePortal:y,children:(0,o.jsxs)(oe,(0,Qt.Z)({},se,{children:[!k&&le?(0,o.jsx)(le,(0,Qt.Z)({},ue)):null,(0,o.jsx)(kp,{disableEnforceFocus:p,disableAutoFocus:f,disableRestoreFocus:x,isEnabled:ee,open:O,children:t.cloneElement(s,ae)})]}))}):null})),jp=Ip,Dp=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],zp={entering:{opacity:1},entered:{opacity:1}},Up=t.forwardRef((function(e,n){var r=qt(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},a=e.addEndListener,s=e.appear,l=void 0===s||s,u=e.children,c=e.easing,d=e.in,f=e.onEnter,h=e.onEntered,p=e.onEntering,v=e.onExit,m=e.onExited,g=e.onExiting,y=e.style,b=e.timeout,x=void 0===b?i:b,w=e.TransitionComponent,S=void 0===w?ud:w,_=(0,Kt.Z)(e,Dp),k=t.useRef(null),M=(0,on.Z)(k,u.ref,n),E=function(e){return function(t){if(e){var n=k.current;void 0===t?e(n):e(n,t)}}},T=E(p),C=E((function(e,t){dd(e);var n=fd({style:y,timeout:x,easing:c},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),f&&f(e,t)})),A=E(h),P=E(g),R=E((function(e){var t=fd({style:y,timeout:x,easing:c},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),v&&v(e)}
2)),O=E(m);return(0,o.jsx)(S,(0,Qt.Z)({appear:l,in:d,nodeRef:k,onEnter:C,onEntered:A,onEntering:T,onExit:R,onExited:O,onExiting:P,addEndListener:function(e){a&&a(k.current,e)},timeout:x},_,{children:function(e,n){return t.cloneElement(u,(0,Qt.Z)({style:(0,Qt.Z)({opacity:0,visibility:"exited"!==e||d?void 0:"hidden"},zp[e],y,u.props.style),ref:M},n))}}))})),Fp=Up;function Bp(e){return(0,Gn.Z)("MuiBackdrop",e)}(0,Cn.Z)("MuiBackdrop",["root","invisible"]);var Vp=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Hp=(0,rn.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){var t=e.ownerState;return(0,Qt.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),Wp=t.forwardRef((function(e,t){var n,r,i,a=(0,an.Z)({props:e,name:"MuiBackdrop"}),s=a.children,l=a.className,u=a.component,c=void 0===u?"div":u,d=a.components,f=void 0===d?{}:d,h=a.componentsProps,p=void 0===h?{}:h,v=a.invisible,m=void 0!==v&&v,g=a.open,y=a.slotProps,b=void 0===y?{}:y,x=a.slots,w=void 0===x?{}:x,S=a.TransitionComponent,_=void 0===S?Fp:S,k=a.transitionDuration,M=(0,Kt.Z)(a,Vp),E=(0,Qt.Z)({},a,{component:c,invisible:m}),T=function(e){var t=e.classes,n={root:["root",e.invisible&&"invisible"]};return(0,tn.Z)(n,Bp,t)}(E),C=null!=(n=b.root)?n:p.root;return(0,o.jsx)(_,(0,Qt.Z)({in:g,timeout:k},M,{children:(0,o.jsx)(Hp,(0,Qt.Z)({"aria-hidden":!0},C,{as:null!=(r=null!=(i=w.root)?i:f.Root)?r:c,className:(0,$t.Z)(T.root,l,null==C?void 0:C.className),ownerState:(0,Qt.Z)({},E,null==C?void 0:C.ownerState),classes:T,ref:t,children:s}))}))})),Gp=Wp,qp=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],Xp=(0,rn.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,Qt.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),Yp=(0,rn.ZP)(Gp,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),Jp=t.forwardRef((function(e,n){var r,i,s,l,u,c,d=(0,an.Z)({name:"MuiModal",props:e}),f=d.BackdropComponent,h=void 0===f?Yp:f,p=d.BackdropProps,v=d.classes,m=d.className,g=d.closeAfterTransition,y=void 0!==g&&g,b=d.children,x=d.container,w=d.component,S=d.components,_=void 0===S?{}:S,k=d.componentsProps,M=void 0===k?{}:k,E=d.disableAutoFocus,T=void 0!==E&&E,C=d.disableEnforceFocus,A=void 0!==C&&C,P=d.disableEscapeKeyDown,R=void 0!==P&&P,O=d.disablePortal,L=void 0!==O&&O,Z=d.disableRestoreFocus,N=void 0!==Z&&Z,I=d.disableScrollLock,j=void 0!==I&&I,D=d.hideBackdrop,z=void 0!==D&&D,U=d.keepMounted,F=void 0!==U&&U,B=d.onBackdropClick,V=d.onClose,H=d.open,W=d.slotProps,G=d.slots,q=d.theme,X=(0,Kt.Z)(d,qp),Y=t.useState(!0),J=(0,a.Z)(Y,2),K=J[0],Q=J[1],$={container:x,closeAfterTransition:y,disableAutoFocus:T,disableEnforceFocus:A,disableEscapeKeyDown:R,disablePortal:L,disableRestoreFocus:N,disableScrollLock:j,hideBackdrop:z,keepMounted:F,onBackdropClick:B,onClose:V,open:H},ee=(0,Qt.Z)({},d,$,{exited:K}),te=null!=(r=null!=(i=null==G?void 0:G.root)?i:_.Root)?r:Xp,ne=null!=(s=null!=(l=null==G?void 0:G.backdrop)?l:_.Backdrop)?s:h,re=null!=(u=null==W?void 0:W.root)?u:M.root,ie=null!=(c=null==W?void 0:W.backdrop)?c:M.backdrop;return(0,o.jsx)(jp,(0,Qt.Z)({slots:{root:te,backdrop:ne},slotProps:{root:function(){return(0,Qt.Z)({},Cp(re,ee),!Mf(te)&&{as:w,theme:q},{className:(0,$t.Z)(m,null==re?void 0:re.className,null==v?void 0:v.root,!ee.open&&ee.exited&&(null==v?void 0:v.hidden))})},backdrop:function(){return(0,Qt.Z)({},p,Cp(ie,ee),{className:(0,$t.Z)(null==ie?void 0:ie.className,null==p?void 0:p.className,null==v?void 0:v.backdrop)})}},onTransitionEnter:function(){return Q(!1)},onTransitionExited:function(){return Q(!0)},ref:n},X,$,{children:b}))})),Kp=Jp;function Qp(e){return(0,Gn.Z)("MuiPopover",e)}(0,Cn.Z)("MuiPopover",["root","paper"]);var $p=["onEntering"],ev=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function tv(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function nv(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function rv(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function iv(e){return"function"===typeof e?e():e}var av=(0,rn.ZP)(Kp,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),ov=(0,rn.ZP)(Md,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),sv=t.forwardRef((function(e,n){var r=(0,an.Z)({props:e,name:"MuiPopover"}),i=r.action,s=r.anchorEl,l=r.anchorOrigin,u=void 0===l?{vertical:"top",horizontal:"left"}:l,c=r.anchorPosition,d=r.anchorReference,f=void 0===d?"anchorEl":d,h=r.children,p=r.className,v=r.container,m=r.elevation,g=void 0===m?8:m,y=r.marginThreshold,b=void 0===y?16:y,x=r.open,w=r.PaperProps,S=void 0===w?{}:w,_=r.transformOrigin,k=void 0===_?{vertical:"top",horizontal:"left"}:_,M=r.TransitionComponent,E=void 0===M?lp:M,T=r.transitionDuration,C=void 0===T?"auto":T,A=r.TransitionProps,P=(void 0===A?{}:A).onEntering,R=(0,Kt.Z)(r.TransitionProps,$p),O=(0,Kt.Z)(r,ev),L=t.useRef(),Z=(0,on.Z)(L,S.ref),N=(0,Qt.Z)({},r,{anchorOrigin:u,anchorReference:f,elevation:g,marginThreshold:b,PaperProps:S,transformOrigin:k,TransitionComponent:E,transitionDuration:C,TransitionProps:R}),I=function(e){var t=e.classes;return(0,tn.Z)({root:["root"],paper:["paper"]},Qp,t)}(N),j=t.useCallback((function(){if("anchorPosition"===f)return c;var e=iv(s),t=(e&&1===e.nodeType?e:(0,zh.Z)(L.current).body).getBoundingClientRect();return{top:t.top+tv(t,u.vertical),left:t.left+nv(t,u.horizontal)}}),[s,u.horizontal,u.vertical,c,f]),D=t.useCallback((function(e){return{vertical:tv(e,k.vertical),horizontal:nv(e,k.horizontal)}}),[k.horizontal,k.vertical]),z=t.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=D(t);if("none"===f)return{top:null,left:null,transformOrigin:rv(n)};var r=j(),i=r.top-n.vertical,a=r.left-n.horizontal,o=i+t.height,l=a+t.width,u=(0,np.Z)(iv(s)),c=u.innerHe
2ight-b,d=u.innerWidth-b;if(i<b){var h=i-b;i-=h,n.vertical+=h}else if(o>c){var p=o-c;i-=p,n.vertical+=p}if(a<b){var v=a-b;a-=v,n.horizontal+=v}else if(l>d){var m=l-d;a-=m,n.horizontal+=m}return{top:"".concat(Math.round(i),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:rv(n)}}),[s,f,j,D,b]),U=t.useState(x),F=(0,a.Z)(U,2),B=F[0],V=F[1],H=t.useCallback((function(){var e=L.current;if(e){var t=z(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,V(!0)}}),[z]);t.useEffect((function(){x&&H()})),t.useImperativeHandle(i,(function(){return x?{updatePosition:function(){H()}}:null}),[x,H]),t.useEffect((function(){if(x){var e=(0,tp.Z)((function(){H()})),t=(0,np.Z)(s);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[s,x,H]);var W=C;"auto"!==C||E.muiSupportAuto||(W=void 0);var G=v||(s?(0,zh.Z)(iv(s)).body:void 0);return(0,o.jsx)(av,(0,Qt.Z)({BackdropProps:{invisible:!0},className:(0,$t.Z)(I.root,p),container:G,open:x,ref:n,ownerState:N},O,{children:(0,o.jsx)(E,(0,Qt.Z)({appear:!0,in:x,onEntering:function(e,t){P&&P(e,t),H()},onExited:function(){V(!1)},timeout:W},R,{children:(0,o.jsx)(ov,(0,Qt.Z)({elevation:g},S,{ref:Z,className:(0,$t.Z)(I.paper,S.className)},B?void 0:{style:(0,Qt.Z)({},S.style,{opacity:0})},{ownerState:N,children:h}))}))}))})),lv=sv;function uv(e){return(0,Gn.Z)("MuiMenu",e)}(0,Cn.Z)("MuiMenu",["root","paper","list"]);var cv=["onEntering"],dv=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],fv={vertical:"top",horizontal:"right"},hv={vertical:"top",horizontal:"left"},pv=(0,rn.ZP)(lv,{shouldForwardProp:function(e){return(0,rn.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),vv=(0,rn.ZP)(Md,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),mv=(0,rn.ZP)(ep,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),gv=t.forwardRef((function(e,n){var r=(0,an.Z)({props:e,name:"MuiMenu"}),i=r.autoFocus,a=void 0===i||i,s=r.children,l=r.disableAutoFocusItem,u=void 0!==l&&l,c=r.MenuListProps,d=void 0===c?{}:c,f=r.onClose,h=r.open,p=r.PaperProps,v=void 0===p?{}:p,m=r.PopoverClasses,g=r.transitionDuration,y=void 0===g?"auto":g,b=r.TransitionProps,x=(void 0===b?{}:b).onEntering,w=r.variant,S=void 0===w?"selectedMenu":w,_=(0,Kt.Z)(r.TransitionProps,cv),k=(0,Kt.Z)(r,dv),M=qt(),E="rtl"===M.direction,T=(0,Qt.Z)({},r,{autoFocus:a,disableAutoFocusItem:u,MenuListProps:d,onEntering:x,PaperProps:v,transitionDuration:y,TransitionProps:_,variant:S}),C=function(e){var t=e.classes;return(0,tn.Z)({root:["root"],paper:["paper"],list:["list"]},uv,t)}(T),A=a&&!u&&h,P=t.useRef(null),R=-1;return t.Children.map(s,(function(e,n){t.isValidElement(e)&&(e.props.disabled||("selectedMenu"===S&&e.props.selected||-1===R)&&(R=n))})),(0,o.jsx)(pv,(0,Qt.Z)({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?fv:hv,PaperProps:(0,Qt.Z)({as:vv},v,{classes:(0,Qt.Z)({},v.classes,{root:C.paper})}),className:C.root,open:h,ref:n,transitionDuration:y,TransitionProps:(0,Qt.Z)({onEntering:function(e,t){P.current&&P.current.adjustStyleForScrollbar(e,M),x&&x(e,t)}},_),ownerState:T},k,{classes:m,children:(0,o.jsx)(mv,(0,Qt.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),f&&f(e,"tabKeyDown"))},actions:P,autoFocus:a&&(-1===R||u),autoFocusItem:A,variant:S},d,{className:(0,$t.Z)(C.list,d.className),children:s}))}))})),yv=gv;function bv(e){return(0,Gn.Z)("MuiNativeSelect",e)}var xv=(0,Cn.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),wv=["className","disabled","error","IconComponent","inputRef","variant"],Sv=function(e){var t,n=e.ownerState,r=e.theme;return(0,Qt.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,Qt.Z)({},r.vars?{backgroundColor:"rgba(".concat(r.vars.palette.common.onBackgroun
2dChannel," / 0.05)")}:{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"}},(0,Jt.Z)(t,"&.".concat(xv.disabled),{cursor:"default"}),(0,Jt.Z)(t,"&[multiple]",{height:"auto"}),(0,Jt.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:(r.vars||r).palette.background.paper}),(0,Jt.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:(r.vars||r).shape.borderRadius,"&:focus":{borderRadius:(r.vars||r).shape.borderRadius},"&&&":{paddingRight:32}})},_v=(0,rn.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:rn.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],n.error&&t.error,(0,Jt.Z)({},"&.".concat(xv.multiple),t.multiple)]}})(Sv),kv=function(e){var t=e.ownerState,n=e.theme;return(0,Qt.Z)((0,Jt.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active},"&.".concat(xv.disabled),{color:(n.vars||n).palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},Mv=(0,rn.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,er.Z)(n.variant))],n.open&&t.iconOpen]}})(kv),Ev=t.forwardRef((function(e,n){var r=e.className,i=e.disabled,a=e.error,s=e.IconComponent,l=e.inputRef,u=e.variant,c=void 0===u?"standard":u,d=(0,Kt.Z)(e,wv),f=(0,Qt.Z)({},e,{disabled:i,variant:c,error:a}),h=function(e){var t=e.classes,n=e.variant,r=e.disabled,i=e.multiple,a=e.open,o={select:["select",n,r&&"disabled",i&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,er.Z)(n)),a&&"iconOpen",r&&"disabled"]};return(0,tn.Z)(o,bv,t)}(f);return(0,o.jsxs)(t.Fragment,{children:[(0,o.jsx)(_v,(0,Qt.Z)({ownerState:f,className:(0,$t.Z)(h.select,r),disabled:i,ref:l||n},d)),e.multiple?null:(0,o.jsx)(Mv,{as:s,ownerState:f,className:h.icon})]})})),Tv=Ev;function Cv(e){return(0,Gn.Z)("MuiSelect",e)}var Av,Pv=(0,Cn.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Rv=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Ov=(0,rn.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,Jt.Z)({},"&.".concat(Pv.select),t.select),(0,Jt.Z)({},"&.".concat(Pv.select),t[n.variant]),(0,Jt.Z)({},"&.".concat(Pv.error),t.error),(0,Jt.Z)({},"&.".concat(Pv.multiple),t.multiple)]}})(Sv,(0,Jt.Z)({},"&.".concat(Pv.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),Lv=(0,rn.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,er.Z)(n.variant))],n.open&&t.iconOpen]}})(kv),Zv=(0,rn.ZP)("input",{shouldForwardProp:function(e){return(0,rn.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Nv(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function Iv(e){return null==e||"string"===typeof e&&!e.trim()}var jv=t.forwardRef((function(e,n){var r=e["aria-describedby"],i=e["aria-label"],s=e.autoFocus,l=e.autoWidth,u=e.children,c=e.className,d=e.defaultOpen,f=e.defaultValue,h=e.disabled,p=e.displayEmpty,v=e.error,m=void 0!==v&&v,g=e.IconComponent,y=e.inputRef,b=e.labelId,x=e.MenuProps,w=void 0===x?{}:x,S=e.multiple,_=e.name,k=e.onBlur,M=e.onChange,E=e.onClose,T=e.onFocus,
2C=e.onOpen,A=e.open,P=e.readOnly,R=e.renderValue,O=e.SelectDisplayProps,L=void 0===O?{}:O,Z=e.tabIndex,N=e.value,I=e.variant,j=void 0===I?"standard":I,D=(0,Kt.Z)(e,Rv),z=(0,$a.Z)({controlled:N,default:f,name:"Select"}),U=(0,a.Z)(z,2),F=U[0],B=U[1],V=(0,$a.Z)({controlled:A,default:d,name:"Select"}),H=(0,a.Z)(V,2),W=H[0],G=H[1],q=t.useRef(null),X=t.useRef(null),Y=t.useState(null),J=(0,a.Z)(Y,2),K=J[0],Q=J[1],$=t.useRef(null!=A).current,ee=t.useState(),te=(0,a.Z)(ee,2),ne=te[0],re=te[1],ie=(0,on.Z)(n,y),ae=t.useCallback((function(e){X.current=e,e&&Q(e)}),[]),oe=null==K?void 0:K.parentNode;t.useImperativeHandle(ie,(function(){return{focus:function(){X.current.focus()},node:q.current,value:F}}),[F]),t.useEffect((function(){d&&W&&K&&!$&&(re(l?null:oe.clientWidth),X.current.focus())}),[K,l]),t.useEffect((function(){s&&X.current.focus()}),[s]),t.useEffect((function(){if(b){var e=(0,zh.Z)(X.current).getElementById(b);if(e){var t=function(){getSelection().isCollapsed&&X.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[b]);var se,le,ue=function(e,t){e?C&&C(t):E&&E(t),$||(re(l?null:oe.clientWidth),G(e))},ce=t.Children.toArray(u),de=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(S){n=Array.isArray(F)?F.slice():[];var r=F.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),F!==n&&(B(n),M)){var i=t.nativeEvent||t,a=new i.constructor(i.type,i);Object.defineProperty(a,"target",{writable:!0,value:{value:n,name:_}}),M(a,e)}S||ue(!1,t)}}},fe=null!==K&&W;delete D["aria-invalid"];var he=[],pe=!1;(Rf({value:F})||p)&&(R?se=R(F):pe=!0);var ve=ce.map((function(e){if(!t.isValidElement(e))return null;var n;if(S){if(!Array.isArray(F))throw new Error((0,pf.Z)(2));(n=F.some((function(t){return Nv(t,e.props.value)})))&&pe&&he.push(e.props.children)}else(n=Nv(F,e.props.value))&&pe&&(le=e.props.children);return n&&!0,t.cloneElement(e,{"aria-selected":n?"true":"false",onClick:de(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:n,value:void 0,"data-value":e.props.value})}));pe&&(se=S?0===he.length?null:he.reduce((function(e,t,n){return e.push(t),n<he.length-1&&e.push(", "),e}),[]):le);var me,ge=ne;!l&&$&&K&&(ge=oe.clientWidth),me="undefined"!==typeof Z?Z:h?null:0;var ye=L.id||(_?"mui-component-select-".concat(_):void 0),be=(0,Qt.Z)({},e,{variant:j,value:F,open:fe,error:m}),xe=function(e){var t=e.classes,n=e.variant,r=e.disabled,i=e.multiple,a=e.open,o={select:["select",n,r&&"disabled",i&&"multiple",e.error&&"error"],icon:["icon","icon".concat((0,er.Z)(n)),a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,tn.Z)(o,Cv,t)}(be);return(0,o.jsxs)(t.Fragment,{children:[(0,o.jsx)(Ov,(0,Qt.Z)({ref:ae,tabIndex:me,role:"button","aria-disabled":h?"true":void 0,"aria-expanded":fe?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[b,ye].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:function(e){if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ue(!0,e))}},onMouseDown:h||P?null:function(e){0===e.button&&(e.preventDefault(),X.current.focus(),ue(!0,e))},onBlur:function(e){!fe&&k&&(Object.defineProperty(e,"target",{writable:!0,value:{value:F,name:_}}),k(e))},onFocus:T},L,{ownerState:be,className:(0,$t.Z)(L.className,xe.select,c),id:ye,children:Iv(se)?Av||(Av=(0,o.jsx)("span",{className:"notranslate",children:"\u200b"})):se})),(0,o.jsx)(Zv,(0,Qt.Z)({"aria-invalid":m,value:Array.isArray(F)?F.join(","):F,name:_,ref:q,"aria-hidden":!0,onChange:function(e){var t=ce.find((function(t){return t.props.value===e.target.value}));void 0!==t&&(B(t.props.value),M&&M(e,t))},tabIndex:-1,disabled:h,className:xe.nativeInput,autoFocus:s,ownerState:be},D)),(0,o.jsx)(Lv,{as:g,className:xe.icon,ownerState:be}),(0,o.jsx)(yv,(0,Qt.Z)({id:"menu-".concat(_||""),anchorEl:oe,open:fe,onClose:function(e){ue(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},w,{MenuListProps:(0,Qt.Z)({"aria-labelledby":b,role:"listbox",disableListWrap:!0},w.MenuListProps),PaperProps:(0,Qt.Z)({},w.PaperProps,{style:(0,Qt.Z)({minWidth:ge},null!=w.PaperProps?w.PaperProps.style:null)}),children:ve}))]})})),Dv=jv,zv=(0,n(9201).Z)((0,o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Uv=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Fv={name:"MuiSelect",overridesResolver:function(e,t){return t.root},shouldForwardProp:function(e){return(0,rn.FO)(e)&&"variant"!==e},slot:"Root"},Bv=(0,rn.ZP)(Xf,Fv)(""),Vv=(0,rn.ZP)(hh,Fv)(""),Hv=(0,rn.ZP)(nh,Fv)(""),Wv=t.forwardRef((function(e,n){var r=(0,an.Z)({name:"MuiSelect",props:e}),i=r.autoWidth,a=void 0!==i&&i,s=r.children,l=r.classes,u=void 0===l?{}:l,c=r.className,d=r.defaultOpen,f=void 0!==d&&d,h=r.displayEmpty,p=void 0!==h&&h,v=r.IconComponent,m=void 0===v?zv:v,g=r.id,y=r.input,b=r.inputProps,x=r.label,w=r.labelId,S=r.MenuProps,_=r.multiple,k=void 0!==_&&_,M=r.native,E=void 0!==M&&M,T=r.onClose,C=r.onOpen,A=r.open,P=r.renderValue,R=r.SelectDisplayProps,O=r.variant,L=void 0===O?"outlined":O,Z=(0,Kt.Z)(r,Uv),N=E?Tv:Dv,I=Ef({props:r,muiFormControl:to(),states:["variant","error"]}),j=I.variant||L,D=(0,Qt.Z)({},r,{variant:j,classes:u}),z=function(e){return e.classes}(D),U=y||{standard:(0,o.jsx)(Bv,{ownerState:D}),outlined:(0,o.jsx)(Vv,{label:x,ownerState:D}),filled:(0,o.jsx)(Hv,{ownerState:D})}[j],F=(0,on.Z)(n,U.ref);return(0,o.jsx)(t.Fragment,{children:t.cloneElement(U,(0,Qt.Z)({inputComponent:N,inputProps:(0,Qt.Z)({children:s,error:I.error,IconComponent:m,variant:j,type:void 0,multiple:k},E?{id:g}:{autoWidth:a,defaultOpen:f,displayEmpty:p,labelId:w,MenuProps:S,onClose:T,onOpen:C,open:A,renderValue:P,SelectDisplayProps:(0,Qt.Z)({id:g},R)},b,{classes:b?(0,fr.Z)(z,b.classes):z},y?y.props.inputProps:{})},k&&E&&"outlined"===j?{notched:!0}:{},{ref:F,className:(0,$t.Z)(U.props.className,c)},!y&&{variant:j},Z))})}));Wv.muiName="Select";var Gv=Wv;function qv(e){return(0,Gn.Z)("MuiTextField",e)}(0,Cn.Z)("MuiTextField",["root"]);
2var Xv=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Yv={standard:Xf,filled:nh,outlined:hh},Jv=(0,rn.ZP)(Rh,{name:"MuiTextField",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Kv=t.forwardRef((function(e,t){var n=(0,an.Z)({props:e,name:"MuiTextField"}),r=n.autoComplete,i=n.autoFocus,a=void 0!==i&&i,s=n.children,l=n.className,u=n.color,c=void 0===u?"primary":u,d=n.defaultValue,f=n.disabled,h=void 0!==f&&f,p=n.error,v=void 0!==p&&p,m=n.FormHelperTextProps,g=n.fullWidth,y=void 0!==g&&g,b=n.helperText,x=n.id,w=n.InputLabelProps,S=n.inputProps,_=n.InputProps,k=n.inputRef,M=n.label,E=n.maxRows,T=n.minRows,C=n.multiline,A=void 0!==C&&C,P=n.name,R=n.onBlur,O=n.onChange,L=n.onClick,Z=n.onFocus,N=n.placeholder,I=n.required,j=void 0!==I&&I,D=n.rows,z=n.select,U=void 0!==z&&z,F=n.SelectProps,B=n.type,V=n.value,H=n.variant,W=void 0===H?"outlined":H,G=(0,Kt.Z)(n,Xv),q=(0,Qt.Z)({},n,{autoFocus:a,color:c,disabled:h,error:v,fullWidth:y,multiline:A,required:j,select:U,variant:W}),X=function(e){var t=e.classes;return(0,tn.Z)({root:["root"]},qv,t)}(q);var Y={};"outlined"===W&&(w&&"undefined"!==typeof w.shrink&&(Y.notched=w.shrink),Y.label=M),U&&(F&&F.native||(Y.id=void 0),Y["aria-describedby"]=void 0);var J=(0,hf.Z)(x),K=b&&J?"".concat(J,"-helper-text"):void 0,Q=M&&J?"".concat(J,"-label"):void 0,$=Yv[W],ee=(0,o.jsx)($,(0,Qt.Z)({"aria-describedby":K,autoComplete:r,autoFocus:a,defaultValue:d,fullWidth:y,multiline:A,name:P,rows:D,maxRows:E,minRows:T,type:B,value:V,id:J,inputRef:k,onBlur:R,onChange:O,onFocus:Z,onClick:L,placeholder:N,inputProps:S},Y,_));return(0,o.jsxs)(Jv,(0,Qt.Z)({className:(0,$t.Z)(X.root,l),disabled:h,error:v,fullWidth:y,ref:t,required:j,color:c,variant:W,ownerState:q},G,{children:[null!=M&&""!==M&&(0,o.jsx)(Mh,(0,Qt.Z)({htmlFor:J,id:Q},w,{children:M})),U?(0,o.jsx)(Gv,(0,Qt.Z)({"aria-describedby":K,id:J,labelId:Q,value:V,input:ee},F,{children:s})):ee,b&&(0,o.jsx)(Dh,(0,Qt.Z)({id:K},m,{children:b}))]}))})),Qv=Kv,$v=n(2421),em=n(104),tm=["className","component"];var nm=n(5902),rm=n(1979),im=(0,rm.Z)(),am=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.themeId,r=e.defaultTheme,i=e.defaultClassName,a=void 0===i?"MuiBox-root":i,s=e.generateClassName,l=(0,$v.ZP)("div",{shouldForwardProp:function(e){return"theme"!==e&&"sx"!==e&&"as"!==e}})(em.Z);return t.forwardRef((function(e,t){var i=(0,Ht.Z)(r),u=mr(e),c=u.className,d=u.component,f=void 0===d?"div":d,h=(0,Kt.Z)(u,tm);return(0,o.jsx)(l,(0,Qt.Z)({as:f,ref:t,className:(0,$t.Z)(c,s?s(a):a),theme:n&&i[n]||i},h))}))}({themeId:Gt.Z,defaultTheme:im,defaultClassName:"MuiBox-root",generateClassName:nm.Z.generate}),om=am;function sm(e){return Ks({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M21 11H6.414l5.293-5.293-1.414-1.414L2.586 12l7.707 7.707 1.414-1.414L6.414 13H21z"}}]})(e)}var lm,um,cm=n(4969),dm=n.n(cm),fm=n(1752),hm="151",pm={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},vm={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},mm=0,gm=1,ym=2,bm=3,xm=0,wm=1,Sm=2,_m=3,km=0,Mm=1,Em=2,Tm=2,Cm=0,Am=1,Pm=2,Rm=3,Om=4,Lm=5,Zm=100,Nm=101,Im=102,jm=103,Dm=104,zm=200,Um=201,Fm=202,Bm=203,Vm=204,Hm=205,Wm=206,Gm=207,qm=208,Xm=209,Ym=210,Jm=0,Km=1,Qm=2,$m=3,eg=4,tg=5,ng=6,rg=7,ig=0,ag=1,og=2,sg=0,lg=1,ug=2,cg=3,dg=4,fg=5,hg=300,pg=301,vg=302,mg=303,gg=304,yg=306,bg=1e3,xg=1001,wg=1002,Sg=1003,_g=1004,kg=1004,Mg=1005,Eg=1005,Tg=1006,Cg=1007,Ag=1007,Pg=1008,Rg=1008,Og=1009,Lg=1010,Zg=1011,Ng=1012,Ig=1013,jg=1014,Dg=1015,zg=1016,Ug=1017,Fg=1018,Bg=1020,Vg=1021,Hg=1023,Wg=1024,Gg=1025,qg=1026,Xg=1027,Yg=1028,Jg=1029,Kg=1030,Qg=1031,$g=1033,ey=33776,ty=33777,ny=33778,ry=33779,iy=35840,ay=35841,oy=35842,sy=35843,ly=36196,uy=37492,cy=37496,dy=37808,fy=37809,hy=37810,py=37811,vy=37812,my=37813,gy=37814,yy=37815,by=37816,xy=37817,wy=37818,Sy=37819,_y=37820,ky=37821,My=36492,Ey=36283,Ty=36284,Cy=36285,Ay=36286,Py=2200,Ry=2201,Oy=2202,Ly=2300,Zy=2301,Ny=2302,Iy=2400,jy=2401,Dy=2402,zy=2500,Uy=2501,Fy=0,By=1,Vy=2,Hy=3e3,Wy=3001,Gy=3200,qy=3201,Xy=0,Yy=1,Jy="",Ky="srgb",Qy="srgb-linear",$y="display-p3",eb=0,tb=7680,nb=7681,rb=7682,ib=7683,ab=34055,ob=34056,sb=538
26,lb=512,ub=513,cb=514,db=515,fb=516,hb=517,pb=518,vb=519,mb=35044,gb=35048,yb=35040,bb=35045,xb=35049,wb=35041,Sb=35046,_b=35050,kb=35042,Mb="100",Eb="300 es",Tb=1035,Cb=function(){function e(){(0,be.Z)(this,e)}return(0,xe.Z)(e,[{key:"addEventListener",value:function(e,t){void 0===this._listeners&&(this._listeners={});var n=this._listeners;void 0===n[e]&&(n[e]=[]),-1===n[e].indexOf(t)&&n[e].push(t)}},{key:"hasEventListener",value:function(e,t){if(void 0===this._listeners)return!1;var n=this._listeners;return void 0!==n[e]&&-1!==n[e].indexOf(t)}},{key:"removeEventListener",value:function(e,t){if(void 0!==this._listeners){var n=this._listeners[e];if(void 0!==n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}}}},{key:"dispatchEvent",value:function(e){if(void 0!==this._listeners){var t=this._listeners[e.type];if(void 0!==t){e.target=this;for(var n=t.slice(0),r=0,i=n.length;r<i;r++)n[r].call(this,e);e.target=null}}}}]),e}(),Ab=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"],Pb=1234567,Rb=Math.PI/180,Ob=180/Math.PI;
vendor: 2,733 bytes, line 2
2function Lb(){var e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,n=4294967295*Math.random()|0,r=4294967295*Math.random()|0;return(Ab[255&e]+Ab[e>>8&255]+Ab[e>>16&255]+Ab[e>>24&255]+"-"+Ab[255&t]+Ab[t>>8&255]+"-"+Ab[t>>16&15|64]+Ab[t>>24&255]+"-"+Ab[63&n|128]+Ab[n>>8&255]+"-"+Ab[n>>16&255]+Ab[n>>24&255]+Ab[255&r]+Ab[r>>8&255]+Ab[r>>16&255]+Ab[r>>24&255]).toLowerCase()}function Zb(e,t,n){return Math.max(t,Math.min(n,e))}function Nb(e,t){return(e%t+t)%t}function Ib(e,t,n){return(1-n)*e+n*t}function jb(e){return 0===(e&e-1)&&0!==e}function Db(e){return Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))}function zb(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))}function Ub(e,t){switch(t.constructor){case Float32Array:return e;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw new Error("Invalid component type.")}}function Fb(e,t){switch(t.constructor){case Float32Array:return e;case Uint16Array:return Math.round(65535*e);case Uint8Array:return Math.round(255*e);case Int16Array:return Math.round(32767*e);case Int8Array:return Math.round(127*e);default:throw new Error("Invalid component type.")}}var Bb={DEG2RAD:Rb,RAD2DEG:Ob,generateUUID:Lb,clamp:Zb,euclideanModulo:Nb,mapLinear:function(e,t,n,r,i){return r+(e-t)*(i-r)/(n-t)},inverseLerp:function(e,t,n){return e!==t?(n-e)/(t-e):0},lerp:Ib,damp:function(e,t,n,r){return Ib(e,t,1-Math.exp(-n*r))},pingpong:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t-Math.abs(Nb(e,2*t)-t)},smoothstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*(3-2*e)},smootherstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*e*(e*(6*e-15)+10)},randInt:function(e,t){return e+Math.floor(Math.random()*(t-e+1))},randFloat:function(e,t){return e+Math.random()*(t-e)},randFloatSpread:function(e){return e*(.5-Math.random())},seededRandom:function(e){void 0!==e&&(Pb=e);var t=Pb+=1831565813;return t=Math.imul(t^t>>>15,1|t),(((t^=t+Math.imul(t^t>>>7,61|t))^t>>>14)>>>0)/4294967296},degToRad:function(e){return e*Rb},radToDeg:function(e){return e*Ob},isPowerOfTwo:jb,ceilPowerOfTwo:Db,floorPowerOfTwo:zb,setQuaternionFromProperEuler:function(e,t,n,r,i){var a=Math.cos,o=Math.sin,s=a(n/2),l=o(n/2),u=a((t+r)/2),c=o((t+r)/2),d=a((t-r)/2),f=o((t-r)/2),h=a((r-t)/2),p=o((r-t)/2);switch(i){case"XYX":e.set(s*c,l*d,l*f,s*u);break;case"YZY":e.set(l*f,s*c,l*d,s*u);break;case"ZXZ":e.set(l*d,l*f,s*c,s*u);break;case"XZX":e.set(s*c,l*p,l*h,s*u);break;case"YXY":e.set(l*h,s*c,l*p,s*u);break;case"ZYZ":e.set(l*p,l*h,s*c,s*u);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+i)}}
2,normalize:Fb,denormalize:Ub},Vb=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,be.Z)(this,t),t.prototype.isVector2=!0,this.x=e,this.y=n}return(0,xe.Z)(t,[{key:"width",get:function(){return this.x},set:function(e){this.x=e}},{key:"height",get:function(){return this.y},set:function(e){this.y=e}},{key:"set",value:function(e,t){return this.x=e,this.y=t,this}},{key:"setScalar",value:function(e){return this.x=e,this.y=e,this}},{key:"setX",value:function(e){return this.x=e,this}},{key:"setY",value:function(e){return this.y=e,this}},{key:"setComponent",value:function(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}},{key:"getComponent",value:function(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}},{key:"clone",value:function(){return new this.constructor(this.x,this.y)}},{key:"copy",value:function(e){return this.x=e.x,this.y=e.y,this}},{key:"add",value:function(e){return this.x+=e.x,this.y+=e.y,this}},{key:"addScalar",value:function(e){return this.x+=e,this.y+=e,this}},{key:"addVectors",value:function(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}},{key:"addScaledVector",value:function(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}},{key:"sub",value:function(e){return this.x-=e.x,this.y-=e.y,this}},{key:"subScalar",value:function(e){return this.x-=e,this.y-=e,this}},{key:"subVectors",value:function(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}},{key:"multiply",value:function(e){return this.x*=e.x,this.y*=e.y,this}},{key:"multiplyScalar",value:function(e){return this.x*=e,this.y*=e,this}},{key:"divide",value:function(e){return this.x/=e.x,this.y/=e.y,this}},{key:"divideScalar",value:function(e){return this.multiplyScalar(1/e)}},{key:"applyMatrix3",value:function(e){var t=this.x,n=this.y,r=e.elements;return this.x=r[0]*t+r[3]*n+r[6],this.y=r[1]*t+r[4]*n+r[7],this}},{key:"min",value:function(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}},{key:"max",value:function(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}},{key:"clamp",value:function(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this}},{key:"clampScalar",value:function(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this}},{key:"clampLength",value:function(e,t){var n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))}},{key:"floor",value:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}},{key:"ceil",value:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}},{key:"round",value:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},{key:"roundToZero",value:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}},{key:"negate",value:function(){return this.x=-this.x,this.y=-this.y,this}},{key:"dot",value:function(e){return this.x*e.x+this.y*e.y}},{key:"cross",value:function(e){return this.x*e.y-this.y*e.x}},{key:"lengthSq",value:function(){return this.x*this.x+this.y*this.y}},{key:"length",value:function(){return Math.sqrt(this.x*this.x+this.y*this.y)}},{key:"manhattanLength",value:function(){return Math.abs(this.x)+Math.abs(this.y)}},{key:"normalize",value:function(){return this.divideScalar(this.length()||1)}},{key:"angle",value:function(){var e=Math.atan2(-this.y,-this.x)+Math.PI;return e}},{key:"angleTo",value:function(e){var t=Math.sqrt(this.lengthSq()*e.lengthSq());if(0===t)return Math.PI/2;var n=this.dot(e)/t;return Math.acos(Zb(n,-1,1))}},{key:"distanceTo",value:function(e){return Math.sqrt(this.distanceToSquared(e))}},{key:"distanceToSquared",value:function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n}},{key:"manhattanDistanceTo",value:function(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}},{key:"setLength",value:function(e){return this.normalize().multiplyScalar(e)}},{key:"lerp",value:function(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}},{key:"lerpVectors",value:function(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this}},{key:"equals",value:function(e){return e.x===this.x&&e.y===this.y}},{key:"fromArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.x=e[t],this.y=e[t+1],this}},{key:"toArray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e[t]=this.x,e[t+1]=this.y,e}},{key:"fromBufferAttribute",value:function(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}}
2,{key:"rotateAround",value:function(e,t){var n=Math.cos(t),r=Math.sin(t),i=this.x-e.x,a=this.y-e.y;return this.x=i*n-a*r+e.x,this.y=i*r+a*n+e.y,this}},{key:"random",value:function(){return this.x=Math.random(),this.y=Math.random(),this}},{key:e,value:(0,df.Z)().mark((function e(){return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.x;case 2:return e.next=4,this.y;case 4:case"end":return e.stop()}}),e,this)}))}]),t}(Symbol.iterator),Hb=function(){function e(){(0,be.Z)(this,e),e.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}return(0,xe.Z)(e,[{key:"set",value:function(e,t,n,r,i,a,o,s,l){var u=this.elements;return u[0]=e,u[1]=r,u[2]=o,u[3]=t,u[4]=i,u[5]=s,u[6]=n,u[7]=a,u[8]=l,this}},{key:"identity",value:function(){return this.set(1,0,0,0,1,0,0,0,1),this}},{key:"copy",value:function(e){var t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this}},{key:"extractBasis",value:function(e,t,n){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}},{key:"setFromMatrix4",value:function(e){var t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}},{key:"multiply",value:function(e){return this.multiplyMatrices(this,e)}},{key:"premultiply",value:function(e){return this.multiplyMatrices(e,this)}},{key:"multiplyMatrices",value:function(e,t){var n=e.elements,r=t.elements,i=this.elements,a=n[0],o=n[3],s=n[6],l=n[1],u=n[4],c=n[7],d=n[2],f=n[5],h=n[8],p=r[0],v=r[3],m=r[6],g=r[1],y=r[4],b=r[7],x=r[2],w=r[5],S=r[8];return i[0]=a*p+o*g+s*x,i[3]=a*v+o*y+s*w,i[6]=a*m+o*b+s*S,i[1]=l*p+u*g+c*x,i[4]=l*v+u*y+c*w,i[7]=l*m+u*b+c*S,i[2]=d*p+f*g+h*x,i[5]=d*v+f*y+h*w,i[8]=d*m+f*b+h*S,this}},{key:"multiplyScalar",value:function(e){var t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}},{key:"determinant",value:function(){var e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],l=e[7],u=e[8];return t*a*u-t*o*l-n*i*u+n*o*s+r*i*l-r*a*s}},{key:"invert",value:function(){var e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],l=e[7],u=e[8],c=u*a-o*l,d=o*s-u*i,f=l*i-a*s,h=t*c+n*d+r*f;if(0===h)return this.set(0,0,0,0,0,0,0,0,0);var p=1/h;return e[0]=c*p,e[1]=(r*l-u*n)*p,e[2]=(o*n-r*a)*p,e[3]=d*p,e[4]=(u*t-r*s)*p,e[5]=(r*i-o*t)*p,e[6]=f*p,e[7]=(n*s-l*t)*p,e[8]=(a*t-n*i)*p,this}},{key:"transpose",value:function(){var e,t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}},{key:"getNormalMatrix",value:function(e){return this.setFromMatrix4(e).invert().transpose()}},{key:"transposeIntoArray",value:function(e){var t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}},{key:"setUvTransform",value:function(e,t,n,r,i,a,o){var s=Math.cos(i),l=Math.sin(i);return this.set(n*s,n*l,-n*(s*a+l*o)+a+e,-r*l,r*s,-r*(-l*a+s*o)+o+t,0,0,1),this}},{key:"scale",value:function(e,t){return this.premultiply(Wb.makeScale(e,t)),this}},{key:"rotate",value:function(e){return this.premultiply(Wb.makeRotation(-e)),this}},{key:"translate",value:function(e,t){return this.premultiply(Wb.makeTranslation(e,t)),this}},{key:"makeTranslation",value:function(e,t){return this.set(1,0,e,0,1,t,0,0,1),this}},{key:"makeRotation",value:function(e){var t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,n,t,0,0,0,1),this}},{key:"makeScale",value:function(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}},{key:"equals",value:function(e){for(var t=this.elements,n=e.elements,r=0;r<9;r++)if(t[r]!==n[r])return!1;return!0}},{key:"fromArray",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=0;n<9;n++)this.elements[n]=e[n+t];return this}},{key:"toArray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}},{key:"clone",value:function(){return(new this.constructor).fromArray(this.elements)}}]),e}(),Wb=new Hb;function Gb(e){for(var t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}var qb={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:Uint8ClampedArray,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};function Xb(e,t){return new qb[e](t)}function Yb(e){return document.createElementNS("http://www.w3.org/1999/xhtml",e)}function Jb(e){return e<.04045?.0773993808*e:Math.pow(.9478672986*e+.0521327014,2.4)}
2function Kb(e){return e<.0031308?12.92*e:1.055*Math.pow(e,.41666)-.055}var Qb=(new Hb).fromArray([.8224621,.0331941,.0170827,.177538,.9668058,.0723974,-1e-7,1e-7,.9105199]),$b=(new Hb).fromArray([1.2249401,-.0420569,-.0196376,-.2249404,1.0420571,-.0786361,1e-7,0,1.0982735]);var ex,tx=(lm={},(0,Jt.Z)(lm,Qy,(function(e){return e})),(0,Jt.Z)(lm,Ky,(function(e){return e.convertSRGBToLinear()})),(0,Jt.Z)(lm,$y,(function(e){return e.convertSRGBToLinear().applyMatrix3($b)})),lm),nx=(um={},(0,Jt.Z)(um,Qy,(function(e){return e})),(0,Jt.Z)(um,Ky,(function(e){return e.convertLinearToSRGB()})),(0,Jt.Z)(um,$y,(function(e){return e.applyMatrix3(Qb).convertLinearToSRGB()})),um),rx={enabled:!1,get legacyMode(){return console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),!this.enabled},set legacyMode(e){console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),this.enabled=!e},get workingColorSpace(){return Qy},set workingColorSpace(e){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(e,t,n){if(!1===this.enabled||t===n||!t||!n)return e;var r=tx[t],i=nx[n];if(void 0===r||void 0===i)throw new Error('Unsupported color space conversion, "'.concat(t,'" to "').concat(n,'".'));return i(r(e))},fromWorkingColorSpace:function(e,t){return this.convert(e,this.workingColorSpace,t)},toWorkingColorSpace:function(e,t){return this.convert(e,t,this.workingColorSpace)}},ix=function(){function e(){(0,be.Z)(this,e)}return(0,xe.Z)(e,null,[{key:"getDataURL",value:function(e){if(/^data:/i.test(e.src))return e.src;if("undefined"===typeof HTMLCanvasElement)return e.src;var t;if(e instanceof HTMLCanvasElement)t=e;else{void 0===ex&&(ex=Yb("canvas")),ex.width=e.width,ex.height=e.height;var n=ex.getContext("2d");e instanceof ImageData?n.putImageData(e,0,0):n.drawImage(e,0,0,e.width,e.height),t=ex}return t.width>2048||t.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),t.toDataURL("image/jpeg",.6)):t.toDataURL("image/png")}},{key:"sRGBToLinear",value:function(e){if("undefined"!==typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!==typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!==typeof ImageBitmap&&e instanceof ImageBitmap){var t=Yb("canvas");t.width=e.width,t.height=e.height;var n=t.getContext("2d");n.drawImage(e,0,0,e.width,e.height);for(var r=n.getImageData(0,0,e.width,e.height),i=r.data,a=0;a<i.length;a++)i[a]=255*Jb(i[a]/255);return n.putImageData(r,0,0),t}if(e.data){for(var o=e.data.slice(0),s=0;s<o.length;s++)o instanceof Uint8Array||o instanceof Uint8ClampedArray?o[s]=Math.floor(255*Jb(o[s]/255)):o[s]=Jb(o[s]);return{data:o,width:e.width,height:e.height}}return console.warn("THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),e}}]),e}(),ax=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(0,be.Z)(this,e),this.isSource=!0,this.uuid=Lb(),this.data=t,this.version=0}return(0,xe.Z)(e,[{key:"needsUpdate",set:function(e){!0===e&&this.version++}},{key:"toJSON",value:function(e){var t=void 0===e||"string"===typeof e;if(!t&&void 0!==e.images[this.uuid])return e.images[this.uuid];var n={uuid:this.uuid,url:""},r=this.data;if(null!==r){var i;if(Array.isArray(r)){i=[];for(var a=0,o=r.length;a<o;a++)r[a].isDataTexture?i.push(ox(r[a].image)):i.push(ox(r[a]))}else i=ox(r);n.url=i}return t||(e.images[this.uuid]=n),n}}]),e}();function ox(e){return"undefined"!==typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!==typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!==typeof ImageBitmap&&e instanceof ImageBitmap?ix.getDataURL(e):e.data?{data:Array.from(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}var sx=0,lx=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.DEFAULT_IMAGE,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.DEFAULT_MAPPING,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xg,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xg,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Tg,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Pg,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:Hg,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:Og,d=arguments.length>8&&void 0!==arguments[8]?arguments[8]:n.DEFAULT_ANISOTROPY,f=arguments.length>9&&void 0!==arguments[9]?arguments[9]:Hy;return(0,be.Z)(this,n),(e=t.call(this)).isTexture=!0,Object.defineProperty((0,cn.Z)(e),"id",{value:sx++}),e.uuid=Lb(),e.name="",e.source=new ax(r),e.mipmaps=[],e.mapping=i,e.channel=0,e.wrapS=a,e.wrapT=o,e.magFilter=s,e.minFilter=l,e.anisotropy=d,e.format=u,e.internalFormat=null,e.type=c,e.offset=new Vb(0,0),e.repeat=new Vb(1,1),e.center=new Vb(0,0),e.rotation=0,e.matrixAutoUpdate=!0,e.matrix=new Hb,e.generateMipmaps=!0,e.premultiplyAlpha=!1,e.flipY=!0,e.unpackAlignment=4,e.encoding=f,e.userData={},e.version=0,e.onUpdate=null,e.isRenderTargetTexture=!1,e.needsPMREMUpdate=!1,e}return(0,xe.Z)(n,[{key:"image",get:function(){return this.source.data},set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.source.data=e}},{key:"updateMatrix",value:function(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}},{key:"clone",value:function(){return(new this.constructor).copy(this)}},{key:"copy",value:function(e){return this.name=e.name,this.source=e.source,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.channel=e.channel,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.encoding=e.encoding,this.userData=JSON.parse(JSON.stringify(e.userData)),this.needsUpdate=!0,this}},{key:"toJSON",value:function(e){var t=void 0===e||"string"===typeof e;if(!t&&void 0!==e.textures[this.uuid])return e.textures[this.uuid];var n={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(e).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.t
2ype,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),t||(e.textures[this.uuid]=n),n}},{key:"dispose",value:function(){this.dispatchEvent({type:"dispose"})}},{key:"transformUv",value:function(e){if(this.mapping!==hg)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case bg:e.x=e.x-Math.floor(e.x);break;case xg:e.x=e.x<0?0:1;break;case wg:1===Math.abs(Math.floor(e.x)%2)?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x)}if(e.y<0||e.y>1)switch(this.wrapT){case bg:e.y=e.y-Math.floor(e.y);break;case xg:e.y=e.y<0?0:1;break;case wg:1===Math.abs(Math.floor(e.y)%2)?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y)}return this.flipY&&(e.y=1-e.y),e}},{key:"needsUpdate",set:function(e){!0===e&&(this.version++,this.source.needsUpdate=!0)}}]),n}(Cb);lx.DEFAULT_IMAGE=null,lx.DEFAULT_MAPPING=hg,lx.DEFAULT_ANISOTROPY=1;var ux=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;(0,be.Z)(this,t),t.prototype.isVector4=!0,this.x=e,this.y=n,this.z=r,this.w=i}return(0,xe.Z)(t,[{key:"width",get:function(){return this.z},set:function(e){this.z=e}},{key:"height",get:function(){return this.w},set:function(e){this.w=e}},{key:"set",value:function(e,t,n,r){return this.x=e,this.y=t,this.z=n,this.w=r,this}},{key:"setScalar",value:function(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}},{key:"setX",value:function(e){return this.x=e,this}},{key:"setY",value:function(e){return this.y=e,this}},{key:"setZ",value:function(e){return this.z=e,this}},{key:"setW",value:function(e){return this.w=e,this}},{key:"setComponent",value:function(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}},{key:"getComponent",value:function(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}},{key:"clone",value:function(){return new this.constructor(this.x,this.y,this.z,this.w)}},{key:"copy",value:function(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=void 0!==e.w?e.w:1,this}},{key:"add",value:function(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}},{key:"addScalar",value:function(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}},{key:"addVectors",value:function(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}},{key:"addScaledVector",value:function(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}},{key:"sub",value:function(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}},{key:"subScalar",value:function(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}},{key:"subVectors",value:function(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}},{key:"multiply",value:function(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}},{key:"multiplyScalar",value:function(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}},{key:"applyMatrix4",value:function(e){var t=this.x,n=this.y,r=this.z,i=this.w,a=e.elements;return this.x=a[0]*t+a[4]*n+a[8]*r+a[12]*i,this.y=a[1]*t+a[5]*n+a[9]*r+a[13]*i,this.z=a[2]*t+a[6]*n+a[10]*r+a[14]*i,this.w=a[3]*t+a[7]*n+a[11]*r+a[15]*i,this}},{key:"divideScalar",value:function(e){return this.multiplyScalar(1/e)}},{key:"setAxisAngleFromQuaternion",value:function(e){this.w=2*Math.acos(e.w);var t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}},{key:"setAxisAngleFromRotationMatrix",value:function(e){var t,n,r,i,a=.01,o=.1,s=e.elements,l=s[0],u=s[4],c=s[8],d=s[1],f=s[5],h=s[9],p=s[2],v=s[6],m=s[10];if(Math.abs(u-d)<a&&Math.abs(c-p)<a&&Math.abs(h-v)<a){if(Math.abs(u+d)<o&&Math.abs(c+p)<o&&Math.abs(h+v)<o&&Math.abs(l+f+m-3)<o)return this.set(1,0,0,0),this;t=Math.PI;var g=(l+1)/2,y=(f+1)/2,b=(m+1)/2,x=(u+d)/4,w=(c+p)/4,S=(h+v)/4;return g>y&&g>b?g<a?(n=0,r=.707106781,i=.707106781):(r=x/(n=Math.sqrt(g)),i=w/n):y>b?y<a?(n=.707106781,r=0,i=.707106781):(n=x/(r=Math.sqrt(y)),i=S/r):b<a?(n=.707106781,r=.707106781,i=0):(n=w/(i=Math.sqrt(b)),r=S/i),this.set(n,r,i,t),this}var _=Math.sqrt((v-h)*(v-h)+(c-p)*(c-p)+(d-u)*(d-u));return Math.abs(_)<.001&&(_=1),this.x=(v-h)/_,this.y=(c-p)/_,this.z=(d-u)/_,this.w=Math.acos((l+f+m-1)/2),this}},{key:"min",value:function(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}},{key:"max",value:function(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}},{key:"clamp",value:function(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this.w=Math.max(e.w,Math.min(t.w,this.w)),this}},{key:"clampScalar",value:function(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this.w=Math.max(e,Math.min(t,this.w)),this}},{key:"clampLength",value:function(e,t){var n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))}},{key:"floor",value:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}},{key:"ceil",value:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}}
2,{key:"round",value:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}},{key:"roundToZero",value:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}},{key:"negate",value:function(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}},{key:"dot",value:function(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}},{key:"lengthSq",value:function(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}},{key:"length",value:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}},{key:"manhattanLength",value:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}},{key:"normalize",value:function(){return this.divideScalar(this.length()||1)}},{key:"setLength",value:function(e){return this.normalize().multiplyScalar(e)}},{key:"lerp",value:function(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}},{key:"lerpVectors",value:function(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this.w=e.w+(t.w-e.w)*n,this}},{key:"equals",value:function(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}},{key:"fromArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}},{key:"toArray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}},{key:"fromBufferAttribute",value:function(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}},{key:"random",value:function(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}},{key:e,value:(0,df.Z)().mark((function e(){return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.x;case 2:return e.next=4,this.y;case 4:return e.next=6,this.z;case 6:return e.next=8,this.w;case 8:case"end":return e.stop()}}),e,this)}))}]),t}(Symbol.iterator),cx=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,be.Z)(this,n),(e=t.call(this)).isWebGLRenderTarget=!0,e.width=r,e.height=i,e.depth=1,e.scissor=new ux(0,0,r,i),e.scissorTest=!1,e.viewport=new ux(0,0,r,i);var o={width:r,height:i,depth:1};return e.texture=new lx(o,a.mapping,a.wrapS,a.wrapT,a.magFilter,a.minFilter,a.format,a.type,a.anisotropy,a.encoding),e.texture.isRenderTargetTexture=!0,e.texture.flipY=!1,e.texture.generateMipmaps=void 0!==a.generateMipmaps&&a.generateMipmaps,e.texture.internalFormat=void 0!==a.internalFormat?a.internalFormat:null,e.texture.minFilter=void 0!==a.minFilter?a.minFilter:Tg,e.depthBuffer=void 0===a.depthBuffer||a.depthBuffer,e.stencilBuffer=void 0!==a.stencilBuffer&&a.stencilBuffer,e.depthTexture=void 0!==a.depthTexture?a.depthTexture:null,e.samples=void 0!==a.samples?a.samples:0,e}return(0,xe.Z)(n,[{key:"setSize",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;this.width===e&&this.height===t&&this.depth===n||(this.width=e,this.height=t,this.depth=n,this.texture.image.width=e,this.texture.image.height=t,this.texture.image.depth=n,this.dispose()),this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}},{key:"clone",value:function(){return(new this.constructor).copy(this)}},{key:"copy",value:function(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.texture.isRenderTargetTexture=!0;var t=Object.assign({},e.texture.image);return this.texture.source=new ax(t),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,null!==e.depthTexture&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}},{key:"dispose",value:function(){this.dispatchEvent({type:"dispose"})}}]),n}(Cb),dx=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return(0,be.Z)(this,n),(e=t.call(this,null)).isDataArrayTexture=!0,e.image={data:r,width:i,height:a,depth:o},e.magFilter=Sg,e.minFilter=Sg,e.wrapR=xg,e.generateMipmaps=!1,e.flipY=!1,e.unpackAlignment=1,e}return(0,xe.Z)(n)}(lx),fx=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,be.Z)(this,n),(e=t.call(this,r,i)).isWebGLArrayRenderTarget=!0,e.depth=a,e.texture=new dx(null,r,i,a),e.texture.isRenderTargetTexture=!0,e}return(0,xe.Z)(n)}(cx),hx=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return(0,be.Z)(this,n),(e=t.call(this,null)).isData3DTexture=!0,e.image={data:r,width:i,height:a,depth:o},e.magFilter=Sg,e.minFilter=Sg,e.wrapR=xg,e.generateMipmaps=!1,e.flipY=!1,e.unpackAlignment=1,e}return(0,xe.Z)(n)}(lx),px=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,be.Z)(this,n),(e=t.call(this,r,i)).isWebGL3DRenderTarget=!0,e.depth=a,e.texture=new hx(null,r,i,a),e.texture.isRenderTargetTexture=!0,e}return(0,xe.Z)(n)}(cx),vx=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,be.Z)(this,n),(e=t.call(this,r,i,o)).isWebGLMultipleRenderTargets=!0;var s=e.texture;e.texture=[];for(var l=0;l<a;l++)e.texture[l]=s.clone(),e.texture[l].isRenderTargetTexture=!0;return e}return(0,xe.Z)(n,[{key:"setSize",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(this.width!==e||this.height!==t||this.depth!==n){this.width=e,this.height=t,this.depth=n;for(var r=0,i=this.texture.length;r<i;r++)this.texture[r].image.width=e,this.texture[r].image.height=t,this.texture[r].image.depth=n;this.dispose()}return this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t),this}},{key:"copy",value:function(e){this.dispose(),this.width=e.width,this.height=e.height,this.depth=e.depth,this.viewport.set(0,0,this.width,this.height),this.scissor.set(0,0,this.width,this.height),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,null!==e.depthTexture&&(this.depthTexture=e.depthTexture.clone()),this.texture.length=0;for(var t=0,n=e.texture.length;t<n;t++)this.texture[t]=e.texture[t].clone(),this.texture[t].isRenderTargetTexture=!0;return this}}]),n}(cx),mx=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;(0,be.Z)(this,t),this.isQuaternion=!0,this._x=e,this._y=n,this._z=r,this._w=i}return(0,xe.Z)(t,[{key:"x",get:function(){return this._x},set:function(e){this._x=e,this._onChangeCallback()}},{key:"y",get:function(){return this._y},set:function(e){this._y=e,this._onChangeCallback()}},{key:"z",get:function(){return this._z},set:function(e){this._z=e,this._onChangeCallback()}},{key:"w",get:function(){return this._w},set:function(e){this._w=e,this._onChangeCallback()}},{key:"set",value:function(e,t,n,r){return this._x=e,this._y=t,this._z=n,this._w=r,this._onChangeCallback(),this}},{key:"clone",value:function(){return new this.constructor(this._x,this._y,this._z,this._w)}},{key:"copy",value:function(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}},{key:"setFromEuler",value:function(e,t){var n=e._x,r=e._y,i=e._z,a=e._order,o=Math.cos,s=Math.sin,l=o(n/2),u=o(r/2),c=o(i/2),d=s(n/2),f=s(r/2),h=s(i/2);switch(a){case"XYZ":this._x=d*u*c+l*f*h,this._y=l*f*c-d*u*h,this._z=l*u*h+d*f*c,this._w=l*u*c-d*f*h;break;case"YXZ":this._x=d*u*c+l*f*h,this._y=l*f*c-d*u*h,this._z=l*u*h-d*f*c,this._w=l*u*c+d*f*h;break;case"ZXY":this._x=d*u*c-l*f*h,this._y=l*f*c+d*u*h,this._z=l*u*h+d*f*c,this._w=l*u*c-d*f*h;break;case"ZYX":this._x=d*u*c-l*f*h,this._y=l*f*c+d*u*h,this._z=l*u*h-d*f*c,this._w=l*u*c+d*f*h;break;case"YZX":this._x=d*u*c+l*f*h,this._y=l*f*c+d*u*h,this._z=l*u*h-d*f*c,this._w=l*u*c-d*f*h;break;case"XZY":this._x=d*u*c-l*f*h,this._y=l*f*c-d*u*h,this._z=l*u*h+d*f*c,this._w=l*u*c+d*f*h;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+a)}return!1!==t&&this._onChangeCallback(),this}},{key:"setFromAxisAngle",value:function(e,t){var n=t/2,r=Math.sin(n);return this._x=e.x*r,this._y=e.y*r,this._z=e.z*r,this._w=Math.cos(n),this._onChangeCallback(),this}},{key:"setFromRotationMatrix",value:function(e){var t=e.elements,n=t[0],r=t[4],i=t[8],a=t[1],o=t[5],s=t[9],l=t[2],u=t[6],c=t[10],d=n+o+c;if(d>0){var f=.5/Math.sqrt(d+1);this._w=.25/f,this._x=(u-s)*f,this._y=(i-l)*f,this._z=(a-r)*f}else if(n>o&&n>c){var h=2*Math.sqrt(1+n-o-c);this._w=(u-s)/h,this._x=.25*h,this._y=(r+a)/h,this._z=(i+l)/h}else if(o>c){var p=2*Math.sqrt(1+o-n-c);this._w=(i-l)/p,this._x=(r+a)/p,this._y=.25*p,this._z=(s+u)/p}else{var v=2*Math.sqrt(1+c-n-o);this._w=(a-r)/v,this._x=(i+l)/v,this._y=(s+u)/v,this._z=.25*v}return this._onChangeCallback(),this}},{key:"setFromUnitVectors",value:function(e,t){var n=e.dot(t)+1;return n<Number.EPSILON?(n=0,Math.abs(e.x)>
2Math.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=n):(this._x=0,this._y=-e.z,this._z=e.y,this._w=n)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=n),this.normalize()}},{key:"angleTo",value:function(e){return 2*Math.acos(Math.abs(Zb(this.dot(e),-1,1)))}},{key:"rotateTowards",value:function(e,t){var n=this.angleTo(e);if(0===n)return this;var r=Math.min(1,t/n);return this.slerp(e,r),this}},{key:"identity",value:function(){return this.set(0,0,0,1)}},{key:"invert",value:function(){return this.conjugate()}},{key:"conjugate",value:function(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}},{key:"dot",value:function(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}},{key:"lengthSq",value:function(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}},{key:"length",value:function(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}},{key:"normalize",value:function(){var e=this.length();return 0===e?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}},{key:"multiply",value:function(e){return this.multiplyQuaternions(this,e)}},{key:"premultiply",value:function(e){return this.multiplyQuaternions(e,this)}},{key:"multiplyQuaternions",value:function(e,t){var n=e._x,r=e._y,i=e._z,a=e._w,o=t._x,s=t._y,l=t._z,u=t._w;return this._x=n*u+a*o+r*l-i*s,this._y=r*u+a*s+i*o-n*l,this._z=i*u+a*l+n*s-r*o,this._w=a*u-n*o-r*s-i*l,this._onChangeCallback(),this}},{key:"slerp",value:function(e,t){if(0===t)return this;if(1===t)return this.copy(e);var n=this._x,r=this._y,i=this._z,a=this._w,o=a*e._w+n*e._x+r*e._y+i*e._z;if(o<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,o=-o):this.copy(e),o>=1)return this._w=a,this._x=n,this._y=r,this._z=i,this;var s=1-o*o;if(s<=Number.EPSILON){var l=1-t;return this._w=l*a+t*this._w,this._x=l*n+t*this._x,this._y=l*r+t*this._y,this._z=l*i+t*this._z,this.normalize(),this._onChangeCallback(),this}var u=Math.sqrt(s),c=Math.atan2(u,o),d=Math.sin((1-t)*c)/u,f=Math.sin(t*c)/u;return this._w=a*d+this._w*f,this._x=n*d+this._x*f,this._y=r*d+this._y*f,this._z=i*d+this._z*f,this._onChangeCallback(),this}},{key:"slerpQuaternions",value:function(e,t,n){return this.copy(e).slerp(t,n)}},{key:"random",value:function(){var e=Math.random(),t=Math.sqrt(1-e),n=Math.sqrt(e),r=2*Math.PI*Math.random(),i=2*Math.PI*Math.random();return this.set(t*Math.cos(r),n*Math.sin(i),n*Math.cos(i),t*Math.sin(r))}},{key:"equals",value:function(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}},{key:"fromArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}},{key:"toArray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}},{key:"fromBufferAttribute",value:function(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this}},{key:"toJSON",value:function(){return this.toArray()}},{key:"_onChange",value:function(e){return this._onChangeCallback=e,this}},{key:"_onChangeCallback",value:function(){}},{key:e,value:(0,df.Z)().mark((function e(){return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._x;case 2:return e.next=4,this._y;case 4:return e.next=6,this._z;case 6:return e.next=8,this._w;case 8:case"end":return e.stop()}}),e,this)}))}],[{key:"slerpFlat",value:function(e,t,n,r,i,a,o){var s=n[r+0],l=n[r+1],u=n[r+2],c=n[r+3],d=i[a+0],f=i[a+1],h=i[a+2],p=i[a+3];if(0===o)return e[t+0]=s,e[t+1]=l,e[t+2]=u,void(e[t+3]=c);if(1===o)return e[t+0]=d,e[t+1]=f,e[t+2]=h,void(e[t+3]=p);if(c!==p||s!==d||l!==f||u!==h){var v=1-o,m=s*d+l*f+u*h+c*p,g=m>=0?1:-1,y=1-m*m;if(y>Number.EPSILON){var b=Math.sqrt(y),x=Math.atan2(b,m*g);v=Math.sin(v*x)/b,o=Math.sin(o*x)/b}var w=o*g;if(s=s*v+d*w,l=l*v+f*w,u=u*v+h*w,c=c*v+p*w,v===1-o){var S=1/Math.sqrt(s*s+l*l+u*u+c*c);s*=S,l*=S,u*=S,c*=S}}
2e[t]=s,e[t+1]=l,e[t+2]=u,e[t+3]=c}},{key:"multiplyQuaternionsFlat",value:function(e,t,n,r,i,a){var o=n[r],s=n[r+1],l=n[r+2],u=n[r+3],c=i[a],d=i[a+1],f=i[a+2],h=i[a+3];return e[t]=o*h+u*c+s*f-l*d,e[t+1]=s*h+u*d+l*c-o*f,e[t+2]=l*h+u*f+o*d-s*c,e[t+3]=u*h-o*c-s*d-l*f,e}}]),t}(Symbol.iterator),gx=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;(0,be.Z)(this,t),t.prototype.isVector3=!0,this.x=e,this.y=n,this.z=r}return(0,xe.Z)(t,[{key:"set",value:function(e,t,n){return void 0===n&&(n=this.z),this.x=e,this.y=t,this.z=n,this}},{key:"setScalar",value:function(e){return this.x=e,this.y=e,this.z=e,this}},{key:"setX",value:function(e){return this.x=e,this}},{key:"setY",value:function(e){return this.y=e,this}},{key:"setZ",value:function(e){return this.z=e,this}},{key:"setComponent",value:function(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}},{key:"getComponent",value:function(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}},{key:"clone",value:function(){return new this.constructor(this.x,this.y,this.z)}},{key:"copy",value:function(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}},{key:"add",value:function(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}},{key:"addScalar",value:function(e){return this.x+=e,this.y+=e,this.z+=e,this}},{key:"addVectors",value:function(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}},{key:"addScaledVector",value:function(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}},{key:"sub",value:function(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}},{key:"subScalar",value:function(e){return this.x-=e,this.y-=e,this.z-=e,this}},{key:"subVectors",value:function(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}},{key:"multiply",value:function(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}},{key:"multiplyScalar",value:function(e){return this.x*=e,this.y*=e,this.z*=e,this}},{key:"multiplyVectors",value:function(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}},{key:"applyEuler",value:function(e){return this.applyQuaternion(bx.setFromEuler(e))}},{key:"applyAxisAngle",value:function(e,t){return this.applyQuaternion(bx.setFromAxisAngle(e,t))}},{key:"applyMatrix3",value:function(e){var t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[3]*n+i[6]*r,this.y=i[1]*t+i[4]*n+i[7]*r,this.z=i[2]*t+i[5]*n+i[8]*r,this}},{key:"applyNormalMatrix",value:function(e){return this.applyMatrix3(e).normalize()}},{key:"applyMatrix4",value:function(e){var t=this.x,n=this.y,r=this.z,i=e.elements,a=1/(i[3]*t+i[7]*n+i[11]*r+i[15]);return this.x=(i[0]*t+i[4]*n+i[8]*r+i[12])*a,this.y=(i[1]*t+i[5]*n+i[9]*r+i[13])*a,this.z=(i[2]*t+i[6]*n+i[10]*r+i[14])*a,this}},{key:"applyQuaternion",value:function(e){var t=this.x,n=this.y,r=this.z,i=e.x,a=e.y,o=e.z,s=e.w,l=s*t+a*r-o*n,u=s*n+o*t-i*r,c=s*r+i*n-a*t,d=-i*t-a*n-o*r;return this.x=l*s+d*-i+u*-o-c*-a,this.y=u*s+d*-a+c*-i-l*-o,this.z=c*s+d*-o+l*-a-u*-i,this}},{key:"project",value:function(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}},{key:"unproject",value:function(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}},{key:"transformDirection",value:function(e){var t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[4]*n+i[8]*r,this.y=i[1]*t+i[5]*n+i[9]*r,this.z=i[2]*t+i[6]*n+i[10]*r,this.normalize()}},{key:"divide",value:function(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}},{key:"divideScalar",value:function(e){return this.multiplyScalar(1/e)}},{key:"min",value:function(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}},{key:"max",value:function(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}},{key:"clamp",value:function(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this}},{key:"clampScalar",value:function(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this}},{key:"clampLength",value:function(e,t){var n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))}},{key:"floor",value:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}},{key:"ceil",value:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}}
2,{key:"round",value:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}},{key:"roundToZero",value:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}},{key:"negate",value:function(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}},{key:"dot",value:function(e){return this.x*e.x+this.y*e.y+this.z*e.z}},{key:"lengthSq",value:function(){return this.x*this.x+this.y*this.y+this.z*this.z}},{key:"length",value:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}},{key:"manhattanLength",value:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}},{key:"normalize",value:function(){return this.divideScalar(this.length()||1)}},{key:"setLength",value:function(e){return this.normalize().multiplyScalar(e)}},{key:"lerp",value:function(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}},{key:"lerpVectors",value:function(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this}},{key:"cross",value:function(e){return this.crossVectors(this,e)}},{key:"crossVectors",value:function(e,t){var n=e.x,r=e.y,i=e.z,a=t.x,o=t.y,s=t.z;return this.x=r*s-i*o,this.y=i*a-n*s,this.z=n*o-r*a,this}},{key:"projectOnVector",value:function(e){var t=e.lengthSq();if(0===t)return this.set(0,0,0);var n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)}},{key:"projectOnPlane",value:function(e){return yx.copy(this).projectOnVector(e),this.sub(yx)}},{key:"reflect",value:function(e){return this.sub(yx.copy(e).multiplyScalar(2*this.dot(e)))}},{key:"angleTo",value:function(e){var t=Math.sqrt(this.lengthSq()*e.lengthSq());if(0===t)return Math.PI/2;var n=this.dot(e)/t;return Math.acos(Zb(n,-1,1))}},{key:"distanceTo",value:function(e){return Math.sqrt(this.distanceToSquared(e))}},{key:"distanceToSquared",value:function(e){var t=this.x-e.x,n=this.y-e.y,r=this.z-e.z;return t*t+n*n+r*r}},{key:"manhattanDistanceTo",value:function(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}},{key:"setFromSpherical",value:function(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}},{key:"setFromSphericalCoords",value:function(e,t,n){var r=Math.sin(t)*e;return this.x=r*Math.sin(n),this.y=Math.cos(t)*e,this.z=r*Math.cos(n),this}},{key:"setFromCylindrical",value:function(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}},{key:"setFromCylindricalCoords",value:function(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this}},{key:"setFromMatrixPosition",value:function(e){var t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}},{key:"setFromMatrixScale",value:function(e){var t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),r=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=r,this}},{key:"setFromMatrixColumn",value:function(e,t){return this.fromArray(e.elements,4*t)}},{key:"setFromMatrix3Column",value:function(e,t){return this.fromArray(e.elements,3*t)}},{key:"setFromEuler",value:function(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}},{key:"setFromColor",value:function(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}},{key:"equals",value:function(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}},{key:"fromArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}},{key:"toArray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}},{key:"fromBufferAttribute",value:function(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}},{key:"random",value:function(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}},{key:"randomDirection",value:function(){var e=2*(Math.random()-.5),t=Math.random()*Math.PI*2,n=Math.sqrt(1-Math.pow(e,2));return this.x=n*Math.cos(t),this.y=n*Math.sin(t),this.z=e,this}},{key:e,value:(0,df.Z)().mark((function e(){return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.x;case 2:return e.next=4,this.y;case 4:return e.next=6,this.z;case 6:case"end":return e.stop()}}),e,this)}))}]),t}
2(Symbol.iterator),yx=new gx,bx=new mx,xx=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new gx(1/0,1/0,1/0),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx(-1/0,-1/0,-1/0);(0,be.Z)(this,e),this.isBox3=!0,this.min=t,this.max=n}return(0,xe.Z)(e,[{key:"set",value:function(e,t){return this.min.copy(e),this.max.copy(t),this}},{key:"setFromArray",value:function(e){this.makeEmpty();for(var t=0,n=e.length;t<n;t+=3)this.expandByPoint(Sx.fromArray(e,t));return this}},{key:"setFromBufferAttribute",value:function(e){this.makeEmpty();for(var t=0,n=e.count;t<n;t++)this.expandByPoint(Sx.fromBufferAttribute(e,t));return this}},{key:"setFromPoints",value:function(e){this.makeEmpty();for(var t=0,n=e.length;t<n;t++)this.expandByPoint(e[t]);return this}},{key:"setFromCenterAndSize",value:function(e,t){var n=Sx.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(n),this.max.copy(e).add(n),this}},{key:"setFromObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.makeEmpty(),this.expandByObject(e,t)}},{key:"clone",value:function(){return(new this.constructor).copy(this)}},{key:"copy",value:function(e){return this.min.copy(e.min),this.max.copy(e.max),this}},{key:"makeEmpty",value:function(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}},{key:"isEmpty",value:function(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}},{key:"getCenter",value:function(e){return this.isEmpty()?e.set(0,0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}},{key:"getSize",value:function(e){return this.isEmpty()?e.set(0,0,0):e.subVectors(this.max,this.min)}},{key:"expandByPoint",value:function(e){return this.min.min(e),this.max.max(e),this}},{key:"expandByVector",value:function(e){return this.min.sub(e),this.max.add(e),this}},{key:"expandByScalar",value:function(e){return this.min.addScalar(-e),this.max.addScalar(e),this}},{key:"expandByObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.updateWorldMatrix(!1,!1),void 0!==e.boundingBox)null===e.boundingBox&&e.computeBoundingBox(),_x.copy(e.boundingBox),_x.applyMatrix4(e.matrixWorld),this.union(_x);else{var n=e.geometry;if(void 0!==n)if(t&&void 0!==n.attributes&&void 0!==n.attributes.position)for(var r=n.attributes.position,i=0,a=r.count;i<a;i++)Sx.fromBufferAttribute(r,i).applyMatrix4(e.matrixWorld),this.expandByPoint(Sx);else null===n.boundingBox&&n.computeBoundingBox(),_x.copy(n.boundingBox),_x.applyMatrix4(e.matrixWorld),this.union(_x)}for(var o=e.children,s=0,l=o.length;s<l;s++)this.expandByObject(o[s],t);return this}},{key:"containsPoint",value:function(e){return!(e.x<this.min.x||e.x>this.max.x||e.y<this.min.y||e.y>this.max.y||e.z<this.min.z||e.z>this.max.z)}},{key:"containsBox",value:function(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}},{key:"getParameter",value:function(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}},{key:"intersectsBox",value:function(e){return!(e.max.x<this.min.x||e.min.x>this.max.x||e.max.y<this.min.y||e.min.y>this.max.y||e.max.z<this.min.z||e.min.z>this.max.z)}},{key:"intersectsSphere",value:function(e){return this.clampPoint(e.center,Sx),Sx.distanceToSquared(e.center)<=e.radius*e.radius}},{key:"intersectsPlane",value:function(e){var t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant}},{key:"intersectsTriangle",value:function(e){if(this.isEmpty())return!1;this.getCenter(Px),Rx.subVectors(this.max,Px),kx.subVectors(e.a,Px),Mx.subVectors(e.b,Px),Ex.subVectors(e.c,Px),Tx.subVectors(Mx,kx),Cx.subVectors(Ex,Mx),Ax.subVectors(kx,Ex);var t=[0,-Tx.z,Tx.y,0,-Cx.z,Cx.y,0,-Ax.z,Ax.y,Tx.z,0,-Tx.x,Cx.z,0,-Cx.x,Ax.z,0,-Ax.x,-Tx.y,Tx.x,0,-Cx.y,Cx.x,0,-Ax.y,Ax.x,0];return!!Zx(t,kx,Mx,Ex,Rx)&&(!!Zx(t=[1,0,0,0,1,0,0,0,1],kx,Mx,Ex,Rx)&&(Ox.crossVectors(Tx,Cx),Zx(t=[Ox.x,Ox.y,Ox.z],kx,Mx,Ex,Rx)))}},{key:"clampPoint",value:function(e,t){return t.copy(e).clamp(this.min,this.max)}},{key:"distanceToPoint",value:function(e){return this.clampPoint(e,Sx).distanceTo(e)}},{key:"getBoundingSphere",value:function(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=.5*this.getSize(Sx).length()),e}},{key:"intersect",value:function(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}},{key:"union",value:function(e){return this.min.min(e.min),this.max.max(e.max),this}},{key:"applyMatrix4",value:function(e){return this.isEmpty()||(wx[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),wx[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),wx[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),wx[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),wx[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),wx[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),wx[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),wx[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(wx)),this}},{key:"translate",value:function(e){return this.min.add(e),this.max.add(e),this}},{key:"equals",value:function(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}]),e}(),wx=[new gx,new gx,new gx,new gx,new gx,new gx,new gx,new gx],Sx=new gx,_x=new xx,kx=new gx,Mx=new gx,Ex=new gx,Tx=new gx,Cx=new gx,Ax=new gx,Px=new gx,Rx=new gx,Ox=new gx,Lx=new gx;function Zx(e,t,n,r,i){for(var a=0,o=e.length-3;a<=o;a+=3){Lx.fromArray(e,a);var s=i.x*Math.abs(Lx.x)+i.y*Math.abs(Lx.y)+i.z*Math.abs(Lx.z),l=t.dot(Lx),u=n.dot(Lx),c=r.dot(Lx);if(Math.max(-Math.max(l,u,c),Math.min(l,u,c))>s)return!1}return!0}var Nx=new xx,Ix=new gx,jx=new gx,Dx=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new gx,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;(0,be.Z)(this,e),this.center=t,this.radius=n}return(0,xe.Z)(e,[{key:"set",value:function(e,t){return this.center.copy(e),this.radius=t,this}},{key:"setFromPoints",value:function(e,t){var n=this.center;void 0!==t?n.copy(t):Nx.setFromPoints(e).getCenter(n);for(var r=0,i=0,a=e.length;i<a;i++)r=Math.max(r,n.distanceToSquared(e[i]));return this.radius=Math.sqrt(r),this}},{key:"copy",value:function(e){return this.center.copy(e.center),this.radius=e.radius,this}},{key:"isEmpty",value:function(){return this.radius<0}},{key:"makeEmpty",value:function(){return this.center.set(0,0,0),this.radius=-1,this}},{key:"containsPoint",value:function(e){return e.distanceToSquared(this.center)<=this.radius*this.radius}},{key:"distanceToPoint",value:function(e){return e.distanceTo(this.center)-this.radius}},{key:"intersectsSphere",value:function(e){var t=this.radius+e.radius;return e.center.distanceToSquared(this.center)<=t*t}},{key:"intersectsBox",value:function(e){return e.intersectsSphere(this)}},{key:"intersectsPlane",value:function(e){return Math.abs(e.distanceToPoint(this.center))<=this.radius}},{key:"clampPoint",value:function(e,t){var n=this.center.distanceToSquared(e);return t.copy(e),n>this.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}},{key:"getBoundingBox",value:function(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}},{key:"applyMatrix4",value:function(e){return this.center.applyM
2atrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}},{key:"translate",value:function(e){return this.center.add(e),this}},{key:"expandByPoint",value:function(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;Ix.subVectors(e,this.center);var t=Ix.lengthSq();if(t>this.radius*this.radius){var n=Math.sqrt(t),r=.5*(n-this.radius);this.center.addScaledVector(Ix,r/n),this.radius+=r}return this}},{key:"union",value:function(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(!0===this.center.equals(e.center)?this.radius=Math.max(this.radius,e.radius):(jx.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(Ix.copy(e.center).add(jx)),this.expandByPoint(Ix.copy(e.center).sub(jx))),this)}},{key:"equals",value:function(e){return e.center.equals(this.center)&&e.radius===this.radius}},{key:"clone",value:function(){return(new this.constructor).copy(this)}}]),e}(),zx=new gx,Ux=new gx,Fx=new gx,Bx=new gx,Vx=new gx,Hx=new gx,Wx=new gx,Gx=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new gx,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx(0,0,-1);(0,be.Z)(this,e),this.origin=t,this.direction=n}return(0,xe.Z)(e,[{key:"set",value:function(e,t){return this.origin.copy(e),this.direction.copy(t),this}},{key:"copy",value:function(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}},{key:"at",value:function(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}},{key:"lookAt",value:function(e){return this.direction.copy(e).sub(this.origin).normalize(),this}},{key:"recast",value:function(e){return this.origin.copy(this.at(e,zx)),this}},{key:"closestPointToPoint",value:function(e,t){t.subVectors(e,this.origin);var n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,n)}},{key:"distanceToPoint",value:function(e){return Math.sqrt(this.distanceSqToPoint(e))}},{key:"distanceSqToPoint",value:function(e){var t=zx.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(zx.copy(this.origin).addScaledVector(this.direction,t),zx.distanceToSquared(e))}},{key:"distanceSqToSegment",value:function(e,t,n,r){Ux.copy(e).add(t).multiplyScalar(.5),Fx.copy(t).sub(e).normalize(),Bx.copy(this.origin).sub(Ux);var i,a,o,s,l=.5*e.distanceTo(t),u=-this.direction.dot(Fx),c=Bx.dot(this.direction),d=-Bx.dot(Fx),f=Bx.lengthSq(),h=Math.abs(1-u*u);if(h>0)if(a=u*c-d,s=l*h,(i=u*d-c)>=0)if(a>=-s)if(a<=s){var p=1/h;o=(i*=p)*(i+u*(a*=p)+2*c)+a*(u*i+a+2*d)+f}else a=l,o=-(i=Math.max(0,-(u*a+c)))*i+a*(a+2*d)+f;else a=-l,o=-(i=Math.max(0,-(u*a+c)))*i+a*(a+2*d)+f;else a<=-s?o=-(i=Math.max(0,-(-u*l+c)))*i+(a=i>0?-l:Math.min(Math.max(-l,-d),l))*(a+2*d)+f:a<=s?(i=0,o=(a=Math.min(Math.max(-l,-d),l))*(a+2*d)+f):o=-(i=Math.max(0,-(u*l+c)))*i+(a=i>0?l:Math.min(Math.max(-l,-d),l))*(a+2*d)+f;else a=u>0?-l:l,o=-(i=Math.max(0,-(u*a+c)))*i+a*(a+2*d)+f;return n&&n.copy(this.origin).addScaledVector(this.direction,i),r&&r.copy(Ux).addScaledVector(Fx,a),o}},{key:"intersectSphere",value:function(e,t){zx.subVectors(e.center,this.origin);var n=zx.dot(this.direction),r=zx.dot(zx)-n*n,i=e.radius*e.radius;if(r>i)return null;var a=Math.sqrt(i-r),o=n-a,s=n+a;return s<0?null:o<0?this.at(s,t):this.at(o,t)}},{key:"intersectsSphere",value:function(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}},{key:"distanceToPlane",value:function(e){var t=e.normal.dot(this.direction);if(0===t)return 0===e.distanceToPoint(this.origin)?0:null;var n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null}},{key:"intersectPlane",value:function(e,t){var n=this.distanceToPlane(e);return null===n?null:this.at(n,t)}},{key:"intersectsPlane",value:function(e){var t=e.distanceToPoint(this.origin);return 0===t||e.normal.dot(this.direction)*t<0}},{key:"intersectBox",value:function(e,t){var n,r,i,a,o,s,l=1/this.direction.x,u=1/this.direction.y,c=1/this.direction.z,d=this.origin;return l>=0?(n=(e.min.x-d.x)*l,r=(e.max.x-d.x)*l):(n=(e.max.x-d.x)*l,r=(e.min.x-d.x)*l),u>=0?(i=(e.min.y-d.y)*u,a=(e.max.y-d.y)*u):(i=(e.max.y-d.y)*u,a=(e.min.y-d.y)*u),n>a||i>r?null:((i>n||isNaN(n))&&(n=i),(a<r||isNaN(r))&&(r=a),c>=0?(o=(e.min.z-d.z)*c,s=(e.max.z-d.z)*c):(o=(e.max.z-d.z)*c,s=(e.min.z-d.z)*c),n>s||o>r?null:((o>n||n!==n)&&(n=o),(s<r||r!==r)&&(r=s),r<0?null:this.at(n>=0?n:r,t)))}},{key:"intersectsBox",value:function(e){return null!==this.intersectBox(e,zx)}},{key:"intersectTriangle",value:function(e,t,n,r,i){Vx.subVectors(t,e),Hx.subVectors(n,e),Wx.crossVectors(Vx,Hx);var a,o=this.direction.dot(Wx);if(o>0){if(r)return null;a=1}else{if(!(o<0))return null;a=-1,o=-o}Bx.subVectors(this.origin,e);var s=a*this.direction.dot(Hx.crossVectors(Bx,Hx));if(s<0)return null;var l=a*this.direction.dot(Vx.cross(Bx));if(l<0)return null;if(s+l>o)return null;var u=-a*Bx.dot(Wx);return u<0?null:this.at(u/o,i)}},{key:"applyMatrix4",value:function(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}},{key:"equals",value:function(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}},{key:"clone",value:function(){return(new this.constructor).copy(this)}}]),e}(),qx=function(){function e(){(0,be.Z)(this,e),e.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}return(0,xe.Z)(e,[{key:"set",value:function(e,t,n,r,i,a,o,s,l,u,c,d,f,h,p,v){var m=this.elements;return m[0]=e,m[4]=t,m[8]=n,m[12]=r,m[1]=i,m[5]=a,m[9]=o,m[13]=s,m[2]=l,m[6]=u,m[10]=c,m[14]=d,m[3]=f,m[7]=h,m[11]=p,m[15]=v,this}},{key:"identity",value:function(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}},{key:"clone",value:function(){return(new e).fromArray(this.elements)}},{key:"copy",value:function(e){var t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],this}},{key:"copyPosition",value:function(e){var t=this.elements,n=e.elements;return t[12]=n[12],t[13]=n[13],t[14]=n[14],this}},{key:"setFromMatrix3",value:function(e){var t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}},{key:"extractBasis",value:function(e,t,n){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}},{key:"makeBasis",value:function(e,t,n){return this.set(e.x,t.x,n.x,0,e.y,t.y,n.y,0,e.z,t.z,n.z,0,0,0,0,1),this}},{key:"extractRotation",value:function(e){var t=this.elements,n=e.elements,r=1/Xx.setFromMatrixColumn(e,0).length(),i=1/Xx.setFromMatrixColumn(e,1).length(),a=1/Xx.setFromMatrixColumn(e,2).length();return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=0,t[4]=n[4]*i,t[5]=n[5]*i,t[6]=n[6]*i,t[7]=0,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}},{key:"makeRotationFromEuler",value:function(e){var t=this.elements,n=e.x,r=e.y,i=e.z,a=Math.cos(n),o=Math.sin(n),s=Math.cos(r),l=Math.sin(r),u=Math.cos(i),c=Math.sin(i);if("XYZ"===e.order){var d=a*u,f=a*c,h=o*u,p=o*c;t[0]=s*u,t[4]=-s*c,t[8]=l,t[1]=f+h*l,t[5]=d-p*l,t[9]=-o*s,t[2]=p-d*l,t[6]=h+f*l,t[10]=a*s}else if("YXZ"===e.order){var v=s*u,m=s*c,g=l*u,y=l*c;t[0]=v+y*o,t[4]=g*o-m,t[8]=a*l,t[1]=a*c,t[5]=a*u,t[9]=-o,t[2]=m*o-g,t[6]=y+v*o,t[10]=a*s}else if("ZXY"===e.order){var b=s*u,x=s*c,w=l*u,S=l*c;t[0]=b-S*o,t[4]=-a*c,t[8]=w+x*o,t[1]=x+w*o,t[5]=a*u,t[9]=S-b*o,t[2]=-a*l,t[6]=o,t[10]=a*s}else if("ZYX"===e.order){var _=a*u,k=a*c,M=o*u,E=o*c;t[0]=s*u,t[4]=M*l-k,t[8]=_*l+E,t[1]=s*c,t[5]=E*l+_,t[9]=k*l-M,t[2]=-l,t[6]=o*s,t[10]=a*s}else if("YZX"===e.order){var T=a*s,C=a*l,A=o*s,P=o*l;t[0]=s*u,t[4]=P-T*c,t[8]=A*c+C,t[1]=c,t[5]=a*u,t[9]=-o*u,t[2]=-l*u,t[6]=C*c+A,t[10]=T-P*c}
vendor: 5,834 bytes, line 2
2else if("XZY"===e.order){var R=a*s,O=a*l,L=o*s,Z=o*l;t[0]=s*u,t[4]=-c,t[8]=l*u,t[1]=R*c+Z,t[5]=a*u,t[9]=O*c-L,t[2]=L*c-O,t[6]=o*u,t[10]=Z*c+R}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}},{key:"makeRotationFromQuaternion",value:function(e){return this.compose(Jx,e,Kx)}},{key:"lookAt",value:function(e,t,n){var r=this.elements;return ew.subVectors(e,t),0===ew.lengthSq()&&(ew.z=1),ew.normalize(),Qx.crossVectors(n,ew),0===Qx.lengthSq()&&(1===Math.abs(n.z)?ew.x+=1e-4:ew.z+=1e-4,ew.normalize(),Qx.crossVectors(n,ew)),Qx.normalize(),$x.crossVectors(ew,Qx),r[0]=Qx.x,r[4]=$x.x,r[8]=ew.x,r[1]=Qx.y,r[5]=$x.y,r[9]=ew.y,r[2]=Qx.z,r[6]=$x.z,r[10]=ew.z,this}},{key:"multiply",value:function(e){return this.multiplyMatrices(this,e)}},{key:"premultiply",value:function(e){return this.multiplyMatrices(e,this)}},{key:"multiplyMatrices",value:function(e,t){var n=e.elements,r=t.elements,i=this.elements,a=n[0],o=n[4],s=n[8],l=n[12],u=n[1],c=n[5],d=n[9],f=n[13],h=n[2],p=n[6],v=n[10],m=n[14],g=n[3],y=n[7],b=n[11],x=n[15],w=r[0],S=r[4],_=r[8],k=r[12],M=r[1],E=r[5],T=r[9],C=r[13],A=r[2],P=r[6],R=r[10],O=r[14],L=r[3],Z=r[7],N=r[11],I=r[15];return i[0]=a*w+o*M+s*A+l*L,i[4]=a*S+o*E+s*P+l*Z,i[8]=a*_+o*T+s*R+l*N,i[12]=a*k+o*C+s*O+l*I,i[1]=u*w+c*M+d*A+f*L,i[5]=u*S+c*E+d*P+f*Z,i[9]=u*_+c*T+d*R+f*N,i[13]=u*k+c*C+d*O+f*I,i[2]=h*w+p*M+v*A+m*L,i[6]=h*S+p*E+v*P+m*Z,i[10]=h*_+p*T+v*R+m*N,i[14]=h*k+p*C+v*O+m*I,i[3]=g*w+y*M+b*A+x*L,i[7]=g*S+y*E+b*P+x*Z,i[11]=g*_+y*T+b*R+x*N,i[15]=g*k+y*C+b*O+x*I,this}},{key:"multiplyScalar",value:function(e){var t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}},{key:"determinant",value:function(){var e=this.elements,t=e[0],n=e[4],r=e[8],i=e[12],a=e[1],o=e[5],s=e[9],l=e[13],u=e[2],c=e[6],d=e[10],f=e[14];return e[3]*(+i*s*c-r*l*c-i*o*d+n*l*d+r*o*f-n*s*f)+e[7]*(+t*s*f-t*l*d+i*a*d-r*a*f+r*l*u-i*s*u)+e[11]*(+t*l*c-t*o*f-i*a*c+n*a*f+i*o*u-n*l*u)+e[15]*(-r*o*u-t*s*c+t*o*d+r*a*c-n*a*d+n*s*u)}},{key:"transpose",value:function(){var e,t=this.elements;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}},{key:"setPosition",value:function(e,t,n){var r=this.elements;return e.isVector3?(r[12]=e.x,r[13]=e.y,r[14]=e.z):(r[12]=e,r[13]=t,r[14]=n),this}},{key:"invert",value:function(){var e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],l=e[7],u=e[8],c=e[9],d=e[10],f=e[11],h=e[12],p=e[13],v=e[14],m=e[15],g=c*v*l-p*d*l+p*s*f-o*v*f-c*s*m+o*d*m,y=h*d*l-u*v*l-h*s*f+a*v*f+u*s*m-a*d*m,b=u*p*l-h*c*l+h*o*f-a*p*f-u*o*m+a*c*m,x=h*c*s-u*p*s-h*o*d+a*p*d+u*o*v-a*c*v,w=t*g+n*y+r*b+i*x;if(0===w)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);var S=1/w;return e[0]=g*S,e[1]=(p*d*i-c*v*i-p*r*f+n*v*f+c*r*m-n*d*m)*S,e[2]=(o*v*i-p*s*i+p*r*l-n*v*l-o*r*m+n*s*m)*S,e[3]=(c*s*i-o*d*i-c*r*l+n*d*l+o*r*f-n*s*f)*S,e[4]=y*S,e[5]=(u*v*i-h*d*i+h*r*f-t*v*f-u*r*m+t*d*m)*S,e[6]=(h*s*i-a*v*i-h*r*l+t*v*l+a*r*m-t*s*m)*S,e[7]=(a*d*i-u*s*i+u*r*l-t*d*l-a*r*f+t*s*f)*S,e[8]=b*S,e[9]=(h*c*i-u*p*i-h*n*f+t*p*f+u*n*m-t*c*m)*S,e[10]=(a*p*i-h*o*i+h*n*l-t*p*l-a*n*m+t*o*m)*S,e[11]=(u*o*i-a*c*i-u*n*l+t*c*l+a*n*f-t*o*f)*S,e[12]=x*S,e[13]=(u*p*r-h*c*r+h*n*d-t*p*d-u*n*v+t*c*v)*S,e[14]=(h*o*r-a*p*r-h*n*s+t*p*s+a*n*v-t*o*v)*S,e[15]=(a*c*r-u*o*r+u*n*s-t*c*s-a*n*d+t*o*d)*S,this}},{key:"scale",value:function(e){var t=this.elements,n=e.x,r=e.y,i=e.z;return t[0]*=n,t[4]*=r,t[8]*=i,t[1]*=n,t[5]*=r,t[9]*=i,t[2]*=n,t[6]*=r,t[10]*=i,t[3]*=n,t[7]*=r,t[11]*=i,this}},{key:"getMaxScaleOnAxis",value:function(){var e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],n=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],r=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,n,r))}},{key:"makeTranslation",value:function(e,t,n){return this.set(1,0,0,e,0,1,0,t,0,0,1,n,0,0,0,1),this}},{key:"makeRotationX",value:function(e){var t=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1),this}},{key:"makeRotationY",value:function(e){var t=Math.cos(e),n=Math.sin(e);return this.set(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1),this}},{key:"makeRotationZ",value:function(e){var t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1),this}},{key:"makeRotationAxis",value:function(e,t){var n=Math.cos(t),r=Math.sin(t),i=1-n,a=e.x,o=e.y,s=e.z,l=i*a,u=i*o;return this.set(l*a+n,l*o-r*s,l*s+r*o,0,l*o+r*s,u*o+n,u*s-r*a,0,l*s-r*o,u*s+r*a,i*s*s+n,0,0,0,0,1),this}},{key:"makeScale",value:function(e,t,n){return this.set(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1),this}},{key:"makeShear",value:function(e,t,n,r,i,a){return this.set(1,n,i,0,e,1,a,0,t,r,1,0,0,0,0,1),this}},{key:"compose",value:function(e,t,n){var r=this.elements,i=t._x,a=t._y,o=t._z,s=t._w,l=i+i,u=a+a,c=o+o,d=i*l,f=i*u,h=i*c,p=a*u,v=a*c,m=o*c,g=s*l,y=s*u,b=s*c,x=n.x,w=n.y,S=n.z;return r[0]=(1-(p+m))*x,r[1]=(f+b)*x,r[2]=(h-y)*x,r[3]=0,r[4]=(f-b)*w,r[5]=(1-(d+m))*w,r[6]=(v+g)*w,r[7]=0,r[8]=(h+y)*S,r[9]=(v-g)*S,r[10]=(1-(d+p))*S,r[11]=0,r[12]=e.x,r[13]=e.y,r[14]=e.z,r[15]=1,this}},{key:"decompose",value:function(e,t,n){var r=this.elements,i=Xx.set(r[0],r[1],r[2]).length(),a=Xx.set(r[4],r[5],r[6]).length(),o=Xx.set(r[8],r[9],r[10]).length();this.determinant()<0&&(i=-i),e.x=r[12],e.y=r[13],e.z=r[14],Yx.copy(this);var s=1/i,l=1/a,u=1/o;return Yx.elements[0]*=s,Yx.elements[1]*=s,Yx.elements[2]*=s,Yx.elements[4]*=l,Yx.elements[5]*=l,Yx.elements[6]*=l,Yx.elements[8]*=u,Yx.elements[9]*=u,Yx.elements[10]*=u,t.setFromRotationMatrix(Yx),n.x=i,n.y=a,n.z=o,this}},{key:"makePerspective",value:function(e,t,n,r,i,a){var o=this.elements,s=2*i/(t-e),l=2*i/(n-r),u=(t+e)/(t-e),c=(n+r)/(n-r),d=-(a+i)/(a-i),f=-2*a*i/(a-i);return o[0]=s,o[4]=0,o[8]=u,o[12]=0,o[1]=0,o[5]=l,o[9]=c,o[13]=0,o[2]=0,o[6]=0,o[10]=d,o[14]=f,o[3]=0,o[7]=0,o[11]=-1,o[15]=0,this}}
2,{key:"makeOrthographic",value:function(e,t,n,r,i,a){var o=this.elements,s=1/(t-e),l=1/(n-r),u=1/(a-i),c=(t+e)*s,d=(n+r)*l,f=(a+i)*u;return o[0]=2*s,o[4]=0,o[8]=0,o[12]=-c,o[1]=0,o[5]=2*l,o[9]=0,o[13]=-d,o[2]=0,o[6]=0,o[10]=-2*u,o[14]=-f,o[3]=0,o[7]=0,o[11]=0,o[15]=1,this}},{key:"equals",value:function(e){for(var t=this.elements,n=e.elements,r=0;r<16;r++)if(t[r]!==n[r])return!1;return!0}},{key:"fromArray",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=0;n<16;n++)this.elements[n]=e[n+t];return this}},{key:"toArray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e[t+9]=n[9],e[t+10]=n[10],e[t+11]=n[11],e[t+12]=n[12],e[t+13]=n[13],e[t+14]=n[14],e[t+15]=n[15],e}}]),e}(),Xx=new gx,Yx=new qx,Jx=new gx(0,0,0),Kx=new gx(1,1,1),Qx=new gx,$x=new gx,ew=new gx,tw=new qx,nw=new mx,rw=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.DEFAULT_ORDER;(0,be.Z)(this,t),this.isEuler=!0,this._x=e,this._y=n,this._z=r,this._order=i}return(0,xe.Z)(t,[{key:"x",get:function(){return this._x},set:function(e){this._x=e,this._onChangeCallback()}},{key:"y",get:function(){return this._y},set:function(e){this._y=e,this._onChangeCallback()}},{key:"z",get:function(){return this._z},set:function(e){this._z=e,this._onChangeCallback()}},{key:"order",get:function(){return this._order},set:function(e){this._order=e,this._onChangeCallback()}},{key:"set",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this._order;return this._x=e,this._y=t,this._z=n,this._order=r,this._onChangeCallback(),this}},{key:"clone",value:function(){return new this.constructor(this._x,this._y,this._z,this._order)}},{key:"copy",value:function(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}},{key:"setFromRotationMatrix",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._order,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=e.elements,i=r[0],a=r[4],o=r[8],s=r[1],l=r[5],u=r[9],c=r[2],d=r[6],f=r[10];switch(t){case"XYZ":this._y=Math.asin(Zb(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(-u,f),this._z=Math.atan2(-a,i)):(this._x=Math.atan2(d,l),this._z=0);break;case"YXZ":this._x=Math.asin(-Zb(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(o,f),this._z=Math.atan2(s,l)):(this._y=Math.atan2(-c,i),this._z=0);break;case"ZXY":this._x=Math.asin(Zb(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-c,f),this._z=Math.atan2(-a,l)):(this._y=0,this._z=Math.atan2(s,i));break;case"ZYX":this._y=Math.asin(-Zb(c,-1,1)),Math.abs(c)<.9999999?(this._x=Math.atan2(d,f),this._z=Math.atan2(s,i)):(this._x=0,this._z=Math.atan2(-a,l));break;case"YZX":this._z=Math.asin(Zb(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-u,l),this._y=Math.atan2(-c,i)):(this._x=0,this._y=Math.atan2(o,f));break;case"XZY":this._z=Math.asin(-Zb(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(d,l),this._y=Math.atan2(o,i)):(this._x=Math.atan2(-u,f),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,!0===n&&this._onChangeCallback(),this}},{key:"setFromQuaternion",value:function(e,t,n){return tw.makeRotationFromQuaternion(e),this.setFromRotationMatrix(tw,t,n)}},{key:"setFromVector3",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._order;return this.set(e.x,e.y,e.z,t)}},{key:"reorder",value:function(e){return nw.setFromEuler(this),this.setFromQuaternion(nw,e)}},{key:"equals",value:function(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}},{key:"fromArray",value:function(e){return this._x=e[0],this._y=e[1],this._z=e[2],void 0!==e[3]&&(this._order=e[3]),this._onChangeCallback(),this}},{key:"toArray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}},{key:"_onChange",value:function(e){return this._onChangeCallback=e,this}},{key:"_onChangeCallback",value:function(){}},{key:e,value:(0,df.Z)().mark((function e(){return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._x;case 2:return e.next=4,this._y;case 4:return e.next=6,this._z;case 6:return e.next=8,this._order;case 8:case"end":return e.stop()}}),e,this)}))}]),t}(Symbol.iterator);rw.DEFAULT_ORDER="XYZ";var iw=function(){function e(){(0,be.Z)(this,e),this.mask=1}return(0,xe.Z)(e,[{key:"set",value:function(e){this.mask=(1<<e|0)>>>0}},{key:"enable",value:function(e){this.mask|=1<<e|0}},{key:"enableAll",value:function(){this.mask=-1}},{key:"toggle",value:function(e){this.mask^=1<<e|0}},{key:"disable",value:function(e){this.mask&=~(1<<e|0)}},{key:"disableAll",value:function(){this.mask=0}},{key:"test",value:function(e){return 0!==(this.mask&e.mask)}},{key:"isEnabled",value:function(e){return 0!==(this.mask&(1<<e|
20))}}]),e}(),aw=0,ow=new gx,sw=new mx,lw=new qx,uw=new gx,cw=new gx,dw=new gx,fw=new mx,hw=new gx(1,0,0),pw=new gx(0,1,0),vw=new gx(0,0,1),mw={type:"added"},gw={type:"removed"},yw=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;(0,be.Z)(this,n),(e=t.call(this)).isObject3D=!0,Object.defineProperty((0,cn.Z)(e),"id",{value:aw++}),e.uuid=Lb(),e.name="",e.type="Object3D",e.parent=null,e.children=[],e.up=n.DEFAULT_UP.clone();var r=new gx,i=new rw,a=new mx,o=new gx(1,1,1);return i._onChange((function(){a.setFromEuler(i,!1)})),a._onChange((function(){i.setFromQuaternion(a,void 0,!1)})),Object.defineProperties((0,cn.Z)(e),{position:{configurable:!0,enumerable:!0,value:r},rotation:{configurable:!0,enumerable:!0,value:i},quaternion:{configurable:!0,enumerable:!0,value:a},scale:{configurable:!0,enumerable:!0,value:o},modelViewMatrix:{value:new qx},normalMatrix:{value:new Hb}}),e.matrix=new qx,e.matrixWorld=new qx,e.matrixAutoUpdate=n.DEFAULT_MATRIX_AUTO_UPDATE,e.matrixWorldNeedsUpdate=!1,e.matrixWorldAutoUpdate=n.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,e.layers=new iw,e.visible=!0,e.castShadow=!1,e.receiveShadow=!1,e.frustumCulled=!0,e.renderOrder=0,e.animations=[],e.userData={},e}return(0,xe.Z)(n,[{key:"onBeforeRender",value:function(){}},{key:"onAfterRender",value:function(){}},{key:"applyMatrix4",value:function(e){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(e),this.matrix.decompose(this.position,this.quaternion,this.scale)}},{key:"applyQuaternion",value:function(e){return this.quaternion.premultiply(e),this}},{key:"setRotationFromAxisAngle",value:function(e,t){this.quaternion.setFromAxisAngle(e,t)}},{key:"setRotationFromEuler",value:function(e){this.quaternion.setFromEuler(e,!0)}},{key:"setRotationFromMatrix",value:function(e){this.quaternion.setFromRotationMatrix(e)}},{key:"setRotationFromQuaternion",value:function(e){this.quaternion.copy(e)}},{key:"rotateOnAxis",value:function(e,t){return sw.setFromAxisAngle(e,t),this.quaternion.multiply(sw),this}},{key:"rotateOnWorldAxis",value:function(e,t){return sw.setFromAxisAngle(e,t),this.quaternion.premultiply(sw),this}},{key:"rotateX",value:function(e){return this.rotateOnAxis(hw,e)}},{key:"rotateY",value:function(e){return this.rotateOnAxis(pw,e)}},{key:"rotateZ",value:function(e){return this.rotateOnAxis(vw,e)}},{key:"translateOnAxis",value:function(e,t){return ow.copy(e).applyQuaternion(this.quaternion),this.position.add(ow.multiplyScalar(t)),this}},{key:"translateX",value:function(e){return this.translateOnAxis(hw,e)}},{key:"translateY",value:function(e){return this.translateOnAxis(pw,e)}},{key:"translateZ",value:function(e){return this.translateOnAxis(vw,e)}},{key:"localToWorld",value:function(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(this.matrixWorld)}},{key:"worldToLocal",value:function(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(lw.copy(this.matrixWorld).invert())}},{key:"lookAt",value:function(e,t,n){e.isVector3?uw.copy(e):uw.set(e,t,n);var r=this.parent;this.updateWorldMatrix(!0,!1),cw.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?lw.lookAt(cw,uw,this.up):lw.lookAt(uw,cw,this.up),this.quaternion.setFromRotationMatrix(lw),r&&(lw.extractRotation(r.matrixWorld),sw.setFromRotationMatrix(lw),this.quaternion.premultiply(sw.invert()))}},{key:"add",value:function(e){if(arguments.length>1){for(var t=0;t<arguments.length;t++)this.add(arguments[t]);return this}return e===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",e),this):(e&&e.isObject3D?(null!==e.parent&&e.parent.remove(e),e.parent=this,this.children.push(e),e.dispatchEvent(mw)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",e),this)}},{key:"remove",value:function(e){if(arguments.length>1){for(var t=0;t<arguments.length;t++)this.remove(arguments[t]);return this}var n=this.children.indexOf(e);return-1!==n&&(e.parent=null,this.children.splice(n,1),e.dispatchEvent(gw)),this}},{key:"removeFromParent",value:function(){var e=this.parent;return null!==e&&e.remove(this),this}},{key:"clear",value:function(){for(var e=0;e<this.children.length;e++){var t=this.children[e];t.parent=null,t.dispatchEvent(gw)}return this.children.length=0,this}},{key:"attach",value:function(e){return this.updateWorldMatrix(!0,!1),lw.copy(this.matrixWorld).invert(),null!==e.parent&&(e.parent.updateWorldMatrix(!0,!1),lw.multiply(e.parent.matrixWorld)),e.applyMatrix4(lw),this.add(e),e.updateWorldMatrix(!1,!0),this}},{key:"getObjectById",value:function(e){return this.getObjectByProperty("id",e)}},{key:"getObjectByName",value:function(e){return this.getObjectByProperty("name",e)}},{key:"getObjectByProperty",value:function(e,t){if(this[e]===t)return this;for(var n=0,r=this.children.length;n<r;n++){var i=this.children[n].getObjectByProperty(e,t);if(void 0!==i)return i}}},{key:"getObjectsByProperty",value:function(e,t){var n=[];this[e]===t&&n.push(this);for(var r=0,i=this.children.length;r<i;r++){var a=this.children[r].getObjectsByProperty(e,t);a.length>0&&(n=n.concat(a))}return n}},{key:"getWorldPosition",value:function(e){return this.updateWorldMatrix(!0,!1),e.setFromMatrixPosition(this.matrixWorld)}},{key:"getWorldQuaternion",value:function(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(cw,e,dw),e}},{key:"getWorldScale",value:function(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(cw,fw,e),e}},{key:"getWorldDirection",value:function(e){this.updateWorldMatrix(!0,!1);var t=this.matrixWorld.elements;return e.set(t[8],t[9],t[10]).normalize()}},{key:"raycast",value:function(){}},{key:"traverse",value:function(e){e(this);for(var t=this.children,n=0,r=t.length;n<r;n++)t[n].traverse(e)}},{key:"traverseVisible",value:function(e){if(!1!==this.visible){e(this);for(var t=this.children,n=0,r=t.length;n<r;n++)t[n].traverseVisible(e)}}},{key:"traverseAncestors",value:function(e){var t=this.parent;null!==t&&(e(t),t.traverseAncestors(e))}},{key:"updateMatrix",value:function(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}},{key:"updateMatrixWorld",value:function(e){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||e)&&(null===this.parent?this.matrixWorld.copy(this.matrix
2):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,e=!0);for(var t=this.children,n=0,r=t.length;n<r;n++){var i=t[n];!0!==i.matrixWorldAutoUpdate&&!0!==e||i.updateMatrixWorld(e)}}},{key:"updateWorldMatrix",value:function(e,t){var n=this.parent;if(!0===e&&null!==n&&!0===n.matrixWorldAutoUpdate&&n.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),!0===t)for(var r=this.children,i=0,a=r.length;i<a;i++){var o=r[i];!0===o.matrixWorldAutoUpdate&&o.updateWorldMatrix(!1,!0)}}},{key:"toJSON",value:function(e){var t=void 0===e||"string"===typeof e,n={};t&&(e={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});var r={};function i(t,n){return void 0===t[n.uuid]&&(t[n.uuid]=n.toJSON(e)),n.uuid}if(r.uuid=this.uuid,r.type=this.type,""!==this.name&&(r.name=this.name),!0===this.castShadow&&(r.castShadow=!0),!0===this.receiveShadow&&(r.receiveShadow=!0),!1===this.visible&&(r.visible=!1),!1===this.frustumCulled&&(r.frustumCulled=!1),0!==this.renderOrder&&(r.renderOrder=this.renderOrder),Object.keys(this.userData).length>0&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),r.up=this.up.toArray(),!1===this.matrixAutoUpdate&&(r.matrixAutoUpdate=!1),this.isInstancedMesh&&(r.type="InstancedMesh",r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(r.instanceColor=this.instanceColor.toJSON())),this.isScene)this.background&&(this.background.isColor?r.background=this.background.toJSON():this.background.isTexture&&(r.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(r.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=i(e.geometries,this.geometry);var a=this.geometry.parameters;if(void 0!==a&&void 0!==a.shapes){var o=a.shapes;if(Array.isArray(o))for(var s=0,l=o.length;s<l;s++){var u=o[s];i(e.shapes,u)}else i(e.shapes,o)}}if(this.isSkinnedMesh&&(r.bindMode=this.bindMode,r.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(i(e.skeletons,this.skeleton),r.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){for(var c=[],d=0,f=this.material.length;d<f;d++)c.push(i(e.materials,this.material[d]));r.material=c}else r.material=i(e.materials,this.material);if(this.children.length>0){r.children=[];for(var h=0;h<this.children.length;h++)r.children.push(this.children[h].toJSON(e).object)}if(this.animations.length>0){r.animations=[];for(var p=0;p<this.animations.length;p++){var v=this.animations[p];r.animations.push(i(e.animations,v))}}if(t){var m=k(e.geometries),g=k(e.materials),y=k(e.textures),b=k(e.images),x=k(e.shapes),w=k(e.skeletons),S=k(e.animations),_=k(e.nodes);m.length>0&&(n.geometries=m),g.length>0&&(n.materials=g),y.length>0&&(n.textures=y),b.length>0&&(n.images=b),x.length>0&&(n.shapes=x),w.length>0&&(n.skeletons=w),S.length>0&&(n.animations=S),_.length>0&&(n.nodes=_)}return n.object=r,n;function k(e){var t=[];for(var n in e){var r=e[n];delete r.metadata,t.push(r)}return t}}},{key:"clone",value:function(e){return(new this.constructor).copy(this,e)}},{key:"copy",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.userData=JSON.parse(JSON.stringify(e.userData)),!0===t)for(var n=0;n<e.children.length;n++){var r=e.children[n];this.add(r.clone())}return this}}]),n}(Cb);yw.DEFAULT_UP=new gx(0,1,0),yw.DEFAULT_MATRIX_AUTO_UPDATE=!0,yw.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0;var bw=new gx,xw=new gx,ww=new gx,Sw=new gx,_w=new gx,kw=new gx,Mw=new gx,Ew=new gx,Tw=new gx,Cw=new gx,Aw=!1,Pw=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new gx,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new gx;(0,be.Z)(this,e),this.a=t,this.b=n,this.c=r}return(0,xe.Z)(e,[{key:"set",value:function(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this}},{key:"setFromPointsAndIndices",value:function(e,t,n,r){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[r]),this}},{key:"setFromAttributeAndIndices",value:function(e,t,n,r){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,n),this.c.fromBufferAttribute(e,r),this}},{key:"clone",value:function(){return(new this.constructor).copy(this)}},{key:"copy",value:function(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}},{key:"getArea",value:function(){return bw.subVectors(this.c,this.b),xw.subVectors(this.a,this.b),.5*bw.cross(xw).length()}},{key:"getMidpoint",value:function(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}},{key:"getNormal",value:function(t){return e.getNormal(this.a,this.b,this.c,t)}},{key:"getPlane",value:function(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}},{key:"getBarycoord",value:function(t,n){return e.getBarycoord(t,this.a,this.b,this.c,n)}},{key:"getUV",value:function(t,n,r,i,a){return!1===Aw&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),Aw=!0),e.getInterpolation(t,this.a,this.b,this.c,n,r,i,a)}},{key:"getInterpolation",value:function(t,n,r,i,a){return e.getInterpolation(t,this.a,this.b,this.c,n,r,i,a)}},{key:"containsPoint",value:function(t){return e.containsPoint(t,this.a,this.b,this.c)}},{key:"isFrontFacing",value:function(t){return e.isFrontFacing(this.a,this.b,this.c,t)}},{key:"intersectsBox",value:function(e){return e.intersectsTriangle(this)}},{key:"closestPointToPoint",value:function(e,t){var n,r,i=this.a,a=this.b,o=this.c;_w.subVectors(a,i),kw.subVectors(o,i),Ew.subVectors(e,i);var s=_w.dot(Ew),l=kw.dot(Ew);if(s<=0&&l<=0)return t.copy(i);Tw.subVectors(e,a);var u=_w.dot(Tw),c=kw.dot(Tw);if(u>=0&&c<=u)return t.copy(a);var d=s*c-u*l;if(d<=0&&s>=0&&u<=0)return n=s/(s-u),t.copy(i).addScaledVector(_w,n);Cw.subVectors(e,o);var f=_w.dot(Cw),h=kw.dot(Cw);if(h>=0&&f<=h)return t.copy(o);var p=f*l-s*h;if(p<=0&&l>=0&&h<=0)return r=l/(l-h),t.copy(i).addScaledVector(kw,r);var v=u*h-f*c;if(v<=0&&c-u>=0&&f-h>=0)return Mw.subVectors(o,a),r=(c-u)/(c-u+(f-h)),t.copy(a).addScaledVector(Mw,r);var m=1/(v+p+d);return n=p*m,r=d*m,t.copy(i).addScaledVector(_w,n).addScaledVector(kw,r)}},{key:"equals",value:function(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}],[{key:"getNormal",value:function(e,t,n,r){r.subVectors(n,t),bw.subVectors(e,t),r.cross(bw);var i=r.lengthSq();return i>0?r.multiplyScalar(1/Math.sqrt(i)):r.set(0,0,0)}},{key:"getBarycoord",value:function(e,t,n,r,i){bw.subVectors(r,t),xw.subVectors(n,t),ww.subVectors(e,t);var a=bw.dot(bw),o=bw.dot(xw),s=bw.dot(ww),l=xw.dot(xw),u=xw.dot(ww),c=a*l-o*o;if(0===c)return i.set(-2,-1,-1);var d=1/c,f=(l*s-o*u)*d,h=(a*u-o*s)*d;return i.set(1-f-h,h,f)}},{key:"containsPoint",value:function(e,t,n,r){return this.getBarycoord(e,t,n,r,Sw),Sw.x>=0&&Sw.y>=0&&Sw.x+Sw.y<=1}},{key:"getUV",value:function(e,t,n,r,i,a,o,s){return!1===Aw&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),Aw=!0),this.getInterpolation(e,t,n,r,i,a,o,s)}},{key:"getInterpolation",value:function(e,t,n,r,i,a,o,s){return this.getBarycoord(e,t,n,r,Sw),s.setScalar(0),s.addScaledVector(i,Sw.x),s.addScaledVector(a,Sw.y),s.addScaledVector(o,Sw.z),s}},{key:"isFrontFacing",value:function(e,t,n,r){return bw.subVectors(n,t),xw.subVectors(e,t),bw.cross(xw).dot(r)<0}}]),e}(),Rw=0,Ow=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this)).isMaterial=!0,Object.defineProperty((0,cn.Z)(e),"id",{value:Rw++}),e.uuid=Lb(),e.name="",e.type="Material",e.blending=Am,e.side=km,e.vertexColors=!1,e.opacity=1,e.transparent=!1,e.blendSrc=Vm,e.blendDst=Hm,e.blendEquation=Zm,e.blendSrcAlpha=null,e.blendDstAlpha=null,e.blendEquationAlpha=null,e.depthFunc=$m,e.depthTest=!0,e.depthWrite=!0,e.stencilWriteMask=255,e.stencilFunc=vb,e.stencilRef=0,e.stencilFuncMask=255,e.stencilFail=tb,e.stencilZFail=tb,e.stencilZPass=tb,e.stencilWrite=!1,e.clippingPlanes=null,e.clipIntersection=!1,e.clipShadows=!1,e.shadowSide=null,e.colorWrite=!0,e.precision=null,e.polygonOffset=!1,e.polygonOffsetFactor=0,e.polygonOffsetUnits=0,e.dithering=!1,e.alphaToCoverage=!1,e.premultipliedAlpha=!1,e.forceSinglePass=!1,e.visible=!0,e.toneMapped=!0,e.userData={},e.version=0,e._alphaTest=0,e}return(0,xe.Z)(n,[{key:"alphaTest",get:function(){return this._alphaTest},set:function(e){this._alphaTest>0!==e>0&&this.version++,this._alphaTest=e}},{key:"onBuild",value:function(){}},{key:"onBeforeRender",value:function(){}},{key:"onBeforeCompile",value:function(){}},{key:"customProgramCacheKey",value:function(){return this.onBeforeCompile.toString()}},{key:"setValues",value:function(e){if(void 0!==e)for(var t in e){var n=e[t];if(void 0!==n){var r=this[t];void 0!==r?r&&r.isColor?r.set(n):r&&r.isVector3&&n&&n.isVector3?r.copy(n):this[t]=n:console.warn("THREE.Material: '".concat(t,"' is not a property of THREE.").concat(this.t
2ype,"."))}else console.warn("THREE.Material: parameter '".concat(t,"' has value of undefined."))}}},{key:"toJSON",value:function(e){var t=void 0===e||"string"===typeof e;t&&(e={textures:{},images:{}});var n={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};function r(e){var t=[];for(var n in e){var r=e[n];delete r.metadata,t.push(r)}return t}if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),void 0!==this.sheen&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.iridescence&&(n.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(n.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(e).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(e).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(e).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(e).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(e).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(e).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),void 0!==this.transmission&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(e).uuid),void 0!==this.thickness&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(e).uuid),void 0!==this.attenuationDistance&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(n.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==Am&&(n.blending=this.blending),this.side!==km&&(n.side=this.side),this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=this.transparent),n.depthFunc=this.depthFunc,n.depthTest=this.depthTest,n.depthWrite=this.depthWrite,n.colorWrite=this.colorWrite,n.stencilWrite=this.stencilWrite,n.stencilWriteMask=this.stencilWriteMask,n.stencilFunc=this.stencilFunc,n.stencilRef=this.stencilRef,n.stencilFuncMask=this.stencilFuncMask,n.stencilFail=this.stencilFail,n.stencilZFail=this.stencilZFail,n.stencilZPass=this.stencilZPass,void 0!==this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaToCoverage&&(n.alphaToCoverage=this.alphaToCoverage),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=this.premultipliedAlpha),!0===this.forceSinglePass&&(n.forceSinglePass=this.forceSinglePass),!0===this.wireframe&&(n.wireframe=this.wireframe),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(n.flatShading=this.flatShading),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),!1===this.fog&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData),t){var i=r(e.textures),a=r(e.images);i.length>0&&(n.textures=i),a.length>0&&(n.images=a)}return n}},{key:"clone",value:function(){return(new this.constructor).copy(this)}},{key:"copy",value:function(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;var t=e.clippingPlanes,n=null;if(null!==t){var r=t.length;n=new Array(r);for(var i=0;i!==r;++i)n[i]=t[i].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipSh
2adows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}},{key:"dispose",value:function(){this.dispatchEvent({type:"dispose"})}},{key:"needsUpdate",set:function(e){!0===e&&this.version++}}]),n}(Cb),Lw={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Zw={h:0,s:0,l:0},Nw={h:0,s:0,l:0};function Iw(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+6*(t-e)*(2/3-n):e}var jw=function(e){function t(e,n,r){return(0,be.Z)(this,t),this.isColor=!0,this.r=1,this.g=1,this.b=1,void 0===n&&void 0===r?this.set(e):this.setRGB(e,n,r)}return(0,xe.Z)(t,[{key:"set",value:function(e){return e&&e.isColor?this.copy(e):"number"===typeof e?this.setHex(e):"string"===typeof e&&this.setStyle(e),this}},{key:"setScalar",value:function(e){return this.r=e,this.g=e,this.b=e,this}},{key:"setHex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ky;return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(255&e)/255,rx.toWorkingColorSpace(this,t),this}},{key:"setRGB",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:rx.workingColorSpace;return this.r=e,this.g=t,this.b=n,rx.toWorkingColorSpace(this,r),this}},{key:"setHSL",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:rx.workingColorSpace;if(e=Nb(e,1),t=Zb(t,0,1),n=Zb(n,0,1),0===t)this.r=this.g=this.b=n;else{var i=n<=.5?n*(1+t):n+t-n*t,a=2*n-i;this.r=Iw(a,i,e+1/3),this.g=Iw(a,i,e),this.b=Iw(a,i,e-1/3)}return rx.toWorkingColorSpace(this,r),this}},{key:"setStyle",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ky;function r(t){void 0!==t&&parseFloat(t)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}if(t=/^(\w+)\(([^\)]*)\)/.exec(e)){var i,a=t[1],o=t[2];switch(a){case"rgb":case"rgba":if(i=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return this.r=Math.min(255,parseInt(i[1],10))/255,this.g=Math.min(255,parseInt(i[2],10))/255,this.b=Math.min(255,parseInt(i[3],10))/255,rx.toWorkingColorSpace(this,n),r(i[4]),this;if(i=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return this.r=Math.min(100,parseInt(i[1],10))/100,this.g=Math.min(100,parseInt(i[2],10))/100,this.b=Math.min(100,parseInt(i[3],10))/100,rx.toWorkingColorSpace(this,n),r(i[4]),this;break;case"hsl":case"hsla":if(i=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o)){var s=parseFloat(i[1])/360,l=parseFloat(i[2])/100,u=parseFloat(i[3])/100;return r(i[4]),this.setHSL(s,l,u,n)}break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(t=/^\#([A-Fa-f\d]+)$/.exec(e)){var c=t[1],d=c.length;if(3===d)return this.setRGB(parseInt(c.charAt(0),16)/15,parseInt(c.charAt(1),16)/15,parseInt(c.charAt(2),16)/15,n);if(6===d)return this.setHex(parseInt(c,16),n);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,n);return this}},{key:"setColorName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ky,n=Lw[e.toLowerCase()];return void 0!==n?this.setHex(n,t):console.warn("THREE.Color: Unknown color "+e),this}},{key:"clone",value:function(){return new this.constructor(this.r,this.g,this.b)}},{key:"copy",value:function(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}},{key:"copySRGBToLinear",value:function(e){return this.r=Jb(e.r),this.g=Jb(e.g),this.b=Jb(e.b),this}},{key:"copyLinearToSRGB",value:function(e){return this.r=Kb(e.r),this.g=Kb(e.g),this.b=Kb(e.b),this}},{key:"convertSRGBToLinear",value:function(){return this.copySRGBToLinear(this),this}},{key:"convertLinearToSRGB",value:function(){return this.copyLinearToSRGB(this),this}},{key:"getHex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ky;return rx.fromWorkingColorSpace(Dw.copy(this),e),Zb(255*Dw.r,0,255)<<16^Zb(255*Dw.g,0,255)<<8^Zb(255*Dw.b,0,255)<<0}},{key:"getHexString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ky;return("000000"+this.getHex(e).toString(16)).slice(-6)}},{key:"getHSL",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rx.workingColorSpace;rx.fromWorkingColorSpace(Dw.copy(this),t);var n,r,i=Dw.r,a=Dw.g,o=Dw.b,s=Math.max(i,a,o),l=Math.min(i,a,o),u=(l+s)/2;if(l===s)n=0,r=0;else{var c=s-l;switch(r=u<=.5?c/(s+l):c/(2-s-l),s){case i:n=(a-o)/c+(a<o?6:0);break;case a:n=(o-i)/c+2;break;case o:n=(i-a)/c+4}n/=6}return e.h=n,e.s=r,e.l=u,e}},{key:"getRGB",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rx.workingColorSpace;return rx.fromWorkingColorSpace(Dw.copy(this),t),e.r=Dw.r,e.g=Dw.g,e.b=Dw.b,e}},{key:"getStyle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ky;rx.fromWorkingColorSpace(Dw.copy(this),e);var t=Dw.r,n=Dw.g,r=Dw.b;return e!==Ky?"color(".concat(e," ").concat(t.toFixed(3)," ").concat(n.toFixed(3)," ").concat(r.toFixed(3),")"):"rgb(".concat(255*t|0,",").concat(255*n|0,",").concat(255*r|0,")")}},{key:"offsetHSL",value:function(e,t,n){return this.getHSL(Zw),Zw.h+=e,Zw.s+=t,Zw.l+=n,this.setHSL(Zw.h,Zw.s,Zw.l),this}},{key:"add",value:function(e){return this.r+=e.r,this.g+=e.g,this.b+=e.b,this}},{key:"addColors",value:function(e,t){return this.r=e.r+t.r,this.g=e.g+t.g,this.b=e.b+t.b,this}},{key:"addScalar",value:function(e){return this.r+=e,this.g+=e,this.b+=e,this}},{key:"sub",value:function(e){return this.r=Math.max(0,this.r-e.r),this.g=Math.max(0,this.g-e.g),this.b=Math.max(0,this.b-e.b),this}},{key:"multiply",value:function(e){return this.r*=e.r,this.g*=e.g,this.b*=e.b,this}},{key:"multiplyScalar",value:function(e){return this.r*=e,this.g*=e,this.b*=e,this}},{key:"lerp",value:function(e,t){return this.r+=(e.r-this.r)*t,this.g+=(e.g-this.g)*t,this.b+=(e.b-this.b)*t,this}},{key:"lerpColors",value:function(e,t,n){return this.r=e.r+(t.r-e.r)*n,this.g=e.g+(t.g-e.g)*n,this.b=e.b+(t.b-e.b)*n,this}},{key:"lerpHSL",value:function(e,t){this.getHSL(Zw),e.getHSL(Nw);var n=Ib(Zw.h,Nw.h,t),r=Ib(Zw.s,Nw.s,t),i=Ib(Zw.l,Nw.l,t);return this.setHSL(n,r,i),this}},{key:"setFromVector3",value:function(e){return this.r=e.x,this.g=e.y,this.b=e.z,this}},{key:"applyMatrix3",value:function(e){var t=this.r,n=this.g,r=this.b,i=e.elements;return this.r=i[0]*t+i[3]*n+i[6]*r,this.g=i[1]*t+i[4]*n+i[7]*r,this.b=i[2]*t+i[5]*n+i[8]*r,this}},{key:"equals",value:function(e){return e.r===this.r&&e.g===this.g&&e.b===this.b}},{key:"fromArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.r=e[t],this.g=e[t+1],this.b=e[t+2],this}},{key:"toArray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e[t]=this.r,e[t+1]=this.g,e[t+2]=this.b,e}},{key:"fromBufferAttribute",value:function(e,t){return this.r=e.getX(t),this.g=e.getY(t),this.b=e.getZ(t),this}},{key:"toJSON",value:function(){return this.getHex()}},{key:e,value:(0,df.Z)().mark((function e(){return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.r;case 2:return e.next=4,this.g;case 4:return e.next=6,this.b;case 6:case"end":return e.stop()}}),e,this)}))}]),t}(Symbol.iterator),Dw=new jw;jw.NAMES=Lw;var zw=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isMeshBasicMaterial=!0,r.type="MeshBasicMaterial",r.color=new jw(16777215),r.map=null,r.lightMap=null,r.lightMapIntensity=1,r.aoMap=null,r.aoMapIntensity=1,r.specularMap=null,r.alphaMap=null,r.envMap=null,r.combine=ig,r.reflectivity=1,r.refractionRatio=.98,r.wireframe=!1,r.wireframeLinewidth=1,r.wireframeLinecap="round",r.wireframeLinejoin="round",r.fog=!0,r.setValues(e),r}
2return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}]),n}(Ow),Uw=Fw();function Fw(){for(var e=new ArrayBuffer(4),t=new Float32Array(e),n=new Uint32Array(e),r=new Uint32Array(512),i=new Uint32Array(512),a=0;a<256;++a){var o=a-127;o<-27?(r[a]=0,r[256|a]=32768,i[a]=24,i[256|a]=24):o<-14?(r[a]=1024>>-o-14,r[256|a]=1024>>-o-14|32768,i[a]=-o-1,i[256|a]=-o-1):o<=15?(r[a]=o+15<<10,r[256|a]=o+15<<10|32768,i[a]=13,i[256|a]=13):o<128?(r[a]=31744,r[256|a]=64512,i[a]=24,i[256|a]=24):(r[a]=31744,r[256|a]=64512,i[a]=13,i[256|a]=13)}for(var s=new Uint32Array(2048),l=new Uint32Array(64),u=new Uint32Array(64),c=1;c<1024;++c){for(var d=c<<13,f=0;0===(8388608&d);)d<<=1,f-=8388608;d&=-8388609,f+=947912704,s[c]=d|f}for(var h=1024;h<2048;++h)s[h]=939524096+(h-1024<<13);for(var p=1;p<31;++p)l[p]=p<<23;l[31]=1199570944,l[32]=2147483648;for(var v=33;v<63;++v)l[v]=2147483648+(v-32<<23);l[63]=3347054592;for(var m=1;m<64;++m)32!==m&&(u[m]=1024);return{floatView:t,uint32View:n,baseTable:r,shiftTable:i,mantissaTable:s,exponentTable:l,offsetTable:u}}function Bw(e){Math.abs(e)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),e=Zb(e,-65504,65504),Uw.floatView[0]=e;var t=Uw.uint32View[0],n=t>>23&511;return Uw.baseTable[n]+((8388607&t)>>Uw.shiftTable[n])}function Vw(e){var t=e>>10;return Uw.uint32View[0]=Uw.mantissaTable[Uw.offsetTable[t]+(1023&e)]+Uw.exponentTable[t],Uw.floatView[0]}var Hw={toHalfFloat:Bw,fromHalfFloat:Vw},Ww=new gx,Gw=new Vb,qw=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if((0,be.Z)(this,e),Array.isArray(t))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=t,this.itemSize=n,this.count=void 0!==t?t.length/n:0,this.normalized=r,this.usage=mb,this.updateRange={offset:0,count:-1},this.version=0}return(0,xe.Z)(e,[{key:"onUploadCallback",value:function(){}},{key:"needsUpdate",set:function(e){!0===e&&this.version++}},{key:"setUsage",value:function(e){return this.usage=e,this}},{key:"copy",value:function(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this}},{key:"copyAt",value:function(e,t,n){e*=this.itemSize,n*=t.itemSize;for(var r=0,i=this.itemSize;r<i;r++)this.array[e+r]=t.array[n+r];return this}},{key:"copyArray",value:function(e){return this.array.set(e),this}},{key:"applyMatrix3",value:function(e){if(2===this.itemSize)for(var t=0,n=this.count;t<n;t++)Gw.fromBufferAttribute(this,t),Gw.applyMatrix3(e),this.setXY(t,Gw.x,Gw.y);else if(3===this.itemSize)for(var r=0,i=this.count;r<i;r++)Ww.fromBufferAttribute(this,r),Ww.applyMatrix3(e),this.setXYZ(r,Ww.x,Ww.y,Ww.z);return this}},{key:"applyMatrix4",value:function(e){for(var t=0,n=this.count;t<n;t++)Ww.fromBufferAttribute(this,t),Ww.applyMatrix4(e),this.setXYZ(t,Ww.x,Ww.y,Ww.z);return this}},{key:"applyNormalMatrix",value:function(e){for(var t=0,n=this.count;t<n;t++)Ww.fromBufferAttribute(this,t),Ww.applyNormalMatrix(e),this.setXYZ(t,Ww.x,Ww.y,Ww.z);return this}},{key:"transformDirection",value:function(e){for(var t=0,n=this.count;t<n;t++)Ww.fromBufferAttribute(this,t),Ww.transformDirection(e),this.setXYZ(t,Ww.x,Ww.y,Ww.z);return this}},{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.array.set(e,t),this}},{key:"getX",value:function(e){var t=this.array[e*this.itemSize];return this.normalized&&(t=Ub(t,this.array)),t}},{key:"setX",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.array[e*this.itemSize]=t,this}},{key:"getY",value:function(e){var t=this.array[e*this.itemSize+1];return this.normalized&&(t=Ub(t,this.array)),t}},{key:"setY",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.array[e*this.itemSize+1]=t,this}},{key:"getZ",value:function(e){var t=this.array[e*this.itemSize+2];return this.normalized&&(t=Ub(t,this.array)),t}},{key:"setZ",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.array[e*this.itemSize+2]=t,this}},{key:"getW",value:function(e){var t=this.array[e*this.itemSize+3];return this.normalized&&(t=Ub(t,this.array)),t}},{key:"setW",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.array[e*this.itemSize+3]=t,this}},{key:"setXY",value:function(e,t,n){return e*=this.itemSize,this.normalized&&(t=Fb(t,this.array),n=Fb(n,this.array)),this.array[e+0]=t,this.array[e+1]=n,this}},{key:"setXYZ",value:function(e,t,n,r){return e*=this.itemSize,this.normalized&&(t=Fb(t,this.array),n=Fb(n,this.array),r=Fb(r,this.array)),this.array[e+0]=t,this.array[e+1]=n,this.array[e+2]=r,this}},{key:"setXYZW",value:function(e,t,n,r,i){return e*=this.itemSize,this.normalized&&(t=Fb(t,this.array),n=Fb(n,this.array),r=Fb(r,this.array),i=Fb(i,this.array)),this.array[e+0]=t,this.array[e+1]=n,this.array[e+2]=r,this.array[e+3]=i,this}},{key:"onUpload",value:function(e){return this.onUploadCallback=e,this}},{key:"clone",value:function(){return new this.constructor(this.array,this.itemSize).copy(this)}},{key:"toJSON",value:function(){var e={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return""!==this.name&&(e.name=this.name),this.usage!==mb&&(e.usage=this.usage),0===this.updateRange.offset&&-1===this.updateRange.count||(e.updateRange=this.updateRange),e}},{key:"copyColorsArray",value:function(){console.error("THREE.BufferAttribute: copyColorsArray() was removed in r144.")}},{key:"copyVector2sArray",value:function(){console.error("THREE.BufferAttribute: copyVector2sArray() was removed in r144.")}},{key:"copyVector3sArray",value:function(){console.error("THREE.BufferAttribute: copyVector3sArray() was removed in r144.")}},{key:"copyVector4sArray",value:function(){console.error("THREE.BufferAttribute: copyVector4sArray() was removed in r144.")}}]),e}(),Xw=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);
2function n(e,r,i){return(0,be.Z)(this,n),t.call(this,new Int8Array(e),r,i)}return(0,xe.Z)(n)}(qw),Yw=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){return(0,be.Z)(this,n),t.call(this,new Uint8Array(e),r,i)}return(0,xe.Z)(n)}(qw),Jw=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){return(0,be.Z)(this,n),t.call(this,new Uint8ClampedArray(e),r,i)}return(0,xe.Z)(n)}(qw),Kw=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){return(0,be.Z)(this,n),t.call(this,new Int16Array(e),r,i)}return(0,xe.Z)(n)}(qw),Qw=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){return(0,be.Z)(this,n),t.call(this,new Uint16Array(e),r,i)}return(0,xe.Z)(n)}(qw),$w=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){return(0,be.Z)(this,n),t.call(this,new Int32Array(e),r,i)}return(0,xe.Z)(n)}(qw),eS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){return(0,be.Z)(this,n),t.call(this,new Uint32Array(e),r,i)}return(0,xe.Z)(n)}(qw),tS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){var a;return(0,be.Z)(this,n),(a=t.call(this,new Uint16Array(e),r,i)).isFloat16BufferAttribute=!0,a}return(0,xe.Z)(n,[{key:"getX",value:function(e){var t=Vw(this.array[e*this.itemSize]);return this.normalized&&(t=Ub(t,this.array)),t}},{key:"setX",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.array[e*this.itemSize]=Bw(t),this}},{key:"getY",value:function(e){var t=Vw(this.array[e*this.itemSize+1]);return this.normalized&&(t=Ub(t,this.array)),t}},{key:"setY",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.array[e*this.itemSize+1]=Bw(t),this}},{key:"getZ",value:function(e){var t=Vw(this.array[e*this.itemSize+2]);return this.normalized&&(t=Ub(t,this.array)),t}},{key:"setZ",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.array[e*this.itemSize+2]=Bw(t),this}},{key:"getW",value:function(e){var t=Vw(this.array[e*this.itemSize+3]);return this.normalized&&(t=Ub(t,this.array)),t}},{key:"setW",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.array[e*this.itemSize+3]=Bw(t),this}},{key:"setXY",value:function(e,t,n){return e*=this.itemSize,this.normalized&&(t=Fb(t,this.array),n=Fb(n,this.array)),this.array[e+0]=Bw(t),this.array[e+1]=Bw(n),this}},{key:"setXYZ",value:function(e,t,n,r){return e*=this.itemSize,this.normalized&&(t=Fb(t,this.array),n=Fb(n,this.array),r=Fb(r,this.array)),this.array[e+0]=Bw(t),this.array[e+1]=Bw(n),this.array[e+2]=Bw(r),this}},{key:"setXYZW",value:function(e,t,n,r,i){return e*=this.itemSize,this.normalized&&(t=Fb(t,this.array),n=Fb(n,this.array),r=Fb(r,this.array),i=Fb(i,this.array)),this.array[e+0]=Bw(t),this.array[e+1]=Bw(n),this.array[e+2]=Bw(r),this.array[e+3]=Bw(i),this}}]),n}(qw),nS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){return(0,be.Z)(this,n),t.call(this,new Float32Array(e),r,i)}return(0,xe.Z)(n)}(qw),rS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){return(0,be.Z)(this,n),t.call(this,new Float64Array(e),r,i)}return(0,xe.Z)(n)}(qw),iS=0,aS=new qx,oS=new yw,sS=new gx,lS=new xx,uS=new xx,cS=new gx,dS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this)).isBufferGeometry=!0,Object.defineProperty((0,cn.Z)(e),"id",{value:iS++}),e.uuid=Lb(),e.name="",e.type="BufferGeometry",e.index=null,e.attributes={},e.morphAttributes={},e.morphTargetsRelative=!1,e.groups=[],e.boundingBox=null,e.boundingSphere=null,e.drawRange={start:0,count:1/0},e.userData={},e}return(0,xe.Z)(n,[{key:"getIndex",value:function(){return this.index}},{key:"setIndex",value:function(e){return Array.isArray(e)?this.index=new(Gb(e)?eS:Qw)(e,1):this.index=e,this}},{key:"getAttribute",value:function(e){return this.attributes[e]}},{key:"setAttribute",value:function(e,t){return this.attributes[e]=t,this}},{key:"deleteAttribute",value:function(e){return delete this.attributes[e],this}},{key:"hasAttribute",value:function(e){return void 0!==this.attributes[e]}},{key:"addGroup",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.groups.push({start:e,count:t,materialIndex:n})}},{key:"clearGroups",value:function(){this.groups=[]}},{key:"setDrawRange",value:function(e,t){this.drawRange.start=e,this.drawRange.count=t}},{key:"applyMatrix4",value:function(e){var t=this.attributes.position;void 0!==t&&(t.applyMatrix4(e),t.needsUpdate=!0);var n=this.attributes.normal;if(void 0!==n){var r=(new Hb).getNormalMatrix(e);n.applyNormalMatrix(r),n.needsUpdate=!0}var i=this.attributes.tangent;return void 0!==i&&(i.transformDirection(e),i.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}},{key:"applyQuaternion",value:function(e){return aS.makeRotationFromQuaternion(e),this.applyMatrix4(aS),this}},{key:"rotateX",value:function(e){return aS.makeRotationX(e),this.applyMatrix4(aS),this}},{key:"rotateY",value:function(e){return aS.makeRotationY(e),this.applyMatrix4(aS),this}},{key:"rotateZ",value:function(e){return aS.makeRotationZ(e),this.applyMatrix4(aS),this}},{key:"translate",value:function(e,t,n){return aS.makeTranslation(e,t,n),this.applyMatrix4(aS),this}},{key:"scale",value:function(e,t,n){return aS.makeScale(e,t,n),this.applyMatrix4(aS),this}},{key:"lookAt",value:function(e){return oS.lookAt(e),oS.updateMatrix(),this.applyMatrix4(oS.matrix
2),this}},{key:"center",value:function(){return this.computeBoundingBox(),this.boundingBox.getCenter(sS).negate(),this.translate(sS.x,sS.y,sS.z),this}},{key:"setFromPoints",value:function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];t.push(i.x,i.y,i.z||0)}return this.setAttribute("position",new nS(t,3)),this}},{key:"computeBoundingBox",value:function(){null===this.boundingBox&&(this.boundingBox=new xx);var e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set "mesh.frustumCulled" to "false".',this),void this.boundingBox.set(new gx(-1/0,-1/0,-1/0),new gx(1/0,1/0,1/0));if(void 0!==e){if(this.boundingBox.setFromBufferAttribute(e),t)for(var n=0,r=t.length;n<r;n++){var i=t[n];lS.setFromBufferAttribute(i),this.morphTargetsRelative?(cS.addVectors(this.boundingBox.min,lS.min),this.boundingBox.expandByPoint(cS),cS.addVectors(this.boundingBox.max,lS.max),this.boundingBox.expandByPoint(cS)):(this.boundingBox.expandByPoint(lS.min),this.boundingBox.expandByPoint(lS.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)}},{key:"computeBoundingSphere",value:function(){null===this.boundingSphere&&(this.boundingSphere=new Dx);var e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set "mesh.frustumCulled" to "fal
2se".',this),void this.boundingSphere.set(new gx,1/0);if(e){var n=this.boundingSphere.center;if(lS.setFromBufferAttribute(e),t)for(var r=0,i=t.length;r<i;r++){var a=t[r];uS.setFromBufferAttribute(a),this.morphTargetsRelative?(cS.addVectors(lS.min,uS.min),lS.expandByPoint(cS),cS.addVectors(lS.max,uS.max),lS.expandByPoint(cS)):(lS.expandByPoint(uS.min),lS.expandByPoint(uS.max))}lS.getCenter(n);for(var o=0,s=0,l=e.count;s<l;s++)cS.fromBufferAttribute(e,s),o=Math.max(o,n.distanceToSquared(cS));if(t)for(var u=0,c=t.length;u<c;u++)for(var d=t[u],f=this.morphTargetsRelative,h=0,p=d.count;h<p;h++)cS.fromBufferAttribute(d,h),f&&(sS.fromBufferAttribute(e,h),cS.add(sS)),o=Math.max(o,n.distanceToSquared(cS));this.boundingSphere.radius=Math.sqrt(o),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}}},{key:"computeTangents",value:function(){var e=this.index,t=this.attributes;if(null!==e&&void 0!==t.position&&void 0!==t.normal&&void 0!==t.uv){var n=e.array,r=t.position.array,i=t.normal.array,a=t.uv.array,o=r.length/3;!1===this.hasAttribute("tangent")&&this.setAttribute("tangent",new qw(new Float32Array(4*o),4));for(var s=this.getAttribute("tangent").array,l=[],u=[],c=0;c<o;c++)l[c]=new gx,u[c]=new gx;var d=new gx,f=new gx,h=new gx,p=new Vb,v=new Vb,m=new Vb,g=new gx,y=new gx,b=this.groups;0===b.length&&(b=[{start:0,count:n.length}]);for(var x=0,w=b.length;x<w;++x)for(var S=b[x],_=S.start,k=_,M=_+S.count;k<M;k+=3)I(n[k+0],n[k+1],n[k+2]);for(var E=new gx,T=new gx,C=new gx,A=new gx,P=0,R=b.length;P<R;++P)for(var O=b[P],L=O.start,Z=L,N=L+O.count;Z<N;Z+=3)j(n[Z+0]),j(n[Z+1]),j(n[Z+2])}else console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");function I(e,t,n){d.fromArray(r,3*e),f.fromArray(r,3*t),h.fromArray(r,3*n),p.fromArray(a,2*e),v.fromArray(a,2*t),m.fromArray(a,2*n),f.sub(d),h.sub(d),v.sub(p),m.sub(p);var i=1/(v.x*m.y-m.x*v.y);isFinite(i)&&(g.copy(f).multiplyScalar(m.y).addScaledVector(h,-v.y).multiplyScalar(i),y.copy(h).multiplyScalar(v.x).addScaledVector(f,-m.x).multiplyScalar(i),l[e].add(g),l[t].add(g),l[n].add(g),u[e].add(y),u[t].add(y),u[n].add(y))}function j(e){C.fromArray(i,3*e),A.copy(C);var t=l[e];E.copy(t),E.sub(C.multiplyScalar(C.dot(t))).normalize(),T.crossVectors(A,t);var n=T.dot(u[e])<0?-1:1;s[4*e]=E.x,s[4*e+1]=E.y,s[4*e+2]=E.z,s[4*e+3]=n}}},{key:"computeVertexNormals",value:function(){var e=this.index,t=this.getAttribute("position");if(void 0!==t){var n=this.getAttribute("normal");if(void 0===n)n=new qw(new Float32Array(3*t.count),3),this.setAttribute("normal",n);else for(var r=0,i=n.count;r<i;r++)n.setXYZ(r,0,0,0);var a=new gx,o=new gx,s=new gx,l=new gx,u=new gx,c=new gx,d=new gx,f=new gx;if(e)for(var h=0,p=e.count;h<p;h+=3){var v=e.getX(h+0),m=e.getX(h+1),g=e.getX(h+2);a.fromBufferAttribute(t,v),o.fromBufferAttribute(t,m),s.fromBufferAttribute(t,g),d.subVectors(s,o),f.subVectors(a,o),d.cross(f),l.fromBufferAttribute(n,v),u.fromBufferAttribute(n,m),c.fromBufferAttribute(n,g),l.add(d),u.add(d),c.add(d),n.setXYZ(v,l.x,l.y,l.z),n.setXYZ(m,u.x,u.y,u.z),n.setXYZ(g,c.x,c.y,c.z)}else for(var y=0,b=t.count;y<b;y+=3)a.fromBufferAttribute(t,y+0),o.fromBufferAttribute(t,y+1),s.fromBufferAttribute(t,y+2),d.subVectors(s,o),f.subVectors(a,o),d.cross(f),n.setXYZ(y+0,d.x,d.y,d.z),n.setXYZ(y+1,d.x,d.y,d.z),n.setXYZ(y+2,d.x,d.y,d.z);this.normalizeNormals(),n.needsUpdate=!0}}},{key:"merge",value:function(){return console.error("THREE.BufferGeometry.merge() has been removed. Use THREE.BufferGeometryUtils.mergeGeometries() instead."),this}},{key:"normalizeNormals",value:function(){for(var e=this.attributes.normal,t=0,n=e.count;t<n;t++)cS.fromBufferAttribute(e,t),cS.normalize(),e.setXYZ(t,cS.x,cS.y,cS.z)}},{key:"toNonIndexed",value:function(){function e(e,t){for(var n=e.array,r=e.itemSize,i=e.normalized,a=new n.constructor(t.length*r),o=0,s=0,l=0,u=t.length;l<u;l++){o=e.isInterleavedBufferAttribute?t[l]*e.data.stride+e.offset:t[l]*r;for(var c=0;c<r;c++)a[s++]=n[o++]}return new qw(a,r,i)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;var t=new n,r=this.index.array,i=this.attributes;for(var a in i){var o=e(i[a],r);t.setAttribute(a,o)}var s=this.morphAttributes;for(var l in s){for(var u=[],c=s[l],d=0,f=c.length;d<f;d++){var h=e(c[d],r);u.push(h)}t.morphAttributes[l]=u}t.morphTargetsRelative=this.morphTargetsRelative;for(var p=this.groups,v=0,m=p.length;v<m;v++){var g=p[v];t.addGroup(g.start,g.count,g.materialIndex)}return t}},{key:"toJSON",value:function(){var e={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};
2if(e.uuid=this.uuid,e.type=this.type,""!==this.name&&(e.name=this.name),Object.keys(this.userData).length>0&&(e.userData=this.userData),void 0!==this.parameters){var t=this.parameters;for(var n in t)void 0!==t[n]&&(e[n]=t[n]);return e}e.data={attributes:{}};var r=this.index;null!==r&&(e.data.index={type:r.array.constructor.name,array:Array.prototype.slice.call(r.array)});var i=this.attributes;for(var a in i){var o=i[a];e.data.attributes[a]=o.toJSON(e.data)}var s={},l=!1;for(var u in this.morphAttributes){for(var c=this.morphAttributes[u],d=[],f=0,h=c.length;f<h;f++){var p=c[f];d.push(p.toJSON(e.data))}d.length>0&&(s[u]=d,l=!0)}l&&(e.data.morphAttributes=s,e.data.morphTargetsRelative=this.morphTargetsRelative);var v=this.groups;v.length>0&&(e.data.groups=JSON.parse(JSON.stringify(v)));var m=this.boundingSphere;return null!==m&&(e.data.boundingSphere={center:m.center.toArray(),radius:m.radius}),e}},{key:"clone",value:function(){return(new this.constructor).copy(this)}},{key:"copy",value:function(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;var t={};this.name=e.name;var n=e.index;null!==n&&this.setIndex(n.clone(t));var r=e.attributes;for(var i in r){var a=r[i];this.setAttribute(i,a.clone(t))}var o=e.morphAttributes;for(var s in o){for(var l=[],u=o[s],c=0,d=u.length;c<d;c++)l.push(u[c].clone(t));this.morphAttributes[s]=l}this.morphTargetsRelative=e.morphTargetsRelative;for(var f=e.groups,h=0,p=f.length;h<p;h++){var v=f[h];this.addGroup(v.start,v.count,v.materialIndex)}var m=e.boundingBox;null!==m&&(this.boundingBox=m.clone());var g=e.boundingSphere;return null!==g&&(this.boundingSphere=g.clone()),this.drawRange.start=e.drawRange.start,this.drawRange.count=e.drawRange.count,this.userData=e.userData,this}},{key:"dispose",value:function(){this.dispatchEvent({type:"dispose"})}}]),n}(Cb),fS=new qx,hS=new Gx,pS=new Dx,vS=new gx,mS=new gx,gS=new gx,yS=new gx,bS=new gx,xS=new gx,wS=new Vb,SS=new Vb,_S=new Vb,kS=new gx,MS=new gx,ES=new gx,TS=new gx,CS=new gx,AS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new dS,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new zw;return(0,be.Z)(this,n),(e=t.call(this)).isMesh=!0,e.type="Mesh",e.geometry=r,e.material=i,e.updateMorphTargets(),e}return(0,xe.Z)(n,[{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),void 0!==e.morphTargetInfluences&&(this.morphTargetInfluences=e.morphTargetInfluences.slice()),void 0!==e.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},e.morphTargetDictionary)),this.material=e.material,this.geometry=e.geometry,this}},{key:"updateMorphTargets",value:function(){var e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){var n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(var r=0,i=n.length;r<i;r++){var a=n[r].name||String(r);this.morphTargetInfluences.push(0),this.morphTargetDictionary[a]=r}}}}},{key:"getVertexPosition",value:function(e,t){var n=this.geometry,r=n.attributes.position,i=n.morphAttributes.position,a=n.morphTargetsRelative;t.fromBufferAttribute(r,e);var o=this.morphTargetInfluences;if(i&&o){xS.set(0,0,0);for(var s=0,l=i.length;s<l;s++){var u=o[s],c=i[s];0!==u&&(bS.fromBufferAttribute(c,e),a?xS.addScaledVector(bS,u):xS.addScaledVector(bS.sub(t),u))}t.add(xS)}return this.isSkinnedMesh&&this.applyBoneTransform(e,t),t}},{key:"raycast",value:function(e,t){var n=this.geometry,r=this.material,i=this.matrixWorld;if(void 0!==r){if(null===n.boundingSphere&&n.computeBoundingSphere(),pS.copy(n.boundingSphere),pS.applyMatrix4(i),hS.copy(e.ray).recast(e.near),!1===pS.containsPoint(hS.origin)){if(null===hS.intersectSphere(pS,vS))return;if(hS.origin.distanceToSquared(vS)>Math.pow(e.far-e.near,2))return}if(fS.copy(i).invert(),hS.copy(e.ray).applyMatrix4(fS),null===n.boundingBox||!1!==hS.intersectsBox(n.boundingBox)){var a,o=n.index,s=n.attributes.position,l=n.attributes.uv,u=n.attributes.uv2,c=n.attributes.normal,d=n.groups,f=n.drawRange;if(null!==o)if(Array.isArray(r))for(var h=0,p=d.length;h<p;h++)for(var v=d[h],m=r[v.materialIndex],g=Math.max(v.start,f.start),y=Math.min(o.count,Math.min(v.start+v.count,f.start+f.count));g<y;g+=3){var b=o.getX(g),x=o.getX(g+1),w=o.getX(g+2);(a=PS(this,m,e,hS,l,u,c,b,x,w))&&(a.faceIndex=Math.floor(g/3),a.face.materialIndex=v.materialIndex,t.push(a))}else for(var S=Math.max(0,f.start),_=Math.min(o.count,f.start+f.count);S<_;S+=3){var k=o.getX(S),M=o.getX(S+1),E=o.getX(S+2);(a=PS(this,r,e,hS,l,u,c,k,M,E))&&(a.faceIndex=Math.floor(S/3),t.pu
2sh(a))}else if(void 0!==s)if(Array.isArray(r))for(var T=0,C=d.length;T<C;T++)for(var A=d[T],P=r[A.materialIndex],R=Math.max(A.start,f.start),O=Math.min(s.count,Math.min(A.start+A.count,f.start+f.count));R<O;R+=3){(a=PS(this,P,e,hS,l,u,c,R,R+1,R+2))&&(a.faceIndex=Math.floor(R/3),a.face.materialIndex=A.materialIndex,t.push(a))}else for(var L=Math.max(0,f.start),Z=Math.min(s.count,f.start+f.count);L<Z;L+=3){(a=PS(this,r,e,hS,l,u,c,L,L+1,L+2))&&(a.faceIndex=Math.floor(L/3),t.push(a))}}}}}]),n}(yw);function PS(e,t,n,r,i,a,o,s,l,u){e.getVertexPosition(s,mS),e.getVertexPosition(l,gS),e.getVertexPosition(u,yS);var c=function(e,t,n,r,i,a,o,s){if(null===(t.side===Mm?r.intersectTriangle(o,a,i,!0,s):r.intersectTriangle(i,a,o,t.side===km,s)))return null;CS.copy(s),CS.applyMatrix4(e.matrixWorld);var l=n.ray.origin.distanceTo(CS);return l<n.near||l>n.far?null:{distance:l,point:CS.clone(),object:e}}(e,t,n,r,mS,gS,yS,TS);if(c){i&&(wS.fromBufferAttribute(i,s),SS.fromBufferAttribute(i,l),_S.fromBufferAttribute(i,u),c.uv=Pw.getInterpolation(TS,mS,gS,yS,wS,SS,_S,new Vb)),a&&(wS.fromBufferAttribute(a,s),SS.fromBufferAttribute(a,l),_S.fromBufferAttribute(a,u),c.uv2=Pw.getInterpolation(TS,mS,gS,yS,wS,SS,_S,new Vb)),o&&(kS.fromBufferAttribute(o,s),MS.fromBufferAttribute(o,l),ES.fromBufferAttribute(o,u),c.normal=Pw.getInterpolation(TS,mS,gS,yS,kS,MS,ES,new gx),c.normal.dot(r.direction)>0&&c.normal.multiplyScalar(-1));var d={a:s,b:l,c:u,normal:new gx,materialIndex:0};Pw.getNormal(mS,gS,yS,d.normal),c.face=d}return c}var RS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;(0,be.Z)(this,n),(e=t.call(this)).type="BoxGeometry",e.parameters={width:r,height:i,depth:a,widthSegments:o,heightSegments:s,depthSegments:l};var u=(0,cn.Z)(e);o=Math.floor(o),s=Math.floor(s),l=Math.floor(l);var c=[],d=[],f=[],h=[],p=0,v=0;function m(e,t,n,r,i,a,o,s,l,m,g){for(var y=a/l,b=o/m,x=a/2,w=o/2,S=s/2,_=l+1,k=m+1,M=0,E=0,T=new gx,C=0;C<k;C++)for(var A=C*b-w,P=0;P<_;P++){var R=P*y-x;T[e]=R*r,T[t]=A*i,T[n]=S,d.push(T.x,T.y,T.z),T[e]=0,T[t]=0,T[n]=s>0?1:-1,f.push(T.x,T.y,T.z),h.push(P/l),h.push(1-C/m),M+=1}for(var O=0;O<m;O++)for(var L=0;L<l;L++){var Z=p+L+_*O,N=p+L+_*(O+1),I=p+(L+1)+_*(O+1),j=p+(L+1)+_*O;c.push(Z,N,j),c.push(N,I,j),E+=6}u.addGroup(v,E,g),v+=E,p+=M}return m("z","y","x",-1,-1,a,i,r,l,s,0),m("z","y","x",1,-1,a,i,-r,l,s,1),m("x","z","y",1,1,r,a,i,o,l,2),m("x","z","y",1,-1,r,a,-i,o,l,3),m("x","y","z",1,-1,r,i,a,o,s,4),m("x","y","z",-1,-1,r,i,-a,o,s,5),e.setIndex(c),e.setAttribute("position",new nS(d,3)),e.setAttribute("normal",new nS(f,3)),e.setAttribute("uv",new nS(h,2)),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}],[{key:"fromJSON",value:function(e){return new n(e.width,e.height,e.depth,e.widthSegments,e.heightSegments,e.depthSegments)}}]),n}(dS);function OS(e){var t={};for(var n in e)for(var r in t[n]={},e[n]){var i=e[n][r];i&&(i.isColor||i.isMatrix3||i.isMatrix4||i.isVector2||i.isVector3||i.isVector4||i.isTexture||i.isQuaternion)?i.isRenderTargetTexture?(console.warn("UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms()."),t[n][r]=null):t[n][r]=i.clone():Array.isArray(i)?t[n][r]=i.slice():t[n][r]=i}return t}function LS(e){for(var t={},n=0;n<e.length;n++){var r=OS(e[n]);for(var i in r)t[i]=r[i]}return t}function ZS(e){return null===e.getRenderTarget()&&e.outputEncoding===Wy?Ky:Qy}var NS={clone:OS,merge:LS},IS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isShaderMaterial=!0,r.type="ShaderMaterial",r.defines={},r.uniforms={},r.uniformsGroups=[],r.vertexShader="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",r.fragmentShader="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}
2",r.linewidth=1,r.wireframe=!1,r.wireframeLinewidth=1,r.fog=!1,r.lights=!1,r.clipping=!1,r.forceSinglePass=!0,r.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},r.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},r.index0AttributeName=void 0,r.uniformsNeedUpdate=!1,r.glslVersion=null,void 0!==e&&r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=OS(e.uniforms),this.uniformsGroups=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].clone());return t}(e.uniformsGroups),this.defines=Object.assign({},e.defines),this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.fog=e.fog,this.lights=e.lights,this.clipping=e.clipping,this.extensions=Object.assign({},e.extensions),this.glslVersion=e.glslVersion,this}},{key:"toJSON",value:function(e){var t=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this,e);for(var r in t.glslVersion=this.glslVersion,t.uniforms={},this.uniforms){var i=this.uniforms[r].value;i&&i.isTexture?t.uniforms[r]={type:"t",value:i.toJSON(e).uuid}:i&&i.isColor?t.uniforms[r]={type:"c",value:i.getHex()}:i&&i.isVector2?t.uniforms[r]={type:"v2",value:i.toArray()}:i&&i.isVector3?t.uniforms[r]={type:"v3",value:i.toArray()}:i&&i.isVector4?t.uniforms[r]={type:"v4",value:i.toArray()}:i&&i.isMatrix3?t.uniforms[r]={type:"m3",value:i.toArray()}:i&&i.isMatrix4?t.uniforms[r]={type:"m4",value:i.toArray()}:t.uniforms[r]={value:i}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader;var a={};for(var o in this.extensions)!0===this.extensions[o]&&(a[o]=!0);return Object.keys(a).length>0&&(t.extensions=a),t}}]),n}(Ow),jS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this)).isCamera=!0,e.type="Camera",e.matrixWorldInverse=new qx,e.projectionMatrix=new qx,e.projectionMatrixInverse=new qx,e}return(0,xe.Z)(n,[{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this}},{key:"getWorldDirection",value:function(e){this.updateWorldMatrix(!0,!1);var t=this.matrixWorld.elements;return e.set(-t[8],-t[9],-t[10]).normalize()}},{key:"updateMatrixWorld",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"updateMatrixWorld",this).call(this,e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}},{key:"updateWorldMatrix",value:function(e,t){(0,fm.Z)((0,Fo.Z)(n.prototype),"updateWorldMatrix",this).call(this,e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}},{key:"clone",value:function(){return(new this.constructor).copy(this)}}]),n}(yw),DS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:50,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2e3;return(0,be.Z)(this,n),(e=t.call(this)).isPerspectiveCamera=!0,e.type="PerspectiveCamera",e.fov=r,e.zoom=1,e.near=a,e.far=o,e.focus=10,e.aspect=i,e.view=null,e.filmGauge=35,e.filmOffset=0,e.updateProjectionMatrix(),e}return(0,xe.Z)(n,[{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=null===e.view?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}},{key:"setFocalLength",value:function(e){var t=.5*this.getFilmHeight()/e;this.fov=2*Ob*Math.atan(t),this.updateProjectionMatrix()}},{key:"getFocalLength",value:function(){var e=Math.tan(.5*Rb*this.fov);return.5*this.getFilmHeight()/e}},{key:"getEffectiveFOV",value:function(){return 2*Ob*Math.atan(Math.tan(.5*Rb*this.fov)/this.zoom)}},{key:"getFilmWidth",value:function(){return this.filmGauge*Math.min(this.aspect,1)}},{key:"getFilmHeight",value:function(){return this.filmGauge/Math.max(this.aspect,1)}}
2,{key:"setViewOffset",value:function(e,t,n,r,i,a){this.aspect=e/t,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=a,this.updateProjectionMatrix()}},{key:"clearViewOffset",value:function(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}},{key:"updateProjectionMatrix",value:function(){var e=this.near,t=e*Math.tan(.5*Rb*this.fov)/this.zoom,n=2*t,r=this.aspect*n,i=-.5*r,a=this.view;if(null!==this.view&&this.view.enabled){var o=a.fullWidth,s=a.fullHeight;i+=a.offsetX*r/o,t-=a.offsetY*n/s,r*=a.width/o,n*=a.height/s}var l=this.filmOffset;0!==l&&(i+=e*l/this.getFilmWidth()),this.projectionMatrix.makePerspective(i,i+r,t,t-n,e,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}},{key:"toJSON",value:function(e){var t=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this,e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,null!==this.view&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}]),n}(jS),zS=-90,US=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){var a;(0,be.Z)(this,n),(a=t.call(this)).type="CubeCamera",a.renderTarget=i;var o=new DS(zS,1,e,r);o.layers=a.layers,o.up.set(0,1,0),o.lookAt(1,0,0),a.add(o);var s=new DS(zS,1,e,r);s.layers=a.layers,s.up.set(0,1,0),s.lookAt(-1,0,0),a.add(s);var l=new DS(zS,1,e,r);l.layers=a.layers,l.up.set(0,0,-1),l.lookAt(0,1,0),a.add(l);var u=new DS(zS,1,e,r);u.layers=a.layers,u.up.set(0,0,1),u.lookAt(0,-1,0),a.add(u);var c=new DS(zS,1,e,r);c.layers=a.layers,c.up.set(0,1,0),c.lookAt(0,0,1),a.add(c);var d=new DS(zS,1,e,r);return d.layers=a.layers,d.up.set(0,1,0),d.lookAt(0,0,-1),a.add(d),a}return(0,xe.Z)(n,[{key:"update",value:function(e,t){null===this.parent&&this.updateMatrixWorld();var n=this.renderTarget,r=(0,a.Z)(this.children,6),i=r[0],o=r[1],s=r[2],l=r[3],u=r[4],c=r[5],d=e.getRenderTarget(),f=e.toneMapping,h=e.xr.enabled;e.toneMapping=sg,e.xr.enabled=!1;var p=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,e.setRenderTarget(n,0),e.render(t,i),e.setRenderTarget(n,1),e.render(t,o),e.setRenderTarget(n,2),e.render(t,s),e.setRenderTarget(n,3),e.render(t,l),e.setRenderTarget(n,4),e.render(t,u),n.texture.generateMipmaps=p,e.setRenderTarget(n,5),e.render(t,c),e.setRenderTarget(d),e.toneMapping=f,e.xr.enabled=h,n.texture.needsPMREMUpdate=!0}}]),n}(yw),FS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s,l,u,c,d){var f;return(0,be.Z)(this,n),e=void 0!==e?e:[],r=void 0!==r?r:pg,(f=t.call(this,e,r,i,a,o,s,l,u,c,d)).isCubeTexture=!0,f.flipY=!1,f}return(0,xe.Z)(n,[{key:"images",get:function(){return this.image},set:function(e){this.image=e}}]),n}(lx),BS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,be.Z)(this,n),(e=t.call(this,r,r,i)).isWebGLCubeRenderTarget=!0;var a={width:r,height:r,depth:1},o=[a,a,a,a,a,a];return e.texture=new FS(o,i.mapping,i.wrapS,i.wrapT,i.magFilter,i.minFilter,i.format,i.type,i.anisotropy,i.encoding),e.texture.isRenderTargetTexture=!0,e.texture.generateMipmaps=void 0!==i.generateMipmaps&&i.generateMipmaps,e.texture.minFilter=void 0!==i.minFilter?i.minFilter:Tg,e}return(0,xe.Z)(n,[{key:"fromEquirectangularTexture",value:function(e,t){this.texture.type=t.type,this.texture.encoding=t.encoding,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;var n={tEquirect:{value:null}},r="\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n\t\t\t\t\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t\t\t\t\t#include <begin_vertex>\n\t\t\t\t\t#include <project_vertex>\n\n\t\t\t\t}\n\t\t\t",i="\n\n\t\t\t\tuniform sampler2D tEquirect;\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\t#include <common>\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvec3 direction = normalize( vWorldDirection );\n\n\t\t\t\t\tvec2 sampleUV = equirectUv( direction );\n\n\t\t\t\t\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\n\t\t\t\t}
2\n\t\t\t",a=new RS(5,5,5),o=new IS({name:"CubemapFromEquirect",uniforms:OS(n),vertexShader:r,fragmentShader:i,side:Mm,blending:Cm});o.uniforms.tEquirect.value=t;var s=new AS(a,o),l=t.minFilter;return t.minFilter===Pg&&(t.minFilter=Tg),new US(1,10,this).update(e,s),t.minFilter=l,s.geometry.dispose(),s.material.dispose(),this}},{key:"clear",value:function(e,t,n,r){for(var i=e.getRenderTarget(),a=0;a<6;a++)e.setRenderTarget(this,a),e.clear(t,n,r);e.setRenderTarget(i)}}]),n}(cx),VS=new gx,HS=new gx,WS=new Hb,GS=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new gx(1,0,0),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,be.Z)(this,e),this.isPlane=!0,this.normal=t,this.constant=n}return(0,xe.Z)(e,[{key:"set",value:function(e,t){return this.normal.copy(e),this.constant=t,this}},{key:"setComponents",value:function(e,t,n,r){return this.normal.set(e,t,n),this.constant=r,this}},{key:"setFromNormalAndCoplanarPoint",value:function(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}},{key:"setFromCoplanarPoints",value:function(e,t,n){var r=VS.subVectors(n,t).cross(HS.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(r,e),this}},{key:"copy",value:function(e){return this.normal.copy(e.normal),this.constant=e.constant,this}},{key:"normalize",value:function(){var e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}},{key:"negate",value:function(){return this.constant*=-1,this.normal.negate(),this}},{key:"distanceToPoint",value:function(e){return this.normal.dot(e)+this.constant}},{key:"distanceToSphere",value:function(e){return this.distanceToPoint(e.center)-e.radius}},{key:"projectPoint",value:function(e,t){return t.copy(e).addScaledVector(this.normal,-this.distanceToPoint(e))}},{key:"intersectLine",value:function(e,t){var n=e.delta(VS),r=this.normal.dot(n);if(0===r)return 0===this.distanceToPoint(e.start)?t.copy(e.start):null;var i=-(e.start.dot(this.normal)+this.constant)/r;return i<0||i>1?null:t.copy(e.start).addScaledVector(n,i)}},{key:"intersectsLine",value:function(e){var t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0}},{key:"intersectsBox",value:function(e){return e.intersectsPlane(this)}},{key:"intersectsSphere",value:function(e){return e.intersectsPlane(this)}},{key:"coplanarPoint",value:function(e){return e.copy(this.normal).multiplyScalar(-this.constant)}},{key:"applyMatrix4",value:function(e,t){var n=t||WS.getNormalMatrix(e),r=this.coplanarPoint(VS).applyMatrix4(e),i=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(i),this}},{key:"translate",value:function(e){return this.constant-=e.dot(this.normal),this}},{key:"equals",value:function(e){return e.normal.equals(this.normal)&&e.constant===this.constant}},{key:"clone",value:function(){return(new this.constructor).copy(this)}}]),e}(),qS=new Dx,XS=new gx,YS=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new GS,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new GS,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new GS,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new GS,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new GS,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:new GS;(0,be.Z)(this,e),this.planes=[t,n,r,i,a,o]}return(0,xe.Z)(e,[{key:"set",value:function(e,t,n,r,i,a){var o=this.planes;return o[0].copy(e),o[1].copy(t),o[2].copy(n),o[3].copy(r),o[4].copy(i),o[5].copy(a),this}},{key:"copy",value:function(e){for(var t=this.planes,n=0;n<6;n++)t[n].copy(e.planes[n]);return this}},{key:"setFromProjectionMatrix",value:function(e){var t=this.planes,n=e.elements,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],l=n[5],u=n[6],c=n[7],d=n[8],f=n[9],h=n[10],p=n[11],v=n[12],m=n[13],g=n[14],y=n[15];return t[0].setComponents(o-r,c-s,p-d,y-v).normalize(),t[1].setComponents(o+r,c+s,p+d,y+v).normalize(),t[2].setComponents(o+i,c+l,p+f,y+m).normalize(),t[3].setComponents(o-i,c-l,p-f,y-m).normalize(),t[4].setComponents(o-a,c-u,p-h,y-g).normalize(),t[5].setComponents(o+a,c+u,p+h,y+g).normalize(),this}},{key:"intersectsObject",value:function(e){if(void 0!==e.boundingSphere)null===e.boundingSphere&&e.computeBoundingSphere(),qS.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{var t=e.geometry;null===t.boundingSphere&&t.computeBoundingSphere(),qS.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(qS)}},{key:"intersectsSprite",value:function(e){return qS.center.set(0,0,0),qS.radius=.7071067811865476,qS.applyMatrix4(e.matrixWorld),this.intersectsSphere(qS)}},{key:"intersectsSphere",value:function(e){for(var t=this.planes,n=e.center,r=-e.radius,i=0;i<6;i++){if(t[i].distanceToPoint(n)<r)return!1}return!0}},{key:"intersectsBox",value:function(e){for(var t=this.planes,n=0;n<6;n++){var r=t[n];
2if(XS.x=r.normal.x>0?e.max.x:e.min.x,XS.y=r.normal.y>0?e.max.y:e.min.y,XS.z=r.normal.z>0?e.max.z:e.min.z,r.distanceToPoint(XS)<0)return!1}return!0}},{key:"containsPoint",value:function(e){for(var t=this.planes,n=0;n<6;n++)if(t[n].distanceToPoint(e)<0)return!1;return!0}},{key:"clone",value:function(){return(new this.constructor).copy(this)}}]),e}();function JS(){var e=null,t=!1,n=null,r=null;function i(t,a){n(t,a),r=e.requestAnimationFrame(i)}return{start:function(){!0!==t&&null!==n&&(r=e.requestAnimationFrame(i),t=!0)},stop:function(){e.cancelAnimationFrame(r),t=!1},setAnimationLoop:function(e){n=e},setContext:function(t){e=t}}}function KS(e,t){var n=t.isWebGL2,r=new WeakMap;return{get:function(e){return e.isInterleavedBufferAttribute&&(e=e.data),r.get(e)},remove:function(t){t.isInterleavedBufferAttribute&&(t=t.data);var n=r.get(t);n&&(e.deleteBuffer(n.buffer),r.delete(t))},update:function(t,i){if(t.isGLBufferAttribute){var a=r.get(t);(!a||a.version<t.version)&&r.set(t,{buffer:t.buffer,type:t.type,bytesPerElement:t.elementSize,version:t.version})}else{t.isInterleavedBufferAttribute&&(t=t.data);var o=r.get(t);void 0===o?r.set(t,function(t,r){var i,a=t.array,o=t.usage,s=e.createBuffer();if(e.bindBuffer(r,s),e.bufferData(r,a,o),t.onUploadCallback(),a instanceof Float32Array)i=5126;else if(a instanceof Uint16Array)if(t.isFloat16BufferAttribute){if(!n)throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");i=5131}else i=5123;else if(a instanceof Int16Array)i=5122;else if(a instanceof Uint32Array)i=5125;else if(a instanceof Int32Array)i=5124;else if(a instanceof Int8Array)i=5120;else if(a instanceof Uint8Array)i=5121;else{if(!(a instanceof Uint8ClampedArray))throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+a);i=5121}return{buffer:s,type:i,bytesPerElement:a.BYTES_PER_ELEMENT,version:t.version}}(t,i)):o.version<t.version&&(!function(t,r,i){var a=r.array,o=r.updateRange;e.bindBuffer(i,t),-1===o.count?e.bufferSubData(i,0,a):(n?e.bufferSubData(i,o.offset*a.BYTES_PER_ELEMENT,a,o.offset,o.count):e.bufferSubData(i,o.offset*a.BYTES_PER_ELEMENT,a.subarray(o.offset,o.offset+o.count)),o.count=-1),r.onUploadCallback()}(o.buffer,t,i),o.version=t.version)}}}}var QS=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;(0,be.Z)(this,n),(e=t.call(this)).type="PlaneGeometry",e.parameters={width:r,height:i,widthSegments:a,heightSegments:o};for(var s=r/2,l=i/2,u=Math.floor(a),c=Math.floor(o),d=u+1,f=c+1,h=r/u,p=i/c,v=[],m=[],g=[],y=[],b=0;b<f;b++)for(var x=b*p-l,w=0;w<d;w++){var S=w*h-s;m.push(S,-x,0),g.push(0,0,1),y.push(w/u),y.push(1-b/c)}for(var _=0;_<c;_++)for(var k=0;k<u;k++){var M=k+d*_,E=k+d*(_+1),T=k+1+d*(_+1),C=k+1+d*_;v.push(M,E,C),v.push(E,T,C)}return e.setIndex(v),e.setAttribute("position",new nS(m,3)),e.setAttribute("normal",new nS(g,3)),e.setAttribute("uv",new nS(y,2)),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}],[{key:"fromJSON",value:function(e){return new n(e.width,e.height,e.widthSegments,e.heightSegments)}}]),n}(dS),$S={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vAlphaMapUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef USE_ALPHATEST\n\tif ( diffuseColor.a < alphaTest ) discard;\n#endif",alphatest_pars_fragment:"#ifdef USE_ALPHATEST\n\tuniform float alphaTest;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vAoMapUv ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_ENVMAP ) && defined( STANDARD )\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n\t#endif\n#endif",aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",begin_vertex:"vec3 transformed = vec3( position );",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"float G_BlinnPhong_Implicit( ) {\n\treturn 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );
2\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, 1.0, dotVH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n} // validated",iridescence_fragment:"#ifdef USE_IRIDESCENCE\n\tconst mat3 XYZ_TO_REC709 = mat3(\n\t\t 3.2404542, -0.9692660,  0.0556434,\n\t\t-1.5371385,  1.8760108, -0.2040259,\n\t\t-0.4985314,  0.0415560,  1.0572252\n\t);\n\tvec3 Fresnel0ToIor( vec3 fresnel0 ) {\n\t\tvec3 sqrtF0 = sqrt( fresnel0 );\n\t\treturn ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\n\t}\n\tvec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\n\t}\n\tfloat IorToFresnel0( float transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\n\t}\n\tvec3 evalSensitivity( float OPD, vec3 shift ) {\n\t\tfloat phase = 2.0 * PI * OPD * 1.0e-9;\n\t\tvec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\n\t\tvec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\n\t\tvec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\n\t\tvec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\n\t\txyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\n\t\txyz /= 1.0685e-7;\n\t\tvec3 rgb = XYZ_TO_REC709 * xyz;\n\t\treturn rgb;\n\t}\n\tvec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\n\t\tvec3 I;\n\t\tfloat iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\n\t\tfloat sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\n\t\tfloat cosTheta2Sq = 1.0 - sinTheta2Sq;\n\t\tif ( cosTheta2Sq < 0.0 ) {\n\t\t\t return vec3( 1.0 );\n\t\t}\n\t\tfloat cosTheta2 = sqrt( cosTheta2Sq );\n\t\tfloat R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\n\t\tfloat R12 = F_Schlick( R0, 1.0, cosTheta1 );\n\t\tfloat R21 = R12;\n\t\tfloat T121 = 1.0 - R12;\n\t\tfloat phi12 = 0.0;\n\t\tif ( iridescenceIOR < outsideIOR ) phi12 = PI;\n\t\tfloat phi21 = PI - phi12;\n\t\tvec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) );\t\tvec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );
2\n\t\tvec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\n\t\tvec3 phi23 = vec3( 0.0 );\n\t\tif ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\n\t\tif ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\n\t\tif ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\n\t\tfloat OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\n\t\tvec3 phi = vec3( phi21 ) + phi23;\n\t\tvec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\n\t\tvec3 r123 = sqrt( R123 );\n\t\tvec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\n\t\tvec3 C0 = R12 + Rs;\n\t\tI = C0;\n\t\tvec3 Cm = Rs - T121;\n\t\tfor ( int m = 1; m <= 2; ++ m ) {\n\t\t\tCm *= r123;\n\t\t\tvec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\n\t\t\tI += Cm * Sm;\n\t\t}\n\t\treturn max( I, vec3( 0.0 ) );\n\t}\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\tvec2 dHdxy_fwd() {\n\t\tvec2 dSTdx = dFdx( vBumpMapUv );\n\t\tvec2 dSTdy = dFdy( vBumpMapUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vBumpMapUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n\t\tvec3 vSigmaX = dFdx( surf_pos.xyz );\n\t\tvec3 vSigmaY = dFdy( surf_pos.xyz );\n\t\tvec3 vN = surf_norm;\n\t\tvec3 R1 = cross( vSigmaY, vN );\n\t\tvec3 R2 = cross( vN, vSigmaX );\n\t\tfloat fDet = dot( vSigmaX, R1 ) * faceDirection;\n\t\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n\t\treturn normalize( abs( fDet ) * surf_norm - vGrad );\n\t}\n#endif",clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvec4 plane;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\tplane = clippingPlanes[ i ];\n\t\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n\t}\n\t#pragma unroll_loop_end\n\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\tbool clipped = true;\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t\tif ( clipped ) discard;\n\t#endif\n#endif",clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvClipPosition = - mvPosition.xyz;\n#endif",color_fragment:"#if defined( USE_COLOR_ALPHA )\n\tdiffuseColor *= vColor;\n#elif defined( USE_COLOR )\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR )\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvarying vec3 vColor;\n#endif",color_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n\tvColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n\tvColor.xyz *= instanceColor.xyz;\n#endif",common:"#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nvec3 pow2( const in vec3 x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\nhighp float rand( const in vec2 uv ) {\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\treturn fract( sin( sn ) * c );\n}\n#ifdef HIGH_PRECISION\n\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n\tfloat precisionSafeLength( vec3 v ) {\n\t\tfloat maxComponent = max3( abs( v ) );\n\t\treturn length( v / maxComponent ) * maxComponent;\n\t}\n#endif\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\nstruct GeometricContext {\n\tvec3 position;\n\tvec3 normal;\n\tvec3 viewDir;\n#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal;\n#endif\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nmat3 transposeMat3( const in mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat luminance( const in vec3 rgb ) {\n\tconst vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 );\n\treturn dot( weights, rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n\treturn m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\treturn vec2( u, v );\n}\nvec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n} // validated",cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n\t#define cubeUV_minMipLevel 4.0\n\t#define cubeUV_minTileSize 16.0\n\tfloat getFace( vec3 direction ) {\n\t\tvec3 absDirection = abs( direction );\n\t\tfloat face = - 1.0;\n\t\tif ( absDirection.x > absDirection.z ) {\n\t\t\tif ( absDirection.x > absDirection.y )\n\t\t\t\tface = direction.x > 0.0 ? 0.0 : 3.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t} else {\n\t\t\tif ( absDirection.z > absDirection.y )\n\t\t\t\tface = direction.z > 0.0 ? 2.0 : 5.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t}\n\t\treturn face;\n\t}\n\tvec2 getUV( vec3 direction, float face ) {\n\t\tvec2 uv;\n\t\tif ( face == 0.0 ) {\n\t\t\tuv = vec2( direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 1.0 ) {\n\t\t\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n\t\t} else if ( face == 2.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.y ) / abs( direction.z );\n\t\t} else if ( face == 3.0 ) {\n\t\t\tuv = vec2( - direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 4.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.z ) / abs( direction.y );\n\t\t} else {\n\t\t\tuv = vec2( direction.x, direction.y ) / abs( direction.z );\n\t\t}\n\t\treturn 0.5 * ( uv + 1.0 );\n\t}\n\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n\t\tfloat face = getFace( direction );\n\t\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n\t\tmipInt = max( mipInt, cubeUV_minMipLevel );\n\t\tfloat faceSize = exp2( mipInt );\n\t\thighp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\n\t\tif ( face > 2.0 ) {\n\t\t\tuv.y += faceSize;\n\t\t\tface -= 3.0;\n\t\t}\n\t\tuv.x += face * faceSize;\n\t\tuv.x += filterInt * 3.0 * cubeUV_minTileSize;\n\t\tuv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\n\t\tuv.x *= CUBEUV_TEXEL_WIDTH;\n\t\tuv.y *= CUBEUV_TEXEL_HEIGHT;\n\t\t#ifdef texture2DGradEXT\n\t\t\treturn texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\n\t\t#else\n\t\t\treturn texture2D( envMap, uv ).rgb;\n\t\t#endif\n\t}\n\t#define cubeUV_r0 1.0\n\t#define cubeUV_v0 0.339\n\t#define cubeUV_m0 - 2.0\n\t#define cubeUV_r1 0.8\n\t#define cubeUV_v1 0.276\n\t#define cubeUV_m1 - 1.0\n\t#define cubeUV_r4 0.4\n\t#define cubeUV_v4 0.046\n\t#define cubeUV_m4 2.0\n\t#define cubeUV_r5 0.305\n\t#define cubeUV_v5 0.016\n\t#define cubeUV_m5 3.0\n\t#define cubeUV_r6 0.21\n\t#define cubeUV_v6 0.0038\n\t#define cubeUV_m6 4.0\n\tfloat roughnessToMip( float roughness ) {\n\t\tfloat mip = 0.0;\n\t\tif ( roughness >= cubeUV_r1 ) {\n\t\t\tmip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;\n\t\t} else if ( roughness >= cubeUV_r4 ) {\n\t\t\tmip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;\n\t\t} else if ( roughness >= cubeUV_r5 ) {\n\t\t\tmip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;\n\t\t} else if ( roughness >= cubeUV_r6 ) {\n\t\t\tmip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;\n\t\t} else {\n\t\t\tmip = - 2.0 * log2( 1.16 * roughness );\t\t}\n\t\treturn mip;\n\t}\n\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n\t\tfloat mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );\n\t\tfloat mipF = fract( mip );\n\t\tfloat mipInt = floor( mip );\n\t\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n\t\tif ( mipF == 0.0 ) {\n\t\t\treturn vec4( color0, 1.0 );\n\t\t} else {\n\t\t\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n\t\t\treturn vec4( mix( color0, color1, mipF ), 1.0 );\n\t\t}\n\t}\n#endif",defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_INSTANCING\n\tmat3 m = mat3( instanceMatrix );\n\ttransformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) );\n\ttransformedNormal = m * transformedNormal;\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n\ttransformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n\tvec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#ifdef FLIP_SIDED\n\t\ttransformedTangent = - transformedTangent;\n\t#endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + dis
2placementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif",encodings_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",encodings_pars_fragment:"vec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}",envmap_fragment:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToFrag;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n\t\t#endif\n\t#else\n\t\tvec3 reflectVec = vReflect;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\t#endif\n#endif",envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\tvarying vec3 vWorldPosition;\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n#endif",envmap_pars_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\t\n\t\tvarying vec3 vWorldPosition;\n\t#else\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\t#endif\n#endif",envmap_physical_pars_fragment:"#if defined( USE_ENVMAP )\n\tvec3 getIBLIrradiance( const in vec3 normal ) {\n\t\t#if defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );\n\t\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n\tvec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\n\t\t#if defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 reflectVec = reflect( - viewDir, normal );\n\t\t\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );\n\t\t\treturn envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n#endif",envmap_vertex:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t}
2 else {\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif",fog_vertex:"#ifdef USE_FOG\n\tvFogDepth = - mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float vFogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float vFogDepth;\n\t#ifdef FOG_EXP2\n\t\tuniform float fogDensity;\n\t#else\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\t#endif\n#endif",gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n\tuniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\tfloat dotNL = dot( normal, lightDirection );\n\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\t#ifdef USE_GRADIENTMAP\n\t\treturn vec3( texture2D( gradientMap, coord ).r );\n\t#else\n\t\tvec2 fw = fwidth( coord ) * 0.5;\n\t\treturn mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );\n\t#endif\n}",lightmap_fragment:"#ifdef USE_LIGHTMAP\n\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\treflectedLight.indirectDiffuse += lightMapIrradiance;\n#endif",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_fragment:"LambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;",lights_lambert_pars_fragment:"varying vec3 vViewPosition;\nstruct LambertMaterial {\n\tvec3 diffuseColor;\n\tfloat specularStrength;\n};\nvoid RE_Direct_Lambert( const in IncidentLight directLight, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Lambert\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Lambert",lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\nuniform vec3 lightProbe[ 9 ];\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\treturn result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\n\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\treturn irradiance;\n}\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n\t#if defined ( LEGACY_LIGHTS )\n\t\tif ( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n\t\t\treturn pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t\t}\n\t\treturn 1.0;\n\t#else\n\t\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\t\tif ( cutoffDistance > 0.0 ) {\n\t\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t\t}\n\t\treturn distanceFalloff;\n\t#endif\n}\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\n\treturn smoothstep( coneCosine, penumbraCosine, angleCosine );\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tlight.color = directionalLight.color;\n\t\tlight.direction = directionalLight.direction;\n\t\tlight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS > 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tlight.color = pointLight.color;\n\t\tlight.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\n\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t}
2\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat angleCos = dot( light.direction, spotLight.direction );\n\t\tfloat spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\tif ( spotAttenuation > 0.0 ) {\n\t\t\tfloat lightDistance = length( lVector );\n\t\t\tlight.color = spotLight.color * spotAttenuation;\n\t\t\tlight.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t\t} else {\n\t\t\tlight.color = vec3( 0.0 );\n\t\t\tlight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\n\t\tfloat dotNL = dot( normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\treturn irradiance;\n\t}\n#endif",lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\nstruct ToonMaterial {\n\tvec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon",lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\nstruct BlinnPhongMaterial {\n\tvec3 diffuseColor;\n\tvec3 specularColor;\n\tfloat specularShininess;\n\tfloat specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong",lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\nmaterial.roughness = min( material.roughness, 1.0 );\n#ifdef IOR\n\tmaterial.ior = ior;\n\t#ifdef USE_SPECULAR\n\t\tfloat specularIntensityFactor = specularIntensity;\n\t\tvec3 specularColorFactor = specularColor;\n\t\t#ifdef USE_SPECULAR_COLORMAP\n\t\t\tspecularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb;\n\t\t#endif\n\t\t#ifdef USE_SPECULAR_INTENSITYMAP\n\t\t\tspecularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a;\n\t\t#endif\n\t\tmaterial.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\n\t#else\n\t\tfloat specularIntensityFactor = 1.0;\n\t\tvec3 specularColorFactor = vec3( 1.0 );\n\t\tmaterial.specularF90 = 1.0;\n\t#endif\n\tmaterial.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\n\tmaterial.specularF90 = 1.0;\n#endif\n#ifdef USE_CLEARCOAT\n\tmaterial.clearcoat = clearcoat;
2\n\tmaterial.clearcoatRoughness = clearcoatRoughness;\n\tmaterial.clearcoatF0 = vec3( 0.04 );\n\tmaterial.clearcoatF90 = 1.0;\n\t#ifdef USE_CLEARCOATMAP\n\t\tmaterial.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x;\n\t#endif\n\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\t\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y;\n\t#endif\n\tmaterial.clearcoat = saturate( material.clearcoat );\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n\tmaterial.clearcoatRoughness += geometryRoughness;\n\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_IRIDESCENCE\n\tmaterial.iridescence = iridescence;\n\tmaterial.iridescenceIOR = iridescenceIOR;\n\t#ifdef USE_IRIDESCENCEMAP\n\t\tmaterial.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r;\n\t#endif\n\t#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\t\tmaterial.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum;\n\t#else\n\t\tmaterial.iridescenceThickness = iridescenceThicknessMaximum;\n\t#endif\n#endif\n#ifdef USE_SHEEN\n\tmaterial.sheenColor = sheenColor;\n\t#ifdef USE_SHEEN_COLORMAP\n\t\tmaterial.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb;\n\t#endif\n\tmaterial.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\n\t#ifdef USE_SHEEN_ROUGHNESSMAP\n\t\tmaterial.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a;\n\t#endif\n#endif",lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3 diffuseColor;\n\tfloat roughness;\n\tvec3 specularColor;\n\tfloat specularF90;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat clearcoat;\n\t\tfloat clearcoatRoughness;\n\t\tvec3 clearcoatF0;\n\t\tfloat clearcoatF90;\n\t#endif\n\t#ifdef USE_IRIDESCENCE\n\t\tfloat iridescence;\n\t\tfloat iridescenceIOR;\n\t\tfloat iridescenceThickness;\n\t\tvec3 iridescenceFresnel;\n\t\tvec3 iridescenceF0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tvec3 sheenColor;\n\t\tfloat sheenRoughness;\n\t#endif\n\t#ifdef IOR\n\t\tfloat ior;\n\t#endif\n\t#ifdef USE_TRANSMISSION\n\t\tfloat transmission;\n\t\tfloat transmissionAlpha;\n\t\tfloat thickness;\n\t\tfloat attenuationDistance;\n\t\tvec3 attenuationColor;\n\t#endif\n};\nvec3 clearcoatSpecular = vec3( 0.0 );\nvec3 sheenSpecular = vec3( 0.0 );\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\n    float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\n    float x2 = x * x;\n    float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\n    return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\n}\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\treturn 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\tfloat a2 = pow2( alpha );\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n}\n#ifdef USE_CLEARCOAT\n\tvec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) {\n\t\tvec3 f0 = material.clearcoatF0;\n\t\tfloat f90 = material.clearcoatF90;\n\t\tfloat roughness = material.clearcoatRoughness;\n\t\tfloat alpha = pow2( roughness );\n\t\tvec3 halfDir = normalize( lightDir + viewDir );\n\t\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\t\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\t\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\t\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\t\tvec3 F = F_Schlick( f0, f90, dotVH );\n\t\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\t\tfloat D = D_GGX( alpha, dotNH );\n\t\treturn F * ( V * D );\n\t}\n#endif\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {\n\tvec3 f0 = material.specularColor;\n\tfloat f90 = material.specularF90;\n\tfloat roughness = material.roughness;\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( lightDir + viewDir );
2\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( f0, f90, dotVH );\n\t#ifdef USE_IRIDESCENCE\n\t\tF = mix( F, material.iridescenceFresnel, material.iridescence );\n\t#endif\n\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );
vendor: 5,468 bytes, line 2
2\n\treturn F * ( V * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\tfloat dotNV = saturate( dot( N, V ) );\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\treturn uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\tfloat l = length( f );\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\tfloat x = dot( v1, v2 );\n\tfloat y = abs( x );\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie( float roughness, float dotNH ) {\n\tfloat alpha = pow2( roughness );\n\tfloat invAlpha = 1.0 / alpha;\n\tfloat cos2h = dotNH * dotNH;\n\tfloat sin2h = max( 1.0 - cos2h, 0.0078125 );\n\treturn ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\n}\nfloat V_Neubelt( float dotNV, float dotNL ) {\n\treturn saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\n}\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat D = D_Charlie( sheenRoughness, dotNH );\n\tfloat V = V_Neubelt( dotNV, dotNL );\n\treturn sheenColor * ( D * V );\n}\n#endif\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat r2 = roughness * roughness;\n\tfloat a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n\tfloat b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\n\tfloat DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\n\treturn saturate( DG * RECIPROCAL_PI );\n}\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\tvec4 r = roughness * c0 + c1;\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\tvec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\n\treturn fab;\n}\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\treturn specularColor * fab.x + specularF90 * fab.y;\n}\n#ifdef USE_IRIDESCENCE\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#else\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#endif\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\t#ifdef USE_IRIDESCENCE\n\t\tvec3 Fr = mix( specularColor, iridescenceF0, iridescence );\n\t#else\n\t\tvec3 Fr = specularColor;\n\t#endif\n\tvec3 FssEss = Fr * fab.x + specularF90 * fab.y;\n\tfloat Ess = fab.x + fab.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in 
2GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometry.normal;\n\t\tvec3 viewDir = geometry.viewDir;\n\t\tvec3 position = geometry.position;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.roughness;\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3(    0, 1,    0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\t}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = dotNLcc * directLight.color;\n\t\tclearcoatSpecular += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness );\n\t#endif\n\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material );\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness );\n\t#endif\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\t#ifdef USE_IRIDESCENCE\n\t\tcomputeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n\t#else\n\t\tcomputeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\n\t#endif\n\tvec3 totalScattering = singleScattering + multiScattering;\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\n\treflectedLight.indirectSpecular += radiance * singleScattering;\n\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\nfloat c
2omputeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",lights_fragment_begin:"\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n#ifdef USE_CLEARCOAT\n\tgeometry.clearcoatNormal = clearcoatNormal;\n#endif\n#ifdef USE_IRIDESCENCE\n\tfloat dotNVi = saturate( dot( normal, geometry.viewDir ) );\n\tif ( material.iridescenceThickness == 0.0 ) {\n\t\tmaterial.iridescence = 0.0;\n\t} else {\n\t\tmaterial.iridescence = saturate( material.iridescence );\n\t}\n\tif ( material.iridescence > 0.0 ) {\n\t\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n\t\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n\t}\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointLightInfo( pointLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tpointLightShadow = pointLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\tvec4 spotColor;\n\tvec3 spotLightCoord;\n\tbool inSpotLightMap;\n\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotLightInfo( spotLight, geometry, directLight );\n\t\t#if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n\t\t#elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t#define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n\t\t#else\n\t\t#define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#endif\n\t\t#if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )\n\t\t\tspotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n\t\t\tinSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n\t\t\tspotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n\t\t\tdirectLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n\t\t#endif\n\t\t#undef SPOT_LIGHT_MAP_INDEX\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalLightInfo( directionalLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\tirradiance += getLightProbeIrradiance( lightProbe, geometry.normal );\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if defined( RE_IndirectSpecular )\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n#endif",lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\t\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getIBLIrradiance( geometry.normal );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness );\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness );\n\t#endif\n#endif",lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t\tvarying float vIsPerspective;\n\t#else\n\t\tuniform float logDepthBufFC;\n\t#endif\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvFragDepth = 1.0 + gl_Position.w;\n\t\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n\t#else\n\t\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\n\t\t\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\n\t\t\tgl_Position.z *= gl_Position.w;\n\t\t}\n\t#endif\n#endif",map_fragment:"#ifdef USE_MAP\n\tvec4 sampledDiffuseColor = texture2D( map, vMapUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\tsampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w );\n\t#endif\n\tdiffuseColor *= sampledDiffuseColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\t#if defined( USE_POINTS_UV )\n\t\tvec2 uv = vUv;\n\t#else\n\t\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n\t#endif\n#endif\n#ifdef USE_MAP\n\tdiffuseColor *= texture2D( map, uv );\n#endif\n#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",map_particle_pars_fragment:"#if defined( USE_POINTS_UV )\n\tvarying vec2 vUv;\n#else\n\t#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\t\tuniform mat3 uvTransform;\n\t#endif\n#endif\n#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",morphcolor_vertex:"#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE )\n\tvColor *= morphTargetBaseInfluence;\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t#if defined( USE_COLOR_ALPHA )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\n\t\t#elif defined( USE_COLOR )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\n\t\t#endif\n\t}\n#endif",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\n\t\t}\n\t#else\n\t\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\n\t\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\n\t\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\n\t\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\n\t#endif\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\tuniform float morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n\t\tuniform sampler2DArray morphTargetsTexture;\n\t\tuniform ivec2 morphTargetsTextureSize;\n\t\tvec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\n\t\t\tint texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\n\t\t\tint y = texelIndex / morphTargetsTextureSize.x;\n\t\t\tint x = texelIndex - y * morphTargetsTextureSize.x;\n\t\t\tivec3 morphUV = ivec3( x, y, morphTargetIndex );\n\t\t\treturn texelFetch( morphTargetsTexture, morphUV, 0 );\n\t\t}\n\t#else\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\tuniform float morphTargetInfluences[ 8 ];\n\t\t#else\n\t\t\tuniform float morphTargetInfluences[ 4 ];\n\t\t#endif\n\t#endif\n#endif",morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\n\t\t}\n\t#else\n\t\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\n\t\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\n\t\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\n\t\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\n\t\t\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\n\t\t\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\n\t\t\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\n\t\t#endif\n\t#endif\n#endif",normal_fragment_begin:"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n\tvec3 fdx = dFdx( vViewPosition );\n\tvec3 fdy = dFdy( vViewPosition );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal *= faceDirection;\n\t#endif\n#endif\n#ifdef USE_NORMALMAP_TANGENTSPACE\n\t#ifdef USE_TANGENT\n\t\tmat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n\t#else\n\t\tmat3 tbn = getTangentFrame( - vViewPosition, normal, vNormalMapUv );\n\t#endif\n\t#if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n\t\ttbn[0] *= faceDirection;\n\t\ttbn[1] *= faceDirection;\n\t#endif\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\t#ifdef USE_TANGENT\n\t\tmat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n\t#else\n\t\tmat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );\n\t#endif\n\t#if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n\t\ttbn2[0] *= faceDirection;\n\t\ttbn2[1] *= faceDirection;\n\t#endif\n#endif\nvec3 geometryNormal = normal;",normal_fragment_maps:"#ifdef USE_NORMALMAP_OBJECTSPACE\n\tnormal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n\t#ifdef FLIP_SIDED\n\t\tnormal = - normal;\n\t#endif\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * faceDirection;\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( USE_NORMALMAP_TANGENTSPACE )\n\tvec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\tnormal = normalize( tbn * mapN );
2\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",normal_pars_fragment:"#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif",normal_pars_vertex:"#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif",normal_vertex:"#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif",normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef USE_NORMALMAP_OBJECTSPACE\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\n\tmat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) {\n\t\tvec3 q0 = dFdx( eye_pos.xyz );\n\t\tvec3 q1 = dFdy( eye_pos.xyz );\n\t\tvec2 st0 = dFdx( uv.st );\n\t\tvec2 st1 = dFdy( uv.st );\n\t\tvec3 N = surf_norm;\n\t\tvec3 q1perp = cross( q1, N );\n\t\tvec3 q0perp = cross( N, q0 );\n\t\tvec3 T = q1perp * st0.x + q0perp * st1.x;\n\t\tvec3 B = q1perp * st0.y + q0perp * st1.y;\n\t\tfloat det = max( dot( T, T ), dot( B, B ) );\n\t\tfloat scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );\n\t\treturn mat3( T * scale, B * scale, N );\n\t}\n#endif",clearcoat_normal_fragment_begin:"#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal = geometryNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\tclearcoatNormal = normalize( tbn2 * clearcoatMapN );\n#endif",clearcoat_pars_fragment:"#ifdef USE_CLEARCOATMAP\n\tuniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform sampler2D clearcoatRoughnessMap;\n#endif",iridescence_pars_fragment:"#ifdef USE_IRIDESCENCEMAP\n\tuniform sampler2D iridescenceMap;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform sampler2D iridescenceThicknessMap;\n#endif",output_fragment:"#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha + 0.1;\n#endif\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );",packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nvec2 packDepthToRG( in highp float v ) {\n\treturn packDepthToRGBA( v ).yx;\n}\nfloat unpackRGToDepth( const in highp vec2 v ) {\n\treturn unpackRGBAToDepth( vec4( v.xy, 0.0, 0.0 ) );\n}\nvec4 pack2HalfToRGBA( vec2 v ) {\n\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\n\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\n}\nvec2 unpackRGBATo2Half( vec4 v ) {\n\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) {\n\treturn depth * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * depth - far );\n}",premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );
vendor: 14,803 bytes, line 2
2\n#ifdef USE_INSTANCING\n\tmvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif",roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#if NUM_SPOT_LIGHT_COORDS > 0\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#if NUM_SPOT_LIGHT_MAPS > 0\n\tuniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n\t\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n\t}\n\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n\t\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\n\t}\n\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n\t\tfloat occlusion = 1.0;\n\t\tvec2 distribution = texture2DDistribution( shadow, uv );\n\t\tfloat hard_shadow = step( compare , distribution.x );\n\t\tif (hard_shadow != 1.0 ) {\n\t\t\tfloat distance = compare - distribution.x ;\n\t\t\tfloat variance = max( 0.00000, distribution.y * distribution.y );\n\t\t\tfloat softness_probability = variance / (variance + distance * distance );\t\t\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\t\t\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n\t\t}\n\t\treturn occlusion;\n\t}\n\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n\t\tfloat shadow = 1.0;\n\t\tshadowCoord.xyz /= shadowCoord.w;\n\t\tshadowCoord.z += shadowBias;\n\t\tbool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;\n\t\tbool frustumTest = inFrustum && shadowCoord.z <= 1.0;\n\t\tif ( frustumTest ) {\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tfloat dx2 = dx0 / 2.0;\n\t\t\tfloat dy2 = dy0 / 2.0;\n\t\t\tfloat dx3 = dx1 / 2.0;\n\t\t\tfloat dy3 = dy1 / 2.0;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 17.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx = texelSize.x;\n\t\t\tfloat dy = texelSize.y;\n\t\t\tvec2 uv = shadowCoord.xy;\n\t\t\tvec2 f = fract( uv * shadowMapSize + 0.5 );\n\t\t\tuv -= f * texelSize;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t f.y )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_VSM )\n\t\t\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#else\n\t\t\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}\n\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\n\t\tvec3 absV = abs( v );\n\t\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n\t\tabsV *= scaleToCube;\n\t\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n\t\tvec2 planar = v.xy;\n\t\tfloat almostATexel = 1.5 * texelSizeY;\n\t\tfloat almostOne = 1.0 - almostATexel;\n\t\tif ( absV.z >= almostOne ) {\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x >= almostOne ) {\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\t\t} else if ( absV.y >= almostOne ) {\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\t\t}\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\t}\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\tdp += shadowBias;\n\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\treturn (\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#else\n\t\t\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t#endif\n\t}\n#endif",shadowmap_pars_vertex:"#if NUM_SPOT_LIGHT_COORDS > 0\n\tuniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n#endif",shadowmap_vertex:"#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )\n\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\tvec4 shadowWorldPosition;\n#endif\n#if defined( USE_SHADOWMAP )\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n\t\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n\t\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if NUM_SPOT_LIGHT_COORDS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition;\n\t\t#if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t\tshadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;\n\t\t#endif\n\t\tvSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n#endif",shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tdirectionalLight = directionalLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tspotLight = spotLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tpointLight = pointLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#endif\n\treturn shadow;\n}",skinbase_vertex:"#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\tuniform highp sampler2D boneTexture;\n\t
2uniform int boneTextureSize;\n\tmat4 getBoneMatrix( const in float i ) {\n\t\tfloat j = i * 4.0;\n\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\ty = dy * ( y + 0.5 );\n\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\treturn bone;\n\t}\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nvec3 LinearToneMapping( vec3 color ) {\n\treturn toneMappingExposure * color;\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\n}\nvec3 OptimizedCineonToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\tcolor = max( vec3( 0.0 ), color - 0.004 );\n\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 RRTAndODTFit( vec3 v ) {\n\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n\treturn a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n\tconst mat3 ACESInputMat = mat3(\n\t\tvec3( 0.59719, 0.07600, 0.02840 ),\t\tvec3( 0.35458, 0.90834, 0.13383 ),\n\t\tvec3( 0.04823, 0.01566, 0.83777 )\n\t);\n\tconst mat3 ACESOutputMat = mat3(\n\t\tvec3(  1.60475, -0.10208, -0.00327 ),\t\tvec3( -0.53108,  1.10813, -0.07276 ),\n\t\tvec3( -0.07367, -0.00605,  1.07602 )\n\t);\n\tcolor *= toneMappingExposure / 0.6;\n\tcolor = ACESInputMat * color;\n\tcolor = RRTAndODTFit( color );\n\tcolor = ACESOutputMat * color;\n\treturn saturate( color );\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }",transmission_fragment:"#ifdef USE_TRANSMISSION\n\tmaterial.transmission = transmission;\n\tmaterial.transmissionAlpha = 1.0;\n\tmaterial.thickness = thickness;\n\tmaterial.attenuationDistance = attenuationDistance;\n\tmaterial.attenuationColor = attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tmaterial.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tmaterial.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g;\n\t#endif\n\tvec3 pos = vWorldPosition;\n\tvec3 v = normalize( cameraPosition - pos );\n\tvec3 n = inverseTransformDirection( normal, viewMatrix );\n\tvec4 transmission = getIBLVolumeRefraction(\n\t\tn, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,\n\t\tpos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness,\n\t\tmaterial.attenuationColor, material.attenuationDistance );\n\tmaterial.transmissionAlpha = mix( material.transmissionAlpha, transmission.a, material.transmission );\n\ttotalDiffuse = mix( totalDiffuse, transmission.rgb, material.transmission );\n#endif",transmission_pars_fragment:"#ifdef USE_TRANSMISSION\n\tuniform float transmission;\n\tuniform float thickness;\n\tuniform float attenuationDistance;\n\tuniform vec3 attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tuniform sampler2D transmissionMap;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tuniform sampler2D thicknessMap;\n\t#endif\n\tuniform vec2 transmissionSamplerSize;\n\tuniform sampler2D transmissionSamplerMap;\n\tuniform mat4 modelMatrix;\n\tuniform mat4 projectionMatrix;\n\tvarying vec3 vWorldPosition;\n\tfloat w0( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 );\n\t}\n\tfloat w1( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a *  a * ( 3.0 * a - 6.0 ) + 4.0 );\n\t}\n\tfloat w2( float a ){\n\t\treturn ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 );\n\t}\n\tfloat w3( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a * a * a );\n\t}\n\tfloat g0( float a ) {\n\t\treturn w0( a ) + w1( a );\n\t}\n\tfloat g1( float a ) {\n\t\treturn w2( a ) + w3( a );\n\t}\n\tfloat h0( float a ) {\n\t\treturn - 1.0 + w1( a ) / ( w0( a ) + w1( a ) );\n\t}\n\tfloat h1( float a ) {\n\t\treturn 1.0 + w3( a ) / ( w2( a ) + w3( a ) );\n\t}\n\tvec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, vec2 fullSize, float lod ) {\n\t\tuv = uv * texelSize.zw + 0.5;\n\t\tvec2 iuv = floor( uv );\n\t\tvec2 fuv = fract( uv );\n\t\tfloat g0x = g0( fuv.x );\n\t\tfloat g1x = g1( fuv.x );\n\t\tfloat h0x = h0( fuv.x );\n\t\tfloat h1x = h1( fuv.x );\n\t\tfloat h0y = h0( fuv.y );\n\t\tfloat h1y = h1( fuv.y );\n\t\tvec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n\t\t\n\t\tvec2 lodFudge = pow( 1.95, lod ) / fullSize;\n\t\treturn g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) +\n\t\t\tg1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) );\n\t}\n\tvec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) {\n\t\tvec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) );\n\t\tvec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) );\n\t\tvec2 fLodSizeInv = 1.0 / fLodSize;\n\t\tvec2 cLodSizeInv = 1.0 / cLodSize;\n\t\tvec2 fullSize = vec2( textureSize( sampler, 0 ) );\n\t\tvec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), fullSize, floor( lod ) );\n\t\tvec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), fullSize, ceil( lod ) );\n\t\treturn mix( fSample, cSample, fract( lod ) );\n\t}\n\tvec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\n\t\tvec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\n\t\tvec3 modelScale;\n\t\tmodelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\n\t\tmodelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\n\t\tmodelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\n\t\treturn normalize( refractionVector ) * thickness * modelScale;\n\t}\n\tfloat applyIorToRoughness( const in float roughness, const in float ior ) {\n\t\treturn roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\n\t}\n\tvec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\n\t\tfloat lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\n\t\treturn textureBicubic( transmissionSamplerMap, fragCoord.xy, lod );\n\t}\n\tvec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tif ( isinf( attenuationDistance ) ) {\n\t\t\treturn radiance;\n\t\t} else {\n\t\t\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n\t\t\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance );\t\t\treturn transmittance * radiance;\n\t\t}\n\t}\n\tvec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\n\t\tconst in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\n\t\tconst in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness,\n\t\tconst in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\n\t\tvec3 refractedRayExit = position + transmissionRay;\n\t\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n\t\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\n\t\trefractionCoords += 1.0;\n\t\trefractionCoords /= 2.0;\n\t\tvec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\n\t\tvec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance );\n\t\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n\t\treturn vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a );\n\t}\n#endif",uv_pars_fragment:"#ifdef USE_UV\n\tvarying vec2 vUv;\n#endif\n#ifdef USE_MAP\n\tvarying vec2 vMapUv;
2\n#endif\n#ifdef USE_ALPHAMAP\n\tvarying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n\tvarying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n\tvarying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n\tvarying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n\tvarying vec2 vNormalMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tvarying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n\tvarying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tvarying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tvarying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tvarying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tvarying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tvarying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tvarying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tvarying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tvarying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n\tvarying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tvarying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tvarying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tuniform mat3 transmissionMapTransform;\n\tvarying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n\tuniform mat3 thicknessMapTransform;\n\tvarying vec2 vThicknessMapUv;\n#endif",uv_pars_vertex:"#ifdef USE_UV\n\tvarying vec2 vUv;\n#endif\n#ifdef USE_UV2\n\tattribute vec2 uv2;\n#endif\n#ifdef USE_MAP\n\tuniform mat3 mapTransform;\n\tvarying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform mat3 alphaMapTransform;\n\tvarying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n\tuniform mat3 lightMapTransform;\n\tvarying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n\tuniform mat3 aoMapTransform;\n\tvarying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n\tuniform mat3 bumpMapTransform;\n\tvarying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n\tuniform mat3 normalMapTransform;\n\tvarying vec2 vNormalMapUv;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n\tuniform mat3 displacementMapTransform;\n\tvarying vec2 vDisplacementMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tuniform mat3 emissiveMapTransform;\n\tvarying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n\tuniform mat3 metalnessMapTransform;\n\tvarying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tuniform mat3 roughnessMapTransform;\n\tvarying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tuniform mat3 clearcoatMapTransform;\n\tvarying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform mat3 clearcoatNormalMapTransform;\n\tvarying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform mat3 clearcoatRoughnessMapTransform;\n\tvarying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tuniform mat3 sheenColorMapTransform;\n\tvarying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tuniform mat3 sheenRoughnessMapTransform;\n\tvarying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tuniform mat3 iridescenceMapTransform;\n\tvarying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform mat3 iridescenceThicknessMapTransform;\n\tvarying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n\tuniform mat3 specularMapTransform;\n\tvarying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tuniform mat3 specularColorMapTransform;\n\tvarying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tuniform mat3 specularIntensityMapTransform;\n\tvarying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tuniform mat3 transmissionMapTransform;\n\tvarying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n\tuniform mat3 thicknessMapTransform;\n\tvarying vec2 vThicknessMapUv;\n#endif",uv_vertex:"#ifdef USE_UV\n\tvUv = vec3( uv, 1 ).xy;\n#endif\n#ifdef USE_MAP\n\tvMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ALPHAMAP\n\tvAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_LIGHTMAP\n\tvLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_AOMAP\n\tvAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_BUMPMAP\n\tvBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_NORMALMAP\n\tvNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n\tvDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tvEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_METALNESSMAP\n\tvMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tvRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tvClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tvClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tvClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy;
2\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tvIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tvIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tvSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tvSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULARMAP\n\tvSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tvSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tvSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tvTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_THICKNESSMAP\n\tvThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\t#ifdef USE_INSTANCING\n\t\tworldPosition = instanceMatrix * worldPosition;\n\t#endif\n\tworldPosition = modelMatrix * worldPosition;\n#endif",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}",background_frag:"uniform sampler2D t2D;\nuniform float backgroundIntensity;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texColor = texture2D( t2D, vUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\ttexColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w );\n\t#endif\n\ttexColor.rgb *= backgroundIntensity;\n\tgl_FragColor = texColor;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",backgroundCube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",backgroundCube_frag:"#ifdef ENVMAP_TYPE_CUBE\n\tuniform samplerCube envMap;\n#elif defined( ENVMAP_TYPE_CUBE_UV )\n\tuniform sampler2D envMap;\n#endif\nuniform float flipEnvMap;\nuniform float backgroundBlurriness;\nuniform float backgroundIntensity;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 texColor = textureCube( envMap, vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) );\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 texColor = textureCubeUV( envMap, vWorldDirection, backgroundBlurriness );\n\t#else\n\t\tvec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t#endif\n\ttexColor.rgb *= backgroundIntensity;\n\tgl_FragColor = texColor;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",cube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",cube_frag:"uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldDirection;\nvoid main() {\n\tvec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );\n\tgl_FragColor = texColor;\n\tgl_FragColor.a *= opacity;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",depth_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvHighPrecisionZW = gl_Position.zw;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#if DEPTH_PACKING == 3200\n\t\tdiffuseColor.a = opacity;\n\t#endif\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <logdepthbuf_fragment>\n\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n\t#if DEPTH_PACKING == 3200\n\t\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n\t#elif DEPTH_PACKING == 3201\n\t\tgl_FragColor = packDepthToRGBA( fragCoordZ );\n\t#endif\n}",distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\tvWorldPosition = worldPosition.xyz;\n}",distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main () {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist );\n\tgl_FragColor = packDepthToRGBA( dist );\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV = equirectUv( direction );\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\tvLineDistance = scale * lineDistance;\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",meshbasic_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinbase_vertex>\n\t\t#include <skinnormal_vertex>\n\t\t#include <defaultnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n}",meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\t\treflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include <aomap_fragment>\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshlambert_vert:"#define LAMBERT\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshlambert_frag:"#define LAMBERT\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_lambert_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_lambert_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\tvViewPosition = - mvPosition.xyz;\n}",meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <m
2ap_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n\t#ifdef USE_MATCAP\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\t#else\n\t\tvec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshnormal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvarying vec3 vViewPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}",meshnormal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvarying vec3 vViewPosition;\n#endif\n#include <packing>\n#include <uv_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n\t#ifdef OPAQUE\n\t\tgl_FragColor.a = 1.0;\n\t#endif\n}",meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_phong_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifdef USE_TRANSMISSION\n\tvarying vec3 vWorldPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n#ifdef USE_TRANSMISSION\n\tvWorldPosition = worldPosition.xyz;\n#endif\n}",meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n\t#define IOR\n\t#define USE_SPECULAR\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef IOR\n\tuniform float ior;\n#endif\n#ifdef USE_SPECULAR\n\tuniform float specularIntensity;\n\tuniform vec3 specularColor;\n\t#ifdef USE_SPECULAR_COLORMAP\n\t\tuniform sampler2D specularColorMap;\n\t#endif\n\t#ifdef USE_SPECULAR_INTENSITYMAP\n\t\tuniform sampler2D specularIntensityMap;\n\t#endif\n#endif\n#ifdef USE_CLEARCOAT\n\tuniform float clearcoat;
2\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_IRIDESCENCE\n\tuniform float iridescence;\n\tuniform float iridescenceIOR;\n\tuniform float iridescenceThicknessMinimum;\n\tuniform float iridescenceThicknessMaximum;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheenColor;\n\tuniform float sheenRoughness;\n\t#ifdef USE_SHEEN_COLORMAP\n\t\tuniform sampler2D sheenColorMap;\n\t#endif\n\t#ifdef USE_SHEEN_ROUGHNESSMAP\n\t\tuniform sampler2D sheenRoughnessMap;\n\t#endif\n#endif\nvarying vec3 vViewPosition;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <iridescence_fragment>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_physical_pars_fragment>\n#include <transmission_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_pars_fragment>\n#include <iridescence_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <roughnessmap_fragment>\n\t#include <metalnessmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <clearcoat_normal_fragment_begin>\n\t#include <clearcoat_normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_physical_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n\t#include <transmission_fragment>\n\tvec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n\t#ifdef USE_SHEEN\n\t\tfloat sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\n\t\toutgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular;\n\t#endif\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\n\t\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n\t\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat;
2\n\t#endif\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_toon_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",points_vert:"uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n#ifdef USE_POINTS_UV\n\tvarying vec2 vUv;\n\tuniform mat3 uvTransform;\n#endif\nvoid main() {\n\t#ifdef USE_POINTS_UV\n\t\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\t#endif\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\tgl_PointSize = size;\n\t#ifdef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\t#endif\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <fog_vertex>\n}",points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",shadow_vert:"#include <common>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <logdepthbuf_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\t#include <logdepthbuf_fragment>\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\n\tvec2 scale;\n\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n\t#ifndef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\t#endif\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\tmvPosition.xy += rotatedPosition;\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}"},e_={common:{diffuse:{value:new jw(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new Hb},alphaMap:{value:null},alphaMapTransform:{value:new Hb},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new Hb}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new Hb}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new Hb}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new Hb},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new Hb},normalScale:{value:new Vb(1,1)}}
vendor: 6,930 bytes, line 2
2,displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new Hb},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new Hb}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new Hb}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new Hb}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new jw(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new jw(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new Hb}},sprite:{diffuse:{value:new jw(16777215)},opacity:{value:1},center:{value:new Vb(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new Hb},alphaMap:{value:null},alphaTest:{value:0}}},t_={basic:{uniforms:LS([e_.common,e_.specularmap,e_.envmap,e_.aomap,e_.lightmap,e_.fog]),vertexShader:$S.meshbasic_vert,fragmentShader:$S.meshbasic_frag},lambert:{uniforms:LS([e_.common,e_.specularmap,e_.envmap,e_.aomap,e_.lightmap,e_.emissivemap,e_.bumpmap,e_.normalmap,e_.displacementmap,e_.fog,e_.lights,{emissive:{value:new jw(0)}}]),vertexShader:$S.meshlambert_vert,fragmentShader:$S.meshlambert_frag},phong:{uniforms:LS([e_.common,e_.specularmap,e_.envmap,e_.aomap,e_.lightmap,e_.emissivemap,e_.bumpmap,e_.normalmap,e_.displacementmap,e_.fog,e_.lights,{emissive:{value:new jw(0)},specular:{value:new jw(1118481)},shininess:{value:30}}]),vertexShader:$S.meshphong_vert,fragmentShader:$S.meshphong_frag},standard:{uniforms:LS([e_.common,e_.envmap,e_.aomap,e_.lightmap,e_.emissivemap,e_.bumpmap,e_.normalmap,e_.displacementmap,e_.roughnessmap,e_.metalnessmap,e_.fog,e_.lights,{emissive:{value:new jw(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:$S.meshphysical_vert,fragmentShader:$S.meshphysical_frag},toon:{uniforms:LS([e_.common,e_.aomap,e_.lightmap,e_.emissivemap,e_.bumpmap,e_.normalmap,e_.displacementmap,e_.gradientmap,e_.fog,e_.lights,{emissive:{value:new jw(0)}}]),vertexShader:$S.meshtoon_vert,fragmentShader:$S.meshtoon_frag},matcap:{uniforms:LS([e_.common,e_.bumpmap,e_.normalmap,e_.displacementmap,e_.fog,{matcap:{value:null}}]),vertexShader:$S.meshmatcap_vert,fragmentShader:$S.meshmatcap_frag},points:{uniforms:LS([e_.points,e_.fog]),vertexShader:$S.points_vert,fragmentShader:$S.points_frag},dashed:{uniforms:LS([e_.common,e_.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:$S.linedashed_vert,fragmentShader:$S.linedashed_frag},depth:{uniforms:LS([e_.common,e_.displacementmap]),vertexShader:$S.depth_vert,fragmentShader:$S.depth_frag},normal:{uniforms:LS([e_.common,e_.bumpmap,e_.normalmap,e_.displacementmap,{opacity:{value:1}}]),vertexShader:$S.meshnormal_vert,fragmentShader:$S.meshnormal_frag},sprite:{uniforms:LS([e_.sprite,e_.fog]),vertexShader:$S.sprite_vert,fragmentShader:$S.sprite_frag},background:{uniforms:{uvTransform:{value:new Hb},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:$S.background_vert,fragmentShader:$S.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1}},vertexShader:$S.backgroundCube_vert,fragmentShader:$S.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:$S.cube_vert,fragmentShader:$S.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:$S.equirect_vert,fragmentShader:$S.equirect_frag},distanceRGBA:{uniforms:LS([e_.common,e_.displacementmap,{referencePosition:{value:new gx},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:$S.distanceRGBA_vert,fragmentShader:$S.distanceRGBA_frag},shadow:{uniforms:LS([e_.lights,e_.fog,{color:{value:new jw(0)},opacity:{value:1}}]),vertexShader:$S.shadow_vert,fragmentShader:$S.shadow_frag}};t_.physical={uniforms:LS([t_.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new Hb},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new Hb},clearcoatNormalScale:{value:new Vb(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new Hb},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new Hb},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new Hb},sheen:{value:0},sheenColor:{value:new jw(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new Hb},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new Hb},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new Hb},transmissionSamplerSize:{value:new Vb},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new Hb},attenuationDistance:{value:0},attenuationColor:{value:new jw(0)},specularColor:{value:new jw(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new Hb},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new Hb}}]),vertexShader:$S.meshphysical_vert,fragmentShader:$S.meshphysical_frag};var n_={r:0,b:0,g:0};function r_(e,t,n,r,i,a,o){var s,l,u=new jw(0),c=!0===a?0:1,d=null,f=0,h=null;function p(t,n){t.getRGB(n_,ZS(e)),r.buffers.color.setClear(n_.r,n_.g,n_.b,n,o)}return{getClearColor:function(){return u},setClearColor:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;u.set(e),p(u,c=t)},getClearAlpha:function(){return c},setClearAlpha:function(e){p(u,c=e)},render:function(r,a){var o=!1,v=!0===a.isScene?a.background:null;
2v&&v.isTexture&&(v=(a.backgroundBlurriness>0?n:t).get(v));var m=e.xr,g=m.getSession&&m.getSession();g&&"additive"===g.environmentBlendMode&&(v=null),null===v?p(u,c):v&&v.isColor&&(p(v,1),o=!0),(e.autoClear||o)&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),v&&(v.isCubeTexture||v.mapping===yg)?(void 0===l&&((l=new AS(new RS(1,1,1),new IS({name:"BackgroundCubeMaterial",uniforms:OS(t_.backgroundCube.uniforms),vertexShader:t_.backgroundCube.vertexShader,fragmentShader:t_.backgroundCube.fragmentShader,side:Mm,depthTest:!1,depthWrite:!1,fog:!1}))).geometry.deleteAttribute("normal"),l.geometry.deleteAttribute("uv"),l.onBeforeRender=function(e,t,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),i.update(l)),l.material.uniforms.envMap.value=v,l.material.uniforms.flipEnvMap.value=v.isCubeTexture&&!1===v.isRenderTargetTexture?-1:1,l.material.uniforms.backgroundBlurriness.value=a.backgroundBlurriness,l.material.uniforms.backgroundIntensity.value=a.backgroundIntensity,l.material.toneMapped=v.encoding!==Wy,d===v&&f===v.version&&h===e.toneMapping||(l.material.needsUpdate=!0,d=v,f=v.version,h=e.toneMapping),l.layers.enableAll(),r.unshift(l,l.geometry,l.material,0,0,null)):v&&v.isTexture&&(void 0===s&&((s=new AS(new QS(2,2),new IS({name:"BackgroundMaterial",uniforms:OS(t_.background.uniforms),vertexShader:t_.background.vertexShader,fragmentShader:t_.background.fragmentShader,side:km,depthTest:!1,depthWrite:!1,fog:!1}))).geometry.deleteAttribute("normal"),Object.defineProperty(s.material,"map",{get:function(){return this.uniforms.t2D.value}}),i.update(s)),s.material.uniforms.t2D.value=v,s.material.uniforms.backgroundIntensity.value=a.backgroundIntensity,s.material.toneMapped=v.encoding!==Wy,!0===v.matrixAutoUpdate&&v.updateMatrix(),s.material.uniforms.uvTransform.value.copy(v.matrix),d===v&&f===v.version&&h===e.toneMapping||(s.material.needsUpdate=!0,d=v,f=v.version,h=e.toneMapping),s.layers.enableAll(),r.unshift(s,s.geometry,s.material,0,0,null))}}}function i_(e,t,n,r){var i=e.getParameter(34921),a=r.isWebGL2?null:t.get("OES_vertex_array_object"),o=r.isWebGL2||null!==a,s={},l=h(null),u=l,c=!1;function d(t){return r.isWebGL2?e.bindVertexArray(t):a.bindVertexArrayOES(t)}function f(t){return r.isWebGL2?e.deleteVertexArray(t):a.deleteVertexArrayOES(t)}function h(e){for(var t=[],n=[],r=[],a=0;a<i;a++)t[a]=0,n[a]=0,r[a]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:t,enabledAttributes:n,attributeDivisors:r,object:e,attributes:{},index:null}}function p(){for(var e=u.newAttributes,t=0,n=e.length;t<n;t++)e[t]=0}function v(e){m(e,0)}function m(n,i){var a=u.newAttributes,o=u.enabledAttributes,s=u.attributeDivisors;(a[n]=1,0===o[n]&&(e.enableVertexAttribArray(n),o[n]=1),s[n]!==i)&&((r.isWebGL2?e:t.get("ANGLE_instanced_arrays"))[r.isWebGL2?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](n,i),s[n]=i)}function g(){for(var t=u.newAttributes,n=u.enabledAttributes,r=0,i=n.length;r<i;r++)n[r]!==t[r]&&(e.disableVertexAttribArray(r),n[r]=0)}function y(t,n,i,a,o,s){!0!==r.isWebGL2||5124!==i&&5125!==i?e.vertexAttribPointer(t,n,i,a,o,s):e.vertexAttribIPointer(t,n,i,o,s)}function b(){x(),c=!0,u!==l&&d((u=l).object)}function x(){l.geometry=null,l.program=null,l.wireframe=!1}return{setup:function(i,l,f,b,x){var w=!1;if(o){var S=function(t,n,i){var o=!0===i.wireframe,l=s[t.id];void 0===l&&(l={},s[t.id]=l);var u=l[n.id];void 0===u&&(u={},l[n.id]=u);var c=u[o];void 0===c&&(c=h(r.isWebGL2?e.createVertexArray():a.createVertexArrayOES()),u[o]=c);return c}(b,f,l);u!==S&&d((u=S).object),w=function(e,t,n,r){var i=u.attributes,a=t.attributes,o=0,s=n.getAttributes();for(var l in s){if(s[l].location>=0){var c=i[l],d=a[l];if(void 0===d&&("instanceMatrix"===l&&e.instanceMatrix&&(d=e.instanceMatrix),"instanceColor"===l&&e.instanceColor&&(d=e.instanceColor)),void 0===c)return!0;if(c.attribute!==d)return!0;if(d&&c.data!==d.data)return!0;o++}}return u.attributesNum!==o||u.index!==r}(i,b,f,x),w&&function(e,t,n,r){var i={},a=t.attributes,o=0,s=n.getAttributes();for(var l in s){if(s[l].location>=0){var c=a[l];void 0===c&&("instanceMatrix"===l&&e.instanceMatrix&&(c=e.instanceMatrix),"instanceColor"===l&&e.instanceColor&&(c=e.instanceColor));var d={};d.attribute=c,c&&c.data&&(d.data=c.data),i[l]=d,o++}}u.attributes=i,u.attributesNum=o,u.index=r}(i,b,f,x)}else{var _=!0===l.wireframe;u.geometry===b.id&&u.program===f.id&&u.wireframe===_||(u.geometry=b.id,u.program=f.i
2d,u.wireframe=_,w=!0)}null!==x&&n.update(x,34963),(w||c)&&(c=!1,function(i,a,o,s){if(!1===r.isWebGL2&&(i.isInstancedMesh||s.isInstancedBufferGeometry)&&null===t.get("ANGLE_instanced_arrays"))return;p();var l=s.attributes,u=o.getAttributes(),c=a.defaultAttributeValues;for(var d in u){var f=u[d];if(f.location>=0){var h=l[d];if(void 0===h&&("instanceMatrix"===d&&i.instanceMatrix&&(h=i.instanceMatrix),"instanceColor"===d&&i.instanceColor&&(h=i.instanceColor)),void 0!==h){var b=h.normalized,x=h.itemSize,w=n.get(h);if(void 0===w)continue;var S=w.buffer,_=w.type,k=w.bytesPerElement;if(h.isInterleavedBufferAttribute){var M=h.data,E=M.stride,T=h.offset;if(M.isInstancedInterleavedBuffer){for(var C=0;C<f.locationSize;C++)m(f.location+C,M.meshPerAttribute);!0!==i.isInstancedMesh&&void 0===s._maxInstanceCount&&(s._maxInstanceCount=M.meshPerAttribute*M.count)}else for(var A=0;A<f.locationSize;A++)v(f.location+A);e.bindBuffer(34962,S);for(var P=0;P<f.locationSize;P++)y(f.location+P,x/f.locationSize,_,b,E*k,(T+x/f.locationSize*P)*k)}else{if(h.isInstancedBufferAttribute){for(var R=0;R<f.locationSize;R++)m(f.location+R,h.meshPerAttribute);!0!==i.isInstancedMesh&&void 0===s._maxInstanceCount&&(s._maxInstanceCount=h.meshPerAttribute*h.count)}else for(var O=0;O<f.locationSize;O++)v(f.location+O);e.bindBuffer(34962,S);for(var L=0;L<f.locationSize;L++)y(f.location+L,x/f.locationSize,_,b,x*k,x/f.locationSize*L*k)}}else if(void 0!==c){var Z=c[d];if(void 0!==Z)switch(Z.length){case 2:e.vertexAttrib2fv(f.location,Z);break;case 3:e.vertexAttrib3fv(f.location,Z);break;case 4:e.vertexAttrib4fv(f.location,Z);break;default:e.vertexAttrib1fv(f.location,Z)}}}}g()}(i,l,f,b),null!==x&&e.bindBuffer(34963,n.get(x).buffer))},reset:b,resetDefaultState:x,dispose:function(){for(var e in b(),s){var t=s[e];for(var n in t){var r=t[n];for(var i in r)f(r[i].object),delete r[i];delete t[n]}delete s[e]}},releaseStatesOfGeometry:function(e){if(void 0!==s[e.id]){var t=s[e.id];for(var n in t){var r=t[n];for(var i in r)f(r[i].object),delete r[i];delete t[n]}delete s[e.id]}},releaseStatesOfProgram:function(e){for(var t in s){var n=s[t];if(void 0!==n[e.id]){var r=n[e.id];for(var i in r)f(r[i].object),delete r[i];delete n[e.id]}}},initAttributes:p,enableAttribute:v,disableUnusedAttributes:g}}function a_(e,t,n,r){var i,a=r.isWebGL2;this.setMode=function(e){i=e},this.render=function(t,r){e.drawArrays(i,t,r),n.update(r,i,1)},this.renderInstances=function(r,o,s){if(0!==s){var l,u;if(a)l=e,u="drawArraysInstanced";else if(u="drawArraysInstancedANGLE",null===(l=t.get("ANGLE_instanced_arrays")))return void console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");l[u](i,r,o,s),n.update(o,i,s)}}}function o_(e,t,n){var r;function i(t){if("highp"===t){if(e.getShaderPrecisionFormat(35633,36338).precision>0&&e.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";t="mediump"}return"mediump"===t&&e.getShaderPrecisionFormat(35633,36337).precision>0&&e.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}var a="undefined"!==typeof WebGL2RenderingContext&&"WebGL2RenderingContext"===e.constructor.name,o=void 0!==n.precision?n.precision:"highp",s=i(o);s!==o&&(console.warn("THREE.WebGLRenderer:",o,"not supported, using",s,"instead."),o=s);var l=a||t.has("WEBGL_draw_buffers"),u=!0===n.logarithmicDepthBuffer,c=e.getParameter(34930),d=e.getParameter(35660),f=e.getParameter(3379),h=e.getParameter(34076),p=e.getParameter(34921),v=e.getParameter(36347),m=e.getParameter(36348),g=e.getParameter(36349),y=d>0,b=a||t.has("OES_texture_float");return{isWebGL2:a,drawBuffers:l,getMaxAnisotropy:function(){if(void 0!==r)return r;if(!0===t.has("EXT_texture_filter_anisotropic")){var n=t.get("EXT_texture_filter_anisotropic");r=e.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else r=0;return r},getMaxPrecision:i,precision:o,logarithmicDepthBuffer:u,maxTextures:c,maxVertexTextures:d,maxTextureSize:f,maxCubemapSize:h,maxAttributes:p,maxVertexUniforms:v,maxVaryings:m,maxFragmentUniforms:g,vertexTextures:y,floatFragmentTextures:b,floatVertexTextures:y&&b,maxSamples:a?e.getParameter(36183):0}}function s_(e){var t=this,n=null,r=0,i=!1,a=!1,o=new GS,s=new Hb,l={value:null,needsUpdate:!1};function u(e,n,r,i){var a=null!==e?e.length:0,u=null;if(0!==a){if(u=l.value,!0!==i||null===u){var c=r+4*a,d=n.matrixWorldInverse;s.getNormalMatrix(d),(null===u||u.length<c)&&(u=new Float32Array(c));for(var f=0,h=r;f!==a;
2++f,h+=4)o.copy(e[f]).applyMatrix4(d,s),o.normal.toArray(u,h),u[h+3]=o.constant}l.value=u,l.needsUpdate=!0}return t.numPlanes=a,t.numIntersection=0,u}this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(e,t){var n=0!==e.length||t||0!==r||i;return i=t,r=e.length,n},this.beginShadows=function(){a=!0,u(null)},this.endShadows=function(){a=!1},this.setGlobalState=function(e,t){n=u(e,t,0)},this.setState=function(o,s,c){var d=o.clippingPlanes,f=o.clipIntersection,h=o.clipShadows,p=e.get(o);if(!i||null===d||0===d.length||a&&!h)a?u(null):function(){l.value!==n&&(l.value=n,l.needsUpdate=r>0);t.numPlanes=r,t.numIntersection=0}();else{var v=a?0:r,m=4*v,g=p.clippingState||null;l.value=g,g=u(d,s,m,c);for(var y=0;y!==m;++y)g[y]=n[y];p.clippingState=g,this.numIntersection=f?this.numPlanes:0,this.numPlanes+=v}}}function l_(e){var t=new WeakMap;function n(e,t){return t===mg?e.mapping=pg:t===gg&&(e.mapping=vg),e}function r(e){var n=e.target;n.removeEventListener("dispose",r);var i=t.get(n);void 0!==i&&(t.delete(n),i.dispose())}return{get:function(i){if(i&&i.isTexture&&!1===i.isRenderTargetTexture){var a=i.mapping;if(a===mg||a===gg){if(t.has(i))return n(t.get(i).texture,i.mapping);var o=i.image;if(o&&o.height>0){var s=new BS(o.height/2);return s.fromEquirectangularTexture(e,i),t.set(i,s),i.addEventListener("dispose",r),n(s.texture,i.mapping)}return null}}return i},dispose:function(){t=new WeakMap}}}var u_=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.1,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2e3;return(0,be.Z)(this,n),(e=t.call(this)).isOrthographicCamera=!0,e.type="OrthographicCamera",e.zoom=1,e.view=null,e.left=r,e.right=i,e.top=a,e.bottom=o,e.near=s,e.far=l,e.updateProjectionMatrix(),e}return(0,xe.Z)(n,[{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=null===e.view?null:Object.assign({},e.view),this}},{key:"setViewOffset",value:function(e,t,n,r,i,a){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=a,this.updateProjectionMatrix()}},{key:"clearViewOffset",value:function(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}},{key:"updateProjectionMatrix",value:function(){var e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,r=(this.top+this.bottom)/2,i=n-e,a=n+e,o=r+t,s=r-t;if(null!==this.view&&this.view.enabled){var l=(this.right-this.left)/this.view.fullWidth/this.zoom,u=(this.top-this.bottom)/this.view.fullHeight/this.zoom;a=(i+=l*this.view.offsetX)+l*this.view.width,s=(o-=u*this.view.offsetY)-u*this.view.height}this.projectionMatrix.makeOrthographic(i,a,o,s,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}},{key:"toJSON",value:function(e){var t=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this,e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,null!==this.view&&(t.object.view=Object.assign({},this.view)),t}}]),n}(jS),c_=[.125,.215,.35,.446,.526,.582],d_=20,f_=new u_,h_=new jw,p_=null,v_=(1+Math.sqrt(5))/2,m_=1/v_,g_=[new gx(1,1,1),new gx(-1,1,1),new gx(1,1,-1),new gx(-1,1,-1),new gx(0,v_,m_),new gx(0,v_,-m_),new gx(m_,0,v_),new gx(-m_,0,v_),new gx(v_,m_,0),new gx(-v_,m_,0)],y_=function(){function e(t){(0,be.Z)(this,e),this._renderer=t,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}return(0,xe.Z)(e,[{key:"fromScene",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100;p_=this._renderer.getRenderTarget(),this._setSize(256);var i=this._allocateTargets();return i.depthBuffer=!0,this._sceneToCubeUV(e,n,r,i),t>0&&this._blur(i,0,0,t),this._applyPMREM(i),this._cleanup(i),i}},{key:"fromEquirectangular",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._fromTexture(e,t)}},{key:"fromCubemap",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._fromTexture(e,t)}},{key:"compileCubemapShader",value:function(){null===this._cubemapMaterial&&(this._cubemapMaterial=S_(),this._compileMaterial(this._cubemapMaterial))}},{key:"compileEquirectangularShader",value:function(){null===this._equirectMaterial&&(this._equirectMaterial=w_(),this._compileMaterial(this._equirectMaterial))}},{key:"dispose",value:function(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}},{key:"_setSize",value:function(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}},{key:"_dispose",value:function(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(var e=0;e<this._lodPlanes.length;e++)this._lodPlanes[e].dispose()}},{key:"_cleanup",value:function(e){this._renderer.setRenderTarget(p_),e.scissorTest=!1,x_(e,0,0,e.width,e.height)}},{key:"_fromTexture",value:function(e,t){e.mapping===pg||e.mapping===vg?this._setSize(0===e.image.length?16:e.image[0].width||e.image[0].image.width):this._setSize(e.image.width/4),p_=this._renderer.getRenderTarget();var n=t||this._allocateTargets();return this._textureToCubeUV(e,n),this._applyPMREM(n),this._cleanup(n),n}},{key:"_allocateTargets",value:function(){var e=3*Math.max(this._cubeSize,112),t=4*this._cubeSize,n={magFilter:Tg,minFilter:Tg,generateMipmaps:!1,type:zg,format:Hg,encoding:Hy,depthBuffer:!1},r=b_(e,t,n);if(null===this._pingPongRenderTarget||this._pingPongRenderTarget.width!==e||this._pingPongRenderTarget.height!==t){null!==this._pingPongRenderTarget&&this._dispose(),this._pingPongRenderTarget=b_(e,t,n);var i=this._lodMax,a=function(e){for(var t=[],n=[],r=[],i=e,a=e-4
2+1+c_.length,o=0;o<a;o++){var s=Math.pow(2,i);n.push(s);var l=1/s;o>e-4?l=c_[o-e+4-1]:0===o&&(l=0),r.push(l);for(var u=1/(s-2),c=-u,d=1+u,f=[c,c,d,c,d,d,c,c,d,d,c,d],h=6,p=6,v=3,m=2,g=1,y=new Float32Array(v*p*h),b=new Float32Array(m*p*h),x=new Float32Array(g*p*h),w=0;w<h;w++){var S=w%3*2/3-1,_=w>2?0:-1,k=[S,_,0,S+2/3,_,0,S+2/3,_+1,0,S,_,0,S+2/3,_+1,0,S,_+1,0];y.set(k,v*p*w),b.set(f,m*p*w);var M=[w,w,w,w,w,w];x.set(M,g*p*w)}var E=new dS;E.setAttribute("position",new qw(y,v)),E.setAttribute("uv",new qw(b,m)),E.setAttribute("faceIndex",new qw(x,g)),t.push(E),i>4&&i--}return{lodPlanes:t,sizeLods:n,sigmas:r}}(i);this._sizeLods=a.sizeLods,this._lodPlanes=a.lodPlanes,this._sigmas=a.sigmas,this._blurMaterial=function(e,t,n){var r=new Float32Array(d_),i=new gx(0,1,0),a=new IS({name:"SphericalGaussianBlur",defines:{n:d_,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:"".concat(e,".0")},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:r},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t",fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\t\t\tuniform int samples;\n\t\t\tuniform float weights[ n ];\n\t\t\tuniform bool latitudinal;\n\t\t\tuniform float dTheta;\n\t\t\tuniform float mipInt;\n\t\t\tuniform vec3 poleAxis;\n\n\t\t\t#define ENVMAP_TYPE_CUBE_UV\n\t\t\t#include <cube_uv_reflection_fragment>\n\n\t\t\tvec3 getSample( float theta, vec3 axis ) {\n\n\t\t\t\tfloat cosTheta = cos( theta );\n\t\t\t\t// Rodrigues' axis-angle rotation\n\t\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross( axis, vOutputDirection ) * sin( theta )\n\t\t\t\t\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n\n\t\t\t\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\n\n\t\t\t}\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n\n\t\t\t\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n\n\t\t\t\t\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n\n\t\t\t\t}\n\n\t\t\t\taxis = normalize( axis );\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t\t\t\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n\n\t\t\t\tfor ( int i = 1; i < n; i++ ) {\n\n\t\t\t\t\tif ( i >= samples ) {\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfloat theta = dTheta * float( i );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t",blending:Cm,depthTest:!1,depthWrite:!1});return a}(i,e,t)}return r}},{key:"_compileMaterial",value:function(e){var t=new AS(this._lodPlanes[0],e);this._renderer.compile(t,f_)}},{key:"_sceneToCubeUV",value:function(e,t,n,r){var i=new DS(90,1,t,n),a=[1,-1,1,1,1,1],o=[1,1,1,-1,-1,-1],s=this._renderer,l=s.autoClear,u=s.toneMapping;s.getClearColor(h_),s.toneMapping=sg,s.autoClear=!1;
2var c=new zw({name:"PMREM.Background",side:Mm,depthWrite:!1,depthTest:!1}),d=new AS(new RS,c),f=!1,h=e.background;h?h.isColor&&(c.color.copy(h),e.background=null,f=!0):(c.color.copy(h_),f=!0);for(var p=0;p<6;p++){var v=p%3;0===v?(i.up.set(0,a[p],0),i.lookAt(o[p],0,0)):1===v?(i.up.set(0,0,a[p]),i.lookAt(0,o[p],0)):(i.up.set(0,a[p],0),i.lookAt(0,0,o[p]));var m=this._cubeSize;x_(r,v*m,p>2?m:0,m,m),s.setRenderTarget(r),f&&s.render(d,i),s.render(e,i)}d.geometry.dispose(),d.material.dispose(),s.toneMapping=u,s.autoClear=l,e.background=h}},{key:"_textureToCubeUV",value:function(e,t){var n=this._renderer,r=e.mapping===pg||e.mapping===vg;r?(null===this._cubemapMaterial&&(this._cubemapMaterial=S_()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===e.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=w_());var i=r?this._cubemapMaterial:this._equirectMaterial,a=new AS(this._lodPlanes[0],i);i.uniforms.envMap.value=e;var o=this._cubeSize;x_(t,0,0,3*o,2*o),n.setRenderTarget(t),n.render(a,f_)}},{key:"_applyPMREM",value:function(e){var t=this._renderer,n=t.autoClear;t.autoClear=!1;for(var r=1;r<this._lodPlanes.length;r++){var i=Math.sqrt(this._sigmas[r]*this._sigmas[r]-this._sigmas[r-1]*this._sigmas[r-1]),a=g_[(r-1)%g_.length];this._blur(e,r-1,r,i,a)}t.autoClear=n}},{key:"_blur",value:function(e,t,n,r,i){var a=this._pingPongRenderTarget;this._halfBlur(e,a,t,n,r,"latitudinal",i),this._halfBlur(a,e,n,n,r,"longitudinal",i)}},{key:"_halfBlur",value:function(e,t,n,r,i,a,o){var s=this._renderer,l=this._blurMaterial;"latitudinal"!==a&&"longitudinal"!==a&&console.error("blur direction must be either latitudinal or longitudinal!");var u=new AS(this._lodPlanes[r],l),c=l.uniforms,d=this._sizeLods[n]-1,f=isFinite(i)?Math.PI/(2*d):2*Math.PI/39,h=i/f,p=isFinite(i)?1+Math.floor(3*h):d_;p>d_&&console.warn("sigmaRadians, ".concat(i,", is too large and will clip, as it requested ").concat(p," samples when the maximum is set to ").concat(d_));for(var v=[],m=0,g=0;g<d_;++g){var y=g/h,b=Math.exp(-y*y/2);v.push(b),0===g?m+=b:g<p&&(m+=2*b)}for(var x=0;x<v.length;x++)v[x]=v[x]/m;c.envMap.value=e.texture,c.samples.value=p,c.weights.value=v,c.latitudinal.value="latitudinal"===a,o&&(c.poleAxis.value=o);var w=this._lodMax;c.dTheta.value=f,c.mipInt.value=w-n;var S=this._sizeLods[r];x_(t,3*S*(r>w-4?r-w+4:0),4*(this._cubeSize-S),3*S,2*S),s.setRenderTarget(t),s.render(u,f_)}}]),e}();function b_(e,t,n){var r=new cx(e,t,n);return r.texture.mapping=yg,r.texture.name="PMREM.cubeUv",r.scissorTest=!0,r}function x_(e,t,n,r,i){e.viewport.set(t,n,r,i),e.scissor.set(t,n,r,i)}function w_(){return new IS({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t",fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\n\t\t\t#include <common>\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 outputDirection = normalize( vOutputDirection );\n\t\t\t\tvec2 uv = equirectUv( outputDirection );
2\n\n\t\t\t\tgl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );\n\n\t\t\t}\n\t\t",blending:Cm,depthTest:!1,depthWrite:!1})}function S_(){return new IS({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t",fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tuniform float flipEnvMap;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform samplerCube envMap;\n\n\t\t\tvoid main() {\n\n\t\t\t\tgl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );\n\n\t\t\t}\n\t\t",blending:Cm,depthTest:!1,depthWrite:!1})}function __(e){var t=new WeakMap,n=null;function r(e){var n=e.target;n.removeEventListener("dispose",r);var i=t.get(n);void 0!==i&&(t.delete(n),i.dispose())}return{get:function(i){if(i&&i.isTexture){var a=i.mapping,o=a===mg||a===gg,s=a===pg||a===vg;if(o||s){if(i.isRenderTargetTexture&&!0===i.needsPMREMUpdate){i.needsPMREMUpdate=!1;var l=t.get(i);return null===n&&(n=new y_(e)),l=o?n.fromEquirectangular(i,l):n.fromCubemap(i,l),t.set(i,l),l.texture}if(t.has(i))return t.get(i).texture;var u=i.image;if(o&&u&&u.height>0||s&&u&&function(e){for(var t=0,n=6,r=0;r<n;r++)void 0!==e[r]&&t++;return t===n}(u)){null===n&&(n=new y_(e));var c=o?n.fromEquirectangular(i):n.fromCubemap(i);return t.set(i,c),i.addEventListener("dispose",r),c.texture}return null}}return i},dispose:function(){t=new WeakMap,null!==n&&(n.dispose(),n=null)}}}function k_(e){var t={};
2function n(n){if(void 0!==t[n])return t[n];var r;switch(n){case"WEBGL_depth_texture":r=e.getExtension("WEBGL_depth_texture")||e.getExtension("MOZ_WEBGL_depth_texture")||e.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":r=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":r=e.getExtension("WEBGL_compressed_texture_s3tc")||e.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":r=e.getExtension("WEBGL_compressed_texture_pvrtc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:r=e.getExtension(n)}return t[n]=r,r}return{has:function(e){return null!==n(e)},init:function(e){e.isWebGL2?n("EXT_color_buffer_float"):(n("WEBGL_depth_texture"),n("OES_texture_float"),n("OES_texture_half_float"),n("OES_texture_half_float_linear"),n("OES_standard_derivatives"),n("OES_element_index_uint"),n("OES_vertex_array_object"),n("ANGLE_instanced_arrays")),n("OES_texture_float_linear"),n("EXT_color_buffer_half_float"),n("WEBGL_multisampled_render_to_texture")},get:function(e){var t=n(e);return null===t&&console.warn("THREE.WebGLRenderer: "+e+" extension not supported."),t}}}function M_(e,t,n,r){var i={},a=new WeakMap;function o(e){var s=e.target;for(var l in null!==s.index&&t.remove(s.index),s.attributes)t.remove(s.attributes[l]);s.removeEventListener("dispose",o),delete i[s.id];var u=a.get(s);u&&(t.remove(u),a.delete(s)),r.releaseStatesOfGeometry(s),!0===s.isInstancedBufferGeometry&&delete s._maxInstanceCount,n.memory.geometries--}function s(e){var n=[],r=e.index,i=e.attributes.position,o=0;if(null!==r){var s=r.array;o=r.version;for(var l=0,u=s.length;l<u;l+=3){var c=s[l+0],d=s[l+1],f=s[l+2];n.push(c,d,d,f,f,c)}}else{var h=i.array;o=i.version;for(var p=0,v=h.length/3-1;p<v;p+=3){var m=p+0,g=p+1,y=p+2;n.push(m,g,g,y,y,m)}}var b=new(Gb(n)?eS:Qw)(n,1);b.version=o;var x=a.get(e);x&&t.remove(x),a.set(e,b)}return{get:function(e,t){return!0===i[t.id]||(t.addEventListener("dispose",o),i[t.id]=!0,n.memory.geometries++),t},update:function(e){var n=e.attributes;for(var r in n)t.update(n[r],34962);var i=e.morphAttributes;for(var a in i)for(var o=i[a],s=0,l=o.length;s<l;s++)t.update(o[s],34962)},getWireframeAttribute:function(e){var t=a.get(e);if(t){var n=e.index;null!==n&&t.version<n.version&&s(e)}else s(e);return a.get(e)}}}function E_(e,t,n,r){var i,a,o,s=r.isWebGL2;this.setMode=function(e){i=e},this.setIndex=function(e){a=e.type,o=e.bytesPerElement},this.render=function(t,r){e.drawElements(i,r,a,t*o),n.update(r,i,1)},this.renderInstances=function(r,l,u){if(0!==u){var c,d;if(s)c=e,d="drawElementsInstanced";else if(d="drawElementsInstancedANGLE",null===(c=t.get("ANGLE_instanced_arrays")))return void console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");c[d](i,l,a,r*o,u),n.update(l,i,u)}}}function T_(e){var t={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:t,programs:null,autoReset:!0,reset:function(){t.frame++,t.calls=0,t.triangles=0,t.points=0,t.lines=0},update:function(e,n,r){switch(t.calls++,n){case 4:t.triangles+=r*(e/3);break;case 1:t.lines+=r*(e/2);break;case 3:t.lines+=r*(e-1);break;case 2:t.lines+=r*e;break;case 0:t.points+=r*e;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",n)}}}}function C_(e,t){return e[0]-t[0]}function A_(e,t){return Math.abs(t[1])-Math.abs(e[1])}function P_(e,t,n){for(var r={},i=new Float32Array(8),a=new WeakMap,o=new ux,s=[],l=0;l<8;l++)s[l]=[l,0];return{update:function(l,u,c){var d=l.morphTargetInfluences;if(!0===t.isWebGL2){var f=u.morphAttributes.position||u.morphAttributes.normal||u.morphAttributes.color,h=void 0!==f?f.length:0,p=a.get(u);if(void 0===p||p.count!==h){void 0!==p&&p.texture.dispose();var v=void 0!==u.morphAttributes.position,m=void 0!==u.morphAttributes.normal,g=void 0!==u.morphAttributes.color,y=u.morphAttributes.position||[],b=u.morphAttributes.normal||[],x=u.morphAttributes.color||[],w=0;!0===v&&(w=1),!0===m&&(w=2),!0===g&&(w=3);var S=u.attributes.position.count*w,_=1;S>t.maxTextureSize&&(_=Math.ceil(S/t.maxTextureSize),S=t.maxTextureSize);var k=new Float32Array(S*_*4*h),M=new dx(k,S,_,h);
2M.type=Dg,M.needsUpdate=!0;for(var E=4*w,T=0;T<h;T++)for(var C=y[T],A=b[T],P=x[T],R=S*_*4*T,O=0;O<C.count;O++){var L=O*E;!0===v&&(o.fromBufferAttribute(C,O),k[R+L+0]=o.x,k[R+L+1]=o.y,k[R+L+2]=o.z,k[R+L+3]=0),!0===m&&(o.fromBufferAttribute(A,O),k[R+L+4]=o.x,k[R+L+5]=o.y,k[R+L+6]=o.z,k[R+L+7]=0),!0===g&&(o.fromBufferAttribute(P,O),k[R+L+8]=o.x,k[R+L+9]=o.y,k[R+L+10]=o.z,k[R+L+11]=4===P.itemSize?o.w:1)}p={count:h,texture:M,size:new Vb(S,_)},a.set(u,p),u.addEventListener("dispose",(function e(){M.dispose(),a.delete(u),u.removeEventListener("dispose",e)}))}for(var Z=0,N=0;N<d.length;N++)Z+=d[N];var I=u.morphTargetsRelative?1:1-Z;c.getUniforms().setValue(e,"morphTargetBaseInfluence",I),c.getUniforms().setValue(e,"morphTargetInfluences",d),c.getUniforms().setValue(e,"morphTargetsTexture",p.texture,n),c.getUniforms().setValue(e,"morphTargetsTextureSize",p.size)}else{var j=void 0===d?0:d.length,D=r[u.id];if(void 0===D||D.length!==j){D=[];for(var z=0;z<j;z++)D[z]=[z,0];r[u.id]=D}for(var U=0;U<j;U++){var F=D[U];F[0]=U,F[1]=d[U]}D.sort(A_);for(var B=0;B<8;B++)B<j&&D[B][1]?(s[B][0]=D[B][0],s[B][1]=D[B][1]):(s[B][0]=Number.MAX_SAFE_INTEGER,s[B][1]=0);s.sort(C_);for(var V=u.morphAttributes.position,H=u.morphAttributes.normal,W=0,G=0;G<8;G++){var q=s[G],X=q[0],Y=q[1];X!==Number.MAX_SAFE_INTEGER&&Y?(V&&u.getAttribute("morphTarget"+G)!==V[X]&&u.setAttribute("morphTarget"+G,V[X]),H&&u.getAttribute("morphNormal"+G)!==H[X]&&u.setAttribute("morphNormal"+G,H[X]),i[G]=Y,W+=Y):(V&&!0===u.hasAttribute("morphTarget"+G)&&u.deleteAttribute("morphTarget"+G),H&&!0===u.hasAttribute("morphNormal"+G)&&u.deleteAttribute("morphNormal"+G),i[G]=0)}var J=u.morphTargetsRelative?1:1-W;c.getUniforms().setValue(e,"morphTargetBaseInfluence",J),c.getUniforms().setValue(e,"morphTargetInfluences",i)}}}}function R_(e,t,n,r){var i=new WeakMap;function a(e){var t=e.target;t.removeEventListener("dispose",a),n.remove(t.instanceMatrix),null!==t.instanceColor&&n.remove(t.instanceColor)}return{update:function(e){var o=r.render.frame,s=e.geometry,l=t.get(e,s);return i.get(l)!==o&&(t.update(l),i.set(l,o)),e.isInstancedMesh&&(!1===e.hasEventListener("dispose",a)&&e.addEventListener("dispose",a),n.update(e.instanceMatrix,34962),null!==e.instanceColor&&n.update(e.instanceColor,34962)),l},dispose:function(){i=new WeakMap}}}var O_=new lx,L_=new dx,Z_=new hx,N_=new FS,I_=[],j_=[],D_=new Float32Array(16),z_=new Float32Array(9),U_=new Float32Array(4);function F_(e,t,n){var r=e[0];if(r<=0||r>0)return e;var i=t*n,a=I_[i];if(void 0===a&&(a=new Float32Array(i),I_[i]=a),0!==t){r.toArray(a,0);for(var o=1,s=0;o!==t;++o)s+=n,e[o].toArray(a,s)}return a}function B_(e,t){if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function V_(e,t){for(var n=0,r=t.length;n<r;n++)e[n]=t[n]}function H_(e,t){var n=j_[t];void 0===n&&(n=new Int32Array(t),j_[t]=n);for(var r=0;r!==t;++r)n[r]=e.allocateTextureUnit();return n}function W_(e,t){var n=this.cache;n[0]!==t&&(e.uniform1f(this.addr,t),n[0]=t)}function G_(e,t){var n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y||(e.uniform2f(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(B_(n,t))return;e.uniform2fv(this.addr,t),V_(n,t)}}function q_(e,t){var n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z||(e.uniform3f(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else if(void 0!==t.r)n[0]===t.r&&n[1]===t.g&&n[2]===t.b||(e.uniform3f(this.addr,t.r,t.g,t.b),n[0]=t.r,n[1]=t.g,n[2]=t.b);else{if(B_(n,t))return;e.uniform3fv(this.addr,t),V_(n,t)}}function X_(e,t){var n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z&&n[3]===t.w||(e.uniform4f(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(B_(n,t))return;e.uniform4fv(this.addr,t),V_(n,t)}}function Y_(e,t){var n=this.cache,r=t.elements;if(void 0===r){if(B_(n,t))return;e.uniformMatrix2fv(this.addr,!1,t),V_(n,t)}else{if(B_(n,r))return;U_.set(r),e.uniformMatrix2fv(this.addr,!1,U_),V_(n,r)}}function J_(e,t){var n=this.cache,r=t.elements;if(void 0===r){if(B_(n,t))return;e.uniformMatrix3fv(this.addr,!1,t),V_(n,t)}else{if(B_(n,r))return;z_.set(r),e.uniformMatrix3fv(this.addr,!1,z_),V_(n,r)}}function K_(e,t){var n=this.cache,r=t.elements;if(void 0===r){if(B_(n,t))return;e.uniformMatrix4fv(this.addr,!1,t),V_(n,t)}else{if(B_(n,r))return;D_.set(r),e.uniformMatrix4fv(this.addr,!1,D_),V_(n,r)}}function Q_(e,t){var n=this.cache;n[0]!==t&&(e.uniform1i(this.addr,t),n[0]=t)}function $_(e,t){var n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y||(e.uniform2i(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(B_(n,t))return;e.uniform2iv(this.addr,t),V_(n,t)}}function ek(e,t){var n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z||(e.uniform3i(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else{if(B_(n,t))return;e.uniform3iv(this.addr,t),V_(n,t)}}function tk(e,t){var n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z&&n[3]===t.w||(e.uniform4i(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(B_(n,t))return;e.uniform4iv(this.addr,t),V_(n,t)}}function nk(e,t){var n=this.cache;n[0]!==t&&(e.uniform1ui(this.addr,t),n[0]=t)}function rk(e,t){var n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y||(e.uniform2ui(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(B_(n,t))return;e.uniform2uiv(this.addr,t),V_(n,t)}}function ik(e,t){var n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z||(e.uniform3ui(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else{if(B_(n,t))return;e.uniform3uiv(this.addr,t),V_(n,t)}}function ak(e,t){var n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z&&n[3]===t.w||(e.uniform4ui(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(B_(n,t))return;e.uniform4uiv(this.addr,t),V_(n,t)}}function ok(e,t,n){var r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture2D(t||O_,i)}function sk(e,t,n){var r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture3D(t||Z_,i)}function lk(e,t,n){var r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTextureCube(t||N_,i)}function uk(e,t,n){var r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture2DArray(t||L_,i
2)}function ck(e,t){e.uniform1fv(this.addr,t)}function dk(e,t){var n=F_(t,this.size,2);e.uniform2fv(this.addr,n)}function fk(e,t){var n=F_(t,this.size,3);e.uniform3fv(this.addr,n)}function hk(e,t){var n=F_(t,this.size,4);e.uniform4fv(this.addr,n)}function pk(e,t){var n=F_(t,this.size,4);e.uniformMatrix2fv(this.addr,!1,n)}function vk(e,t){var n=F_(t,this.size,9);e.uniformMatrix3fv(this.addr,!1,n)}function mk(e,t){var n=F_(t,this.size,16);e.uniformMatrix4fv(this.addr,!1,n)}function gk(e,t){e.uniform1iv(this.addr,t)}function yk(e,t){e.uniform2iv(this.addr,t)}function bk(e,t){e.uniform3iv(this.addr,t)}function xk(e,t){e.uniform4iv(this.addr,t)}function wk(e,t){e.uniform1uiv(this.addr,t)}function Sk(e,t){e.uniform2uiv(this.addr,t)}function _k(e,t){e.uniform3uiv(this.addr,t)}function kk(e,t){e.uniform4uiv(this.addr,t)}function Mk(e,t,n){var r=this.cache,i=t.length,a=H_(n,i);B_(r,a)||(e.uniform1iv(this.addr,a),V_(r,a));for(var o=0;o!==i;++o)n.setTexture2D(t[o]||O_,a[o])}function Ek(e,t,n){var r=this.cache,i=t.length,a=H_(n,i);B_(r,a)||(e.uniform1iv(this.addr,a),V_(r,a));for(var o=0;o!==i;++o)n.setTexture3D(t[o]||Z_,a[o])}function Tk(e,t,n){var r=this.cache,i=t.length,a=H_(n,i);B_(r,a)||(e.uniform1iv(this.addr,a),V_(r,a));for(var o=0;o!==i;++o)n.setTextureCube(t[o]||N_,a[o])}function Ck(e,t,n){var r=this.cache,i=t.length,a=H_(n,i);B_(r,a)||(e.uniform1iv(this.addr,a),V_(r,a));for(var o=0;o!==i;++o)n.setTexture2DArray(t[o]||L_,a[o])}var Ak=(0,xe.Z)((function e(t,n,r){(0,be.Z)(this,e),this.id=t,this.addr=r,this.cache=[],this.setValue=function(e){switch(e){case 5126:return W_;case 35664:return G_;case 35665:return q_;case 35666:return X_;case 35674:return Y_;case 35675:return J_;case 35676:return K_;case 5124:case 35670:return Q_;case 35667:case 35671:return $_;case 35668:case 35672:return ek;case 35669:case 35673:return tk;case 5125:return nk;case 36294:return rk;case 36295:return ik;case 36296:return ak;case 35678:case 36198:case 36298:case 36306:case 35682:return ok;case 35679:case 36299:case 36307:return sk;case 35680:case 36300:case 36308:case 36293:return lk;case 36289:case 36303:case 36311:case 36292:return uk}}(n.type)})),Pk=(0,xe.Z)((function e(t,n,r){(0,be.Z)(this,e),this.id=t,this.addr=r,this.cache=[],this.size=n.size,this.setValue=function(e){switch(e){case 5126:return ck;case 35664:return dk;case 35665:return fk;case 35666:return hk;case 35674:return pk;case 35675:return vk;case 35676:return mk;case 5124:case 35670:return gk;case 35667:case 35671:return yk;case 35668:case 35672:return bk;case 35669:case 35673:return xk;case 5125:return wk;case 36294:return Sk;case 36295:return _k;case 36296:return kk;case 35678:case 36198:case 36298:case 36306:case 35682:return Mk;case 35679:case 36299:case 36307:return Ek;case 35680:case 36300:case 36308:case 36293:return Tk;case 36289:case 36303:case 36311:case 36292:return Ck}}(n.type)})),Rk=function(){function e(t){(0,be.Z)(this,e),this.id=t,this.seq=[],this.map={}}return(0,xe.Z)(e,[{key:"setValue",value:function(e,t,n){for(var r=this.seq,i=0,a=r.length;i!==a;++i){var o=r[i];o.setValue(e,t[o.id],n)}}}]),e}(),Ok=/(\w+)(\])?(\[|\.)?/g;function Lk(e,t){e.seq.push(t),e.map[t.id]=t}function Zk(e,t,n){var r=e.name,i=r.length;for(Ok.lastIndex=0;;){var a=Ok.exec(r),o=Ok.lastIndex,s=a[1],l="]"===a[2],u=a[3];if(l&&(s|=0),void 0===u||"["===u&&o+2===i){Lk(n,void 0===u?new Ak(s,e,t):new Pk(s,e,t));break}var c=n.map[s];void 0===c&&Lk(n,c=new Rk(s)),n=c}}var Nk=function(){function e(t,n){(0,be.Z)(this,e),this.seq=[],this.map={};for(var r=t.getProgramParameter(n,35718),i=0;i<r;++i){var a=t.getActiveUniform(n,i);Zk(a,t.getUniformLocation(n,a.name),this)}}return(0,xe.Z)(e,[{key:"setValue",value:function(e,t,n,r){var i=this.map[t];void 0!==i&&i.setValue(e,n,r)}},{key:"setOptional",value:function(e,t,n){var r=t[n];void 0!==r&&this.setValue(e,n,r)}}],[{key:"upload",value:function(e,t,n,r){for(var i=0,a=t.length;i!==a;++i){var o=t[i],s=n[o.id];!1!==s.needsUpdate&&o.setValue(e,s.value,r)}}},{key:"seqWithValue",value:function(e,t){for(var n=[],r=0,i=e.length;r!==i;++r){var a=e[r];a.id in t&&n.push(a)}return n}}]),e}();function Ik(e,t,n){var r=e.createShader(t);return e.shaderSource(r,n),e.compileShader(r),r}var jk=0;function Dk(e,t,n){var r=e.getShaderParameter(t,35713),i=e.getShaderInfoLog(t).trim();if(r&&""===i)return"";var a=/ERROR: 0:(\d+)/.exec(i);if(a){var o=parseInt(a[1]);return n.toUpperCase()+"\n\n"+i+"\n\n"+function(e,t){for(var n=e.split("\n"),r=[],i=Math.max(t-6,0),a=Math.min(t+6,n.length),o=i;o<a;o++){var s=o+1;r.push("".concat(s===t?">":" "," ").concat(s,": ").concat(n[o]))}return r.join("\n")}(e.getShaderSource(t),o)}return i}function zk(e,t){var n=function(e){switch(e){case Hy:return["Linear","( value )"];case Wy:return["sRGB","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",e),["Linear","( value )"]}}(t);return"vec4 "+e+"( vec4 value ) { return LinearTo"+n[0]+n[1]+"; }"}function Uk(e,t){var n;switch(t){case lg:n="Linear";break;case ug:n="Reinhard";break;case cg:n="OptimizedCineon";break;case dg:n="ACESFilmic";break;case fg:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",t),n="Linear"}return"vec3 "+e+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}function Fk(e){return""!==e}function Bk(e,t){var n=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_L
2IGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,n).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function Vk(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}var Hk=/^[ \t]*#include +<([\w\d./]+)>/gm;function Wk(e){return e.replace(Hk,Gk)}function Gk(e,t){var n=$S[t];if(void 0===n)throw new Error("Can not resolve #include <"+t+">");return Wk(n)}var qk=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function Xk(e){return e.replace(qk,Yk)}function Yk(e,t,n,r){for(var i="",a=parseInt(t);a<parseInt(n);a++)i+=r.replace(/\[\s*i\s*\]/g,"[ "+a+" ]").replace(/UNROLLED_LOOP_INDEX/g,a);return i}function Jk(e){var t="precision "+e.precision+" float;\nprecision "+e.precision+" int;";return"highp"===e.precision?t+="\n#define HIGH_PRECISION":"mediump"===e.precision?t+="\n#define MEDIUM_PRECISION":"lowp"===e.precision&&(t+="\n#define LOW_PRECISION"),t}function Kk(e,t,n,r){var i,a,o=e.getContext(),s=n.defines,l=n.vertexShader,u=n.fragmentShader,c=function(e){var t="SHADOWMAP_TYPE_BASIC";return e.shadowMapType===wm?t="SHADOWMAP_TYPE_PCF":e.shadowMapType===Sm?t="SHADOWMAP_TYPE_PCF_SOFT":e.shadowMapType===_m&&(t="SHADOWMAP_TYPE_VSM"),t}(n),d=function(e){var t="ENVMAP_TYPE_CUBE";if(e.envMap)switch(e.envMapMode){case pg:case vg:t="ENVMAP_TYPE_CUBE";break;case yg:t="ENVMAP_TYPE_CUBE_UV"}return t}(n),f=function(e){var t="ENVMAP_MODE_REFLECTION";e.envMap&&e.envMapMode===vg&&(t="ENVMAP_MODE_REFRACTION");return t}(n),h=function(e){var t="ENVMAP_BLENDING_NONE";if(e.envMap)switch(e.combine){case ig:t="ENVMAP_BLENDING_MULTIPLY";break;case ag:t="ENVMAP_BLENDING_MIX";break;case og:t="ENVMAP_BLENDING_ADD"}return t}(n),p=function(e){var t=e.envMapCubeUVHeight;if(null===t)return null;var n=Math.log2(t)-2,r=1/t;return{texelWidth:1/(3*Math.max(Math.pow(2,n),112)),texelHeight:r,maxMip:n}}(n),v=n.isWebGL2?"":function(e){return[e.extensionDerivatives||e.envMapCubeUVHeight||e.bumpMap||e.normalMapTangentSpace||e.clearcoatNormalMap||e.flatShading||"physical"===e.shaderID?"#extension GL_OES_standard_derivatives : enable":"",(e.extensionFragDepth||e.logarithmicDepthBuffer)&&e.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",e.extensionDrawBuffers&&e.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(e.extensionShaderTextureLOD||e.envMap||e.transmission)&&e.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(Fk).join("\n")}(n),m=function(e){var t=[];for(var n in e){var r=e[n];!1!==r&&t.push("#define "+n+" "+r)}return t.join("\n")}(s),g=o.createProgram(),y=n.glslVersion?"#version "+n.glslVersion+"\n":"";n.isRawShaderMaterial?((i=[m].filter(Fk).join("\n")).length>0&&(i+="\n"),(a=[v,m].filter(Fk).join("\n")).length>0&&(a+="\n")):(i=[Jk(n),"#define SHADER_NAME "+n.shaderName,m,n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+f:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.displacementMap?"#define USE_DISPLACEMENTMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IR
2IDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.mapUv?"#define MAP_UV "+n.mapUv:"",n.alphaMapUv?"#define ALPHAMAP_UV "+n.alphaMapUv:"",n.lightMapUv?"#define LIGHTMAP_UV "+n.lightMapUv:"",n.aoMapUv?"#define AOMAP_UV "+n.aoMapUv:"",n.emissiveMapUv?"#define EMISSIVEMAP_UV "+n.emissiveMapUv:"",n.bumpMapUv?"#define BUMPMAP_UV "+n.bumpMapUv:"",n.normalMapUv?"#define NORMALMAP_UV "+n.normalMapUv:"",n.displacementMapUv?"#define DISPLACEMENTMAP_UV "+n.displacementMapUv:"",n.metalnessMapUv?"#define METALNESSMAP_UV "+n.metalnessMapUv:"",n.roughnessMapUv?"#define ROUGHNESSMAP_UV "+n.roughnessMapUv:"",n.clearcoatMapUv?"#define CLEARCOATMAP_UV "+n.clearcoatMapUv:"",n.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+n.clearcoatNormalMapUv:"",n.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+n.clearcoatRoughnessMapUv:"",n.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+n.iridescenceMapUv:"",n.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+n.iridescenceThicknessMapUv:"",n.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+n.sheenColorMapUv:"",n.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+n.sheenRoughnessMapUv:"",n.specularMapUv?"#define SPECULARMAP_UV "+n.specularMapUv:"",n.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+n.specularColorMapUv:"",n.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+n.specularIntensityMapUv:"",n.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+n.transmissionMapUv:"",n.thicknessMapUv?"#define THICKNESSMAP_UV "+n.thicknessMapUv:"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs2?"#define USE_UV2":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&!1===n.flatShading?"#define USE_MORPHNORMALS":"",n.morphColors&&n.isWebGL2?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+c:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING","\tattribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR","\tattribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )","\tattribute vec4 color;","#elif defined( USE_COLOR )","\tattribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )","\tattribute vec3 morphTarget0;","\tattribute vec3 morphTarget1;","\tattribute vec3 morphTarget2;","\tattribute vec3 morphTarget3;","\t#ifdef USE_MORPHNORMALS","\t\tattribute vec3 morphNormal0;","\t\tattribute vec3 morphNormal1;","\t\tattribute vec3 morphNormal2;","\t\tattribute vec3 morphNormal3;","\t#else","\t\tattribute vec3 morphTarget4;","\t\tattribute vec3 morphTarget5;","\t\tattribute vec3 morphTarget6;","\t\tattribute vec3 morphTarget7;","\t#endif","#endif","#ifdef USE_SKINNING","\tattribute vec4 skinIndex;","\tattribute vec4 skinWeight;","#endif","\n"].filter(Fk).join("\n"),a=[v,Jk(n),"#define SHADER_NAME "+n.shaderName,m,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+d:"",n.envMap?"#define "+f:"",n.envMap?"#define "+h:"",p?"#define CUBEUV_TEXEL_WIDTH "+p.texelWidth:"",p?"#define CUBEUV_TEXEL_HEIGHT "+p.texelHeight:"",p?"#define CUBEUV_MAX_MIP "+p.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescence?"#define USE_IR
2IDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs2?"#define USE_UV2":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+c:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.useLegacyLights?"#define LEGACY_LIGHTS":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",n.toneMapping!==sg?"#define TONE_MAPPING":"",n.toneMapping!==sg?$S.tonemapping_pars_fragment:"",n.toneMapping!==sg?Uk("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",$S.encodings_pars_fragment,zk("linearToOutputTexel",n.outputEncoding),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"","\n"].filter(Fk).join("\n")),l=Vk(l=Bk(l=Wk(l),n),n),u=Vk(u=Bk(u=Wk(u),n),n),l=Xk(l),u=Xk(u),n.isWebGL2&&!0!==n.isRawShaderMaterial&&(y="#version 300 es\n",i=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join("\n")+"\n"+i,a=["#define varying in",n.glslVersion===Eb?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===Eb?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+a);var b,x,w=y+a+u,S=Ik(o,35633,y+i+l),_=Ik(o,35632,w);if(o.attachShader(g,S),o.attachShader(g,_),void 0!==n.index0AttributeName?o.bindAttribLocation(g,0,n.index0AttributeName):!0===n.morphTargets&&o.bindAttribLocation(g,0,"position"),o.linkProgram(g),e.debug.checkShaderErrors){var k=o.getProgramInfoLog(g).trim(),M=o.getShaderInfoLog(S).trim(),E=o.getShaderInfoLog(_).trim(),T=!0,C=!0;if(!1===o.getProgramParameter(g,35714))if(T=!1,"function"===typeof e.debug.onShaderError)e.debug.onShaderError(o,g,S,_);else{var A=Dk(o,S,"vertex"),P=Dk(o,_,"fragment");console.error("THREE.WebGLProgram: Shader Error "+o.getError()+" - VALIDATE_STATUS "+o.getProgramParameter(g,35715)+"\n\nProgram Info Log: "+k+"\n"+A+"\n"+P)}else""!==k?console.warn("THREE.WebGLProgram: Program Info Log:",k):""!==M&&""!==E||(C=!1);C&&(this.diagnostics={runnable:T,programLog:k,vertexShader:{log:M,prefix:i},fragmentShader:{log:E,prefix:a}})}return o.deleteShader(S),o.deleteShader(_),this.getUniforms=function(){return void 0===b&&(b=new Nk(o,g)),b},this.getAttributes=function(){return void 0===x&&(x=function(e,t){for(var n={},r=e.getProgramParameter(t,35721),i=0;i<r;i++){var a=e.getActiveAttrib(t,i),o=a.name,s=1;35674===a.type&&(s=2),35675===a.type&&(s=3),35676===a.type&&(s=4),n[o]={type:a.type,location:e.getAttribLocation(t,o),locationSize:s}}return n}(o,g)),x},this.destroy=function(){r.releaseStatesOfProgram(this),o.deleteProgram(g),this.program=void 0},this.name=n.shaderName,this.id=jk++,this.cacheKey=t,this.usedTimes=1,this.program=g,this.vertexShader=S,this.fragmentShader=_,this}var Qk=0,$k=function(){function e(){(0,be.Z)(this,e),this.shaderCache=new Map,this.materialCache=new Map}return(0,xe.Z)(e,[{key:"update",value:function(e){var t=e.vertexShader,n=e.fragmentShader,r=this._getShaderStage(t),i=this._getShaderStage(n),a=this._getShaderCacheForMaterial(e);return!1===a.has(r)&&(a.add(r),r.usedTimes++),!1===a.has(i)&&(a.add(i),i.usedTimes++),this}},{key:"remove",value:function(e){var t,n=this.materialCache.get(e),r=(0,Pe.Z)(n);try{for(r.s();!(t=r.n()).done;){var i=t.value;i.usedTimes--,0===i.usedTimes&&this.shaderCache.delete(i.code)}}catch(a){r.e(a)}finally{r.f()}return this.materialCache.delete(e),this}},{key:"getVertexShaderID",value:function(e){return this._getShaderStage(e.vertexShader).id}},{key:"getFragmentShaderID",value:function(e){return this._getShaderStage(e.fragmentShader).id}},{key:"dispose",value:function(){this.shaderCache.clear(),this.materialCache.clear()}},{key:"_getShaderCacheForMaterial",value:function(e){var t=this.materialCache,n=t.get(e);return void 0===n&&(n=new Set,t.set(e,n)),n}},{key:"_getShaderStage",value:function(e){var t=this.shaderCache,n=t.get(e);return void 0===n&&(n=new eM(e),t.set(e,n)),n}}]),e}(),eM=(0,xe.Z)((function e(t){(0,be.Z)(this,e),this.id=Qk++,this.code=t,this.usedTimes=0}));function tM(e,t,n,r,i,a,o){var s=new iw,l=new $k,u=[],c=i.isWebG
2L2,d=i.logarithmicDepthBuffer,f=i.vertexTextures,h=i.precision,p={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function v(e){return 1===e?"uv2":"uv"}return{getParameters:function(a,s,u,m,g){var y=m.fog,b=g.geometry,x=a.isMeshStandardMaterial?m.environment:null,w=(a.isMeshStandardMaterial?n:t).get(a.envMap||x),S=w&&w.mapping===yg?w.image.height:null,_=p[a.type];null!==a.precision&&(h=i.getMaxPrecision(a.precision))!==a.precision&&console.warn("THREE.WebGLProgram.getParameters:",a.precision,"not supported, using",h,"instead.");var k,M,E,T,C=b.morphAttributes.position||b.morphAttributes.normal||b.morphAttributes.color,A=void 0!==C?C.length:0,P=0;if(void 0!==b.morphAttributes.position&&(P=1),void 0!==b.morphAttributes.normal&&(P=2),void 0!==b.morphAttributes.color&&(P=3),_){var R=t_[_];k=R.vertexShader,M=R.fragmentShader}else k=a.vertexShader,M=a.fragmentShader,l.update(a),E=l.getVertexShaderID(a),T=l.getFragmentShaderID(a);var O=e.getRenderTarget(),L=!0===g.isInstancedMesh,Z=!!a.map,N=!!a.matcap,I=!!w,j=!!a.aoMap,D=!!a.lightMap,z=!!a.bumpMap,U=!!a.normalMap,F=!!a.displacementMap,B=!!a.emissiveMap,V=!!a.metalnessMap,H=!!a.roughnessMap,W=a.clearcoat>0,G=a.iridescence>0,q=a.sheen>0,X=a.transmission>0,Y=W&&!!a.clearcoatMap,J=W&&!!a.clearcoatNormalMap,K=W&&!!a.clearcoatRoughnessMap,Q=G&&!!a.iridescenceMap,$=G&&!!a.iridescenceThicknessMap,ee=q&&!!a.sheenColorMap,te=q&&!!a.sheenRoughnessMap,ne=!!a.specularMap,re=!!a.specularColorMap,ie=!!a.specularIntensityMap,ae=X&&!!a.transmissionMap,oe=X&&!!a.thicknessMap,se=!!a.gradientMap,le=!!a.alphaMap,ue=a.alphaTest>0,ce=!!a.extensions,de=!!b.attributes.uv2;return{isWebGL2:c,shaderID:_,shaderName:a.type,vertexShader:k,fragmentShader:M,defines:a.defines,customVertexShaderID:E,customFragmentShaderID:T,isRawShaderMaterial:!0===a.isRawShaderMaterial,glslVersion:a.glslVersion,precision:h,instancing:L,instancingColor:L&&null!==g.instanceColor,supportsVertexTextures:f,outputEncoding:null===O?e.outputEncoding:!0===O.isXRRenderTarget?O.texture.encoding:Hy,map:Z,matcap:N,envMap:I,envMapMode:I&&w.mapping,envMapCubeUVHeight:S,aoMap:j,lightMap:D,bumpMap:z,normalMap:U,displacementMap:f&&F,emissiveMap:B,normalMapObjectSpace:U&&a.normalMapType===Yy,normalMapTangentSpace:U&&a.normalMapType===Xy,decodeVideoTexture:Z&&!0===a.map.isVideoTexture&&a.map.encoding===Wy,metalnessMap:V,roughnessMap:H,clearcoat:W,clearcoatMap:Y,clearcoatNormalMap:J,clearcoatRoughnessMap:K,iridescence:G,iridescenceMap:Q,iridescenceThicknessMap:$,sheen:q,sheenColorMap:ee,sheenRoughnessMap:te,specularMap:ne,specularColorMap:re,specularIntensityMap:ie,transmission:X,transmissionMap:ae,thicknessMap:oe,gradientMap:se,opaque:!1===a.transparent&&a.blending===Am,alphaMap:le,alphaTest:ue,combine:a.combine,mapUv:Z&&v(a.map.channel),aoMapUv:j&&v(a.aoMap.channel),lightMapUv:D&&v(a.lightMap.channel),bumpMapUv:z&&v(a.bumpMap.channel),normalMapUv:U&&v(a.normalMap.channel),displacementMapUv:F&&v(a.displacementMap.channel),emissiveMapUv:B&&v(a.emissiveMap.channel),metalnessMapUv:V&&v(a.metalnessMap.channel),roughnessMapUv:H&&v(a.roughnessMap.channel),clearcoatMapUv:Y&&v(a.clearcoatMap.channel),clearcoatNormalMapUv:J&&v(a.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:K&&v(a.clearcoatRoughnessMap.channel),iridescenceMapUv:Q&&v(a.iridescenceMap.channel),iridescenceThicknessMapUv:$&&v(a.iridescenceThicknessMap.channel),sheenColorMapUv:ee&&v(a.sheenColorMap.channel),sheenRoughnessMapUv:te&&v(a.sheenRoughnessMap.channel),specularMapUv:ne&&v(a.specularMap.channel),specularColorMapUv:re&&v(a.specularColorMap.channel),specularIntensityMapUv:ie&&v(a.specularIntensityMap.channel),transmissionMapUv:ae&&v(a.transmissionMap.channel),thicknessMapUv:oe&&v(a.thicknessMap.channel),alphaMapUv:le&&v(a.alphaMap.channel),vertexTangents:U&&!!b.attributes.tangent,vertexColors:a.vertexColors,vertexAlphas:!0===a.vertexColors&&!!b.attributes.color&&4===b.attributes.color.itemSize,vertexUvs2:de,pointsUvs:!0===g.isPoints&&!!b.attributes.uv&&(Z||le),fog:!!y,useFog:!0===a.fog,fogExp2:y&&y.isFogExp2,flatShading:!0===a.flatShading,sizeAttenuation:!0===a.sizeAttenuation,logarithmicDepthBuffer:d,skinning:!0===g.isSkinnedMesh,morphTargets:void 0!==b.morphAttributes.position,morphNormals:void 0!==b.morphAttributes.normal,morphColors:void 0!==b.morphAttributes.color,morphTargetsCount:A,morphTextureStride:P,numDirLights:s.directional.length,numPointLights:s.point.length,numSpotLights:s.spot.length,numSpotLightMaps:s.spotLightMap.length,numRectAreaLights:s.rectArea.length,numHemiLights:s.hemi.length,numDirLightShadows:s.directionalShadowMap.length,numPointLightShadows:s.pointShadowMap.length,numSpotLightShadows:s.spotShadowMap.length,numSpotLightShadowsWithMaps:s.numSpotLightShadowsWithMaps,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:a.dithering,shadowMapEnabled:e.shadowMap.enabled&&u.length>0,shadowMapType:e.shadowMap.type,toneMapping:a.toneMapped?e.toneMapping:sg,useLegacyLights:e.useLegacyLights,premultipliedAlpha:a.premultipliedAlpha,doubleSided:a.side===Em,flipSided:a.side===Mm,useDepthPacking:a.depthPacking>=0,depthPacking:a.depthPacking||0,index0AttributeName:a.index0AttributeName,extensionDerivatives:ce&&!0===a.extensions.derivatives,extensionFragDepth:ce&&!0===a.extensions.fragDepth,extensionDrawBuffers:ce&&!0===a.extensions.drawBuffers,extensionShaderTextureLOD:ce&&!0===a.extensions.shaderTextureLOD,rendererExtensionFragDepth:c||r.has("EXT_frag_depth"),rendererExtensionDrawBuffers:c||r.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:c||r.has("EXT_shader_texture_lod"),customProgramCacheKey:a.customProgramCacheKey()}},getProgramCacheKey:function(t){var n=[];if(t.shaderID?n.push(t.shaderID):(n.push(t.customVertexShaderID),n.push(t.customFragmentShaderID)),void 0!==t.defines)for(var r in t.defines)n.push(r),n.push(t.defines[r]);return!1===t.isRawShaderMaterial&&(!function(e,t){e.push(t.precision),e.push(t.outputEncoding),e.push(t.envMapMode),e.push(t.envMapCubeUVHeight),e.push(t.mapUv),e.push(t.alphaMapUv),e.push(t.lightMapUv),e.push(t.aoMapUv),e.push(t.bumpMapUv),e.push(t.normalMapUv),e.push(t.displacementMapUv),e.push(t.emissiveMapUv),e.push(t.metalnessMapUv),e.push(t.roughnessMapUv),e.push(t.clearcoatMapUv),e.push(t.clearcoatNormalMapUv),e.push(t.clearcoatRoughnessMapUv),e.push(t.iridescenceMapUv),e.push(t.iridescenceThicknessMapUv),e.push(t.sheenColorMapUv),e.push(t.sheenRoughnessMapUv),e.push(t.specularMapUv),e.push(t.specularColorMapUv),e.push(t.specularIntensityMapUv),e.push(t.transmissionMapUv),e.push(t.thicknessMapUv),e.push(t.combine),e.push(t.fogExp2),e.push(t.sizeAttenuation),e.push(t.morphTargetsCount),e.push(t.morphAttributeCount),e.push(t.numDirLights),e.push(t.numPointLights),e.push(t.numSpotLights),e.push(t.numSpotLightMaps),e.push(t.numHemiLights),e.push(t.numRectAreaLights),e.push(t.numDirLightShadows),e.push(t.numPointLightShadows),e.push(t.numSpotLightShadows),e.push(t.numSpotLightShadowsWithMaps),e.push(t.shadowMapType),e.push(t.toneMapping),e.push(t.numClippingPlanes),e.push(t.numClipIntersection),e.push(t.depthPacking)}(n,t),function(e,t){s.disableAll(),t.isWebGL2&&s.enable(0);t.supportsVertexTextures&&s.enable(1);t.instancing&&s.enable(2);t.instancingColor&&s.enable(3);t.matcap&&s.enable(4);t.envMap&&s.enable(5);
2t.normalMapObjectSpace&&s.enable(6);t.normalMapTangentSpace&&s.enable(7);t.clearcoat&&s.enable(8);t.iridescence&&s.enable(9);t.alphaTest&&s.enable(10);t.vertexColors&&s.enable(11);t.vertexAlphas&&s.enable(12);t.vertexUvs2&&s.enable(13);t.vertexTangents&&s.enable(14);e.push(s.mask),s.disableAll(),t.fog&&s.enable(0);t.useFog&&s.enable(1);t.flatShading&&s.enable(2);t.logarithmicDepthBuffer&&s.enable(3);t.skinning&&s.enable(4);t.morphTargets&&s.enable(5);t.morphNormals&&s.enable(6);t.morphColors&&s.enable(7);t.premultipliedAlpha&&s.enable(8);t.shadowMapEnabled&&s.enable(9);t.useLegacyLights&&s.enable(10);t.doubleSided&&s.enable(11);t.flipSided&&s.enable(12);t.useDepthPacking&&s.enable(13);t.dithering&&s.enable(14);t.transmission&&s.enable(15);t.sheen&&s.enable(16);t.decodeVideoTexture&&s.enable(17);t.opaque&&s.enable(18);t.pointsUvs&&s.enable(19);e.push(s.mask)}(n,t),n.push(e.outputEncoding)),n.push(t.customProgramCacheKey),n.join()},getUniforms:function(e){var t,n=p[e.type];if(n){var r=t_[n];t=NS.clone(r.uniforms)}else t=e.uniforms;return t},acquireProgram:function(t,n){for(var r,i=0,o=u.length;i<o;i++){var s=u[i];if(s.cacheKey===n){++(r=s).usedTimes;break}}return void 0===r&&(r=new Kk(e,n,t,a),u.push(r)),r},releaseProgram:function(e){if(0===--e.usedTimes){var t=u.indexOf(e);u[t]=u[u.length-1],u.pop(),e.destroy()}},releaseShaderCache:function(e){l.remove(e)},programs:u,dispose:function(){l.dispose()}}}function nM(){var e=new WeakMap;return{get:function(t){var n=e.get(t);return void 0===n&&(n={},e.set(t,n)),n},remove:function(t){e.delete(t)},update:function(t,n,r){e.get(t)[n]=r},dispose:function(){e=new WeakMap}}}function rM(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.material.id!==t.material.id?e.material.id-t.material.id:e.z!==t.z?e.z-t.z:e.id-t.id}function iM(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.z!==t.z?t.z-e.z:e.id-t.id}function aM(){var e=[],t=0,n=[],r=[],i=[];function a(n,r,i,a,o,s){var l=e[t];return void 0===l?(l={id:n.id,object:n,geometry:r,material:i,groupOrder:a,renderOrder:n.renderOrder,z:o,group:s},e[t]=l):(l.id=n.id,l.object=n,l.geometry=r,l.material=i,l.groupOrder=a,l.renderOrder=n.renderOrder,l.z=o,l.group=s),t++,l}return{opaque:n,transmissive:r,transparent:i,init:function(){t=0,n.length=0,r.length=0,i.length=0},push:function(e,t,o,s,l,u){var c=a(e,t,o,s,l,u);o.transmission>0?r.push(c):!0===o.transparent?i.push(c):n.push(c)},unshift:function(e,t,o,s,l,u){var c=a(e,t,o,s,l,u);o.transmission>0?r.unshift(c):!0===o.transparent?i.unshift(c):n.unshift(c)},finish:function(){for(var n=t,r=e.length;n<r;n++){var i=e[n];if(null===i.id)break;i.id=null,i.object=null,i.geometry=null,i.material=null,i.group=null}},sort:function(e,t){n.length>1&&n.sort(e||rM),r.length>1&&r.sort(t||iM),i.length>1&&i.sort(t||iM)}}}function oM(){var e=new WeakMap;return{get:function(t,n){var r,i=e.get(t);return void 0===i?(r=new aM,e.set(t,[r])):n>=i.length?(r=new aM,i.push(r)):r=i[n],r},dispose:function(){e=new WeakMap}}}function sM(){var e={};return{get:function(t){if(void 0!==e[t.id])return e[t.id];var n;switch(t.type){case"DirectionalLight":n={direction:new gx,color:new jw};break;case"SpotLight":n={position:new gx,direction:new gx,color:new jw,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new gx,color:new jw,distance:0,decay:0};break;case"HemisphereLight":n={direction:new gx,skyColor:new jw,groundColor:new jw};break;case"RectAreaLight":n={color:new jw,position:new gx,halfWidth:new gx,halfHeight:new gx}}return e[t.id]=n,n}}}var lM=0;function uM(e,t){return(t.castShadow?2:0)-(e.castShadow?2:0)+(t.map?1:0)-(e.map?1:0)}function cM(e,t){for(var n=new sM,r=function(){var e={};return{get:function(t){if(void 0!==e[t.id])return e[t.id];var n;switch(t.type){case"DirectionalLight":case"SpotLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Vb};break;case"PointLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Vb,shadowCameraNear:1,shadowCameraFar:1e3}}return e[t.id]=n,n}}}(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0},a=0;a<9;a++)i.probe.push(new gx);var o=new gx,s=new qx,l=new qx;return{setup:function(a,o){for(var s=0,l=0,u=0,c=0;c<9;c++)i.probe[c].set(0,0,0);var d=0,f=0,h=0,p=0,v=0,m=0,g=0,y=0,b=0,x=0;a.sort(uM);for(var w=!0===o?Math.PI:1,S=0,_=a.length;S<_;S++){var k=a[S],M=k.color,E=k.intensity,T=k.distance,C=k.shadow&&k.shadow.map?k.shadow.map.texture:null;if(k.isAmbientLight)s+=M.r*E*w,l+=M.g*E*w,u+=M.b*E*w;else if(k.isLightProbe)for(var A=0;A<9;A++)i.probe[A].addScaledVector(k.sh.coefficients[A],E);else if(k.isDirectionalLight){var P=n.get(k);if(P.color.copy(k.color).multiplyScalar(k.intensity*w),k.castShadow){var R=k.shadow,O=r.get(k);O.shadowBias=R.bias,O.shadowNormalBias=R.normalBias,O.shadowRadius=R.radius,O.shadowMapSize=R.mapSize,i.directionalShadow[d]=O,i.directionalShadowMap[d]=C,i.directionalShadowMatrix[d]=k.shadow.matrix,m++}i.directional[d]=P,d++}else if(k.isSpotLight){var L=n.get(k);L.position.setFromMatrixPosition(k.matrixWorld),L.color.copy(M).multiplyScalar(E*w),L.distance=T,L.coneCos=Math.cos(k.angle),L.penumbraCos=Math.cos(k.angle*(1-k.penumbra)),L.decay=k.decay,i.spot[h]=L;var Z=k.shadow;if(k.map&&(i.spotLightMap[b]=k.map,b++,Z.updateMatrices(k),k.castShadow&&x++),i.spotLightMatrix[h]=Z.matrix,k.castShadow){var N=r.get(k);N.shadowBias=Z.bias,N.shadowNormalBias=Z.normalBias,N.shadowRadius=Z.radius,N.shadowMapSize=Z.mapSize,i.spotShadow[h]=N,i.spotShadowMap[h]=C,y++}h++}else if(k.isRectAreaLight){var I=n.get(k);I.color.copy(M).multiplyScalar(E),I.halfWidth.set(.5*k.width,0,0),I.halfHeight.set(0,.5*k.height,0),i.rectArea[p]=I,p++}else if(k.isPointLight){var j=n.get(k);if(j.color.copy(k.color).multiplyScalar(k.intensity*w),j.distance=k.distance,j.decay=k.decay,k.castShadow){var D=k.shadow,z=r.get(k);z.shadowBias=D.bias,z.shadowNormalBias=D.normalBias,z.shadowRadius=D.radius,z.shadowMapSize=D.mapSize,z.shadowCameraNear=D.camera.near,z.shadowCameraFar=D.camera.far,i.pointShadow[f]=z,i.pointShadowMap[f]=C,i.pointShadowMatrix[f]=k.shadow.matrix,g++}i.point[f]=j,f++}else if(k.isHemisphereLight){var U=n.get(k);U.skyColor.copy(k.color).multiplyScalar(E*w),U.groundColor.copy(k.groundColor).multiplyScalar(E*w),i.hemi[v]=U,v++}}p>0&&(t.isWebGL2||!0===e.has("OES_texture_float_linear")?(i.rectAreaLTC1=e_.LTC_FLOAT_1,i.rectAreaLTC2=e_.LTC_FLOAT_2):!0===e.has("OES_texture_half_float_linear")?(i.rectAreaLTC1=e_.LTC_HALF_1,i.rectAreaLTC2=e_.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),i.ambient[0]=s,i.ambient[1]=l,i.ambient[2]=u;var F=i.hash;F.directionalLength===d&&F.pointLength===f&&F.spotLength===h&&F.rectAreaLength===p&&F.hemiLength===v&&F.numDirectionalShadows===m&&F.numPointShadows===g&&F.numSpotShadows===y&&F.numSpotMaps===b||(i.directional.length=d,i.spot.length=h,i.rectArea.length=p,i.point.length=f,i.hemi.length=v,i.directionalShadow.length=m,i.directionalShadowMap.length=m,i.pointShadow.length=g,i.pointShadowMap.length=g,i.spotShadow.length=y,i.spotShadowMap.length=y,i.directionalShadowMatrix.length=m,i.pointShadowMatrix.length=g,i.spotLightMatrix.length=y+b-x,i.spotLightMap.length=b,i.numSpotLightShadowsWithMaps=x,F.directionalLength=d,F.pointLength=f,F.spotLength=h,F.rectAreaLength=p,F.hemiLength=v,F.numDirectionalShadows=m,F.numPointShadows=g,F.numSpotShadows=y,F.numSpotMaps=b,i.version=lM++)},setupView:function(e,t){for(var n=0,r=0,a=0,u=0,c=0,d=t.matrixWorldInverse,f=0,h=e.length;f<h;f++){var p=e[f];if(p.isDirectionalLight){var v=i.directional[n];v.direction.setFromMatrixPosition(p.matrixWorld),o.setFromMatrixPosition(p.target.matrixWorld),v.direction.sub(o),v.direction.transformDirection(d),n++}else if(p.isSpotLight){var m=i.spot[a];m.position.setFromMatrixPosition(p.matrixWorld),m.position.applyMatrix4(d),m.direction.setFromMatrixPosition(p.matrixWorld),o.setFromMatrixPosition(p.target.matrixWorld),m.direction.sub(o),m.direction.transformDirection(d),a++}else if(p.isRectAreaLight){var g=i.rectArea[u];g.position.setFromMatrixPosition(p.matrixWorld),g.position.applyMatrix4(d),l.identity(),s.copy(p.matrixWorld),s.premultiply(d),l.extractRotation(s),g.halfWidth.set(.5*p.width,0,0),g.halfHeight.set(0,.5*p.height,0),g.halfWidth.applyMatrix4(l),g.halfHeight.applyMatrix4(l),u++}else if(p.isPointLight){var y=i.point[r];y.position.setFromMatrixPosition(p.matrixWorld),y.position.applyMatrix4(d),r++}else if(p.isHemisphereLight){var b=i.hemi[c];b.direction.setFromMatrixPosition(p.matrixWorld),b.direction.transformDirection(d),c++}}},state:i}}function dM(e,t){var n=new cM(e,t),r=[],i=[];return{init:function(){r.length=0,i.length=0},state:{lightsArray:r,shadowsArray:i,lights:n},setupLights:function(e){n.setup(r,e)},setupLightsView:function(e){n.setupView(r,e)},pushLight:function(e){r.push(e)},pushShadow:function(e){i.push(e)}}}function fM(e,t){var n=new WeakMap;return{get:function(r){var i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=n.get(r);return void 0===o?(i=new dM(e,t),n.set(r,[i])):a>=o.length?(i=new dM(e,t),o.push(i)):i=o[a],i},dispose:function(){n=new WeakMap}}}var hM=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isMeshDepthMaterial=!0,r.type="MeshDepthMaterial",r.depthPacking=Gy,r.map=null,r.alphaMap=null,r.dis
2placementMap=null,r.displacementScale=1,r.displacementBias=0,r.wireframe=!1,r.wireframeLinewidth=1,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}]),n}(Ow),pM=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isMeshDistanceMaterial=!0,r.type="MeshDistanceMaterial",r.map=null,r.alphaMap=null,r.displacementMap=null,r.displacementScale=1,r.displacementBias=0,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}]),n}(Ow);function vM(e,t,n){var r,i=new YS,a=new Vb,o=new Vb,s=new ux,l=new hM({depthPacking:qy}),u=new pM,c={},d=n.maxTextureSize,f=(r={},(0,Jt.Z)(r,km,Mm),(0,Jt.Z)(r,Mm,km),(0,Jt.Z)(r,Em,Em),r),h=new IS({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new Vb},radius:{value:4}},vertexShader:"void main() {\n\tgl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>\nvoid main() {\n\tconst float samples = float( VSM_SAMPLES );\n\tfloat mean = 0.0;\n\tfloat squared_mean = 0.0;\n\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n\tfor ( float i = 0.0; i < samples; i ++ ) {\n\t\tfloat uvOffset = uvStart + i * uvStride;\n\t\t#ifdef HORIZONTAL_PASS\n\t\t\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\n\t\t\tmean += distribution.x;\n\t\t\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n\t\t#else\n\t\t\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\n\t\t\tmean += depth;\n\t\t\tsquared_mean += depth * depth;\n\t\t#endif\n\t}\n\tmean = mean / samples;\n\tsquared_mean = squared_mean / samples;\n\tfloat std_dev = sqrt( squared_mean - mean * mean );\n\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),p=h.clone();p.defines.HORIZONTAL_PASS=1;var v=new dS;v.setAttribute("position",new qw(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));var m=new AS(v,h),g=this;function y(n,r){var i=t.update(m);h.defines.VSM_SAMPLES!==n.blurSamples&&(h.defines.VSM_SAMPLES=n.blurSamples,p.defines.VSM_SAMPLES=n.blurSamples,h.needsUpdate=!0,p.needsUpdate=!0),null===n.mapPass&&(n.mapPass=new cx(a.x,a.y)),h.uniforms.shadow_pass.value=n.map.texture,h.uniforms.resolution.value=n.mapSize,h.uniforms.radius.value=n.radius,e.setRenderTarget(n.mapPass),e.clear(),e.renderBufferDirect(r,null,i,h,m,null),p.uniforms.shadow_pass.value=n.mapPass.texture,p.uniforms.resolution.value=n.mapSize,p.uniforms.radius.value=n.radius,e.setRenderTarget(n.map),e.clear(),e.renderBufferDirect(r,null,i,p,m,null)}function b(t,n,r,i){var a=null,o=!0===r.isPointLight?t.customDistanceMaterial:t.customDepthMaterial;if(void 0!==o)a=o;else if(a=!0===r.isPointLight?u:l,e.localClippingEnabled&&!0===n.clipShadows&&Array.isArray(n.clippingPlanes)&&0!==n.clippingPlanes.length||n.displacementMap&&0!==n.displacementScale||n.alphaMap&&n.alphaTest>0||n.map&&n.alphaTest>0){var s=a.uuid,d=n.uuid,h=c[s];void 0===h&&(h={},c[s]=h);var p=h[d];void 0===p&&(p=a.clone(),h[d]=p),a=p}(a.visible=n.visible,a.wireframe=n.wireframe,a.side=i===_m?null!==n.shadowSide?n.shadowSide:n.side:null!==n.shadowSide?n.shadowSide:f[n.side],a.alphaMap=n.alphaMap,a.alphaTest=n.alphaTest,a.map=n.map,a.clipShadows=n.clipShadows,a.clippingPlanes=n.clippingPlanes,a.clipIntersection=n.clipIntersection,a.displacementMap=n.displacementMap,a.displacementScale=n.displacementScale,a.displacementBias=n.displacementBias,a.wireframeLinewidth=n.wireframeLinewidth,a.linewidth=n.linewidth,!0===r.isPointLight&&!0===a.isMeshDistanceMaterial)&&(e.properties.get(a).light=r);return a}
2function x(n,r,a,o,s){if(!1!==n.visible){if(n.layers.test(r.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&s===_m)&&(!n.frustumCulled||i.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(a.matrixWorldInverse,n.matrixWorld);var l=t.update(n),u=n.material;if(Array.isArray(u))for(var c=l.groups,d=0,f=c.length;d<f;d++){var h=c[d],p=u[h.materialIndex];if(p&&p.visible){var v=b(n,p,o,s);e.renderBufferDirect(a,null,l,v,n,h)}}else if(u.visible){var m=b(n,u,o,s);e.renderBufferDirect(a,null,l,m,n,null)}}for(var g=n.children,y=0,w=g.length;y<w;y++)x(g[y],r,a,o,s)}}this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=wm,this.render=function(t,n,r){if(!1!==g.enabled&&(!1!==g.autoUpdate||!1!==g.needsUpdate)&&0!==t.length){var l=e.getRenderTarget(),u=e.getActiveCubeFace(),c=e.getActiveMipmapLevel(),f=e.state;f.setBlending(Cm),f.buffers.color.setClear(1,1,1,1),f.buffers.depth.setTest(!0),f.setScissorTest(!1);for(var h=0,p=t.length;h<p;h++){var v=t[h],m=v.shadow;if(void 0!==m){if(!1!==m.autoUpdate||!1!==m.needsUpdate){a.copy(m.mapSize);var b=m.getFrameExtents();if(a.multiply(b),o.copy(m.mapSize),(a.x>d||a.y>d)&&(a.x>d&&(o.x=Math.floor(d/b.x),a.x=o.x*b.x,m.mapSize.x=o.x),a.y>d&&(o.y=Math.floor(d/b.y),a.y=o.y*b.y,m.mapSize.y=o.y)),null===m.map){var w=this.type!==_m?{minFilter:Sg,magFilter:Sg}:{};m.map=new cx(a.x,a.y,w),m.map.texture.name=v.name+".shadowMap",m.camera.updateProjectionMatrix()}e.setRenderTarget(m.map),e.clear();for(var S=m.getViewportCount(),_=0;_<S;_++){var k=m.getViewport(_);s.set(o.x*k.x,o.y*k.y,o.x*k.z,o.y*k.w),f.viewport(s),m.updateMatrices(v,_),i=m.getFrustum(),x(n,r,m.camera,v,this.type)}!0!==m.isPointLightShadow&&this.type===_m&&y(m,r),m.needsUpdate=!1}}else console.warn("THREE.WebGLShadowMap:",v,"has no shadow.")}g.needsUpdate=!1,e.setRenderTarget(l,u,c)}}}function mM(e,t,n){var r,i,a=n.isWebGL2;var o=new function(){var t=!1,n=new ux,r=null,i=new ux(0,0,0,0);return{setMask:function(n){r===n||t||(e.colorMask(n,n,n,n),r=n)},setLocked:function(e){t=e},setClear:function(t,r,a,o,s){!0===s&&(t*=o,r*=o,a*=o),n.set(t,r,a,o),!1===i.equals(n)&&(e.clearColor(t,r,a,o),i.copy(n))},reset:function(){t=!1,r=null,i.set(-1,0,0,0)}}},s=new function(){var t=!1,n=null,r=null,i=null;return{setTest:function(e){e?B(2929):V(2929)},setMask:function(r){n===r||t||(e.depthMask(r),n=r)},setFunc:function(t){if(r!==t){switch(t){case Jm:e.depthFunc(512);break;case Km:e.depthFunc(519);break;case Qm:e.depthFunc(513);break;case $m:e.depthFunc(515);break;case eg:e.depthFunc(514);break;case tg:e.depthFunc(518);break;case ng:e.depthFunc(516);break;case rg:e.depthFunc(517);break;default:e.depthFunc(515)}r=t}},setLocked:function(e){t=e},setClear:function(t){i!==t&&(e.clearDepth(t),i=t)},reset:function(){t=!1,n=null,r=null,i=null}}},l=new function(){var t=!1,n=null,r=null,i=null,a=null,o=null,s=null,l=null,u=null;return{setTest:function(e){t||(e?B(2960):V(2960))},setMask:function(r){n===r||t||(e.stencilMask(r),n=r)},setFunc:function(t,n,o){r===t&&i===n&&a===o||(e.stencilFunc(t,n,o),r=t,i=n,a=o)},setOp:function(t,n,r){o===t&&s===n&&l===r||(e.stencilOp(t,n,r),o=t,s=n,l=r)},setLocked:function(e){t=e},setClear:function(t){u!==t&&(e.clearStencil(t),u=t)},reset:function(){t=!1,n=null,r=null,i=null,a=null,o=null,s=null,l=null,u=null}}},u=new WeakMap,c=new WeakMap,d={},f={},h=new WeakMap,p=[],v=null,m=!1,g=null,y=null,b=null,x=null,w=null,S=null,_=null,k=!1,M=null,E=null,T=null,C=null,A=null,P=e.getParameter(35661),R=!1,O=0,L=e.getParameter(7938);-1!==L.indexOf("WebGL")?(O=parseFloat(/^WebGL (\d)/.exec(L)[1]),R=O>=1):-1!==L.indexOf("OpenGL ES")&&(O=parseFloat(/^OpenGL ES (\d)/.exec(L)[1]),R=O>=2);var Z=null,N={},I=e.getParameter(3088),j=e.getParameter(2978),D=(new ux).fromArray(I),z=(new ux).fromArray(j);function U(t,n,r){var i=new Uint8Array(4),a=e.createTexture();e.bindTexture(t,a),e.texParameteri(t,10241,9728),e.texParameteri(t,10240,9728);for(var o=0;o<r;o++)e.texImage2D(n+o,0,6408,1,1,0,6408,5121,i);return a}var F={};function B(t){!0!==d[t]&&(e.enable(t),d[t]=!0)}function V(t){!1!==d[t]&&(e.disable(t),d[t]=!1)}F[3553]=U(3553,3553,1),F[34067]=U(34067,34069,6),o.setClear(0,0,0,1),s.setClear(1),l.setClear(0),B(2929),s.setFunc($m),X(!1),Y(gm),B(2884),q(Cm);var H=(r={},(0,Jt.Z)(r,Zm,32774),(0,Jt.Z)(r,Nm,32778),(0,Jt.Z)(r,Im,32779),r);if(a)H[jm]=32775,H[Dm]=32776;else{var W=t.get("EXT_blend_minmax");null!==W&&(H[jm]=W.MIN_EXT,H[Dm]=W.MAX_EXT)}var G=(i={},(0,Jt.Z)(i,zm,0),(0,Jt.Z)(i,Um,1),(0,Jt.Z)(i,Fm,768),(0,Jt.Z)(i,Vm,770),(0,Jt.Z)(i,Ym,776),(0,Jt.Z)(i,qm,774),(0,Jt.Z)(i,Wm,772),(0,Jt.Z)(i,Bm,769),(0,Jt.Z)(i,Hm,771),(0,Jt.Z)(i,Xm,775),(0,Jt.Z)(i,Gm,773),i);function q(t,n,r,i,a,o,s,l){if(t!==Cm){if(!1===m&&(B(3042),m=!0),t===Lm)a=a||n,o=o||r,s=s||i,n===y&&a===w||(e.blendEquationSeparate(H[n],H[a]),y=n,w=a),r===b&&i===x&&o===S&&s===_||(e.blendFuncSeparate(G[r],G[i],G[o],G[s]),b=r,x=i,S=o,_=s),g=t,k=!1;
vendor: 4,634 bytes, line 2
2else if(t!==g||l!==k){if(y===Zm&&w===Zm||(e.blendEquation(32774),y=Zm,w=Zm),l)switch(t){case Am:e.blendFuncSeparate(1,771,1,771);break;case Pm:e.blendFunc(1,1);break;case Rm:e.blendFuncSeparate(0,769,0,1);break;case Om:e.blendFuncSeparate(0,768,0,770);break;default:console.error("THREE.WebGLState: Invalid blending: ",t)}else switch(t){case Am:e.blendFuncSeparate(770,771,1,771);break;case Pm:e.blendFunc(770,1);break;case Rm:e.blendFuncSeparate(0,769,0,1);break;case Om:e.blendFunc(0,768);break;default:console.error("THREE.WebGLState: Invalid blending: ",t)}b=null,x=null,S=null,_=null,g=t,k=l}}else!0===m&&(V(3042),m=!1)}function X(t){M!==t&&(t?e.frontFace(2304):e.frontFace(2305),M=t)}function Y(t){t!==mm?(B(2884),t!==E&&(t===gm?e.cullFace(1029):t===ym?e.cullFace(1028):e.cullFace(1032))):V(2884),E=t}function J(t,n,r){t?(B(32823),C===n&&A===r||(e.polygonOffset(n,r),C=n,A=r)):V(32823)}return{buffers:{color:o,depth:s,stencil:l},enable:B,disable:V,bindFramebuffer:function(t,n){return f[t]!==n&&(e.bindFramebuffer(t,n),f[t]=n,a&&(36009===t&&(f[36160]=n),36160===t&&(f[36009]=n)),!0)},drawBuffers:function(r,i){var a=p,o=!1;if(r)if(void 0===(a=h.get(i))&&(a=[],h.set(i,a)),r.isWebGLMultipleRenderTargets){var s=r.texture;if(a.length!==s.length||36064!==a[0]){for(var l=0,u=s.length;l<u;l++)a[l]=36064+l;a.length=s.length,o=!0}}else 36064!==a[0]&&(a[0]=36064,o=!0);else 1029!==a[0]&&(a[0]=1029,o=!0);o&&(n.isWebGL2?e.drawBuffers(a):t.get("WEBGL_draw_buffers").drawBuffersWEBGL(a))},useProgram:function(t){return v!==t&&(e.useProgram(t),v=t,!0)},setBlending:q,setMaterial:function(e,t){e.side===Em?V(2884):B(2884);var n=e.side===Mm;t&&(n=!n),X(n),e.blending===Am&&!1===e.transparent?q(Cm):q(e.blending,e.blendEquation,e.blendSrc,e.blendDst,e.blendEquationAlpha,e.blendSrcAlpha,e.blendDstAlpha,e.premultipliedAlpha),s.setFunc(e.depthFunc),s.setTest(e.depthTest),s.setMask(e.depthWrite),o.setMask(e.colorWrite);var r=e.stencilWrite;l.setTest(r),r&&(l.setMask(e.stencilWriteMask),l.setFunc(e.stencilFunc,e.stencilRef,e.stencilFuncMask),l.setOp(e.stencilFail,e.stencilZFail,e.stencilZPass)),J(e.polygonOffset,e.polygonOffsetFactor,e.polygonOffsetUnits),!0===e.alphaToCoverage?B(32926):V(32926)},setFlipSided:X,setCullFace:Y,setLineWidth:function(t){t!==T&&(R&&e.lineWidth(t),T=t)},setPolygonOffset:J,setScissorTest:function(e){e?B(3089):V(3089)},activeTexture:function(t){void 0===t&&(t=33984+P-1),Z!==t&&(e.activeTexture(t),Z=t)},bindTexture:function(t,n,r){void 0===r&&(r=null===Z?33984+P-1:Z);var i=N[r];void 0===i&&(i={type:void 0,texture:void 0},N[r]=i),i.type===t&&i.texture===n||(Z!==r&&(e.activeTexture(r),Z=r),e.bindTexture(t,n||F[t]),i.type=t,i.texture=n)},unbindTexture:function(){var t=N[Z];void 0!==t&&void 0!==t.type&&(e.bindTexture(t.type,null),t.type=void 0,t.texture=void 0)},compressedTexImage2D:function(){try{e.compressedTexImage2D.apply(e,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},compressedTexImage3D:function(){try{e.compressedTexImage3D.apply(e,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texImage2D:function(){try{e.texImage2D.apply(e,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texImage3D:function(){try{e.texImage3D.apply(e,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},updateUBOMapping:function(t,n){var r=c.get(n);void 0===r&&(r=new WeakMap,c.set(n,r));var i=r.get(t);void 0===i&&(i=e.getUniformBlockIndex(n,t.name),r.set(t,i))},uniformBlockBinding:function(t,n){var r=c.get(n).get(t);u.get(n)!==r&&(e.uniformBlockBinding(n,r,t.__bindingPointIndex),u.set(n,r))},texStorage2D:function(){try{e.texStorage2D.apply(e,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texStorage3D:function(){try{e.texStorage3D.apply(e,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texSubImage2D:function(){try{e.texSubImage2D.apply(e,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texSubImage3D:function(){try{e.texSubImage3D.apply(e,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},compressedTexSubImage2D:function(){try{e.compressedTexSubImage2D.apply(e,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},compressedTexSubImage3D:function(){try{e.compressedTexSubImage3D.apply(e,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},scissor:function(t){!1===D.equals(t)&&(e.scissor(t.x,t.y,t.z,t.w),D.copy(t))},viewport:function(t){!1===z.equals(t)&&(e.viewport(t.x,t.y,t.z,t.w),z.copy(t))},reset:function(){e.disable(3042),e.disable(2884),e.disable(2929),e.disable(32823),e.disable(3089),e.disable(2960),e.disable(32926),e.blendEquation(32774),e.blendFunc(1,0),e.blendFuncSeparate(1,0,1,0),e.colorMask(!0,!0,
2!0,!0),e.clearColor(0,0,0,0),e.depthMask(!0),e.depthFunc(513),e.clearDepth(1),e.stencilMask(4294967295),e.stencilFunc(519,0,4294967295),e.stencilOp(7680,7680,7680),e.clearStencil(0),e.cullFace(1029),e.frontFace(2305),e.polygonOffset(0,0),e.activeTexture(33984),e.bindFramebuffer(36160,null),!0===a&&(e.bindFramebuffer(36009,null),e.bindFramebuffer(36008,null)),e.useProgram(null),e.lineWidth(1),e.scissor(0,0,e.canvas.width,e.canvas.height),e.viewport(0,0,e.canvas.width,e.canvas.height),d={},Z=null,N={},f={},h=new WeakMap,p=[],v=null,m=!1,g=null,y=null,b=null,x=null,w=null,S=null,_=null,k=!1,M=null,E=null,T=null,C=null,A=null,D.set(0,0,e.canvas.width,e.canvas.height),z.set(0,0,e.canvas.width,e.canvas.height),o.reset(),s.reset(),l.reset()}}}function gM(e,t,n,r,i,a,o){var s,l,u,c=i.isWebGL2,d=i.maxTextures,f=i.maxCubemapSize,h=i.maxTextureSize,p=i.maxSamples,v=t.has("WEBGL_multisampled_render_to_texture")?t.get("WEBGL_multisampled_render_to_texture"):null,m="undefined"!==typeof navigator&&/OculusBrowser/g.test(navigator.userAgent),g=new WeakMap,y=new WeakMap,b=!1;try{b="undefined"!==typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(H){}function x(e,t){return b?new OffscreenCanvas(e,t):Yb("canvas")}function w(e,t,n,r){var i=1;if((e.width>r||e.height>r)&&(i=r/Math.max(e.width,e.height)),i<1||!0===t){if("undefined"!==typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!==typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!==typeof ImageBitmap&&e instanceof ImageBitmap){var a=t?zb:Math.floor,o=a(i*e.width),s=a(i*e.height);void 0===u&&(u=x(o,s));var l=n?x(o,s):u;return l.width=o,l.height=s,l.getContext("2d").drawImage(e,0,0,o,s),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+e.width+"x"+e.height+") to ("+o+"x"+s+")."),l}return"data"in e&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+e.width+"x"+e.height+")."),e}return e}function S(e){return jb(e.width)&&jb(e.height)}function _(e,t){return e.generateMipmaps&&t&&e.minFilter!==Sg&&e.minFilter!==Tg}function k(t){e.generateMipmap(t)}function M(n,r,i,a){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!1===c)return r;if(null!==n){if(void 0!==e[n])return e[n];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+n+"'")}var s=r;return 6403===r&&(5126===i&&(s=33326),5131===i&&(s=33325),5121===i&&(s=33321)),33319===r&&(5126===i&&(s=33328),5131===i&&(s=33327),5121===i&&(s=33323)),6408===r&&(5126===i&&(s=34836),5131===i&&(s=34842),5121===i&&(s=a===Wy&&!1===o?35907:32856),32819===i&&(s=32854),32820===i&&(s=32855)),33325!==s&&33326!==s&&33327!==s&&33328!==s&&34842!==s&&34836!==s||t.get("EXT_color_buffer_float"),s}function E(e,t,n){return!0===_(e,n)||e.isFramebufferTexture&&e.minFilter!==Sg&&e.minFilter!==Tg?Math.log2(Math.max(t.width,t.height))+1:void 0!==e.mipmaps&&e.mipmaps.length>0?e.mipmaps.length:e.isCompressedTexture&&Array.isArray(e.image)?t.mipmaps.length:1}function T(e){return e===Sg||e===_g||e===Mg?9728:9729}function C(e){var t=e.target;t.removeEventListener("dispose",C),function(e){var t=r.get(e);if(void 0===t.__webglInit)return;var n=e.source,i=y.get(n);if(i){var a=i[t.__cacheKey];a.usedTimes--,0===a.usedTimes&&P(e),0===Object.keys(i).length&&y.delete(n)}r.remove(e)}(t),t.isVideoTexture&&g.delete(t)}function A(t){var n=t.target;n.removeEventListener("dispose",A),function(t){var n=t.texture,i=r.get(t),a=r.get(n);void 0!==a.__webglTexture&&(e.deleteTexture(a.__webglTexture),o.memory.textures--);t.depthTexture&&t.depthTexture.dispose();if(t.isWebGLCubeRenderTarget)for(var s=0;s<6;s++)e.deleteFramebuffer(i.__webglFramebuffer[s]),i.__webglDepthbuffer&&e.deleteRenderbuffer(i.__webglDepthbuffer[s]);else{if(e.deleteFramebuffer(i.__webglFramebuffer),i.__webglDepthbuffer&&e.deleteRenderbuffer(i.__webglDepthbuffer),i.__webglMultisampledFramebuffer&&e.deleteFramebuffer(i.__webglMultisampledFramebuffer),i.__webglColorRenderbuffer)for(var l=0;l<i.__webglColorRenderbuffer.length;l++)i.__webglColorRenderbuffer[l]&&e.deleteRenderbuffer(i.__webglColorRen
2derbuffer[l]);i.__webglDepthRenderbuffer&&e.deleteRenderbuffer(i.__webglDepthRenderbuffer)}if(t.isWebGLMultipleRenderTargets)for(var u=0,c=n.length;u<c;u++){var d=r.get(n[u]);d.__webglTexture&&(e.deleteTexture(d.__webglTexture),o.memory.textures--),r.remove(n[u])}r.remove(n),r.remove(t)}(n)}function P(t){var n=r.get(t);e.deleteTexture(n.__webglTexture);var i=t.source;delete y.get(i)[n.__cacheKey],o.memory.textures--}var R=0;function O(e,t){var i=r.get(e);if(e.isVideoTexture&&function(e){var t=o.render.frame;g.get(e)!==t&&(g.set(e,t),e.update())}(e),!1===e.isRenderTargetTexture&&e.version>0&&i.__version!==e.version){var a=e.image;if(null===a)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else{if(!1!==a.complete)return void j(i,e,t);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}n.bindTexture(3553,i.__webglTexture,33984+t)}var L=(s={},(0,Jt.Z)(s,bg,10497),(0,Jt.Z)(s,xg,33071),(0,Jt.Z)(s,wg,33648),s),Z=(l={},(0,Jt.Z)(l,Sg,9728),(0,Jt.Z)(l,_g,9984),(0,Jt.Z)(l,Mg,9986),(0,Jt.Z)(l,Tg,9729),(0,Jt.Z)(l,Cg,9985),(0,Jt.Z)(l,Pg,9987),l);function N(n,a,o){if(o?(e.texParameteri(n,10242,L[a.wrapS]),e.texParameteri(n,10243,L[a.wrapT]),32879!==n&&35866!==n||e.texParameteri(n,32882,L[a.wrapR]),e.texParameteri(n,10240,Z[a.magFilter]),e.texParameteri(n,10241,Z[a.minFilter])):(e.texParameteri(n,10242,33071),e.texParameteri(n,10243,33071),32879!==n&&35866!==n||e.texParameteri(n,32882,33071),a.wrapS===xg&&a.wrapT===xg||console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),e.texParameteri(n,10240,T(a.magFilter)),e.texParameteri(n,10241,T(a.minFilter)),a.minFilter!==Sg&&a.minFilter!==Tg&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),!0===t.has("EXT_texture_filter_anisotropic")){var s=t.get("EXT_texture_filter_anisotropic");if(a.magFilter===Sg)return;if(a.minFilter!==Mg&&a.minFilter!==Pg)return;if(a.type===Dg&&!1===t.has("OES_texture_float_linear"))return;if(!1===c&&a.type===zg&&!1===t.has("OES_texture_half_float_linear"))return;(a.anisotropy>1||r.get(a).__currentAnisotropy)&&(e.texParameterf(n,s.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(a.anisotropy,i.getMaxAnisotropy())),r.get(a).__currentAnisotropy=a.anisotropy)}}function I(t,n){var r=!1;void 0===t.__webglInit&&(t.__webglInit=!0,n.addEventListener("dispose",C));var i=n.source,a=y.get(i);void 0===a&&(a={},y.set(i,a));var s=function(e){var t=[];
2return t.push(e.wrapS),t.push(e.wrapT),t.push(e.wrapR||0),t.push(e.magFilter),t.push(e.minFilter),t.push(e.anisotropy),t.push(e.internalFormat),t.push(e.format),t.push(e.type),t.push(e.generateMipmaps),t.push(e.premultiplyAlpha),t.push(e.flipY),t.push(e.unpackAlignment),t.push(e.encoding),t.join()}(n);if(s!==t.__cacheKey){void 0===a[s]&&(a[s]={texture:e.createTexture(),usedTimes:0},o.memory.textures++,r=!0),a[s].usedTimes++;var l=a[t.__cacheKey];void 0!==l&&(a[t.__cacheKey].usedTimes--,0===l.usedTimes&&P(n)),t.__cacheKey=s,t.__webglTexture=a[s].texture}return r}function j(t,i,o){var s=3553;(i.isDataArrayTexture||i.isCompressedArrayTexture)&&(s=35866),i.isData3DTexture&&(s=32879);var l=I(t,i),u=i.source;n.bindTexture(s,t.__webglTexture,33984+o);var d=r.get(u);if(u.version!==d.__version||!0===l){n.activeTexture(33984+o),e.pixelStorei(37440,i.flipY),e.pixelStorei(37441,i.premultiplyAlpha),e.pixelStorei(3317,i.unpackAlignment),e.pixelStorei(37443,0);var f,p=function(e){return!c&&(e.wrapS!==xg||e.wrapT!==xg||e.minFilter!==Sg&&e.minFilter!==Tg)}(i)&&!1===S(i.image),v=w(i.image,p,!1,h),m=S(v=V(i,v))||c,g=a.convert(i.format,i.encoding),y=a.convert(i.type),b=M(i.internalFormat,g,y,i.encoding,i.isVideoTexture);N(s,i,m);var x=i.mipmaps,T=c&&!0!==i.isVideoTexture,C=void 0===d.__version||!0===l,A=E(i,v,m);if(i.isDepthTexture)b=6402,c?b=i.type===Dg?36012:i.type===jg?33190:i.type===Bg?35056:33189:i.type===Dg&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),i.format===qg&&6402===b&&i.type!==Ng&&i.type!==jg&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),i.type=jg,y=a.convert(i.type)),i.format===Xg&&6402===b&&(b=34041,i.type!==Bg&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),i.type=Bg,y=a.convert(i.type))),C&&(T?n.texStorage2D(3553,1,b,v.width,v.height):n.texImage2D(3553,0,b,v.width,v.height,0,g,y,null));else if(i.isDataTexture)if(x.length>0&&m){T&&C&&n.texStorage2D(3553,A,b,x[0].width,x[0].height);for(var P=0,R=x.length;P<R;P++)f=x[P],T?n.texSubImage2D(3553,P,0,0,f.width,f.height,g,y,f.data):n.texImage2D(3553,P,b,f.width,f.height,0,g,y,f.data);i.generateMipmaps=!1}else T?(C&&n.texStorage2D(3553,A,b,v.width,v.height),n.texSubImage2D(3553,0,0,0,v.width,v.height,g,y,v.data)):n.texImage2D(3553,0,b,v.width,v.height,0,g,y,v.data);else if(i.isCompressedTexture)if(i.isCompressedArrayTexture){T&&C&&n.texStorage3D(35866,A,b,x[0].width,x[0].height,v.depth);for(var O=0,L=x.length;O<L;O++)f=x[O],i.format!==Hg?null!==g?T?n.compressedTexSubImage3D(35866,O,0,0,0,f.width,f.height,v.depth,g,f.data,0,0):n.compressedTexImage3D(35866,O,b,f.width,f.height,v.depth,0,f.data,0,0):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):T?n.texSubImage3D(35866,O,0,0,0,f.width,f.height,v.depth,g,y,f.data):n.texImage3D(35866,O,b,f.width,f.height,v.depth,0,g,y,f.data)}else{T&&C&&n.texStorage2D(3553,A,b,x[0].width,x[0].height);for(var Z=0,j=x.length;Z<j;Z++)f=x[Z],i.format!==Hg?null!==g?T?n.compressedTexSubImage2D(3553,Z,0,0,f.width,f.height,g,f.data):n.compressedTexImage2D(3553,Z,b,f.width,f.height,0,f.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):T?n.texSubImage2D(3553,Z,0,0,f.width,f.height,g,y,f.data):n.texImage2D(3553,Z,b,f.width,f.height,0,g,y,f.data)}else if(i.isDataArrayTexture)T?(C&&n.texStorage3D(35866,A,b,v.width,v.height,v.depth),n.texSubImage3D(35866,0,0,0,0,v.width,v.height,v.depth,g,y,v.data)):n.texImage3D(35866,0,b,v.width,v.height,v.depth,0,g,y,v.data);else if(i.isData3DTexture)T?(C&&n.texStorage3D(32879,A,b,v.width,v.height,v.depth),n.texSubImage3D(32879,0,0,0,0,v.width,v.height,v.depth,g,y,v.data)):n.texImage3D(32879,0,b,v.width,v.height,v.depth,0,g,y,v.data);else if(i.isFramebufferTexture){if(C)if(T)n.texStorage2D(3553,A,b,v.width,v.height);else for(var D=v.width,z=v.height,U=0;U<A;U++)n.texImage2D(3553,U,b,D,z,0,g,y,null),D>>=1,z>>=1}else if(x.length>0&&m){T&&C&&n.texStorage2D(3553,A,b,x[0].width,x[0].height);for(var F=0,B=x.length;F<B;
vendor: 6,516 bytes, line 2
2F++)f=x[F],T?n.texSubImage2D(3553,F,0,0,g,y,f):n.texImage2D(3553,F,b,g,y,f);i.generateMipmaps=!1}else T?(C&&n.texStorage2D(3553,A,b,v.width,v.height),n.texSubImage2D(3553,0,0,0,g,y,v)):n.texImage2D(3553,0,b,g,y,v);_(i,m)&&k(s),d.__version=u.version,i.onUpdate&&i.onUpdate(i)}t.__version=i.version}function D(t,i,o,s,l){var u=a.convert(o.format,o.encoding),c=a.convert(o.type),d=M(o.internalFormat,u,c,o.encoding);r.get(i).__hasExternalTextures||(32879===l||35866===l?n.texImage3D(l,0,d,i.width,i.height,i.depth,0,u,c,null):n.texImage2D(l,0,d,i.width,i.height,0,u,c,null)),n.bindFramebuffer(36160,t),B(i)?v.framebufferTexture2DMultisampleEXT(36160,s,l,r.get(o).__webglTexture,0,F(i)):(3553===l||l>=34069&&l<=34074)&&e.framebufferTexture2D(36160,s,l,r.get(o).__webglTexture,0),n.bindFramebuffer(36160,null)}function z(t,n,r){if(e.bindRenderbuffer(36161,t),n.depthBuffer&&!n.stencilBuffer){var i=33189;if(r||B(n)){var o=n.depthTexture;o&&o.isDepthTexture&&(o.type===Dg?i=36012:o.type===jg&&(i=33190));var s=F(n);B(n)?v.renderbufferStorageMultisampleEXT(36161,s,i,n.width,n.height):e.renderbufferStorageMultisample(36161,s,i,n.width,n.height)}else e.renderbufferStorage(36161,i,n.width,n.height);e.framebufferRenderbuffer(36160,36096,36161,t)}else if(n.depthBuffer&&n.stencilBuffer){var l=F(n);r&&!1===B(n)?e.renderbufferStorageMultisample(36161,l,35056,n.width,n.height):B(n)?v.renderbufferStorageMultisampleEXT(36161,l,35056,n.width,n.height):e.renderbufferStorage(36161,34041,n.width,n.height),e.framebufferRenderbuffer(36160,33306,36161,t)}else for(var u=!0===n.isWebGLMultipleRenderTargets?n.texture:[n.texture],c=0;c<u.length;c++){var d=u[c],f=a.convert(d.format,d.encoding),h=a.convert(d.type),p=M(d.internalFormat,f,h,d.encoding),m=F(n);r&&!1===B(n)?e.renderbufferStorageMultisample(36161,m,p,n.width,n.height):B(n)?v.renderbufferStorageMultisampleEXT(36161,m,p,n.width,n.height):e.renderbufferStorage(36161,p,n.width,n.height)}e.bindRenderbuffer(36161,null)}function U(t){var i=r.get(t),a=!0===t.isWebGLCubeRenderTarget;if(t.depthTexture&&!i.__autoAllocateDepthBuffer){if(a)throw new Error("target.depthTexture not supported in Cube render targets");!function(t,i){if(i&&i.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(n.bindFramebuffer(36160,t),!i.depthTexture||!i.depthTexture.isDepthTexture)throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");r.get(i.depthTexture).__webglTexture&&i.depthTexture.image.width===i.width&&i.depthTexture.image.height===i.height||(i.depthTexture.image.width=i.width,i.depthTexture.image.height=i.height,i.depthTexture.needsUpdate=!0),O(i.depthTexture,0);var a=r.get(i.depthTexture).__webglTexture,o=F(i);if(i.depthTexture.format===qg)B(i)?v.framebufferTexture2DMultisampleEXT(36160,36096,3553,a,0,o):e.framebufferTexture2D(36160,36096,3553,a,0);else{if(i.depthTexture.format!==Xg)throw new Error("Unknown depthTexture format");B(i)?v.framebufferTexture2DMultisampleEXT(36160,33306,3553,a,0,o):e.framebufferTexture2D(36160,33306,3553,a,0)}}(i.__webglFramebuffer,t)}else if(a){i.__webglDepthbuffer=[];for(var o=0;o<6;o++)n.bindFramebuffer(36160,i.__webglFramebuffer[o]),i.__webglDepthbuffer[o]=e.createRenderbuffer(),z(i.__webglDepthbuffer[o],t,!1)}else n.bindFramebuffer(36160,i.__webglFramebuffer),i.__webglDepthbuffer=e.createRenderbuffer(),z(i.__webglDepthbuffer,t,!1);n.bindFramebuffer(36160,null)}function F(e){return Math.min(p,e.samples)}function B(e){var n=r.get(e);return c&&e.samples>0&&!0===t.has("WEBGL_multisampled_render_to_texture")&&!1!==n.__useRenderToTexture}function V(e,n){var r=e.encoding,i=e.format,a=e.type;return!0===e.isCompressedTexture||!0===e.isVideoTexture||e.format===Tb||r!==Hy&&(r===Wy?!1===c?!0===t.has("EXT_sRGB")&&i===Hg?(e.format=Tb,e.minFilter=Tg,e.generateMipmaps=!1):n=ix.sRGBToLinear(n):i===Hg&&a===Og||console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture encoding:",r)),n}this.allocateTextureUnit=function(){var e=R;return e>=d&&console.warn("THREE.WebGLTextures: Trying to use "+e+" texture units while this GPU supports only "+d),R+=1,e},this.resetTextureUnits=function(){R=0},this.setTexture2D=O,this.setTexture2DArray=function(e,t){var i=r.get(e);e.version>0&&i.__version!==e.version?j(i,e,t):n.bindTexture(35866,i.__webglTexture,33984+t)},this.setTexture3D=function(e,t){var i=r.get(e);e.version>0&&i.__version!==e.version?j(i,e,t):n.bindTexture(32879,i.__webglTexture,33984+t)},this.setTextureCube=function(t,i){var o=r.get(t);t.version>0&&o.__version!==t.version?function(t,i,o){if(6!==i.image.length)return;var s=I(t,i),l=i.source;n.bindTexture(34067,t.__webglTexture,33984+o);var u=r.get(l);if(l.version!==u.__version||!0===s){n.activeTexture(33984+o),e.pixelStorei(37440,i.flipY),e.pixelStorei(37441,i.premultiplyAlpha),e.pixelStorei(3317,i.unpackAlignment),e.pixelStorei(37443,0);for(var d=i.isCompressedTexture||i.image[0].isCompressedTexture,h=i.image[0]&&i.image[0].isDataTexture,p=[],v=0;v<6;v++)p[v]=d||h?h?i.image[v].image:i.image[v]:w(i.image[v],!1,!0,f),p[v]=V(i,p[v]);var m,g=p[0],y=S(g)||c,b=a.convert(i.format,i.encoding),x=a.convert(i.type),T=M(i.internalFormat,b,x,i.encoding),C=c&&!0!==i.isVideoTexture,A=void 0===u.__version||!0===s,P=E(i,g,y);if(N(34067,i,y),d){C&&A&&n.texStorage2D(34067,P,T,g.width,g.height);for(var R=0;R<6;R++){m=p[R].mipmaps;for(var O=0;O<m.length;O++){var L=m[O];i.format!==Hg?null!==b?C?n.compressedTexSubImage2D(34069+R,O,0,0,L.width,L.height,b,L.data):n.compressedTexImage2D(34069+R,O,T,L.width,L.height,0,L.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):C?n.texSubImage2D(34069+R,O,0,0,L.width,L.height,b,x,L.data):n.texImage2D(34069+R,O,T,L.width,L.height,0,b,x,L.data)}}}else{m=i.mipmaps,C&&A&&(m.length>0&&P++,n.texStorage2D(34067,P,T,p[0].width,p[0].height));for(var Z=0;Z<6;Z++)if(h){C?n.texSubImage2D(34069+Z,0,0,0,p[Z].width,p[Z].height,b,x,p[Z].data):n.texImage2D(34069+Z,0,T,p[Z].width,p[Z].height,0,b,x,p[Z].data);for(var j=0;j<m.length;j++){var D=m[j].image[Z].image;C?n.texSubImage2D(34069+Z,j+1,0,0,D.width,D.height,b,x,D.data):n.texImage2D(34069+Z,j+1,T,D.width,D.height,0,b,x,D.data)}}else{C?n.texSubImage2D(34069+Z,0,0,0,b,x,p[Z]):n.texImage2D(34069+Z,0,T,b,x,p[Z]);for(var z=0;z<m.length;z++){var U=m[z];C?n.texSubImage2D(34069+Z,z+1,0,0,b,x,U.image[Z]):n.texImage2D(34069+Z,z+1,T,b,x,U.image[Z])}}}
2_(i,y)&&k(34067),u.__version=l.version,i.onUpdate&&i.onUpdate(i)}t.__version=i.version}(o,t,i):n.bindTexture(34067,o.__webglTexture,33984+i)},this.rebindTextures=function(e,t,n){var i=r.get(e);void 0!==t&&D(i.__webglFramebuffer,e,e.texture,36064,3553),void 0!==n&&U(e)},this.setupRenderTarget=function(t){var s=t.texture,l=r.get(t),u=r.get(s);t.addEventListener("dispose",A),!0!==t.isWebGLMultipleRenderTargets&&(void 0===u.__webglTexture&&(u.__webglTexture=e.createTexture()),u.__version=s.version,o.memory.textures++);var d=!0===t.isWebGLCubeRenderTarget,f=!0===t.isWebGLMultipleRenderTargets,h=S(t)||c;if(d){l.__webglFramebuffer=[];for(var p=0;p<6;p++)l.__webglFramebuffer[p]=e.createFramebuffer()}else{if(l.__webglFramebuffer=e.createFramebuffer(),f)if(i.drawBuffers)for(var v=t.texture,m=0,g=v.length;m<g;m++){var y=r.get(v[m]);void 0===y.__webglTexture&&(y.__webglTexture=e.createTexture(),o.memory.textures++)}else console.warn("THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.");if(c&&t.samples>0&&!1===B(t)){var b=f?s:[s];l.__webglMultisampledFramebuffer=e.createFramebuffer(),l.__webglColorRenderbuffer=[],n.bindFramebuffer(36160,l.__webglMultisampledFramebuffer);for(var x=0;x<b.length;x++){var w=b[x];l.__webglColorRenderbuffer[x]=e.createRenderbuffer(),e.bindRenderbuffer(36161,l.__webglColorRenderbuffer[x]);var E=a.convert(w.format,w.encoding),T=a.convert(w.type),C=M(w.internalFormat,E,T,w.encoding,!0===t.isXRRenderTarget),P=F(t);e.renderbufferStorageMultisample(36161,P,C,t.width,t.height),e.framebufferRenderbuffer(36160,36064+x,36161,l.__webglColorRenderbuffer[x])}e.bindRenderbuffer(36161,null),t.depthBuffer&&(l.__webglDepthRenderbuffer=e.createRenderbuffer(),z(l.__webglDepthRenderbuffer,t,!0)),n.bindFramebuffer(36160,null)}}if(d){n.bindTexture(34067,u.__webglTexture),N(34067,s,h);for(var R=0;R<6;R++)D(l.__webglFramebuffer[R],t,s,36064,34069+R);_(s,h)&&k(34067),n.unbindTexture()}else if(f){for(var O=t.texture,L=0,Z=O.length;L<Z;L++){var I=O[L],j=r.get(I);n.bindTexture(3553,j.__webglTexture),N(3553,I,h),D(l.__webglFramebuffer,t,I,36064+L,3553),_(I,h)&&k(3553)}n.unbindTexture()}else{var V=3553;(t.isWebGL3DRenderTarget||t.isWebGLArrayRenderTarget)&&(c?V=t.isWebGL3DRenderTarget?32879:35866:console.error("THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.")),n.bindTexture(V,u.__webglTexture),N(V,s,h),D(l.__webglFramebuffer,t,s,36064,V),_(s,h)&&k(V),n.unbindTexture()}t.depthBuffer&&U(t)},this.updateRenderTargetMipmap=function(e){for(var t=S(e)||c,i=!0===e.isWebGLMultipleRenderTargets?e.texture:[e.texture],a=0,o=i.length;a<o;a++){var s=i[a];if(_(s,t)){var l=e.isWebGLCubeRenderTarget?34067:3553,u=r.get(s).__webglTexture;n.bindTexture(l,u),k(l),n.unbindTexture()}}},this.updateMultisampleRenderTarget=function(t){if(c&&t.samples>0&&!1===B(t)){var i=t.isWebGLMultipleRenderTargets?t.texture:[t.texture],a=t.width,o=t.height,s=16384,l=[],u=t.stencilBuffer?33306:36096,d=r.get(t),f=!0===t.isWebGLMultipleRenderTargets;if(f)for(var h=0;h<i.length;h++)n.bindFramebuffer(36160,d.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(36160,36064+h,36161,null),n.bindFramebuffer(36160,d.__webglFramebuffer),e.framebufferTexture2D(36009,36064+h,3553,null,0);n.bindFramebuffer(36008,d.__webglMultisampledFramebuffer),n.bindFramebuffer(36009,d.__webglFramebuffer);for(var p=0;p<i.length;p++){l.push(36064+p),t.depthBuffer&&l.push(u);var v=void 0!==d.__ignoreDepthValues&&d.__ignoreDepthValues;if(!1===v&&(t.depthBuffer&&(s|=256),t.stencilBuffer&&(s|=1024)),f&&e.framebufferRenderbuffer(36008,36064,36161,d.__webglColorRenderbuffer[p]),!0===v&&(e.invalidateFramebuffer(36008,[u]),e.invalidateFramebuffer(36009,[u])),f){var g=r.get(i[p]).__webglTexture;e.framebufferTexture2D(36009,36064,3553,g,0)}e.blitFramebuffer(0,0,a,o,0,0,a,o,s,9728),m&&e.invalidateFramebuffer(36008,l)}if(n.bindFramebuffer(36008,null),n.bindFramebuffer(36009,null),f)for(var y=0;y<i.length;y++){n.bindFramebuffer(36160,d.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(36160,36064+y,36161,d.__webglColorRen
2derbuffer[y]);var b=r.get(i[y]).__webglTexture;n.bindFramebuffer(36160,d.__webglFramebuffer),e.framebufferTexture2D(36009,36064+y,3553,b,0)}n.bindFramebuffer(36009,d.__webglMultisampledFramebuffer)}},this.setupDepthRenderbuffer=U,this.setupFrameBufferTexture=D,this.useMultisampledRTT=B}function yM(e,t,n){var r=n.isWebGL2;return{convert:function(n){var i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(n===Og)return 5121;if(n===Ug)return 32819;if(n===Fg)return 32820;if(n===Lg)return 5120;if(n===Zg)return 5122;if(n===Ng)return 5123;if(n===Ig)return 5124;if(n===jg)return 5125;if(n===Dg)return 5126;if(n===zg)return r?5131:null!==(i=t.get("OES_texture_half_float"))?i.HALF_FLOAT_OES:null;if(n===Vg)return 6406;if(n===Hg)return 6408;if(n===Wg)return 6409;if(n===Gg)return 6410;if(n===qg)return 6402;if(n===Xg)return 34041;if(n===Tb)return null!==(i=t.get("EXT_sRGB"))?i.SRGB_ALPHA_EXT:null;if(n===Yg)return 6403;if(n===Jg)return 36244;if(n===Kg)return 33319;if(n===Qg)return 33320;if(n===$g)return 36249;if(n===ey||n===ty||n===ny||n===ry)if(a===Wy){if(null===(i=t.get("WEBGL_compressed_texture_s3tc_srgb")))return null;if(n===ey)return i.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===ty)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===ny)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===ry)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else{if(null===(i=t.get("WEBGL_compressed_texture_s3tc")))return null;if(n===ey)return i.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===ty)return i.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===ny)return i.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===ry)return i.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(n===iy||n===ay||n===oy||n===sy){if(null===(i=t.get("WEBGL_compressed_texture_pvrtc")))return null;if(n===iy)return i.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(n===ay)return i.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(n===oy)return i.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(n===sy)return i.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(n===ly)return null!==(i=t.get("WEBGL_compressed_texture_etc1"))?i.COMPRESSED_RGB_ETC1_WEBGL:null;if(n===uy||n===cy){if(null===(i=t.get("WEBGL_compressed_texture_etc")))return null;if(n===uy)return a===Wy?i.COMPRESSED_SRGB8_ETC2:i.COMPRESSED_RGB8_ETC2;if(n===cy)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:i.COMPRESSED_RGBA8_ETC2_EAC}if(n===dy||n===fy||n===hy||n===py||n===vy||n===my||n===gy||n===yy||n===by||n===xy||n===wy||n===Sy||n===_y||n===ky){if(null===(i=t.get("WEBGL_compressed_texture_astc")))return null;if(n===dy)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:i.COMPRESSED_RGBA_ASTC_4x4_KHR;if(n===fy)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:i.COMPRESSED_RGBA_ASTC_5x4_KHR;if(n===hy)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:i.COMPRESSED_RGBA_ASTC_5x5_KHR;if(n===py)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:i.COMPRESSED_RGBA_ASTC_6x5_KHR;if(n===vy)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:i.COMPRESSED_RGBA_ASTC_6x6_KHR;if(n===my)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:i.COMPRESSED_RGBA_ASTC_8x5_KHR;if(n===gy)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:i.COMPRESSED_RGBA_ASTC_8x6_KHR;if(n===yy)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:i.COMPRESSED_RGBA_ASTC_8x8_KHR;if(n===by)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:i.COMPRESSED_RGBA_ASTC_10x5_KHR;if(n===xy)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:i.COMPRESSED_RGBA_ASTC_10x6_KHR;if(n===wy)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:i.COMPRESSED_RGBA_ASTC_10x8_KHR;if(n===Sy)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:i.COMPRESSED_RGBA_ASTC_10x10_KHR;if(n===_y)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:i.COMPRESSED_RGBA_ASTC_12x10_KHR;if(n===ky)return a===Wy?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:i.COMPRESSED_RGBA_ASTC_12x12_KHR}if(n===My){if(null===(i=t.get("EXT_texture_compression_bptc")))return null;if(n===My)return a===Wy?i.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:i.COMPRESSED_RGBA_BPTC_UNORM_EXT}if(n===Ey||n===Ty||n===Cy||n===Ay){if(null===(i=t.get("EXT_texture_compression_rgtc")))return null;if(n===My)return i.COMPRESSED_RED_RGTC1_EXT;
2if(n===Ty)return i.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(n===Cy)return i.COMPRESSED_RED_GREEN_RGTC2_EXT;if(n===Ay)return i.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}return n===Bg?r?34042:null!==(i=t.get("WEBGL_depth_texture"))?i.UNSIGNED_INT_24_8_WEBGL:null:void 0!==e[n]?e[n]:null}}}var bM=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,be.Z)(this,n),(e=t.call(this)).isArrayCamera=!0,e.cameras=r,e}return(0,xe.Z)(n)}(DS),xM=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this)).isGroup=!0,e.type="Group",e}return(0,xe.Z)(n)}(yw),wM={type:"move"},SM=function(){function e(){(0,be.Z)(this,e),this._targetRay=null,this._grip=null,this._hand=null}return(0,xe.Z)(e,[{key:"getHandSpace",value:function(){return null===this._hand&&(this._hand=new xM,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}},{key:"getTargetRaySpace",value:function(){return null===this._targetRay&&(this._targetRay=new xM,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new gx,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new gx),this._targetRay}},{key:"getGripSpace",value:function(){return null===this._grip&&(this._grip=new xM,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new gx,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new gx),this._grip}},{key:"dispatchEvent",value:function(e){return null!==this._targetRay&&this._targetRay.dispatchEvent(e),null!==this._grip&&this._grip.dispatchEvent(e),null!==this._hand&&this._hand.dispatchEvent(e),this}},{key:"connect",value:function(e){if(e&&e.hand){var t=this._hand;if(t){var n,r=(0,Pe.Z)(e.hand.values());try{for(r.s();!(n=r.n()).done;){var i=n.value;this._getHandJoint(t,i)}}catch(a){r.e(a)}finally{r.f()}}}return this.dispatchEvent({type:"connected",data:e}),this}},{key:"disconnect",value:function(e){return this.dispatchEvent({type:"disconnected",data:e}),null!==this._targetRay&&(this._targetRay.visible=!1),null!==this._grip&&(this._grip.visible=!1),null!==this._hand&&(this._hand.visible=!1),this}},{key:"update",value:function(e,t,n){var r=null,i=null,a=null,o=this._targetRay,s=this._grip,l=this._hand;if(e&&"visible-blurred"!==t.session.visibilityState){if(l&&e.hand){a=!0;var u,c=(0,Pe.Z)(e.hand.values());try{for(c.s();!(u=c.n()).done;){var d=u.value,f=t.getJointPose(d,n),h=this._getHandJoint(l,d);null!==f&&(h.matrix.fromArray(f.transform.matrix),h.matrix.decompose(h.position,h.rotation,h.scale),h.jointRadius=f.radius),h.visible=null!==f}}catch(g){c.e(g)}finally{c.f()}var p=l.joints["index-finger-tip"],v=l.joints["thumb-tip"],m=p.position.distanceTo(v.position);l.inputState.pinching&&m>.025?(l.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!l.inputState.pinching&&m<=.015&&(l.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else null!==s&&e.gripSpace&&null!==(i=t.getPose(e.gripSpace,n))&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1);null!==o&&(null===(r=t.getPose(e.targetRaySpace,n))&&null!==i&&(r=i),null!==r&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1,this.dispatchEvent(wM)))}return null!==o&&(o.visible=null!==r),null!==s&&(s.visible=null!==i),null!==l&&(l.visible=null!==a),this}},{key:"_getHandJoint",value:function(e,t){if(void 0===e.joints[t.jointName]){var n=new xM;n.matrixAutoUpdate=!1,n.visible=!1,e.joints[t.jointName]=n,e.add(n)}return e.joints[t.jointName]}}]),e}(),_M=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s,l,u,c,d){var f;if((0,be.Z)(this,n),(d=void 0!==d?d:qg)!==qg&&d!==Xg)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");return void 0===i&&d===qg&&(i=jg),void 0===i&&d===Xg&&(i=Bg),(f=t.call(this,null,a,o,s,l,u,d,i,c)).isDepthTexture=!0,f.image={width:e,height:r},f.magFilter=void 0!==l?l:Sg,f.minFilter=void 0!==u?u:Sg,f.flipY=!1,f.generateMipmaps=!1,f}return(0,xe.Z)(n)}(lx),kM=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i;(0,be.Z)(this,n),i=t.call(this);var a=(0,cn.Z)(i),o=null,s=1,l=null,u="local-floor",c=1,d=null,f=null,h=null,p=null,v=null,m=null,g=r.getContextAttributes(),y=null,b=null,x=[],w=[],S=new Set,_=new Map,k=new DS;k.layers.enable(1),k.viewport=new ux;var M=new DS;M.layers.enable(2),M.viewport=new ux;var E=[k,M],T=new bM;T.layers.enable(1),T.layers.enable(2);var C=null,A=null;function P(e){var t=w.indexOf(e.inputSource);if(-1!==t){var n=x[t];void 0!==n&&n.dispatchEvent({type:e.type,data:e.inputSource})}}function R(){o.removeEventListener("select",P),o.removeEventListener("selectstart",P),o.removeEventListener("selectend",P),o.removeEventListener("squeeze",P),o.removeEventListener("squeezestart",P),o.removeEventListener("squeezeend",P),o.removeEventListener("end",R),o.removeEventListener("inputsourceschange",O);for(var t=0;t<x.length;t++){var n=w[t];null!==n&&(w[t]=null,x[t].disconnect(n))}C=null,A=null,e.setRenderTarget(y),v=null,p=null,h=null,o=null,b=null,j.stop(),a.isPresenting=!1,a.dispatchEvent({type:"sessionend"})}function O(e){for(var t=0;t<e.removed.length;t++){var n=e.removed[t],r=w.indexOf(n);r>=0&&(w[r]=null,x[r].disconnect(n))}for(var i=0;i<e.added.length;i++){var a=e.added[i],o=w.indexOf(a);if(-1===o){for(var s=0;s<x.length;s++){if(s>=w.length){w.push(a),o=s;break}if(null===w[s]){w[s]=a,o=s;break}}if(-1===o)break}var l=x[o];l&&l.connect(a)}}i.cameraAutoUpdate=!0,i.enabled=!1,i.isPresenting=!1,i.getController=function(e){var t=x[e];return void 0===t&&(t=new SM,x[e]=t),t.getTargetRaySpace()},i.getControllerGrip=function(e){var t=x[e];return void 0===t&&(t=new SM,x[e]=t),t.getGripSpace()},i.getHand=function(e){var t=x[e];return void 0===t&&(t=new SM,x[e]=t),t.getHandSpace()},i.setFramebufferScaleFactor=function(e){s=e,!0===a.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},i.setReferenceSpaceType=function(e){u=e,!0===a.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},i.getReferenceSpace=function(){return d||l},i.setReferenceSpace=function(e){d=e},i.getBaseLayer=function(){return null!==p?p:v},i.getBinding=function(){return h},i.getFrame=function(){return m},i.getSession=function(){return o},i.setSession=function(){var t=(0,ff.Z)((0,df.Z)().mark((function t(n){var i,f,m,x,w;return(0,df.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===(o=n)){t.next=25;break}if(y=e.getRenderTarget(),o.addEventListener("select",P),o.addEventListener("selectstart",P),o.addEventListener("selectend",P),o.addEventListener("squeeze",P),o.addEventListener("squeezestart",P),o.addEventListener("squeezeend",P),o.addEventListener("end",R),o.addEventListener("inputsourceschange",O),!0===g.xrCompatible){t.next=14;break}return t.next=14,r.makeXRCompatible();case 14:return void 0===o.renderState.layers||!1===e.capabilities.isWebGL2?(i={antialias:void 0!==o.renderState.layers||g.antialias,alpha:g.alpha,depth:g.depth,stencil:g.stencil,framebufferScaleFactor:s},v=new XRWebGLLayer(o,r,i),o.updateRenderState({baseLayer:v}),b=new cx(v.framebufferWidth,v.framebufferHeight,{format:Hg,type:Og,encoding:e.outputEncoding,stencilBuffer:g.stencil}
2)):(f=null,m=null,x=null,g.depth&&(x=g.stencil?35056:33190,f=g.stencil?Xg:qg,m=g.stencil?Bg:jg),w={colorFormat:32856,depthFormat:x,scaleFactor:s},h=new XRWebGLBinding(o,r),p=h.createProjectionLayer(w),o.updateRenderState({layers:[p]}),b=new cx(p.textureWidth,p.textureHeight,{format:Hg,type:Og,depthTexture:new _M(p.textureWidth,p.textureHeight,m,void 0,void 0,void 0,void 0,void 0,void 0,f),stencilBuffer:g.stencil,encoding:e.outputEncoding,samples:g.antialias?4:0}),e.properties.get(b).__ignoreDepthValues=p.ignoreDepthValues),b.isXRRenderTarget=!0,this.setFoveation(c),d=null,t.next=20,o.requestReferenceSpace(u);case 20:l=t.sent,j.setContext(o),j.start(),a.isPresenting=!0,a.dispatchEvent({type:"sessionstart"});case 25:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}();var L=new gx,Z=new gx;function N(e,t){null===t?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}i.updateCamera=function(e){if(null!==o){T.near=M.near=k.near=e.near,T.far=M.far=k.far=e.far,C===T.near&&A===T.far||(o.updateRenderState({depthNear:T.near,depthFar:T.far}),C=T.near,A=T.far);var t=e.parent,n=T.cameras;N(T,t);for(var r=0;r<n.length;r++)N(n[r],t);2===n.length?function(e,t,n){L.setFromMatrixPosition(t.matrixWorld),Z.setFromMatrixPosition(n.matrixWorld);var r=L.distanceTo(Z),i=t.projectionMatrix.elements,a=n.projectionMatrix.elements,o=i[14]/(i[10]-1),s=i[14]/(i[10]+1),l=(i[9]+1)/i[5],u=(i[9]-1)/i[5],c=(i[8]-1)/i[0],d=(a[8]+1)/a[0],f=o*c,h=o*d,p=r/(-c+d),v=p*-c;t.matrixWorld.decompose(e.position,e.quaternion,e.scale),e.translateX(v),e.translateZ(p),e.matrixWorld.compose(e.position,e.quaternion,e.scale),e.matrixWorldInverse.copy(e.matrixWorld).invert();var m=o+p,g=s+p,y=f-v,b=h+(r-v),x=l*s/g*m,w=u*s/g*m;e.projectionMatrix.makePerspective(y,b,x,w,m,g),e.projectionMatrixInverse.copy(e.projectionMatrix).invert()}(T,k,M):T.projectionMatrix.copy(k.projectionMatrix),function(e,t,n){null===n?e.matrix.copy(t.matrixWorld):(e.matrix.copy(n.matrixWorld),e.matrix.invert(),e.matrix.multiply(t.matrixWorld));e.matrix.decompose(e.position,e.quaternion,e.scale),e.updateMatrixWorld(!0);for(var r=e.children,i=0,a=r.length;i<a;i++)r[i].updateMatrixWorld(!0);e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse),e.isPerspectiveCamera&&(e.fov=2*Ob*Math.atan(1/e.projectionMatrix.elements[5]),e.zoom=1)}(e,T,t)}},i.getCamera=function(){return T},i.getFoveation=function(){if(null!==p||null!==v)return c},i.setFoveation=function(e){c=e,null!==p&&(p.fixedFoveation=e),null!==v&&void 0!==v.fixedFoveation&&(v.fixedFoveation=e)},i.getPlanes=function(){return S};var I=null;var j=new JS;return j.setAnimationLoop((function(t,n){if(f=n.getViewerPose(d||l),m=n,null!==f){var r=f.views;null!==v&&(e.setRenderTargetFramebuffer(b,v.framebuffer),e.setRenderTarget(b));var i=!1;r.length!==T.cameras.length&&(T.cameras.length=0,i=!0);for(var o=0;o<r.length;o++){var s=r[o],u=null;if(null!==v)u=v.getViewport(s);else{var c=h.getViewSubImage(p,s);u=c.viewport,0===o&&(e.setRenderTargetTextures(b,c.colorTexture,p.ignoreDepthValues?void 0:c.depthStencilTexture),e.setRenderTarget(b))}var g=E[o];void 0===g&&((g=new DS).layers.enable(o),g.viewport=new ux,E[o]=g),g.matrix.fromArray(s.transform.matrix),g.matrix.decompose(g.position,g.quaternion,g.scale),g.projectionMatrix.fromArray(s.projectionMatrix),g.projectionMatrixInverse.copy(g.projectionMatrix).invert(),g.viewport.set(u.x,u.y,u.width,u.height),0===o&&(T.matrix.copy(g.matrix),T.matrix.decompose(T.position,T.quaternion,T.scale)),!0===i&&T.cameras.push(g)}}for(var y=0;y<x.length;y++){var k=w[y],M=x[y];null!==k&&void 0!==M&&M.update(k,n,d||l)}if(I&&I(t,n),n.detectedPlanes){a.dispatchEvent({type:"planesdetected",data:n.detectedPlanes});var C,A=null,P=(0,Pe.Z)(S);try{for(P.s();!(C=P.n()).done;){var R=C.value;n.detectedPlanes.has(R)||(null===A&&(A=[]),A.push(R))}}catch(U){P.e(U)}finally{P.f()}if(null!==A){var O,L=(0,Pe.Z)(A);try{for(L.s();!(O=L.n()).done;){var Z=O.value;S.delete(Z),_.delete(Z),a.dispatchEvent({type:"planeremoved",data:Z})}}catch(U){L.e(U)}finally{L.f()}}var N,j=(0,Pe.Z)(n.detectedPlanes);try{for(j.s();!(N=j.n()).done;){var D=N.value;
2if(S.has(D)){var z=_.get(D);D.lastChangedTime>z&&(_.set(D,D.lastChangedTime),a.dispatchEvent({type:"planechanged",data:D}))}else S.add(D),_.set(D,n.lastChangedTime),a.dispatchEvent({type:"planeadded",data:D})}}catch(U){j.e(U)}finally{j.f()}}m=null})),i.setAnimationLoop=function(e){I=e},i.dispose=function(){},i}return(0,xe.Z)(n)}(Cb);function MM(e,t){function n(e,t){!0===e.matrixAutoUpdate&&e.updateMatrix(),t.value.copy(e.matrix)}function r(r,i){r.opacity.value=i.opacity,i.color&&r.diffuse.value.copy(i.color),i.emissive&&r.emissive.value.copy(i.emissive).multiplyScalar(i.emissiveIntensity),i.map&&(r.map.value=i.map,n(i.map,r.mapTransform)),i.alphaMap&&(r.alphaMap.value=i.alphaMap,n(i.alphaMap,r.alphaMapTransform)),i.bumpMap&&(r.bumpMap.value=i.bumpMap,n(i.bumpMap,r.bumpMapTransform),r.bumpScale.value=i.bumpScale,i.side===Mm&&(r.bumpScale.value*=-1)),i.normalMap&&(r.normalMap.value=i.normalMap,n(i.normalMap,r.normalMapTransform),r.normalScale.value.copy(i.normalScale),i.side===Mm&&r.normalScale.value.negate()),i.displacementMap&&(r.displacementMap.value=i.displacementMap,n(i.displacementMap,r.displacementMapTransform),r.displacementScale.value=i.displacementScale,r.displacementBias.value=i.displacementBias),i.emissiveMap&&(r.emissiveMap.value=i.emissiveMap,n(i.emissiveMap,r.emissiveMapTransform)),i.specularMap&&(r.specularMap.value=i.specularMap,n(i.specularMap,r.specularMapTransform)),i.alphaTest>0&&(r.alphaTest.value=i.alphaTest);var a=t.get(i).envMap;if(a&&(r.envMap.value=a,r.flipEnvMap.value=a.isCubeTexture&&!1===a.isRenderTargetTexture?-1:1,r.reflectivity.value=i.reflectivity,r.ior.value=i.ior,r.refractionRatio.value=i.refractionRatio),i.lightMap){r.lightMap.value=i.lightMap;var o=!0===e.useLegacyLights?Math.PI:1;r.lightMapIntensity.value=i.lightMapIntensity*o,n(i.lightMap,r.lightMapTransform)}i.aoMap&&(r.aoMap.value=i.aoMap,r.aoMapIntensity.value=i.aoMapIntensity,n(i.aoMap,r.aoMapTransform))}return{refreshFogUniforms:function(t,n){n.color.getRGB(t.fogColor.value,ZS(e)),n.isFog?(t.fogNear.value=n.near,t.fogFar.value=n.far):n.isFogExp2&&(t.fogDensity.value=n.density)},refreshMaterialUniforms:function(e,i,a,o,s){i.isMeshBasicMaterial||i.isMeshLambertMaterial?r(e,i):i.isMeshToonMaterial?(r(e,i),function(e,t){t.gradientMap&&(e.gradientMap.value=t.gradientMap)}(e,i)):i.isMeshPhongMaterial?(r(e,i),function(e,t){e.specular.value.copy(t.specular),e.shininess.value=Math.max(t.shininess,1e-4)}(e,i)):i.isMeshStandardMaterial?(r(e,i),function(e,r){e.metalness.value=r.metalness,r.metalnessMap&&(e.metalnessMap.value=r.metalnessMap,n(r.metalnessMap,e.metalnessMapTransform));e.roughness.value=r.roughness,r.roughnessMap&&(e.roughnessMap.value=r.roughnessMap,n(r.roughnessMap,e.roughnessMapTransform));var i=t.get(r).envMap;i&&(e.envMapIntensity.value=r.envMapIntensity)}(e,i),i.isMeshPhysicalMaterial&&function(e,t,r){e.ior.value=t.ior,t.sheen>0&&(e.sheenColor.value.copy(t.sheenColor).multiplyScalar(t.sheen),e.sheenRoughness.value=t.sheenRoughness,t.sheenColorMap&&(e.sheenColorMap.value=t.sheenColorMap,n(t.sheenColorMap,e.sheenColorMapTransform)),t.sheenRoughnessMap&&(e.sheenRoughnessMap.value=t.sheenRoughnessMap,n(t.sheenRoughnessMap,e.sheenRoughnessMapTransform)));t.clearcoat>0&&(e.clearcoat.value=t.clearcoat,e.clearcoatRoughness.value=t.clearcoatRoughness,t.clearcoatMap&&(e.clearcoatMap.value=t.clearcoatMap,n(t.clearcoatMap,e.clearcoatMapTransform)),t.clearcoatRoughnessMap&&(e.clearcoatRoughnessMap.value=t.clearcoatRoughnessMap,n(t.clearcoatRoughnessMap,e.clearcoatRoughnessMapTransform)),t.clearcoatNormalMap&&(e.clearcoatNormalMap.value=t.clearcoatNormalMap,n(t.clearcoatNormalMap,e.clearcoatNormalMapTransform),e.clearcoatNormalScale.value.copy(t.clearcoatNormalScale),t.side===Mm&&e.clearcoatNormalScale.value.negate()));t.iridescence>0&&(e.iridescence.value=t.iridescence,e.iridescenceIOR.value=t.iridescenceIOR,e.iridescenceThicknessMinimum.value=t.iridescenceThicknessRange[0],e.iridescenceThicknessMaximum.value=t.iridescenceThicknessRange[1],t.iridescenceMap&&(e.iridescenceMap.value=t.iridescenceMap,n(t.iridescenceMap,e.iridescenceMapTransform)),t.iridescenceThicknessMap&&(e.iridescenceThicknessMap.value=t.iridescenceThicknessMap,n(t.iridescenceThicknessMap,e.iridescenceThicknessMapTransform)));t.transmission>0&&(e.transmission.value=t.transmission,e.transmissionSamplerMap.value=r.texture,e.transmissionSamplerSize.value.set(r.width,r.height),t.transmissionMap&&(e.transmissionMap.value=t.transmissionMap,n(t.transmissionMap,e.transmissionMapTransform)),e.thickness.value=t.thickness,t.thicknessMap&&(e.thicknessMap.value=t.thicknessMap,n(t.thicknessMap,e.thicknessMapTransform)),e.attenuationDistance.value=t.attenuationDistance,e.attenuationColor.value.copy(t.attenuationColor));e.specularIntensity.value=t.specularIntensity,e.specularColor.value.copy(t.specularColor),t.specularColorMap&&(e.specularColorMap.value=t.specularColorMap,n(t.specularColorMap,e.specularColorMapTransform));t.specularIntensityMap&&(e.specularIntensityMap.value=t.specularIntensityMap,n(t.specularIntensityMap,e.specularIntensityMapTransform))}
2(e,i,s)):i.isMeshMatcapMaterial?(r(e,i),function(e,t){t.matcap&&(e.matcap.value=t.matcap)}(e,i)):i.isMeshDepthMaterial?r(e,i):i.isMeshDistanceMaterial?(r(e,i),function(e,n){var r=t.get(n).light;e.referencePosition.value.setFromMatrixPosition(r.matrixWorld),e.nearDistance.value=r.shadow.camera.near,e.farDistance.value=r.shadow.camera.far}(e,i)):i.isMeshNormalMaterial?r(e,i):i.isLineBasicMaterial?(function(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,t.map&&(e.map.value=t.map,n(t.map,e.mapTransform))}(e,i),i.isLineDashedMaterial&&function(e,t){e.dashSize.value=t.dashSize,e.totalSize.value=t.dashSize+t.gapSize,e.scale.value=t.scale}(e,i)):i.isPointsMaterial?function(e,t,r,i){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.size.value=t.size*r,e.scale.value=.5*i,t.map&&(e.map.value=t.map,n(t.map,e.uvTransform));t.alphaMap&&(e.alphaMap.value=t.alphaMap);t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}(e,i,a,o):i.isSpriteMaterial?function(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.rotation.value=t.rotation,t.map&&(e.map.value=t.map,n(t.map,e.mapTransform));t.alphaMap&&(e.alphaMap.value=t.alphaMap);t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}(e,i):i.isShadowMaterial?(e.color.value.copy(i.color),e.opacity.value=i.opacity):i.isShaderMaterial&&(i.uniformsNeedUpdate=!1)}}}function EM(e,t,n,r){var i={},a={},o=[],s=n.isWebGL2?e.getParameter(35375):0;function l(e,t,n){var r=e.value;if(void 0===n[t]){if("number"===typeof r)n[t]=r;else{for(var i=Array.isArray(r)?r:[r],a=[],o=0;o<i.length;o++)a.push(i[o].clone());n[t]=a}return!0}if("number"===typeof r){if(n[t]!==r)return n[t]=r,!0}else for(var s=Array.isArray(n[t])?n[t]:[n[t]],l=Array.isArray(r)?r:[r],u=0;u<s.length;u++){var c=s[u];if(!1===c.equals(l[u]))return c.copy(l[u]),!0}return!1}
2function u(e){var t={boundary:0,storage:0};return"number"===typeof e?(t.boundary=4,t.storage=4):e.isVector2?(t.boundary=8,t.storage=8):e.isVector3||e.isColor?(t.boundary=16,t.storage=12):e.isVector4?(t.boundary=16,t.storage=16):e.isMatrix3?(t.boundary=48,t.storage=48):e.isMatrix4?(t.boundary=64,t.storage=64):e.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",e),t}function c(t){var n=t.target;n.removeEventListener("dispose",c);var r=o.indexOf(n.__bindingPointIndex);o.splice(r,1),e.deleteBuffer(i[n.id]),delete i[n.id],delete a[n.id]}return{bind:function(e,t){var n=t.program;r.uniformBlockBinding(e,n)},update:function(n,d){var f=i[n.id];void 0===f&&(!function(e){for(var t=e.uniforms,n=0,r=16,i=0,a=0,o=t.length;a<o;a++){for(var s=t[a],l={boundary:0,storage:0},c=Array.isArray(s.value)?s.value:[s.value],d=0,f=c.length;d<f;d++){var h=u(c[d]);l.boundary+=h.boundary,l.storage+=h.storage}if(s.__data=new Float32Array(l.storage/Float32Array.BYTES_PER_ELEMENT),s.__offset=n,a>0)0!==(i=n%r)&&r-i-l.boundary<0&&(n+=r-i,s.__offset=n);n+=l.storage}i=n%r,i>0&&(n+=r-i);e.__size=n,e.__cache={}}(n),f=function(t){var n=function(){for(var e=0;e<s;e++)if(-1===o.indexOf(e))return o.push(e),e;return console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}();t.__bindingPointIndex=n;var r=e.createBuffer(),i=t.__size,a=t.usage;return e.bindBuffer(35345,r),e.bufferData(35345,i,a),e.bindBuffer(35345,null),e.bindBufferBase(35345,n,r),r}(n),i[n.id]=f,n.addEventListener("dispose",c));var h=d.program;r.updateUBOMapping(n,h);var p=t.render.frame;a[n.id]!==p&&(!function(t){var n=i[t.id],r=t.uniforms,a=t.__cache;e.bindBuffer(35345,n);for(var o=0,s=r.length;o<s;o++){var c=r[o];if(!0===l(c,o,a)){for(var d=c.__offset,f=Array.isArray(c.value)?c.value:[c.value],h=0,p=0;p<f.length;p++){var v=f[p],m=u(v);"number"===typeof v?(c.__data[0]=v,e.bufferSubData(35345,d+h,c.__data)):v.isMatrix3?(c.__data[0]=v.elements[0],c.__data[1]=v.elements[1],c.__data[2]=v.elements[2],c.__data[3]=v.elements[0],c.__data[4]=v.elements[3],c.__data[5]=v.elements[4],c.__data[6]=v.elements[5],c.__data[7]=v.elements[0],c.__data[8]=v.elements[6],c.__data[9]=v.elements[7],c.__data[10]=v.elements[8],c.__data[11]=v.elements[0]):(v.toArray(c.__data,h),h+=m.storage/Float32Array.BYTES_PER_ELEMENT)}e.bufferSubData(35345,d,c.__data)}}e.bindBuffer(35345,null)}(n),a[n.id]=p)},dispose:function(){for(var t in i)e.deleteBuffer(i[t]);o=[],i={},a={}}}}var TM=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,be.Z)(this,e);var n,r=t.canvas,i=void 0===r?function(){var e=Yb("canvas");return e.style.display="block",e}():r,a=t.context,o=void 0===a?null:a,s=t.depth,l=void 0===s||s,u=t.stencil,c=void 0===u||u,d=t.alpha,f=void 0!==d&&d,h=t.antialias,p=void 0!==h&&h,v=t.premultipliedAlpha,m=void 0===v||v,g=t.preserveDrawingBuffer,y=void 0!==g&&g,b=t.powerPreference,x=void 0===b?"default":b,w=t.failIfMajorPerformanceCaveat,S=void 0!==w&&w;this.isWebGLRenderer=!0,n=null!==o?o.getContextAttributes().alpha:f;var _=null,k=null,M=[],E=[];this.domElement=i,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=Hy,this.useLegacyLights=!0,this.toneMapping=sg,this.toneMappingExposure=1;var T=this,C=!1,A=0,P=0,R=null,O=-1,L=null,Z=new ux,N=new ux,I=null,j=i.width,D=i.height,z=1,U=null,F=null,B=new ux(0,0,j,D),V=new ux(0,0,j,D),H=!1,W=new YS,G=!1,q=!1,X=null,Y=new qx,J=new gx,K={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function Q(){return null===R?z:1}var $,ee,te,ne,re,ie,ae,oe,se,le,ue,ce,de,fe,he,pe,ve,me,ge,ye,xe,we,Se,_e,ke=o;function Me(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=i.getContext(r,t);if(null!==a)return a}return null}try{var Ee={alpha:!0,depth:l,stencil:c,antialias:p,premultipliedAlpha:m,preserveDrawingBuffer:y,powerPreference:x,failIfMajorPerformanceCaveat:S};if("setAttribute"in i&&i.setAttribute("data-engine","three.js r".concat(hm)),i.addEventListener("webglcontextlost",Pe,!1),i.addEventListener("webglcontextrestored",Re,!1),i.addEventListener("webglcontextcreationerror",Oe,!1),null===ke){var Te=["webgl2","webgl","experimental-webgl"];if(!0===T.isWebGL1Renderer&&Te.shift(),null===(ke=Me(Te,Ee)))throw Me(Te)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}void 0===ke.getShaderPrecisionFormat&&(ke.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(He){throw console.error("THREE.WebGLRenderer: "+He.message),He}function Ce(){$=new k_(ke),ee=new o_(ke,$,t),$.init(ee),we=new yM(ke,$,ee),te=new mM(ke,$,ee),ne=new T_,re=new nM,ie=new gM(ke,$,te,re,ee,we,ne),ae=new l_(T),oe=new __(T),se=new KS(ke,ee),Se=new i_(ke,$,se,ee),le=new M_(ke,se,ne,Se),ue=new R_(ke,le,se,ne),ge=new P_(ke,ee,ie),pe=new s_(re),ce=new tM(T,ae,oe,$,ee,Se,pe),de=new MM(T,re),fe=new oM,he
2=new fM($,ee),me=new r_(T,ae,oe,te,ue,n,m),ve=new vM(T,ue,ee),_e=new EM(ke,ne,ee,te),ye=new a_(ke,$,ne,ee),xe=new E_(ke,$,ne,ee),ne.programs=ce.programs,T.capabilities=ee,T.extensions=$,T.properties=re,T.renderLists=fe,T.shadowMap=ve,T.state=te,T.info=ne}Ce();var Ae=new kM(T,ke);function Pe(e){e.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),C=!0}function Re(){console.log("THREE.WebGLRenderer: Context Restored."),C=!1;var e=ne.autoReset,t=ve.enabled,n=ve.autoUpdate,r=ve.needsUpdate,i=ve.type;Ce(),ne.autoReset=e,ve.enabled=t,ve.autoUpdate=n,ve.needsUpdate=r,ve.type=i}function Oe(e){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",e.statusMessage)}function Le(e){var t=e.target;t.removeEventListener("dispose",Le),function(e){(function(e){var t=re.get(e).programs;void 0!==t&&(t.forEach((function(e){ce.releaseProgram(e)})),e.isShaderMaterial&&ce.releaseShaderCache(e))})(e),re.remove(e)}(t)}this.xr=Ae,this.getContext=function(){return ke},this.getContextAttributes=function(){return ke.getContextAttributes()},this.forceContextLoss=function(){var e=$.get("WEBGL_lose_context");e&&e.loseContext()},this.forceContextRestore=function(){var e=$.get("WEBGL_lose_context");e&&e.restoreContext()},this.getPixelRatio=function(){return z},this.setPixelRatio=function(e){void 0!==e&&(z=e,this.setSize(j,D,!1))},this.getSize=function(e){return e.set(j,D)},this.setSize=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Ae.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(j=e,D=t,i.width=Math.floor(e*z),i.height=Math.floor(t*z),!0===n&&(i.style.width=e+"px",i.style.height=t+"px"),this.setViewport(0,0,e,t))},this.getDrawingBufferSize=function(e){return e.set(j*z,D*z).floor()},this.setDrawingBufferSize=function(e,t,n){j=e,D=t,z=n,i.width=Math.floor(e*n),i.height=Math.floor(t*n),this.setViewport(0,0,e,t)},this.getCurrentViewport=function(e){return e.copy(Z)},this.getViewport=function(e){return e.copy(B)},this.setViewport=function(e,t,n,r){e.isVector4?B.set(e.x,e.y,e.z,e.w):B.set(e,t,n,r),te.viewport(Z.copy(B).multiplyScalar(z).floor())},this.getScissor=function(e){return e.copy(V)},this.setScissor=function(e,t,n,r){e.isVector4?V.set(e.x,e.y,e.z,e.w):V.set(e,t,n,r),te.scissor(N.copy(V).multiplyScalar(z).floor())},this.getScissorTest=function(){return H},this.setScissorTest=function(e){te.setScissorTest(H=e)},this.setOpaqueSort=function(e){U=e},this.setTransparentSort=function(e){F=e},this.getClearColor=function(e){return e.copy(me.getClearColor())},this.setClearColor=function(){me.setClearColor.apply(me,arguments)},this.getClearAlpha=function(){return me.getClearAlpha()},this.setClearAlpha=function(){me.setClearAlpha.apply(me,arguments)},this.clear=function(){var e=0;(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(e|=16384),(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(e|=256),(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&(e|=1024),ke.clear(e)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){i.removeEventListener("webglcontextlost",Pe,!1),i.removeEventListener("webglcontextrestored",Re,!1),i.removeEventListener("webglcontextcreationerror",Oe,!1),fe.dispose(),he.dispose(),re.dispose(),ae.dispose(),oe.dispose(),ue.dispose(),Se.dispose(),_e.dispose(),ce.dispose(),Ae.dispose(),Ae.removeEventListener("sessionstart",Ne),Ae.removeEventListener("sessionend",Ie),X&&(X.dispose(),X=null),je.stop()},this.renderBufferDirect=function(e,t,n,r,i,a){null===t&&(t=K);var o=i.isMesh&&i.matrixWorld.determinant()<0,s=function(e,t,n,r,i){!0!==t.isScene&&(t=K);ie.resetTextureUnits();var a=t.fog,o=r.isMeshStandardMaterial?t.environment:null,s=null===R?T.outputEncoding:!0===R.isXRRenderTarget?R.texture.encoding:Hy,l=(r.isMeshStandardMaterial?oe:ae).get(r.envMap||o),u=!0===r.vertexColors&&!!n.attributes.color&&4===n.attributes.color.itemSize,c=!!r.normalMap&&!!n.attributes.tangent,d=!!n.morphAttributes.position,f=!!n.morphAttributes.normal,h=!!n.morphAttributes.color,p=r.toneMapped?T.toneMapping:sg,v=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,m=void 0!==v?v.length:0,g=re.get(r),y=k.state.lights;if(!0===G&&(!0===q||e!==L)){var b=e===L&&r.id===O;pe.setState(r,e,b)}var x=!1;r.version===g.__version?g.needsLights&&g.lightsStateVersion!==y.state.ver
2sion||g.outputEncoding!==s||i.isInstancedMesh&&!1===g.instancing?x=!0:i.isInstancedMesh||!0!==g.instancing?i.isSkinnedMesh&&!1===g.skinning?x=!0:i.isSkinnedMesh||!0!==g.skinning?g.envMap!==l||!0===r.fog&&g.fog!==a?x=!0:void 0===g.numClippingPlanes||g.numClippingPlanes===pe.numPlanes&&g.numIntersection===pe.numIntersection?(g.vertexAlphas!==u||g.vertexTangents!==c||g.morphTargets!==d||g.morphNormals!==f||g.morphColors!==h||g.toneMapping!==p||!0===ee.isWebGL2&&g.morphTargetsCount!==m)&&(x=!0):x=!0:x=!0:x=!0:(x=!0,g.__version=r.version);var w=g.currentProgram;!0===x&&(w=Be(r,t,i));var S=!1,_=!1,M=!1,E=w.getUniforms(),C=g.uniforms;te.useProgram(w.program)&&(S=!0,_=!0,M=!0);r.id!==O&&(O=r.id,_=!0);if(S||L!==e){if(E.setValue(ke,"projectionMatrix",e.projectionMatrix),ee.logarithmicDepthBuffer&&E.setValue(ke,"logDepthBufFC",2/(Math.log(e.far+1)/Math.LN2)),L!==e&&(L=e,_=!0,M=!0),r.isShaderMaterial||r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshStandardMaterial||r.envMap){var A=E.map.cameraPosition;void 0!==A&&A.setValue(ke,J.setFromMatrixPosition(e.matrixWorld))}(r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshLambertMaterial||r.isMeshBasicMaterial||r.isMeshStandardMaterial||r.isShaderMaterial)&&E.setValue(ke,"isOrthographic",!0===e.isOrthographicCamera),(r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshLambertMaterial||r.isMeshBasicMaterial||r.isMeshStandardMaterial||r.isShaderMaterial||r.isShadowMaterial||i.isSkinnedMesh)&&E.setValue(ke,"viewMatrix",e.matrixWorldInverse)}if(i.isSkinnedMesh){E.setOptional(ke,i,"bindMatrix"),E.setOptional(ke,i,"bindMatrixInverse");var P=i.skeleton;P&&(ee.floatVertexTextures?(null===P.boneTexture&&P.computeBoneTexture(),E.setValue(ke,"boneTexture",P.boneTexture,ie),E.setValue(ke,"boneTextureSize",P.boneTextureSize)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}var Z=n.morphAttributes;(void 0!==Z.position||void 0!==Z.normal||void 0!==Z.color&&!0===ee.isWebGL2)&&ge.update(i,n,w);(_||g.receiveShadow!==i.receiveShadow)&&(g.receiveShadow=i.receiveShadow,E.setValue(ke,"receiveShadow",i.receiveShadow));r.isMeshGouraudMaterial&&null!==r.envMap&&(C.envMap.value=l,C.flipEnvMap.value=l.isCubeTexture&&!1===l.isRenderTargetTexture?-1:1);_&&(E.setValue(ke,"toneMappingExposure",T.toneMappingExposure),g.needsLights&&function(e,t){e.ambientLightColor.needsUpdate=t,e.lightProbe.needsUpdate=t,e.directionalLights.needsUpdate=t,e.directionalLightShadows.needsUpdate=t,e.pointLights.needsUpdate=t,e.pointLightShadows.needsUpdate=t,e.spotLights.needsUpdate=t,e.spotLightShadows.needsUpdate=t,e.rectAreaLights.needsUpdate=t,e.hemisphereLights.needsUpdate=t}(C,M),a&&!0===r.fog&&de.refreshFogUniforms(C,a),de.refreshMaterialUniforms(C,r,z,D,X),Nk.upload(ke,g.uniformsList,C,ie));r.isShaderMaterial&&!0===r.uniformsNeedUpdate&&(Nk.upload(ke,g.uniformsList,C,ie),r.uniformsNeedUpdate=!1);r.isSpriteMaterial&&E.setValue(ke,"center",i.center);if(E.setValue(ke,"modelViewMatrix",i.modelViewMatrix),E.setValue(ke,"normalMatrix",i.normalMatrix),E.setValue(ke,"modelMatrix",i.matrixWorld),r.isShaderMaterial||r.isRawShaderMaterial)for(var N=r.uniformsGroups,I=0,j=N.length;I<j;I++)if(ee.isWebGL2){var U=N[I];_e.update(U,w),_e.bind(U,w)}else console.warn("THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.");return w}(e,t,n,r,i);te.setMaterial(r,o);var l=n.index,u=1;!0===r.wireframe&&(l=le.getWireframeAttribute(n),u=2);var c=n.drawRange,d=n.attributes.position,f=c.start*u,h=(c.start+c.count)*u;null!==a&&(f=Math.max(f,a.start*u),h=Math.min(h,(a.start+a.count)*u)),null!==l?(f=Math.max(f,0),h=Math.min(h,l.count)):void 0!==d&&null!==d&&(f=Math.max(f,0),h=Math.min(h,d.count));var p=h-f;if(!(p<0||p===1/0)){var v;Se.setup(i,r,s,n,l);var m=ye;if(null!==l&&(v=se.get(l),(m=xe).setIndex(v)),i.isMesh)!0===r.wireframe?(te.setLineWidth(r.wireframeLinewidth*Q()),m.setMode(1)):m.setMode(4);else if(i.isLine){var g=r.linewidth;void 0===g&&(g=1),te.setLineWidth(g*Q()),i.isLineSegments?m.setMode(1):i.isLineLoop?m.
2setMode(2):m.setMode(3)}else i.isPoints?m.setMode(0):i.isSprite&&m.setMode(4);if(i.isInstancedMesh)m.renderInstances(f,p,i.count);else if(n.isInstancedBufferGeometry){var y=void 0!==n._maxInstanceCount?n._maxInstanceCount:1/0,b=Math.min(n.instanceCount,y);m.renderInstances(f,p,b)}else m.render(f,p)}},this.compile=function(e,t){function n(e,t,n){!0===e.transparent&&e.side===Em&&!1===e.forceSinglePass?(e.side=Mm,e.needsUpdate=!0,Be(e,t,n),e.side=km,e.needsUpdate=!0,Be(e,t,n),e.side=Em):Be(e,t,n)}(k=he.get(e)).init(),E.push(k),e.traverseVisible((function(e){e.isLight&&e.layers.test(t.layers)&&(k.pushLight(e),e.castShadow&&k.pushShadow(e))})),k.setupLights(T.useLegacyLights),e.traverse((function(t){var r=t.material;if(r)if(Array.isArray(r))for(var i=0;i<r.length;i++){n(r[i],e,t)}else n(r,e,t)})),E.pop(),k=null};var Ze=null;function Ne(){je.stop()}function Ie(){je.start()}var je=new JS;function De(e,t,n,r){if(!1!==e.visible){if(e.layers.test(t.layers))if(e.isGroup)n=e.renderOrder;else if(e.isLOD)!0===e.autoUpdate&&e.update(t);else if(e.isLight)k.pushLight(e),e.castShadow&&k.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||W.intersectsSprite(e)){r&&J.setFromMatrixPosition(e.matrixWorld).applyMatrix4(Y);var i=ue.update(e),a=e.material;a.visible&&_.push(e,i,a,n,J.z,null)}}else if((e.isMesh||e.isLine||e.isPoints)&&(e.isSkinnedMesh&&e.skeleton.frame!==ne.render.frame&&(e.skeleton.update(),e.skeleton.frame=ne.render.frame),!e.frustumCulled||W.intersectsObject(e))){r&&J.setFromMatrixPosition(e.matrixWorld).applyMatrix4(Y);var o=ue.update(e),s=e.material;if(Array.isArray(s))for(var l=o.groups,u=0,c=l.length;u<c;u++){var d=l[u],f=s[d.materialIndex];f&&f.visible&&_.push(e,o,f,n,J.z,d)}else s.visible&&_.push(e,o,s,n,J.z,null)}for(var h=e.children,p=0,v=h.length;p<v;p++)De(h[p],t,n,r)}}function ze(e,t,n,r){var i=e.opaque,a=e.transmissive,o=e.transparent;k.setupLightsView(n),!0===G&&pe.setGlobalState(T.clippingPlanes,n),a.length>0&&function(e,t,n,r){if(null===X){var i=ee.isWebGL2;X=new cx(1024,1024,{generateMipmaps:!0,type:$.has("EXT_color_buffer_half_float")?zg:Og,minFilter:Pg,samples:i&&!0===p?4:0})}var a=T.getRenderTarget();T.setRenderTarget(X),T.clear();var o=T.toneMapping;T.toneMapping=sg,Ue(e,n,r),ie.updateMultisampleRenderTarget(X),ie.updateRenderTargetMipmap(X);for(var s=!1,l=0,u=t.length;l<u;l++){var c=t[l],d=c.object,f=c.geometry,h=c.material,v=c.group;if(h.side===Em&&d.layers.test(r.layers)){var m=h.side;h.side=Mm,h.needsUpdate=!0,Fe(d,n,r,f,h,v),h.side=m,h.needsUpdate=!0,s=!0}}!0===s&&(ie.updateMultisampleRenderTarget(X),ie.updateRenderTargetMipmap(X));T.setRenderTarget(a),T.toneMapping=o}(i,a,t,n),r&&te.viewport(Z.copy(r)),i.length>0&&Ue(i,t,n),a.length>0&&Ue(a,t,n),o.length>0&&Ue(o,t,n),te.buffers.depth.setTest(!0),te.buffers.depth.setMask(!0),te.buffers.color.setMask(!0),te.setPolygonOffset(!1)}function Ue(e,t,n){for(var r=!0===t.isScene?t.overrideMaterial:null,i=0,a=e.length;i<a;i++){var o=e[i],s=o.object,l=o.geometry,u=null===r?o.material:r,c=o.group;s.layers.test(n.layers)&&Fe(s,t,n,l,u,c)}}function Fe(e,t,n,r,i,a){e.onBeforeRender(T,t,n,r,i,a),e.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,e.matrixWorld),e.normalMatrix.getNormalMatrix(e.modelViewMatrix),i.onBeforeRender(T,t,n,r,e,a),!0===i.transparent&&i.side===Em&&!1===i.forceSinglePass?(i.side=Mm,i.needsUpdate=!0,T.renderBufferDirect(n,t,r,i,e,a),i.side=km,i.needsUpdate=!0,T.renderBufferDirect(n,t,r,i,e,a),i.side=Em):T.renderBufferDirect(n,t,r,i,e,a),e.onAfterRender(T,t,n,r,i,a)}function Be(e,t,n){!0!==t.isScene&&(t=K);var r=re.get(e),i=k.state.lights,a=k.state.shadowsArray,o=i.state.version,s=ce.getParameters(e,i.state,a,t,n),l=ce.getProgramCacheKey(s),u=r.programs;r.environment=e.isMeshStandardMaterial?t.environment:null,r.fog=t.fog,r.envMap=(e.isMeshStandardMaterial?oe:ae).get(e.envMap||r.environment),void 0===u&&(e.addEventListener("dispose",Le),u=new Map,r.programs=u);var c=u.get(l);if(void 0!==c){if(r.currentProgram===c&&r.lightsStateVersion===o)return Ve(e,s),c}else s.uniforms=ce.getUniforms(e),e.onBuild(n,s,T),e.onBeforeCompile(s,T),c=ce.acquireProgram(s,l),u.set(l,c),r.uniforms=s.uniforms;var d=r.uniforms;(e.isShaderMaterial||e.isRawShaderMaterial)&&!0!==e.clipping||(d.clippingPlanes=pe.uniform),Ve(e,s),r.needsLights=function(e){return e.isMeshLambertMaterial||e.isMeshToonMaterial||e.isMeshPhongMaterial||e.isMeshStandardMaterial||e.isShadowMaterial||e.isShaderMaterial&&!0===e.lights}(e),r.lightsStateVersion=o,r.needsLights&&(d.ambientLightColor.value=i.state.ambient,d.lightProbe.value=i.state.probe,d.directionalLights.value=i.state.directional,d.directionalLightShadows.value=i.state.directionalShadow,d.spotLights.value=i.state.spot,d.spotLightShadows.value=i.state.spotShadow,d.rectAreaLights.value=i.state.rectArea,d.ltc_1.value=i.state.rectAreaLTC1,d.ltc_2.value=i.state.rectAreaLTC2,d.pointLights.value=i.state.point,d.pointLightShadows.value=i.state.pointShadow,d.hemisphereLights.value=i.state.hemi,d.directionalShadowMap.value=i.state.directionalShadowMap,d.directionalShadowMatrix.value=i.state.directionalShadowMatrix,d.spotShadowMap.value=i.state.spotShadowMap,d.spotLightMatrix.value=i.state.spotLightMatrix,d.spotLightMap.value=i.state.spotLightMap,d.pointShadowMap.value=i.state.pointShadowMap,d.pointShadowMatrix.value=i.state.pointShadowMatrix);var f=c.getUniforms(),h=Nk.seqWithValue(f.seq,d);return r.currentProgram=c,r.uniformsList=h,c}function Ve(e,t){var n=re.get(e);n.outputEncoding=t.outputEncoding,n.instancing=t.instancing,n.skinning=t.skinning,n.morphTargets=t.morphTargets,n.morphNormals=t.morphNormals,n.morphColors=t.morphColors,n.morphTargetsCount=t.morphTargetsCount,n.numClippingPlanes=t.numClippingPlanes,n.numIntersection=t.numClipIntersection,n.vertexAlphas=t.vertexAlphas,n.vertexTangents=t.vertexTangents,n.toneMapping=t.toneMapping}je.setAnimationLoop((function(e){Ze&&Ze(e)})),"undefined"!==typeof self&&je.setContext(self),this.setAnimationLoop=function(e){Ze=e,Ae.setAnimationLoop(e),null===e?je.stop():je.start()},Ae.addEventListener("sessionstart",Ne),Ae.addEventListener("sessionend",Ie),this.render=function(e,t){if(void 0===t||!0===t.isCamera){if(!0!==C){!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),null===t.parent&&!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),!0===Ae.enabled&&!0===Ae.isPresenting&&(!0===Ae.cameraAutoUpdate&&Ae.updateCamera(t),t=Ae.getCamera()),!0===e.isScene&&e.onBeforeRender(T,e,t,R),(k=he.get(e,E.length)).init(),E.push(k),Y.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),W.setFromProjectionMatrix(Y),q=this.localClippingEnabled,G=pe.init(this.clippingPlanes,q),(_=fe.get(e,M.length)).init(),M.push(_),De(e,t,0,T.sortObjects),_.finish(),!0===T.sortObjects&&_.sort(U,F),!0===G&&pe.beginShadows();var n=k.state.shadowsArray;if(ve.render(n,e,t),!0===G&&pe.endShadows(),!0===this.info.autoReset&&this.info.reset(),me.render(_,e),k.setupLights(T.useLegacyLights),t.isArrayCamera)for(var r=t.cameras,i=0,a=r.length;i<a;i++){var o=r[i];ze(_,e,o,o.viewport)}else ze(_,e,t);null!==R&&(ie.updateMultisampleRenderTarget(R),ie.updateRenderTargetMipmap(R)),!0===e.isScene&&e.onAfterRender(T,e,t),Se.resetDefaultState(),O=-1,L=null,E.pop(),k=E.length>0?E[E.length-1]:null,M.pop(),_=M.length>0?M[M.length-1]:null}}else console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.")},this.getActiveCubeFace=function(){return A},this.getActiveMipmapLevel=function(){return P},this.getRenderTarget=function(){return R},this.setRenderTargetTextures=function(e,t,n){re.get(e.texture).__webglTexture=t,re.get(e.depthTexture).__webglTexture=n;var r=re.get(e);r.__hasExternalTextures=!0,r.__hasExternalTextures&&(r.__autoAllocateDepthBuffer=void 0===n,r.__autoAllocateDepthBuffer||!0===$.has("WEBGL_multisampled_render_to_texture")&&(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),r.__useRenderToTexture=!1))},this.setRenderTargetFramebuffer=function(e,t){var n=re.get(e);n.__webglFramebuffer=t,n.__useDefaultFramebuffer=void 0===t},this.setRenderTarget=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;R=e,A=t,P=n;var r=!0,i=null,a=!1,o=!1;if(e){var s=re.get(e);void 0!==s.__useDefaultFramebuffer?(te.bindFramebuffer(36160,null),r=!1):void 0===s.__webglFramebuffer?ie.setupRenderTarget(e):s.__hasExternalTextures&&ie.rebindTextures(e,re.get(e.texture).__webglTexture,re.get(e.depthTexture).__webglTexture);var l=e.texture;(l.isData3DTexture||l.isDataArrayTexture||l.isCompressedArrayTexture)&&(o=!0);var u=re.get(e).__webglFramebuffer;
2e.isWebGLCubeRenderTarget?(i=u[t],a=!0):i=ee.isWebGL2&&e.samples>0&&!1===ie.useMultisampledRTT(e)?re.get(e).__webglMultisampledFramebuffer:u,Z.copy(e.viewport),N.copy(e.scissor),I=e.scissorTest}else Z.copy(B).multiplyScalar(z).floor(),N.copy(V).multiplyScalar(z).floor(),I=H;if(te.bindFramebuffer(36160,i)&&ee.drawBuffers&&r&&te.drawBuffers(e,i),te.viewport(Z),te.scissor(N),te.setScissorTest(I),a){var c=re.get(e.texture);ke.framebufferTexture2D(36160,36064,34069+t,c.__webglTexture,n)}else if(o){var d=re.get(e.texture),f=t||0;ke.framebufferTextureLayer(36160,36064,d.__webglTexture,n||0,f)}O=-1},this.readRenderTargetPixels=function(e,t,n,r,i,a,o){if(e&&e.isWebGLRenderTarget){var s=re.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==o&&(s=s[o]),s){te.bindFramebuffer(36160,s);try{var l=e.texture,u=l.format,c=l.type;if(u!==Hg&&we.convert(u)!==ke.getParameter(35739))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");var d=c===zg&&($.has("EXT_color_buffer_half_float")||ee.isWebGL2&&$.has("EXT_color_buffer_float"));if(c!==Og&&we.convert(c)!==ke.getParameter(35738)&&(c!==Dg||!(ee.isWebGL2||$.has("OES_texture_float")||$.has("WEBGL_color_buffer_float")))&&!d)return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");t>=0&&t<=e.width-r&&n>=0&&n<=e.height-i&&ke.readPixels(t,n,r,i,we.convert(u),we.convert(c),a)}finally{var f=null!==R?re.get(R).__webglFramebuffer:null;te.bindFramebuffer(36160,f)}}}else console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.")},this.copyFramebufferToTexture=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Math.pow(2,-n),i=Math.floor(t.image.width*r),a=Math.floor(t.image.height*r);ie.setTexture2D(t,0),ke.copyTexSubImage2D(3553,n,0,0,e.x,e.y,i,a),te.unbindTexture()},this.copyTextureToTexture=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=t.image.width,a=t.image.height,o=we.convert(n.format),s=we.convert(n.type);ie.setTexture2D(n,0),ke.pixelStorei(37440,n.flipY),ke.pixelStorei(37441,n.premultiplyAlpha),ke.pixelStorei(3317,n.unpackAlignment),t.isDataTexture?ke.texSubImage2D(3553,r,e.x,e.y,i,a,o,s,t.image.data):t.isCompressedTexture?ke.compressedTexSubImage2D(3553,r,e.x,e.y,t.mipmaps[0].width,t.mipmaps[0].height,o,t.mipmaps[0].data):ke.texSubImage2D(3553,r,e.x,e.y,o,s,t.image),0===r&&n.generateMipmaps&&ke.generateMipmap(3553),te.unbindTexture()},this.copyTextureToTexture3D=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(T.isWebGL1Renderer)console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");else{var a,o=e.max.x-e.min.x+1,s=e.max.y-e.min.y+1,l=e.max.z-e.min.z+1,u=we.convert(r.format),c=we.convert(r.type);if(r.isData3DTexture)ie.setTexture3D(r,0),a=32879;else{if(!r.isDataArrayTexture)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");ie.setTexture2DArray(r,0),a=35866}ke.pixelStorei(37440,r.flipY),ke.pixelStorei(37441,r.premultiplyAlpha),ke.pixelStorei(3317,r.unpackAlignment);var d=ke.getParameter(3314),f=ke.getParameter(32878),h=ke.getParameter(3316),p=ke.getParameter(3315),v=ke.getParameter(32877),m=n.isCompressedTexture?n.mipmaps[0]:n.image;ke.pixelStorei(3314,m.width),ke.pixelStorei(32878,m.height),ke.pixelStorei(3316,e.min.x),ke.pixelStorei(3315,e.min.y),ke.pixelStorei(32877,e.min.z),n.isDataTexture||n.isData3DTexture?ke.texSubImage3D(a,i,t.x,t.y,t.z,o,s,l,u,c,m.data):n.isCompressedArrayTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),ke.compressedTexSubImage3D(a,i,t.x,t.y,t.z,o,s,l,u,m.data)):ke.texSubImage3D(a,i,t.x,t.y,t.z,o,s,l,u,c,m),ke.pixelStorei(3314,d),ke.pixelStorei(32878,f),ke.pixelStorei(3316,h),ke.pixelStorei(3315,p),ke.pixelStorei(32877,v),0===i&&r.generateMipmaps&&ke.generateMipmap(a),te.unbindTexture()}},this.initTexture=function(e){e.isCubeTexture?ie.setTextureCube(e,0):e.isData3DTexture?ie.setTexture3D(e,0):e.isDataArrayTexture||e.isCompressedArrayTexture?ie.setTexture2DArray(e,0):ie.setTexture2D(e,0),te.unbindTexture()},this.resetState=function(){A=0,P=0,R=null,te.reset(),Se.reset()},"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}return(0,xe.Z)(e,[{key:"physicallyCorrectLights",get:function(){return console.warn("THREE.WebGLRenderer: the property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),!this.useLegacyLights},set:function(e){console.warn("THREE.WebGLRenderer: the property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),this.useLegacyLights=!e}}]),e}(),CM=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){return(0,be.Z)(this,n),t.apply(this,arguments)}return(0,xe.Z)(n)}(TM);CM.prototype.isWebGL1Renderer=!0;var AM,PM=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25e-5;(0,be.Z)(this,e),this.isFogExp2=!0,this.name="",this.color=new jw(t),this.density=n}return(0,xe.Z)(e,[{key:"clone",value:function(){return new e(this.color,this.density)}},{key:"toJSON",value:function(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}}]),e}(),RM=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;(0,be.Z)(this,e),this.isFog=!0,this.name="",this.color=new jw(t),this.near=n,this.far=r}return(0,xe.Z)(e,[{key:"clone",value:function(){return new e(this.color,this.near,this.far)}},{key:"toJSON",value:function(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}}]),e}(),OM=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this)).isScene=!0,e.type="Scene",e.background=null,e.environment=null,e.fog=null,e.backgroundBlurriness=0,e.backgroundIntensity=1,e.overrideMaterial=null,"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:(0,cn.Z)(e)})),e}
2return(0,xe.Z)(n,[{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),null!==e.background&&(this.background=e.background.clone()),null!==e.environment&&(this.environment=e.environment.clone()),null!==e.fog&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,null!==e.overrideMaterial&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}},{key:"toJSON",value:function(e){var t=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this,e);return null!==this.fog&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),1!==this.backgroundIntensity&&(t.object.backgroundIntensity=this.backgroundIntensity),t}},{key:"autoUpdate",get:function(){return console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate},set:function(e){console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate=e}}]),n}(yw),LM=function(){function e(t,n){(0,be.Z)(this,e),this.isInterleavedBuffer=!0,this.array=t,this.stride=n,this.count=void 0!==t?t.length/n:0,this.usage=mb,this.updateRange={offset:0,count:-1},this.version=0,this.uuid=Lb()}return(0,xe.Z)(e,[{key:"onUploadCallback",value:function(){}},{key:"needsUpdate",set:function(e){!0===e&&this.version++}},{key:"setUsage",value:function(e){return this.usage=e,this}},{key:"copy",value:function(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}},{key:"copyAt",value:function(e,t,n){e*=this.stride,n*=t.stride;for(var r=0,i=this.stride;r<i;r++)this.array[e+r]=t.array[n+r];return this}},{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.array.set(e,t),this}},{key:"clone",value:function(e){void 0===e.arrayBuffers&&(e.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=Lb()),void 0===e.arrayBuffers[this.array.buffer._uuid]&&(e.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);var t=new this.array.constructor(e.arrayBuffers[this.array.buffer._uuid]),n=new this.constructor(t,this.stride);return n.setUsage(this.usage),n}},{key:"onUpload",value:function(e){return this.onUploadCallback=e,this}},{key:"toJSON",value:function(e){return void 0===e.arrayBuffers&&(e.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=Lb()),void 0===e.arrayBuffers[this.array.buffer._uuid]&&(e.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}]),e}(),ZM=new gx,NM=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];(0,be.Z)(this,e),this.isInterleavedBufferAttribute=!0,this.name="",this.data=t,this.itemSize=n,this.offset=r,this.normalized=i}return(0,xe.Z)(e,[{key:"count",get:function(){return this.data.count}},{key:"array",get:function(){return this.data.array}},{key:"needsUpdate",set:function(e){this.data.needsUpdate=e}},{key:"applyMatrix4",value:function(e){for(var t=0,n=this.data.count;t<n;t++)ZM.fromBufferAttribute(this,t),ZM.applyMatrix4(e),this.setXYZ(t,ZM.x,ZM.y,ZM.z);return this}},{key:"applyNormalMatrix",value:function(e){for(var t=0,n=this.count;t<n;t++)ZM.fromBufferAttribute(this,t),ZM.applyNormalMatrix(e),this.setXYZ(t,ZM.x,ZM.y,ZM.z);return this}},{key:"transformDirection",value:function(e){for(var t=0,n=this.count;t<n;t++)ZM.fromBufferAttribute(this,t),ZM.transformDirection(e),this.setXYZ(t,ZM.x,ZM.y,ZM.z);return this}},{key:"setX",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.data.array[e*this.data.stride+this.offset]=t,this}},{key:"setY",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.data.array[e*this.data.stride+this.offset+1]=t,this}},{key:"setZ",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.data.array[e*this.data.stride+this.offset+2]=t,this}},{key:"setW",value:function(e,t){return this.normalized&&(t=Fb(t,this.array)),this.data.array[e*this.data.stride+this.offset+3]=t,this}},{key:"getX",value:function(e){var t=this.data.array[e*this.data.stride+this.offset];return this.normalized&&(t=Ub(t,this.array)),t}},{key:"getY",value:function(e){var t=this.data.array[e*this.data.stride+this.offset+1];return this.normalized&&(t=Ub(t,this.array)),t}},{key:"getZ",value:function(e){var t=this.data.array[e*this.data.stride+this.offset+2];return this.normalized&&(t=Ub(t,this.array)),t}},{key:"getW",value:function(e){var t=this.data.array[e*this.data.stride+this.offset+3];return this.normalized&&(t=Ub(t,this.array)),t}},{key:"setXY",value:function(e,t,n){return e=e*this.data.stride+this.offset,this.normalized&&(t=Fb(t,this.array),n=Fb(n,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=n,this}},{key:"setXYZ",value:function(e,t,n,r){return e=e*this.data.stride+this.offset,this.normalized&&(t=Fb(t,this.array),n=Fb(n,this.array),r=Fb(r,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=n,this.data.array[e+2]=r,this}},{key:"setXYZW",value:function(e,t,n,r,i){return e=e*this.data.stride+this.offset,this.normalized&&(t=Fb(t,this.array),n=Fb(n,this.array),r=Fb(r,this.array),i=Fb(i,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=n,this.data.array[e+2]=r,this.data.array[e+3]=i,this}},{key:"clone",value:function(t){if(void 0===t){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will de-interleave buffer data.");for(var n=[],r=0;r<this.count;r++)for(var i=r*this.data.stride+this.offset,a=0;a<this.itemSize;a++)n.push(this.data.array[i+a]);return new qw(new this.array.constructor(n),this.itemSize,this.normalized)}return void 0===t.interleavedBuffers&&(t.interleavedBuffers={}),void 0===t.interleavedBuffers[this.data.uuid]&&(t.interleavedBuffers[this.data.uuid]=this.data.clone(t)),new e(t.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}},{key:"toJSON",value:function(e){if(void 0===e){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will de-interleave buffer data.");for(var t=[],n=0;n<this.count;n++)for(var r=n*this.data.stride+this.offset,i=0;i<this.itemSize;i++)t.push(this.data.array[r+i]);return{itemSize:this.itemSize,type:this.array.constructor.name,array:t,normalized:this.normalized}}return void 0===e.interleavedBuffers&&(e.interleavedBuffers={}),void 0===e.interleavedBuffers[this.data.uuid]&&(e.interleavedBuffers[this.data.uuid]=this.data.toJSON(e)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}]),e}(),IM=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isSpriteMaterial=!0,r.type="SpriteMaterial",r.color=new jw(16777215),r.map=null,r.alphaMap=null,r.rotation=0,r.sizeAttenuation=!0,r.transparent=!0,r.fog=!0,r.setValues(e),r}
2return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.rotation=e.rotation,this.sizeAttenuation=e.sizeAttenuation,this.fog=e.fog,this}}]),n}(Ow),jM=new gx,DM=new gx,zM=new gx,UM=new Vb,FM=new Vb,BM=new qx,VM=new gx,HM=new gx,WM=new gx,GM=new Vb,qM=new Vb,XM=new Vb,YM=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;if((0,be.Z)(this,n),(r=t.call(this)).isSprite=!0,r.type="Sprite",void 0===AM){AM=new dS;var i=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]),a=new LM(i,5);AM.setIndex([0,1,2,0,2,3]),AM.setAttribute("position",new NM(a,3,0,!1)),AM.setAttribute("uv",new NM(a,2,3,!1))}return r.geometry=AM,r.material=void 0!==e?e:new IM,r.center=new Vb(.5,.5),r}return(0,xe.Z)(n,[{key:"raycast",value:function(e,t){null===e.camera&&console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.'),DM.setFromMatrixScale(this.matrixWorld),BM.copy(e.camera.matrixWorld),this.modelViewMatrix.multiplyMatrices(e.camera.matrixWorldInverse,this.matrixWorld),zM.setFromMatrixPosition(this.modelViewMatrix),e.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&DM.multiplyScalar(-zM.z);var n,r,i=this.material.rotation;0!==i&&(r=Math.cos(i),n=Math.sin(i));var a=this.center;JM(VM.set(-.5,-.5,0),zM,a,DM,n,r),JM(HM.set(.5,-.5,0),zM,a,DM,n,r),JM(WM.set(.5,.5,0),zM,a,DM,n,r),GM.set(0,0),qM.set(1,0),XM.set(1,1);var o=e.ray.intersectTriangle(VM,HM,WM,!1,jM);if(null!==o||(JM(HM.set(-.5,.5,0),zM,a,DM,n,r),qM.set(0,1),null!==(o=e.ray.intersectTriangle(VM,WM,HM,!1,jM)))){var s=e.ray.origin.distanceTo(jM);s<e.near||s>e.far||t.push({distance:s,point:jM.clone(),uv:Pw.getInterpolation(jM,VM,HM,WM,GM,qM,XM,new Vb),face:null,object:this})}}},{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),void 0!==e.center&&this.center.copy(e.center),this.material=e.material,this}}]),n}(yw);function JM(e,t,n,r,i,a){UM.subVectors(e,n).addScalar(.5).multiply(r),void 0!==i?(FM.x=a*UM.x-i*UM.y,FM.y=i*UM.x+a*UM.y):FM.copy(UM),e.copy(t),e.x+=FM.x,e.y+=FM.y,e.applyMatrix4(BM)}var KM=new gx,QM=new gx,$M=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this))._currentLevel=0,e.type="LOD",Object.defineProperties((0,cn.Z)(e),{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),e.autoUpdate=!0,e}return(0,xe.Z)(n,[{key:"copy",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,!1);for(var t=e.levels,r=0,i=t.length;r<i;r++){var a=t[r];this.addLevel(a.object.clone(),a.distance,a.hysteresis)}return this.autoUpdate=e.autoUpdate,this}},{key:"addLevel",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t=Math.abs(t);var r,i=this.levels;for(r=0;r<i.length&&!(t<i[r].distance);r++);return i.splice(r,0,{distance:t,hysteresis:n,object:e}),this.add(e),this}},{key:"getCurrentLevel",value:function(){return this._currentLevel}},{key:"getObjectForDistance",value:function(e){var t=this.levels;if(t.length>0){var n,r;for(n=1,r=t.length;n<r;n++){var i=t[n].distance;if(t[n].object.visible&&(i-=i*t[n].hysteresis),e<i)break}return t[n-1].object}return null}},{key:"raycast",value:function(e,t){if(this.levels.length>0){KM.setFromMatrixPosition(this.matrixWorld);var n=e.ray.origin.distanceTo(KM);this.getObjectForDistance(n).raycast(e,t)}}},{key:"update",value:function(e){var t=this.levels;if(t.length>1){KM.setFromMatrixPosition(e.matrixWorld),QM.setFromMatrixPosition(this.matrixWorld);var n,r,i=KM.distanceTo(QM)/e.zoom;for(t[0].object.visible=!0,n=1,r=t.length;n<r;n++){var a=t[n].distance;if(t[n].object.visible&&(a-=a*t[n].hysteresis),!(i>=a))break;t[n-1].object.visible=!1,t[n].object.visible=!0}for(this._currentLevel=n-1;n<r;n++)t[n].object.visible=!1}}},{key:"toJSON",value:function(e){var t=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this,e);!1===this.autoUpdate&&(t.object.autoUpdate=!1),t.object.levels=[];for(var r=this.levels,i=0,a=r.length;i<a;i++){var o=r[i];t.object.levels.push({object:o.object.uuid,distance:o.distance,hysteresis:o.hysteresis})}return t}}]),n}(yw),eE=new gx,tE=new ux,nE=new ux,rE=new gx,iE=new qx,aE=new gx,oE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i;return(0,be.Z)(this,n),(i=t.call(this,e,r)).isSkinnedMesh=!0,i.type="SkinnedMesh",i.bindMode="attached",i.bindMatrix=new qx,i.bindMatrixInverse=new qx,i.boundingBox=null,i.boundingSphere=null,i}
2return(0,xe.Z)(n,[{key:"computeBoundingBox",value:function(){var e=this.geometry;null===this.boundingBox&&(this.boundingBox=new xx),this.boundingBox.makeEmpty();for(var t=e.getAttribute("position"),n=0;n<t.count;n++)aE.fromBufferAttribute(t,n),this.applyBoneTransform(n,aE),this.boundingBox.expandByPoint(aE)}},{key:"computeBoundingSphere",value:function(){var e=this.geometry;null===this.boundingSphere&&(this.boundingSphere=new Dx),this.boundingSphere.makeEmpty();for(var t=e.getAttribute("position"),n=0;n<t.count;n++)aE.fromBufferAttribute(t,n),this.applyBoneTransform(n,aE),this.boundingSphere.expandByPoint(aE)}},{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.bindMode=e.bindMode,this.bindMatrix.copy(e.bindMatrix),this.bindMatrixInverse.copy(e.bindMatrixInverse),this.skeleton=e.skeleton,this}},{key:"bind",value:function(e,t){this.skeleton=e,void 0===t&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),t=this.matrixWorld),this.bindMatrix.copy(t),this.bindMatrixInverse.copy(t).invert()}},{key:"pose",value:function(){this.skeleton.pose()}},{key:"normalizeSkinWeights",value:function(){for(var e=new ux,t=this.geometry.attributes.skinWeight,n=0,r=t.count;n<r;n++){e.fromBufferAttribute(t,n);var i=1/e.manhattanLength();i!==1/0?e.multiplyScalar(i):e.set(1,0,0,0),t.setXYZW(n,e.x,e.y,e.z,e.w)}}},{key:"updateMatrixWorld",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"updateMatrixWorld",this).call(this,e),"attached"===this.bindMode?this.bindMatrixInverse.copy(this.matrixWorld).invert():"detached"===this.bindMode?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}},{key:"applyBoneTransform",value:function(e,t){var n=this.skeleton,r=this.geometry;tE.fromBufferAttribute(r.attributes.skinIndex,e),nE.fromBufferAttribute(r.attributes.skinWeight,e),eE.copy(t).applyMatrix4(this.bindMatrix),t.set(0,0,0);for(var i=0;i<4;i++){var a=nE.getComponent(i);if(0!==a){var o=tE.getComponent(i);iE.multiplyMatrices(n.bones[o].matrixWorld,n.boneInverses[o]),t.addScaledVector(rE.copy(eE).applyMatrix4(iE),a)}}return t.applyMatrix4(this.bindMatrixInverse)}},{key:"boneTransform",value:function(e,t){return console.warn("THREE.SkinnedMesh: .boneTransform() was renamed to .applyBoneTransform() in r151."),this.applyBoneTransform(e,t)}}]),n}(AS),sE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this)).isBone=!0,e.type="Bone",e}return(0,xe.Z)(n)}(yw),lE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0,l=arguments.length>5?arguments[5]:void 0,u=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,d=arguments.length>8&&void 0!==arguments[8]?arguments[8]:Sg,f=arguments.length>9&&void 0!==arguments[9]?arguments[9]:Sg,h=arguments.length>10?arguments[10]:void 0,p=arguments.length>11?arguments[11]:void 0;return(0,be.Z)(this,n),(e=t.call(this,null,l,u,c,d,f,o,s,h,p)).isDataTexture=!0,e.image={data:r,width:i,height:a},e.generateMipmaps=!1,e.flipY=!1,e.unpackAlignment=1,e}return(0,xe.Z)(n)}(lx),uE=new qx,cE=new qx,dE=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(0,be.Z)(this,e),this.uuid=Lb(),this.bones=t.slice(0),this.boneInverses=n,this.boneMatrices=null,this.boneTexture=null,this.boneTextureSize=0,this.frame=-1,this.init()}return(0,xe.Z)(e,[{key:"init",value:function(){var e=this.bones,t=this.boneInverses;if(this.boneMatrices=new Float32Array(16*e.length),0===t.length)this.calculateInverses();else if(e.length!==t.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(var n=0,r=this.bones.length;n<r;n++)this.boneInverses.push(new qx)}}},{key:"calculateInverses",value:function(){this.boneInverses.length=0;for(var e=0,t=this.bones.length;e<t;e++){var n=new qx;this.bones[e]&&n.copy(this.bones[e].matrixWorld).invert(),this.boneInverses.push(n)}}},{key:"pose",value:function(){for(var e=0,t=this.bones.length;e<t;e++){var n=this.bones[e];n&&n.matrixWorld.copy(this.boneInverses[e]).invert()}for(var r=0,i=this.bones.length;r<i;r++){var a=this.bones[r];a&&(a.parent&&a.parent.isBone?(a.matrix.copy(a.parent.matrixWorld).invert(),a.matrix.multiply(a.matrixWorld)):a.matrix.copy(a.matrixWorld),a.matrix.decompose(a.position,a.quaternion,a.scale))}}},{key:"update",value:function(){for(var e=this.bones,t=this.boneInverses,n=this.boneMatrices,r=this.boneTexture,i=0,a=e.length;i<a;i++){var o=e[i]?e[i].matrixWorld:cE;uE.multiplyMatrices(o,t[i]),uE.toArray(n,16*i)}null!==r&&(r.needsUpdate=!0)}},{key:"clone",value:function(){return new e(this.bones,this.boneInverses)}},{key:"computeBoneTexture",value:function(){var e=Math.sqrt(4*this.bones.length);e=Db(e),e=Math.max(e,4);var t=new Float32Array(e*e*4);t.set(this.boneMatrices);var n=new lE(t,e,e,Hg,Dg);return n.needsUpdate=!0,this.boneMatrices=t,this.boneTexture=n,this.boneTextureSize=e,this}},{key:"getBoneByName",value:function(e){for(var t=0,n=this.bones.length;t<n;t++){var r=this.bones[t];if(r.name===e)return r}}},{key:"dispose",value:function(){null!==this.boneTexture&&(this.boneTexture.dispose(),this.boneTexture=null)}},{key:"fromJSON",value:function(e,t){this.uuid=e.uuid;
2for(var n=0,r=e.bones.length;n<r;n++){var i=e.bones[n],a=t[i];void 0===a&&(console.warn("THREE.Skeleton: No bone found with UUID:",i),a=new sE),this.bones.push(a),this.boneInverses.push((new qx).fromArray(e.boneInverses[n]))}return this.init(),this}},{key:"toJSON",value:function(){var e={metadata:{version:4.5,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};e.uuid=this.uuid;for(var t=this.bones,n=this.boneInverses,r=0,i=t.length;r<i;r++){var a=t[r];e.bones.push(a.uuid);var o=n[r];e.boneInverses.push(o.toArray())}return e}}]),e}(),fE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){var a,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return(0,be.Z)(this,n),(a=t.call(this,e,r,i)).isInstancedBufferAttribute=!0,a.meshPerAttribute=o,a}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.meshPerAttribute=e.meshPerAttribute,this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.meshPerAttribute=this.meshPerAttribute,e.isInstancedBufferAttribute=!0,e}}]),n}(qw),hE=new qx,pE=new qx,vE=[],mE=new xx,gE=new qx,yE=new AS,bE=new Dx,xE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){var a;(0,be.Z)(this,n),(a=t.call(this,e,r)).isInstancedMesh=!0,a.instanceMatrix=new fE(new Float32Array(16*i),16),a.instanceColor=null,a.count=i,a.boundingBox=null,a.boundingSphere=null;for(var o=0;o<i;o++)a.setMatrixAt(o,gE);return a}return(0,xe.Z)(n,[{key:"computeBoundingBox",value:function(){var e=this.geometry,t=this.count;null===this.boundingBox&&(this.boundingBox=new xx),null===e.boundingBox&&e.computeBoundingBox(),this.boundingBox.makeEmpty();for(var n=0;n<t;n++)this.getMatrixAt(n,hE),mE.copy(e.boundingBox).applyMatrix4(hE),this.boundingBox.union(mE)}},{key:"computeBoundingSphere",value:function(){var e=this.geometry,t=this.count;null===this.boundingSphere&&(this.boundingSphere=new Dx),null===e.boundingSphere&&e.computeBoundingSphere(),this.boundingSphere.makeEmpty();for(var n=0;n<t;n++)this.getMatrixAt(n,hE),bE.copy(e.boundingSphere).applyMatrix4(hE),this.boundingSphere.union(bE)}},{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.instanceMatrix.copy(e.instanceMatrix),null!==e.instanceColor&&(this.instanceColor=e.instanceColor.clone()),this.count=e.count,this}},{key:"getColorAt",value:function(e,t){t.fromArray(this.instanceColor.array,3*e)}},{key:"getMatrixAt",value:function(e,t){t.fromArray(this.instanceMatrix.array,16*e)}},{key:"raycast",value:function(e,t){var n=this.matrixWorld,r=this.count;if(yE.geometry=this.geometry,yE.material=this.material,void 0!==yE.material&&(null===this.boundingSphere&&this.computeBoundingSphere(),bE.copy(this.boundingSphere),bE.applyMatrix4(n),!1!==e.ray.intersectsSphere(bE)))for(var i=0;i<r;i++){this.getMatrixAt(i,hE),pE.multiplyMatrices(n,hE),yE.matrixWorld=pE,yE.raycast(e,vE);for(var a=0,o=vE.length;a<o;a++){var s=vE[a];s.instanceId=i,s.object=this,t.push(s)}vE.length=0}}},{key:"setColorAt",value:function(e,t){null===this.instanceColor&&(this.instanceColor=new fE(new Float32Array(3*this.instanceMatrix.count),3)),t.toArray(this.instanceColor.array,3*e)}},{key:"setMatrixAt",value:function(e,t){t.toArray(this.instanceMatrix.array,16*e)}},{key:"updateMorphTargets",value:function(){}},{key:"dispose",value:function(){this.dispatchEvent({type:"dispose"})}}]),n}(AS),wE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isLineBasicMaterial=!0,r.type="LineBasicMaterial",r.color=new jw(16777215),r.map=null,r.linewidth=1,r.linecap="round",r.linejoin="round",r.fog=!0,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.color.copy(e.color),this.map=e.map,this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this}}]),n}(Ow),SE=new gx,_E=new gx,kE=new qx,ME=new Gx,EE=new Dx,TE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new dS,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new wE;return(0,be.Z)(this,n),(e=t.call(this)).isLine=!0,e.type="Line",e.geometry=r,e.material=i,e.updateMorphTargets(),e}
2return(0,xe.Z)(n,[{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.material=e.material,this.geometry=e.geometry,this}},{key:"computeLineDistances",value:function(){var e=this.geometry;if(null===e.index){for(var t=e.attributes.position,n=[0],r=1,i=t.count;r<i;r++)SE.fromBufferAttribute(t,r-1),_E.fromBufferAttribute(t,r),n[r]=n[r-1],n[r]+=SE.distanceTo(_E);e.setAttribute("lineDistance",new nS(n,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}},{key:"raycast",value:function(e,t){var n=this.geometry,r=this.matrixWorld,i=e.params.Line.threshold,a=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),EE.copy(n.boundingSphere),EE.applyMatrix4(r),EE.radius+=i,!1!==e.ray.intersectsSphere(EE)){kE.copy(r).invert(),ME.copy(e.ray).applyMatrix4(kE);var o=i/((this.scale.x+this.scale.y+this.scale.z)/3),s=o*o,l=new gx,u=new gx,c=new gx,d=new gx,f=this.isLineSegments?2:1,h=n.index,p=n.attributes.position;if(null!==h)for(var v=Math.max(0,a.start),m=Math.min(h.count,a.start+a.count)-1;v<m;v+=f){var g=h.getX(v),y=h.getX(v+1);if(l.fromBufferAttribute(p,g),u.fromBufferAttribute(p,y),!(ME.distanceSqToSegment(l,u,d,c)>s)){d.applyMatrix4(this.matrixWorld);var b=e.ray.origin.distanceTo(d);b<e.near||b>e.far||t.push({distance:b,point:c.clone().applyMatrix4(this.matrixWorld),index:v,face:null,faceIndex:null,object:this})}}else for(var x=Math.max(0,a.start),w=Math.min(p.count,a.start+a.count)-1;x<w;x+=f){if(l.fromBufferAttribute(p,x),u.fromBufferAttribute(p,x+1),!(ME.distanceSqToSegment(l,u,d,c)>s)){d.applyMatrix4(this.matrixWorld);var S=e.ray.origin.distanceTo(d);S<e.near||S>e.far||t.push({distance:S,point:c.clone().applyMatrix4(this.matrixWorld),index:x,face:null,faceIndex:null,object:this})}}}}},{key:"updateMorphTargets",value:function(){var e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){var n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(var r=0,i=n.length;r<i;r++){var a=n[r].name||String(r);this.morphTargetInfluences.push(0),this.morphTargetDictionary[a]=r}}}}}]),n}(yw),CE=new gx,AE=new gx,PE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i;return(0,be.Z)(this,n),(i=t.call(this,e,r)).isLineSegments=!0,i.type="LineSegments",i}return(0,xe.Z)(n,[{key:"computeLineDistances",value:function(){var e=this.geometry;if(null===e.index){for(var t=e.attributes.position,n=[],r=0,i=t.count;r<i;r+=2)CE.fromBufferAttribute(t,r),AE.fromBufferAttribute(t,r+1),n[r]=0===r?0:n[r-1],n[r+1]=n[r]+CE.distanceTo(AE);e.setAttribute("lineDistance",new nS(n,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}]),n}(TE),RE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i;
2return(0,be.Z)(this,n),(i=t.call(this,e,r)).isLineLoop=!0,i.type="LineLoop",i}return(0,xe.Z)(n)}(TE),OE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isPointsMaterial=!0,r.type="PointsMaterial",r.color=new jw(16777215),r.map=null,r.alphaMap=null,r.size=1,r.sizeAttenuation=!0,r.fog=!0,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.size=e.size,this.sizeAttenuation=e.sizeAttenuation,this.fog=e.fog,this}}]),n}(Ow),LE=new qx,ZE=new Gx,NE=new Dx,IE=new gx,jE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new dS,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new OE;return(0,be.Z)(this,n),(e=t.call(this)).isPoints=!0,e.type="Points",e.geometry=r,e.material=i,e.updateMorphTargets(),e}return(0,xe.Z)(n,[{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.material=e.material,this.geometry=e.geometry,this}},{key:"raycast",value:function(e,t){var n=this.geometry,r=this.matrixWorld,i=e.params.Points.threshold,a=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),NE.copy(n.boundingSphere),NE.applyMatrix4(r),NE.radius+=i,!1!==e.ray.intersectsSphere(NE)){LE.copy(r).invert(),ZE.copy(e.ray).applyMatrix4(LE);var o=i/((this.scale.x+this.scale.y+this.scale.z)/3),s=o*o,l=n.index,u=n.attributes.position;if(null!==l)for(var c=Math.max(0,a.start),d=Math.min(l.count,a.start+a.count);c<d;c++){var f=l.getX(c);IE.fromBufferAttribute(u,f),DE(IE,f,s,r,e,t,this)}else for(var h=Math.max(0,a.start),p=Math.min(u.count,a.start+a.count);h<p;h++)IE.fromBufferAttribute(u,h),DE(IE,h,s,r,e,t,this)}}},{key:"updateMorphTargets",value:function(){var e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){var n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(var r=0,i=n.length;r<i;r++){var a=n[r].name||String(r);this.morphTargetInfluences.push(0),this.morphTargetDictionary[a]=r}}}}}]),n}(yw);function DE(e,t,n,r,i,a,o){var s=ZE.distanceSqToPoint(e);if(s<n){var l=new gx;ZE.closestPointToPoint(e,l),l.applyMatrix4(r);var u=i.ray.origin.distanceTo(l);if(u<i.near||u>i.far)return;a.push({distance:u,distanceToRay:Math.sqrt(s),point:l,index:t,face:null,object:o})}}var zE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s,l,u,c){var d;(0,be.Z)(this,n),(d=t.call(this,e,r,i,a,o,s,l,u,c)).isVideoTexture=!0,d.minFilter=void 0!==s?s:Tg,d.magFilter=void 0!==o?o:Tg,d.generateMipmaps=!1;var f=(0,cn.Z)(d);return"requestVideoFrameCallback"in e&&e.requestVideoFrameCallback((function t(){f.needsUpdate=!0,e.requestVideoFrameCallback(t)})),d}return(0,xe.Z)(n,[{key:"clone",value:function(){return new this.constructor(this.image).copy(this)}},{key:"update",value:function(){var e=this.image;!1==="requestVideoFrameCallback"in e&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}}]),n}(lx),UE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){var a;return(0,be.Z)(this,n),(a=t.call(this,{width:e,height:r})).isFramebufferTexture=!0,a.format=i,a.magFilter=Sg,a.minFilter=Sg,a.generateMipmaps=!1,a.needsUpdate=!0,a}return(0,xe.Z)(n)}(lx),FE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s,l,u,c,d,f,h){var p;return(0,be.Z)(this,n),(p=t.call(this,null,s,l,u,c,d,a,o,f,h)).isCompressedTexture=!0,p.image={width:r,height:i},p.mipmaps=e,p.flipY=!1,p.generateMipmaps=!1,p}return(0,xe.Z)(n)}(lx),BE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s){var l;return(0,be.Z)(this,n),(l=t.call(this,e,r,i,o,s)).isCompressedArrayTexture=!0,l.image.depth=a,l.wrapR=xg,l}return(0,xe.Z)(n)}(FE),VE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s,l,u,c){var d;return(0,be.Z)(this,n),(d=t.call(this,e,r,i,a,o,s,l,u,c)).isCanvasTexture=!0,d.needsUpdate=!0,d}return(0,xe.Z)(n)}(lx),HE=function(){function e(){(0,be.Z)(this,e),this.type="Curve",this.arcLengthDivisions=200}return(0,xe.Z)(e,[{key:"getPoint",value:function(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}},{key:"getPointAt",value:function(e,t){var n=this.getUtoTmapping(e);return this.getPoint(n,t)}},{key:"getPoints",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5,t=[],n=0;n<=e;n++)t.push(this.getPoint(n/e));return t}},{key:"getSpacedPoints",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5,t=[],n=0;n<=e;n++)t.push(this.getPointAt(n/e));return t}},{key:"getLength",value:function(){var e=this.getLengths();return e[e.length-1]}},{key:"getLengths",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.arcLengthDivisions;
2if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;var t,n=[],r=this.getPoint(0),i=0;n.push(0);for(var a=1;a<=e;a++)i+=(t=this.getPoint(a/e)).distanceTo(r),n.push(i),r=t;return this.cacheArcLengths=n,n}},{key:"updateArcLengths",value:function(){this.needsUpdate=!0,this.getLengths()}},{key:"getUtoTmapping",value:function(e,t){var n,r=this.getLengths(),i=0,a=r.length;n=t||e*r[a-1];for(var o,s=0,l=a-1;s<=l;)if((o=r[i=Math.floor(s+(l-s)/2)]-n)<0)s=i+1;else{if(!(o>0)){l=i;break}l=i-1}if(r[i=l]===n)return i/(a-1);var u=r[i];return(i+(n-u)/(r[i+1]-u))/(a-1)}},{key:"getTangent",value:function(e,t){var n=1e-4,r=e-n,i=e+n;r<0&&(r=0),i>1&&(i=1);var a=this.getPoint(r),o=this.getPoint(i),s=t||(a.isVector2?new Vb:new gx);return s.copy(o).sub(a).normalize(),s}},{key:"getTangentAt",value:function(e,t){var n=this.getUtoTmapping(e);return this.getTangent(n,t)}},{key:"computeFrenetFrames",value:function(e,t){for(var n=new gx,r=[],i=[],a=[],o=new gx,s=new qx,l=0;l<=e;l++){var u=l/e;r[l]=this.getTangentAt(u,new gx)}i[0]=new gx,a[0]=new gx;var c=Number.MAX_VALUE,d=Math.abs(r[0].x),f=Math.abs(r[0].y),h=Math.abs(r[0].z);d<=c&&(c=d,n.set(1,0,0)),f<=c&&(c=f,n.set(0,1,0)),h<=c&&n.set(0,0,1),o.crossVectors(r[0],n).normalize(),i[0].crossVectors(r[0],o),a[0].crossVectors(r[0],i[0]);for(var p=1;p<=e;p++){if(i[p]=i[p-1].clone(),a[p]=a[p-1].clone(),o.crossVectors(r[p-1],r[p]),o.length()>Number.EPSILON){o.normalize();var v=Math.acos(Zb(r[p-1].dot(r[p]),-1,1));i[p].applyMatrix4(s.makeRotationAxis(o,v))}a[p].crossVectors(r[p],i[p])}if(!0===t){var m=Math.acos(Zb(i[0].dot(i[e]),-1,1));m/=e,r[0].dot(o.crossVectors(i[0],i[e]))>0&&(m=-m);for(var g=1;g<=e;g++)i[g].applyMatrix4(s.makeRotationAxis(r[g],m*g)),a[g].crossVectors(r[g],i[g])}return{tangents:r,normals:i,binormals:a}}},{key:"clone",value:function(){return(new this.constructor).copy(this)}},{key:"copy",value:function(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}},{key:"toJSON",value:function(){var e={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}},{key:"fromJSON",value:function(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}}]),e}(),WE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2*Math.PI,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6],c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0;return(0,be.Z)(this,n),(e=t.call(this)).isEllipseCurve=!0,e.type="EllipseCurve",e.aX=r,e.aY=i,e.xRadius=a,e.yRadius=o,e.aStartAngle=s,e.aEndAngle=l,e.aClockwise=u,e.aRotation=c,e}return(0,xe.Z)(n,[{key:"getPoint",value:function(e,t){for(var n=t||new Vb,r=2*Math.PI,i=this.aEndAngle-this.aStartAngle,a=Math.abs(i)<Number.EPSILON;i<0;)i+=r;for(;i>r;)i-=r;i<Number.EPSILON&&(i=a?0:r),!0!==this.aClockwise||a||(i===r?i=-r:i-=r);var o=this.aStartAngle+e*i,s=this.aX+this.xRadius*Math.cos(o),l=this.aY+this.yRadius*Math.sin(o);if(0!==this.aRotation){var u=Math.cos(this.aRotation),c=Math.sin(this.aRotation),d=s-this.aX,f=l-this.aY;s=d*u-f*c+this.aX,l=d*c+f*u+this.aY}return n.set(s,l)}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.aX=e.aX,this.aY=e.aY,this.xRadius=e.xRadius,this.yRadius=e.yRadius,this.aStartAngle=e.aStartAngle,this.aEndAngle=e.aEndAngle,this.aClockwise=e.aClockwise,this.aRotation=e.aRotation,this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.aX=this.aX,e.aY=this.aY,e.xRadius=this.xRadius,e.yRadius=this.yRadius,e.aStartAngle=this.aStartAngle,e.aEndAngle=this.aEndAngle,e.aClockwise=this.aClockwise,e.aRotation=this.aRotation,e}},{key:"fromJSON",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.aX=e.aX,this.aY=e.aY,this.xRadius=e.xRadius,this.yRadius=e.yRadius,this.aStartAngle=e.aStartAngle,this.aEndAngle=e.aEndAngle,this.aClockwise=e.aClockwise,this.aRotation=e.aRotation,this}}]),n}(HE),GE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s){var l;return(0,be.Z)(this,n),(l=t.call(this,e,r,i,i,a,o,s)).isArcCurve=!0,l.type="ArcCurve",l}return(0,xe.Z)(n)}(WE);function qE(){var e=0,t=0,n=0,r=0;function i(i,a,o,s){e=i,t=o,n=-3*i+3*a-2*o-s,r=2*i-2*a+o+s}return{initCatmullRom:function(e,t,n,r,a){i(t,n,a*(n-e),a*(r-t))},initNonuniformCatmullRom:function(e,t,n,r,a,o,s){var l=(t-e)/a-(n-e)/(a+o)+(n-t)/o,u=(n-t)/o-(r-t)/(o+s)+(r-n)/s;i(t,n,l*=o,u*=o)},calc:function(i){var a=i*i;return e+t*i+n*a+r*(a*i)}}}var XE=new gx,YE=new qE,JE=new qE,KE=new qE,QE=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"centripetal",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;return(0,be.Z)(this,n),(e=t.call(this)).isCatmullRomCurve3=!0,e.type="CatmullRomCurve3",e.points=r,e.closed=i,e.curveType=a,e.tension=o,e}return(0,xe.Z)(n,[{key:"getPoint",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx,i=this.points,a=i.length,o=(a-(this.closed?0:1))*e,s=Math.floor(o),l=o-s;this.closed?s+=s>
20?0:(Math.floor(Math.abs(s)/a)+1)*a:0===l&&s===a-1&&(s=a-2,l=1),this.closed||s>0?t=i[(s-1)%a]:(XE.subVectors(i[0],i[1]).add(i[0]),t=XE);var u=i[s%a],c=i[(s+1)%a];if(this.closed||s+2<a?n=i[(s+2)%a]:(XE.subVectors(i[a-1],i[a-2]).add(i[a-1]),n=XE),"centripetal"===this.curveType||"chordal"===this.curveType){var d="chordal"===this.curveType?.5:.25,f=Math.pow(t.distanceToSquared(u),d),h=Math.pow(u.distanceToSquared(c),d),p=Math.pow(c.distanceToSquared(n),d);h<1e-4&&(h=1),f<1e-4&&(f=h),p<1e-4&&(p=h),YE.initNonuniformCatmullRom(t.x,u.x,c.x,n.x,f,h,p),JE.initNonuniformCatmullRom(t.y,u.y,c.y,n.y,f,h,p),KE.initNonuniformCatmullRom(t.z,u.z,c.z,n.z,f,h,p)}else"catmullrom"===this.curveType&&(YE.initCatmullRom(t.x,u.x,c.x,n.x,this.tension),JE.initCatmullRom(t.y,u.y,c.y,n.y,this.tension),KE.initCatmullRom(t.z,u.z,c.z,n.z,this.tension));return r.set(YE.calc(l),JE.calc(l),KE.calc(l)),r}},{key:"copy",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.points=[];for(var t=0,r=e.points.length;t<r;t++){var i=e.points[t];this.points.push(i.clone())}return this.closed=e.closed,this.curveType=e.curveType,this.tension=e.tension,this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);e.points=[];for(var t=0,r=this.points.length;t<r;t++){var i=this.points[t];e.points.push(i.toArray())}return e.closed=this.closed,e.curveType=this.curveType,e.tension=this.tension,e}},{key:"fromJSON",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.points=[];for(var t=0,r=e.points.length;t<r;t++){var i=e.points[t];this.points.push((new gx).fromArray(i))}return this.closed=e.closed,this.curveType=e.curveType,this.tension=e.tension,this}}]),n}(HE);function $E(e,t,n,r,i){var a=.5*(r-t),o=.5*(i-n),s=e*e;return(2*n-2*r+a+o)*(e*s)+(-3*n+3*r-2*a-o)*s+a*e+n}function eT(e,t,n,r){return function(e,t){var n=1-e;return n*n*t}(e,t)+function(e,t){return 2*(1-e)*e*t}(e,n)+function(e,t){return e*e*t}(e,r)}function tT(e,t,n,r,i){return function(e,t){var n=1-e;return n*n*n*t}(e,t)+function(e,t){var n=1-e;return 3*n*n*e*t}(e,n)+function(e,t){return 3*(1-e)*e*e*t}(e,r)+function(e,t){return e*e*e*t}(e,i)}var nT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Vb,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Vb,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Vb,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new Vb;return(0,be.Z)(this,n),(e=t.call(this)).isCubicBezierCurve=!0,e.type="CubicBezierCurve",e.v0=r,e.v1=i,e.v2=a,e.v3=o,e}return(0,xe.Z)(n,[{key:"getPoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Vb,n=this.v0,r=this.v1,i=this.v2,a=this.v3;return t.set(tT(e,n.x,r.x,i.x,a.x),tT(e,n.y,r.y,i.y,a.y)),t}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this.v3.copy(e.v3),this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e.v3=this.v3.toArray(),e}},{key:"fromJSON",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this.v3.fromArray(e.v3),this}}]),n}(HE),rT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new gx,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new gx,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new gx;return(0,be.Z)(this,n),(e=t.call(this)).isCubicBezierCurve3=!0,e.type="CubicBezierCurve3",e.v0=r,e.v1=i,e.v2=a,e.v3=o,e}return(0,xe.Z)(n,[{key:"getPoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx,n=this.v0,r=this.v1,i=this.v2,a=this.v3;return t.set(tT(e,n.x,r.x,i.x,a.x),tT(e,n.y,r.y,i.y,a.y),tT(e,n.z,r.z,i.z,a.z)),t}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this.v3.copy(e.v3),this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e.v3=this.v3.toArray(),e}},{key:"fromJSON",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this.v3.fromArray(e.v3),this}}]),n}(HE),iT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Vb,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Vb;return(0,be.Z)(this,n),(e=t.call(this)).isLineCurve=!0,e.type="LineCurve",e.v1=r,e.v2=i,e}return(0,xe.Z)(n,[{key:"getPoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Vb;return 1===e?t.copy(this.v2):(t.copy(this.v2).sub(this.v1),t.multiplyScalar(e).add(this.v1)),t}},{key:"getPointAt",value:function(e,t){return this.getPoint(e,t)}},{key:"getTangent",value:function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Vb).subVectors(this.v2,this.v1).normalize()}},{key:"getTangentAt",value:function(e,t){return this.getTangent(e,t)}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.v1.copy(e.v1),this.v2.copy(e.v2),this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}},{key:"fromJSON",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}]),n}(HE),aT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new gx,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx;return(0,be.Z)(this,n),(e=t.call(this)).isLineCurve3=!0,e.type="LineCurve3",e.v1=r,e.v2=i,e}return(0,xe.Z)(n,[{key:"getPoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx;return 1===e?t.copy(this.v2):(t.copy(this.v2).sub(this.v1),t.multiplyScalar(e).add(this.v1)),t}},{key:"getPointAt",value:function(e,t){return this.getPoint(e,t)}},{key:"getTangent",value:function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx).subVectors(this.v2,this.v1).normalize()}},{key:"getTangentAt",value:function(e,t){return this.getTangent(e,t)}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.v1.copy(e.v1),this.v2.copy(e.v2),this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}},{key:"fromJSON",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}]),n}(HE),oT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Vb,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Vb,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Vb;return(0,be.Z)(this,n),(e=t.call(this)).isQuadraticBezierCurve=!0,e.type="QuadraticBezierCurve",e.v0=r,e.v1=i,e.v2=a,e}return(0,xe.Z)(n,[{key:"getPoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Vb,n=this.v0,r=this.v1,i=this.v2;return t.set(eT(e,n.x,r.x,i.x),eT(e,n.y,r.y,i.y)),t}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}},{key:"fromJSON",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}]),n}(HE),sT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new gx,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new gx;return(0,be.Z)(this,n),(e=t.call(this)).isQuadraticBezierCurve3=!0,e.type="QuadraticBezierCurve3",e.v0=r,e.v1=i,e.v2=a,e}return(0,xe.Z)(n,[{key:"getPoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx,n=this.v0,r=this.v1,i=this.v2;return t.set(eT(e,n.x,r.x,i.x),eT(e,n.y,r.y,i.y),eT(e,n.z,r.z,i.z)),t}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}},{key:"fromJSON",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}]),n}(HE),lT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,be.Z)(this,n),(e=t.call(this)).isSplineCurve=!0,e.type="SplineCurve",e.points=r,e}return(0,xe.Z)(n,[{key:"getPoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Vb,n=this.points,r=(n.length-1)*e,i=Math.floor(r),a=r-i,o=n[0===i?i:i-1],s=n[i],l=n[i>n.length-2?n.length-1:i+1],u=n[i>n.length-3?n.length-1:i+2];return t.set($E(a,o.x,s.x,l.x,u.x),$E(a,o.y,s.y,l.y,u.y)),t}},{key:"copy",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.points=[];for(var t=0,r=e.points.length;t<r;t++){var i=e.points[t];this.points.push(i.clone())}return this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);e.points=[];for(var t=0,r=this.points.length;t<r;t++){var i=this.points[t];e.points.push(i.toArray())}return e}},{key:"fromJSON",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.points=[];for(var t=0,r=e.points.length;t<r;t++){var i=e.points[t];this.points.push((new Vb).fromArray(i))}return this}}]),n}(HE),uT=Object.freeze({__proto__:null,ArcCurve:GE,CatmullRomCurve3:QE,CubicBezierCurve:nT,CubicBezierCurve3:rT,EllipseCurve:WE,LineCurve:iT,LineCurve3:aT,QuadraticBezierCurve:oT,QuadraticBezierCurve3:sT,SplineCurve:lT}),cT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this)).type="CurvePath",e.curves=[],e.autoClose=!1,e}return(0,xe.Z)(n,[{key:"add",value:function(e){this.curves.push(e)}},{key:"closePath",value:function(){var e=this.curves[0].getPoint(0),t=this.curves[this.curves.length-1].getPoint(1);e.equals(t)||this.curves.push(new iT(t,e))}},{key:"getPoint",value:function(e,t){for(var n=e*this.getLength(),r=this.getCurveLengths(),i=0;i<r.length;){if(r[i]>=n){var a=r[i]-n,o=this.curves[i],s=o.getLength(),l=0===s?0:1-a/s;return o.getPointAt(l,t)}i++}return null}},{key:"getLength",value:function(){var e=this.getCurveLengths();return e[e.length-1]}},{key:"updateArcLengths",value:function(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}},{key:"getCurveLengths",value:function(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;for(var e=[],t=0,n=0,r=this.curves.length;n<r;n++)t+=this.curves[n].getLength(),e.push(t);return this.cacheLengths=e,e}},{key:"getSpacedPoints",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:40,t=[],n=0;n<=e;n++)t.push(this.getPoint(n/e));return this.autoClose&&t.push(t[0]),t}},{key:"getPoints",value:function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:12,n=[],r=0,i=this.curves;r<i.length;r++)for(var a=i[r],o=a.isEllipseCurve?2*t:a.isLineCurve||a.isLineCurve3?1:a.isS
2plineCurve?t*a.points.length:t,s=a.getPoints(o),l=0;l<s.length;l++){var u=s[l];e&&e.equals(u)||(n.push(u),e=u)}return this.autoClose&&n.length>1&&!n[n.length-1].equals(n[0])&&n.push(n[0]),n}},{key:"copy",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.curves=[];for(var t=0,r=e.curves.length;t<r;t++){var i=e.curves[t];this.curves.push(i.clone())}return this.autoClose=e.autoClose,this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);e.autoClose=this.autoClose,e.curves=[];for(var t=0,r=this.curves.length;t<r;t++){var i=this.curves[t];e.curves.push(i.toJSON())}return e}},{key:"fromJSON",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.autoClose=e.autoClose,this.curves=[];for(var t=0,r=e.curves.length;t<r;t++){var i=e.curves[t];this.curves.push((new uT[i.type]).fromJSON(i))}return this}}]),n}(HE),dT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).type="Path",r.currentPoint=new Vb,e&&r.setFromPoints(e),r}return(0,xe.Z)(n,[{key:"setFromPoints",value:function(e){this.moveTo(e[0].x,e[0].y);for(var t=1,n=e.length;t<n;t++)this.lineTo(e[t].x,e[t].y);return this}},{key:"moveTo",value:function(e,t){return this.currentPoint.set(e,t),this}},{key:"lineTo",value:function(e,t){var n=new iT(this.currentPoint.clone(),new Vb(e,t));return this.curves.push(n),this.currentPoint.set(e,t),this}},{key:"quadraticCurveTo",value:function(e,t,n,r){var i=new oT(this.currentPoint.clone(),new Vb(e,t),new Vb(n,r));return this.curves.push(i),this.currentPoint.set(n,r),this}},{key:"bezierCurveTo",value:function(e,t,n,r,i,a){var o=new nT(this.currentPoint.clone(),new Vb(e,t),new Vb(n,r),new Vb(i,a));return this.curves.push(o),this.currentPoint.set(i,a),this}},{key:"splineThru",value:function(e){var t=[this.currentPoint.clone()].concat(e),n=new lT(t);return this.curves.push(n),this.currentPoint.copy(e[e.length-1]),this}},{key:"arc",value:function(e,t,n,r,i,a){var o=this.currentPoint.x,s=this.currentPoint.y;return this.absarc(e+o,t+s,n,r,i,a),this}},{key:"absarc",value:function(e,t,n,r,i,a){return this.absellipse(e,t,n,n,r,i,a),this}},{key:"ellipse",value:function(e,t,n,r,i,a,o,s){var l=this.currentPoint.x,u=this.currentPoint.y;return this.absellipse(e+l,t+u,n,r,i,a,o,s),this}},{key:"absellipse",value:function(e,t,n,r,i,a,o,s){var l=new WE(e,t,n,r,i,a,o,s);if(this.curves.length>0){var u=l.getPoint(0);u.equals(this.currentPoint)||this.lineTo(u.x,u.y)}this.curves.push(l);var c=l.getPoint(1);return this.currentPoint.copy(c),this}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.currentPoint.copy(e.currentPoint),this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.currentPoint=this.currentPoint.toArray(),e}},{key:"fromJSON",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.currentPoint.fromArray(e.currentPoint),this}}]),n}(cT),fT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[new Vb(0,-.5),new Vb(.5,0),new Vb(0,.5)],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2*Math.PI;(0,be.Z)(this,n),(e=t.call(this)).type="LatheGeometry",e.parameters={points:r,segments:i,phiStart:a,phiLength:o},i=Math.floor(i),o=Zb(o,0,2*Math.PI);for(var s=[],l=[],u=[],c=[],d=[],f=1/i,h=new gx,p=new Vb,v=new gx,m=new gx,g=new gx,y=0,b=0,x=0;x<=r.length-1;x++)switch(x){case 0:y=r[x+1].x-r[x].x,b=r[x+1].y-r[x].y,v.x=1*b,v.y=-y,v.z=0*b,g.copy(v),v.normalize(),c.push(v.x,v.y,v.z);break;case r.length-1:c.push(g.x,g.y,g.z);break;default:y=r[x+1].x-r[x].x,b=r[x+1].y-r[x].y,v.x=1*b,v.y=-y,v.z=0*b,m.copy(v),v.x+=g.x,v.y+=g.y,v.z+=g.z,v.normalize(),c.push(v.x,v.y,v.z),g.copy(m)}for(var w=0;w<=i;w++)for(var S=a+w*f*o,_=Math.sin(S),k=Math.cos(S),M=0;M<=r.length-1;M++){h.x=r[M].x*_,h.y=r[M].y,h.z=r[M].x*k,l.push(h.x,h.y,h.z),p.x=w/i,p.y=M/(r.length-1),u.push(p.x,p.y);var E=c[3*M+0]*_,T=c[3*M+1],C=c[3*M+0]*k;d.push(E,T,C)}for(var A=0;A<i;A++)for(var P=0;P<r.length-1;P++){var R=P+A*r.length,O=R,L=R+r.length,Z=R+r.length+1,N=R+1;s.push(O,L,N),s.push(Z,N,L)}return e.setIndex(s),e.setAttribute("position",new nS(l,3)),e.setAttribute("uv",new nS(u,2)),e.setAttribute("normal",new nS(d,3)),e}
2return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}],[{key:"fromJSON",value:function(e){return new n(e.points,e.segments,e.phiStart,e.phiLength)}}]),n}(dS),hT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:8;(0,be.Z)(this,n);var s=new dT;return s.absarc(0,-i/2,r,1.5*Math.PI,0),s.absarc(0,i/2,r,0,.5*Math.PI),(e=t.call(this,s.getPoints(a),o)).type="CapsuleGeometry",e.parameters={radius:r,height:i,capSegments:a,radialSegments:o},e}return(0,xe.Z)(n,null,[{key:"fromJSON",value:function(e){return new n(e.radius,e.length,e.capSegments,e.radialSegments)}}]),n}(fT),pT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2*Math.PI;(0,be.Z)(this,n),(e=t.call(this)).type="CircleGeometry",e.parameters={radius:r,segments:i,thetaStart:a,thetaLength:o},i=Math.max(3,i);var s=[],l=[],u=[],c=[],d=new gx,f=new Vb;l.push(0,0,0),u.push(0,0,1),c.push(.5,.5);for(var h=0,p=3;h<=i;h++,p+=3){var v=a+h/i*o;d.x=r*Math.cos(v),d.y=r*Math.sin(v),l.push(d.x,d.y,d.z),u.push(0,0,1),f.x=(l[p]/r+1)/2,f.y=(l[p+1]/r+1)/2,c.push(f.x,f.y)}for(var m=1;m<=i;m++)s.push(m,m+1,0);return e.setIndex(s),e.setAttribute("position",new nS(l,3)),e.setAttribute("normal",new nS(u,3)),e.setAttribute("uv",new nS(c,2)),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}],[{key:"fromJSON",value:function(e){return new n(e.radius,e.segments,e.thetaStart,e.thetaLength)}}]),n}(dS),vT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:32,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:2*Math.PI;(0,be.Z)(this,n),(e=t.call(this)).type="CylinderGeometry",e.parameters={radiusTop:r,radiusBottom:i,height:a,radialSegments:o,heightSegments:s,openEnded:l,thetaStart:u,thetaLength:c};var d=(0,cn.Z)(e);o=Math.floor(o),s=Math.floor(s);var f=[],h=[],p=[],v=[],m=0,g=[],y=a/2,b=0;function x(e){for(var t=m,n=new Vb,a=new gx,s=0,l=!0===e?r:i,g=!0===e?1:-1,x=1;x<=o;x++)h.push(0,y*g,0),p.push(0,g,0),v.push(.5,.5),m++;for(var w=m,S=0;S<=o;S++){var _=S/o*c+u,k=Math.cos(_),M=Math.sin(_);a.x=l*M,a.y=y*g,a.z=l*k,h.push(a.x,a.y,a.z),p.push(0,g,0),n.x=.5*k+.5,n.y=.5*M*g+.5,v.push(n.x,n.y),m++}for(var E=0;E<o;E++){var T=t+E,C=w+E;!0===e?f.push(C,C+1,T):f.push(C+1,C,T),s+=3}d.addGroup(b,s,!0===e?1:2),b+=s}return function(){for(var e=new gx,t=new gx,n=0,l=(i-r)/a,x=0;x<=s;x++){for(var w=[],S=x/s,_=S*(i-r)+r,k=0;k<=o;k++){var M=k/o,E=M*c+u,T=Math.sin(E),C=Math.cos(E);t.x=_*T,t.y=-S*a+y,t.z=_*C,h.push(t.x,t.y,t.z),e.set(T,l,C).normalize(),p.push(e.x,e.y,e.z),v.push(M,1-S),w.push(m++)}g.push(w)}for(var A=0;A<o;A++)for(var P=0;P<s;P++){var R=g[P][A],O=g[P+1][A],L=g[P+1][A+1],Z=g[P][A+1];f.push(R,O,Z),f.push(O,L,Z),n+=6}d.addGroup(b,n,0),b+=n}(),!1===l&&(r>0&&x(!0),i>0&&x(!1)),e.setIndex(f),e.setAttribute("position",new nS(h,3)),e.setAttribute("normal",new nS(p,3)),e.setAttribute("uv",new nS(v,2)),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}],[{key:"fromJSON",value:function(e){return new n(e.radiusTop,e.radiusBottom,e.height,e.radialSegments,e.heightSegments,e.o
2penEnded,e.thetaStart,e.thetaLength)}}]),n}(dS),mT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:32,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:2*Math.PI;return(0,be.Z)(this,n),(e=t.call(this,0,r,i,a,o,s,l,u)).type="ConeGeometry",e.parameters={radius:r,height:i,radialSegments:a,heightSegments:o,openEnded:s,thetaStart:l,thetaLength:u},e}return(0,xe.Z)(n,null,[{key:"fromJSON",value:function(e){return new n(e.radius,e.height,e.radialSegments,e.heightSegments,e.openEnded,e.thetaStart,e.thetaLength)}}]),n}(vT),gT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;(0,be.Z)(this,n),(e=t.call(this)).type="PolyhedronGeometry",e.parameters={vertices:r,indices:i,radius:a,detail:o};var s=[],l=[];function u(e,t,n,r){for(var i=r+1,a=[],o=0;o<=i;o++){a[o]=[];for(var s=e.clone().lerp(n,o/i),l=t.clone().lerp(n,o/i),u=i-o,d=0;d<=u;d++)a[o][d]=0===d&&o===i?s:s.clone().lerp(l,d/u)}for(var f=0;f<i;f++)for(var h=0;h<2*(i-f)-1;h++){var p=Math.floor(h/2);h%2===0?(c(a[f][p+1]),c(a[f+1][p]),c(a[f][p])):(c(a[f][p+1]),c(a[f+1][p+1]),c(a[f+1][p]))}}function c(e){s.push(e.x,e.y,e.z)}function d(e,t){var n=3*e;t.x=r[n+0],t.y=r[n+1],t.z=r[n+2]}function f(e,t,n,r){r<0&&1===e.x&&(l[t]=e.x-1),0===n.x&&0===n.z&&(l[t]=r/2/Math.PI+.5)}function h(e){return Math.atan2(e.z,-e.x)}return function(e){for(var t=new gx,n=new gx,r=new gx,a=0;a<i.length;a+=3)d(i[a+0],t),d(i[a+1],n),d(i[a+2],r),u(t,n,r,e)}(o),function(e){for(var t=new gx,n=0;n<s.length;n+=3)t.x=s[n+0],t.y=s[n+1],t.z=s[n+2],t.normalize().multiplyScalar(e),s[n+0]=t.x,s[n+1]=t.y,s[n+2]=t.z}(a),function(){for(var e=new gx,t=0;t<s.length;t+=3){e.x=s[t+0],e.y=s[t+1],e.z=s[t+2];var n=h(e)/2/Math.PI+.5,r=(i=e,Math.atan2(-i.y,Math.sqrt(i.x*i.x+i.z*i.z))/Math.PI+.5);l.push(n,1-r)}var i;(function(){for(var e=new gx,t=new gx,n=new gx,r=new gx,i=new Vb,a=new Vb,o=new Vb,u=0,c=0;u<s.length;u+=9,c+=6){e.set(s[u+0],s[u+1],s[u+2]),t.set(s[u+3],s[u+4],s[u+5]),n.set(s[u+6],s[u+7],s[u+8]),i.set(l[c+0],l[c+1]),a.set(l[c+2],l[c+3]),o.set(l[c+4],l[c+5]),r.copy(e).add(t).add(n).divideScalar(3);var d=h(r);f(i,c+0,e,d),f(a,c+2,t,d),f(o,c+4,n,d)}})(),function(){for(var e=0;e<l.length;e+=6){var t=l[e+0],n=l[e+2],r=l[e+4],i=Math.max(t,n,r),a=Math.min(t,n,r);i>
2.9&&a<.1&&(t<.2&&(l[e+0]+=1),n<.2&&(l[e+2]+=1),r<.2&&(l[e+4]+=1))}}()}(),e.setAttribute("position",new nS(s,3)),e.setAttribute("normal",new nS(s.slice(),3)),e.setAttribute("uv",new nS(l,2)),0===o?e.computeVertexNormals():e.normalizeNormals(),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}],[{key:"fromJSON",value:function(e){return new n(e.vertices,e.indices,e.radius,e.details)}}]),n}(dS),yT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,be.Z)(this,n);var a=(1+Math.sqrt(5))/2,o=1/a,s=[-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-o,-a,0,-o,a,0,o,-a,0,o,a,-o,-a,0,-o,a,0,o,-a,0,o,a,0,-a,0,-o,a,0,-o,-a,0,o,a,0,o];return(e=t.call(this,s,[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,
219,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],r,i)).type="DodecahedronGeometry",e.parameters={radius:r,detail:i},e}return(0,xe.Z)(n,null,[{key:"fromJSON",value:function(e){return new n(e.radius,e.detail)}}]),n}(gT),bT=new gx,xT=new gx,wT=new gx,ST=new Pw,_T=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if((0,be.Z)(this,n),(e=t.call(this)).type="EdgesGeometry",e.parameters={geometry:r,thresholdAngle:i},null!==r){for(var a=Math.pow(10,4),o=Math.cos(Rb*i),s=r.getIndex(),l=r.getAttribute("position"),u=s?s.count:l.count,c=[0,0,0],d=["a","b","c"],f=new Array(3),h={},p=[],v=0;v<u;v+=3){s?(c[0]=s.getX(v),c[1]=s.getX(v+1),c[2]=s.getX(v+2)):(c[0]=v,c[1]=v+1,c[2]=v+2);var m=ST.a,g=ST.b,y=ST.c;if(m.fromBufferAttribute(l,c[0]),g.fromBufferAttribute(l,c[1]),y.fromBufferAttribute(l,c[2]),ST.getNormal(wT),f[0]="".concat(Math.round(m.x*a),",").concat(Math.round(m.y*a),",").concat(Math.round(m.z*a)),f[1]="".concat(Math.round(g.x*a),",").concat(Math.round(g.y*a),",").concat(Math.round(g.z*a)),f[2]="".concat(Math.round(y.x*a),",").concat(Math.round(y.y*a),",").concat(Math.round(y.z*a)),f[0]!==f[1]&&f[1]!==f[2]&&f[2]!==f[0])for(var b=0;b<3;b++){var x=(b+1)%3,w=f[b],S=f[x],_=ST[d[b]],k=ST[d[x]],M="".concat(w,"_").concat(S),E="".concat(S,"_").concat(w);E in h&&h[E]?(wT.dot(h[E].normal)<=o&&(p.push(_.x,_.y,_.z),p.push(k.x,k.y,k.z)),h[E]=null):M in h||(h[M]={index0:c[b],index1:c[x],normal:wT.clone()})}}for(var T in h)if(h[T]){var C=h[T],A=C.index0,P=C.index1;bT.fromBufferAttribute(l,A),xT.fromBufferAttribute(l,P),p.push(bT.x,bT.y,bT.z),p.push(xT.x,xT.y,xT.z)}e.setAttribute("position",new nS(p,3))}return e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}]),n}(dS),kT=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this,e)).uuid=Lb(),r.type="Shape",r.holes=[],r}return(0,xe.Z)(n,[{key:"getPointsHoles",value:function(e){for(var t=[],n=0,r=this.holes.length;n<r;n++)t[n]=this.holes[n].getPoints(e);return t}},{key:"extractPoints",value:function(e){return{shape:this.getPoints(e),holes:this.getPointsHoles(e)}}},{key:"copy",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.holes=[];for(var t=0,r=e.holes.length;t<r;t++){var i=e.holes[t];this.holes.push(i.clone())}return this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);e.uuid=this.uuid,e.holes=[];for(var t=0,r=this.holes.length;t<r;t++){var i=this.holes[t];e.holes.push(i.toJSON())}return e}},{key:"fromJSON",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"fromJSON",this).call(this,e),this.uuid=e.uuid,this.holes=[];for(var t=0,r=e.holes.length;t<r;t++){var i=e.holes[t];this.holes.push((new dT).fromJSON(i))}return this}}]),n}(dT),MT=function(e,t){var n,r,i,a,o,s,l,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,c=t&&t.length,d=c?t[0]*u:e.length,f=ET(e,0,d,u,!0),h=[];if(!f||f.next===f.prev)return h;if(c&&(f=function(e,t,n,r){var i,a,o,s=[];for(i=0,a=t.length;i<a;i++)(o=ET(e,t[i]*r,i<a-1?t[i+1]*r:e.length,r,!1))===o.next&&(o.steiner=!0),s.push(jT(o));for(s.sort(LT),i=0;i<s.length;i++)n=ZT(s[i],n);return n}(e,t,f,u)),e.length>80*u){n=i=e[0],r=a=e[1];for(var p=u;p<d;p+=u)(o=e[p])<n&&(n=o),(s=e[p+1])<r&&(r=s),o>i&&(i=o),s>a&&(a=s);l=0!==(l=Math.max(i-n,a-r))?32767/l:0}return CT(f,h,u,n,r,l,0),h};function ET(e,t,n,r,i){var a,o;if(i===function(e,t,n,r){for(var i=0,a=t,o=n-r;a<n;a+=r)i+=(e[o]-e[a])*(e[a+1]+e[o+1]),o=a;return i}(e,t,n,r)>0)for(a=t;a<n;a+=r)o=qT(a,e[a],e[a+1],o);else for(a=n-r;a>=t;a-=r)o=qT(a,e[a],e[a+1],o);return o&&FT(o,o.next)&&(XT(o),o=o.next),o}function TT(e,t){if(!e)return e;t||(t=e);var n,r=e;do{if(n=!1,r.steiner||!FT(r,r.next)&&0!==UT(r.prev,r,r.next))r=r.next;else{if(XT(r),(r=t=r.prev)===r.next)break;n=!0}}while(n||r!==t);return t}function CT(e,t,n,r,i,a,o){if(e){!o&&a&&function(e,t,n,r){var i=e;do{0===i.z&&(i.z=IT(i.x,i.y,t,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){var t,n,r,i,a,o,s,l,u=1;do{for(n=e,e=null,a=null,o=0;n;){for(o++,r=n,s=0,t=0;t<u&&(s++,r=r.nextZ);t++);for(l=u;s>0||l>0&&r;)0!==s&&(0===l||!r||n.z<=r.z)?(i=n,n=n.nextZ,s--):(i=r,r=r.nextZ,l--),a?a.nextZ=i:e=i,i.prevZ=a,a=i;n=r}a.nextZ=null,u*=2}while(o>1)}(i)}(e,r,i,a);for(var s,l,u=e;e.prev!==e.next;)if(s=e.prev,l=e.next,a?PT(e,r,i,a):AT(e))t.push(s.i/n|0),t.push(e.i/n|0),t.push(l.i/n|0),XT(e),e=l.next,u=l.next;else if((e=l)===u){o?1===o?CT(e=RT(TT(e),t,n),t,n,r,i,a,2):2===o&&OT(e,t,n,r,i,a):CT(TT(e),t,n,r,i,a,1);break}}}function AT(e){var t=e.prev,n=e,r=e.next;if(UT(t,n,r)>=0)return!1;for(var i=t.x,a=n.x,o=r.x,s=t.y,l=n.y,u=r.y,c=i<a?i<o?i:o:a<o?a:o,d=s<l?s<u?s:u:l<u?l:u,f=i>a?i>o?i:o:a>o?a:o,h=s>l?s>u?s:u:l>u?l:u,p=r.next;p!==t;){if(p.x>=c&&p.x<=f&&p.y>=d&&p.y<=h&&DT(i,s,a,l,o,u,p.x,p.y)&&UT(p.prev,p,p.next)>=0)return!1;p=p.next}return!0}function PT(e,t,n,r){var i=e.prev,a=e,o=e.next;if(UT(i,a,o)>=0)return!1;
vendor: 1,329 bytes, line 2
2for(var s=i.x,l=a.x,u=o.x,c=i.y,d=a.y,f=o.y,h=s<l?s<u?s:u:l<u?l:u,p=c<d?c<f?c:f:d<f?d:f,v=s>l?s>u?s:u:l>u?l:u,m=c>d?c>f?c:f:d>f?d:f,g=IT(h,p,t,n,r),y=IT(v,m,t,n,r),b=e.prevZ,x=e.nextZ;b&&b.z>=g&&x&&x.z<=y;){if(b.x>=h&&b.x<=v&&b.y>=p&&b.y<=m&&b!==i&&b!==o&&DT(s,c,l,d,u,f,b.x,b.y)&&UT(b.prev,b,b.next)>=0)return!1;if(b=b.prevZ,x.x>=h&&x.x<=v&&x.y>=p&&x.y<=m&&x!==i&&x!==o&&DT(s,c,l,d,u,f,x.x,x.y)&&UT(x.prev,x,x.next)>=0)return!1;x=x.nextZ}for(;b&&b.z>=g;){if(b.x>=h&&b.x<=v&&b.y>=p&&b.y<=m&&b!==i&&b!==o&&DT(s,c,l,d,u,f,b.x,b.y)&&UT(b.prev,b,b.next)>=0)return!1;b=b.prevZ}for(;x&&x.z<=y;){if(x.x>=h&&x.x<=v&&x.y>=p&&x.y<=m&&x!==i&&x!==o&&DT(s,c,l,d,u,f,x.x,x.y)&&UT(x.prev,x,x.next)>=0)return!1;x=x.nextZ}return!0}function RT(e,t,n){var r=e;do{var i=r.prev,a=r.next.next;!FT(i,a)&&BT(i,r,r.next,a)&&WT(i,a)&&WT(a,i)&&(t.push(i.i/n|0),t.push(r.i/n|0),t.push(a.i/n|0),XT(r),XT(r.next),r=e=a),r=r.next}while(r!==e);return TT(r)}function OT(e,t,n,r,i,a){var o=e;do{for(var s=o.next.next;s!==o.prev;){if(o.i!==s.i&&zT(o,s)){var l=GT(o,s);return o=TT(o,o.next),l=TT(l,l.next),CT(o,t,n,r,i,a,0),void CT(l,t,n,r,i,a,0)}s=s.next}o=o.next}while(o!==e)}function LT(e,t){return e.x-t.x}function ZT(e,t){var n=function(e,t){var n,r=t,i=-1/0,a=e.x,o=e.y;do{if(o<=r.y&&o>=r.next.y&&r.next.y!==r.y){var s=r.x+(o-r.y)*(r.next.x-r.x)/(r.next.y-r.y
2);if(s<=a&&s>i&&(i=s,n=r.x<r.next.x?r:r.next,s===a))return n}r=r.next}while(r!==t);if(!n)return null;var l,u=n,c=n.x,d=n.y,f=1/0;r=n;do{a>=r.x&&r.x>=c&&a!==r.x&&DT(o<d?a:i,o,c,d,o<d?i:a,o,r.x,r.y)&&(l=Math.abs(o-r.y)/(a-r.x),WT(r,e)&&(l<f||l===f&&(r.x>n.x||r.x===n.x&&NT(n,r)))&&(n=r,f=l)),r=r.next}while(r!==u);return n}(e,t);if(!n)return t;var r=GT(n,e);return TT(r,r.next),TT(n,n.next)}function NT(e,t){return UT(e.prev,e,t.prev)<0&&UT(t.next,e,e.next)<0}function IT(e,t,n,r,i){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-n)*i|0)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-r)*i|0)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function jT(e){var t=e,n=e;do{(t.x<n.x||t.x===n.x&&t.y<n.y)&&(n=t),t=t.next}while(t!==e);return n}function DT(e,t,n,r,i,a,o,s){return(i-o)*(t-s)>=(e-o)*(a-s)&&(e-o)*(r-s)>=(n-o)*(t-s)&&(n-o)*(a-s)>=(i-o)*(r-s)}function zT(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&BT(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(e,t)&&(WT(e,t)&&WT(t,e)&&function(e,t){var n=e,r=!1,i=(e.x+t.x)/2,a=(e.y+t.y)/2;do{n.y>a!==n.next.y>a&&n.next.y!==n.y&&i<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}(e,t)&&(UT(e.prev,e,t.prev)||UT(e,t.prev,t))||FT(e,t)&&UT(e.prev,e,e.next)>0&&UT(t.prev,t,t.next)>0)}function UT(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function FT(e,t){return e.x===t.x&&e.y===t.y}function BT(e,t,n,r){var i=HT(UT(e,t,n)),a=HT(UT(e,t,r)),o=HT(UT(n,r,e)),s=HT(UT(n,r,t));return i!==a&&o!==s||(!(0!==i||!VT(e,n,t))||(!(0!==a||!VT(e,r,t))||(!(0!==o||!VT(n,e,r))||!(0!==s||!VT(n,t,r)))))}function VT(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function HT(e){return e>0?1:e<0?-1:0}function WT(e,t){return UT(e.prev,e,e.next)<0?UT(e,t,e.next)>=0&&UT(e,e.prev,t)>=0:UT(e,t,e.prev)<0||UT(e,e.next,t)<0}function GT(e,t){var n=new YT(e.i,e.x,e.y),r=new YT(t.i,t.x,t.y),i=e.next,a=t.prev;return e.next=t,t.prev=e,n.next=i,i.prev=n,r.next=n,n.prev=r,a.next=r,r.prev=a,r}function qT(e,t,n,r){var i=new YT(e,t,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function XT(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function YT(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}var JT=function(){function e(){(0,be.Z)(this,e)}return(0,xe.Z)(e,null,[{key:"area",value:function(e){for(var t=e.length,n=0,r=t-1,i=0;i<t;r=i++)n+=e[r].x*e[i].y-e[i].x*e[r].y;return.5*n}},{key:"isClockWise",value:function(t){return e.area(t)<0}},{key:"triangulateShape",value:function(e,t){var n=[],r=[],i=[];KT(e),QT(n,e);var a=e.length;t.forEach(KT);for(var o=0;o<t.length;o++)r.push(a),a+=t[o].length,QT(n,t[o]);for(var s=MT(n,r),l=0;l<s.length;l+=3)i.push(s.slice(l,l+3));return i}}]),e}();function KT(e){var t=e.length;t>2&&e[t-1].equals(e[0])&&e.pop()}function QT(e,t){for(var n=0;n<t.length;n++)e.push(t[n].x),e.push(t[n].y)}var $T=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new kT([new Vb(.5,.5),new Vb(-.5,.5),new Vb(-.5,-.5),new Vb(.5,-.5)]),i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,be.Z)(this,n),(e=t.call(this)).type="ExtrudeGeometry",e.parameters={shapes:r,options:i},r=Array.isArray(r)?r:[r];for(var a=(0,cn.Z)(e),o=[],s=[],l=0,u=r.length;l<u;l++){c(r[l])}function c(e){var t,n,r,l,u,c=[],d=void 0!==i.curveSegments?i.curveSegments:12,f=void 0!==i.steps?i.steps:1,h=void 0!==i.depth?i.depth:1,p=void 0===i.bevelEnabled||i.bevelEnabled,v=void 0!==i.bevelThickness?i.bevelThickness:.2,m=void 0!==i.bevelSize?i.bevelSize:v-.1,g=void 0!==i.bevelOffset?i.bevelOffset:0,y=void 0!==i.bevelSegments?i.bevelSegments:3,b=i.extrudePath,x=void 0!==i.UVGenerator?i.UVGenerator:eC,w=!1;b&&(t=b.getSpacedPoints(f),w=!0,p=!1,n=b.computeFrenetFrames(f,!1),r=new gx,l=new gx,u=new gx),p||(y=0,v=0,m=0,g=0);var S=e.extractPoints(d),_=S.shape,k=S.holes;if(!JT.isClockWise(_)){_=_.reverse();for(var M=0,E=k.length;M<E;M++){var T=k[M];JT.isClockWise(T)&&(k[M]=T.reverse())}}for(var C=JT.triangulateShape(_,k),A=_,P=0,R=k.length;P<R;P++){var O=k[P];_=_.concat(O)}function L(e,t,n){return t||console.error("THREE.ExtrudeGeometry: vec does not exist"),e.clone().addScaledVector(t,n)}var Z=_.length,N=C.length;function I(e,t,n){var r,i,a,o=e.x-t.x,s=e.y-t.y,l=n.x-e.x,u=n.y-e.y,c=o
2*o+s*s,d=o*u-s*l;if(Math.abs(d)>Number.EPSILON){var f=Math.sqrt(c),h=Math.sqrt(l*l+u*u),p=t.x-s/f,v=t.y+o/f,m=((n.x-u/h-p)*u-(n.y+l/h-v)*l)/(o*u-s*l),g=(r=p+o*m-e.x)*r+(i=v+s*m-e.y)*i;if(g<=2)return new Vb(r,i);a=Math.sqrt(g/2)}else{var y=!1;o>Number.EPSILON?l>Number.EPSILON&&(y=!0):o<-Number.EPSILON?l<-Number.EPSILON&&(y=!0):Math.sign(s)===Math.sign(u)&&(y=!0),y?(r=-s,i=o,a=Math.sqrt(c)):(r=o,i=s,a=Math.sqrt(c/2))}return new Vb(r/a,i/a)}for(var j=[],D=0,z=A.length,U=z-1,F=D+1;D<z;D++,U++,F++)U===z&&(U=0),F===z&&(F=0),j[D]=I(A[D],A[U],A[F]);for(var B,V=[],H=j.concat(),W=0,G=k.length;W<G;W++){var q=k[W];B=[];for(var X=0,Y=q.length,J=Y-1,K=X+1;X<Y;X++,J++,K++)J===Y&&(J=0),K===Y&&(K=0),B[X]=I(q[X],q[J],q[K]);V.push(B),H=H.concat(B)}for(var Q=0;Q<y;Q++){for(var $=Q/y,ee=v*Math.cos($*Math.PI/2),te=m*Math.sin($*Math.PI/2)+g,ne=0,re=A.length;ne<re;ne++){var ie=L(A[ne],j[ne],te);Re(ie.x,ie.y,-ee)}for(var ae=0,oe=k.length;ae<oe;ae++){var se=k[ae];B=V[ae];for(var le=0,ue=se.length;le<ue;le++){var ce=L(se[le],B[le],te);Re(ce.x,ce.y,-ee)}}}for(var de=m+g,fe=0;fe<Z;fe++){var he=p?L(_[fe],H[fe],de):_[fe];w?(l.copy(n.normals[0]).multiplyScalar(he.x),r.copy(n.binormals[0]).multiplyScalar(he.y),u.copy(t[0]).add(l).add(r),Re(u.x,u.y,u.z)):Re(he.x,he.y,0)}for(var pe=1;pe<=f;pe++)for(var ve=0;ve<Z;ve++){var me=p?L(_[ve],H[ve],de):_[ve];w?(l.copy(n.normals[pe]).multiplyScalar(me.x),r.copy(n.binormals[pe]).multiplyScalar(me.y),u.copy(t[pe]).add(l).add(r),Re(u.x,u.y,u.z)):Re(me.x,me.y,h/f*pe)}for(var ge=y-1;ge>=0;ge--){for(var ye=ge/y,be=v*Math.cos(ye*Math.PI/2),xe=m*Math.sin(ye*Math.PI/2)+g,we=0,Se=A.length;we<Se;we++){var _e=L(A[we],j[we],xe);Re(_e.x,_e.y,h+be)}for(var ke=0,Me=k.length;ke<Me;ke++){var Ee=k[ke];B=V[ke];for(var Te=0,Ce=Ee.length;Te<Ce;Te++){var Ae=L(Ee[Te],B[Te],xe);w?Re(Ae.x,Ae.y+t[f-1].y,t[f-1].x+be):Re(Ae.x,Ae.y,h+be)}}}function Pe(e,t){for(var n=e.length;--n>=0;){var r=n,i=n-1;i<0&&(i=e.length-1);for(var a=0,o=f+2*y;a<o;a++){var s=Z*a,l=Z*(a+1);Le(t+r+s,t+i+s,t+i+l,t+r+l)}}}function Re(e,t,n){c.push(e),c.push(t),c.push(n)}function Oe(e,t,n){Ze(e),Ze(t),Ze(n);var r=o.length/3,i=x.generateTopUV(a,o,r-3,r-2,r-1);Ne(i[0]),Ne(i[1]),Ne(i[2])}function Le(e,t,n,r){Ze(e),Ze(t),Ze(r),Ze(t),Ze(n),Ze(r);var i=o.length/3,s=x.generateSideWallUV(a,o,i-6,i-3,i-2,i-1);Ne(s[0]),Ne(s[1]),Ne(s[3]),Ne(s[1]),Ne(s[2]),Ne(s[3])}function Ze(e){o.push(c[3*e+0]),o.push(c[3*e+1]),o.push(c[3*e+2])}function Ne(e){s.push(e.x),s.push(e.y)}!function(){var e=o.length/3;if(p){for(var t=0,n=Z*t,r=0;r<N;r++){var i=C[r];Oe(i[2]+n,i[1]+n,i[0]+n)}n=Z*(t=f+2*y);for(var s=0;s<N;s++){var l=C[s];Oe(l[0]+n,l[1]+n,l[2]+n)}}else{for(var u=0;u<N;u++){var c=C[u];Oe(c[2],c[1],c[0])}for(var d=0;d<N;d++){var h=C[d];Oe(h[0]+Z*f,h[1]+Z*f,h[2]+Z*f)}}a.addGroup(e,o.length/3-e,0)}(),function(){var e=o.length/3,t=0;Pe(A,t),t+=A.length;for(var n=0,r=k.length;n<r;n++){var i=k[n];Pe(i,t),t+=i.length}a.addGroup(e,o.length/3-e,1)}()}return e.setAttribute("position",new nS(o,3)),e.setAttribute("uv",new nS(s,2)),e.computeVertexNormals(),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return function(e,t,n){if(n.shapes=[],Array.isArray(e))for(var r=0,i=e.length;r<i;r++){var a=e[r];n.shapes.push(a.uuid)}else n.shapes.push(e.uuid);n.options=Object.assign({},t),void 0!==t.extrudePath&&(n.options.extrudePath=t.extrudePath.toJSON());return n}(this.parameters.shapes,this.parameters.options,e)}}],[{key:"fromJSON",value:function(e,t){for(var r=[],i=0,a=e.shapes.length;i<a;i++){var o=t[e.shapes[i]];r.push(o)}var s=e.options.extrudePath;return void 0!==s&&(e.options.extrudePath=(new uT[s.type]).fromJSON(s)),new n(r,e.options)}}]),n}(dS),eC={generateTopUV:function(e,t,n,r,i){var a=t[3*n],o=t[3*n+1],s=t[3*r],l=t[3*r+1],u=t[3*i],c=t[3*i+1];return[new Vb(a,o),new Vb(s,l),new Vb(u,c)]},generateSideWallUV:function(e,t,n,r,i,a){var o=t[3*n],s=t[3*n+1],l=t[3*n+2],u=t[3*r],c=t[3*r+1],d=t[3*r+2],f=t[3*i],h=t[3*i+1],p=t[3*i+2],v=t[3*a],m=t[3*a+1],g=t[3*a+2];return Math.abs(s-c)<Math.abs(o-u)?[new Vb(o,1-l),new Vb(u,1-d),new Vb(f,1-p),new Vb(v,1-g)]:[new Vb(s,1-l),new Vb(c,1-d),new Vb(h,1-p),new Vb(m,1-g)]}};var tC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,be.Z)(this,n);var a=(1+Math.sqrt(5))/2,o=[-1,a,0,1,a,0,-1,-a,0,1,-a,0,0,-1,a,0,1,a,0,-1,-a,0,1,-a,a,0,-1,a,0,1,-a,0,-1,-a,0,1];return(e=t.call(this,o,[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],r,i)).type="IcosahedronGeometry",e.parameters={radiu
2s:r,detail:i},e}return(0,xe.Z)(n,null,[{key:"fromJSON",value:function(e){return new n(e.radius,e.detail)}}]),n}(gT),nC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,be.Z)(this,n);return(e=t.call(this,[1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],r,i)).type="OctahedronGeometry",e.parameters={radius:r,detail:i},e}return(0,xe.Z)(n,null,[{key:"fromJSON",value:function(e){return new n(e.radius,e.detail)}}]),n}(gT),rC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.5,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:32,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2*Math.PI;(0,be.Z)(this,n),(e=t.call(this)).type="RingGeometry",e.parameters={innerRadius:r,outerRadius:i,thetaSegments:a,phiSegments:o,thetaStart:s,thetaLength:l},a=Math.max(3,a);for(var u=[],c=[],d=[],f=[],h=r,p=(i-r)/(o=Math.max(1,o)),v=new gx,m=new Vb,g=0;g<=o;g++){for(var y=0;y<=a;y++){var b=s+y/a*l;v.x=h*Math.cos(b),v.y=h*Math.sin(b),c.push(v.x,v.y,v.z),d.push(0,0,1),m.x=(v.x/i+1)/2,m.y=(v.y/i+1)/2,f.push(m.x,m.y)}h+=p}for(var x=0;x<o;x++)for(var w=x*(a+1),S=0;S<a;S++){var _=S+w,k=_,M=_+a+1,E=_+a+2,T=_+1;u.push(k,M,T),u.push(M,E,T)}return e.setIndex(u),e.setAttribute("position",new nS(c,3)),e.setAttribute("normal",new nS(d,3)),e.setAttribute("uv",new nS(f,2)),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}],[{key:"fromJSON",value:function(e){return new n(e.innerRadius,e.outerRadius,e.thetaSegments,e.phiSegments,e.thetaStart,e.thetaLength)}}]),n}(dS),iC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new kT([new Vb(0,.5),new Vb(-.5,-.5),new Vb(.5,-.5)]),i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12;(0,be.Z)(this,n),(e=t.call(this)).type="ShapeGeometry",e.parameters={shapes:r,curveSegments:i};var a=[],o=[],s=[],l=[],u=0,c=0;if(!1===Array.isArray(r))f(r);else for(var d=0;d<r.length;d++)f(r[d]),e.addGroup(u,c,d),u+=c,c=0;function f(e){var t=o.length/3,n=e.extractPoints(i),r=n.shape,u=n.holes;!1===JT.isClockWise(r)&&(r=r.reverse());for(var d=0,f=u.length;d<f;d++){var h=u[d];!0===JT.isClockWise(h)&&(u[d]=h.reverse())}for(var p=JT.triangulateShape(r,u),v=0,m=u.length;v<m;v++){var g=u[v];r=r.concat(g)}for(var y=0,b=r.length;y<b;y++){var x=r[y];o.push(x.x,x.y,0),s.push(0,0,1),l.push(x.x,x.y)}for(var w=0,S=p.length;w<S;w++){var _=p[w],k=_[0]+t,M=_[1]+t,E=_[2]+t;a.push(k,M,E),c+=3}}return e.setIndex(a),e.setAttribute("position",new nS(o,3)),e.setAttribute("normal",new nS(s,3)),e.setAttribute("uv",new nS(l,2)),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return function(e,t){if(t.shapes=[],Array.isArray(e))for(var n=0,r=e.length;n<r;n++){var i=e[n];t.shapes.push(i.uuid)}else t.shapes.push(e.uuid);return t}(this.parameters.shapes,e)}}],[{key:"fromJSON",value:function(e,t){for(var r=[],i=0,a=e.shapes.length;i<a;i++){var o=t[e.shapes[i]];r.push(o)}return new n(r,e.curveSegments)}}]),n}(dS);var aC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:16,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2*Math.PI,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:Math.PI;(0,be.Z)(this,n),(e=t.call(this)).type="SphereGeometry",e.parameters={radiu
2s:r,widthSegments:i,heightSegments:a,phiStart:o,phiLength:s,thetaStart:l,thetaLength:u},i=Math.max(3,Math.floor(i)),a=Math.max(2,Math.floor(a));for(var c=Math.min(l+u,Math.PI),d=0,f=[],h=new gx,p=new gx,v=[],m=[],g=[],y=[],b=0;b<=a;b++){var x=[],w=b/a,S=0;0===b&&0===l?S=.5/i:b===a&&c===Math.PI&&(S=-.5/i);for(var _=0;_<=i;_++){var k=_/i;h.x=-r*Math.cos(o+k*s)*Math.sin(l+w*u),h.y=r*Math.cos(l+w*u),h.z=r*Math.sin(o+k*s)*Math.sin(l+w*u),m.push(h.x,h.y,h.z),p.copy(h).normalize(),g.push(p.x,p.y,p.z),y.push(k+S,1-w),x.push(d++)}f.push(x)}for(var M=0;M<a;M++)for(var E=0;E<i;E++){var T=f[M][E+1],C=f[M][E],A=f[M+1][E],P=f[M+1][E+1];(0!==M||l>0)&&v.push(T,C,P),(M!==a-1||c<Math.PI)&&v.push(C,A,P)}return e.setIndex(v),e.setAttribute("position",new nS(m,3)),e.setAttribute("normal",new nS(g,3)),e.setAttribute("uv",new nS(y,2)),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}],[{key:"fromJSON",value:function(e){return new n(e.radius,e.widthSegments,e.heightSegments,e.phiStart,e.phiLength,e.thetaStart,e.thetaLength)}}]),n}(dS),oC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,be.Z)(this,n);return(e=t.call(this,[1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],r,i)).type="TetrahedronGeometry",e.parameters={radius:r,detail:i},e}return(0,xe.Z)(n,null,[{key:"fromJSON",value:function(e){return new n(e.radius,e.detail)}}]),n}(gT),sC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.4,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:48,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2*Math.PI;(0,be.Z)(this,n),(e=t.call(this)).type="TorusGeometry",e.parameters={radius:r,tube:i,radialSegments:a,tubularSegments:o,arc:s},a=Math.floor(a),o=Math.floor(o);for(var l=[],u=[],c=[],d=[],f=new gx,h=new gx,p=new gx,v=0;v<=a;v++)for(var m=0;m<=o;m++){var g=m/o*s,y=v/a*Math.PI*2;h.x=(r+i*Math.cos(y))*Math.cos(g),h.y=(r+i*Math.cos(y))*Math.sin(g),h.z=i*Math.sin(y),u.push(h.x,h.y,h.z),f.x=r*Math.cos(g),f.y=r*Math.sin(g),p.subVectors(h,f).normalize(),c.push(p.x,p.y,p.z),d.push(m/o),d.push(v/a)}for(var b=1;b<=a;b++)for(var x=1;x<=o;x++){var w=(o+1)*b+x-1,S=(o+1)*(b-1)+x-1,_=(o+1)*(b-1)+x,k=(o+1)*b+x;l.push(w,S,k),l.push(S,_,k)}return e.setIndex(l),e.setAttribute("position",new nS(u,3)),e.setAttribute("normal",new nS(c,3)),e.setAttribute("uv",new nS(d,2)),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}],[{key:"fromJSON",value:function(e){return new n(e.radius,e.tube,e.radialSegments,e.tubularSegments,e.arc)}}]),n}(dS),lC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.4,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:64,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:8,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:3;(0,be.Z)(this,n),(e=t.call(this)).type="TorusKnotGeometry",e.parameters={radius:r,tube:i,tubularSegments:a,radialSegments:o,p:s,q:l},a=Math.floor(a),o=Math.floor(o);for(var u=[],c=[],d=[],f=[],h=new gx,p=new gx,v=new gx,m=new gx,g=new gx,y=new gx,b=new gx,x=0;x<=a;++x){var w=x/a*s*Math.PI*2;O(w,s,l,r,v),O(w+.01,s,l,r,m),y.subVectors(m,v),b.addVectors(m,v),g.crossVectors(y,b),b.crossVectors(g,y),g.normalize(),b.normalize();for(var S=0;S<=o;++S){var _=S/o*Math.PI*2,k=-i*Math.cos(_),M=i*Math.sin(_);h.x=v.x+(k*b.x+M*g.x),h.y=v.y+(k*b.y+M*g.y),h.z=v.z+(k*b.z+M*g.z),c.push(h.x,h.y,h.z),p.subVectors(h,v).normalize(),d.push(p.x,p.y,p.z),f.push(x/a),f.push(S/o)}}for(var E=1;E<=a;E++)for(var T=1;T<=o;T++){var C=(o+1)*(E-1)+(T-1),A=(o+1)*E+(T-1),P=(o+1)*E+T,R=(o+1)*(E-1)+T;u.push(C,A,R),u.push(A,P,R)}function O(e,t,n,r,i){var a=Math.cos(e),o=Math.sin(e),s=n/t*e,l=Math.cos(s);i.x=r*(2+l)*.5*a,i.y=r*(2+l)*o*.5,i.z=r*Math.sin(s)*.5}return e.setIndex(u),e.setAttribute("position",new nS(c,3)),e.setAttribute("normal",new nS(d,3)),e.setAttribute("uv",new nS(f,2)),e}
2return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}],[{key:"fromJSON",value:function(e){return new n(e.radius,e.tube,e.tubularSegments,e.radialSegments,e.p,e.q)}}]),n}(dS),uC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new sT(new gx(-1,-1,0),new gx(-1,1,0),new gx(1,1,0)),i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:64,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:8,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];(0,be.Z)(this,n),(e=t.call(this)).type="TubeGeometry",e.parameters={path:r,tubularSegments:i,radius:a,radialSegments:o,closed:s};var l=r.computeFrenetFrames(i,s);e.tangents=l.tangents,e.normals=l.normals,e.binormals=l.binormals;var u=new gx,c=new gx,d=new Vb,f=new gx,h=[],p=[],v=[],m=[];function g(e){f=r.getPointAt(e/i,f);for(var t=l.normals[e],n=l.binormals[e],s=0;s<=o;s++){var d=s/o*Math.PI*2,v=Math.sin(d),m=-Math.cos(d);c.x=m*t.x+v*n.x,c.y=m*t.y+v*n.y,c.z=m*t.z+v*n.z,c.normalize(),p.push(c.x,c.y,c.z),u.x=f.x+a*c.x,u.y=f.y+a*c.y,u.z=f.z+a*c.z,h.push(u.x,u.y,u.z)}}return function(){for(var e=0;e<i;e++)g(e);g(!1===s?i:0),function(){for(var e=0;e<=i;e++)for(var t=0;t<=o;t++)d.x=e/i,d.y=t/o,v.push(d.x,d.y)}(),function(){for(var e=1;e<=i;e++)for(var t=1;t<=o;t++){var n=(o+1)*(e-1)+(t-1),r=(o+1)*e+(t-1),a=(o+1)*e+t,s=(o+1)*(e-1)+t;m.push(n,r,s),m.push(r,a,s)}}()}(),e.setIndex(m),e.setAttribute("position",new nS(h,3)),e.setAttribute("normal",new nS(p,3)),e.setAttribute("uv",new nS(v,2)),e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.path=this.parameters.path.toJSON(),e}}],[{key:"fromJSON",value:function(e){return new n((new uT[e.path.type]).fromJSON(e.path),e.tubularSegments,e.radius,e.radialSegments,e.closed)}}]),n}(dS),cC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if((0,be.Z)(this,n),(e=t.call(this)).type="WireframeGeometry",e.parameters={geometry:r},null!==r){var i=[],a=new Set,o=new gx,s=new gx;if(null!==r.index){var l=r.attributes.position,u=r.index,c=r.groups;0===c.length&&(c=[{start:0,count:u.count,materialIndex:0}]);for(var d=0,f=c.length;d<f;++d)for(var h=c[d],p=h.start,v=p,m=p+h.count;v<m;v+=3)for(var g=0;g<3;g++){var y=u.getX(v+g),b=u.getX(v+(g+1)%3);o.fromBufferAttribute(l,y),s.fromBufferAttribute(l,b),!0===dC(o,s,a)&&(i.push(o.x,o.y,o.z),i.push(s.x,s.y,s.z))}}else for(var x=r.attributes.position,w=0,S=x.count/3;w<S;w++)for(var _=0;_<3;_++){var k=3*w+_,M=3*w+(_+1)%3;o.fromBufferAttribute(x,k),s.fromBufferAttribute(x,M),!0===dC(o,s,a)&&(i.push(o.x,o.y,o.z),i.push(s.x,s.y,s.z))}e.setAttribute("position",new nS(i,3))}return e}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.parameters=Object.assign({},e.parameters),this}}]),n}(dS);function dC(e,t,n){var r="".concat(e.x,",").concat(e.y,",").concat(e.z,"-").concat(t.x,",").concat(t.y,",").concat(t.z),i="".concat(t.x,",").concat(t.y,",").concat(t.z,"-").concat(e.x,",").concat(e.y,",").concat(e.z);return!0!==n.has(r)&&!0!==n.has(i)&&(n.add(r),n.add(i),!0)}var fC=Object.freeze({__proto__:null,BoxGeometry:RS,CapsuleGeometry:hT,CircleGeometry:pT,ConeGeometry:mT,CylinderGeometry:vT,DodecahedronGeometry:yT,EdgesGeometry:_T,ExtrudeGeometry:$T,IcosahedronGeometry:tC,LatheGeometry:fT,OctahedronGeometry:nC,PlaneGeometry:QS,PolyhedronGeometry:gT,RingGeometry:rC,ShapeGeometry:iC,SphereGeometry:aC,TetrahedronGeometry:oC,TorusGeometry:sC,TorusKnotGeometry:lC,TubeGeometry:uC,WireframeGeometry:cC}),hC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isShadowMaterial=!0,r.type="ShadowMaterial",r.color=new jw(0),r.transparent=!0,r.fog=!0,r.setValues(e),r}
2return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.color.copy(e.color),this.fog=e.fog,this}}]),n}(Ow),pC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this,e)).isRawShaderMaterial=!0,r.type="RawShaderMaterial",r}return(0,xe.Z)(n)}(IS),vC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isMeshStandardMaterial=!0,r.defines={STANDARD:""},r.type="MeshStandardMaterial",r.color=new jw(16777215),r.roughness=1,r.metalness=0,r.map=null,r.lightMap=null,r.lightMapIntensity=1,r.aoMap=null,r.aoMapIntensity=1,r.emissive=new jw(0),r.emissiveIntensity=1,r.emissiveMap=null,r.bumpMap=null,r.bumpScale=1,r.normalMap=null,r.normalMapType=Xy,r.normalScale=new Vb(1,1),r.displacementMap=null,r.displacementScale=1,r.displacementBias=0,r.roughnessMap=null,r.metalnessMap=null,r.alphaMap=null,r.envMap=null,r.envMapIntensity=1,r.wireframe=!1,r.wireframeLinewidth=1,r.wireframeLinecap="round",r.wireframeLinejoin="round",r.flatShading=!1,r.fog=!0,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.defines={STANDARD:""},this.color.copy(e.color),this.roughness=e.roughness,this.metalness=e.metalness,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.roughnessMap=e.roughnessMap,this.metalnessMap=e.metalnessMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapIntensity=e.envMapIntensity,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}]),n}(Ow),mC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isMeshPhysicalMaterial=!0,r.defines={STANDARD:"",PHYSICAL:""},r.type="MeshPhysicalMaterial",r.clearcoatMap=null,r.clearcoatRoughness=0,r.clearcoatRoughnessMap=null,r.clearcoatNormalScale=new Vb(1,1),r.clearcoatNormalMap=null,r.ior=1.5,Object.defineProperty((0,cn.Z)(r),"reflectivity",{get:function(){return Zb(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(e){this.ior=(1+.4*e)/(1-.4*e)}}),r.iridescenceMap=null,r.iridescenceIOR=1.3,r.iridescenceThicknessRange=[100,400],r.iridescenceThicknessMap=null,r.sheenColor=new jw(0),r.sheenColorMap=null,r.sheenRoughness=1,r.sheenRoughnessMap=null,r.transmissionMap=null,r.thickness=0,r.thicknessMap=null,r.attenuationDistance=1/0,r.attenuationColor=new jw(1,1,1),r.specularIntensity=1,r.specularIntensityMap=null,r.specularColor=new jw(1,1,1),r.specularColorMap=null,r._sheen=0,r._clearcoat=0,r._iridescence=0,r._transmission=0,r.setValues(e),r}return(0,xe.Z)(n,[{key:"sheen",get:function(){return this._sheen},set:function(e){this._sheen>0!==e>0&&this.version++,this._sheen=e}},{key:"clearcoat",get:function(){return this._clearcoat},set:function(e){this._clearcoat>0!==e>0&&this.version++,this._clearcoat=e}},{key:"iridescence",get:function(){return this._iridescence},set:function(e){this._iridescence>0!==e>0&&this.version++,this._iridescence=e}},{key:"transmission",get:function(){return this._transmission},set:function(e){this._transmission>0!==e>0&&this.version++,this._transmission=e}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.defines={STANDARD:"",PHYSICAL:""},this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=(0,ye.Z)(e.iridescenceThicknessRange),this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}]),n}(vC),gC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isMeshPhongMaterial=!0,r.type="MeshPhongMaterial",r.color=new jw(16777215),r.specular=new jw(1118481),r.shininess=30,r.map=null,r.lightMap=null,r.lightMapIntensity=1,r.aoMap=null,r.aoMapIntensity=1,r.emissive=new jw(0),r.emissiveIntensity=1,r.emissiveMap=null,r.bumpMap=null,r.bumpScale=1,r.normalMap=null,r.normalMapType=Xy,r.normalScale=new Vb(1,1),r.displacementMap=null,r.dis
2placementScale=1,r.displacementBias=0,r.specularMap=null,r.alphaMap=null,r.envMap=null,r.combine=ig,r.reflectivity=1,r.refractionRatio=.98,r.wireframe=!1,r.wireframeLinewidth=1,r.wireframeLinecap="round",r.wireframeLinejoin="round",r.flatShading=!1,r.fog=!0,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}]),n}(Ow),yC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isMeshToonMaterial=!0,r.defines={TOON:""},r.type="MeshToonMaterial",r.color=new jw(16777215),r.map=null,r.gradientMap=null,r.lightMap=null,r.lightMapIntensity=1,r.aoMap=null,r.aoMapIntensity=1,r.emissive=new jw(0),r.emissiveIntensity=1,r.emissiveMap=null,r.bumpMap=null,r.bumpScale=1,r.normalMap=null,r.normalMapType=Xy,r.normalScale=new Vb(1,1),r.displacementMap=null,r.displacementScale=1,r.displacementBias=0,r.alphaMap=null,r.wireframe=!1,r.wireframeLinewidth=1,r.wireframeLinecap="round",r.wireframeLinejoin="round",r.fog=!0,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.color.copy(e.color),this.map=e.map,this.gradientMap=e.gradientMap,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}]),n}(Ow),bC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isMeshNormalMaterial=!0,r.type="MeshNormalMaterial",r.bumpMap=null,r.bumpScale=1,r.normalMap=null,r.normalMapType=Xy,r.normalScale=new Vb(1,1),r.displacementMap=null,r.displacementScale=1,r.displacementBias=0,r.wireframe=!1,r.wireframeLinewidth=1,r.flatShading=!1,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.flatShading=e.flatShading,this}}]),n}(Ow),xC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isMeshLambertMaterial=!0,r.type="MeshLambertMaterial",r.color=new jw(16777215),r.map=null,r.lightMap=null,r.lightMapIntensity=1,r.aoMap=null,r.aoMapIntensity=1,r.emissive=new jw(0),r.emissiveIntensity=1,r.emissiveMap=null,r.bumpMap=null,r.bumpScale=1,r.normalMap=null,r.normalMapType=Xy,r.normalScale=new Vb(1,1),r.displacementMap=null,r.dis
2placementScale=1,r.displacementBias=0,r.specularMap=null,r.alphaMap=null,r.envMap=null,r.combine=ig,r.reflectivity=1,r.refractionRatio=.98,r.wireframe=!1,r.wireframeLinewidth=1,r.wireframeLinecap="round",r.wireframeLinejoin="round",r.flatShading=!1,r.fog=!0,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}]),n}(Ow),wC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isMeshMatcapMaterial=!0,r.defines={MATCAP:""},r.type="MeshMatcapMaterial",r.color=new jw(16777215),r.matcap=null,r.map=null,r.bumpMap=null,r.bumpScale=1,r.normalMap=null,r.normalMapType=Xy,r.normalScale=new Vb(1,1),r.displacementMap=null,r.displacementScale=1,r.displacementBias=0,r.alphaMap=null,r.flatShading=!1,r.fog=!0,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.defines={MATCAP:""},this.color.copy(e.color),this.matcap=e.matcap,this.map=e.map,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.flatShading=e.flatShading,this.fog=e.fog,this}}]),n}(Ow),SC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).isLineDashedMaterial=!0,r.type="LineDashedMaterial",r.scale=1,r.dashSize=3,r.gapSize=1,r.setValues(e),r}return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.scale=e.scale,this.dashSize=e.dashSize,this.gapSize=e.gapSize,this}}]),n}(wE);function _C(e,t,n){return MC(e)?new e.constructor(e.subarray(t,void 0!==n?n:e.length)):e.slice(t,n)}function kC(e,t,n){return!e||!n&&e.constructor===t?e:"number"===typeof t.BYTES_PER_ELEMENT?new t(e):Array.prototype.slice.call(e)}function MC(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function EC(e){for(var t=e.length,n=new Array(t),r=0;r!==t;++r)n[r]=r;return n.sort((function(t,n){return e[t]-e[n]})),n}function TC(e,t,n){for(var r=e.length,i=new e.constructor(r),a=0,o=0;o!==r;++a)for(var s=n[a]*t,l=0;l!==t;++l)i[o++]=e[s+l];return i}function CC(e,t,n,r){for(var i=1,a=e[0];void 0!==a&&void 0===a[r];)a=e[i++];if(void 0!==a){var o=a[r];if(void 0!==o)if(Array.isArray(o))do{void 0!==(o=a[r])&&(t.push(a.time),n.push.apply(n,o)),a=e[i++]}while(void 0!==a);else if(void 0!==o.toArray)do{void 0!==(o=a[r])&&(t.push(a.time),o.toArray(n,n.length)),a=e[i++]}while(void 0!==a);else do{void 0!==(o=a[r])&&(t.push(a.time),n.push(o)),a=e[i++]}while(void 0!==a)}}var AC={arraySlice:_C,convertArray:kC,isTypedArray:MC,getKeyframeOrder:EC,sortedArray:TC,flattenJSON:CC,subclip:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:30,a=e.clone();a.name=t;for(var o=[],s=0;s<a.tracks.length;++s){for(var l=a.tracks[s],u=l.getValueSize(),c=[],d=[],f=0;f<l.times.length;++f){var h=l.times[f]*i;if(!(h<n||h>=r)){c.push(l.times[f]);for(var p=0;p<u;++p)d.push(l.values[f*u+p])}}0!==c.length&&(l.times=kC(c,l.times.constructor),l.values=kC(d,l.values.constructor),o.push(l))}a.tracks=o;for(var v=1/0,m=0;m<a.tracks.length;++m)v>a.tracks[m].times[0]&&(v=a.tracks[m].times[0]);for(var g=0;g<a.tracks.length;++g)a.tracks[g].shift(-1*v);return a.resetDuration(),a},makeClipAdditive:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30;r<=0&&(r=30);for(var i=n.tracks.length,a=t/r,o=function(){var t=n.tracks[s],r=t.ValueTypeName;if("bool"===r||"string"===r)return"continue";var i=e.tracks.find((function(e){return e.name===t.name&&e.ValueTypeName===r}));if(void 0===i)return"continue";var o=0,l=t.getValueSize();t.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(o=l/3);var u=0,c=i.getValueSize();i.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(u=c/3);var d,f=t.times.length-1;if(a<=t.times[0]){var h=o,p=l-o;d=_C(t.values,h,p)}else if(a>
2=t.times[f]){var v=f*l+o,m=v+l-o;d=_C(t.values,v,m)}else{var g=t.createInterpolant(),y=o,b=l-o;g.evaluate(a),d=_C(g.resultBuffer,y,b)}"quaternion"===r&&(new mx).fromArray(d).normalize().conjugate().toArray(d);for(var x=i.times.length,w=0;w<x;++w){var S=w*c+u;if("quaternion"===r)mx.multiplyQuaternionsFlat(i.values,S,d,0,i.values,S);else for(var _=c-2*u,k=0;k<_;++k)i.values[S+k]-=d[k]}},s=0;s<i;++s)o();return e.blendMode=Uy,e}},PC=function(){function e(t,n,r,i){(0,be.Z)(this,e),this.parameterPositions=t,this._cachedIndex=0,this.resultBuffer=void 0!==i?i:new n.constructor(r),this.sampleValues=n,this.valueSize=r,this.settings=null,this.DefaultSettings_={}}return(0,xe.Z)(e,[{key:"evaluate",value:function(e){var t=this.parameterPositions,n=this._cachedIndex,r=t[n],i=t[n-1];e:{t:{var a;n:{r:if(!(e<r)){for(var o=n+2;;){if(void 0===r){if(e<i)break r;return n=t.length,this._cachedIndex=n,this.copySampleValue_(n-1)}if(n===o)break;if(i=r,e<(r=t[++n]))break t}a=t.length;break n}if(e>=i)break e;var s=t[1];e<s&&(n=2,i=s);for(var l=n-2;;){if(void 0===i)return this._cachedIndex=0,this.copySampleValue_(0);if(n===l)break;if(r=i,e>=(i=t[--n-1]))break t}a=n,n=0}for(;n<a;){var u=n+a>>>1;e<t[u]?a=u:n=u+1}if(r=t[n],void 0===(i=t[n-1]))return this._cachedIndex=0,this.copySampleValue_(0);if(void 0===r)return n=t.length,this._cachedIndex=n,this.copySampleValue_(n-1)}this._cachedIndex=n,this.intervalChanged_(n,i,r)}return this.interpolate_(n,i,e,r)}},{key:"getSettings_",value:function(){return this.settings||this.DefaultSettings_}},{key:"copySampleValue_",value:function(e){for(var t=this.resultBuffer,n=this.sampleValues,r=this.valueSize,i=e*r,a=0;a!==r;++a)t[a]=n[i+a];return t}},{key:"interpolate_",value:function(){throw new Error("call to abstract method")}},{key:"intervalChanged_",value:function(){}}]),e}(),RC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a){var o;return(0,be.Z)(this,n),(o=t.call(this,e,r,i,a))._weightPrev=-0,o._offsetPrev=-0,o._weightNext=-0,o._offsetNext=-0,o.DefaultSettings_={endingStart:Iy,endingEnd:Iy},o}return(0,xe.Z)(n,[{key:"intervalChanged_",value:function(e,t,n){var r=this.parameterPositions,i=e-2,a=e+1,o=r[i],s=r[a];if(void 0===o)switch(this.getSettings_().endingStart){case jy:i=e,o=2*t-n;break;case Dy:o=t+r[i=r.length-2]-r[i+1];break;default:i=e,o=n}if(void 0===s)switch(this.getSettings_().endingEnd){case jy:a=e,s=2*n-t;break;case Dy:a=1,s=n+r[1]-r[0];break;default:a=e-1,s=t}var l=.5*(n-t),u=this.valueSize;this._weightPrev=l/(t-o),this._weightNext=l/(s-n),this._offsetPrev=i*u,this._offsetNext=a*u}},{key:"interpolate_",value:function(e,t,n,r){for(var i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=e*o,l=s-o,u=this._offsetPrev,c=this._offsetNext,d=this._weightPrev,f=this._weightNext,h=(n-t)/(r-t),p=h*h,v=p*h,m=-d*v+2*d*p-d*h,g=(1+d)*v+(-1.5-2*d)*p+(-.5+d)*h+1,y=(-1-f)*v+(1.5+f)*p+.5*h,b=f*v-f*p,x=0;x!==o;++x)i[x]=m*a[u+x]+g*a[l+x]+y*a[s+x]+b*a[c+x];return i}}]),n}(PC),OC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a){return(0,be.Z)(this,n),t.call(this,e,r,i,a)}return(0,xe.Z)(n,[{key:"interpolate_",value:function(e,t,n,r){for(var i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=e*o,l=s-o,u=(n-t)/(r-t),c=1-u,d=0;d!==o;++d)i[d]=a[l+d]*c+a[s+d]*u;return i}}]),n}(PC),LC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a){return(0,be.Z)(this,n),t.call(this,e,r,i,a)}return(0,xe.Z)(n,[{key:"interpolate_",value:function(e){return this.copySampleValue_(e-1)}}]),n}(PC),ZC=function(){function e(t,n,r,i){if((0,be.Z)(this,e),void 0===t)throw new Error("THREE.KeyframeTrack: track name is undefined");if(void 0===n||0===n.length)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+t);this.name=t,this.times=kC(n,this.TimeBufferType),this.values=kC(r,this.ValueBufferType),this.setInterpolation(i||this.DefaultInterpolation)}return(0,xe.Z)(e,[{key:"InterpolantFactoryMethodDiscrete",value:function(e){return new LC(this.times,this.values,this.getValueSize(),e)}},{key:"InterpolantFactoryMethodLinear",value:function(e){return new OC(this.times,this.values,this.getValueSize(),e)}},{key:"InterpolantFactoryMethodSmooth",value:function(e){return new RC(this.times,this.values,this.getValueSize(),e)}},{key:"setInterpolation",value:function(e){var t;switch(e){case Ly:t=this.InterpolantFactoryMethodDiscrete;break;case Zy:t=this.InterpolantFactoryMethodLinear;break;case Ny:t=this.InterpolantFactoryMethodSmooth}if(void 0===t){var n="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(void 0===this.createInterpolant){if(e===this.DefaultInterpolation)throw new Error(n);this.setInterpolation(this.DefaultInterpolation)}return console.warn("THREE.KeyframeTrack:",n),this}return this.createInterpolant=t,this}},{key:"getInterpolation",value:function(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return Ly;case this.InterpolantFactoryMethodLinear:return Zy;case this.InterpolantFactoryMethodSmooth:return Ny}}},{key:"getValueSize",value:function(){return this.values.length/this.times.length}},{key:"shift",value:function(e){if(0!==e)for(var t=this.times,n=0,r=t.length;n!==r;++n)t[n]+=e;return this}},{key:"scale",value:function(e){if(1!==e)for(var t=this.times,n=0,r=t.length;n!==r;++n)t[n]*=e;return this}},{key:"trim",value:function(e,t){for(var n=this.times,r=n.length,i=0,a=r-1;i!==r&&n[i]<e;)++i;for(;-1!==a&&n[a]>t;)--a;if(++a,0!==i||a!==r){i>=a&&(i=(a=Math.max(a,1))-1);var o=this.getValueSize();this.times=_C(n,i,a),this.values=_C(this.values,i*o,a*o)}return this}},{key:"validate",value:function(){var e=!0,t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);var n=this.times,r=this.values,i=n.length;0===i&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);for(var a=null,o=0;o!==i;o++){var s=n[o];if("number"===typeof s&&isNaN(s)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,o,s),e=!1;break}if(null!==a&&a>s){console.error("THREE.KeyframeTrack: Out of order keys.",this,o,s,a),e=!1;break}a=s}if(void 0!==r&&MC(r))for(var l=0,u=r.length;l!==u;++l){var c=r[l];if(isNaN(c)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,l,c),e=!1;break}}return e}},{key:"optimize",value:function(){for(var e=_C(this.times),t=_C(this.values),n=this.getValueSize(),r=this.getInterpolation()===Ny,i=e.length-1,a=1,o=1;o<i;++o){var s=!1,l=e[o];if(l!==e[o+1]&&(1!==o||l!==e[0]))if(r)s=!0;else for(var u=o*n,c=u-n,d=u+n,f=0;f!==n;++f){var h=t[u+f];
2if(h!==t[c+f]||h!==t[d+f]){s=!0;break}}if(s){if(o!==a){e[a]=e[o];for(var p=o*n,v=a*n,m=0;m!==n;++m)t[v+m]=t[p+m]}++a}}if(i>0){e[a]=e[i];for(var g=i*n,y=a*n,b=0;b!==n;++b)t[y+b]=t[g+b];++a}return a!==e.length?(this.times=_C(e,0,a),this.values=_C(t,0,a*n)):(this.times=e,this.values=t),this}},{key:"clone",value:function(){var e=_C(this.times,0),t=_C(this.values,0),n=new(0,this.constructor)(this.name,e,t);return n.createInterpolant=this.createInterpolant,n}}],[{key:"toJSON",value:function(e){var t,n=e.constructor;if(n.toJSON!==this.toJSON)t=n.toJSON(e);else{t={name:e.name,times:kC(e.times,Array),values:kC(e.values,Array)};var r=e.getInterpolation();r!==e.DefaultInterpolation&&(t.interpolation=r)}return t.type=e.ValueTypeName,t}}]),e}();ZC.prototype.TimeBufferType=Float32Array,ZC.prototype.ValueBufferType=Float32Array,ZC.prototype.DefaultInterpolation=Zy;var NC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){return(0,be.Z)(this,n),t.apply(this,arguments)}return(0,xe.Z)(n)}(ZC);NC.prototype.ValueTypeName="bool",NC.prototype.ValueBufferType=Array,NC.prototype.DefaultInterpolation=Ly,NC.prototype.InterpolantFactoryMethodLinear=void 0,NC.prototype.InterpolantFactoryMethodSmooth=void 0;var IC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){return(0,be.Z)(this,n),t.apply(this,arguments)}return(0,xe.Z)(n)}(ZC);IC.prototype.ValueTypeName="color";var jC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){return(0,be.Z)(this,n),t.apply(this,arguments)}return(0,xe.Z)(n)}(ZC);jC.prototype.ValueTypeName="number";var DC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a){return(0,be.Z)(this,n),t.call(this,e,r,i,a)}return(0,xe.Z)(n,[{key:"interpolate_",value:function(e,t,n,r){for(var i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=(n-t)/(r-t),l=e*o,u=l+o;l!==u;l+=4)mx.slerpFlat(i,0,a,l-o,a,l,s);return i}}]),n}(PC),zC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){return(0,be.Z)(this,n),t.apply(this,arguments)}return(0,xe.Z)(n,[{key:"InterpolantFactoryMethodLinear",value:function(e){return new DC(this.times,this.values,this.getValueSize(),e)}}]),n}(ZC);zC.prototype.ValueTypeName="quaternion",zC.prototype.DefaultInterpolation=Zy,zC.prototype.InterpolantFactoryMethodSmooth=void 0;var UC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){return(0,be.Z)(this,n),t.apply(this,arguments)}return(0,xe.Z)(n)}(ZC);UC.prototype.ValueTypeName="string",UC.prototype.ValueBufferType=Array,UC.prototype.DefaultInterpolation=Ly,UC.prototype.InterpolantFactoryMethodLinear=void 0,UC.prototype.InterpolantFactoryMethodSmooth=void 0;var FC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){return(0,be.Z)(this,n),t.apply(this,arguments)}return(0,xe.Z)(n)}(ZC);FC.prototype.ValueTypeName="vector";var BC=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:zy;(0,be.Z)(this,e),this.name=t,this.tracks=r,this.duration=n,this.blendMode=i,this.uuid=Lb(),this.duration<0&&this.resetDuration()}return(0,xe.Z)(e,[{key:"resetDuration",value:function(){for(var e=0,t=0,n=this.tracks.length;t!==n;++t){var r=this.tracks[t];e=Math.max(e,r.times[r.times.length-1])}return this.duration=e,this}},{key:"trim",value:function(){for(var e=0;e<this.tracks.length;e++)this.tracks[e].trim(0,this.duration);return this}},{key:"validate",value:function(){for(var e=!0,t=0;t<this.tracks.length;t++)e=e&&this.tracks[t].validate();return e}},{key:"optimize",value:function(){for(var e=0;e<this.tracks.length;e++)this.tracks[e].optimize();return this}},{key:"clone",value:function(){for(var e=[],t=0;t<this.tracks.length;t++)e.push(this.tracks[t].clone());return new this.constructor(this.name,this.duration,e,this.blendMode)}},{key:"toJSON",value:function(){return this.constructor.toJSON(this)}}],[{key:"parse",value:function(e){for(var t=[],n=e.tracks,r=1/(e.fps||1),i=0,a=n.length;i!==a;++i)t.push(VC(n[i]).scale(r));var o=new this(e.name,e.duration,t,e.blendMode);return o.uuid=e.uuid,o}},{key:"toJSON",value:function(e){for(var t=[],n=e.tracks,r={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode},i=0,a=n.length;i!==a;++i)t.push(ZC.toJSON(n[i]));return r}},{key:"CreateFromMorphTargetSequence",value:function(e,t,n,r){for(var i=t.length,a=[],o=0;o<i;o++){var s=[],l=[];s.push((o+i-1)%i,o,(o+1)%i),l.push(0,1,0);var u=EC(s);s=TC(s,1,u),l=TC(l,1,u),r||0!==s[0]||(s.push(i),l.push(l[0])),a.push(new jC(".morphTargetInfluences["+t[o].name+"]",s,l).scale(1/n))}return new this(e,-1,a)}},{key:"findByName",value:function(e,t){var n=e;if(!Array.isArray(e)){var r=e;n=r.geometry&&r.geometry.animations||r.animations}for(var i=0;i<n.length;i++)if(n[i].name===t)return n[i];return null}},{key:"CreateClipsFromMorphTargetSequences",value:function(e,t,n){for(var r={},i=/^([\w-]*?)([\d]+)$/,a=0,o=e.length;a<o;a++){var s=e[a],l=s.name.match(i);if(l&&l.length>1){var u=l[1],c=r[u];c||(r[u]=c=[]),c.push(s)}}var d=[];for(var f in r)d.push(this.CreateFromMorphTargetSequence(f,r[f],t,n));return d}},{key:"parseAnimation",value:function(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;for(var n=function(e,t,n,r,i){if(0!==n.length){var a=[],o=[];CC(n,a,o,r),0!==a.length&&i.push(new e(t,a,o))}},r=[],i=e.name||"default",a=e.fps||30,o=e.blendMode,s=e.length||-1,l=e.hierarchy||[],u=0;u<l.length;u++){var c=l[u].keys;if(c&&0!==c.length)if(c[0].morphTargets){var d={},f=void 0;for(f=0;f<c.length;f++)if(c[f].morphTargets)for(var h=0;h<c[f].morphTargets.length;h++)d[c[f].morphTargets[h]]=-1;for(var p in d){for(var v=[],m=[],g=0;g!==c[f].morphTargets.length;++g){var y=c[f];v.push(y.time),m.push(y.morphTarget===p?1:0)}r.push(new jC(".morphTargetInfluence["+p+"]",v,m))}s=d.length*a}else{var b=".bones["+t[u].name+"]";n(FC,b+".position",c,"pos",r),n(zC,b+".quaternion",c,"rot",r),n(FC,b+".scale",c,"scl",r)}}return 0===r.length?null:new this(i,s,r,o)}}]),e}();function VC(e){if(void 0===e.type)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");var t=function(e){switch(e.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return jC;
2case"vector":case"vector2":case"vector3":case"vector4":return FC;case"color":return IC;case"quaternion":return zC;case"bool":case"boolean":return NC;case"string":return UC}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+e)}(e.type);if(void 0===e.times){var n=[],r=[];CC(e.keys,n,r,"value"),e.times=n,e.values=r}return void 0!==t.parse?t.parse(e):new t(e.name,e.times,e.values,e.interpolation)}var HC,WC={enabled:!1,files:{},add:function(e,t){!1!==this.enabled&&(this.files[e]=t)},get:function(e){if(!1!==this.enabled)return this.files[e]},remove:function(e){delete this.files[e]},clear:function(){this.files={}}},GC=(0,xe.Z)((function e(t,n,r){(0,be.Z)(this,e);var i=this,a=!1,o=0,s=0,l=void 0,u=[];this.onStart=void 0,this.onLoad=t,this.onProgress=n,this.onError=r,this.itemStart=function(e){s++,!1===a&&void 0!==i.onStart&&i.onStart(e,o,s),a=!0},this.itemEnd=function(e){o++,void 0!==i.onProgress&&i.onProgress(e,o,s),o===s&&(a=!1,void 0!==i.onLoad&&i.onLoad())},this.itemError=function(e){void 0!==i.onError&&i.onError(e)},this.resolveURL=function(e){return l?l(e):e},this.setURLModifier=function(e){return l=e,this},this.addHandler=function(e,t){return u.push(e,t),this},this.removeHandler=function(e){var t=u.indexOf(e);return-1!==t&&u.splice(t,2),this},this.getHandler=function(e){for(var t=0,n=u.length;t<n;t+=2){var r=u[t],i=u[t+1];if(r.global&&(r.lastIndex=0),r.test(e))return i}return null}})),qC=new GC,XC=function(){function e(t){(0,be.Z)(this,e),this.manager=void 0!==t?t:qC,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}return(0,xe.Z)(e,[{key:"load",value:function(){}},{key:"loadAsync",value:function(e,t){var n=this;return new Promise((function(r,i){n.load(e,r,t,i)}))}},{key:"parse",value:function(){}},{key:"setCrossOrigin",value:function(e){return this.crossOrigin=e,this}},{key:"setWithCredentials",value:function(e){return this.withCredentials=e,this}},{key:"setPath",value:function(e){return this.path=e,this}},{key:"setResourcePath",value:function(e){return this.resourcePath=e,this}},{key:"setRequestHeader",value:function(e){return this.requestHeader=e,this}}]),e}(),YC={},JC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i;return(0,be.Z)(this,n),(i=t.call(this,e)).response=r,i}return(0,xe.Z)(n)}((0,_e.Z)(Error)),KC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){return(0,be.Z)(this,n),t.call(this,e)}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){var i=this;void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);var a=WC.get(e);if(void 0!==a)return this.manager.itemStart(e),setTimeout((function(){t&&t(a),i.manager.itemEnd(e)}),0),a;if(void 0===YC[e]){YC[e]=[],YC[e].push({onLoad:t,onProgress:n,onError:r});var o=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),s=this.mimeType,l=this.responseType;fetch(o).then((function(t){if(200===t.status||0===t.status){if(0===t.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),"undefined"===typeof ReadableStream||void 0===t.body||void 0===t.body.getReader)return t;var n=YC[e],r=t.body.getReader(),i=t.headers.get("Content-Length")||t.headers.get("X-File-Size"),a=i?parseInt(i):0,o=0!==a,s=0,l=new ReadableStream({start:function(e){!function t(){r.read().then((function(r){var i=r.done,l=r.value;if(i)e.close();else{s+=l.byteLength;for(var u=new ProgressEvent("progress",{lengthComputable:o,loaded:s,total:a}),c=0,d=n.length;c<d;c++){var f=n[c];f.onProgress&&f.onProgress(u)}e.enqueue(l),t()}}))}()}});return new Response(l)}throw new JC('fetch for "'.concat(t.url,'" responded with ').concat(t.status,": ").concat(t.statusText),t)})).then((function(e){switch(l){case"arraybuffer":return e.arrayBuffer();case"blob":return e.blob();case"document":return e.text().then((function(e){return(new DOMParser).parseFromString(e,s)}));case"json":return e.json();default:if(void 0===s)return e.text();var t=/charset="?([^;"\s]*)"?/i.exec(s),n=t&&t[1]?t[1].toLowerCase():void 0,r=new TextDecoder(n);return e.arrayBuffer().then((function(e){return r.decode(e)}))}})).then((function(t){WC.add(e,t);var n=YC[e];delete YC[e];for(var r=0,i=n.length;r<i;r++){var a=n[r];a.onLoad&&a.onLoad(t)}})).catch((function(t){var n=YC[e];if(void 0===n)throw i.manager.itemError(e),t;delete YC[e];for(var r=0,a=n.length;r<a;r++){var o=n[r];o.onError&&o.onError(t)}i.manager.itemError(e)})).finally((function(){i.manager.itemEnd(e)})),this.manager.itemStart(e)}else YC[e].push({onLoad:t,onProgress:n,onError:r})}},{key:"setResponseType",value:function(e){return this.responseType=e,this}},{key:"setMimeType",value:function(e){return this.mimeType=e,this}}]),n}(XC),QC=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){return(0,be.Z)(this,n),t.call(this,e)}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){var i=this,a=new KC(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,(function(n){try{t(i.parse(JSON.parse(n)))}catch(nZ){r?r(nZ):console.error(nZ),i.manager.itemError(e)}}),n,r)}},{key:"parse",value:function(e){for(var t=[],n=0;n<e.length;n++){var r=BC.parse(e[n]);t.push(r)}return t}}]),n}(XC),$C=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){return(0,be.Z)(this,n),t.call(this,e)}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){var i=this,a=[],o=new FE,s=new KC(this.manager);s.setPath(this.path),s.setResponseType("arraybuffer"),s.setRequestHeader(this.requestHeader),s.setWithCredentials(i.withCredentials);var l=0;function u(u){s.load(e[u],(function(e){var n=i.parse(e,!0);a[u]={width:n.width,height:n.height,format:n.format,mipmaps:n.mipmaps},6===(l+=1)&&(1===n.mipmapCount&&(o.minFilter=Tg),o.image=a,o.format=n.format,o.needsUpdate=!0,t&&t(o))}),n,r)}if(Array.isArray(e))for(var c=0,d=e.length;c<d;++c)u(c);else s.load(e,(function(e){var n=i.parse(e,!0);if(n.isCubemap){for(var r=n.mipmaps.length/n.mipmapCount,s=0;s<r;s++){a[s]={mipmaps:[]};for(var l=0;l<n.mipmapCount;l++)a[s].mipmaps.push(n.mipmaps[s*n.mipmapCount+l]),a[s].format=n.format,a[s].width=n.width,a[s].height=n.height}o.image=a}else o.image.width=n.width,o.image.height=n.height,o.mipmaps=n.mipmaps;1===n.mipmapCount&&(o.minFilter=Tg),o.format=n.format,o.needsUpdate=!0,t&&t(o)}),n,r);return o}}]),n}(XC),eA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){return(0,be.Z)(this,n),t.call(this,e)}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);var i=this,a=WC.get(e);if(void 0!==a)return i.manager.itemStart(e),setTimeout((function(){t&&t(a),i.manager.itemEnd(e)}),0),a;var o=Yb("img");function s(){u(),WC.add(e,this),t&&t(this),i.manager.itemEnd(e)}function l(t){u(),r&&r(t),i.manager.itemError(e),i.manager.itemEnd(e)}function u(){o.removeEventListener("load",s,!1),o.removeEventListener("error",l,!1)}return o.addEventListener("load",s,!1),o.addEventListener("error",l,!1),"data:"!==e.slice(0,5)&&void 0!==this.crossOrigin&&(o.crossOrigin=this.crossOrigin),i.manager.itemStart(e),o.src=e,o}}]),n}(XC),tA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){return(0,be.Z)(this,n),t.call(this,e)}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){var i=new FS,a=new eA(this.manager);a.setCrossOrigin(this.crossOrigin),a.setPath(this.path);var o=0;function s(n){a.load(e[n],(function(e){i.images[n]=e,6===++o&&(i.needsUpdate=!0,t&&t(i))}),void 0,r)}for(var l=0;l<e.length;++l)s(l);return i}}]),n}(XC),nA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){return(0,be.Z)(this,n),t.call(this,e)}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){var i=this,a=new lE,o=new KC(this.manager);return o.setResponseType("arraybuffer"),o.setRequestHeader(this.requestHeader),o.setPath(this.path),o.setWithCredentials(i.withCredentials),o.load(e,(function(e){var n=i.parse(e);n&&(void 0!==n.image?a.image=n.image:void 0!==n.data&&(a.image.width=n.width,a.image.height=n.height,a.image.data=n.data),a.wrapS=void 0!==n.wrapS?n.wrapS:xg,a.wrapT=void 0!==n.wrapT?n.wrapT:xg,a.magFilter=void 0!==n.magFilter?n.magFilter:Tg,a.minFilter=void 0!==n.minFilter?n.minFilter:Tg,a.anisotropy=void 0!==n.anisotropy?n.anisotropy:1,void 0!==n.encoding&&(a.encoding=n.encoding),void 0!==n.flipY&&(a.flipY=n.flipY),void 0!==n.format&&(a.format=n.format),void 0!==n.t
2ype&&(a.type=n.type),void 0!==n.mipmaps&&(a.mipmaps=n.mipmaps,a.minFilter=Pg),1===n.mipmapCount&&(a.minFilter=Tg),void 0!==n.generateMipmaps&&(a.generateMipmaps=n.generateMipmaps),a.needsUpdate=!0,t&&t(a,n))}),n,r),a}}]),n}(XC),rA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){return(0,be.Z)(this,n),t.call(this,e)}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){var i=new lx,a=new eA(this.manager);return a.setCrossOrigin(this.crossOrigin),a.setPath(this.path),a.load(e,(function(e){i.image=e,i.needsUpdate=!0,void 0!==t&&t(i)}),n,r),i}}]),n}(XC),iA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return(0,be.Z)(this,n),(r=t.call(this)).isLight=!0,r.type="Light",r.color=new jw(e),r.intensity=i,r}return(0,xe.Z)(n,[{key:"dispose",value:function(){}},{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.color.copy(e.color),this.intensity=e.intensity,this}},{key:"toJSON",value:function(e){var t=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this,e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,void 0!==this.groundColor&&(t.object.groundColor=this.groundColor.getHex()),void 0!==this.distance&&(t.object.distance=this.distance),void 0!==this.angle&&(t.object.angle=this.angle),void 0!==this.decay&&(t.object.decay=this.decay),void 0!==this.penumbra&&(t.object.penumbra=this.penumbra),void 0!==this.shadow&&(t.object.shadow=this.shadow.toJSON()),t}}]),n}(yw),aA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){var a;return(0,be.Z)(this,n),(a=t.call(this,e,i)).isHemisphereLight=!0,a.type="HemisphereLight",a.position.copy(yw.DEFAULT_UP),a.updateMatrix(),a.groundColor=new jw(r),a}return(0,xe.Z)(n,[{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.groundColor.copy(e.groundColor),this}}]),n}(iA),oA=new qx,sA=new gx,lA=new gx,uA=function(){function e(t){(0,be.Z)(this,e),this.camera=t,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new Vb(512,512),this.map=null,this.mapPass=null,this.matrix=new qx,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new YS,this._frameExtents=new Vb(1,1),this._viewportCount=1,this._viewports=[new ux(0,0,1,1)]}return(0,xe.Z)(e,[{key:"getViewportCount",value:function(){return this._viewportCount}},{key:"getFrustum",value:function(){return this._frustum}},{key:"updateMatrices",value:function(e){var t=this.camera,n=this.matrix;sA.setFromMatrixPosition(e.matrixWorld),t.position.copy(sA),lA.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(lA),t.updateMatrixWorld(),oA.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(oA),n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(oA)}},{key:"getViewport",value:function(e){return this._viewports[e]}},{key:"getFrameExtents",value:function(){return this._frameExtents}},{key:"dispose",value:function(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}},{key:"copy",value:function(e){return this.camera=e.camera.clone(),this.bias=e.bias,this.radius=e.radius,this.mapSize.copy(e.mapSize),this}},{key:"clone",value:function(){return(new this.constructor).copy(this)}},{key:"toJSON",value:function(){var e={};return 0!==this.bias&&(e.bias=this.bias),0!==this.normalBias&&(e.normalBias=this.normalBias),1!==this.radius&&(e.radius=this.radius),512===this.mapSize.x&&512===this.mapSize.y||(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}}]),e}(),cA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this,new DS(50,1,.5,500))).isSpotLightShadow=!0,e.focus=1,e}return(0,xe.Z)(n,[{key:"updateMatrices",value:function(e){var t=this.camera,r=2*Ob*e.angle*this.focus,i=this.mapSize.width/this.mapSize.height,a=e.distance||t.far;r===t.fov&&i===t.aspect&&a===t.far||(t.fov=r,t.aspect=i,t.far=a,t.updateProjectionMatrix()),(0,fm.Z)((0,Fo.Z)(n.prototype),"updateMatrices",this).call(this,e)}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.focus=e.focus,this}}]),n}(uA),dA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Math.PI/3,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2;return(0,be.Z)(this,n),(i=t.call(this,e,r)).isSpotLight=!0,i.type="SpotLight",i.position.copy(yw.DEFAULT_UP),i.updateMatrix(),i.target=new yw,i.distance=a,i.angle=o,i.penumbra=s,i.decay=l,i.map=null,i.shadow=new cA,i}return(0,xe.Z)(n,[{key:"power",get:function(){return this.intensity*Math.PI},set:function(e){this.intensity=e/Math.PI}},{key:"dispose",value:function(){this.shadow.dispose()}},{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.distance=e.distance,this.angle=e.angle,this.penumbra=e.penumbra,this.decay=e.decay,this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}]),n}
2(iA),fA=new qx,hA=new gx,pA=new gx,vA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this,new DS(90,1,.5,500))).isPointLightShadow=!0,e._frameExtents=new Vb(4,2),e._viewportCount=6,e._viewports=[new ux(2,1,1,1),new ux(0,1,1,1),new ux(3,1,1,1),new ux(1,1,1,1),new ux(3,0,1,1),new ux(1,0,1,1)],e._cubeDirections=[new gx(1,0,0),new gx(-1,0,0),new gx(0,0,1),new gx(0,0,-1),new gx(0,1,0),new gx(0,-1,0)],e._cubeUps=[new gx(0,1,0),new gx(0,1,0),new gx(0,1,0),new gx(0,1,0),new gx(0,0,1),new gx(0,0,-1)],e}return(0,xe.Z)(n,[{key:"updateMatrices",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.camera,r=this.matrix,i=e.distance||n.far;i!==n.far&&(n.far=i,n.updateProjectionMatrix()),hA.setFromMatrixPosition(e.matrixWorld),n.position.copy(hA),pA.copy(n.position),pA.add(this._cubeDirections[t]),n.up.copy(this._cubeUps[t]),n.lookAt(pA),n.updateMatrixWorld(),r.makeTranslation(-hA.x,-hA.y,-hA.z),fA.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse),this._frustum.setFromProjectionMatrix(fA)}}]),n}(uA),mA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2;return(0,be.Z)(this,n),(i=t.call(this,e,r)).isPointLight=!0,i.type="PointLight",i.distance=a,i.decay=o,i.shadow=new vA,i}return(0,xe.Z)(n,[{key:"power",get:function(){return 4*this.intensity*Math.PI},set:function(e){this.intensity=e/(4*Math.PI)}},{key:"dispose",value:function(){this.shadow.dispose()}},{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.distance=e.distance,this.decay=e.decay,this.shadow=e.shadow.clone(),this}}]),n}(iA),gA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this,new u_(-5,5,5,-5,.5,500))).isDirectionalLightShadow=!0,e}return(0,xe.Z)(n)}(uA),yA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i;return(0,be.Z)(this,n),(i=t.call(this,e,r)).isDirectionalLight=!0,i.type="DirectionalLight",i.position.copy(yw.DEFAULT_UP),i.updateMatrix(),i.target=new yw,i.shadow=new gA,i}return(0,xe.Z)(n,[{key:"dispose",value:function(){this.shadow.dispose()}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}]),n}(iA),bA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i;return(0,be.Z)(this,n),(i=t.call(this,e,r)).isAmbientLight=!0,i.type="AmbientLight",i}return(0,xe.Z)(n)}(iA),xA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;return(0,be.Z)(this,n),(i=t.call(this,e,r)).isRectAreaLight=!0,i.type="RectAreaLight",i.width=a,i.height=o,i}return(0,xe.Z)(n,[{key:"power",get:function(){return this.intensity*this.width*this.height*Math.PI},set:function(e){this.intensity=e/(this.width*this.height*Math.PI)}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.width=e.width,this.height=e.height,this}},{key:"toJSON",value:function(e){var t=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this,e);return t.object.width=this.width,t.object.height=this.height,t}}]),n}(iA),wA=function(){function e(){(0,be.Z)(this,e),this.isSphericalHarmonics3=!0,this.coefficients=[];for(var t=0;t<9;t++)this.coefficients.push(new gx)}return(0,xe.Z)(e,[{key:"set",value:function(e){for(var t=0;t<9;t++)this.coefficients[t].copy(e[t]);return this}},{key:"zero",value:function(){for(var e=0;e<9;e++)this.coefficients[e].set(0,0,0);return this}},{key:"getAt",value:function(e,t){var n=e.x,r=e.y,i=e.z,a=this.coefficients;return t.copy(a[0]).multiplyScalar(.282095),t.addScaledVector(a[1],.488603*r),t.addScaledVector(a[2],.488603*i),t.addScaledVector(a[3],.488603*n),t.addScaledVector(a[4],n*r*1.092548),t.addScaledVector(a[5],r*i*1.092548),t.addScaledVector(a[6],.315392*(3*i*i-1)),t.addScaledVector(a[7],n*i*1.092548),t.addScaledVector(a[8],.546274*(n*n-r*r)),t}},{key:"getIrradianceAt",value:function(e,t){var n=e.x,r=e.y,i=e.z,a=this.coefficients;return t.copy(a[0]).multiplyScalar(.886227),t.addScaledVector(a[1],1.023328*r),t.addScaledVector(a[2],1.023328*i),t.addScaledVector(a[3],1.023328*n),t.addScaledVector(a[4],.858086*n*r),t.addScaledVector(a[5],.858086*r*i),t.addScaledVector(a[6],.743125*i*i-.247708),t.addScaledVector(a[7],.858086*n*i),t.addScaledVector(a[8],.429043*(n*n-r*r)),t}},{key:"add",value:function(e){for(var t=0;t<9;t++)this.coefficients[t].add(e.coefficients[t]);return this}},{key:"addScaledSH",value:function(e,t){for(var n=0;n<9;n++)this.coefficients[n].addScaledVector(e.coefficients[n],t);return this}},{key:"scale",value:function(e){for(var t=0;t<9;t++)this.coefficients[t].multiplyScalar(e);return this}},{key:"lerp",value:function(e,t){for(var n=0;n<9;n++)this.coefficients[n].lerp(e.coefficients[n],t);return this}},{key:"equals",value:function(e){for(var t=0;t<9;t++)if(!this.coefficients[t].equals(e.coefficients[t]))return!1;return!0}},{key:"copy",value:function(e){return this.set(e.coefficients)}},{key:"clone",value:function(){return(new this.constructor).copy(this)}},{key:"fromArray",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.coefficients,r=0;r<9;r++)n[r].fromArray(e,t+3*r);return this}},{key:"toArray",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.coefficients,r=0;r<9;r++)n[r].toArray(e,t+3*r);return e}}],[{key:"getBasisAt",value:function(e,t){var n=e.x,r=e.y,i=e.z;t[0]=.282095,t[1]=.488603*r,t[2]=.488603*i,t[3]=.488603*n,t[4]=1.092548*n*r,t[5]=1.092548*r*i,t[6]=.315392*(3*i*i-1),t[7]=1.092548*n*i,t[8]=.546274*(n*n-r*r)}}]),e}(),SA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new wA,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return(0,be.Z)(this,n),(e=t.call(this,void 0,i)).isLightProbe=!0,e.sh=r,e}
2return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.sh.copy(e.sh),this}},{key:"fromJSON",value:function(e){return this.intensity=e.intensity,this.sh.fromArray(e.sh),this}},{key:"toJSON",value:function(e){var t=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this,e);return t.object.sh=this.sh.toArray(),t}}]),n}(iA),_A=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this,e)).textures={},r}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){var i=this,a=new KC(i.manager);a.setPath(i.path),a.setRequestHeader(i.requestHeader),a.setWithCredentials(i.withCredentials),a.load(e,(function(n){try{t(i.parse(JSON.parse(n)))}catch(nZ){r?r(nZ):console.error(nZ),i.manager.itemError(e)}}),n,r)}},{key:"parse",value:function(e){var t=this.textures;function r(e){return void 0===t[e]&&console.warn("THREE.MaterialLoader: Undefined texture",e),t[e]}var i=n.createMaterialFromType(e.type);if(void 0!==e.uuid&&(i.uuid=e.uuid),void 0!==e.name&&(i.name=e.name),void 0!==e.color&&void 0!==i.color&&i.color.setHex(e.color),void 0!==e.roughness&&(i.roughness=e.roughness),void 0!==e.metalness&&(i.metalness=e.metalness),void 0!==e.sheen&&(i.sheen=e.sheen),void 0!==e.sheenColor&&(i.sheenColor=(new jw).setHex(e.sheenColor)),void 0!==e.sheenRoughness&&(i.sheenRoughness=e.sheenRoughness),void 0!==e.emissive&&void 0!==i.emissive&&i.emissive.setHex(e.emissive),void 0!==e.specular&&void 0!==i.specular&&i.specular.setHex(e.specular),void 0!==e.specularIntensity&&(i.specularIntensity=e.specularIntensity),void 0!==e.specularColor&&void 0!==i.specularColor&&i.specularColor.setHex(e.specularColor),void 0!==e.shininess&&(i.shininess=e.shininess),void 0!==e.clearcoat&&(i.clearcoat=e.clearcoat),void 0!==e.clearcoatRoughness&&(i.clearcoatRoughness=e.clearcoatRoughness),void 0!==e.iridescence&&(i.iridescence=e.iridescence),void 0!==e.iridescenceIOR&&(i.iridescenceIOR=e.iridescenceIOR),void 0!==e.iridescenceThicknessRange&&(i.iridescenceThicknessRange=e.iridescenceThicknessRange),void 0!==e.transmission&&(i.transmission=e.transmission),void 0!==e.thickness&&(i.thickness=e.thickness),void 0!==e.attenuationDistance&&(i.attenuationDistance=e.attenuationDistance),void 0!==e.attenuationColor&&void 0!==i.attenuationColor&&i.attenuationColor.setHex(e.attenuationColor),void 0!==e.fog&&(i.fog=e.fog),void 0!==e.flatShading&&(i.flatShading=e.flatShading),void 0!==e.blending&&(i.blending=e.blending),void 0!==e.combine&&(i.combine=e.combine),void 0!==e.side&&(i.side=e.side),void 0!==e.shadowSide&&(i.shadowSide=e.shadowSide),void 0!==e.opacity&&(i.opacity=e.opacity),void 0!==e.transparent&&(i.transparent=e.transparent),void 0!==e.alphaTest&&(i.alphaTest=e.alphaTest),void 0!==e.depthTest&&(i.depthTest=e.depthTest),void 0!==e.depthWrite&&(i.depthWrite=e.depthWrite),void 0!==e.colorWrite&&(i.colorWrite=e.colorWrite),void 0!==e.stencilWrite&&(i.stencilWrite=e.stencilWrite),void 0!==e.stencilWriteMask&&(i.stencilWriteMask=e.stencilWriteMask),void 0!==e.stencilFunc&&(i.stencilFunc=e.stencilFunc),void 0!==e.stencilRef&&(i.stencilRef=e.stencilRef),void 0!==e.stencilFuncMask&&(i.stencilFuncMask=e.stencilFuncMask),void 0!==e.stencilFail&&(i.stencilFail=e.stencilFail),void 0!==e.stencilZFail&&(i.stencilZFail=e.stencilZFail),void 0!==e.stencilZPass&&(i.stencilZPass=e.stencilZPass),void 0!==e.wireframe&&(i.wireframe=e.wireframe),void 0!==e.wireframeLinewidth&&(i.wireframeLinewidth=e.wireframeLinewidth),void 0!==e.wireframeLinecap&&(i.wireframeLinecap=e.wireframeLinecap),void 0!==e.wireframeLinejoin&&(i.wireframeLinejoin=e.wireframeLinejoin),void 0!==e.rotation&&(i.rotation=e.rotation),1!==e.linewidth&&(i.linewidth=e.linewidth),void 0!==e.dashSize&&(i.dashSize=e.dashSize),void 0!==e.gapSize&&(i.gapSize=e.gapSize),void 0!==e.scale&&(i.scale=e.scale),void 0!==e.polygonOffset&&(i.polygonOffset=e.polygonOffset),void 0!==e.polygonOffsetFactor&&(i.polygonOffsetFactor=e.polygonOffsetFactor),void 0!==e.polygonOffsetUnits&&(i.polygonOffsetUnits=e.polygonOffsetUnits),void 0!==e.dithering&&(i.dithering=e.dithering),void 0!==e.alphaToCoverage&&(i.alphaToCoverage=e.alphaToCoverage),void 0!==e.premultipliedAlpha&&(i.premultipliedAlpha=e.premultipliedAlpha),void 0!==e.forceSinglePass&&(i.forceSinglePass=e.forceSinglePass),void 0!==e.visible&&(i.visible=e.visible),void 0!==e.toneMapped&&(i.toneMapped=e.toneMapped),void 0!==e.userData&&(i.userData=e.userData),void 0!==e.vertexColors&&("number"===typeof e.vertexColors?i.vertexColors=e.vertexColors>0:i.vertexColors=e.vertexColors),void 0!==e.uniforms)for(var a in e.uniforms){var o=e.uniforms[a];switch(i.uniforms[a]={},o.type){case"t":i.uniforms[a].value=r(o.value);break;case"c":i.uniforms[a].value=(new jw).setHex(o.value);break;case"v2":i.uniforms[a].value=(new Vb).fromArray(o.value);break;case"v3":i.uniforms[a].value=(new gx).fromArray(o.value);break;case"v4":i.uniforms[a].value=(new ux).fromArray(o.value);break;case"m3":i.uniforms[a].value=(new Hb).fromArray(o.value);break;
2case"m4":i.uniforms[a].value=(new qx).fromArray(o.value);break;default:i.uniforms[a].value=o.value}}if(void 0!==e.defines&&(i.defines=e.defines),void 0!==e.vertexShader&&(i.vertexShader=e.vertexShader),void 0!==e.fragmentShader&&(i.fragmentShader=e.fragmentShader),void 0!==e.glslVersion&&(i.glslVersion=e.glslVersion),void 0!==e.extensions)for(var s in e.extensions)i.extensions[s]=e.extensions[s];if(void 0!==e.size&&(i.size=e.size),void 0!==e.sizeAttenuation&&(i.sizeAttenuation=e.sizeAttenuation),void 0!==e.map&&(i.map=r(e.map)),void 0!==e.matcap&&(i.matcap=r(e.matcap)),void 0!==e.alphaMap&&(i.alphaMap=r(e.alphaMap)),void 0!==e.bumpMap&&(i.bumpMap=r(e.bumpMap)),void 0!==e.bumpScale&&(i.bumpScale=e.bumpScale),void 0!==e.normalMap&&(i.normalMap=r(e.normalMap)),void 0!==e.normalMapType&&(i.normalMapType=e.normalMapType),void 0!==e.normalScale){var l=e.normalScale;!1===Array.isArray(l)&&(l=[l,l]),i.normalScale=(new Vb).fromArray(l)}return void 0!==e.displacementMap&&(i.displacementMap=r(e.displacementMap)),void 0!==e.displacementScale&&(i.displacementScale=e.displacementScale),void 0!==e.displacementBias&&(i.displacementBias=e.displacementBias),void 0!==e.roughnessMap&&(i.roughnessMap=r(e.roughnessMap)),void 0!==e.metalnessMap&&(i.metalnessMap=r(e.metalnessMap)),void 0!==e.emissiveMap&&(i.emissiveMap=r(e.emissiveMap)),void 0!==e.emissiveIntensity&&(i.emissiveIntensity=e.emissiveIntensity),void 0!==e.specularMap&&(i.specularMap=r(e.specularMap)),void 0!==e.specularIntensityMap&&(i.specularIntensityMap=r(e.specularIntensityMap)),void 0!==e.specularColorMap&&(i.specularColorMap=r(e.specularColorMap)),void 0!==e.envMap&&(i.envMap=r(e.envMap)),void 0!==e.envMapIntensity&&(i.envMapIntensity=e.envMapIntensity),void 0!==e.reflectivity&&(i.reflectivity=e.reflectivity),void 0!==e.refractionRatio&&(i.refractionRatio=e.refractionRatio),void 0!==e.lightMap&&(i.lightMap=r(e.lightMap)),void 0!==e.lightMapIntensity&&(i.lightMapIntensity=e.lightMapIntensity),void 0!==e.aoMap&&(i.aoMap=r(e.aoMap)),void 0!==e.aoMapIntensity&&(i.aoMapIntensity=e.aoMapIntensity),void 0!==e.gradientMap&&(i.gradientMap=r(e.gradientMap)),void 0!==e.clearcoatMap&&(i.clearcoatMap=r(e.clearcoatMap)),void 0!==e.clearcoatRoughnessMap&&(i.clearcoatRoughnessMap=r(e.clearcoatRoughnessMap)),void 0!==e.clearcoatNormalMap&&(i.clearcoatNormalMap=r(e.clearcoatNormalMap)),void 0!==e.clearcoatNormalScale&&(i.clearcoatNormalScale=(new Vb).fromArray(e.clearcoatNormalScale)),void 0!==e.iridescenceMap&&(i.iridescenceMap=r(e.iridescenceMap)),void 0!==e.iridescenceThicknessMap&&(i.iridescenceThicknessMap=r(e.iridescenceThicknessMap)),void 0!==e.transmissionMap&&(i.transmissionMap=r(e.transmissionMap)),void 0!==e.thicknessMap&&(i.thicknessMap=r(e.thicknessMap)),void 0!==e.sheenColorMap&&(i.sheenColorMap=r(e.sheenColorMap)),void 0!==e.sheenRoughnessMap&&(i.sheenRoughnessMap=r(e.sheenRoughnessMap)),i}},{key:"setTextures",value:function(e){return this.textures=e,this}}],[{key:"createMaterialFromType",value:function(e){return new{ShadowMaterial:hC,SpriteMaterial:IM,RawShaderMaterial:pC,ShaderMaterial:IS,PointsMaterial:OE,MeshPhysicalMaterial:mC,MeshStandardMaterial:vC,MeshPhongMaterial:gC,MeshToonMaterial:yC,MeshNormalMaterial:bC,MeshLambertMaterial:xC,MeshDepthMaterial:hM,MeshDistanceMaterial:pM,MeshBasicMaterial:zw,MeshMatcapMaterial:wC,LineDashedMaterial:SC,LineBasicMaterial:wE,Material:Ow}[e]}}]),n}(XC),kA=function(){function e(){(0,be.Z)(this,e)}return(0,xe.Z)(e,null,[{key:"decodeText",value:function(e){if("undefined"!==typeof TextDecoder)return(new TextDecoder).decode(e);for(var t="",n=0,r=e.length;n<r;n++)t+=String.fromCharCode(e[n]);try{return decodeURIComponent(escape(t))}catch(nZ){return t}}},{key:"extractUrlBase",value:function(e){var t=e.lastIndexOf("/");return-1===t?"./":e.slice(0,t+1)}},{key:"resolveURL",value:function(e,t){return"string"!==typeof e||""===e?"":(/^https?:\/\//i.test(t)&&/^\//.test(e)&&(t=t.replace(/(^https?:\/\/[^\/]+).*/i,"$1")),/^(https?:)?\/\//i.test(e)||/^data:.*,.*$/i.test(e)||/^blob:.*$/i.test(e)?e:t+e)}}]),e}(),MA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this)).isInstancedBufferGeometry=!0,e.type="InstancedBufferGeometry",e.instanceCount=1/0,e}
2return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.instanceCount=e.instanceCount,this}},{key:"toJSON",value:function(){var e=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this);return e.instanceCount=this.instanceCount,e.isInstancedBufferGeometry=!0,e}}]),n}(dS),EA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){return(0,be.Z)(this,n),t.call(this,e)}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){var i=this,a=new KC(i.manager);a.setPath(i.path),a.setRequestHeader(i.requestHeader),a.setWithCredentials(i.withCredentials),a.load(e,(function(n){try{t(i.parse(JSON.parse(n)))}catch(nZ){r?r(nZ):console.error(nZ),i.manager.itemError(e)}}),n,r)}},{key:"parse",value:function(e){var t={},n={};function r(e,r){if(void 0!==t[r])return t[r];var i=e.interleavedBuffers[r],a=function(e,t){if(void 0!==n[t])return n[t];var r=e.arrayBuffers,i=r[t],a=new Uint32Array(i).buffer;return n[t]=a,a}(e,i.buffer),o=Xb(i.type,a),s=new LM(o,i.stride);return s.uuid=i.uuid,t[r]=s,s}var i=e.isInstancedBufferGeometry?new MA:new dS,a=e.data.index;if(void 0!==a){var o=Xb(a.type,a.array);i.setIndex(new qw(o,1))}var s=e.data.attributes;for(var l in s){var u=s[l],c=void 0;if(u.isInterleavedBufferAttribute){var d=r(e.data,u.data);c=new NM(d,u.itemSize,u.offset,u.normalized)}else{var f=Xb(u.type,u.array);c=new(u.isInstancedBufferAttribute?fE:qw)(f,u.itemSize,u.normalized)}void 0!==u.name&&(c.name=u.name),void 0!==u.usage&&c.setUsage(u.usage),void 0!==u.updateRange&&(c.updateRange.offset=u.updateRange.offset,c.updateRange.count=u.updateRange.count),i.setAttribute(l,c)}var h=e.data.morphAttributes;if(h)for(var p in h){for(var v=h[p],m=[],g=0,y=v.length;g<y;g++){var b=v[g],x=void 0;if(b.isInterleavedBufferAttribute){var w=r(e.data,b.data);x=new NM(w,b.itemSize,b.offset,b.normalized)}else{var S=Xb(b.type,b.array);x=new qw(S,b.itemSize,b.normalized)}void 0!==b.name&&(x.name=b.name),m.push(x)}i.morphAttributes[p]=m}e.data.morphTargetsRelative&&(i.morphTargetsRelative=!0);var _=e.data.groups||e.data.drawcalls||e.data.offsets;if(void 0!==_)for(var k=0,M=_.length;k!==M;++k){var E=_[k];i.addGroup(E.start,E.count,E.materialIndex)}var T=e.data.boundingSphere;if(void 0!==T){var C=new gx;void 0!==T.center&&C.fromArray(T.center),i.boundingSphere=new Dx(C,T.radius)}return e.name&&(i.name=e.name),e.userData&&(i.userData=e.userData),i}}]),n}(XC),TA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){return(0,be.Z)(this,n),t.call(this,e)}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){var i=this,a=""===this.path?kA.extractUrlBase(e):this.path;this.resourcePath=this.resourcePath||a;var o=new KC(this.manager);o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,(function(n){var a=null;try{a=JSON.parse(n)}catch(s){return void 0!==r&&r(s),void console.error("THREE:ObjectLoader: Can't parse "+e+".",s.message)}var o=a.metadata;if(void 0===o||void 0===o.type||"geometry"===o.type.toLowerCase())return void 0!==r&&r(new Error("THREE.ObjectLoader: Can't load "+e)),void console.error("THREE.ObjectLoader: Can't load "+e);i.parse(a,t)}),n,r)}},{key:"loadAsync",value:function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t,n){var r,i,a,o,s,l;return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this,i=""===this.path?kA.extractUrlBase(t):this.path,this.resourcePath=this.resourcePath||i,(a=new KC(this.manager)).setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),e.next=9,a.loadAsync(t,n);case 9:if(o=e.sent,s=JSON.parse(o),void 0!==(l=s.metadata)&&void 0!==l.type&&"geometry"!==l.type.toLowerCase()){e.next=14;break}throw new Error("THREE.ObjectLoader: Can't load "+t);case 14:return e.next=16,r.parseAsync(s);case 16:return e.abrupt("return",e.sent);case 17:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"parse",value:function(e,t){var n=this.parseAnimations(e.animations),r=this.parseShapes(e.shapes),i=this.parseGeometries(e.geometries,r),a=this.parseImages(e.images,(function(){void 0!==t&&t(l)})),o=this.parseTextures(e.textures,a),s=this.parseMaterials(e.materials,o),l=this.parseObject(e.object,i,s,o,n),u=this.parseSkeletons(e.skeletons,l);if(this.bindSkeletons(l,u),void 0!==t){var c=!1;for(var d in a)if(a[d].data instanceof HTMLImageElement){c=!0;break}!1===c&&t(l)}return l}},{key:"parseAsync",value:function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t){var n,r,i,a,o,s,l,u;return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.parseAnimations(t.animations),r=this.parseShapes(t.shapes),i=this.parseGeometries(t.geometries,r),e.next=5,this.parseImagesAsync(t.images);case 5:return a=e.sent,o=this.parseTextures(t.textures,a),s=this.parseMaterials(t.materials,o),l=this.parseObject(t.object,i,s,o,n),u=this.parseSkeletons(t.skeletons,l),this.bindSkeletons(l,u),e.abrupt("return",l);case 12:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"parseShapes",value:function(e){var t={};if(void 0!==e)for(var n=0,r=e.length;n<r;n++){var i=(new kT).fromJSON(e[n]);t[i.uuid]=i}return t}},{key:"parseSkeletons",value:function(e,t){var n={},r={};if(t.traverse((function(e){e.isBone&&(r[e.uuid]=e)})),void 0!==e)for(var i=0,a=e.length;i<a;i++){var o=(new dE).fromJSON(e[i],r);n[o.uuid]=o}return n}},{key:"parseGeometries",value:function(e,t){var n={};if(void 0!==e)for(var r=new EA,i=0,a=e.length;i<a;i++){var o=void 0,s=e[i];switch(s.type){case"BufferGeometry":case"InstancedBufferGeometry":o=r.parse(s);break;default:s.type in fC?o=fC[s.type].fromJSON(s,t):console.warn('THREE.ObjectLoader: Unsupported geometry type "'.concat(s.type,'"'))}o.uuid=s.uuid,void 0!==s.name&&(o.name=s.name),void 0!==s.userData&&(o.userData=s.userData),n[s.uuid]=o}return n}},{key:"parseMaterials",value:function(e,t){var n={},r={};if(void 0!==e){var i=new _A;i.setTextures(t);for(var a=0,o=e.length;a<o;a++){var s=e[a];void 0===n[s.uuid]&&(n[s.uuid]=i.parse(s)),r[s.uuid]=n[s.uuid]}}return r}},{key:"parseAnimations",value:function(e){var t={};if(void 0!==e)for(var n=0;n<e.length;n++){var r=e[n],i=BC.parse(r);t[i.uuid]=i}return t}},{key:"parseImages",value:function(e,t){var n,r=this,i={};function a(e){if("string"===typeof e){var t=e;return function(e){return r.manager.itemStart(e),n.load(e,(function(){r.manager.itemEnd(e)}),void 0,(function(){r.manager.itemError(e),r.manager.itemEnd(e)}))}(/^(\/\/)|([a-z]+:(\/\/)?)/i.test(t)?t:r.resourcePath+t)}return e.data?{data:Xb(e.type,e.data),width:e.width,height:e.height}:null}if(void 0!==e&&e.length>0){var o=new GC(t);(n=new eA(o)).setCrossOrigin(this.crossOrigin);for(var s=0,l=e.length;s<l;s++){var u=e[s],c=u.url;if(Array.isArray(c)){for(var d=[],f=0,h=c.length;f<h;f++){var p=a(c[f]);null!==p&&(p instanceof HTMLImageElement?d.push(p):d.push(new lE(p.data,p.width,p.height)))}i[u.uuid]=new ax(d)}else{var v=a(u.url);i[u.uuid]=new ax(v)}}}return i}},{key:"parseImagesAsync",value:function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t){var n,r,i,a,o,s,l,u,c,d,f,h,p,v,m;return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=function(){return o=(0,ff.Z)((0,df.Z)().mark((function e(t){var r,a;return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("string"!==typeof t){e.next=8;break}return a=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(r=t)?r:n.resourcePath+r,e.next=5,i.loadAsync(a);case 5:return e.abrupt("return",e.sent);case 8:if(!t.data){e.next=12;break}return e.abrupt("return",{data:Xb(t.type,t.data),width:t.width,height:t.height});case 12:return e.abrupt("return",null);case 13:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)},a=function(e){return o.apply(this,arguments)},n=this,r={},!(void 0!==t&&t.length>0)){e.next=33;break}(i=new eA(this.manager)).setCrossOrigin(this.crossOrigin),s=0,l=t.length;case 8:if(!(s<l)){e.next=33;break}
2if(u=t[s],c=u.url,!Array.isArray(c)){e.next=26;break}d=[],f=0,h=c.length;case 14:if(!(f<h)){e.next=23;break}return p=c[f],e.next=18,a(p);case 18:null!==(v=e.sent)&&(v instanceof HTMLImageElement?d.push(v):d.push(new lE(v.data,v.width,v.height)));case 20:f++,e.next=14;break;case 23:r[u.uuid]=new ax(d),e.next=30;break;case 26:return e.next=28,a(u.url);case 28:m=e.sent,r[u.uuid]=new ax(m);case 30:s++,e.next=8;break;case 33:return e.abrupt("return",r);case 34:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"parseTextures",value:function(e,t){function n(e,t){return"number"===typeof e?e:(console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",e),t[e])}var r={};if(void 0!==e)for(var i=0,a=e.length;i<a;i++){var o=e[i];void 0===o.image&&console.warn('THREE.ObjectLoader: No "image" specified for',o.uuid),void 0===t[o.image]&&console.warn("THREE.ObjectLoader: Undefined image",o.image);var s=t[o.image],l=s.data,u=void 0;Array.isArray(l)?(u=new FS,6===l.length&&(u.needsUpdate=!0)):(u=l&&l.data?new lE:new lx,l&&(u.needsUpdate=!0)),u.source=s,u.uuid=o.uuid,void 0!==o.name&&(u.name=o.name),void 0!==o.mapping&&(u.mapping=n(o.mapping,CA)),void 0!==o.channel&&(u.channel=o.channel),void 0!==o.offset&&u.offset.fromArray(o.offset),void 0!==o.repeat&&u.repeat.fromArray(o.repeat),void 0!==o.center&&u.center.fromArray(o.center),void 0!==o.rotation&&(u.rotation=o.rotation),void 0!==o.wrap&&(u.wrapS=n(o.wrap[0],AA),u.wrapT=n(o.wrap[1],AA)),void 0!==o.format&&(u.format=o.format),void 0!==o.internalFormat&&(u.internalFormat=o.internalFormat),void 0!==o.type&&(u.type=o.type),void 0!==o.encoding&&(u.encoding=o.encoding),void 0!==o.minFilter&&(u.minFilter=n(o.minFilter,PA)),void 0!==o.magFilter&&(u.magFilter=n(o.magFilter,PA)),void 0!==o.anisotropy&&(u.anisotropy=o.anisotropy),void 0!==o.flipY&&(u.flipY=o.flipY),void 0!==o.generateMipmaps&&(u.generateMipmaps=o.generateMipmaps),void 0!==o.premultiplyAlpha&&(u.premultiplyAlpha=o.premultiplyAlpha),void 0!==o.unpackAlignment&&(u.unpackAlignment=o.unpackAlignment),void 0!==o.userData&&(u.userData=o.userData),r[o.uuid]=u}return r}},{key:"parseObject",value:function(e,t,n,r,i){var a,o,s;function l(e){return void 0===t[e]&&console.warn("THREE.ObjectLoader: Undefined geometry",e),t[e]}function u(e){if(void 0!==e){if(Array.isArray(e)){for(var t=[],r=0,i=e.length;r<i;r++){var a=e[r];void 0===n[a]&&console.warn("THREE.ObjectLoader: Undefined material",a),t.push(n[a])}return t}return void 0===n[e]&&console.warn("THREE.ObjectLoader: Undefined material",e),n[e]}}function c(e){return void 0===r[e]&&console.warn("THREE.ObjectLoader: Undefined texture",e),r[e]}switch(e.type){case"Scene":a=new OM,void 0!==e.background&&(Number.isInteger(e.background)?a.background=new jw(e.background):a.background=c(e.background)),void 0!==e.environment&&(a.environment=c(e.environment)),void 0!==e.fog&&("Fog"===e.fog.type?a.fog=new RM(e.fog.color,e.fog.near,e.fog.far):"FogExp2"===e.fog.type&&(a.fog=new PM(e.fog.color,e.fog.density))),void 0!==e.backgroundBlurriness&&(a.backgroundBlurriness=e.backgroundBlurriness),void 0!==e.backgroundIntensity&&(a.backgroundIntensity=e.backgroundIntensity);break;case"PerspectiveCamera":a=new DS(e.fov,e.aspect,e.near,e.far),void 0!==e.focus&&(a.focus=e.focus),void 0!==e.zoom&&(a.zoom=e.zoom),void 0!==e.filmGauge&&(a.filmGauge=e.filmGauge),void 0!==e.filmOffset&&(a.filmOffset=e.filmOffset),void 0!==e.view&&(a.view=Object.assign({},e.view));break;case"OrthographicCamera":a=new u_(e.left,e.right,e.top,e.bottom,e.near,e.far),void 0!==e.zoom&&(a.zoom=e.zoom),void 0!==e.view&&(a.view=Object.assign({},e.view));break;case"AmbientLight":a=new bA(e.color,e.intensity);break;case"DirectionalLight":a=new yA(e.color,e.intensity);break;case"PointLight":a=new mA(e.color,e.intensity,e.distance,e.decay);break;case"RectAreaLight":a=new xA(e.color,e.intensity,e.width,e.height);break;case"SpotLight":a=new dA(e.color,e.intensity,e.distance,e.angle,e.penumbra,e.decay);break;case"HemisphereLight":a=new aA(e.color,e.groundColor,e.intensity);break;case"LightProbe":a=(new SA).fromJSON(e);break;case"SkinnedMesh":o=l(e.geometry),s=u(e.material),a=new oE(o,s),void 0!==e.bindMode&&(a.bindMode=e.bindMode),void 0!==e.bindMatrix&&a.bindMatrix.fromArray(e.bindMatrix),void 0!==e.skeleton&&(a.skeleton=e.skeleton);break;case"Mesh":o=l(e.geometry),s=u(e.material),a=new AS(o,s);break;case"InstancedMesh":o=l(e.geometry),s=u(e.material);var d=e.count,f=e.instanceMatrix,h=e.instanceColor;(a=new xE(o,s,d)).instanceMatrix=new fE(new Float32Array(f.array),16),void 0!==h&&(a.instanceColor=new fE(new Float32Array(h.array),h.itemSize));break;case"LOD":a=new $M;break;case"Line":a=new TE(l(e.geometry),u(e.material));break;case"LineLoop":a=new RE(l(e.geometry),u(e.material));break;case"LineSegments":a=new PE(l(e.geometry),u(e.material));break;case"PointCloud":case"Points":a=new jE(l(e.geometry),u(e.material));break;case"Sprite":a=new YM(u(e.material));break;case"Group":a=new xM;break;case"Bone":a=new sE;break;default:a=new yw}if(a.uuid=e.uuid,void 0!==e.name&&(a.name=e.name),void 0!==e.matrix?(a.matrix.fromArray(e.matrix),void 0!==e.matrixAutoUpdate&&(a.matrixAutoUpdate=e.matrixAutoUpdate),a.matrixAutoUpdate&&a.matrix.decompose(a.position,a.quaternion,a.scale)):(void 0!==e.position&&a.position.fromArray(e.position),void 0!==e.rotation&&a.rotation.fromArray(e.rotation),void 0!==e.quaternion&&a.quaternion.fromArray(e.quaternion),void 0!==e.scale&&a.scale.fromArray(e.scale)),void 0!==e.up&&a.up.fromArray(e.up),void 0!==e.castShadow&&(a.castShadow=e.castShadow),void 0!==e.receiveShadow&&(a.receiveShadow=e.receiveShadow),e.shadow&&(void 0!==e.shadow.bias&&(a.shadow.bias=e.shadow.bias),void 0!==e.shadow.normalBias&&(a.shadow.normalBias=e.shadow.normalBias),void 0!==e.shadow.radius&&(a.shadow.radius=e.shadow.radius),void 0!==e.shadow.mapSize&&a.shadow.mapSize.fromArray(e.shadow.mapSize),void 0!==e.shadow.camera&&(a.shadow.camera=this.parseObject(e.shadow.camera))),void 0!==e.visible&&(a.visible=e.visible),void 0!==e.frustumCulled&&(a.frustumCulled=e.frustumCulled),void 0!==e.renderOrder&&(a.renderOrder=e.renderOrder),void 0!==e.userData&&(a.userData=e.userData),void 0!==e.layers&&(a.layers.mask=e.layers
2),void 0!==e.children)for(var p=e.children,v=0;v<p.length;v++)a.add(this.parseObject(p[v],t,n,r,i));if(void 0!==e.animations)for(var m=e.animations,g=0;g<m.length;g++){var y=m[g];a.animations.push(i[y])}if("LOD"===e.type){void 0!==e.autoUpdate&&(a.autoUpdate=e.autoUpdate);for(var b=e.levels,x=0;x<b.length;x++){var w=b[x],S=a.getObjectByProperty("uuid",w.object);void 0!==S&&a.addLevel(S,w.distance,w.hysteresis)}}return a}},{key:"bindSkeletons",value:function(e,t){0!==Object.keys(t).length&&e.traverse((function(e){if(!0===e.isSkinnedMesh&&void 0!==e.skeleton){var n=t[e.skeleton];void 0===n?console.warn("THREE.ObjectLoader: No skeleton found with UUID:",e.skeleton):e.bind(n,e.bindMatrix)}}))}}]),n}(XC),CA={UVMapping:hg,CubeReflectionMapping:pg,CubeRefractionMapping:vg,EquirectangularReflectionMapping:mg,EquirectangularRefractionMapping:gg,CubeUVReflectionMapping:yg},AA={RepeatWrapping:bg,ClampToEdgeWrapping:xg,MirroredRepeatWrapping:wg},PA={NearestFilter:Sg,NearestMipmapNearestFilter:_g,NearestMipmapLinearFilter:Mg,LinearFilter:Tg,LinearMipmapNearestFilter:Cg,LinearMipmapLinearFilter:Pg},RA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this,e)).isImageBitmapLoader=!0,"undefined"===typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),"undefined"===typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),r.options={premultiplyAlpha:"none"},r}return(0,xe.Z)(n,[{key:"setOptions",value:function(e){return this.options=e,this}},{key:"load",value:function(e,t,n,r){void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);var i=this,a=WC.get(e);if(void 0!==a)return i.manager.itemStart(e),setTimeout((function(){t&&t(a),i.manager.itemEnd(e)}),0),a;var o={};o.credentials="anonymous"===this.crossOrigin?"same-origin":"include",o.headers=this.requestHeader,fetch(e,o).then((function(e){return e.blob()})).then((function(e){return createImageBitmap(e,Object.assign(i.options,{colorSpaceConversion:"none"}))})).then((function(n){WC.add(e,n),t&&t(n),i.manager.itemEnd(e)})).catch((function(t){r&&r(t),i.manager.itemError(e),i.manager.itemEnd(e)})),i.manager.itemStart(e)}}]),n}(XC),OA=function(){function e(){(0,be.Z)(this,e)}return(0,xe.Z)(e,null,[{key:"getContext",value:function(){return void 0===HC&&(HC=new(window.AudioContext||window.webkitAudioContext)),HC}},{key:"setContext",value:function(e){HC=e}}]),e}(),LA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){return(0,be.Z)(this,n),t.call(this,e)}return(0,xe.Z)(n,[{key:"load",value:function(e,t,n,r){var i=this,a=new KC(this.manager);a.setResponseType("arraybuffer"),a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,(function(n){try{var a=n.slice(0);OA.getContext().decodeAudioData(a,(function(e){t(e)}))}catch(nZ){r?r(nZ):console.error(nZ),i.manager.itemError(e)}}),n,r)}}]),n}(XC),ZA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,be.Z)(this,n),(i=t.call(this,void 0,a)).isHemisphereLightProbe=!0;var o=(new jw).set(e),s=(new jw).set(r),l=new gx(o.r,o.g,o.b),u=new gx(s.r,s.g,s.b),c=Math.sqrt(Math.PI),d=c*Math.sqrt(.75);return i.sh.coefficients[0].copy(l).add(u).multiplyScalar(c),i.sh.coefficients[1].copy(l).sub(u).multiplyScalar(d),i}return(0,xe.Z)(n)}(SA),NA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;(0,be.Z)(this,n),(r=t.call(this,void 0,i)).isAmbientLightProbe=!0;var a=(new jw).set(e);return r.sh.coefficients[0].set(a.r,a.g,a.b).multiplyScalar(2*Math.sqrt(Math.PI)),r}return(0,xe.Z)(n)}(SA),IA=new qx,jA=new qx,DA=new qx,zA=function(){function e(){(0,be.Z)(this,e),this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new DS,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new DS,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}return(0,xe.Z)(e,[{key:"update",value:function(e){var t=this._cache;if(t.focus!==e.focus||t.fov!==e.fov||t.aspect!==e.aspect*this.aspect||t.near!==e.near||t.far!==e.far||t.zoom!==e.zoom||t.eyeSep!==this.eyeSep){t.focus=e.focus,t.fov=e.fov,t.aspect=e.aspect*this.aspect,t.near=e.near,t.far=e.far,t.zoom=e.zoom,t.eyeSep=this.eyeSep,DA.copy(e.projectionMatrix);
2var n,r,i=t.eyeSep/2,a=i*t.near/t.focus,o=t.near*Math.tan(Rb*t.fov*.5)/t.zoom;jA.elements[12]=-i,IA.elements[12]=i,n=-o*t.aspect+a,r=o*t.aspect+a,DA.elements[0]=2*t.near/(r-n),DA.elements[8]=(r+n)/(r-n),this.cameraL.projectionMatrix.copy(DA),n=-o*t.aspect-a,r=o*t.aspect-a,DA.elements[0]=2*t.near/(r-n),DA.elements[8]=(r+n)/(r-n),this.cameraR.projectionMatrix.copy(DA)}this.cameraL.matrixWorld.copy(e.matrixWorld).multiply(jA),this.cameraR.matrixWorld.copy(e.matrixWorld).multiply(IA)}}]),e}(),UA=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(0,be.Z)(this,e),this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}return(0,xe.Z)(e,[{key:"start",value:function(){this.startTime=FA(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}},{key:"stop",value:function(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}},{key:"getElapsedTime",value:function(){return this.getDelta(),this.elapsedTime}},{key:"getDelta",value:function(){var e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){var t=FA();e=(t-this.oldTime)/1e3,this.oldTime=t,this.elapsedTime+=e}return e}}]),e}();function FA(){return("undefined"===typeof performance?Date:performance).now()}
2var BA=new gx,VA=new mx,HA=new gx,WA=new gx,GA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this)).type="AudioListener",e.context=OA.getContext(),e.gain=e.context.createGain(),e.gain.connect(e.context.destination),e.filter=null,e.timeDelta=0,e._clock=new UA,e}return(0,xe.Z)(n,[{key:"getInput",value:function(){return this.gain}},{key:"removeFilter",value:function(){return null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}},{key:"getFilter",value:function(){return this.filter}},{key:"setFilter",value:function(e){return null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=e,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}},{key:"getMasterVolume",value:function(){return this.gain.gain.value}},{key:"setMasterVolume",value:function(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}},{key:"updateMatrixWorld",value:function(e){(0,fm.Z)((0,Fo.Z)(n.prototype),"updateMatrixWorld",this).call(this,e);var t=this.context.listener,r=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(BA,VA,HA),WA.set(0,0,-1).applyQuaternion(VA),t.positionX){var i=this.context.currentTime+this.timeDelta;t.positionX.linearRampToValueAtTime(BA.x,i),t.positionY.linearRampToValueAtTime(BA.y,i),t.positionZ.linearRampToValueAtTime(BA.z,i),t.forwardX.linearRampToValueAtTime(WA.x,i),t.forwardY.linearRampToValueAtTime(WA.y,i),t.forwardZ.linearRampToValueAtTime(WA.z,i),t.upX.linearRampToValueAtTime(r.x,i),t.upY.linearRampToValueAtTime(r.y,i),t.upZ.linearRampToValueAtTime(r.z,i)}else t.setPosition(BA.x,BA.y,BA.z),t.setOrientation(WA.x,WA.y,WA.z,r.x,r.y,r.z)}}]),n}(yw),qA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this)).type="Audio",r.listener=e,r.context=e.context,r.gain=r.context.createGain(),r.gain.connect(e.getInput()),r.autoplay=!1,r.buffer=null,r.detune=0,r.loop=!1,r.loopStart=0,r.loopEnd=0,r.offset=0,r.duration=void 0,r.playbackRate=1,r.isPlaying=!1,r.hasPlaybackControl=!0,r.source=null,r.sourceType="empty",r._startedAt=0,r._progress=0,r._connected=!1,r.filters=[],r}return(0,xe.Z)(n,[{key:"getOutput",value:function(){return this.gain}},{key:"setNodeSource",value:function(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this}},{key:"setMediaElementSource",value:function(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this}},{key:"setMediaStreamSource",value:function(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this}},{key:"setBuffer",value:function(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this}},{key:"play",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!0!==this.isPlaying){if(!1!==this.hasPlaybackControl){this._startedAt=this.context.currentTime+e;var t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}console.warn("THREE.Audio: this Audio has no playback control.")}else console.warn("THREE.Audio: Audio is already playing.")}},{key:"pause",value:function(){if(!1!==this.hasPlaybackControl)return!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this;console.warn("THREE.Audio: this Audio has no playback control.")}},{key:"stop",value:function(){if(!1!==this.hasPlaybackControl)return this._progress=0,null!==this.source&&(this.source.stop(),this.source.onended=null),this.isPlaying=!1,this;console.warn("THREE.Audio: this Audio has no playback control.")}},{key:"connect",value:function(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(var e=1,t=this.filters.length;e<t;e++)this.filters[e-1].connect(this.filters[e]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this._connected=!0,this}},{key:"disconnect",value:function(){if(this.filters.length>0){this.source.disconnect(this.filters[0]);for(var e=1,t=this.filters.length;e<t;e++)this.filters[e-1].disconnect(this.filters[e]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this._connected=!1,this}},{key:"getFilters",value:function(){return this.filters}},{key:"setFilters",value:function(e){return e||(e=[]),!0===this._connected?(this.disconnect(),this.filters=e.slice(),this.connect()):this.filters=e.slice(),this}},{key:"setDetune",value:function(e){if(this.detune=e,void 0!==this.source.detune)return!0===this.isPlaying&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this}},{key:"getDetune",value:function(){return this.detune}},{key:"getFilter",value:function(){return this.getFilters()[0]}},{key:"setFilter",value:function(e){return this.setFilters(e?[e]:[])}},{key:"setPlaybackRate",value:function(e){if(!1!==this.hasPlaybackControl)return this.playbackRate=e,!0===this.isPlaying&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this;console.warn("THREE.Audio: this Audio has no playback control.")}},{key:"getPlaybackRate",value:function(){return this.playbackRate}},{key:"onEnded",value:function(){this.isPlaying=!1}},{key:"getLoop",value:function(){return!1===this.hasPlaybackControl?(console.warn("THREE.Audio: this Audio has no playback control."),!1):this.loop}},{key:"setLoop",value:function(e){if(!1!==this.hasPlaybackControl)return this.loop=e,!0===this.isPlaying&&(this.source.loop=this.loop),this;console.warn("THREE.Audio: this Audio has no playback control.")}},{key:"setLoopStart",value:function(e){return this.loopStart=e,this}},{key:"setLoopEnd",value:function(e){return this.loopEnd=e,this}},{key:"getVolume",value:function(){return this.gain.gain.value}},{key:"setVolume",value:function(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}}]),n}(yw),XA=new gx,YA=new mx,JA=new gx,KA=new gx,QA=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this,e)).panner=r.context.createPanner(),r.panner.panningModel="HRTF",r.panner.connect(r.gain),r}return(0,xe.Z)(n,[{key:"disconnect",value:function(){(0,fm.Z)((0,Fo.Z)(n.prototype),"disconnect",this).call(this),this.panner.disconnect(this.gain)}},{key:"getOutput",value:function(){return this.panner}},{key:"getRefDistance",value:function(){return this.panner.refDistance}},{key:"setRefDistance",value:function(e){return this.panner.refDistance=e,this}},{key:"getRolloffFactor",value:function(){return this.panner.rolloffFactor}},{key:"setRolloffFactor",value:function(e){return this.panner.rolloffFactor=e,this}},{key:"getDistanceModel",value:function(){return this.panner.distanceModel}},{key:"setDistanceModel",value:function(e){return this.panner.distanceModel=e,this}},{key:"getMaxDistance",value:function(){return this.panner.maxDistance}},{key:"setMaxDistance",value:function(e){return this.panner.maxDistance=e,this}},{key:"setDirectionalCone",value:function(e,t,n){return this.panner.coneInnerAngle=e,this.panner.coneOuterAngle=t,this.panner.coneOuterGain=n,this}},{key:"updateMatrixWorld",value:function(e){if((0,fm.Z)((0,Fo.Z)(n.prototype),"updateMatrixWorld",this).call(this,e),!0!==this.hasPlaybackControl||!1!==this.isPlaying){this.matrixWorld.decompose(XA,YA,JA),KA.set(0,0,1).applyQuaternion(YA);var t=this.panner;if(t.positionX){var r=this.context.currentTime+this.listener.timeDelta;t.positionX.linearRampToValueAtTime(XA.x,r),t.positionY.linearRampToValueAtTime(XA.y,r),t.positionZ.linearRampToValueAtTime(XA.z,r),t.orientationX.linearRampToValueAtTime(KA.x,r),t.orientationY.linearRampToValueAtTime(KA.y,r),t.orientationZ.linearRampToValueAtTime(KA.z,r)}else t.setPosition(XA.x,XA.y,XA.z),t.setOrientation(KA.x,KA.y,KA.z)}}}]),n}(qA),$A=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2048;(0,be.Z)(this,e),this.analyser=t.context.createAnalyser(),this.analyser.fftSize=n,this.data=new Uint8Array(this.analyser.frequencyBinCount),t.getOutput().connect(this.analyser)}return(0,xe.Z)(e,[{key:"getFrequencyData",value:function(){return this.analyser.getByteFrequencyData(this.data),this.data}},{key:"getAverageFrequency",value:function(){for(var e=0,t=this.getFrequencyData(),n=0;n<t.length;n++)e+=t[n];return e/t.length}}]),e}(),eP=function(){function e(t,n,r){var i,a,o;switch((0,be.Z)(this,e),this.binding=t,this.valueSize=r,n){case"quaternion":i=this._slerp,a=this._slerpAdditive,o=this._setAdditiveIdentityQuaternion,this.buffer=new Float64Array(6*r),this._workIndex=5;break;case"string":case"bool":i=this._select,a=this._select,o=this._setAdditiveIdentityOther,this.buffer=new Array(5*r);break;default:i=this._lerp,a=this._lerpAdditive,o=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(5*r)}this._mixBufferRegion=i,this._mixBufferRegionAdditive=a,this._setIdentity=o,this._origIndex=3,this._addIndex=4,this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,this.useCount=0,this.referenceCount=0}return(0,xe.Z)(e,[{key:"accumulate",value:function(e,t){var n=this.buffer,r=this.valueSize,i=e*r+r,a=this.cumulativeWeight;if(0===a){for(var o=0;o!==r;++o)n[i+o]=n[o];a=t}else{var s=t/(a+=t);this._mixBufferRegion(n,i,0,s,r)}this.cumulativeWeight=a}},{key:"accumulateAdditive",value:function(e){var t=this.buffer,n=this.valueSize,r=n*this._addIndex;0===this.cumulativeWeightAdditive&&this._setIdentity(),this._mixBufferRegionAdditive(t,r,0,e,n),this.cumulativeWeightAdditive+=e}},{key:"apply",value:function(e){var t=this.valueSize,n=this.buffer,r=e*t+t,i=this.cumulativeWeight,a=this.cumulativeWeightAdditive,o=this.binding;if(this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,i<1){var s=t*this._origIndex;this._mixBufferRegion(n,r,s,1-i,t)}a>0&&this._mixBufferRegionAdditive(n,r,this._addIndex*t,1,t);for(var l=t,u=t+t;l!==u;++l)if(n[l]!==n[l+t]){o.setValue(n,r);break}}},{key:"saveOriginalState",value:function(){var e=this.binding,t=this.buffer,n=this.valueSize,r=n*this._origIndex;e.getValue(t,r);for(var i=n,a=r;i!==a;++i)t[i]=t[r+i%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}},{key:"restoreOriginalState",value:function(){var e=3*this.valueSize;this.binding.setValue(this.buffer,e)}},{key:"_setAdditiveIdentityNumeric",value:function(){for(var e=this._addIndex*this.valueSize,t=e+this.valueSize,n=e;n<t;n++)this.buffer[n]=0}},{key:"_setAdditiveIdentityQuaternion",value:function(){this._setAdditiveIdentityNumeric(),this.buffer[this._addIndex*this.valueSize+3]=1}},{key:"_setAdditiveIdentityOther",value:function(){for(var e=this._origIndex*this.valueSize,t=this._addIndex*this.valueSize,n=0;n<this.valueSize;n++)this.buffer[t+n]=this.buffer[e+n]}},{key:"_select",value:function(e,t,n,r,i){if(r>=.5)for(var a=0;a!==i;++a)e[t+a]=e[n+a]}},{key:"_slerp",value:function(e,t,n,r){mx.slerpFlat(e,t,e,t,e,n,r)}},{key:"_slerpAdditive",value:function(e,t,n,r,i){var a=this._workIndex*i;mx.multiplyQuaternionsFlat(e,a,e,t,e,n),mx.slerpFlat(e,t,e,t,e,a,r)}},{key:"_lerp",value:function(e,t,n,r,i){for(var a=1-r,o=0;o!==i;++o){var s=t+o;e[s]=e[s]*a+e[n+o]*r}}},{key:"_lerpAdditive",value:function(e,t,n,r,i){for(var a=0;a!==i;++a){var o=t+a;e[o]=e[o]+e[n+a]*r}}}]),e}(),tP="\\[\\]\\.:\\/",nP=new RegExp("["+tP+"]","g"),rP="[^"+tP+"]",iP="[^"+tP.replace("\\.","")+"]",aP=new RegExp("^"+/((?:WC+[\/:])*)/.source.replace("WC",rP)+/(WCOD+)?/.source.replace("WCOD",iP)+/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",rP)+/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",rP)+"$"),oP=["material","materials","bones","map"],sP=function(){function e(t,n,r){(0,be.Z)(this,e);var i=r||lP.parseTrackName(n);this._targetGroup=t,this._bindings=t.subscribe_(n,i)}return(0,xe.Z)(e,[{key:"getValue",value:function(e,t){this.bind();var n=this._targetGroup.nCachedObjects_,r=this._bindings[n];void 0!==r&&r.getValue(e,t)}},{key:"setValue",value:function(e,t){for(var n=this._bindings,r=this._targetGroup.nCachedObjects_,i=n.length;r!==i;++r)n[r].setValue(e,t)}},{key:"bind",value:function(){for(var e=this._bindings,t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].bind()}},{key:"unbind",value:function(){for(var e=this._bindings,t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].unbind()}}]),e}(),lP=function(){function e(t,n,r){(0,be.Z)(this,e),this.path=n,this.parsedPath=r||e.parseTrackName(n),this.node=e.findNode(t,this.parsedPath.nodeName),this.rootNode=t,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}return(0,xe.Z)(e,[{key:"_getValue_unavailable",value:function(){}},{key:"_setValue_unavailable",value:function(){}},{key:"_getValue_direct",value:function(e,t){e[t]=this.targetObject[this.propertyName]}},{key:"_getValue_array",value:function(e,t){for(var n=this.resolvedProperty,r=0,i=n.length;r!==i;++r)e[t++]=n[r]}},{key:"_getValue_arrayElement",value:function(e,t){e[t]=this.resolvedProperty[this.propertyIndex]}},{key:"_getValue_toArray",value:function(e,t){this.resolvedProperty.toArray(e,t)}},{key:"_setValue_direct",value:function(e,t){this.targetObject[this.propertyName]=e[t]}},{key:"_setValue_direct_setNeedsUpdate",value:function(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.needsUpdate=!0}},{key:"_setValue_direct_setMatrixWorldNeedsUpdate",value:function(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}},{key:"_setValue_array",value:function(e,t){for(var n=this.resolvedProperty,r=0,i=n.length;r!==i;++r)n[r]=e[t++]}},{key:"_setValue_array_setNeedsUpdate",value:function(e,t){for(var n=this.resolvedProperty,r=0,i=n.length;r!==i;++r)n[r]=e[t++];this.targetObject.needsUpdate=!0}}
2,{key:"_setValue_array_setMatrixWorldNeedsUpdate",value:function(e,t){for(var n=this.resolvedProperty,r=0,i=n.length;r!==i;++r)n[r]=e[t++];this.targetObject.matrixWorldNeedsUpdate=!0}},{key:"_setValue_arrayElement",value:function(e,t){this.resolvedProperty[this.propertyIndex]=e[t]}},{key:"_setValue_arrayElement_setNeedsUpdate",value:function(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.needsUpdate=!0}},{key:"_setValue_arrayElement_setMatrixWorldNeedsUpdate",value:function(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}},{key:"_setValue_fromArray",value:function(e,t){this.resolvedProperty.fromArray(e,t)}},{key:"_setValue_fromArray_setNeedsUpdate",value:function(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.needsUpdate=!0}},{key:"_setValue_fromArray_setMatrixWorldNeedsUpdate",value:function(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.matrixWorldNeedsUpdate=!0}},{key:"_getValue_unbound",value:function(e,t){this.bind(),this.getValue(e,t)}},{key:"_setValue_unbound",value:function(e,t){this.bind(),this.setValue(e,t)}},{key:"bind",value:function(){var t=this.node,n=this.parsedPath,r=n.objectName,i=n.propertyName,a=n.propertyIndex;if(t||(t=e.findNode(this.rootNode,n.nodeName),this.node=t),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,t){if(r){var o=n.objectIndex;switch(r){case"materials":if(!t.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!t.material.materials)return void console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);t=t.material.materials;break;case"bones":if(!t.skeleton)return void console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);t=t.skeleton.bones;for(var s=0;s<t.length;s++)if(t[s].name===o){o=s;break}break;case"map":if("map"in t){t=t.map;break}if(!t.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!t.material.map)return void console.error("THREE.PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);t=t.material.map;break;default:if(void 0===t[r])return void console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);t=t[r]}if(void 0!==o){if(void 0===t[o])return void console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,t);t=t[o]}}var l=t[i];if(void 0!==l){var u=this.Versioning.None;this.targetObject=t,void 0!==t.needsUpdate?u=this.Versioning.NeedsUpdate:void 0!==t.matrixWorldNeedsUpdate&&(u=this.Versioning.MatrixWorldNeedsUpdate);var c=this.BindingType.Direct;if(void 0!==a){if("morphTargetInfluences"===i){if(!t.geometry)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);if(!t.geometry.morphAttributes)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);void 0!==t.morphTargetDictionary[a]&&(a=t.morphTargetDictionary[a])}c=this.BindingType.ArrayElement,this.resolvedProperty=l,this.propertyIndex=a}else void 0!==l.fromArray&&void 0!==l.toArray?(c=this.BindingType.HasFromToArray,this.resolvedProperty=l):Array.isArray(l)?(c=this.BindingType.EntireArray,this.resolvedProperty=l):this.propertyName=i;this.getValue=this.GetterByBindingType[c],this.setValue=this.SetterByBindingTypeAndVersioning[c][u]}else{var d=n.nodeName;console.error("THREE.PropertyBinding: Trying to update property for track: "+d+"."+i+" but it wasn't found.",t)}}else console.error("THREE.PropertyBinding: Trying to update node for track: "+this.path+" but it wasn't found.")}},{key:"unbind",value:function(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}],[{key:"create",value:function(t,n,r){return t&&t.isAnimationObjectGroup?new e.Composite(t,n,r):new e(t,n,r)}},{key:"sanitizeNodeName",value:function(e){return e.replace(/\s/g,"_").replace(nP,"")}},{key:"parseTrackName",value:function(e){var t=aP.exec(e);if(null===t)throw new Error("PropertyBinding: Cannot parse trackName: "+e);var n={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},r=n.nodeName&&n.nodeName.lastIndexOf(".");if(void 0!==r&&-1!==r){var i=n.nodeName.substring(r+1);-1!==oP.indexOf(i)&&(n.nodeName=n.nodeName.substring(0,r),n.objectName=i)}if(null===n.propertyName||0===n.propertyName.length)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return n}},{key:"findNode",value:function(e,t){if(void 0===t||""===t||"."===t||-1===t||t===e.name||t===e.uuid)return e;if(e.skeleton){var n=e.skeleton.getBoneByName(t);if(void 0!==n)return n}if(e.children){var r=function e(n){for(var r=0;r<n.length;r++){var i=n[r];if(i.name===t||i.uuid===t)return i;var a=e(i.children);if(a)return a}return null}(e.children);if(r)return r}return null}}]),e}();lP.Composite=sP,lP.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},lP.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},lP.prototype.GetterByBindingType=[lP.prototype._getValue_direct,lP.prototype._getValue_array,lP.prototype._getValue_arrayElement,lP.prototype._getValue_toArray],lP.prototype.SetterByBindingTypeAndVersioning=[[lP.prototype._setValue_direct,lP.prototype._setValue_direct_setNeedsUpdate,lP.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[lP.prototype._setValue_array,lP.prototype._setValue_array_setNeedsUpdate,lP.prototype._setValue_array_setMatr
2ixWorldNeedsUpdate],[lP.prototype._setValue_arrayElement,lP.prototype._setValue_arrayElement_setNeedsUpdate,lP.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[lP.prototype._setValue_fromArray,lP.prototype._setValue_fromArray_setNeedsUpdate,lP.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];var uP=function(){function e(){(0,be.Z)(this,e),this.isAnimationObjectGroup=!0,this.uuid=Lb(),this._objects=Array.prototype.slice.call(arguments),this.nCachedObjects_=0;var t={};this._indicesByUUID=t;for(var n=0,r=arguments.length;n!==r;++n)t[arguments[n].uuid]=n;this._paths=[],this._parsedPaths=[],this._bindings=[],this._bindingsIndicesByPath={};var i=this;this.stats={objects:{get total(){return i._objects.length},get inUse(){return this.total-i.nCachedObjects_}},get bindingsPerObject(){return i._bindings.length}}}return(0,xe.Z)(e,[{key:"add",value:function(){for(var e=this._objects,t=this._indicesByUUID,n=this._paths,r=this._parsedPaths,i=this._bindings,a=i.length,o=void 0,s=e.length,l=this.nCachedObjects_,u=0,c=arguments.length;u!==c;++u){var d=arguments[u],f=d.uuid,h=t[f];if(void 0===h){h=s++,t[f]=h,e.push(d);for(var p=0,v=a;p!==v;++p)i[p].push(new lP(d,n[p],r[p]))}else if(h<l){o=e[h];var m=--l,g=e[m];t[g.uuid]=h,e[h]=g,t[f]=m,e[m]=d;for(var y=0,b=a;y!==b;++y){var x=i[y],w=x[m],S=x[h];x[h]=w,void 0===S&&(S=new lP(d,n[y],r[y])),x[m]=S}}else e[h]!==o&&console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.")}this.nCachedObjects_=l}},{key:"remove",value:function(){for(var e=this._objects,t=this._indicesByUUID,n=this._bindings,r=n.length,i=this.nCachedObjects_,a=0,o=arguments.length;a!==o;++a){var s=arguments[a],l=s.uuid,u=t[l];if(void 0!==u&&u>=i){var c=i++,d=e[c];t[d.uuid]=u,e[u]=d,t[l]=c,e[c]=s;for(var f=0,h=r;f!==h;++f){var p=n[f],v=p[c],m=p[u];p[u]=v,p[c]=m}}}this.nCachedObjects_=i}},{key:"uncache",value:function(){for(var e=this._objects,t=this._indicesByUUID,n=this._bindings,r=n.length,i=this.nCachedObjects_,a=e.length,o=0,s=arguments.length;o!==s;++o){var l=arguments[o].uuid,u=t[l];if(void 0!==u)if(delete t[l],u<i){var c=--i,d=e[c],f=--a,h=e[f];t[d.uuid]=u,e[u]=d,t[h.uuid]=c,e[c]=h,e.pop();for(var p=0,v=r;p!==v;++p){var m=n[p],g=m[c],y=m[f];m[u]=g,m[c]=y,m.pop()}}else{var b=--a,x=e[b];b>0&&(t[x.uuid]=u),e[u]=x,e.pop();for(var w=0,S=r;w!==S;++w){var _=n[w];_[u]=_[b],_.pop()}}}this.nCachedObjects_=i}},{key:"subscribe_",value:function(e,t){var n=this._bindingsIndicesByPath,r=n[e],i=this._bindings;if(void 0!==r)return i[r];var a=this._paths,o=this._parsedPaths,s=this._objects,l=s.length,u=this.nCachedObjects_,c=new Array(l);r=i.length,n[e]=r,a.push(e),o.push(t),i.push(c);for(var d=u,f=s.length;d!==f;++d){var h=s[d];c[d]=new lP(h,e,t)}return c}},{key:"unsubscribe_",value:function(e){var t=this._bindingsIndicesByPath,n=t[e];if(void 0!==n){var r=this._paths,i=this._parsedPaths,a=this._bindings,o=a.length-1,s=a[o];t[e[o]]=n,a[n]=s,a.pop(),i[n]=i[o],i.pop(),r[n]=r[o],r.pop()}}}]),e}(),cP=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.blendMode;(0,be.Z)(this,e),this._mixer=t,this._clip=n,this._localRoot=r,this.blendMode=i;for(var a=n.tracks,o=a.length,s=new Array(o),l={endingStart:Iy,endingEnd:Iy},u=0;u!==o;++u){var c=a[u].createInterpolant(null);s[u]=c,c.settings=l}this._interpolantSettings=l,this._interpolants=s,this._propertyBindings=new Array(o),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=Ry,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}return(0,xe.Z)(e,[{key:"play",value:function(){return this._mixer._activateAction(this),this}},{key:"stop",value:function(){return this._mixer._deactivateAction(this),this.reset()}},{key:"reset",value:function(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}},{key:"isRunning",value:function(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}},{key:"isScheduled",value:function(){return this._mixer._isActiveAction(this)}},{key:"startAt",value:function(e){return this._startTime=e,this}},{key:"setLoop",value:function(e,t){return this.loop=e,this.repetitions=t,this}},{key:"setEffectiveWeight",value:function(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}},{key:"getEffectiveWeight",value:function(){return this._effectiveWeight}},{key:"fadeIn",value:function(e){return this._scheduleFading(e,0,1
2)}},{key:"fadeOut",value:function(e){return this._scheduleFading(e,1,0)}},{key:"crossFadeFrom",value:function(e,t,n){if(e.fadeOut(t),this.fadeIn(t),n){var r=this._clip.duration,i=e._clip.duration,a=i/r,o=r/i;e.warp(1,a,t),this.warp(o,1,t)}return this}},{key:"crossFadeTo",value:function(e,t,n){return e.crossFadeFrom(this,t,n)}},{key:"stopFading",value:function(){var e=this._weightInterpolant;return null!==e&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}},{key:"setEffectiveTimeScale",value:function(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}},{key:"getEffectiveTimeScale",value:function(){return this._effectiveTimeScale}},{key:"setDuration",value:function(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}},{key:"syncWith",value:function(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}},{key:"halt",value:function(e){return this.warp(this._effectiveTimeScale,0,e)}},{key:"warp",value:function(e,t,n){var r=this._mixer,i=r.time,a=this.timeScale,o=this._timeScaleInterpolant;null===o&&(o=r._lendControlInterpolant(),this._timeScaleInterpolant=o);var s=o.parameterPositions,l=o.sampleValues;return s[0]=i,s[1]=i+n,l[0]=e/a,l[1]=t/a,this}},{key:"stopWarping",value:function(){var e=this._timeScaleInterpolant;return null!==e&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}},{key:"getMixer",value:function(){return this._mixer}},{key:"getClip",value:function(){return this._clip}},{key:"getRoot",value:function(){return this._localRoot||this._mixer._root}},{key:"_update",value:function(e,t,n,r){if(this.enabled){var i=this._startTime;if(null!==i){var a=(e-i)*n;a<0||0===n?t=0:(this._startTime=null,t=n*a)}t*=this._updateTimeScale(e);var o=this._updateTime(t),s=this._updateWeight(e);if(s>0){var l=this._interpolants,u=this._propertyBindings;if(this.blendMode===Uy)for(var c=0,d=l.length;c!==d;++c)l[c].evaluate(o),u[c].accumulateAdditive(s);else for(var f=0,h=l.length;f!==h;++f)l[f].evaluate(o),u[f].accumulate(r,s)}}else this._updateWeight(e)}},{key:"_updateWeight",value:function(e){var t=0;if(this.enabled){t=this.weight;var n=this._weightInterpolant;if(null!==n){var r=n.evaluate(e)[0];t*=r,e>n.parameterPositions[1]&&(this.stopFading(),0===r&&(this.enabled=!1))}}return this._effectiveWeight=t,t}},{key:"_updateTimeScale",value:function(e){var t=0;if(!this.paused){t=this.timeScale;var n=this._timeScaleInterpolant;if(null!==n)t*=n.evaluate(e)[0],e>n.parameterPositions[1]&&(this.stopWarping(),0===t?this.paused=!0:this.timeScale=t)}return this._effectiveTimeScale=t,t}},{key:"_updateTime",value:function(e){var t=this._clip.duration,n=this.loop,r=this.time+e,i=this._loopCount,a=n===Oy;if(0===e)return-1===i?r:a&&1===(1&i)?t-r:r;if(n===Py){-1===i&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(r>=t)r=t;else{if(!(r<0)){this.time=r;break e}r=0}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=r,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(-1===i&&(e>=0?(i=0,this._setEndings(!0,0===this.repetitions,a)):this._setEndings(0===this.repetitions,!0,a)),r>=t||r<0){var o=Math.floor(r/t);r-=t*o,i+=Math.abs(o);var s=this.repetitions-i;if(s<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,r=e>0?t:0,this.time=r,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(1===s){var l=e<0;this._setEndings(l,!l,a)}else this._setEndings(!1,!1,a);this._loopCount=i,this.time=r,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:o})}}else this.time=r;if(a&&1===(1&i))return t-r}return r}},{key:"_setEndings",value:function(e,t,n){var r=this._interpolantSettings;n?(r.endingStart=jy,r.endingEnd=jy):(r.endingStart=e?this.zeroSlopeAtStart?jy:Iy:Dy,r.endingEnd=t?this.zeroSlopeAtEnd?jy:Iy:Dy)}},{key:"_scheduleFading",value:function(e,t,n){var r=this._mixer,i=r.time,a=this._weightInterpolant;null===a&&(a=r._lendControlInterpolant(),this._weightInterpolant=a);var o=a.parameterPositions,s=a.sampleValues;return o[0]=i,s[0]=t,o[1]=i+e,s[1]=n,this}}]),e}(),dP=new Float32Array(1),fP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;return(0,be.Z)(this,n),(r=t.call(this))._root=e,r._initMemoryManager(),r._accuIndex=0,r.time=0,r.timeScale=1,r}return(0,xe.Z)(n,[{key:"_bindAction",value:function(e,t){var n=e._localRoot||this._root,r=e._clip.tracks,i=r.length,a=e._propertyBindings,o=e._interpolants,s=n.uuid,l=this._bindingsByRootAndName,u=l[s];void 0===u&&(u={},l[s]=u);for(var c=0;c!==i;++c){var d=r[c],f=d.name,h=u[f];if(void 0!==h)++h.referenceCount,a[c]=h;
2else{if(void 0!==(h=a[c])){null===h._cacheIndex&&(++h.referenceCount,this._addInactiveBinding(h,s,f));continue}var p=t&&t._propertyBindings[c].binding.parsedPath;++(h=new eP(lP.create(n,f,p),d.ValueTypeName,d.getValueSize())).referenceCount,this._addInactiveBinding(h,s,f),a[c]=h}o[c].resultBuffer=h.buffer}}},{key:"_activateAction",value:function(e){if(!this._isActiveAction(e)){if(null===e._cacheIndex){var t=(e._localRoot||this._root).uuid,n=e._clip.uuid,r=this._actionsByClip[n];this._bindAction(e,r&&r.knownActions[0]),this._addInactiveAction(e,n,t)}for(var i=e._propertyBindings,a=0,o=i.length;a!==o;++a){var s=i[a];0===s.useCount++&&(this._lendBinding(s),s.saveOriginalState())}this._lendAction(e)}}},{key:"_deactivateAction",value:function(e){if(this._isActiveAction(e)){for(var t=e._propertyBindings,n=0,r=t.length;n!==r;++n){var i=t[n];0===--i.useCount&&(i.restoreOriginalState(),this._takeBackBinding(i))}this._takeBackAction(e)}}},{key:"_initMemoryManager",value:function(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;var e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}},{key:"_isActiveAction",value:function(e){var t=e._cacheIndex;return null!==t&&t<this._nActiveActions}},{key:"_addInactiveAction",value:function(e,t,n){var r=this._actions,i=this._actionsByClip,a=i[t];if(void 0===a)a={knownActions:[e],actionByRoot:{}},e._byClipCacheIndex=0,i[t]=a;else{var o=a.knownActions;e._byClipCacheIndex=o.length,o.push(e)}e._cacheIndex=r.length,r.push(e),a.actionByRoot[n]=e}},{key:"_removeInactiveAction",value:function(e){var t=this._actions,n=t[t.length-1],r=e._cacheIndex;n._cacheIndex=r,t[r]=n,t.pop(),e._cacheIndex=null;var i=e._clip.uuid,a=this._actionsByClip,o=a[i],s=o.knownActions,l=s[s.length-1],u=e._byClipCacheIndex;l._byClipCacheIndex=u,s[u]=l,s.pop(),e._byClipCacheIndex=null,delete o.actionByRoot[(e._localRoot||this._root).uuid],0===s.length&&delete a[i],this._removeInactiveBindingsForAction(e)}},{key:"_removeInactiveBindingsForAction",value:function(e){for(var t=e._propertyBindings,n=0,r=t.length;n!==r;++n){var i=t[n];0===--i.referenceCount&&this._removeInactiveBinding(i)}}},{key:"_lendAction",value:function(e){var t=this._actions,n=e._cacheIndex,r=this._nActiveActions++,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}},{key:"_takeBackAction",value:function(e){var t=this._actions,n=e._cacheIndex,r=--this._nActiveActions,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}},{key:"_addInactiveBinding",value:function(e,t,n){var r=this._bindingsByRootAndName,i=this._bindings,a=r[t];void 0===a&&(a={},r[t]=a),a[n]=e,e._cacheIndex=i.length,i.push(e)}},{key:"_removeInactiveBinding",value:function(e){var t=this._bindings,n=e.binding,r=n.rootNode.uuid,i=n.path,a=this._bindingsByRootAndName,o=a[r],s=t[t.length-1],l=e._cacheIndex;s._cacheIndex=l,t[l]=s,t.pop(),delete o[i],0===Object.keys(o).length&&delete a[r]}},{key:"_lendBinding",value:function(e){var t=this._bindings,n=e._cacheIndex,r=this._nActiveBindings++,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}},{key:"_takeBackBinding",value:function(e){var t=this._bindings,n=e._cacheIndex,r=--this._nActiveBindings,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}},{key:"_lendControlInterpolant",value:function(){var e=this._controlInterpolants,t=this._nActiveControlInterpolants++,n=e[t];return void 0===n&&((n=new OC(new Float32Array(2),new Float32Array(2),1,dP)).__cacheIndex=t,e[t]=n),n}},{key:"_takeBackControlInterpolant",value:function(e){var t=this._controlInterpolants,n=e.__cacheIndex,r=--this._nActiveControlInterpolants,i=t[r];e.__cacheIndex=r,t[r]=e,i.__cacheIndex=n,t[n]=i}},{key:"clipAction",value:function(e,t,n){var r=t||this._root,i=r.uuid,a="string"===typeof e?BC.findByName(r,e):e,o=null!==a?a.uuid:e,s=this._actionsByClip[o],l=null;if(void 0===n&&(n=null!==a?a.blendMode:zy),void 0!==s){var u=s.actionByRoot[i];if(void 0!==u&&u.blendMode===n)return u;l=s.knownActions[0],null===a&&(a=l._clip)}if(null===a)return null;var c=new cP(this,a,t,n);return this._bindAction(c,l),this._addInactiveAction(c,o,i),c}},{key:"existingAction",value:function(e,t){var n=t||this._root,r=n.uuid,i="string"===typeof e?BC.findByName(n,e):e,a=i?i.uuid:e,o=this._actionsByClip[a];return void 0!==o&&o.actionByRoot[r]||null}},{key:"stopAllAction",value:function(){for(var e=this._actions,t=this._nActiveActions-1;t>=0;--t)e[t].stop();return this}},{key:"update",value:function(e){e*=this.timeScale;for(var t=this._actions,n=this._nActiveActions,r=this.time+=e,i=Math.sign(e),a=this._accuIndex^=1,o=0;o!==n;++o){t[o]._update(r,e,i,a)}for(var s=this._bindings,l=this._nActiveBindings,u=0;u!==l;++u)s[u].apply(a);return this}},{key:"setTime",value:function(e){this.time=0;for(var t=0;t<this._actions.length;t++)this._actions[t].time=0;return this.update(e)}},{key:"getRoot",value:function(){return this._root}},{key:"uncacheClip",value:function(e){var t=this._actions,n=e.uuid,r=this._actionsByClip,i=r[n];if(void 0!==i){for(var a=i.knownActions,o=0,s=a.length;o!==s;++o){var l=a[o];this._deactivateAction(l);var u=l._cacheIndex,c=t[t.length-1];l._cacheIndex=null,l._byClipCacheIndex=null,c._cacheIndex=u,t[u]=c,t.pop(),this._removeInactiveBindingsForAction(l)}delete r[n]}}},{key:"uncacheRoot",value:function(e){var t=e.uuid,n=this._actionsByClip;for(var r in n){var i=n[r].actionByRoot[t];void 0!==i&&(this._deactivateAction(i),this._removeInactiveAction(i))}var a=this._bindingsByRootAndName[t];if(void 0!==a)for(var o in a){var s=a[o];s.restoreOriginalState(),this._removeInactiveBinding(s)}}},{key:"uncacheAction",value:function(e,t){var n=this.existingAction(e,t);null!==n&&(this._deactivateAction(n),this._removeInactiveAction(n))}}]),n}(Cb),hP=function(){function e(t){(0,be.Z)(this,e),this.value=t}return(0,xe.Z)(e,[{key:"clone",value:function(){return new e(void 0===this.value.clone?this.value:this.value.clone())}}]),e}(),pP=0,vP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e;return(0,be.Z)(this,n),(e=t.call(this)).isUniformsGroup=!0,Object.defineProperty((0,cn.Z)(e),"id",{value:pP++}),e.name="",e.usage=mb,e.uniforms=[],e}return(0,xe.Z)(n,[{key:"add",value:function(e){return this.uniforms.push(e),this}},{key:"remove",value:function(e){var t=this.uniforms.indexOf(e);return-1!==t&&this.uniforms.splice(t,1),this}},{key:"setName",value:function(e){return this.name=e,this}},{key:"setUsage",value:function(e){return this.usage=e,this}},{key:"dispose",value:function(){return this.dispatchEvent({type:"dispose"}),this}},{key:"copy",value:function(e){this.name=e.name,this.usage=e.usage;var t=e.uniforms;this.uniforms.length=0;for(var n=0,r=t.length;n<r;n++)this.uniforms.push(t[n].clone());return this}},{key:"clone",value:function(){return(new this.constructor).copy(this)}}]),n}(Cb),mP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,be.Z)(this,n),(i=t.call(this,e,r)).isInstancedInterleavedBuffer=!0,i.meshPerAttribute=a,i}
2return(0,xe.Z)(n,[{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e),this.meshPerAttribute=e.meshPerAttribute,this}},{key:"clone",value:function(e){var t=(0,fm.Z)((0,Fo.Z)(n.prototype),"clone",this).call(this,e);return t.meshPerAttribute=this.meshPerAttribute,t}},{key:"toJSON",value:function(e){var t=(0,fm.Z)((0,Fo.Z)(n.prototype),"toJSON",this).call(this,e);return t.isInstancedInterleavedBuffer=!0,t.meshPerAttribute=this.meshPerAttribute,t}}]),n}(LM),gP=function(){function e(t,n,r,i,a){(0,be.Z)(this,e),this.isGLBufferAttribute=!0,this.name="",this.buffer=t,this.type=n,this.itemSize=r,this.elementSize=i,this.count=a,this.version=0}return(0,xe.Z)(e,[{key:"needsUpdate",set:function(e){!0===e&&this.version++}},{key:"setBuffer",value:function(e){return this.buffer=e,this}},{key:"setType",value:function(e,t){return this.type=e,this.elementSize=t,this}},{key:"setItemSize",value:function(e){return this.itemSize=e,this}},{key:"setCount",value:function(e){return this.count=e,this}}]),e}(),yP=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0;(0,be.Z)(this,e),this.ray=new Gx(t,n),this.near=r,this.far=i,this.camera=null,this.layers=new iw,this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}return(0,xe.Z)(e,[{key:"set",value:function(e,t){this.ray.set(e,t)}},{key:"setFromCamera",value:function(e,t){t.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(t.matrixWorld),this.ray.direction.set(e.x,e.y,.5).unproject(t).sub(this.ray.origin).normalize(),this.camera=t):t.isOrthographicCamera?(this.ray.origin.set(e.x,e.y,(t.near+t.far)/(t.near-t.far)).unproject(t),this.ray.direction.set(0,0,-1).transformDirection(t.matrixWorld),this.camera=t):console.error("THREE.Raycaster: Unsupported camera type: "+t.type)}},{key:"intersectObject",value:function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return xP(e,this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1]),t.sort(bP),t}},{key:"intersectObjects",value:function(e){for(var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0,i=e.length;r<i;r++)xP(e[r],this,n,t);return n.sort(bP),n}}]),e}();function bP(e,t){return e.distance-t.distance}function xP(e,t,n,r){if(e.layers.test(t.layers)&&e.raycast(t,n),!0===r)for(var i=e.children,a=0,o=i.length;a<o;a++)xP(i[a],t,n,!0)}var wP=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,be.Z)(this,e),this.radius=t,this.phi=n,this.theta=r,this}return(0,xe.Z)(e,[{key:"set",value:function(e,t,n){return this.radius=e,this.phi=t,this.theta=n,this}},{key:"copy",value:function(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}},{key:"makeSafe",value:function(){var e=1e-6;return this.phi=Math.max(e,Math.min(Math.PI-e,this.phi)),this}},{key:"setFromVector3",value:function(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}},{key:"setFromCartesianCoords",value:function(e,t,n){return this.radius=Math.sqrt(e*e+t*t+n*n),0===this.radius?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,n),this.phi=Math.acos(Zb(t/this.radius,-1,1))),this}},{key:"clone",value:function(){return(new this.constructor).copy(this)}}]),e}(),SP=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,be.Z)(this,e),this.radius=t,this.theta=n,this.y=r,this}return(0,xe.Z)(e,[{key:"set",value:function(e,t,n){return this.radius=e,this.theta=t,this.y=n,this}},{key:"copy",value:function(e){return this.radius=e.radius,this.theta=e.theta,this.y=e.y,this}},{key:"setFromVector3",value:function(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}},{key:"setFromCartesianCoords",value:function(e,t,n){return this.radius=Math.sqrt(e*e+n*n),this.theta=Math.atan2(e,n),this.y=t,this}},{key:"clone",value:function(){return(new this.constructor).copy(this)}}]),e}(),_P=new Vb,kP=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Vb(1/0,1/0),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Vb(-1/0,-1/0);(0,be.Z)(this,e),this.isBox2=!0,this.min=t,this.max=n}return(0,xe.Z)(e,[{key:"set",value:function(e,t){return this.min.copy(e),this.max.copy(t),this}},{key:"setFromPoints",value:function(e){this.makeEmpty();for(var t=0,n=e.length;t<n;t++)this.expandByPoint(e[t]);return this}},{key:"setFromCenterAndSize",value:function(e,t){var n=_P.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(n),this.max.copy(e).add(n),this}},{key:"clone",value:function(){return(new this.constructor).copy(this)}},{key:"copy",value:function(e){return this.min.copy(e.min),this.max.copy(e.max),this}},{key:"makeEmpty",value:function(){return this.min.x=this.min.y=1/0,this.max.x=this.max.y=-1/0,this}},{key:"isEmpty",value:function(){return this.max.x<this.min.x||this.max.y<this.min.y}},{key:"getCenter",value:function(e){return this.isEmpty()?e.set(0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}},{key:"getSize",value:function(e){return this.isEmpty()?e.set(0,0):e.subVectors(this.max,this.min)}},{key:"expandByPoint",value:function(e){return this.min.min(e),this.max.max(e),this}},{key:"expandByVector",value:function(e){return this.min.sub(e),this.max.add(e),this}},{key:"expandByScalar",value:function(e){return this.min.addScalar(-e),this.max.addScalar(e),this}},{key:"containsPoint",value:function(e){return!(e.x<this.min.x||e.x>this.max.x||e.y<this.min.y||e.y>this.max.y)}},{key:"containsBox",value:function(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}},{key:"getParameter",value:function(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}},{key:"intersectsBox",value:function(e){return!(e.max.x<this.min.x||e.min.x>this.max.x||e.max.y<this.min.y||e.min.y>this.max.y)}},{key:"clampPoint",value:function(e,t){return t.copy(e).clamp(this.min,this.max)}},{key:"distanceToPoint",value:function(e){return this.clampPoint(e,_P).distanceTo(e)}},{key:"intersect",value:function(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}},{key:"union",value:function(e){return this.min.min(e.min),this.max.max(e.max),this}},{key:"translate",value:function(e){return this.min.add(e),this.max.add(e),this}},{key:"equals",value:function(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}]),e}(),MP=new gx,EP=new gx,TP=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new gx,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx;(0,be.Z)(this,e),this.start=t,this.end=n}return(0,xe.Z)(e,[{key:"set",value:function(e,t){return this.start.copy(e),this.end.copy(t),this}},{key:"copy",value:function(e){return this.start.copy(e.start),this.end.copy(e.end),this}},{key:"getCenter",value:function(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}},{key:"delta",value:function(e){return e.subVectors(this.end,this.start)}},{key:"distanceSq",value:function(){return this.start.distanceToSquared(this.end)}},{key:"distance",value:function(){return this.start.distanceTo(this.end)}},{key:"at",value:function(e,t){return this.delta(t).multiplyScalar(e).add(this.start)}},{key:"closestPointToPointParameter",value:function(e,t){MP.subVectors(e,this.start),EP.subVectors(this.end,this.start);var n=EP.dot(EP),r=EP.dot(MP)/n;return t&&(r=Zb(r,0,1)),r}},{key:"closestPointToPoint",value:function(e,t,n){var r=this.closestPointToPointParameter(e,t);return this.delta(n).multiplyScalar(r).add(this.start)}}
2,{key:"applyMatrix4",value:function(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}},{key:"equals",value:function(e){return e.start.equals(this.start)&&e.end.equals(this.end)}},{key:"clone",value:function(){return(new this.constructor).copy(this)}}]),e}(),CP=new gx,AP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){var i;(0,be.Z)(this,n),(i=t.call(this)).light=e,i.matrix=e.matrixWorld,i.matrixAutoUpdate=!1,i.color=r,i.type="SpotLightHelper";for(var a=new dS,o=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1],s=0,l=1;s<32;s++,l++){var u=s/32*Math.PI*2,c=l/32*Math.PI*2;o.push(Math.cos(u),Math.sin(u),1,Math.cos(c),Math.sin(c),1)}a.setAttribute("position",new nS(o,3));var d=new wE({fog:!1,toneMapped:!1});return i.cone=new PE(a,d),i.add(i.cone),i.update(),i}return(0,xe.Z)(n,[{key:"dispose",value:function(){this.cone.geometry.dispose(),this.cone.material.dispose()}},{key:"update",value:function(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1);var e=this.light.distance?this.light.distance:1e3,t=e*Math.tan(this.light.angle);this.cone.scale.set(t,t,e),CP.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(CP),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}}]),n}(yw),PP=new gx,RP=new qx,OP=new qx,LP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;(0,be.Z)(this,n);for(var i=ZP(e),a=new dS,o=[],s=[],l=new jw(0,0,1),u=new jw(0,1,0),c=0;c<i.length;c++){var d=i[c];d.parent&&d.parent.isBone&&(o.push(0,0,0),o.push(0,0,0),s.push(l.r,l.g,l.b),s.push(u.r,u.g,u.b))}a.setAttribute("position",new nS(o,3)),a.setAttribute("color",new nS(s,3));var f=new wE({vertexColors:!0,depthTest:!1,depthWrite:!1,toneMapped:!1,transparent:!0});return(r=t.call(this,a,f)).isSkeletonHelper=!0,r.type="SkeletonHelper",r.root=e,r.bones=i,r.matrix=e.matrixWorld,r.matrixAutoUpdate=!1,r}return(0,xe.Z)(n,[{key:"updateMatrixWorld",value:function(e){var t=this.bones,r=this.geometry,i=r.getAttribute("position");OP.copy(this.root.matrixWorld).invert();for(var a=0,o=0;a<t.length;a++){var s=t[a];s.parent&&s.parent.isBone&&(RP.multiplyMatrices(OP,s.matrixWorld),PP.setFromMatrixPosition(RP),i.setXYZ(o,PP.x,PP.y,PP.z),RP.multiplyMatrices(OP,s.parent.matrixWorld),PP.setFromMatrixPosition(RP),i.setXYZ(o+1,PP.x,PP.y,PP.z),o+=2)}r.getAttribute("position").needsUpdate=!0,(0,fm.Z)((0,Fo.Z)(n.prototype),"updateMatrixWorld",this).call(this,e)}},{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}}]),n}(PE);function ZP(e){var t=[];!0===e.isBone&&t.push(e);for(var n=0;n<e.children.length;n++)t.push.apply(t,ZP(e.children[n]));return t}var NP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){var a;(0,be.Z)(this,n);var o=new aC(r,4,2),s=new zw({wireframe:!0,fog:!1,toneMapped:!1});return(a=t.call(this,o,s)).light=e,a.color=i,a.type="PointLightHelper",a.matrix=a.light.matrixWorld,a.matrixAutoUpdate=!1,a.update(),a}return(0,xe.Z)(n,[{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}},{key:"update",value:function(){this.light.updateWorldMatrix(!0,!1),void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)}}]),n}(AS),IP=new gx,jP=new jw,DP=new jw,zP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i){var a;(0,be.Z)(this,n),(a=t.call(this)).light=e,a.matrix=e.matrixWorld,a.matrixAutoUpdate=!1,a.color=i,a.type="HemisphereLightHelper";var o=new nC(r);o.rotateY(.5*Math.PI),a.material=new zw({wireframe:!0,fog:!1,toneMapped:!1}),void 0===a.color&&(a.material.vertexColors=!0);var s=o.getAttribute("position"),l=new Float32Array(3*s.count);return o.setAttribute("color",new qw(l,3)),a.add(new AS(o,a.material)),a.update(),a}return(0,xe.Z)(n,[{key:"dispose",value:function(){this.children[0].geometry.dispose(),this.children[0].material.dispose()}},{key:"update",value:function(){var e=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{var t=e.geometry.getAttribute("color");jP.copy(this.light.color),DP.copy(this.light.groundColor);for(var n=0,r=t.count;n<r;n++){var i=n<r/2?jP:DP;t.setXYZ(n,i.r,i.g,i.b)}t.needsUpdate=!0}this.light.updateWorldMatrix(!0,!1),e.lookAt(IP.setFromMatrixPosition(this.light.matrixWorld).negate())}}]),n}(yw),UP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4473924,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:8947848;(0,be.Z)(this,n),a=new jw(a),o=new jw(o);for(var s=i/2,l=r/i,u=r/2,c=[],d=[],f=0,h=0,p=-u;f<=i;f++,p+=l){c.push(-u,0,p,u,0,p),c.push(p,0,-u,p,0,u);var v=f===s?a:o;v.toArray(d,h),h+=3,v.toArray(d,h),h+=3,v.toArray(d,h),h+=3,v.toArray(d,h),h+=3}var m=new dS;m.setAttribute("position",new nS(c,3)),m.setAttribute("color",new nS(d,3));var g=new wE({vertexColors:!0,toneMapped:!1});return(e=t.call(this,m,g)).type="GridHelper",e}return(0,xe.Z)(n,[{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}}]),n}(PE),FP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:64,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:4473924,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:8947848;(0,be.Z)(this,n),s=new jw(s),l=new jw(l);var u=[],c=[];if(i>1)for(var d=0;d<i;d++){var f=d/i*(2*Math.PI),h=Math.sin(f)*r,p=Math.cos(f)*r;u.push(0,0,0),u.push(h,0,p);var v=1&d?s:l;c.push(v.r,v.g,v.b),c.push(v.r,v.g,v.b)}for(var m=0;m<a;m++)for(var g=1&m?s:l,y=r-r/a*m,b=0;b<o;b++){var x=b/o*(2*Math.PI),w=Math.sin(x)*y,S=Math.cos(x)*y;u.push(w,0,S),c.push(g.r,g.g,g.b),x=(b+1)/o*(2*Math.PI),w=Math.sin(x)*y,S=Math.cos(x)*y,u.push(w,0,S),c.push(g.r,g.g,g.b)}var _=new dS;_.setAttribute("position",new nS(u,3)),_.setAttribute("color",new nS(c,3));var k=new wE({vertexColors:!0,toneMapped:!1});return(e=t.call(this,_,k)).type="PolarGridHelper",e}return(0,xe.Z)(n,[{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}}]),n}(PE),BP=new gx,VP=new gx,HP=new gx,WP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);
2function n(e,r,i){var a;(0,be.Z)(this,n),(a=t.call(this)).light=e,a.matrix=e.matrixWorld,a.matrixAutoUpdate=!1,a.color=i,a.type="DirectionalLightHelper",void 0===r&&(r=1);var o=new dS;o.setAttribute("position",new nS([-r,r,0,r,r,0,r,-r,0,-r,-r,0,-r,r,0],3));var s=new wE({fog:!1,toneMapped:!1});return a.lightPlane=new TE(o,s),a.add(a.lightPlane),(o=new dS).setAttribute("position",new nS([0,0,0,0,0,1],3)),a.targetLine=new TE(o,s),a.add(a.targetLine),a.update(),a}return(0,xe.Z)(n,[{key:"dispose",value:function(){this.lightPlane.geometry.dispose(),this.lightPlane.material.dispose(),this.targetLine.geometry.dispose(),this.targetLine.material.dispose()}},{key:"update",value:function(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),BP.setFromMatrixPosition(this.light.matrixWorld),VP.setFromMatrixPosition(this.light.target.matrixWorld),HP.subVectors(VP,BP),this.lightPlane.lookAt(VP),void 0!==this.color?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),this.targetLine.material.color.copy(this.light.color)),this.targetLine.lookAt(VP),this.targetLine.scale.z=HP.length()}}]),n}(yw),GP=new gx,qP=new jS,XP=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r;(0,be.Z)(this,n);var i=new dS,a=new wE({color:16777215,vertexColors:!0,toneMapped:!1}),o=[],s=[],l={};function u(e,t){c(e),c(t)}function c(e){o.push(0,0,0),s.push(0,0,0),void 0===l[e]&&(l[e]=[]),l[e].push(o.length/3-1)}u("n1","n2"),u("n2","n4"),u("n4","n3"),u("n3","n1"),u("f1","f2"),u("f2","f4"),u("f4","f3"),u("f3","f1"),u("n1","f1"),u("n2","f2"),u("n3","f3"),u("n4","f4"),u("p","n1"),u("p","n2"),u("p","n3"),u("p","n4"),u("u1","u2"),u("u2","u3"),u("u3","u1"),u("c","t"),u("p","c"),u("cn1","cn2"),u("cn3","cn4"),u("cf1","cf2"),u("cf3","cf4"),i.setAttribute("position",new nS(o,3)),i.setAttribute("color",new nS(s,3)),(r=t.call(this,i,a)).type="CameraHelper",r.camera=e,r.camera.updateProjectionMatrix&&r.camera.updateProjectionMatrix(),r.matrix=e.matrixWorld,r.matrixAutoUpdate=!1,r.pointMap=l,r.update();var d=new jw(16755200),f=new jw(16711680),h=new jw(43775),p=new jw(16777215),v=new jw(3355443);return r.setColors(d,f,h,p,v),r}return(0,xe.Z)(n,[{key:"setColors",value:function(e,t,n,r,i){var a=this.geometry.getAttribute("color");a.setXYZ(0,e.r,e.g,e.b),a.setXYZ(1,e.r,e.g,e.b),a.setXYZ(2,e.r,e.g,e.b),a.setXYZ(3,e.r,e.g,e.b),a.setXYZ(4,e.r,e.g,e.b),a.setXYZ(5,e.r,e.g,e.b),a.setXYZ(6,e.r,e.g,e.b),a.setXYZ(7,e.r,e.g,e.b),a.setXYZ(8,e.r,e.g,e.b),a.setXYZ(9,e.r,e.g,e.b),a.setXYZ(10,e.r,e.g,e.b),a.setXYZ(11,e.r,e.g,e.b),a.setXYZ(12,e.r,e.g,e.b),a.setXYZ(13,e.r,e.g,e.b),a.setXYZ(14,e.r,e.g,e.b),a.setXYZ(15,e.r,e.g,e.b),a.setXYZ(16,e.r,e.g,e.b),a.setXYZ(17,e.r,e.g,e.b),a.setXYZ(18,e.r,e.g,e.b),a.setXYZ(19,e.r,e.g,e.b),a.setXYZ(20,e.r,e.g,e.b),a.setXYZ(21,e.r,e.g,e.b),a.setXYZ(22,e.r,e.g,e.b),a.setXYZ(23,e.r,e.g,e.b),a.setXYZ(24,t.r,t.g,t.b),a.setXYZ(25,t.r,t.g,t.b),a.setXYZ(26,t.r,t.g,t.b),a.setXYZ(27,t.r,t.g,t.b),a.setXYZ(28,t.r,t.g,t.b),a.setXYZ(29,t.r,t.g,t.b),a.setXYZ(30,t.r,t.g,t.b),a.setXYZ(31,t.r,t.g,t.b),a.setXYZ(32,n.r,n.g,n.b),a.setXYZ(33,n.r,n.g,n.b),a.setXYZ(34,n.r,n.g,n.b),a.setXYZ(35,n.r,n.g,n.b),a.setXYZ(36,n.r,n.g,n.b),a.setXYZ(37,n.r,n.g,n.b),a.setXYZ(38,r.r,r.g,r.b),a.setXYZ(39,r.r,r.g,r.b),a.setXYZ(40,i.r,i.g,i.b),a.setXYZ(41,i.r,i.g,i.b),a.setXYZ(42,i.r,i.g,i.b),a.setXYZ(43,i.r,i.g,i.b),a.setXYZ(44,i.r,i.g,i.b),a.setXYZ(45,i.r,i.g,i.b),a.setXYZ(46,i.r,i.g,i.b),a.setXYZ(47,i.r,i.g,i.b),a.setXYZ(48,i.r,i.g,i.b),a.setXYZ(49,i.r,i.g,i.b),a.needsUpdate=!0}},{key:"update",value:function(){var e=this.geometry,t=this.pointMap;qP.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse),YP("c",t,e,qP,0,0,-1),YP("t",t,e,qP,0,0,1),YP("n1",t,e,qP,-1,-1,-1),YP("n2",t,e,qP,1,-1,-1),YP("n3",t,e,qP,-1,1,-1),YP("n4",t,e,qP,1,1,-1),YP("f1",t,e,qP,-1,-1,1),YP("f2",t,e,qP,1,-1,1),YP("f3",t,e,qP,-1,1,1),YP("f4",t,e,qP,1,1,1),YP("u1",t,e,qP,.7,1.1,-1),YP("u2",t,e,qP,-.7,1.1,-1),YP("u3",t,e,qP,0,2,-1),YP("cf1",t,e,qP,-1,0,1),YP("cf2",t,e,qP,1,0,1),YP("cf3",t,e,qP,0,-1,1),YP("cf4",t,e,qP,0,1,1),YP("cn1",t,e,qP,-1,0,-1),YP("cn2",t,e,qP,1,0,-1),YP("cn3",t,e,qP,0,-1,-1),YP("cn4",t,e,qP,0,1,-1),e.getAttribute("position").needsUpdate=!0}},{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}}]),n}(PE);function YP(e,t,n,r,i,a,o){GP.set(i,a,o).unproject(r);var s=t[e];if(void 0!==s)for(var l=n.getAttribute("position"),u=0,c=s.length;u<c;u++)l.setXYZ(s[u],GP.x,GP.y,GP.z)}var JP,KP,QP=new xx,$P=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16776960;(0,be.Z)(this,n);var a=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),o=new Float32Array(24),s=new dS;return s.setIndex(new qw(a,1)),s.setAttribute("position",new qw(o,3)),(r=t.call(this,s,new wE({color:i,toneMapped:!1}
2))).object=e,r.type="BoxHelper",r.matrixAutoUpdate=!1,r.update(),r}return(0,xe.Z)(n,[{key:"update",value:function(e){if(void 0!==e&&console.warn("THREE.BoxHelper: .update() has no longer arguments."),void 0!==this.object&&QP.setFromObject(this.object),!QP.isEmpty()){var t=QP.min,n=QP.max,r=this.geometry.attributes.position,i=r.array;i[0]=n.x,i[1]=n.y,i[2]=n.z,i[3]=t.x,i[4]=n.y,i[5]=n.z,i[6]=t.x,i[7]=t.y,i[8]=n.z,i[9]=n.x,i[10]=t.y,i[11]=n.z,i[12]=n.x,i[13]=n.y,i[14]=t.z,i[15]=t.x,i[16]=n.y,i[17]=t.z,i[18]=t.x,i[19]=t.y,i[20]=t.z,i[21]=n.x,i[22]=t.y,i[23]=t.z,r.needsUpdate=!0,this.geometry.computeBoundingSphere()}}},{key:"setFromObject",value:function(e){return this.object=e,this.update(),this}},{key:"copy",value:function(e,t){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,t),this.object=e.object,this}},{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}}]),n}(PE),eR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16776960;(0,be.Z)(this,n);var a=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),o=new dS;return o.setIndex(new qw(a,1)),o.setAttribute("position",new nS([1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],3)),(r=t.call(this,o,new wE({color:i,toneMapped:!1}))).box=e,r.type="Box3Helper",r.geometry.computeBoundingSphere(),r}return(0,xe.Z)(n,[{key:"updateMatrixWorld",value:function(e){var t=this.box;t.isEmpty()||(t.getCenter(this.position),t.getSize(this.scale),this.scale.multiplyScalar(.5),(0,fm.Z)((0,Fo.Z)(n.prototype),"updateMatrixWorld",this).call(this,e))}},{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}}]),n}(PE),tR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:16776960;(0,be.Z)(this,n);var o=a,s=new dS;s.setAttribute("position",new nS([1,-1,0,-1,1,0,-1,-1,0,1,1,0,-1,1,0,-1,-1,0,1,-1,0,1,1,0],3)),s.computeBoundingSphere(),(r=t.call(this,s,new wE({color:o,toneMapped:!1}))).type="PlaneHelper",r.plane=e,r.size=i;var l=new dS;return l.setAttribute("position",new nS([1,1,0,-1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,-1,0],3)),l.computeBoundingSphere(),r.add(new AS(l,new zw({color:o,opacity:.2,transparent:!0,depthWrite:!1,toneMapped:!1}))),r}return(0,xe.Z)(n,[{key:"updateMatrixWorld",value:function(e){this.position.set(0,0,0),this.scale.set(.5*this.size,.5*this.size,1),this.lookAt(this.plane.normal),this.translateZ(-this.plane.constant),(0,fm.Z)((0,Fo.Z)(n.prototype),"updateMatrixWorld",this).call(this,e)}},{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose(),this.children[0].geometry.dispose(),this.children[0].material.dispose()}}]),n}(TE),nR=new gx,rR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new gx(0,0,1),i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new gx(0,0,0),a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:16776960,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.2*a,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:.2*s;return(0,be.Z)(this,n),(e=t.call(this)).type="ArrowHelper",void 0===JP&&((JP=new dS).setAttribute("position",new nS([0,0,0,0,1,0],3)),(KP=new vT(0,.5,1,5,1)).translate(0,-.5,0)),e.position.copy(i),e.line=new TE(JP,new wE({color:o,toneMapped:!1})),e.line.matrixAutoUpdate=!1,e.add(e.line),e.cone=new AS(KP,new zw({color:o,toneMapped:!1})),e.cone.matrixAutoUpdate=!1,e.add(e.cone),e.setDirection(r),e.setLength(a,s,l),e}return(0,xe.Z)(n,[{key:"setDirection",value:function(e){if(e.y>.99999)this.quaternion.set(0,0,0,1);else if(e.y<-.99999)this.quaternion.set(1,0,0,0);else{nR.set(e.z,0,-e.x).normalize();var t=Math.acos(e.y);this.quaternion.setFromAxisAngle(nR,t)}}},{key:"setLength",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.2*e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.2*t;this.line.scale.set(1,Math.max(1e-4,e-t),1),this.line.updateMatrix(),this.cone.scale.set(n,t,n),this.cone.position.y=e,this.cone.updateMatrix()}},{key:"setColor",value:function(e){this.line.material.color.set(e),this.cone.material.color.set(e)}},{key:"copy",value:function(e){return(0,fm.Z)((0,Fo.Z)(n.prototype),"copy",this).call(this,e,!1),this.line.copy(e.line),this.cone.copy(e.cone),this}},{key:"dispose",value:function(){this.line.geometry.dispose(),this.line.material.dispose(),this.cone.geometry.dispose(),this.cone.material.dispose()}}]),n}(yw),iR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;(0,be.Z)(this,n);var i=[0,0,0,r,0,0,0,0,0,0,r,0,0,0,0,0,0,r],a=new dS;a.setAttribute("position",new nS(i,3)),a.setAttribute("color",new nS([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3));var o=new wE({vertexColors:!0,toneMapped:!1});return(e=t.call(this,a,o)).type="AxesHelper",e}return(0,xe.Z)(n,[{key:"setColors",value:function(e,t,n){var r=new jw,i=this.geometry.attributes.color.array;return r.set(e),r.toArray(i,0),r.toArray(i,3),r.set(t),r.toArray(i,6),r.toArray(i,9),r.set(n),r.toArray(i,12),r.toArray(i,15),this.geometry.attributes.color.needsUpdate=!0,this}},{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}}]),n}(PE),aR=function(){function e(){(0,be.Z)(this,e),this.type="ShapePath",this.color=new jw,this.subPaths=[],this.currentPath=null}return(0,xe.Z)(e,[{key:"moveTo",value:function(e,t){return this.currentPath=new dT,this.subPaths.push(this.currentPath),this.currentPath.moveTo(e,t),this}},{key:"lineTo",value:function(e,t){return this.currentPath.lineTo(e,t),this}},{key:"quadraticCurveTo",value:function(e,t,n,r){return this.currentPath.quadraticCurveTo(e,t,n,r),this}},{key:"bezierCurveTo",value:function(e,t,n,r,i,a){return this.currentPath.bezierCurveTo(e,t,n,r,i,a),this}},{key:"splineThru",value:function(e){return this.currentPath.splineThru(e),this}},{key:"toShapes",value:function(e){function t(e,t){for(var n=t.length,r=!1,i=n-1,a=0;a<n;i=a++){var o=t[i],s=t[a],l=s.x-o.x,u=s.y-o.y;if(Math.abs(u)>Number.EPSILON){if(u<0&&(o=t[a],l=-l,s=t[i],u=-u),e.y<o.y||e.y>s.y)continue;
2if(e.y===o.y){if(e.x===o.x)return!0}else{var c=u*(e.x-o.x)-l*(e.y-o.y);if(0===c)return!0;if(c<0)continue;r=!r}}else{if(e.y!==o.y)continue;if(s.x<=e.x&&e.x<=o.x||o.x<=e.x&&e.x<=s.x)return!0}}return r}var n,r,i,a=JT.isClockWise,o=this.subPaths;if(0===o.length)return[];var s=[];if(1===o.length)return r=o[0],(i=new kT).curves=r.curves,s.push(i),s;var l=!a(o[0].getPoints());l=e?!l:l;var u,c,d=[],f=[],h=[],p=0;f[p]=void 0,h[p]=[];for(var v=0,m=o.length;v<m;v++)n=a(u=(r=o[v]).getPoints()),(n=e?!n:n)?(!l&&f[p]&&p++,f[p]={s:new kT,p:u},f[p].s.curves=r.curves,l&&p++,h[p]=[]):h[p].push({h:r,p:u[0]});if(!f[0])return function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n],a=new kT;a.curves=i.curves,t.push(a)}return t}(o);if(f.length>1){for(var g=!1,y=0,b=0,x=f.length;b<x;b++)d[b]=[];for(var w=0,S=f.length;w<S;w++)for(var _=h[w],k=0;k<_.length;k++){for(var M=_[k],E=!0,T=0;T<f.length;T++)t(M.p,f[T].p)&&(w!==T&&y++,E?(E=!1,d[T].push(M)):g=!0);E&&d[w].push(M)}y>0&&!1===g&&(h=d)}for(var C=0,A=f.length;C<A;C++){i=f[C].s,s.push(i);for(var P=0,R=(c=h[C]).length;P<R;P++)i.holes.push(c[P].h)}return s}}]),e}(),oR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s){return(0,be.Z)(this,n),console.warn("THREE.BoxBufferGeometry has been renamed to THREE.BoxGeometry."),t.call(this,e,r,i,a,o,s)}return(0,xe.Z)(n)}(RS),sR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a){return(0,be.Z)(this,n),console.warn("THREE.CapsuleBufferGeometry has been renamed to THREE.CapsuleGeometry."),t.call(this,e,r,i,a)}return(0,xe.Z)(n)}(hT),lR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a){return(0,be.Z)(this,n),console.warn("THREE.CircleBufferGeometry has been renamed to THREE.CircleGeometry."),t.call(this,e,r,i,a)}return(0,xe.Z)(n)}(pT),uR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s,l){return(0,be.Z)(this,n),console.warn("THREE.ConeBufferGeometry has been renamed to THREE.ConeGeometry."),t.call(this,e,r,i,a,o,s,l)}return(0,xe.Z)(n)}(mT),cR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s,l,u){return(0,be.Z)(this,n),console.warn("THREE.CylinderBufferGeometry has been renamed to THREE.CylinderGeometry."),t.call(this,e,r,i,a,o,s,l,u)}return(0,xe.Z)(n)}(vT),dR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){return(0,be.Z)(this,n),console.warn("THREE.DodecahedronBufferGeometry has been renamed to THREE.DodecahedronGeometry."),t.call(this,e,r)}return(0,xe.Z)(n)}(yT),fR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){return(0,be.Z)(this,n),console.warn("THREE.ExtrudeBufferGeometry has been renamed to THREE.ExtrudeGeometry."),t.call(this,e,r)}return(0,xe.Z)(n)}($T),hR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){return(0,be.Z)(this,n),console.warn("THREE.IcosahedronBufferGeometry has been renamed to THREE.IcosahedronGeometry."),t.call(this,e,r)}return(0,xe.Z)(n)}(tC),pR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a){return(0,be.Z)(this,n),console.warn("THREE.LatheBufferGeometry has been renamed to THREE.LatheGeometry."),t.call(this,e,r,i,a)}return(0,xe.Z)(n)}(fT),vR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){return(0,be.Z)(this,n),console.warn("THREE.OctahedronBufferGeometry has been renamed to THREE.OctahedronGeometry."),t.call(this,e,r)}return(0,xe.Z)(n)}(nC),mR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a){return(0,be.Z)(this,n),console.warn("THREE.PlaneBufferGeometry has been renamed to THREE.PlaneGeometry."),t.call(this,e,r,i,a)}return(0,xe.Z)(n)}(QS),gR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a){return(0,be.Z)(this,n),console.warn("THREE.PolyhedronBufferGeometry has been renamed to THREE.PolyhedronGeometry."),t.call(this,e,r,i,a)}return(0,xe.Z)(n)}(gT),yR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s){return(0,be.Z)(this,n),console.warn("THREE.RingBufferGeometry has been renamed to THREE.RingGeometry."),t.call(this,e,r,i,a,o,s)}return(0,xe.Z)(n)}(rC),bR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){return(0,be.Z)(this,n),console.warn("THREE.ShapeBufferGeometry has been renamed to THREE.ShapeGeometry."),t.call(this,e,r)}return(0,xe.Z)(n)}(iC),xR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s,l){return(0,be.Z)(this,n),console.warn("THREE.SphereBufferGeometry has been renamed to THREE.SphereGeometry."),t.call(this,e,r,i,a,o,s,l)}return(0,xe.Z)(n)}(aC),wR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r){return(0,be.Z)(this,n),console.warn("THREE.TetrahedronBufferGeometry has been renamed to THREE.TetrahedronGeometry."),t.call(this,e,r)}return(0,xe.Z)(n)}(oC),SR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o){return(0,be.Z)(this,n),console.warn("THREE.TorusBufferGeometry has been renamed to THREE.TorusGeometry."),t.call(this,e,r,i,a,o)}return(0,xe.Z)(n)}(sC),_R=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o,s){return(0,be.Z)(this,n),console.warn("THREE.TorusKnotBufferGeometry has been renamed to THREE.TorusKnotGeometry."),t.call(this,e,r,i,a,o,s)}return(0,xe.Z)(n)}(lC),kR=function(e){(0,we.Z)(n,e);var t=(0,Se.Z)(n);function n(e,r,i,a,o){return(0,be.Z)(this,n),console.warn("THREE.TubeBufferGeometry has been renamed to THREE.TubeGeometry."),t.call(this,e,r,i,a,o)}return(0,xe.Z)(n)}(uC);"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:hm}})),"undefined"!==typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=hm);var MR=function(n){var r=n.children,i=(0,t.useRef)(null),s=(0,t.useState)(0),l=(0,a.Z)(s,2),u=l[0],c=l[1];return console.log("myRefDiv.current",i.current),(0,t.useEffect)((function(){return console.log("myRefDiv.current (en UseEffect)",i.current),u||(c(dm()({THREE:e,el:i.current,mouseControls:!0,touchControl
2s:!0,gyroControls:!1,minHeight:200,minWidth:200,scale:1,color1:131734,color2:810,size:1.2,speed:2.3})),console.log("Establezco vanta a un valor diferente de 0")),function(){u&&(u.destroy(),console.log("Libero los recursos"))}}),[u]),(0,o.jsx)("div",{className:"full",ref:i,children:r})},ER=["name"],TR=["_f"],CR=["_f"],AR=function(e){return"checkbox"===e.type},PR=function(e){return e instanceof Date},RR=function(e){return null==e},OR=function(e){return"object"===typeof e},LR=function(e){return!RR(e)&&!Array.isArray(e)&&OR(e)&&!PR(e)},ZR=function(e){return LR(e)&&e.target?AR(e.target)?e.target.checked:e.target.value:e},NR=function(e,t){return e.has(function(e){return e.substring(0,e.search(/\.\d+(\.|$)/))||e}(t))},IR=function(e){var t=e.constructor&&e.constructor.prototype;return LR(t)&&t.hasOwnProperty("isPrototypeOf")},jR="undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement&&"undefined"!==typeof document;function DR(e){var t,n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(jR&&(e instanceof Blob||e instanceof FileList)||!n&&!LR(e))return e;if(t=n?[]:{},n||IR(e))for(var r in e)e.hasOwnProperty(r)&&(t[r]=DR(e[r]));else t=e}return t}var zR=function(e){return Array.isArray(e)?e.filter(Boolean):[]},UR=function(e){return void 0===e},FR=function(e,t,n){if(!t||!LR(e))return n;var r=zR(t.split(/[,[\].]+?/)).reduce((function(e,t){return RR(e)?e:e[t]}),e);return UR(r)||r===e?UR(e[t])?n:e[t]:r},BR={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},VR={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},HR="max",WR="min",GR="maxLength",qR="minLength",XR="pattern",YR="required",JR="validate",KR=(t.createContext(null),function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i={defaultValues:t._defaultValues},a=function(a){Object.defineProperty(i,a,{get:function(){var i=a;return t._proxyFormState[i]!==VR.all&&(t._proxyFormState[i]=!r||VR.all),n&&(n[i]=!0),e[i]}})};for(var o in e)a(o);return i}),QR=function(e){return LR(e)&&!Object.keys(e).length},$R=function(e,t,n,r){n(e);e.name;var i=(0,Rr.Z)(e,ER);return QR(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find((function(e){return t[e]===(!r||VR.all)}))},eO=function(e){return Array.isArray(e)?e:[e]};function tO(e){var n=t.useRef(e);n.current=e,t.useEffect((function(){var t=!e.disabled&&n.current.subject&&n.current.subject.subscribe({next:n.current.next});return function(){t&&t.unsubscribe()}}),[e.disabled])}var nO=function(e){return"string"===typeof e},rO=function(e,t,n,r,i){return nO(e)?(r&&t.watch.add(e),FR(n,e,i)):Array.isArray(e)?e.map((function(e){return r&&t.watch.add(e),FR(n,e)})):(r&&(t.watchAll=!0),n)};var iO=function(e){return/^\w*$/.test(e)},aO=function(e){return zR(e.replace(/["|']|\]/g,"").split(/\.|\[/))};function oO(e,t,n){for(var r=-1,i=iO(t)?[t]:aO(t),a=i.length,o=a-1;++r<a;){var s=i[r],l=n;if(r!==o){var u=e[s];l=LR(u)||Array.isArray(u)?u:isNaN(+i[r+1])?{}:[]}e[s]=l,e=e[s]}return e}var sO=function(e,t,n,r,i){return t?(0,Pr.Z)((0,Pr.Z)({},n[e]),{},{types:(0,Pr.Z)((0,Pr.Z)({},n[e]&&n[e].types?n[e].types:{}),{},(0,Jt.Z)({},r,i||!0))}):{}},lO=function e(t,n,r){var i,a=(0,Pe.Z)(r||Object.keys(t));try{for(a.s();!(i=a.n()).done;){var o=i.value,s=FR(t,o);if(s){var l=s._f,u=(0,Rr.Z)(s,TR);if(l&&n(l.name)){if(l.ref.focus){l.ref.focus();break}if(l.refs&&l.refs[0].focus){l.refs[0].focus();break}}else LR(u)&&e(u,n)}}}catch(c){a.e(c)}finally{a.f()}},uO=function(e){return{isOnSubmit:!e||e===VR.onSubmit,isOnBlur:e===VR.onBlur,isOnChange:e===VR.onChange,isOnAll:e===VR.all,isOnTouch:e===VR.onTouched}},cO=function(e,t,n){return!n&&(t.watchAll||t.watch.has(e)||(0,ye.Z)(t.watch).some((function(t){return e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))})))},dO=function(e,t,n){var r=zR(FR(e,n));return oO(r,"root",t[n]),oO(e,n,r),e},fO=function(e){return"boolean"===typeof e},hO=function(e){return"file"===e.type},pO=function(e){return"function"===typeof e},vO=function(e){if(!jR)return!1;var t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},mO=function(e){return nO(e)},gO=function(e){return"radio"===e.type},yO=function(e){return e instanceof RegExp},bO={value:!1,isValid:!1},xO={value:!0,isValid:!0},wO=function(e){if(Array.isArray(e)){if(e.length>1){var t=e.filter((function(e){return e&&e.checked&&!e.disabled})).map((function(e){return e.value}));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!UR(e[0].attributes.value)?UR(e[0].value)||""===e[0].value?xO:{value:e[0].value,isValid:!0}:xO:bO}return bO},SO={isValid:!1,value:null},_O=function(e){return Array.isArray(e)?e.reduce((function(e,t){return t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e}),SO):SO};function kO(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"validate";if(mO(e)||Array.isArray(e)&&e.every(mO)||fO(e)&&!e)return{type:n,message:mO(e)?e:"",ref:t}}var MO=function(e){return LR(e)&&!yO(e)?e:{value:e,message:""}},EO=function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t,n,r,i,a){var o,s,l,u,c,d,f,h,p,v,m,g,y,b,x,w,S,_,k,M,E,T,C,A,P,R,O,L,Z,N,I,j,D,z,U,F,B,V,H,W,G,q,X,Y,J,K,Q,$;return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t._f,s=o.ref,l=o.refs,u=o.required,
2c=o.maxLength,d=o.minLength,f=o.min,h=o.max,p=o.pattern,v=o.validate,m=o.name,g=o.valueAsNumber,y=o.mount,b=o.disabled,x=FR(n,m),y&&!b){e.next=4;break}return e.abrupt("return",{});case 4:if(w=l?l[0]:s,S=function(e){i&&w.reportValidity&&(w.setCustomValidity(fO(e)?"":e||""),w.reportValidity())},_={},k=gO(s),M=AR(s),E=k||M,T=(g||hO(s))&&UR(s.value)&&UR(x)||vO(s)&&""===s.value||""===x||Array.isArray(x)&&!x.length,C=sO.bind(null,m,r,_),A=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:GR,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:qR,a=e?t:n;_[m]=(0,Pr.Z)({type:e?r:i,message:a,ref:s},C(e?r:i,a))},!(a?!Array.isArray(x)||!x.length:u&&(!E&&(T||RR(x))||fO(x)&&!x||M&&!wO(l).isValid||k&&!_O(l).isValid))){e.next=20;break}if(P=mO(u)?{value:!!u,message:u}:MO(u),R=P.value,O=P.message,!R){e.next=20;break}if(_[m]=(0,Pr.Z)({type:YR,message:O,ref:w},C(YR,O)),r){e.next=20;break}return S(O),e.abrupt("return",_);case 20:if(T||RR(f)&&RR(h)){e.next=29;break}if(N=MO(h),I=MO(f),RR(x)||isNaN(x)?(D=s.valueAsDate||new Date(x),z=function(e){return new Date((new Date).toDateString()+" "+e)},U="time"==s.type,F="week"==s.type,nO(N.value)&&x&&(L=U?z(x)>z(N.value):F?x>N.value:D>new Date(N.value)),nO(I.value)&&x&&(Z=U?z(x)<z(I.value):F?x<I.value:D<new Date(I.value))):(j=s.valueAsNumber||(x?+x:x),RR(N.value)||(L=j>N.value),RR(I.value)||(Z=j<I.value)),!L&&!Z){e.next=29;break}if(A(!!L,N.message,I.message,HR,WR),r){e.next=29;break}return S(_[m].message),e.abrupt("return",_);case 29:if(!c&&!d||T||!(nO(x)||a&&Array.isArray(x))){e.next=39;break}if(B=MO(c),V=MO(d),H=!RR(B.value)&&x.length>+B.value,W=!RR(V.value)&&x.length<+V.value,!H&&!W){e.next=39;break}if(A(H,B.message,V.message),r){e.next=39;break}return S(_[m].message),e.abrupt("return",_);case 39:if(!p||T||!nO(x)){e.next=46;break}if(G=MO(p),q=G.value,X=G.message,!yO(q)||x.match(q)){e.next=46;break}if(_[m]=(0,Pr.Z)({type:XR,message:X,ref:s},C(XR,X)),r){e.next=46;break}return S(X),e.abrupt("return",_);case 46:if(!v){e.next=80;break}if(!pO(v)){e.next=59;break}return e.next=50,v(x,n);case 50:if(Y=e.sent,!(J=kO(Y,w))){e.next=57;break}if(_[m]=(0,Pr.Z)((0,Pr.Z)({},J),C(JR,J.message)),r){e.next=57;break}return S(J.message),e.abrupt("return",_);case 57:e.next=80;break;case 59:if(!LR(v)){e.next=80;break}K={},e.t0=(0,df.Z)().keys(v);case 62:if((e.t1=e.t0()).done){e.next=76;break}if(Q=e.t1.value,QR(K)||r){e.next=66;break}return e.abrupt("break",76);case 66:return e.t2=kO,e.next=69,v[Q](x,n);case 69:e.t3=e.sent,e.t4=w,e.t5=Q,($=(0,e.t2)(e.t3,e.t4,e.t5))&&(K=(0,Pr.Z)((0,Pr.Z)({},$),C(Q,$.message)),S($.message),r&&(_[m]=K)),e.next=62;break;case 76:if(QR(K)){e.next=80;break}if(_[m]=(0,Pr.Z)({ref:w},K),r){e.next=80;break}return e.abrupt("return",_);case 80:return S(!0),e.abrupt("return",_);case 82:case"end":return e.stop()}}),e)})));return function(t,n,r,i,a){return e.apply(this,arguments)}}();function TO(e,t){var n=Array.isArray(t)?t:iO(t)?[t]:aO(t),r=1===n.length?e:function(e,t){for(var n=t.slice(0,-1).length,r=0;r<n;)e=UR(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,a=n[i];return r&&delete r[a],0!==i&&(LR(r)&&QR(r)||Array.isArray(r)&&function(e){for(var t in e)if(e.hasOwnProperty(t)&&!UR(e[t]))return!1;return!0}(r))&&TO(e,n.slice(0,-1)),e}function CO(){var e=[];return{get observers(){return e},next:function(t){var n,r=(0,Pe.Z)(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.next&&i.next(t)}}catch(a){r.e(a)}finally{r.f()}},subscribe:function(t){return e.push(t),{unsubscribe:function(){e=e.filter((function(e){return e!==t}))}}},unsubscribe:function(){e=[]}}}var AO=function(e){return RR(e)||!OR(e)};function PO(e,t){if(AO(e)||AO(t))return e===t;if(PR(e)&&PR(t))return e.getTime()===t.getTime();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0,a=n;i<a.length;i++){var o=a[i],s=e[o];if(!r.includes(o))return!1;if("ref"!==o){var l=t[o];if(PR(s)&&PR(l)||LR(s)&&LR(l)||Array.isArray(s)&&Array.isArray(l)?!PO(s,l):s!==l)return!1}}return!0}var RO=function(e){return"select-multiple"===e.type},OO=function(e){return gO(e)||AR(e)},LO=function(e){return vO(e)&&e.isConnected},ZO=function(e){for(var t in e)if(pO(e[t]))return!0;return!1};function NO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Array.isArray(e);if(LR(e)||n)for(var r in e)Array.isArray(e[r])||LR(e[r])&&!ZO(e[r])?(t[r]=Array.isArray(e[r])?[]:{},NO(e[r],t[r])):RR(e[r])||(t[r]=!0);return t}function IO(e,t,n){var r=Array.isArray(e);if(LR(e)||r)for(var i in e)Array.isArray(e[i])||LR(e[i])&&!ZO(e[i])?UR(t)||AO(n[i])?n[i]=Array.isArray(e[i])?NO(e[i],[]):(0,Pr.Z)({},NO(e[i])):IO(e[i],RR(t)?{}:t[i],n[i]):n[i]=!PO(e[i],t[i]);return n}var jO=function(e,t){return IO(e,t,NO(t))},DO=function(e,t){var n=t.valueAsNumber,r=t.valueAsDate,i=t.setValueAs;return UR(e)?e:n?""===e?NaN:e?+e:e:r&&nO(e)?new Date(e):i?i(e):e};function zO(e){var t=e.ref;if(!(e.refs?e.refs.every((function(e){return e.disabled})):t.disabled))return hO(t)?t.files:gO(t)?_O(e.refs).value:RO(t)?(0,ye.Z)(t.selectedOptions).map((function(e){return e.value})):AR(t)?wO(e.refs).value:DO(UR(t.value)?e.ref.value:t.value,e)}var UO=function(e,t,n,r){var i,a={},o=(0,Pe.Z)(e);try{for(o.s();!(i=o.n()).done;){var s=i.value,l=FR(t,s);l&&oO(a,s,l._f)}}catch(u){o.e(u)}finally{o.f()}return{criteriaMode:n,names:(0,ye.Z)(e),fields:a,shouldUseNativeValidation:r}},FO=function(e){return UR(e)?e:yO(e)?e.source:LR(e)?yO(e.value)?e.value.source:e.value:e},BO=function(e){return e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate)};function VO(e,t,n){var r=FR(e,n);if(r||iO(n))return{error:r,name:n};for(var i=n.split(".");i.length;){var a=i.join("."),o=FR(t,a),s=FR(e,a);if(o&&!Array.isArray(o)&&n!==a)return{name:n};if(s&&s.type)return{name:a,error:s};i.pop()}return{name:n}}var HO=function(e,t,n,r,i){return!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e)},WO=function(e,t){return!zR(FR(e,t)).length&&TO(e,t)},GO={mode:VR.onSubmit,reValidateMode:VR.onChange,shouldFocusError:!0};function qO(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=(0,Pr.Z)((0,Pr.Z)({},GO),t),i={submitCount:0,isDirty:!1,isLoading:pO(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},a={},o=(LR(r.defaultValues)||LR(r.values))&&DR(r.defaultValues||r.values)||{},s=r.shouldUnregister?{}:DR(o),l={action:!1,mount:!1,watch:!1},u={mount:new Set,unMount:new Set,array:new Set,watch:new Set},c=0,d={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:CO(),array:CO(),state:CO()},h=t.resetOptions&&t.resetOptions.keepDirtyValues,p=uO(r.mode),v=uO(r.reValidateMode),m=r.criteriaMode===VR.all,g=function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t){var n;return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!d.isValid&&!t){e.next=14;break}if(!r.resolver){e.next=9;break}return e.t1=QR,e.next=5,S();case 5:e.t2=e.sent.errors,e.t0=(0,e.t1)(e.t2),e.next=12;break;case 9:return e.next=11,k(a,!0);case 11:e.t0=e.sent;case 12:(n=e.t0)!==i.isValid&&f.state.next({isValid:n});case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(e){return d.isValidating&&f.state.next({isValidating:e})},b=function(e,t,n,r){var i=FR(a,e);if(i){var u=FR(s,e,UR(n)?FR(o,e):n);UR(u)||r&&r.defaultChecked||t?oO(s,e,t?u:zO(i._f)):T(e,u),l.mount&&g()}},x=function(e,t,n,r,a){var s=!1,l=!1,u={name:e};if(!n||r){d.isDirty&&(l=i.isDirty,i.isDirty=u.isDirty=M(),s=l!==u.isDirty);var c=PO(FR(o,e),t);l=FR(i.dirtyFields,e),c?TO(i.dirtyFields,e):oO(i.dirtyFields,e,!0),u.dirtyFields=i.dirtyFields,s=s||d.dirtyFields&&l!==!c}if(n){var h=FR(i.touchedFields,e);h||(oO(i.touchedFields,e,n),u.touchedFields=i.touchedFields,s=s||d.touchedFields&&h!==n)}return s&&a&&f.state.next(u),s?u:{}},w=function(n,r,a,o){var s,l=FR(i.errors,n),u=d.isValid&&fO(r)&&i.isValid!==r;if(t.delayError&&a?(s=function(){return function(e,t){oO(i.errors,e,t),f.state.next({errors:i.errors})}(n,a)},(e=function(e){clearTimeout(c),c=setTimeout(s,e)})(t.delayError)):(clearTimeout(c),e=null,a?oO(i.errors,n,a):TO(i.errors,n)),(a?!PO(l,a):l)||!QR(o)||u){var h=(0,Pr.Z)((0,Pr.Z)((0,Pr.Z)({},o),u&&fO(r)?{isValid:r}:{}),{},{errors:i.errors,name:n});i=(0,Pr.Z)((0,Pr.Z)({},i),h),f.state.next(h)}y(!1)},S=function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t){return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r.resolver(s,r.context,UO(t||u.mount,a,r.criteriaMode,r.shouldUseNativeValidation)));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_=function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t){var n,r,a,o,s,l;return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S();case 2:if(n=e.sent,r=n.errors,t){a=(0,Pe.Z)(t);try{for(a.s();!(o=a.n()).done;)s=o.value,(l=FR(r,s))?oO(i.errors,s,l):TO(i.errors,s)}catch(u){a.e(u)}finally{a.f()}}else i.errors=r;return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t,n){var a,o,l,c,d,f,h,p=arguments;return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=p.length>2&&void 0!==p[2]?p[2]:{valid:!0},e.t0=(0,df.Z)().keys(t);case 2:if((e.t1=e.t0()).done){e.next=23;break}if(o=e.t1.value,!(l=t[o])){e.next=21;break}if(c=l._f,d=(0,Rr.Z)(l,CR),!c){e.next=17;break}return f=u.array.has(c.name),e.next=11,EO(l,s,m,r.shouldUseNativeValidation&&!n,f);case 11:if(!(h=e.sent)[c.name]){e.next=16;break}if(a.valid=!1,!n){e.next=16;break}return e.abrupt("break",23);case 16:!n&&(FR(h,c.name)?f?dO(i.errors,h,c.name):oO(i.errors,c.name,h[c.name]):TO(i.errors,c.name));case 17:if(e.t2=d,!e.t2){e.next=21;break}return e.next=21,k(d,n,a);case 21:e.next=2;break;case 23:return e.abrupt("return",a.valid);case 24:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),M=function(e,t){return e&&t&&oO(s,e,t),!PO(O(),o)},E=function(e,t,n){return rO(e,u,(0,Pr.Z)({},l.mount?s:UR(t)?o:nO(e)?(0,Jt.Z)({},e,t):t),n,t)},T=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=FR(a,e),i=t;if(r){var o=r._f;o&&(!o.disabled&&oO(s,e,DO(t,o)),i=vO(o.ref)&&RR(t)?"":t,RO(o.ref)?(0,ye.Z)(o.ref.options).forEac
2h((function(e){return e.selected=i.includes(e.value)})):o.refs?AR(o.ref)?o.refs.length>1?o.refs.forEach((function(e){return(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find((function(t){return t===e.value})):i===e.value)})):o.refs[0]&&(o.refs[0].checked=!!i):o.refs.forEach((function(e){return e.checked=e.value===i})):hO(o.ref)?o.ref.value="":(o.ref.value=i,o.ref.type||f.values.next({name:e,values:(0,Pr.Z)({},s)})))}(n.shouldDirty||n.shouldTouch)&&x(e,i,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&R(e)},C=function e(t,n,r){for(var i in n){var o=n[i],s="".concat(t,".").concat(i),l=FR(a,s);!u.array.has(t)&&AO(o)&&(!l||l._f)||PR(o)?T(s,o,r):e(s,o,r)}},A=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=FR(a,e),h=u.array.has(e),p=DR(t);oO(s,e,p),h?(f.array.next({name:e,values:(0,Pr.Z)({},s)}),(d.isDirty||d.dirtyFields)&&r.shouldDirty&&f.state.next({name:e,dirtyFields:jO(o,s),isDirty:M(e,p)})):!c||c._f||RR(p)?T(e,p,r):C(e,p,r),cO(e,u)&&f.state.next((0,Pr.Z)({},i)),f.values.next({name:e,values:(0,Pr.Z)({},s)}),!l.mount&&n()},P=function(){var t=(0,ff.Z)((0,df.Z)().mark((function t(n){var o,l,c,h,b,_,M,E,T,C,A,P,O,L,Z,N,I;return(0,df.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=n.target,l=o.name,c=!0,h=FR(a,l),b=function(){return o.type?zO(h._f):ZR(n)},!h){t.next=47;break}if(E=b(),T=n.type===BR.BLUR||n.type===BR.FOCUS_OUT,C=!BO(h._f)&&!r.resolver&&!FR(i.errors,l)&&!h._f.deps||HO(T,FR(i.touchedFields,l),i.isSubmitted,v,p),A=cO(l,u,T),oO(s,l,E),T?(h._f.onBlur&&h._f.onBlur(n),e&&e(0)):h._f.onChange&&h._f.onChange(n),P=x(l,E,T,!1),O=!QR(P)||A,!T&&f.values.next({name:l,type:n.type,values:(0,Pr.Z)({},s)}),!C){t.next=18;break}return d.isValid&&g(),t.abrupt("return",O&&f.state.next((0,Pr.Z)({name:l},A?{}:P)));case 18:if(!T&&A&&f.state.next((0,Pr.Z)({},i)),y(!0),!r.resolver){t.next=32;break}return t.next=23,S([l]);case 23:L=t.sent,Z=L.errors,N=VO(i.errors,a,l),I=VO(Z,a,N.name||l),_=I.error,l=I.name,M=QR(Z),t.next=46;break;case 32:return t.next=34,EO(h,s,m,r.shouldUseNativeValidation);case 34:if(t.t0=l,_=t.sent[t.t0],!(c=isNaN(E)||E===FR(s,l,E))){t.next=46;break}if(!_){t.next=42;break}M=!1,t.next=46;break;case 42:if(!d.isValid){t.next=46;break}return t.next=45,k(a,!0);case 45:M=t.sent;case 46:c&&(h._f.deps&&R(h._f.deps),w(l,M,_,P));case 47:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),R=function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t){var n,o,s,l,c,h=arguments;return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=h.length>1&&void 0!==h[1]?h[1]:{},l=eO(t),y(!0),!r.resolver){e.next=11;break}return e.next=6,_(UR(t)?t:l);case 6:c=e.sent,o=QR(c),s=t?!l.some((function(e){return FR(c,e)})):o,e.next=21;break;case 11:if(!t){e.next=18;break}return e.next=14,Promise.all(l.map(function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t){var n;return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=FR(a,t),e.next=3,k(n&&n._f?(0,Jt.Z)({},t,n):n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 14:((s=e.sent.every(Boolean))||i.isValid)&&g(),e.next=21;break;case 18:return e.next=20,k(a);case 20:s=o=e.sent;case 21:return f.state.next((0,Pr.Z)((0,Pr.Z)((0,Pr.Z)({},!nO(t)||d.isValid&&o!==i.isValid?{}:{name:t}),r.resolver||!t?{isValid:o}:{}),{},{errors:i.errors,isValidating:!1})),n.shouldFocus&&!s&&lO(a,(function(e){return e&&FR(i.errors,e)}),t?l:u.mount),e.abrupt("return",s);case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(e){var t=(0,Pr.Z)((0,Pr.Z)({},o),l.mount?s:{});return UR(e)?t:nO(e)?FR(t,e):e.map((function(e){return FR(t,e)}))},L=function(e,t){return{invalid:!!FR((t||i).errors,e),isDirty:!!FR((t||i).dirtyFields,e),isTouched:!!FR((t||i).touchedFields,e),error:FR((t||i).errors,e)}},Z=function(e,t,n){var r=(FR(a,e,{_f:{}})._f||{}).ref;oO(i.errors,e,(0,Pr.Z)((0,Pr.Z)({},t),{},{ref:r})),f.state.next({name:e,errors:i.errors,isValid:!1}),n&&n.shouldFocus&&r&&r.focus&&r.focus()},N=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=(0,Pe.Z)(e?eO(e):u.mount);try{for(l.s();!(t=l.n()).done;){var c=t.value;u.mount.delete(c),u.array.delete(c),n.keepValue||(TO(a,c),TO(s,c)),!n.keepError&&TO(i.errors,c),!n.keepDirty&&TO(i.dirtyFields,c),!n.keepTouched&&TO(i.touchedFields,c),!r.shouldUnregister&&!n.keepDefaultValue&&TO(o,c)}}
2catch(d){l.e(d)}finally{l.f()}f.values.next({values:(0,Pr.Z)({},s)}),f.state.next((0,Pr.Z)((0,Pr.Z)({},i),n.keepDirty?{isDirty:M()}:{})),!n.keepIsValid&&g()},I=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=FR(a,t),c=fO(n.disabled);return oO(a,t,(0,Pr.Z)((0,Pr.Z)({},i||{}),{},{_f:(0,Pr.Z)((0,Pr.Z)({},i&&i._f?i._f:{ref:{name:t}}),{},{name:t,mount:!0},n)})),u.mount.add(t),i?c&&oO(s,t,n.disabled?void 0:FR(s,t,zO(i._f))):b(t,!0,n.value),(0,Pr.Z)((0,Pr.Z)((0,Pr.Z)({},c?{disabled:n.disabled}:{}),r.progressive?{required:!!n.required,min:FO(n.min),max:FO(n.max),minLength:FO(n.minLength),maxLength:FO(n.maxLength),pattern:FO(n.pattern)}:{}),{},{name:t,onChange:P,onBlur:P,ref:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(s){if(s){e(t,n),i=FR(a,t);var c=UR(s.value)&&s.querySelectorAll&&s.querySelectorAll("input,select,textarea")[0]||s,d=OO(c),f=i._f.refs||[];if(d?f.find((function(e){return e===c})):c===i._f.ref)return;oO(a,t,{_f:(0,Pr.Z)((0,Pr.Z)({},i._f),d?{refs:[].concat((0,ye.Z)(f.filter(LO)),[c],(0,ye.Z)(Array.isArray(FR(o,t))?[{}]:[])),ref:{type:c.type,name:t}}:{ref:c})}),b(t,!1,void 0,c)}else(i=FR(a,t,{}))._f&&(i._f.mount=!1),(r.shouldUnregister||n.shouldUnregister)&&(!NR(u.array,t)||!l.action)&&u.unMount.add(t)}))})},j=function(){return r.shouldFocusError&&lO(a,(function(e){return e&&FR(i.errors,e)}),u.mount)},D=function(e,t){return function(){var n=(0,ff.Z)((0,df.Z)().mark((function n(o){var l,u,c,d;return(0,df.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist()),l=DR(s),f.state.next({isSubmitting:!0}),!r.resolver){n.next=13;break}return n.next=6,S();case 6:u=n.sent,c=u.errors,d=u.values,i.errors=c,l=d,n.next=15;break;case 13:return n.next=15,k(a);case 15:if(TO(i.errors,"root"),!QR(i.errors)){n.next=22;break}return f.state.next({errors:{}}),n.next=20,e(l,o);case 20:n.next=27;break;case 22:if(!t){n.next=25;break}return n.next=25,t((0,Pr.Z)({},i.errors),o);case 25:j(),setTimeout(j);case 27:f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:QR(i.errors),submitCount:i.submitCount+1,errors:i.errors});case 28:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},z=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=e||o,p=DR(c),v=e&&!QR(e)?p:o;if(r.keepDefaultValues||(o=c),!r.keepValues){if(r.keepDirtyValues||h){var m,g=(0,Pe.Z)(u.mount);try{for(g.s();!(m=g.n()).done;){var y=m.value;FR(i.dirtyFields,y)?oO(v,y,FR(s,y)):A(y,FR(v,y))}}catch(M){g.e(M)}finally{g.f()}}else{if(jR&&UR(e)){var b,x=(0,Pe.Z)(u.mount);try{for(x.s();!(b=x.n()).done;){var w=b.value,S=FR(a,w);if(S&&S._f){var _=Array.isArray(S._f.refs)?S._f.refs[0]:S._f.ref;if(vO(_)){var k=_.closest("form");if(k){k.reset();break}}}}}catch(M){x.e(M)}finally{x.f()}}a={}}s=t.shouldUnregister?r.keepDefaultValues?DR(o):{}:DR(v),f.array.next({values:(0,Pr.Z)({},v)}),f.values.next({values:(0,Pr.Z)({},v)})}u={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!l.mount&&n(),l.mount=!d.isValid||!!r.keepIsValid,l.watch=!!t.shouldUnregister,f.state.next({submitCount:r.keepSubmitCount?i.submitCount:0,isDirty:r.keepDirty?i.isDirty:!(!r.keepDefaultValues||PO(e,o)),isSubmitted:!!r.keepIsSubmitted&&i.isSubmitted,dirtyFields:r.keepDirtyValues?i.dirtyFields:r.keepDefaultValues&&e?jO(o,e):{},touchedFields:r.keepTouched?i.touchedFields:{},errors:r.keepErrors?i.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},U=function(e,t){return z(pO(e)?e(s):e,t)};return{control:{register:I,unregister:N,getFieldState:L,handleSubmit:D,setError:Z,_executeSchema:S,_getWatch:E,_getDirty:M,_updateValid:g,_removeUnmounted:function(){var e,t=(0,Pe.Z)(u.unMount);try{for(t.s();!(e=t.n()).done;){var n=e.value,r=FR(a,n);r&&(r._f.refs?r._f.refs.every((function(e){return!LO(e)})):!LO(r._f.ref))&&N(n)}}catch(i){t.e(i)}finally{t.f()}u.unMount=new Set},_updateFieldArray:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,u=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],c=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];
2if(r&&n){if(l.action=!0,c&&Array.isArray(FR(a,e))){var h=n(FR(a,e),r.argA,r.argB);u&&oO(a,e,h)}if(c&&Array.isArray(FR(i.errors,e))){var p=n(FR(i.errors,e),r.argA,r.argB);u&&oO(i.errors,e,p),WO(i.errors,e)}if(d.touchedFields&&c&&Array.isArray(FR(i.touchedFields,e))){var v=n(FR(i.touchedFields,e),r.argA,r.argB);u&&oO(i.touchedFields,e,v)}d.dirtyFields&&(i.dirtyFields=jO(o,s)),f.state.next({name:e,isDirty:M(e,t),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else oO(s,e,t)},_getFieldArray:function(e){return zR(FR(l.mount?s:o,e,t.shouldUnregister?FR(o,e,[]):[]))},_reset:z,_resetDefaultValues:function(){return pO(r.defaultValues)&&r.defaultValues().then((function(e){U(e,r.resetOptions),f.state.next({isLoading:!1})}))},_updateFormState:function(e){i=(0,Pr.Z)((0,Pr.Z)({},i),e)},_subjects:f,_proxyFormState:d,get _fields(){return a},get _formValues(){return s},get _state(){return l},set _state(e){l=e},get _defaultValues(){return o},get _names(){return u},set _names(e){u=e},get _formState(){return i},set _formState(e){i=e},get _options(){return r},set _options(e){r=(0,Pr.Z)((0,Pr.Z)({},r),e)}},trigger:R,register:I,handleSubmit:D,watch:function(e,t){return pO(e)?f.values.subscribe({next:function(n){return e(E(void 0,t),n)}}):E(e,t,!0)},setValue:A,getValues:O,reset:U,resetField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};FR(a,e)&&(UR(t.defaultValue)?A(e,FR(o,e)):(A(e,t.defaultValue),oO(o,e,t.defaultValue)),t.keepTouched||TO(i.touchedFields,e),t.keepDirty||(TO(i.dirtyFields,e),i.isDirty=t.defaultValue?M(e,FR(o,e)):M()),t.keepError||(TO(i.errors,e),d.isValid&&g()),f.state.next((0,Pr.Z)({},i)))},clearErrors:function(e){e&&eO(e).forEach((function(e){return TO(i.errors,e)})),f.state.next({errors:e?i.errors:{}})},unregister:N,setError:Z,setFocus:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=FR(a,e),r=n&&n._f;if(r){var i=r.refs?r.refs[0]:r.ref;i.focus&&(i.focus(),t.shouldSelect&&i.select())}},getFieldState:L}}var XO=function(){var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.useRef(),r=t.useState({isDirty:!1,isValidating:!1,isLoading:pO(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:pO(e.defaultValues)?void 0:e.defaultValues}),i=(0,a.Z)(r,2),o=i[0],s=i[1];n.current||(n.current=(0,Pr.Z)((0,Pr.Z)({},qO(e,(function(){return s((function(e){return(0,Pr.Z)({},e)}))}))),{},{formState:o}));var l=n.current.control;return l._options=e,tO({subject:l._subjects.state,next:function(e){$R(e,l._proxyFormState,l._updateFormState,!0)&&s((0,Pr.Z)({},l._formState))}}),t.useEffect((function(){e.values&&!PO(e.values,l._defaultValues)?l._reset(e.values,l._options.resetOptions):l._resetDefaultValues()}),[e.values,l]),t.useEffect((function(){l._state.mount||(l._updateValid(),l._state.mount=!0),l._state.watch&&(l._state.watch=!1,l._subjects.state.next((0,Pr.Z)({},l._formState))),l._removeUnmounted()})),n.current.formState=KR(o,l),n.current}(),n=e.register,r=e.handleSubmit,i=e.formState.errors,s=e.reset,l=function(){var e=(0,ff.Z)((0,df.Z)().mark((function e(t){return(0,df.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("https://api.example.com/send-email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t.name,email:t.email,phone:t.phone,company:t.company,message:t.message})});case 3:e.sent.ok?(console.log("Email sent successfully"),alert("Email sent successfully"),s()):(console.log("Failed to send email"),alert("Failed to send email. Please try again later.")),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("Error occurred while sending email",e.t0),alert("An error occurred while sending the email. Please try again later.");case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}();return(0,o.jsx)("div",{children:(0,o.jsx)(MR,{children:(0,o.jsxs)("div",{className:"container",children:[" ",(0,o.jsxs)(Tr,{container:!0,direction:"column",justify:"center",className:"full",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("h1",{style:{textAlign:"start",fontSize:"40px",fontWeight:"900"},children:(0,o.jsx)("a",{href:"./",children:(0,o.jsx)(sm,{})})}),(0,o.jsx)("h1",{style:{textAlign:"center",fontWeight:"600",color:"#fff"},className:"contact_head",children:"Contact Us"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{textAlign:"center",fontWeight:"200",color:"#fff"},className:"contact_under",children:"Feel free to send any questions or proposals you might have and we'll get back to you."}),(0,o.jsx)(om,{sx:{my:6,mx:6},children:(0,o.jsxs)(om,{component:"form",noValidate:!0,sx:{mt:1},onSubmit:r(l),children:[(0,o.jsx)("label",{style:{color:" #fff",fontSize:"200",marginTop:"20px"},className:"label_font",children:"Your name :"}),(0,o.jsx)("br",{}),(0,o.jsx)(Qv,(0,Pr.Z)({margin:"normal",required:!0,fullWidth:!0,id:"name",name:"name",autoComplete:"email",autoFocus:!0,className:"field",style:{color:"#fff"}},n("name",{required:!0}))),i.name&&(0,o.jsx)("span",{style:{color:"red"},children:"This name field is required"}),(0,o.jsx)("br",{}),(0,o.jsx)("label",{style:{color:"#fff",fontSize:"800",marginTop:"20px"},className:"label_font",children:"What is your Email Address ?"}),(0,o.jsx)("br",{}),(0,o.jsx)(Qv,(0,Pr.Z)({margin:"normal",required:!0,fullWidth:!0,id:"email",name:"email",autoComplete:"email",style:{color:"#fff"},autoFocus:!0,className:"field"},n("email",{required:"Email address is required",pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Invalid email address"}}))),i.email&&(0,o.jsx)("span",{style:{color:"red"},children:i.email.message}),(0,o.jsx)("br",{}),(0,o.jsx)("label",{style:{color:"#fff",fontSize:"800",marginTop:"20px"},className:"label_font",children:"What is your Phone Number ?"}),(0,o.jsx)("br",{}),(0,o.jsx)(Qv,(0,Pr.Z)({margin:"normal",required:!0,fullWidth:!0,id:"phone",style:{color:"#fff"},name:"phone",autoComplete:"tel",autoFocus:!0,className:"field"},n("phone",{required:"Phone number is required",pattern:{value:/^[0-9]{10}$/,message:"Invalid phone number"}}))),i.phone&&(0,o.jsx)("span",{style:{color:"red"},children:i.phone.message}),(0,o.jsx)("br",{}),(0,o.jsx)("label",{style:{color:"#fff",fontSize:"800",marginTop:"20px"},className:"label_font",children:"What is your Company ?"}),(0,o.jsx)("br",{}),(0,o.jsx)(Qv,(0,Pr.Z)({margin:"normal",required:!0,fullWidth:!0,id:"company",name:"company",autoComplete:"organization",autoFocus:!0,style:{color:"#fff"},className:"field"},n("company",{required:"Company name is required"}))),i.company&&(0,o.jsx)("span",{style:{color:"red"},children:i.company.message}),(0,o.jsx)("br",{}),(0,o.jsx)("label",{style:{color:"#fff",fontSize:"800",marginTop:"20px"},className:"label_font",children:"Enter your Comment"}),(0,o.jsx)("br",{}),(0,o.jsx)("textarea",(0,Pr.Z)({margin:"normal",required:!0,fullWidth:!0,name:"message",label:"Message ?",style:{color:"#fff"},type:"text",id:"number",rows:"6",className:"form-control field"},n("message",{required:"Comment is required"}))),i.message&&(0,o.jsx)("span",{style:{color:"red"},children:i.message.message}),(0,o.jsx)(cr,{type:"submit",fullWidth:!0,value:"Send",sx:{mt:3,mb:4},className:"btn-grad",style:{color:"#fff",padding:"14px",backgroundColor:"#000"},children:"Send Message"})]})})]})]})})})},YO=function(){return(0,o.jsx)("div",{children:(0,o.jsx)(XO,{})})},JO=n.p+"static/media/logo.433891f5b1c6caae7da5.png";var KO=function(){return(0,o.jsx)("div",{className:"herodesk",children:(0,o.jsxs)(Tr,{container:!0,spacing:2,children:[(0,o.jsxs)(Tr,{item:!0,md:12,xs:12,sm:12,lg:12,style:{textAlign:"center"},children:[" ",(0,o.jsx)("br",{})," ",(0,o.jsx)("br",{}),(0,o.jsx)("img",{src:JO})]}),(0,o.jsxs)(Tr,{item:!0,md:12,xs:12,sm:12,lg:12,style:{textAlign:"center"},children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("h1",{className:"head_fof",children:"404"}),(0,o.jsx)("br",{})," ",(0,o.jsx)("p",{className:"head_fofs",children:"Ooops! Page not found"})," ",(0,o.jsx)("br",{})," ",(0,o.jsx)("a",{href:"https://www.ibizatoken.com/",children:(0,o.jsx)("button",{class:"button-17 ",role:"button",children:"Back to Home"})})]})]})})};var QO=function(){return(0,o.jsxs)("div",{className:"herodesks",children:[" ",(0,o.jsxs)(Tr,{container:!0,spacing:2,children:[(0,o.jsxs)(Tr,{item:!0,md:12,xs:12,sm:12,lg:12,style:{textAlign:"center"},children:[" ",(0,o.jsx)("br",{})," ",(0,o.jsx)("br",{}),(0,o.jsx)("img",{src:JO})]}),(0,o.jsxs)(Tr,{item:!0,md:12,xs:12,sm:12,lg:12,style:{textAlign:"center"},children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("h1",{className:"head_fof",children:"404"}),(0,o.jsx)("br",{})," ",(0,o.jsx)("p",{className:"head_fofs",children:"Ooops! Page not found"})," ",(0,o.jsx)("br",{})," ",(0,o.jsx)("a",{href:"https://www.ibizatoken.com/",children:(0,o.jsx)("button",{class:"button-17 ",role:"button",children:"Back to Home"})})]})]})]})},$O=function(){qt();var e=Vt((function(e){return e.breakpoints.down("lg")})),n=(0,t.useState)("0%"),r=(0,a.Z)(n,2),i=r[0],s=r[1],l=function(){var e=document.documentElement.scrollTop,t=document.documentElement.scrollHeight-document.documentElement.clientHeight,n="".concat(e/t*100,"%");s(n)};(0,t.useEffect)((function(){return window.addEventListener("scroll",l),function(){return window.removeEventListener("scroll",l)}}));
2var u={height:"5px",background:"#e91e63",width:i};return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"progress-container",style:{background:"#f8bbd0",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.3)",height:"5px",position:"fixed",top:0,left:0,width:"100vw",zIndex:99},children:(0,o.jsx)("div",{className:"progress-bar",style:u})}),!e&&(0,o.jsxs)("div",{children:[(0,o.jsx)(KO,{}),(0,o.jsx)(Yt(),{innerSize:10,outerSize:35,color:"0, 255 ,255",outerAlpha:.4,innerScale:.1,outerScale:2})]}),e&&(0,o.jsx)("div",{children:(0,o.jsx)(QO,{})})]})},eL=function(){return(0,o.jsx)("div",{children:(0,o.jsx)(MR,{children:(0,o.jsxs)("div",{className:"container",children:[" ",(0,o.jsxs)(Tr,{container:!0,direction:"column",justify:"center",className:"full",children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("h1",{style:{textAlign:"start",fontSize:"40px",fontWeight:"900",color:"#fff"},children:(0,o.jsx)("a",{href:"./",children:(0,o.jsx)(sm,{})})}),(0,o.jsx)("h1",{style:{textAlign:"center",fontSize:"40px",fontWeight:"900",color:"#fff"},children:"Privacy Policy"}),(0,o.jsx)("br",{}),(0,o.jsxs)(om,{sx:{my:6,mx:6},children:[(0,o.jsx)("h1",{style:{fontSize:"30px",fontWeight:"800",color:"#fff"},children:"Data Controller"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"DEFI PR\xd3XIMA, S.L. with NIF B05339718 (hereinafter, Ibiza Token) and adress at Avenida 8 de Agosto, n.\xba 40, Staircase 2, Floor 5\xbaC, 07800, Balearic Islands (Ibiza) owner of the Web Site https://ibizatoken.com is the Data Controller of the data collected. This Privacy Policy regulates the collection and processing of personal data provided by Users when accessing, browsing or using the functionalities of the Web Site."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"Collection of data, purposes, basis of legitimacy and conservation periods:"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"Contact: The user can contact, through the email entablished for this purpose on the Website. The data provided in this way, will be used to process the query and contact the User. The legal basis for the processing of such data is based on the pre-contractual relationship with the User. The retention period of the data por this purpose will be one year, unless other periods are applicable. Newsletter: The User may, if he/she wishes, provide his/her e-mail adress to subscribe to the news and developments on the Ibiza Token project, in order to receive periodic communications in his/her e-mail or mobile device (if applicable). The legal basis for the processing of such data is based on the consent of the User. We will keep the data as long as you remain registered in our newsletter sending system, then we will block them for three years for reasons of prescription of legal actions and after that period we will delete them. At any time you can revoke your consent through the links provided or by writing to [email protected]."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"Exercise of rights"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"The User can revoke the consent for the treatment, exercising the rights of access, rectification, suppression, portability, opposition and limitation to the treatment, by informing Ibiza Token through an e-mail adressed to [email protected] or indicating it to the address indicated above, with the subject: \u201cData Protection\u201d. In case there are doubts about the identity of the applicant, he/she be required to prove it by means of an official document, in order to avoid access to his/her data by unanthorized third parties. Finally, the User will be able to communicate and modification in writing or to request the cancellation, indicating it in any of the provided addresses. At any time, the User may file a complaint with the Spanish Data Protection Agency to enforce their rights."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"Modification of the Privacy Policy"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"Ibiza Token reserves the right to modify at any time its privacy policiy, respecting the currente legislation on data protection and after due notice to interested parties"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"Language applicable to this Privacy Policy"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"The language applicable to this Privacy Policy is Spanish. Any version of the same in a different language, such as English, is offered for the convenience of the User and to facilitate its understanding. However, the Privacy Policy shall alwas be governed by its Spanish version. In case of contradiction between the Privacy Policy in any language and the Spanish version, the Spanish version shall prevail"})]}),(0,o.jsx)("br",{}),(0,o.jsx)("h1",{style:{textAlign:"center",fontSize:"40px",fontWeight:"900",color:"#fff"},children:"Legal notice"}),(0,o.jsx)("br",{}),(0,o.jsxs)(om,{sx:{my:6,mx:6},children:[(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"Defi Pr\xf3xima, S.L. (hereinafter, the Holder) with NIF B05339718, and adress at Avenida 8 de Agosto, n.\xba 40, Staircase 2, Floor 5\xbaC, 07800, Balearic Islands (Ibiza), registered in the Commercial Registry of Balearic Islands, Volume: 367, Page: 39, Section: 8, Register Page: IB-18015, Inscription: 1, is the owner of the website accessible through the URL: https://ibizatoken.com (hereinafter, Ibiza Token or the Website, indistinctly). For any questions, doubts or suggestions regarding Ibiza Token, you can contact us through the e-mail address [email protected]. Below, we proceed to show the conditions that in a general way regulate access to the page of the Holder, both the services and functionalities offered there, without prejudice to the application of other different c
2onditions or their modification. It is recommended a reading and periodic review as there may be changes in the legal texts."}),(0,o.jsx)("br",{})]})," ",(0,o.jsx)("br",{}),(0,o.jsx)("h1",{style:{textAlign:"center",fontSize:"40px",fontWeight:"900",color:"#fff"},children:"General Conditions of Use"}),(0,o.jsx)("br",{}),(0,o.jsxs)(om,{sx:{my:6,mx:6},children:[(0,o.jsx)("h1",{style:{fontSize:"30px",fontWeight:"800",color:"#fff"},children:"1. Identification of the parties"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"These General Conditions of Use are subscribed on the one hand by the Owner and on the other hand by you, as a natural or legal person User who voluntarily accesses the Website freely and free of charge."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"2.Purpose of the Website"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"The purpose of this Web Site is to redirect to the Dapp 'IbizaPay', so that Ibiza Token holders can carry out their payments and transactions through a personal wallet, for improving the experience of Users in Ibiza. As well as to inform about the Project and functionalities held by the Holder. The access and navigation through the Web Site are free, although the offer and purchase of the Dapp Token entails the payment of a price as well as the acceptance of the General Conditions of Purchase."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"3.Obligations of the User"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"As a User by merely accessing and browsing through the Website, you shall: Use the Website in a diligent, correct and lawful manner, always respecting current legislation, morality and good customs, as well as public order. Periodically review these Conditions, or any other that may be applicable, checking for any modifications that may occur. Review the communications that Ibiza Token sends you, as they may contain important information. Not to use the Web Site for commercial purposes, especially to collect information or content for the purpose of providing services that are clearly in competition with Ibiza Token. Not to modify or attempt to modify in any way, or take any action or use any means to simulate the appearance or functions of the Web Site. Not to damage, disable, overburden, or impair the service (or the network or networks connected to the service), or interfere with your use and enjoyment of the service. Refrain from taking any action that involves the introduction of computer viruses, worms, Trojan horses or any other malicious code designed to interrupt, destroy or limit the functionality of the Web Site. You may not reverse engineer and/or decrypt, decompile or otherwise attempt to discover the source code of Ibiza Token. In any case, not to perform any act that may violate rights or interests of the Holder or third parties such as, for example, intellectual or industrial property rights (patents, trademarks, copyrights, trade secrets ...)."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"4. Availability of the Website"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"The owner endeavors to improve and expand Ibiza Token, as well as the content and services offered on the Web Site. However, the Web Site will be displayed as it is at any given time, depending on availability, limitations and other circumstances."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"5. Exclusion of Liability"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"Ibiza Token works to ensure that the services and functionalities of the Web Site are always available. However, when you access it, it will be shown according to the availability and limitations that occur at any given time. Despite the Owner's continuous effort to protect the systems and contents included in the Website, for which purpose it uses the usual security standards on the Internet, it is not possible to offer full guarantees regarding the intrusions or loss of information that may occur. Likewise, the absence of viruses or other harmful elements on the Website or on third party websites that may cause alterations in the User's computer system, both 
2software and hardware, cannot be guaranteed. For this reason, the User assumes and understands that there are situations that may be beyond the control of Ibiza Token. The Web Site may include links to pages or sites of third parties outside the Owner, for which it assumes no responsibility by not approving or reviewing their functions and contents. The User who accesses any link published on the Web Site does so at his own risk, without the Holder assuming any responsibility for it. Similarly, the Website is exempt from any liability arising from misuse of the same by the Users, as well as for breach of obligations or commitments under these conditions or any other applicable."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"6. Intellectual and industrial property rights"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"All intellectual and industrial property rights on the Web Site and its contents, including programming, design, applications, graphics, codes, text or images, trademarks, trade names, logos and other elements present therein belong exclusively to the Holder, including the Ibiza Token brand, or has sufficient rights and / or authorizations for its exploitation. As a consequence of the above, any reproduction, distribution, public communication (including making available), transformation or any other form of exploitation, not even quoting the sources, is prohibited, unless you have the prior, express written consent of the Holder or the exclusive owner of the rights concerned. If you detect any infringement, please notify us at the e-mail address indicated in the header."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"7. Indemnification"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"7.1. The owner may penalize any of the Users who violate the conditions that apply to it, with the inability to access, temporarily or indefinitely to the Website. The duration of the sanction will depend on the type of infringement committed. The restriction of access shall in no case entail the right to compensation. 7.2. Any damages, losses or costs (including attorneys' and/or lawyers' fees) arising from a breach by the User of these Terms and Conditions or any other applicable terms and conditions incurred by Ibiza Token shall be borne by the User who caused the breach. This includes any third party claims arising from such breaches."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"8. Modifications"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"These Terms and Conditions may be modified and/or updated at any time without prior notice. The modifications made will come into force as soon as they are published on the Website, regardless of the means and form used for this purpose. The modification will only affect Users who have accepted them after such modification."}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"16px",fontWeight:"600",color:"#fff"},children:"9. Other issues"}),(0,o.jsx)("br",{}),(0,o.jsx)("p",{style:{fontSize:"14px",fontWeight:"200",color:"#fff"},children:"9.1. Safeguarding and Interpretation If the Competent Authority declares any of these provisions to be illegal, invalid or unenforceable, this will mean that the same must be interpreted in the manner closest to the original intent of such provision. In any case, such declaration with respect to one or more clauses shall not prejudice the validity of the remaining clauses. The non-requirement by the Holder of strict compliance with any of the terms of these Conditions, does not constitute and shall not be construed in any case as a waiver by the Holder to require it in the future. 9.2. Language The language applicable to these Terms is Spanish. If versions are provided in other languages such as English, it will be only as a courtesy and for the convenience of the User. In case of contradiction, the Spanish version shall prevail. 9.3. Legislation and Jurisdiction The relationship between the Holder and the User shall be governed by Spanish law and any discrepancies or disputes regarding these Conditions, will depend on whether the user holds the status of consumer and / or user in accordance with applicable law. Being a consumer and/or user disputes shall be submitted to the Courts and Tribunals of the User's domicile. In case of not having such condition, the conflicts will be determined in the Courts and Tribunals of Ibiza. This privacy policy page was created at Ibiza Token"})]}),(0,o.jsx)("br",{})]})]})})})},tL=function(){return(0,o.jsx)("div",{children:(0,o.jsx)(eL,{})})},nL=(0,rm.Z)({});var rL=t.createContext(null);function iL(){return t.useContext(rL)}var aL="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var oL=function(e){var n=e.children,r=e.theme,i=iL(),a=t.useMemo((function(){var e=null===i?r:function(e,t){return"function"===typeof t?t(e):(0,Pr.Z)((0,Pr.Z)({},e),t)}(i,r);return null!=e&&(e[aL]=null!==i),e}),[r,i]);return(0,o.jsx)(rL.Provider,{value:a,children:n})},sL={};function lL(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.useMemo((function(){var t=e&&n[e]||n;if("function"===typeof r){var a=r(t),o=e?(0,Qt.Z)({},n,(0,Jt.Z)({},e,a)):a;return i?function(){return o}:o}return e?(0,Qt.Z)({},n,(0,Jt.Z)({},e,r)):(0,Qt.Z)({},n,r)}),[e,n,r,i])}var uL=function(e){var t=e.children,n=e.theme,r=e.themeId,i=(0,jt.Z)(sL),a=iL()||sL,s=lL(r,i,n),l=lL(r,a,n,!0);return(0,o.jsx)(oL,{theme:l,children:(0,o.jsx)(xn.T.Provider,{value:s,children:t})})},cL=["theme"];function dL(e){var t=e.theme,n=(0,Kt.Z)(e,cL),r=t[Gt.Z];return(0,o.jsx)(uL,(0,Qt.Z)({},n,{themeId:r?Gt.Z:void 0,theme:r||t}))}var fL=function(){var e=(0,t.useState)(!1),n=(0,a.Z)(e,2),r=n[0],i=n[1];return(0,o.jsxs)(dL,{theme:nL,children:[(0,o.jsxs)(ge,{children:[(0,o.jsx)("title",{children:"Ibiza Token - The Ibiza Web3 ecosystem"}),(0,o.jsx)("meta",{name:"Ibiza Token - The Ibiza Web3 ecosystem consists of a range of innovative solutions designed to connect local businesses, content creators, and tourists and to incentivize the adoption of blockchain technology on the island.",content:"Ibiza Token - The Ibiza Web3 ecosystem consists of a range of innovative solutions designed to connect local businesses, content creators, and tourists and to incentivize the adoption of blockchain technology on the island."})]}),(0,o.jsx)(rl.Provider,{value:{darkTheme:r,setDarkTheme:i},children:(0,o.jsx)(Zt,{children:(0,o.jsxs)(Rt,{children:[(0,o.jsx)(At,{path:"/",exact:!0,element:(0,o.jsx)(uf,{})}),(0,o.jsx)(At,{path:"IbizaContact",exact:!0,element:(0,o.jsx)(YO,{})}),(0,o.jsx)(At,{path:"IbizaTerm",exact:!0,element:(0,o.jsx)(tL,{})}),(0,o.jsx)(At,{path:"/detail/:slug",element:(0,o.jsx)(cf,{})}),(0,o.jsx)(At,{path:"*",element:(0,o.jsx)($O,{})})]})})})]})};function hL(e){return hL="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},hL(e)}var pL=[],vL=pL.forEach,mL=pL.slice;
2function gL(e){return vL.call(mL.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}function yL(){return"function"===typeof XMLHttpRequest||"object"===("undefined"===typeof XMLHttpRequest?"undefined":hL(XMLHttpRequest))}var bL,xL,wL,SL=n.p+"static/media/getFetch.40f37ddea2378391108f.cjs",_L=n.t(SL);function kL(e){return kL="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},kL(e)}"function"===typeof fetch&&(bL="undefined"!==typeof global&&global.fetch?global.fetch:"undefined"!==typeof window&&window.fetch?window.fetch:fetch),yL()&&("undefined"!==typeof global&&global.XMLHttpRequest?xL=global.XMLHttpRequest:"undefined"!==typeof window&&window.XMLHttpRequest&&(xL=window.XMLHttpRequest)),"function"===typeof ActiveXObject&&("undefined"!==typeof global&&global.ActiveXObject?wL=global.ActiveXObject:"undefined"!==typeof window&&window.ActiveXObject&&(wL=window.ActiveXObject)),bL||!_L||xL||wL||(bL=SL||_L),"function"!==typeof bL&&(bL=void 0);var ML=function(e,t){if(t&&"object"===kL(t)){var n="";for(var r in t)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]);if(!n)return e;e=e+(-1!==e.indexOf("?")?"&":"?")+n.slice(1)}return e},EL=function(e,t,n){bL(e,t).then((function(e){if(!e.ok)return n(e.statusText||"Error",{status:e.status});e.text().then((function(t){n(null,{status:e.status,data:t})})).catch(n)})).catch(n)},TL=!1,CL=function(e,t,n,r){return"function"===typeof n&&(r=n,n=void 0),r=r||function(){},bL&&0!==t.indexOf("file:")?function(e,t,n,r){e.queryStringParams&&(t=ML(t,e.queryStringParams));var i=gL({},"function"===typeof e.customHeaders?e.customHeaders():e.customHeaders);n&&(i["Content-Type"]="application/json");var a="function"===typeof e.requestOptions?e.requestOptions(n):e.requestOptions,o=gL({method:n?"POST":"GET",body:n?e.stringify(n):void 0,headers:i},TL?{}:a);try{EL(t,o,r)}catch(nZ){if(!a||0===Object.keys(a).length||!nZ.message||nZ.message.indexOf("not implemented")<0)return r(nZ);try{Object.keys(a).forEach((function(e){delete o[e]})),EL(t,o,r),TL=!0}catch(s){r(s)}}}(e,t,n,r):yL()||"function"===typeof ActiveXObject?function(e,t,n,r){n&&"object"===kL(n)&&(n=ML("",n).slice(1)),e.queryStringParams&&(t=ML(t,e.queryStringParams));try{var i;(i=xL?new xL:new wL("MSXML2.XMLHTTP.3.0")).open(n?"POST":"GET",t,1),e.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!e.withCredentials,n&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var a=e.customHeaders;if(a="function"===typeof a?a():a)for(var o in a)i.setRequestHeader(o,a[o]);i.onreadystatechange=function(){i.readyState>3&&r(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(n)}catch(nZ){console&&console.log(nZ)}}(e,t,n,r):void r(new Error("No fetch and no xhr implementation found!"))};function AL(e){return AL="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},AL(e)}function PL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,RL(r.key),r)}}function RL(e){var t=function(e,t){if("object"!==AL(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==AL(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===AL(t)?t:String(t)}var OL=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",allowMultiLoading:!1,parse:function(e){return JSON.parse(e)},stringify:JSON.stringify,parsePayload:function(e,t,n){return function(e,t,n){return(t=RL(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n||"")},parseLoadPayload:function(e,t){},request:CL,reloadInterval:"undefined"===typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},LL=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}var t,n,r;return t=e,n=[{key:"init",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=gL(n,this.options||{},OL()),this.allOptions=r,this.services&&this.options.reloadInterval&&setInterval((function(){return t.reload()}),this.options.reloadInterval)}},{key:"readMulti",value:function(e,t,n){this._readAny(e,e,t,t,n)}},{key:"read",value:function(e,t,n){this._readAny([e],e,[t],t,n)}},{key:"_readAny",value:function(e,t,n,r,i){var a,o=this,s=this.options.loadPath;"function"===typeof this.options.loadPath&&(s=this.options.loadPath(e,n)),(s=function(e){return!!e&&"function"===typeof e.then}
2(a=s)?a:Promise.resolve(a)).then((function(a){if(!a)return i(null,{});var s=o.services.interpolator.interpolate(a,{lng:e.join("+"),ns:n.join("+")});o.loadUrl(s,i,t,r)}))}},{key:"loadUrl",value:function(e,t,n,r){var i=this,a="string"===typeof n?[n]:n,o="string"===typeof r?[r]:r,s=this.options.parseLoadPayload(a,o);this.options.request(this.options,e,s,(function(a,o){if(o&&(o.status>=500&&o.status<600||!o.status))return t("failed loading "+e+"; status code: "+o.status,!0);if(o&&o.status>=400&&o.status<500)return t("failed loading "+e+"; status code: "+o.status,!1);if(!o&&a&&a.message&&a.message.indexOf("Failed to fetch")>-1)return t("failed loading "+e+": "+a.message,!0);if(a)return t(a,!1);var s,l;try{s="string"===typeof o.data?i.options.parse(o.data,n,r):o.data}catch(nZ){l="failed parsing "+e+" to json"}if(l)return t(l,!1);t(null,s)}))}},{key:"create",value:function(e,t,n,r,i){var a=this;if(this.options.addPath){"string"===typeof e&&(e=[e]);var o=this.options.parsePayload(t,n,r),s=0,l=[],u=[];e.forEach((function(n){var r=a.options.addPath;"function"===typeof a.options.addPath&&(r=a.options.addPath(n,t));var c=a.services.interpolator.interpolate(r,{lng:n,ns:t});a.options.request(a.options,c,o,(function(t,n){s+=1,l.push(t),u.push(n),s===e.length&&"function"===typeof i&&i(l,u)}))}))}}},{key:"reload",value:function(){var e=this,t=this.services,n=t.backendConnector,r=t.languageUtils,i=t.logger,a=n.language;if(!a||"cimode"!==a.toLowerCase()){var o=[],s=function(e){r.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};s(a),this.allOptions.preload&&this.allOptions.preload.forEach((function(e){return s(e)})),o.forEach((function(t){e.allOptions.ns.forEach((function(e){n.read(t,e,"read",null,null,(function(r,a){r&&i.warn("loading namespace ".concat(e," for language ").concat(t," failed"),r),!r&&a&&i.log("loaded namespace ".concat(e," for language ").concat(t),a),n.loaded("".concat(t,"|").concat(e),r,a)}))}))}))}}}],n&&PL(t.prototype,n),r&&PL(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();LL.type="backend";var ZL=LL,NL=[],IL=NL.forEach,jL=NL.slice;var DL=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,zL=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*n*1e3)),r&&(i.domain=r),document.cookie=function(e,t,n){var r=n||{};r.path=r.path||"/";var i=encodeURIComponent(t),a="".concat(e,"=").concat(i);if(r.maxAge>0){var o=r.maxAge-0;if(Number.isNaN(o))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(o))}if(r.domain){if(!DL.test(r.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(r.domain)}if(r.path){if(!DL.test(r.path))throw new TypeError("option path is invalid");a+="; Path=".concat(r.path)}if(r.expires){if("function"!==typeof r.expires.toUTCString)throw new TypeError("option expires is invali
2d");a+="; Expires=".concat(r.expires.toUTCString())}if(r.httpOnly&&(a+="; HttpOnly"),r.secure&&(a+="; Secure"),r.sameSite)switch("string"===typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return a}(e,encodeURIComponent(t),i)},UL=function(e){for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null},FL={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!==typeof document){var n=UL(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!==typeof document&&zL(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},BL={name:"querystring",lookup:function(e){var t;if("undefined"!==typeof window){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var r=n.substring(1).split("&"),i=0;i<r.length;i++){var a=r[i].indexOf("=");if(a>0)r[i].substring(0,a)===e.lookupQuerystring&&(t=r[i].substring(a+1))}}return t}},VL=null,HL=function(){if(null!==VL)return VL;try{VL="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(nZ){VL=!1}return VL},WL={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&HL()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&HL()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},GL=null,qL=function(){if(null!==GL)return GL;try{GL="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(nZ){GL=!1}return GL},XL={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&qL()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&qL()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},YL={name:"navigator",lookup:function(e){var t=[];if("undefined"!==typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},JL={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!==typeof document?document.documentElement:null);return n&&"function"===typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},KL={name:"path",lookup:function(e){var t;if("undefined"!==typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"===typeof e.lookupFromPathIndex){if("string"!==typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},QL={name:"subdomain",lookup:function(e){var t="number"===typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,n="undefined"!==typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[t]}};var $L=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,be.Z)(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return(0,xe.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=function(e){return IL.call(jL.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(FL),this.addDetector(BL),this.addDetector(WL),this.addDetector(XL),this.addDetector(YL),this.addDetector(JL),this.addDetector(KL),this.addDetector(QL)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"===typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}]),e}();$L.type="languageDetector";n(2776),n.p;var eZ=function(e){e&&e instanceof Function&&n.e(787).then(n.bind(n,787)).then((function(t){var n=t.getCLS,r=t.getFID,i=t.getFCP,a=t.getLCP,o=t.getTTFB;n(e),r(e),i(e),a(e),o(e)}))};
2Bs.use(ZL).use($L).use(Oo).init({supportedLngs:["en","ar","fr"],fallbackLng:"en",debug:!1,detection:{order:["path","cookie","htmlTag"],caches:["cookie"]},backend:{loadPath:"/assets/locales/{{lng}}/translation.json"}});var tZ=(0,o.jsx)("div",{className:"py-30 text-center ",style:{marginTop:"350px",justifyContent:"center",alignItems:"center",display:"flex"}});i.createRoot(document.getElementById("root")).render((0,o.jsx)(t.Suspense,{fallback:tZ,children:(0,o.jsx)(t.StrictMode,{children:(0,o.jsx)(u,{children:(0,o.jsx)(fL,{})})})})),eZ()}()}();
3//# sourceMappingURL=main.67105b3b.js.map

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.