PageSourceSearch

https://vancouver-soundscapes.netlify.app/assets/index-DWvYeuAI.js

js vancouver-soundscapes.netlify.app collected 2026-10-03 11:34:15 UTC 447,340 bytes, 21 lines download raw bytes

1function S0(i,s){for(var r=0;r<s.length;r++){const l=s[r];if(typeof l!="string"&&!Array.isArray(l)){for(const u in l)if(u!=="default"&&!(u in i)){const d=Object.getOwnPropertyDescriptor(l,u);d&&Object.defineProperty(i,u,d.get?d:{enumerable:!0,get:()=>l[u]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))l(u);new MutationObserver(u=>{for(const d of u)if(d.type==="childList")for(const f of d.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&l(f)}).observe(document,{childList:!0,subtree:!0});function r(u){const d={};return u.integrity&&(d.integrity=u.integrity),u.referrerPolicy&&(d.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?d.credentials="include":u.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function l(u){if(u.ep)return;u.ep=!0;const d=r(u);fetch(u.href,d)}})();function qu(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var gu={exports:{}},ai={};var um;function E0(){if(um)return ai;um=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function r(l,u,d){var f=null;if(d!==void 0&&(f=""+d),u.key!==void 0&&(f=""+u.key),"key"in u){d={};for(var m in u)m!=="key"&&(d[m]=u[m])}else d=u;return u=d.ref,{$$typeof:i,type:l,key:f,ref:u!==void 0?u:null,props:d}}return ai.Fragment=s,ai.jsx=r,ai.jsxs=r,ai}var cm;function x0(){return cm||(cm=1,gu.exports=E0()),gu.exports}var y=x0(),vu={exports:{}};var dm;function C0(){return dm||(dm=1,(function(i,s){(function(){var r=function(l){var u=new r.Builder;return u.pipeline.add(r.trimmer,r.stopWordFilter,r.stemmer),u.searchPipeline.add(r.stemmer),l.call(u,u),u.build()};r.version="2.3.9";r.utils={},r.utils.warn=(function(l){return function(u){l.console&&console.warn&&console.warn(u)}})(this),r.utils.asString=function(l){return l==null?"":l.toString()},r.utils.clone=function(l){if(l==null)return l;for(var u=Object.create(null),d=Object.keys(l),f=0;f<d.length;f++){var m=d[f],h=l[m];if(Array.isArray(h)){u[m]=h.slice();continue}if(typeof h=="string"||typeof h=="number"||typeof h=="boolean"){u[m]=h;continue}throw new TypeError("clone is not deep and does not support nested objects")}return u},r.FieldRef=function(l,u,d){this.docRef=l,this.fieldName=u,this._stringValue=d},r.FieldRef.joiner="/",r.FieldRef.fromString=function(l){var u=l.indexOf(r.FieldRef.joiner);if(u===-1)throw"malformed field ref string";var d=l.slice(0,u),f=l.slice(u+1);return new r.FieldRef(f,d,l)},r.FieldRef.prototype.toString=function(){return this._stringValue==null&&(this._stringValue=this.fieldName+r.FieldRef.joiner+this.docRef),this._stringValue};r.Set=function(l){if(this.elements=Object.create(null),l){this.length=l.length;for(var u=0;u<this.length;u++)this.elements[l[u]]=!0}else this.length=0},r.Set.complete={intersect:function(l){return l},union:function(){return this},contains:function(){return!0}},r.Set.empty={intersect:function(){return this},union:function(l){return l},contains:function(){return!1}},r.Set.prototype.contains=function(l){return!!this.elements[l]},r.Set.prototype.intersect=function(l){var u,d,f,m=[];if(l===r.Set.complete)return this;if(l===r.Set.empty)return l;this.length<l.length?(u=this,d=l):(u=l,d=this),f=Object.keys(u.elements);for(var h=0;h<f.length;h++){var g=f[h];g in d.elements&&m.push(g)}return new r.Set(m)},r.Set.prototype.union=function(l){return l===r.Set.complete?r.Set.complete:l===r.Set.empty?this:new r.Set(Object.keys(this.elements).concat(Object.keys(l.elements)))},r.idf=function(l,u){var d=0;for(var f in l)f!="_index"&&(d+=Object.keys(l[f]).length);var m=(u-d+.5)/(d+.5);return Math.log(1+Math.abs(m))},r.Token=function(l,u){this.str=l||"",this.metadata=u||{}},r.Token.prototype.toString=function(){return this.str},r.Token.prototype.update=function(l){return this.str=l(this.str,this.metadata),this},r.Token.prototype.clone=function(l){return l=l||function(u){return u},new r.Token(l(this.str,this.metadata),this.metadata)};r.tokenizer=function(l,u){if(l==null||l==null)return[];if(Array.isArray(l))return l.map(function(j){return new r.Token(r.utils.asString(j).toLowerCase(),r.utils.clone(u))});for(var d=l.toString().toLowerCase(),f=d.length,m=[],h=0,g=0;h<=f;h++){var b=d.charAt(h),S=h-g;if(b.match(r.tokenizer.separator)||h==f){if(S>0){var C=r.utils.clone(u)||{};C.position=[g,S],C.index=m.length,m.push(new r.Token(d.slice(g,h),C))}g=h+1}}return m},r.tokenizer.separator=/[\s\-]+/;r.Pipeline=function(){this._stack=[]},r.Pipeline.registeredFunctions=Object.create(null),r.Pipeline.registerFunction=function(l,u){u in this.registeredFunctions&&r.utils.warn("Overwriting existing registered function: "+u),l.label=u,r.Pipeline.registeredFunctions[l.label]=l},r.Pipeline.warnIfFunctionNotRegistered=function(l){var u=l.label&&l.label in this.registeredFunctions;u||r.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index.
2`,l)},r.Pipeline.load=function(l){var u=new r.Pipeline;return l.forEach(function(d){var f=r.Pipeline.registeredFunctions[d];if(f)u.add(f);else throw new Error("Cannot load unregistered function: "+d)}),u},r.Pipeline.prototype.add=function(){var l=Array.prototype.slice.call(arguments);l.forEach(function(u){r.Pipeline.warnIfFunctionNotRegistered(u),this._stack.push(u)},this)},r.Pipeline.prototype.after=function(l,u){r.Pipeline.warnIfFunctionNotRegistered(u);var d=this._stack.indexOf(l);if(d==-1)throw new Error("Cannot find existingFn");d=d+1,this._stack.splice(d,0,u)},r.Pipeline.prototype.before=function(l,u){r.Pipeline.warnIfFunctionNotRegistered(u);var d=this._stack.indexOf(l);if(d==-1)throw new Error("Cannot find existingFn");this._stack.splice(d,0,u)},r.Pipeline.prototype.remove=function(l){var u=this._stack.indexOf(l);u!=-1&&this._stack.splice(u,1)},r.Pipeline.prototype.run=function(l){for(var u=this._stack.length,d=0;d<u;d++){for(var f=this._stack[d],m=[],h=0;h<l.length;h++){var g=f(l[h],h,l);if(!(g==null||g===""))if(Array.isArray(g))for(var b=0;b<g.length;b++)m.push(g[b]);else m.push(g)}l=m}return l},r.Pipeline.prototype.runString=function(l,u){var d=new r.Token(l,u);return this.run([d]).map(function(f){return f.toString()})},r.Pipeline.prototype.reset=function(){this._stack=[]},r.Pipeline.prototype.toJSON=function(){return this._stack.map(function(l){return r.Pipeline.warnIfFunctionNotRegistered(l),l.label})};r.Vector=function(l){this._magnitude=0,this.elements=l||[]},r.Vector.prototype.positionForIndex=function(l){if(this.elements.length==0)return 0;for(var u=0,d=this.elements.length/2,f=d-u,m=Math.floor(f/2),h=this.elements[m*2];f>1&&(h<l&&(u=m),h>l&&(d=m),h!=l);)f=d-u,m=u+Math.floor(f/2),h=this.elements[m*2];if(h==l||h>l)return m*2;if(h<l)return(m+1)*2},r.Vector.prototype.insert=function(l,u){this.upsert(l,u,function(){throw"duplicate index"})},r.Vector.prototype.upsert=function(l,u,d){this._magnitude=0;var f=this.positionForIndex(l);this.elements[f]==l?this.elements[f+1]=d(this.elements[f+1],u):this.elements.splice(f,0,l,u)},r.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var l=0,u=this.elements.length,d=1;d<u;d+=2){var f=this.elements[d];l+=f*f}return this._magnitude=Math.sqrt(l)},r.Vector.prototype.dot=function(l){for(var u=0,d=this.elements,f=l.elements,m=d.length,h=f.length,g=0,b=0,S=0,C=0;S<m&&C<h;)g=d[S],b=f[C],g<b?S+=2:g>b?C+=2:g==b&&(u+=d[S+1]*f[C+1],S+=2,C+=2);return u},r.Vector.prototype.similarity=function(l){return this.dot(l)/this.magnitude()||0},r.Vector.prototype.toArray=function(){for(var l=new Array(this.elements.length/2),u=1,d=0;u<this.elements.length;u+=2,d++)l[d]=this.elements[u];return l},r.Vector.prototype.toJSON=function(){return this.elements};r.stemmer=(function(){var l={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},u={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},d="[^aeiou]",f="[aeiouy]",m=d+"[^aeiouy]*",h=f+"[aeiou]*",g="^("+m+")?"+h+m,b="^("+m+")?"+h+m+"("+h+")?$",S="^("+m+")?"+h+m+h+m,C="^("+m+")?"+f,j=new RegExp(g),T=new RegExp(S),_=new RegExp(b),x=new RegExp(C),w=/^(.+?)(ss|i)es$/,A=/^(.+?)([^s])s$/,O=/^(.+?)eed$/,P=/^(.+?)(ed|ing)$/,F=/.$/,H=/(at|bl|iz)$/,B=new RegExp("([^aeiouylsz])\\1$"),K=new RegExp("^"+m+f+"[^ae
2iouwxy]$"),te=/^(.+?[^aeiou])y$/,$=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,fe=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,ve=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,Ae=/^(.+?)(s|t)(ion)$/,X=/^(.+?)e$/,ee=/ll$/,N=new RegExp("^"+m+f+"[^aeiouwxy]$"),W=function(Z){var ie,D,V,Q,I,re,ce;if(Z.length<3)return Z;if(V=Z.substr(0,1),V=="y"&&(Z=V.toUpperCase()+Z.substr(1)),Q=w,I=A,Q.test(Z)?Z=Z.replace(Q,"$1$2"):I.test(Z)&&(Z=Z.replace(I,"$1$2")),Q=O,I=P,Q.test(Z)){var oe=Q.exec(Z);Q=j,Q.test(oe[1])&&(Q=F,Z=Z.replace(Q,""))}else if(I.test(Z)){var oe=I.exec(Z);ie=oe[1],I=x,I.test(ie)&&(Z=ie,I=H,re=B,ce=K,I.test(Z)?Z=Z+"e":re.test(Z)?(Q=F,Z=Z.replace(Q,"")):ce.test(Z)&&(Z=Z+"e"))}if(Q=te,Q.test(Z)){var oe=Q.exec(Z);ie=oe[1],Z=ie+"i"}if(Q=$,Q.test(Z)){var oe=Q.exec(Z);ie=oe[1],D=oe[2],Q=j,Q.test(ie)&&(Z=ie+l[D])}if(Q=fe,Q.test(Z)){var oe=Q.exec(Z);ie=oe[1],D=oe[2],Q=j,Q.test(ie)&&(Z=ie+u[D])}if(Q=ve,I=Ae,Q.test(Z)){var oe=Q.exec(Z);ie=oe[1],Q=T,Q.test(ie)&&(Z=ie)}else if(I.test(Z)){var oe=I.exec(Z);ie=oe[1]+oe[2],I=T,I.test(ie)&&(Z=ie)}if(Q=X,Q.test(Z)){var oe=Q.exec(Z);ie=oe[1],Q=T,I=_,re=N,(Q.test(ie)||I.test(ie)&&!re.test(ie))&&(Z=ie)}return Q=ee,I=T,Q.test(Z)&&I.test(Z)&&(Q=F,Z=Z.replace(Q,"")),V=="y"&&(Z=V.toLowerCase()+Z.substr(1)),Z};return function(ne){return ne.update(W)}})(),r.Pipeline.registerFunction(r.stemmer,"stemmer");r.generateStopWordFilter=function(l){var u=l.reduce(function(d,f){return d[f]=f,d},{});return function(d){if(d&&u[d.toString()]!==d.toString())return d}},r.stopWordFilter=r.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),r.Pipeline.registerFunction(r.stopWordFilter,"stopWordFilter");r.trimmer=function(l){return l.update(function(u){return u.replace(/^\W+/,"").replace(/\W+$/,"")})},r.Pipeline.registerFunction(r.trimmer,"trimmer");r.TokenSet=function(){this.final=!1,this.edges={},this.id=r.TokenSet._nextId,r.TokenSet._nextId+=1},r.TokenSet._nextId=1,r.TokenSet.fromArray=function(l){for(var u=new r.TokenSet.Builder,d=0,f=l.length;d<f;d++)u.insert(l[d]);return u.finish(),u.root},r.TokenSet.fromClause=function(l){return"editDistance"in l?r.TokenSet.fromFuzzyString(l.term,l.editDistance):r.TokenSet.fromString(l.term)},r.TokenSet.fromFuzzyString=function(l,u){for(var d=new r.TokenSet,f=[{node:d,editsRemaining:u,str:l}];f.length;){var m=f.pop();if(m.str.length>0){var h=m.str.charAt(0),g;h in m.node.edges?g=m.node.edges[h]:(g=new r.TokenSet,m.node.edges[h]=g),m.str.length==1&&(g.final=!0),f.push({node:g,editsRemaining:m.editsRemaining,str:m.str.slice(1)})}if(m.editsRemaining!=0){if("*"in m.node.edges)var b=m.node.edges["*"];else{var b=new r.TokenSet;m.node.edges["*"]=b}if(m.str.length==0&&(b.final=!0),f.push({node:b,editsRemaining:m.editsRemaining-1,str:m.str}),m.str.length>1&&f.push({node:m.node,editsRemaining:m.editsRemaining-1,str:m.str.slice(1)}),m.str.length==1&&(m.node.final=!0),m.str.length>=1){if("*"in m.node.edges)var S=m.node.edges["*"];else{var S=new r.TokenSet;m.node.edges["*"]=S}m.str.length==1&&(S.final=!0),f.push({node:S,editsRemaining:m.editsRemaining-1,str:m.str.slice(1)})}if(m.str.length>1){var C=m.str.charAt(0),j=m.str.charAt(1),T;j in m.node.edges?T=m.node.edges[j]:(T=new r.TokenSet,m.node.edges[j]=T),m.str.length==1&&(T.final=!0),f.push({node:T,editsRemaining:m.editsRemaining-1,str:C+m.str.slice(2)})}}}return d},r.TokenSet.fromString=function(l){for(var u=new r.TokenSet,d=u,f=0,m=l.length;f<m;f++){var h=l[f],g=f==m-1;if(h=="*")u.edges[h]=u,u.final=g;else{var b=new r.TokenSet;b.final=g,u.edges[h]=b,u=b}}return d},r.TokenSet.prototype.toArray=function(){for(var l=[],u=[{prefix:"",node:this}];u.length;){var d=u.pop(),f=Object.keys(d.node.edges),m=f.length;d.node.final&&(d.prefix.charAt(0),l.push(d.prefix));for(var h=0;h<m;h++){var g=f[h];u.push({prefix:d.prefix.concat(g),node:d.node.edges[g]})}}return l},r.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var l=this.final?"1":"0",u=Object.keys(this.edges).sort(),d=u.length,f=0;f<d;f++){var m=u[f],h=this.edges[m];l=l+m+h.id}return l},r.TokenSet.prototype.intersect=function(l){for(var u=new r.TokenSet,d=void 0,f=[{qNode:l,output:u,node:this}];f.length;){d=f.pop();for(var m=Object.keys(d.qNode.edges),h=m.length,g=Object.keys(d.node.edges),b=g.length,S=0;S<h;S++)for(var C=m[S],j=0;j<b;j++){var T=g[j];if(T==C||C=="*"){var _=d.node.edges[T],x=d.qNode.edges[C],w=_.final&&x.final,A=void 0;T in d.output.edges?(A=d.output.edges[T],A.final=A.final||w):(A=new r.TokenSet,A.final=w,d.output.edges[T]=A),f.push({qNode:x,output:A,node:_})}}}return u},r.TokenSet.Builder=function(){this.previousWord="",this.root=new r.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},r.TokenSet.Builder.prototype.insert=function(l){var u,d=0;
vendor: 13,187 bytes, line 2
2if(l<this.previousWord)throw new Error("Out of order word insertion");for(var f=0;f<l.length&&f<this.previousWord.length&&l[f]==this.previousWord[f];f++)d++;this.minimize(d),this.uncheckedNodes.length==0?u=this.root:u=this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(var f=d;f<l.length;f++){var m=new r.TokenSet,h=l[f];u.edges[h]=m,this.uncheckedNodes.push({parent:u,char:h,child:m}),u=m}u.final=!0,this.previousWord=l},r.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},r.TokenSet.Builder.prototype.minimize=function(l){for(var u=this.uncheckedNodes.length-1;u>=l;u--){var d=this.uncheckedNodes[u],f=d.child.toString();f in this.minimizedNodes?d.parent.edges[d.char]=this.minimizedNodes[f]:(d.child._str=f,this.minimizedNodes[f]=d.child),this.uncheckedNodes.pop()}};r.Index=function(l){this.invertedIndex=l.invertedIndex,this.fieldVectors=l.fieldVectors,this.tokenSet=l.tokenSet,this.fields=l.fields,this.pipeline=l.pipeline},r.Index.prototype.search=function(l){return this.query(function(u){var d=new r.QueryParser(l,u);d.parse()})},r.Index.prototype.query=function(l){for(var u=new r.Query(this.fields),d=Object.create(null),f=Object.create(null),m=Object.create(null),h=Object.create(null),g=Object.create(null),b=0;b<this.fields.length;b++)f[this.fields[b]]=new r.Vector;l.call(u,u);for(var b=0;b<u.clauses.length;b++){var S=u.clauses[b],C=null,j=r.Set.empty;S.usePipeline?C=this.pipeline.runString(S.term,{fields:S.fields}):C=[S.term];for(var T=0;T<C.length;T++){var _=C[T];S.term=_;var x=r.TokenSet.fromClause(S),w=this.tokenSet.intersect(x).toArray();if(w.length===0&&S.presence===r.Query.presence.REQUIRED){for(var A=0;A<S.fields.length;A++){var O=S.fields[A];h[O]=r.Set.empty}break}for(var P=0;P<w.length;P++)for(var F=w[P],H=this.invertedIndex[F],B=H._index,A=0;A<S.fields.length;A++){var O=S.fields[A],K=H[O],te=Object.keys(K),$=F+"/"+O,fe=new r.Set(te);if(S.presence==r.Query.presence.REQUIRED&&(j=j.union(fe),h[O]===void 0&&(h[O]=r.Set.complete)),S.presence==r.Query.presence.PROHIBITED){g[O]===void 0&&(g[O]=r.Set.empty),g[O]=g[O].union(fe);continue}if(f[O].upsert(B,S.boost,function(ha,cl){return ha+cl}),!m[$]){for(var ve=0;ve<te.length;ve++){var Ae=te[ve],X=new r.FieldRef(Ae,O),ee=K[Ae],N;(N=d[X])===void 0?d[X]=new r.MatchData(F,O,ee):N.add(F,O,ee)}m[$]=!0}}}if(S.presence===r.Query.presence.REQUIRED)for(var A=0;A<S.fields.length;A++){var O=S.fields[A];h[O]=h[O].intersect(j)}}for(var W=r.Set.complete,ne=r.Set.empty,b=0;b<this.fields.length;b++){var O=this.fields[b];h[O]&&(W=W.intersect(h[O])),g[O]&&(ne=ne.union(g[O]))}var Z=Object.keys(d),ie=[],D=Object.create(null);if(u.isNegated()){Z=Object.keys(this.fieldVectors);for(var b=0;b<Z.length;b++){var X=Z[b],V=r.FieldRef.fromString(X);d[X]=new r.MatchData}}for(var b=0;b<Z.length;b++){var V=r.FieldRef.fromString(Z[b]),Q=V.docRef;if(W.contains(Q)&&!ne.contains(Q)){var I=this.fieldVectors[V],re=f[V.fieldName].similarity(I),ce;if((ce=D[Q])!==void 0)ce.score+=re,ce.matchData.combine(d[V]);else{var oe={ref:Q,score:re,matchData:d[V]};D[Q]=oe,ie.push(oe)}}}return ie.sort(function(Xe,ze){return ze.score-Xe.score})},r.Index.prototype.toJSON=function(){var l=Object.keys(this.invertedIndex).sort().map(function(d){return[d,this.invertedIndex[d]]},this),u=Object.keys(this.fieldVectors).map(function(d){return[d,this.fieldVectors[d].toJSON()]},this);return{version:r.version,fields:this.fields,fieldVectors:u,invertedIndex:l,pipeline:this.pipeline.toJSON()}},r.Index.load=function(l){var u={},d={},f=l.fieldVectors,m=Object.create(null),h=l.invertedIndex,g=new r.TokenSet.Builder,b=r.Pipeline.load(l.pipeline);l.version!=r.version&&r.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+r.version+"' does not match serialized index '"+l.version+"'");for(var S=0;S<f.length;S++){var C=f[S],j=C[0],T=C[1];d[j]=new r.Vector(T)}for(var S=0;S<h.length;S++){var C=h[S],_=C[0],x=C[1];g.insert(_),m[_]=x}return g.finish(),u.fields=l.fields,u.fieldVectors=d,u.invertedIndex=m,u.tokenSet=g.root,u.pipeline=b,new r.Index(u)};r.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=r.tokenizer,this.pipeline=new r.Pipeline,this.searchPipeline=new r.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},r.Builder.prototype.ref=function(l){this._ref=l},r.Builder.prototype.field=function(l,u){if(/\//.test(l))throw new RangeError("Field '"+l+"' contains illegal character '/'");this._fields[l]=u||{}},r.Builder.prototype.b=function(l){l<0?this._b=0:l>1?this._b=1:this._b=l},r.Builder.prototype.k1=function(l){this._k1=l},r.Builder.prototype.add=function(l,u){var d=l[this._ref],f=Object.keys(this._fields);this._documents[d]=u||{},this.documentCount+=1;for(var m=0;m<f.length;m++){var h=f[m],g=this._fields[h].extractor,b=g?g(l):l[h],S=this.tokenizer(b,{fields:[h]}),C=this.pipeline.run(S),j=new r.FieldRef(d,h),T=Object.create(null);this.fieldTermFrequencies[j]=T,this.fieldLengths[j]=0,this.fieldLengths[j]+=C.length;for(var _=0;_<C.length;_++){var x=C[_];if(T[x]==null&&(T[x]=0),T[x]+=1,this.invertedIndex[x]==null){var w=Object.create(null);w._index=this.termIndex,this.termIndex+=1;for(var A=0;A<f.length;A++)w[f[A]]=Object.create(null);this.invertedIndex[x]=w}this.invertedIndex[x][h][d]==null&&(this.invertedIndex[x][h][d]=Object.create(null));for(var O=0;O<this.metadataWhitelist.length;O++){var P=this.metadataWhitelist[O],F=x.metadata[P];this.invertedIndex[x][h][d][P]==null&&(this.invertedIndex[x][h][d][P]=[]),this.invertedIndex[x][h][d][P].push(F)}}}},r.Builder.prototype.calculateAverageFieldLengths=function(){for(var l=Object.keys(this.fieldLengths),u=l.length,d={},f={},m=0;m<u;m++){var h=r.FieldRef.fromString(l[m]),g=h.fieldName;f[g]||(f[g]=0),f[g]+=1,d[g]||(d[g]=0),d[g]+=this.fieldLengths[h]}for(var b=Object.keys(this._fields),m=0;m<b.length;m++){var S=b[m];d[S]=d[S]/f[S]}this.averageFieldLength=d},r.Builder.prototype.createFieldVectors=function(){for(var l={},u=Object.keys(this.fieldTermFrequencies),d=u.length,f=Object.create(null),m=0;m<d;m++){for(var h=r.FieldRef.fromString(u[m]),g=h.fieldName,b=this.fieldLengths[h],S=new r.Vector,C=this.fieldTermFrequencies[h],j=Object.keys(C),T=j.length,_=this._fields[g].boost||1,x=this._documents[h.docRef].boost||1,w=0;w<T;w++){var A=j[w],O=C[A],P=this.invertedIndex[A]._index,F,H,B;f[A]===void 0?(F=r.idf(this.invertedIndex[A],this.documentCount),f[A]=F):F=f[A],H=F*((this._k1+1)*O)/(this._k1*(1-this._b+this._b*(b/this.averageFieldLength[g]))+O),H*=_,H*=x,B=Math.round(H*1e3)/1e3,S.insert(P,B)}l[h]=S}this.fieldVectors=l},r.Builder.prototype.createTokenSet=function(){this.tokenSet=r.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},r.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new r.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},r.Builder.prototype.use=function(l){var u=Array.prototype.slice.call(arguments,1);u.unshift(this),l.apply(this,u)},r.MatchData=function(l,u,d){for(var f=Object.create(null),m=Object.keys(d||{}),h=0;h<m.length;h++){var g=m[h];f[g]=d[g].slice()}this.metadata=Object.create(null),l!==void 0&&(this.metadata[l]=Object.create(null),this.metadata[l][u]=f)},r.MatchData.prototype.combine=function(l){for(var u=Object.keys(l.metadata),d=0;d<u.length;d++){var f=u[d],m=Object.keys(l.metadata[f]);this.metadata[f]==null&&(this.metadata[f]=Object.create(null));for(var h=0;h<m.length;h++){var g=m[h],b=Object.keys(l.metadata[f][g]);this.metadata[f][g]==null&&(this.metadata[f][g]=Object.create(null));for(var S=0;S<b.length;S++){var C=b[S];this.metadata[f][g][C]==null?this.metadata[f][g][C]=l.metadata[f][g][C]:this.metadata[f][g][C]=this.metadata[f][g][C].concat(l.metadata[f][g][C])}}}},r.MatchData.prototype.add=function(l,u,d){if(!(l in this.metadata)){this.metadata[l]=Object.create(null),this.metadata[l][u]=d;return}if(!(u in this.metadata[l])){this.metadata[l][u]=d;return}for(var f=Object.keys(d),m=0;m<f.length;m++){var h=f[m];h in this.metadata[l][u]?this.metadata[l][u][h]=this.metadata[l][u][h].concat(d[h]):this.metadata[l][u][h]=d[h]}},r.Query=function(l){this.clauses=[],this.allFields=l},r.Query.wildcard=new String("*"),r.Query.wildcard.NONE=0,r.Query.wildcard.LEADING=1,r.Query.wildcard.TRAILING=2,r.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},r.Query.prototype.clause=function(l){return"fields"in l||(l.fields=this.allFields),"boost"in l||(l.boost=1),"usePipeline"in l||(l.usePipeline=!0),"wildcard"in l||(l.wildcard=r.Query.wildcard.NONE),l.wildcard&r.Query.wildcard.LEADING&&l.term.charAt(0)!=r.Query.wildcard&&(l.term="*"+l.term),l.wildcard&r.Query.wildcard.TRAILING&&l.term.slice(-1)!=r.Query.wildcard&&(l.term=""+l.term+"*"),"presence"in l||(l.presence=r.Query.presence.OPTIONAL),this.clauses.push(l),this},r.Query.prototype.isNegated=function(){for(var l=0;l<this.clauses.length;l++)if(this.clauses[l].presence!=r.Query.presence.PROHIBITED)return!1;return!0},r.Query.prototype.term=function(l,u){if(Array.isArray(l))return l.forEach(function(f){this.term(f,r.utils.clone(u))},this),this;var d=u||{};return d.term=l.toString(),this.clause(d),this},r.QueryParseError=function(l,u,d){this.name="QueryParseError",this.message=l,this.start=u,this.end=d},r.QueryParseError.prototype=new Error,r.QueryLexer=function(l){this.lexemes=[],this.str=l,this.length=l.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},r.QueryLexer.prototype.run=function(){for(var l=r.QueryLexer.lexText;l;)l=l(this)},r.QueryLexer.prototype.sliceString=function(){for(var l=[],u=this.start,d=this.pos,f=0;f<this.escapeCharPositions.length;f++)d=this.escapeCharPositions[f],l.push(this.str.slice(u,d)),u=d+1;return l.push(this.str.slice(u,this.pos)),this.escapeCharPositions.length=0,l.join("")},r.QueryLexer.prototype.emit=function(l){this.lexemes.push({type:l,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},r.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},r.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return r.QueryLexer.EOS;var l=this.str.charAt(this.pos);return this.pos+=1,l},r.QueryLexer.prototype.width=function(){return this.pos-this.start},r.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},r.QueryLexer.prototype.backup=function(){this.pos-=1},r.QueryLexer.prototype.acceptDigitRun=function(){var l,u;do l=this.next(),u=l.charCodeAt(0);while(u>47&&u<58);l!=r.QueryLexer.EOS&&this.backup()},r.QueryLexer.prototype.more=function(){return this.pos<this.length},r.QueryLexer.EOS="EOS",r.QueryLexer.FIELD="FIELD",r.QueryLexer.TERM="TERM",r.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",r.QueryLexer.BOOST="BOOST",r.QueryLexer.PRESENCE="PRESENCE",r.QueryLexer.lexField=function(l){return l.backup(),l.emit(r.QueryLexer.FIELD),l.ignore(),r.QueryLexer.lexText},r.QueryLexer.lexTerm=function(l){if(l.width()>1&&(l.backup(),l.emit(r.QueryLexer.TERM)),l.ignore(),l.more())return r.QueryLexer.lexText},r.QueryLexer.lexEditDistance=function(l){return l.ignore(),l.acceptDigitRun(),l.emit(r.QueryLexer.EDIT_DISTANCE),r.QueryLexer.lexText},r.QueryLexer.lexBoost=function(l){return l.ignore(),l.acceptDigitRun(),l.emit(r.QueryLexer.BOOST),r.QueryLexer.lexText},r.QueryLexer.lexEOS=function(l){l.width()>0&&l.emit(r.QueryLexer.TERM)},r.QueryLexer.termSeparator=r.tokenizer.separator,r.QueryLexer.lexText=function(l){for(;;){var u=l.next();if(u==r.QueryLexer.EOS)return r.QueryLexer.lexEOS;if(u.charCodeAt(0)==92){l.escapeCharacter();continue}if(u==":")return r.QueryLexer.lexField;if(u=="~")return l.backup(),l.width()>0&&l.emit(r.QueryLexer.TERM),r.QueryLexer.lexEditDistance;if(u=="^")return l.backup(),l.width()>0&&l.emit(r.QueryLexer.TERM),r.QueryLexer.lexBoost;if(u=="+"&&l.width()===1||u=="-"&&l.width()===1)return l.emit(r.QueryLexer.PRESENCE),r.QueryLexer.lexText;if(u.match(r.QueryLexer.termSeparator))return r.QueryLexer.lexTerm}},r.QueryParser=function(l,u){this.lexer=new r.QueryLexer(l),this.query=u,this.currentClause={},this.lexemeIdx=0},r.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var l=r.QueryParser.parseClause;l;)l=l(this);return this.query},r.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},r.QueryParser.prototype.consumeLexeme=function(){var l=this.peekLexeme();return this.lexemeIdx+=1,l},r.QueryParser.prototype.nextClause=function(){var l=this.currentClause;this.query.clause(l),this.currentClause={}},r.QueryParser.parseClause=function(l){var u=l.peekLexeme();if(u!=null)switch(u.type){case r.QueryLexer.PRESENCE:return r.QueryParser.parsePresence;case r.QueryLexer.FIELD:return r.QueryParser.parseField;case r.QueryLexer.TERM:return r.QueryParser.parseTerm;default:var d="expected either a field or a term, found "+u.type;throw u.str.length>=1&&(d+=" with value '"+u.str+"'"),new r.QueryParseError(d,u.start,u.end
2)}},r.QueryParser.parsePresence=function(l){var u=l.consumeLexeme();if(u!=null){switch(u.str){case"-":l.currentClause.presence=r.Query.presence.PROHIBITED;break;case"+":l.currentClause.presence=r.Query.presence.REQUIRED;break;default:var d="unrecognised presence operator'"+u.str+"'";throw new r.QueryParseError(d,u.start,u.end)}var f=l.peekLexeme();if(f==null){var d="expecting term or field, found nothing";throw new r.QueryParseError(d,u.start,u.end)}switch(f.type){case r.QueryLexer.FIELD:return r.QueryParser.parseField;case r.QueryLexer.TERM:return r.QueryParser.parseTerm;default:var d="expecting term or field, found '"+f.type+"'";throw new r.QueryParseError(d,f.start,f.end)}}},r.QueryParser.parseField=function(l){var u=l.consumeLexeme();if(u!=null){if(l.query.allFields.indexOf(u.str)==-1){var d=l.query.allFields.map(function(h){return"'"+h+"'"}).join(", "),f="unrecognised field '"+u.str+"', possible fields: "+d;throw new r.QueryParseError(f,u.start,u.end)}l.currentClause.fields=[u.str];var m=l.peekLexeme();if(m==null){var f="expecting term, found nothing";throw new r.QueryParseError(f,u.start,u.end)}if(m.type===r.QueryLexer.TERM)return r.QueryParser.parseTerm;var f="expecting term, found '"+m.type+"'";throw new r.QueryParseError(f,m.start,m.end)}},r.QueryParser.parseTerm=function(l){var u=l.consumeLexeme();if(u!=null){l.currentClause.term=u.str.toLowerCase(),u.str.indexOf("*")!=-1&&(l.currentClause.usePipeline=!1);var d=l.peekLexeme();if(d==null){l.nextClause();return}switch(d.type){case r.QueryLexer.TERM:return l.nextClause(),r.QueryParser.parseTerm;case r.QueryLexer.FIELD:return l.nextClause(),r.QueryParser.parseField;case r.QueryLexer.EDIT_DISTANCE:return r.QueryParser.parseEditDistance;case r.QueryLexer.BOOST:return r.QueryParser.parseBoost;case r.QueryLexer.PRESENCE:return l.nextClause(),r.QueryParser.parsePresence;default:var f="Unexpected lexeme type '"+d.type+"'";throw new r.QueryParseError(f,d.start,d.end)}}},r.QueryParser.parseEditDistance=function(l){var u=l.consumeLexeme();if(u!=null){var d=parseInt(u.str,10);if(isNaN(d)){var f="edit distance must be numeric";throw new r.QueryParseError(f,u.start,u.end)}l.currentClause.editDistance=d;var m=l.peekLexeme();if(m==null){l.nextClause();return}switch(m.type){case r.QueryLexer.TERM:return l.nextClause(),r.QueryParser.parseTerm;case r.QueryLexer.FIELD:return l.nextClause(),r.QueryParser.parseField;case r.QueryLexer.EDIT_DISTANCE:return r.QueryParser.parseEditDistance;case r.QueryLexer.BOOST:return r.QueryParser.parseBoost;case r.QueryLexer.PRESENCE:return l.nextClause(),r.QueryParser.parsePresence;default:var f="Unexpected lexeme type '"+m.type+"'";throw new r.QueryParseError(f,m.start,m.end)}}},r.QueryParser.parseBoost=function(l){var u=l.consumeLexeme();if(u!=null){var d=parseInt(u.str,10);if(isNaN(d)){var f="boost must be numeric";throw new r.QueryParseError(f,u.start,u.end)}l.currentClause.boost=d;var m=l.peekLexeme();if(m==null){l.nextClause();return}switch(m.type){case r.QueryLexer.TERM:return l.nextClause(),r.QueryParser.parseTerm;case r.QueryLexer.FIELD:return l.nextClause(),r.QueryParser.parseField;case r.QueryLexer.EDIT_DISTANCE:return r.QueryParser.parseEditDistance;case r.QueryLexer.BOOST:return r.QueryParser.parseBoost;case r.QueryLexer.PRESENCE:return l.nextClause(),r.QueryParser.parsePresence;default:var f="Unexpected lexeme type '"+m.type+"'";throw new r.QueryParseError(f,m.start,m.end)}}},(function(l,u){i.exports=u()})(this,function(){return r})})()})(vu)),vu.exports}var j0=C0();const T0=qu(j0);var bu={exports:{}},de={};var fm;function A0(){if(fm)return de;fm=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),f=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),C=Symbol.iterator;function j(D){return D===null||typeof D!="object"?null:(D=C&&D[C]||D["@@iterator"],typeof D=="function"?D:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,x={};function w(D,V,Q){this.props=D,this.context=V,this.refs=x,this.updater=Q||T}w.prototype.isReactComponent={},w.prototype.setState=function(D,V){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,V,"setState")},w.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function A(){}A.prototype=w.prototype;function O(D,V,Q){this.props=D,this.context=V,this.refs=x,this.updater=Q||T}var P=O.prototype=new A;P.constructor=O,_(P,w.prototype),P.isPureReactComponent=!0;var F=Array.isArray;function H(){}var B={H:null,A:null,T:null,S:null},K=Object.prototype.hasOwnProperty;function te(D,V,Q){var I=Q.ref;return{$$typeof:i,type:D,key:V,ref:I!==void 0?I:null,props:Q}}function $(D,V){return te(D.type,V,D.props)}function fe(D){return typeof D=="object"&&D!==null&&D.$$typeof===i}function ve(D){var V={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(Q){return V[Q]})}var Ae=/\/+/g;function X(D,V){return typeof D=="object"&&D!==null&&D.key!=null?ve(""+D.key):V.toString(36)}
vendor: 7,147 bytes, line 2
2function ee(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(H,H):(D.status="pending",D.then(function(V){D.status==="pending"&&(D.status="fulfilled",D.value=V)},function(V){D.status==="pending"&&(D.status="rejected",D.reason=V)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function N(D,V,Q,I,re){var ce=typeof D;(ce==="undefined"||ce==="boolean")&&(D=null);var oe=!1;if(D===null)oe=!0;else switch(ce){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(D.$$typeof){case i:case s:oe=!0;break;case b:return oe=D._init,N(oe(D._payload),V,Q,I,re)}}if(oe)return re=re(D),oe=I===""?"."+X(D,0):I,F(re)?(Q="",oe!=null&&(Q=oe.replace(Ae,"$&/")+"/"),N(re,V,Q,"",function(ul){return ul})):re!=null&&(fe(re)&&(re=$(re,Q+(re.key==null||D&&D.key===re.key?"":(""+re.key).replace(Ae,"$&/")+"/")+oe)),V.push(re)),1;oe=0;var Xe=I===""?".":I+":";if(F(D))for(var ze=0;ze<D.length;ze++)I=D[ze],ce=Xe+X(I,ze),oe+=N(I,V,Q,ce,re);else if(ze=j(D),typeof ze=="function")for(D=ze.call(D),ze=0;!(I=D.next()).done;)I=I.value,ce=Xe+X(I,ze++),oe+=N(I,V,Q,ce,re);else if(ce==="object"){if(typeof D.then=="function")return N(ee(D),V,Q,I,re);throw V=String(D),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.")}return oe}function W(D,V,Q){if(D==null)return D;var I=[],re=0;return N(D,I,"","",function(ce){return V.call(Q,ce,re++)}),I}function ne(D){if(D._status===-1){var V=D._result;V=V(),V.then(function(Q){(D._status===0||D._status===-1)&&(D._status=1,D._result=Q)},function(Q){(D._status===0||D._status===-1)&&(D._status=2,D._result=Q)}),D._status===-1&&(D._status=0,D._result=V)}if(D._status===1)return D._result.default;throw D._result}var Z=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var V=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(V))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},ie={map:W,forEach:function(D,V,Q){W(D,function(){V.apply(this,arguments)},Q)},count:function(D){var V=0;return W(D,function(){V++}),V},toArray:function(D){return W(D,function(V){return V})||[]},only:function(D){if(!fe(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return de.Activity=S,de.Children=ie,de.Component=w,de.Fragment=r,de.Profiler=u,de.PureComponent=O,de.StrictMode=l,de.Suspense=h,de.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,de.__COMPILER_RUNTIME={__proto__:null,c:function(D){return B.H.useMemoCache(D)}},de.cache=function(D){return function(){return D.apply(null,arguments)}},de.cacheSignal=function(){return null},de.cloneElement=function(D,V,Q){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var I=_({},D.props),re=D.key;if(V!=null)for(ce in V.key!==void 0&&(re=""+V.key),V)!K.call(V,ce)||ce==="key"||ce==="__self"||ce==="__source"||ce==="ref"&&V.ref===void 0||(I[ce]=V[ce]);var ce=arguments.length-2;if(ce===1)I.children=Q;else if(1<ce){for(var oe=Array(ce),Xe=0;Xe<ce;Xe++)oe[Xe]=arguments[Xe+2];I.children=oe}return te(D.type,re,I)},de.createContext=function(D){return D={$$typeof:f,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:d,_context:D},D},de.createElement=function(D,V,Q){var I,re={},ce=null;if(V!=null)for(I in V.key!==void 0&&(ce=""+V.key),V)K.call(V,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(re[I]=V[I]);var oe=arguments.length-2;if(oe===1)re.children=Q;else if(1<oe){for(var Xe=Array(oe),ze=0;ze<oe;ze++)Xe[ze]=arguments[ze+2];re.children=Xe}if(D&&D.defaultProps)for(I in oe=D.defaultProps,oe)re[I]===void 0&&(re[I]=oe[I]);return te(D,ce,re)},de.createRef=function(){return{current:null}},de.forwardRef=function(D){return{$$typeof:m,render:D}},de.isValidElement=fe,de.lazy=function(D){return{$$typeof:b,_payload:{_status:-1,_result:D},_init:ne}},de.memo=function(D,V){return{$$typeof:g,type:D,compare:V===void 0?null:V}},de.startTransition=function(D){var V=B.T,Q={};B.T=Q;try{var I=D(),re=B.S;re!==null&&re(Q,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(H,Z)}catch(ce){Z(ce)}finally{V!==null&&Q.types!==null&&(V.types=Q.types),B.T=V}},de.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},de.use=function(D){return B.H.use(D)},de.useActionState=function(D,V,Q){return B.H.useActionState(D,V,Q)},de.useCallback=function(D,V){return B.H.useCallback(D,V)},de.useContext=function(D){return B.H.useContext(D)},de.useDebugValue=function(){},de.useDeferredValue=function(D,V){return B.H.useDeferredValue(D,V)},de.useEffect=function(D,V){return B.H.useEffect(D,V)},de.useEffectEvent=function(D){return B.H.useEffectEvent(D)},de.useId=function(){return B.H.useId()},de.useImperativeHandle=function(D,V,Q){return B.H.useImperativeHandle(D,V,Q)},de.useInsertionEffect=function(D,V){return B.H.useInsertionEffect(D,V)},de.useLayoutEffect=function(D,V){return B.H.useLayoutEffect(D,V)},de.useMemo=function(D,V){return B.H.useMemo(D,V)},de.useOptimistic=function(D,V){return B.H.useOptimistic(D,V)},de.useReducer=function(D,V,Q){return B.H.useReducer(D,V,Q)},de.useRef=function(D){return B.H.useRef(D)},de.useState=function(D){return B.H.useState(D)},de.useSyncExternalStore=function(D,V,Q){return B.H.useSyncExternalStore(D,V,Q)},de.useTransition=function(){return B.H.useTransition()},de.version="19.2.5",de}var hm;function Qu(){return hm||(hm=1,bu.exports=A0()),bu.exports}var v=Qu();const pe=qu(v),w0=S0({__proto__:null,default:pe},[v]);var Su={exports:{}},li={},Eu={exports:{}},xu={};var mm;function M0(){return mm||(mm=1,(function(i){function s(N,W){var ne=N.length;N.push(W);e:for(;0<ne;){var Z=ne-1>>>1,ie=N[Z];if(0<u(ie,W))N[Z]=W,N[ne]=ie,ne=Z;else break e}}function r(N){return N.length===0?null:N[0]}function l(N){if(N.length===0)return null;var W=N[0],ne=N.pop();if(ne!==W){N[0]=ne;e:for(var Z=0,ie=N.length,D=ie>>>1;Z<D;){var V=2*(Z+1)-1,Q=N[V],I=V+1,re=N[I];if(0>u(Q,ne))I<ie&&0>u(re,Q)?(N[Z]=re,N[I]=ne,Z=I):(N[Z]=Q,N[V]=ne,Z=V);else if(I<ie&&0>u(re,ne))N[Z]=re,N[I]=ne,Z=I;else break e}}return W}function u(N,W){var ne=N.sortIndex-W.sortIndex;return ne!==0?ne:N.id-W.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;i.unstable_now=function(){return d.now()}}else{var f=Date,m=f.now();i.unstable_now=function(){return f.now()-m}}var h=[],g=[],b=1,S=null,C=3,j=!1,T=!1,_=!1,x=!1,w=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function P(N){for(var W=r(g);W!==null;){if(W.callback===null)l(g);else if(W.startTime<=N)l(g),W.sortIndex=W.expirationTime,s(h,W);else break;W=r(g)}}
vendor: 10,314 bytes, line 2
2function F(N){if(_=!1,P(N),!T)if(r(h)!==null)T=!0,H||(H=!0,ve());else{var W=r(g);W!==null&&ee(F,W.startTime-N)}}var H=!1,B=-1,K=5,te=-1;function $(){return x?!0:!(i.unstable_now()-te<K)}function fe(){if(x=!1,H){var N=i.unstable_now();te=N;var W=!0;try{e:{T=!1,_&&(_=!1,A(B),B=-1),j=!0;var ne=C;try{t:{for(P(N),S=r(h);S!==null&&!(S.expirationTime>N&&$());){var Z=S.callback;if(typeof Z=="function"){S.callback=null,C=S.priorityLevel;var ie=Z(S.expirationTime<=N);if(N=i.unstable_now(),typeof ie=="function"){S.callback=ie,P(N),W=!0;break t}S===r(h)&&l(h),P(N)}else l(h);S=r(h)}if(S!==null)W=!0;else{var D=r(g);D!==null&&ee(F,D.startTime-N),W=!1}}break e}finally{S=null,C=ne,j=!1}W=void 0}}finally{W?ve():H=!1}}}var ve;if(typeof O=="function")ve=function(){O(fe)};else if(typeof MessageChannel<"u"){var Ae=new MessageChannel,X=Ae.port2;Ae.port1.onmessage=fe,ve=function(){X.postMessage(null)}}else ve=function(){w(fe,0)};function ee(N,W){B=w(function(){N(i.unstable_now())},W)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(N){N.callback=null},i.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<N?Math.floor(1e3/N):5},i.unstable_getCurrentPriorityLevel=function(){return C},i.unstable_next=function(N){switch(C){case 1:case 2:case 3:var W=3;break;default:W=C}var ne=C;C=W;try{return N()}finally{C=ne}},i.unstable_requestPaint=function(){x=!0},i.unstable_runWithPriority=function(N,W){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var ne=C;C=N;try{return W()}finally{C=ne}},i.unstable_scheduleCallback=function(N,W,ne){var Z=i.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?Z+ne:Z):ne=Z,N){case 1:var ie=-1;break;case 2:ie=250;break;case 5:ie=1073741823;break;case 4:ie=1e4;break;default:ie=5e3}return ie=ne+ie,N={id:b++,callback:W,priorityLevel:N,startTime:ne,expirationTime:ie,sortIndex:-1},ne>Z?(N.sortIndex=ne,s(g,N),r(h)===null&&N===r(g)&&(_?(A(B),B=-1):_=!0,ee(F,ne-Z))):(N.sortIndex=ie,s(h,N),T||j||(T=!0,H||(H=!0,ve()))),N},i.unstable_shouldYield=$,i.unstable_wrapCallback=function(N){var W=C;return function(){var ne=C;C=W;try{return N.apply(this,arguments)}finally{C=ne}}}})(xu)),xu}var pm;function O0(){return pm||(pm=1,Eu.exports=M0()),Eu.exports}var Cu={exports:{}},nt={};var ym;function _0(){if(ym)return nt;ym=1;var i=Qu();function s(h){var g="https://react.dev/errors/"+h;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)g+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+h+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var l={d:{f:r,r:function(){throw Error(s(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},u=Symbol.for("react.portal");function d(h,g,b){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:u,key:S==null?null:""+S,children:h,containerInfo:g,implementation:b}}var f=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(h,g){if(h==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return nt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,nt.createPortal=function(h,g){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(s(299));return d(h,g,null,b)},nt.flushSync=function(h){var g=f.T,b=l.p;try{if(f.T=null,l.p=2,h)return h()}finally{f.T=g,l.p=b,l.d.f()}},nt.preconnect=function(h,g){typeof h=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,l.d.C(h,g))},nt.prefetchDNS=function(h){typeof h=="string"&&l.d.D(h)},nt.preinit=function(h,g){if(typeof h=="string"&&g&&typeof g.as=="string"){var b=g.as,S=m(b,g.crossOrigin),C=typeof g.integrity=="string"?g.integrity:void 0,j=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;b==="style"?l.d.S(h,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:S,integrity:C,fetchPriority:j}):b==="script"&&l.d.X(h,{crossOrigin:S,integrity:C,fetchPriority:j,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},nt.preinitModule=function(h,g){if(typeof h=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var b=m(g.as,g.crossOrigin);l.d.M(h,{crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&l.d.M(h)},nt.preload=function(h,g){if(typeof h=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var b=g.as,S=m(b,g.crossOrigin);l.d.L(h,b,{crossOrigin:S,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},nt.preloadModule=function(h,g){if(typeof h=="string")if(g){var b=m(g.as,g.crossOrigin);l.d.m(h,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else l.d.m(h)},nt.requestFormReset=function(h){l.d.r(h)},nt.unstable_batchedUpdates=function(h,g){return h(g)},nt.useFormState=function(h,g,b){return f.H.useFormState(h,g,b)},nt.useFormStatus=function(){return f.H.useHostTransitionStatus()},nt.version="19.2.5",nt}var gm;function Km(){if(gm)return Cu.exports;gm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}return i(),Cu.exports=_0(),Cu.exports}var vm;function D0(){if(vm)return li;vm=1;var i=O0(),s=Qu(),r=Km();function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function f(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function m(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(d(e)!==e)throw Error(l(188))}function g(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(l(188));return t!==e?null:e}for(var n=e,a=t;;){var o=n.return;if(o===null)break;var c=o.alternate;if(c===null){if(a=o.return,a!==null){n=a;continue}break}if(o.child===c.child){for(c=o.child;c;){if(c===n)return h(o),e;if(c===a)return h(o),t;c=c.sibling}throw Error(l(188))}if(n.return!==a.return)n=o,a=c;else{for(var p=!1,E=o.child;E;){if(E===n){p=!0,n=o,a=c;break}if(E===a){p=!0,a=o,n=c;break}E=E.sibling}if(!p){for(E=c.child;E;){if(E===n){p=!0,n=c,a=o;break}if(E===a){p=!0,a=c,n=o;break}E=E.sibling}if(!p)throw Error(l(189))}}if(n.alternate!==a)throw Error(l(190))}if(n.tag!==3)throw Error(l(188));return n.stateNode.current===n?e:t}function b(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=b(e),t!==null)return t;e=e.sibling}return null}var S=Object.assign,C=Symbol.for("react.element"),j=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),O=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),te=Symbol.for("react.activity"),$=Symbol.for("react.memo_cache_sentinel"),fe=Symbol.iterator;function ve(e){return e===null||typeof e!="object"?null:(e=fe&&e[fe]||e["@@iterator"],typeof e=="function"?e:null)}var Ae=Symbol.for("react.client.reference");function X(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ae?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _:return"Fragment";case w:return"Profiler";case x:return"StrictMode";case F:return"Suspense";case H:return"SuspenseList";case te:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case O:return e.displayName||"Context";case A:return(e._context.displayName||"Context")+".Consumer";case P:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case B:return t=e.displayName||null,t!==null?t:X(e.type)||"Memo";case K:t=e._payload,e=e._init;try{return X(e(t))}catch{}}return null}var ee=Array.isArray,N=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},Z=[],ie=-1;function D(e){return{current:e}}function V(e){0>ie||(e.current=Z[ie],Z[ie]=null,ie--)}function Q(e,t){ie++,Z[ie]=e.current,e.current=t}var I=D(null),re=D(null),ce=D(null),oe=D(null);function Xe(e,t){switch(Q(ce,t),Q(re,e),Q(I,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Rh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Rh(t),e=kh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}V(I),Q(I,e)}function ze(){V(I),V(re),V(ce)}function ul(e){e.memoizedState!==null&&Q(oe,e);var t=I.current,n=kh(t,e.type);t!==n&&(Q(re,e),Q(I,n))}function ha(e){re.current===e&&(V(I),V(re)),oe.current===e&&(V(oe),$l._currentValue=ne)}var cl,sc;
vendor: 13,089 bytes, lines 2-9
2function Vn(e){if(cl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);cl=t&&t[1]||"",sc=-1<n.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+cl+e+sc}var $r=!1;function es(e,t){if(!e||$r)return"";$r=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(G){var U=G}Reflect.construct(e,[],J)}else{try{J.call()}catch(G){U=G}e.call(J.prototype)}}else{try{throw Error()}catch(G){U=G}(J=e())&&typeof J.catch=="function"&&J.catch(function(){})}}catch(G){if(G&&U&&typeof G.stack=="string")return[G.stack,U.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=a.DetermineComponentFrameRoot(),p=c[0],E=c[1];if(p&&E){var M=p.split(`
5`),z=E.split(`
6`);for(o=a=0;a<M.length&&!M[a].includes("DetermineComponentFrameRoot");)a++;for(;o<z.length&&!z[o].includes("DetermineComponentFrameRoot");)o++;if(a===M.length||o===z.length)for(a=M.length-1,o=z.length-1;1<=a&&0<=o&&M[a]!==z[o];)o--;for(;1<=a&&0<=o;a--,o--)if(M[a]!==z[o]){if(a!==1||o!==1)do if(a--,o--,0>o||M[a]!==z[o]){var q=`
7`+M[a].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),q}while(1<=a&&0<=o);break}}}finally{$r=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Vn(n):""}function Kp(e,t){switch(e.tag){case 26:case 27:case 5:return Vn(e.type);case 16:return Vn("Lazy");case 13:return e.child!==t&&t!==null?Vn("Suspense Fallback"):Vn("Suspense");case 19:return Vn("SuspenseList");case 0:case 15:return es(e.type,!1);case 11:return es(e.type.render,!1);case 1:return es(e.type,!0);case 31:return Vn("Activity");default:return""}}function oc(e){try{var t="",n=null;do t+=Kp(e,n),n=e,e=e.return;while(e);return t}catch(a){return`
8Error generating stack: `+a.message+`
9`+a.stack}}var ts=Object.prototype.hasOwnProperty,ns=i.unstable_scheduleCallback,as=i.unstable_cancelCallback,Ip=i.unstable_shouldYield,$p=i.unstable_requestPaint,ht=i.unstable_now,ey=i.unstable_getCurrentPriorityLevel,uc=i.unstable_ImmediatePriority,cc=i.unstable_UserBlockingPriority,gi=i.unstable_NormalPriority,ty=i.unstable_LowPriority,dc=i.unstable_IdlePriority,ny=i.log,ay=i.unstable_setDisableYieldValue,dl=null,mt=null;function hn(e){if(typeof ny=="function"&&ay(e),mt&&typeof mt.setStrictMode=="function")try{mt.setStrictMode(dl,e)}catch{}}var pt=Math.clz32?Math.clz32:ry,ly=Math.log,iy=Math.LN2;function ry(e){return e>>>=0,e===0?32:31-(ly(e)/iy|0)|0}var vi=256,bi=262144,Si=4194304;function qn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ei(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var o=0,c=e.suspendedLanes,p=e.pingedLanes;e=e.warmLanes;var E=a&134217727;return E!==0?(a=E&~c,a!==0?o=qn(a):(p&=E,p!==0?o=qn(p):n||(n=E&~e,n!==0&&(o=qn(n))))):(E=a&~c,E!==0?o=qn(E):p!==0?o=qn(p):n||(n=a&~e,n!==0&&(o=qn(n)))),o===0?0:t!==0&&t!==o&&(t&c)===0&&(c=o&-o,n=t&-t,c>=n||c===32&&(n&4194048)!==0)?t:o}function fl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function sy(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function fc(){var e=Si;return Si<<=1,(Si&62914560)===0&&(Si=4194304),e}function ls(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function hl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function oy(e,t,n,a,o,c){var p=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var E=e.entanglements,M=e.expirationTimes,z=e.hiddenUpdates;for(n=p&~n;0<n;){var q=31-pt(n),J=1<<q;E[q]=0,M[q]=-1;var U=z[q];if(U!==null)for(z[q]=null,q=0;q<U.length;q++){var G=U[q];G!==null&&(G.lane&=-536870913)}n&=~J}a!==0&&hc(e,a,0),c!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=c&~(p&~t))}function hc(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-pt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function mc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-pt(n),o=1<<a;o&t|e[a]&t&&(e[a]|=t),n&=~o}}function pc(e,t){var n=t&-t;return n=(n&42)!==0?1:is(n),(n&(e.suspendedLanes|t))!==0?0:n}function is(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function rs(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function yc(){var e=W.p;return e!==0?e:(e=window.event,e===void 0?32:nm(e.type))}function gc(e,t){var n=W.p;try{return W.p=e,t()}finally{W.p=n}}var mn=Math.random().toString(36).slice(2),Ke="__reactFiber$"+mn,lt="__reactProps$"+mn,ma="__reactContainer$"+mn,ss="__reactEvents$"+mn,uy="__reactListeners$"+mn,cy="__reactHandles$"+mn,vc="__reactResources$"+mn,ml="__reactMarker$"+mn;function os(e){delete e[Ke],delete e[lt],delete e[ss],delete e[uy],delete e[cy]}function pa(e){var t=e[Ke];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ma]||n[Ke]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Gh(e);e!==null;){if(n=e[Ke])return n;e=Gh(e)}return t}e=n,n=e.parentNode}return null}function ya(e){if(e=e[Ke]||e[ma]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function pl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(l(33))}function ga(e){var t=e[vc];return t||(t=e[vc]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[ml]=!0}var bc=new Set,Sc={};function Qn(e,t){va(e,t),va(e+"Capture",t)}function va(e,t){for(Sc[e]=t,e=0;e<t.length;e++)bc.add(t[e])}var dy=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ec={},xc={};function fy(e){return ts.call(xc,e)?!0:ts.call(Ec,e)?!1:dy.test(e)?xc[e]=!0:(Ec[e]=!0,!1)}function xi(e,t,n){if(fy(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Ci(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function Jt(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}function Ct(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Cc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hy(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var o=a.get,c=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(p){n=""+p,c.call(this,p)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(p){n=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function us(e){if(!e._valueTracker){var t=Cc(e)?"checked":"value";e._valueTracker=hy(e,t,""+e[t])}}function jc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=Cc(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function ji(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var my=/[\n"\\]/g;function jt(e){return e.replace(my,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function cs(e,t,n,a,o,c,p,E){e.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.type=p:e.removeAttribute("type"),t!=null?p==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ct(t)):e.value!==""+Ct(t)&&(e.value=""+Ct(t)):p!=="submit"&&p!=="reset"||e.removeAttribute("value"),t!=null?ds(e,p,Ct(t)):n!=null?ds(e,p,Ct(n)):a!=null&&e.removeAttribute("value"),o==null&&c!=null&&(e.defaultChecked=!!c),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?e.name=""+Ct(E):e.removeAttribute("name")}function Tc(e,t,n,a,o,c,p,E){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){us(e);return}n=n!=null?""+Ct(n):"",t=t!=null?""+Ct(t):n,E||t===e.value||(e.value=t),e.defaultValue=t}a=a??o,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=E?e.checked:!!a,e.defaultChecked=!!a,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.name=p),us(e)}function ds(e,t,n){t==="number"&&ji(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ba(e,t,n,a){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Ct(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,a&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Ac(e,t,n){if(t!=null&&(t=""+Ct(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Ct(n):""}function wc(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(l(92));if(ee(a)){if(1<a.length)throw Error(l(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=Ct(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),us(e)}function Sa(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var py=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Mc(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||py.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Oc(e,t,n){if(t!=null&&typeof t!="object")throw Error(l(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.
vendor: 16,077 bytes, line 9
9setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var o in t)a=t[o],t.hasOwnProperty(o)&&n[o]!==a&&Mc(e,o,a)}else for(var c in t)t.hasOwnProperty(c)&&Mc(e,c,t[c])}function fs(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var yy=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),gy=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ti(e){return gy.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Wt(){}var hs=null;function ms(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ea=null,xa=null;function _c(e){var t=ya(e);if(t&&(e=t.stateNode)){var n=e[lt]||null;e:switch(e=t.stateNode,t.type){case"input":if(cs(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+jt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var o=a[lt]||null;if(!o)throw Error(l(90));cs(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&jc(a)}break e;case"textarea":Ac(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&ba(e,!!n.multiple,t,!1)}}}var ps=!1;function Dc(e,t,n){if(ps)return e(t,n);ps=!0;try{var a=e(t);return a}finally{if(ps=!1,(Ea!==null||xa!==null)&&(fr(),Ea&&(t=Ea,e=xa,xa=Ea=null,_c(t),e)))for(t=0;t<e.length;t++)_c(e[t])}}function yl(e,t){var n=e.stateNode;if(n===null)return null;var a=n[lt]||null;if(a===null)return null;n=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(l(231,t,typeof n));return n}var Zt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ys=!1;if(Zt)try{var gl={};Object.defineProperty(gl,"passive",{get:function(){ys=!0}}),window.addEventListener("test",gl,gl),window.removeEventListener("test",gl,gl)}catch{ys=!1}var pn=null,gs=null,Ai=null;function Rc(){if(Ai)return Ai;var e,t=gs,n=t.length,a,o="value"in pn?pn.value:pn.textContent,c=o.length;for(e=0;e<n&&t[e]===o[e];e++);var p=n-e;for(a=1;a<=p&&t[n-a]===o[c-a];a++);return Ai=o.slice(e,1<a?1-a:void 0)}function wi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Mi(){return!0}function kc(){return!1}function it(e){function t(n,a,o,c,p){this._reactName=n,this._targetInst=o,this.type=a,this.nativeEvent=c,this.target=p,this.currentTarget=null;for(var E in e)e.hasOwnProperty(E)&&(n=e[E],this[E]=n?n(c):c[E]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Mi:kc,this.isPropagationStopped=kc,this}return S(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Mi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Mi)},persist:function(){},isPersistent:Mi}),t}var Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Oi=it(Yn),vl=S({},Yn,{view:0,detail:0}),vy=it(vl),vs,bs,bl,_i=S({},vl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Es,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==bl&&(bl&&e.type==="mousemove"?(vs=e.screenX-bl.screenX,bs=e.screenY-bl.screenY):bs=vs=0,bl=e),vs)},movementY:function(e){return"movementY"in e?e.movementY:bs}}),Nc=it(_i),by=S({},_i,{dataTransfer:0}),Sy=it(by),Ey=S({},vl,{relatedTarget:0}),Ss=it(Ey),xy=S({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0}),Cy=it(xy),jy=S({},Yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ty=it(jy),Ay=S({},Yn,{data:0}),Lc=it(Ay),wy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},My={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"},Oy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _y(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Oy[e])?!!t[e]:!1}function Es(){return _y}var Dy=S({},vl,{key:function(e){if(e.key){var t=wy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=wi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?My[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Es,charCode:function(e){return e.type==="keypress"?wi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?wi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ry=it(Dy),ky=S({},_i,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zc=it(ky),Ny=S({},vl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Es}),Ly=it(Ny),zy=S({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Uy=it(zy),By=S({},_i,{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}),Py=it(By),Gy=S({},Yn,{newState:0,oldState:0}),Hy=it(Gy),Fy=[9,13,27,32],xs=Zt&&"CompositionEvent"in window,Sl=null;Zt&&"documentMode"in document&&(Sl=document.documentMode);var Vy=Zt&&"TextEvent"in window&&!Sl,Uc=Zt&&(!xs||Sl&&8<Sl&&11>=Sl),Bc=" ",Pc=!1;function Gc(e,t){switch(e){case"keyup":return Fy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ca=!1;function qy(e,t){switch(e){case"compositionend":return Hc(t);case"keypress":return t.which!==32?null:(Pc=!0,Bc);case"textInput":return e=t.data,e===Bc&&Pc?null:e;default:return null}}function Qy(e,t){if(Ca)return e==="compositionend"||!xs&&Gc(e,t)?(e=Rc(),Ai=gs=pn=null,Ca=!1,e):null;switch(e){case"paste":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 Uc&&t.locale!=="ko"?null:t.data;default:return null}}var Yy={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 Fc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Yy[e.type]:t==="textarea"}function Vc(e,t,n,a){Ea?xa?xa.push(a):xa=[a]:Ea=a,t=br(t,"onChange"),0<t.length&&(n=new Oi("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var El=null,xl=null;function Jy(e){Ah(e,0)}function Di(e){var t=pl(e);if(jc(t))return e}function qc(e,t){if(e==="change")return t}var Qc=!1;if(Zt){var Cs;if(Zt){var js="oninput"in document;if(!js){var Yc=document.createElement("div");Yc.setAttribute("oninput","return;"),js=typeof Yc.oninput=="function"}Cs=js}else Cs=!1;Qc=Cs&&(!document.documentMode||9<document.documentMode)}function Jc(){El&&(El.detachEvent("onpropertychange",Wc),xl=El=null)}function Wc(e){if(e.propertyName==="value"&&Di(xl)){var t=[];Vc(t,xl,e,ms(e)),Dc(Jy,t)}}function Wy(e,t,n){e==="focusin"?(Jc(),El=t,xl=n,El.attachEvent("onpropertychange",Wc)):e==="focusout"&&Jc()}function Zy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Di(xl)}function Xy(e,t){if(e==="click")return Di(t)}function Ky(e,t){if(e==="input"||e==="change")return Di(t)}function Iy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yt=typeof Object.is=="function"?Object.is:Iy;function Cl(e,t){if(yt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var o=n[a];if(!ts.call(t,o)||!yt(e[o],t[o]))return!1}return!0}function Zc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xc(e,t){var n=Zc(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Zc(n)}}function Kc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Kc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ic(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ji(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ji(e.document)}return t}function Ts(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var $y=Zt&&"documentMode"in document&&11>=document.documentMode,ja=null,As=null,jl=null,ws=!1;function $c(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ws||ja==null||ja!==ji(a)||(a=ja,"selectionStart"in a&&Ts(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),jl&&Cl(jl,a)||(jl=a,a=br(As,"onSelect"),0<a.length&&(t=new Oi("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=ja)))}function Jn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ta={animationend:Jn("Animation","AnimationEnd"),animationiteration:Jn("Animation","AnimationIteration"),animationstart:Jn("Animation","AnimationStart"),transitionrun:Jn("Transition","TransitionRun"),transitionstart:Jn("Transition","TransitionStart"),transitioncancel:Jn("Transition","TransitionCancel"),transitionend:Jn("Transition","TransitionEnd")},Ms={},ed={};Zt&&(ed=document.createElement("div").style,"AnimationEvent"in window||(delete Ta.animationend.animation,delete Ta.animationiteration.animation,delete Ta.animationstart.animation),"TransitionEvent"in window||delete Ta.transitionend.transition);function Wn(e){if(Ms[e])return Ms[e];if(!Ta[e])return e;var t=Ta[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ed)return Ms[e]=t[n];return e}var td=Wn("animationend"),nd=Wn("animationiteration"),ad=Wn("animationstart"),eg=Wn("transitionrun"),tg=Wn("transitionstart"),ng=Wn("transitioncancel"),ld=Wn("transitionend"),id=new Map,Os="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Os.push("scrollEnd");function Lt(e,t){id.set(e,t),Qn(t,[e])}var Ri=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Tt=[],Aa=0,_s=0;function ki(){for(var e=Aa,t=_s=Aa=0;t<e;){var n=Tt[t];Tt[t++]=null;var a=Tt[t];Tt[t++]=null;var o=Tt[t];Tt[t++]=null;var c=Tt[t];
vendor: 15,840 bytes, line 9
9if(Tt[t++]=null,a!==null&&o!==null){var p=a.pending;p===null?o.next=o:(o.next=p.next,p.next=o),a.pending=o}c!==0&&rd(n,o,c)}}function Ni(e,t,n,a){Tt[Aa++]=e,Tt[Aa++]=t,Tt[Aa++]=n,Tt[Aa++]=a,_s|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Ds(e,t,n,a){return Ni(e,t,n,a),Li(e)}function Zn(e,t){return Ni(e,null,null,t),Li(e)}function rd(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var o=!1,c=e.return;c!==null;)c.childLanes|=n,a=c.alternate,a!==null&&(a.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(o=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,o&&t!==null&&(o=31-pt(n),e=c.hiddenUpdates,a=e[o],a===null?e[o]=[t]:a.push(t),t.lane=n|536870912),c):null}function Li(e){if(50<Yl)throw Yl=0,Ho=null,Error(l(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var wa={};function ag(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gt(e,t,n,a){return new ag(e,t,n,a)}function Rs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Xt(e,t){var n=e.alternate;return n===null?(n=gt(e.tag,t,e.key,e.mode),n.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=e.flags&65011712,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function sd(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function zi(e,t,n,a,o,c){var p=0;if(a=e,typeof e=="function")Rs(e)&&(p=1);else if(typeof e=="string")p=o0(e,n,I.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case te:return e=gt(31,n,t,o),e.elementType=te,e.lanes=c,e;case _:return Xn(n.children,o,c,t);case x:p=8,o|=24;break;case w:return e=gt(12,n,t,o|2),e.elementType=w,e.lanes=c,e;case F:return e=gt(13,n,t,o),e.elementType=F,e.lanes=c,e;case H:return e=gt(19,n,t,o),e.elementType=H,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case O:p=10;break e;case A:p=9;break e;case P:p=11;break e;case B:p=14;break e;case K:p=16,a=null;break e}p=29,n=Error(l(130,e===null?"null":typeof e,"")),a=null}return t=gt(p,n,t,o),t.elementType=e,t.type=a,t.lanes=c,t}function Xn(e,t,n,a){return e=gt(7,e,a,t),e.lanes=n,e}function ks(e,t,n){return e=gt(6,e,null,t),e.lanes=n,e}function od(e){var t=gt(18,null,null,0);return t.stateNode=e,t}function Ns(e,t,n){return t=gt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ud=new WeakMap;function At(e,t){if(typeof e=="object"&&e!==null){var n=ud.get(e);return n!==void 0?n:(t={value:e,source:t,stack:oc(t)},ud.set(e,t),t)}return{value:e,source:t,stack:oc(t)}}var Ma=[],Oa=0,Ui=null,Tl=0,wt=[],Mt=0,yn=null,Ht=1,Ft="";function Kt(e,t){Ma[Oa++]=Tl,Ma[Oa++]=Ui,Ui=e,Tl=t}function cd(e,t,n){wt[Mt++]=Ht,wt[Mt++]=Ft,wt[Mt++]=yn,yn=e;var a=Ht;e=Ft;var o=32-pt(a)-1;a&=~(1<<o),n+=1;var c=32-pt(t)+o;if(30<c){var p=o-o%5;c=(a&(1<<p)-1).toString(32),a>>=p,o-=p,Ht=1<<32-pt(t)+o|n<<o|a,Ft=c+e}else Ht=1<<c|n<<o|a,Ft=e}function Ls(e){e.return!==null&&(Kt(e,1),cd(e,1,0))}function zs(e){for(;e===Ui;)Ui=Ma[--Oa],Ma[Oa]=null,Tl=Ma[--Oa],Ma[Oa]=null;for(;e===yn;)yn=wt[--Mt],wt[Mt]=null,Ft=wt[--Mt],wt[Mt]=null,Ht=wt[--Mt],wt[Mt]=null}function dd(e,t){wt[Mt++]=Ht,wt[Mt++]=Ft,wt[Mt++]=yn,Ht=t.id,Ft=t.overflow,yn=e}var Ie=null,ke=null,Ee=!1,gn=null,Ot=!1,Us=Error(l(519));function vn(e){var t=Error(l(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Al(At(t,e)),Us}function fd(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[Ke]=e,t[lt]=a,n){case"dialog":ge("cancel",t),ge("close",t);break;case"iframe":case"object":case"embed":ge("load",t);break;case"video":case"audio":for(n=0;n<Wl.length;n++)ge(Wl[n],t);break;case"source":ge("error",t);break;case"img":case"image":case"link":ge("error",t),ge("load",t);break;case"details":ge("toggle",t);break;case"input":ge("invalid",t),Tc(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ge("invalid",t);break;case"textarea":ge("invalid",t),wc(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||_h(t.textContent,n)?(a.popover!=null&&(ge("beforetoggle",t),ge("toggle",t)),a.onScroll!=null&&ge("scroll",t),a.onScrollEnd!=null&&ge("scrollend",t),a.onClick!=null&&(t.onclick=Wt),t=!0):t=!1,t||vn(e,!0)}function hd(e){for(Ie=e.return;Ie;)switch(Ie.tag){case 5:case 31:case 13:Ot=!1;return;case 27:case 3:Ot=!0;return;default:Ie=Ie.return}}function _a(e){if(e!==Ie)return!1;if(!Ee)return hd(e),Ee=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||nu(e.type,e.memoizedProps)),n=!n),n&&ke&&vn(e),hd(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));ke=Ph(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));ke=Ph(e)}else t===27?(t=ke,Rn(e.type)?(e=su,su=null,ke=e):ke=t):ke=Ie?Dt(e.stateNode.nextSibling):null;return!0}function Kn(){ke=Ie=null,Ee=!1}function Bs(){var e=gn;return e!==null&&(ut===null?ut=e:ut.push.apply(ut,e),gn=null),e}function Al(e){gn===null?gn=[e]:gn.push(e)}var Ps=D(null),In=null,It=null;function bn(e,t,n){Q(Ps,t._currentValue),t._currentValue=n}function $t(e){e._currentValue=Ps.current,V(Ps)}function Gs(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function Hs(e,t,n,a){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var c=o.dependencies;if(c!==null){var p=o.child;c=c.firstContext;e:for(;c!==null;){var E=c;c=o;for(var M=0;M<t.length;M++)if(E.context===t[M]){c.lanes|=n,E=c.alternate,E!==null&&(E.lanes|=n),Gs(c.return,n,e),a||(p=null);break e}c=E.next}}else if(o.tag===18){if(p=o.return,p===null)throw Error(l(341));p.lanes|=n,c=p.alternate,c!==null&&(c.lanes|=n),Gs(p,n,e),p=null}else p=o.child;if(p!==null)p.return=o;else for(p=o;p!==null;){if(p===e){p=null;break}if(o=p.sibling,o!==null){o.return=p.return,p=o;break}p=p.return}o=p}}function Da(e,t,n,a){e=null;for(var o=t,c=!1;o!==null;){if(!c){if((o.flags&524288)!==0)c=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var p=o.alternate;if(p===null)throw Error(l(387));if(p=p.memoizedProps,p!==null){var E=o.type;yt(o.pendingProps.value,p.value)||(e!==null?e.push(E):e=[E])}}else if(o===oe.current){if(p=o.alternate,p===null)throw Error(l(387));p.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push($l):e=[$l])}o=o.return}e!==null&&Hs(t,e,n,a),t.flags|=262144}function Bi(e){for(e=e.firstContext;e!==null;){if(!yt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function $n(e){In=e,It=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $e(e){return md(In,e)}function Pi(e,t){return In===null&&$n(e),md(e,t)}function md(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},It===null){if(e===null)throw Error(l(308));It=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else It=It.next=t;return n}var lg=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},ig=i.unstable_scheduleCallback,rg=i.unstable_NormalPriority,Fe={$$typeof:O,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Fs(){return{controller:new lg,data:new Map,refCount:0}}function wl(e){e.refCount--,e.refCount===0&&ig(rg,function(){e.controller.abort()})}var Ml=null,Vs=0,Ra=0,ka=null;function sg(e,t){if(Ml===null){var n=Ml=[];Vs=0,Ra=Jo(),ka={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Vs++,t.then(pd,pd),t}function pd(){if(--Vs===0&&Ml!==null){ka!==null&&(ka.status="fulfilled");var e=Ml;Ml=null,Ra=0,ka=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function og(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var o=0;o<n.length;o++)(0,n[o])(t)},function(o){for(a.status="rejected",a.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),a}var yd=N.S;N.S=function(e,t){eh=ht(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&sg(e,t),yd!==null&&yd(e,t)};var ea=D(null);function qs(){var e=ea.current;return e!==null?e:Re.pooledCache}function Gi(e,t){t===null?Q(ea,ea.current):Q(ea,t.pool)}function gd(){var e=qs();return e===null?null:{parent:Fe._currentValue,pool:e}}var Na=Error(l(460)),Qs=Error(l(474)),Hi=Error(l(542)),Fi={then:function(){}};function vd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function bd(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Wt,Wt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ed(e),e;default:if(typeof t.status=="string")t.then(Wt,Wt);else{if(e=Re,e!==null&&100<e.shellSuspendCounter)throw Error(l(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=a}},function(a){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ed(e),e}throw na=t,Na}}function ta(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(na=n,Na):n}}var na=null;function Sd(){if(na===null)throw Error(l(459));var e=na;return na=null,e}function Ed(e){if(e===Na||e===Hi)throw Error(l(483))}var La=null,Ol=0;function Vi(e){var t=Ol;return Ol+=1,La===null&&(La=[]),bd(La,e,t)}function _l(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function qi(e,t){throw t.$$typeof===C?Error(l(525)):(e=Object.prototype.toString.call(t),Error(l(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function xd(e){function t(k,R){if(e){var L=k.deletions;L===null?(k.deletions=[R],k.flags|=16):L.push(R)}}function n(k,R){if(!e)return null;for(;R!==null;)t(k,R),R=R.sibling;return null}function a(k){for(var R=new Map;k!==null;)k.key!==null?R.set(k.key,k):R.set(k.index,k),k=k.sibling;return R}function o(k,R){return k=Xt(k,R),k.index=0,k.sibling=null,k}function c(k,R,L){return k.index=L,e?(L=k.alternate,L!==null?(L=L.index,L<R?(k.flags|=67108866,R):L):(k.flags|=67108866,R)):(k.flags|=1048576,R)}function p(k){return e&&k.alternate===null&&(k.flags|=67108866),k}function E(k,R,L,Y){return R===null||R.tag!==6?(R=ks(L,k.mode,Y),R.return=k,R):(R=o(R,L),R.return=k,R)}function M(k,R,L,Y){var se=L.type;return se===_?q(k,R,L.props.children,Y,L.key):R!==null&&(R.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===K&&ta(se)===R.type)?(R=o(R,L.props),_l(R,L),R.return=k,R):(R=zi(L.type,L.key,L.props,null,k.mode,Y),_l(R,L),R.return=k,R)}function z(k,R,L,Y){return R===null||R.tag!==4||R.stateNode.containerInfo!==L.containerInfo||R.stateNode.implementation!==L.implementation?(R=Ns(L,k.mode,Y),R.return=k,R):(R=o(R,L.children||[]),R.return=k,R)}function q(k,R,L,Y,se){return R===null||R.tag!==7?(R=Xn(L,k.mode,Y,se),R.return=k,R):(R=o(R,L),R.return=k,R)}function J(k,R,L){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=ks(""+R,k.mode,L),R.return=k,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case j:return L=zi(R.type,R.key,R.props,null,k.mode,L),_l(L,R),L.return=k,L;case T:return R=Ns(R,k.mode,L),R.return=k,R;case K:return R=ta(R),J(k,R,L)}if(ee(R)||ve(R))return R=Xn(R,k.mode,L,null),R.return=k,R;if(typeof R.then=="function")return J(k,Vi(R),L);if(R.$$typeof===O)return J(k,Pi(k,R),L);qi(k,R)}return null}function U(k,R,L,Y){var se=R!==null?R.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return se!==null?null:E(k,R,""+L,Y);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case j:return L.key===se?M(k,R,L,Y):null;case T:return L.key===se?z(k,R,L,Y):null;case K:return L=ta(L),U(k,R,L,Y)}if(ee(L)||ve(L))return se!==null?null:q(k,R,L,Y,null);if(typeof L.then=="function")return U(k,R,Vi(L),Y);if(L.$$typeof===O)return U(k,R,Pi(k,L),Y);qi(k,L)}return null}function G(k,R,L,Y,se){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return k=k.get(L)||null,E(R,k,""+Y,se);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case j:return k=k.get(Y.key===null?L:Y.key)||null,M(R,k,Y,se);case T:return k=k.get(Y.key===null?L:Y.key)||null,z(R,k,Y,se);case K:return Y=ta(Y),G(k,R,L,Y,se)}if(ee(Y)||ve(Y))return k=k.get(L)||null,q(R,k,Y,se,null);if(typeof Y.then=="function")return G(k,R,L,Vi(Y),se);if(Y.$$typeof===O)return G(k,R,L,Pi(R,Y),se);qi(R,Y)}return null}function ae(k,R,L,Y){for(var se=null,Ce=null,le=R,me=R=0,Se=null;le!==null&&me<L.length;me++){le.index>me?(Se=le,le=null):Se=le.sibling;var je=U(k,le,L[me],Y);if(je===null){le===null&&(le=Se);break}e&&le&&je.alternate===null&&t(k,le),R=c(je,R,me),Ce===null?se=je:Ce.sibling=je,Ce=je,le=Se}if(me===L.length)return n(k,le),Ee&&Kt(k,me),se;if(le===null){for(;me<L.length;me++)le=J(k,L[me],Y),le!==null&&(R=c(le,R,me),Ce===null?se=le:Ce.sibling=le,Ce=le);return Ee&&Kt(k,me),se}for(le=a(le);me<L.length;me++)Se=G(le,k,me,L[me],Y),Se!==null&&(e&&Se.alternate!==null&&le.delete(Se.key===null?me:Se.key),R=c(Se,R,me),Ce===null?se=Se:Ce.sibling=Se,Ce=Se);return e&&le.forEach(function(Un){return t(k,Un)}),Ee&&Kt(k,me),se}function ue(k,R,L,Y){if(L==null)throw Error(l(151));for(var se=null,Ce=null,le=R,me=R=0,Se=null,je=L.next();le!==null&&!je.done;me++,je=L.next()){le.index>me?(Se=le,le=null):Se=le.sibling;var Un=U(k,le,je.value,Y);if(Un===null){le===null&&(le=Se);break}e&&le&&Un.alternate===null&&t(k,le),R=c(Un,R,me),Ce===null?se=Un:Ce.sibling=Un,Ce=Un,le=Se}if(je.done)return n(k,le),Ee&&Kt(k,me),se;if(le===null){for(;!je.done;me++,je=L.next())je=J(k,je.value,Y),je!==null&&(R=c(je,R,me),Ce===null?se=je:Ce.sibling=je,Ce=je);return Ee&&Kt(k,me),se}for(le=a(le);!je.done;me++,je=L.next())je=G(le,k,me,je.value,Y),je!==null&&(e&&je.alternate!==null&&le.delete(je.key===null?me:je.key),R=c(je,R,me),Ce===null?se=je:Ce.sibling=je,Ce=je);return e&&le.forEach(function(b0){return t(k,b0)}),Ee&&Kt(k,me),se}function De(k,R,L,Y){if(typeof L=="object"&&L!==null&&L.type===_&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case j:e:{for(var se=L.key;R!==null;){if(R.key===se){if(se=L.type,se===_){if(R.tag===7){n(k,R.sibling),Y=o(R,L.props.children),Y.return=k,k=Y;break e}}else if(R.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===K&&ta(se)===R.type){n(k,R.sibling),Y=o(R,L.props),_l(Y,L),Y.return=k,k=Y;break e}n(k,R);break}else t(k,R);R=R.sibling}L.type===_?(Y=Xn(L.props.children,k.mode,Y,L.key),Y.return=k,k=Y):(Y=zi(L.type,L.
vendor: 5,515 bytes, line 9
9key,L.props,null,k.mode,Y),_l(Y,L),Y.return=k,k=Y)}return p(k);case T:e:{for(se=L.key;R!==null;){if(R.key===se)if(R.tag===4&&R.stateNode.containerInfo===L.containerInfo&&R.stateNode.implementation===L.implementation){n(k,R.sibling),Y=o(R,L.children||[]),Y.return=k,k=Y;break e}else{n(k,R);break}else t(k,R);R=R.sibling}Y=Ns(L,k.mode,Y),Y.return=k,k=Y}return p(k);case K:return L=ta(L),De(k,R,L,Y)}if(ee(L))return ae(k,R,L,Y);if(ve(L)){if(se=ve(L),typeof se!="function")throw Error(l(150));return L=se.call(L),ue(k,R,L,Y)}if(typeof L.then=="function")return De(k,R,Vi(L),Y);if(L.$$typeof===O)return De(k,R,Pi(k,L),Y);qi(k,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(L=""+L,R!==null&&R.tag===6?(n(k,R.sibling),Y=o(R,L),Y.return=k,k=Y):(n(k,R),Y=ks(L,k.mode,Y),Y.return=k,k=Y),p(k)):n(k,R)}return function(k,R,L,Y){try{Ol=0;var se=De(k,R,L,Y);return La=null,se}catch(le){if(le===Na||le===Hi)throw le;var Ce=gt(29,le,null,k.mode);return Ce.lanes=Y,Ce.return=k,Ce}}}var aa=xd(!0),Cd=xd(!1),Sn=!1;function Ys(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Js(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function En(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function xn(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Te&2)!==0){var o=a.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,t=Li(e),rd(e,null,n),t}return Ni(e,a,t,n),Li(e)}function Dl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,mc(e,n)}}function Ws(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var o=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var p={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?o=c=p:c=c.next=p,n=n.next}while(n!==null);c===null?o=c=t:c=c.next=t}else o=c=t;n={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Zs=!1;function Rl(){if(Zs){var e=ka;if(e!==null)throw e}}function kl(e,t,n,a){Zs=!1;var o=e.updateQueue;Sn=!1;var c=o.firstBaseUpdate,p=o.lastBaseUpdate,E=o.shared.pending;if(E!==null){o.shared.pending=null;var M=E,z=M.next;M.next=null,p===null?c=z:p.next=z,p=M;var q=e.alternate;q!==null&&(q=q.updateQueue,E=q.lastBaseUpdate,E!==p&&(E===null?q.firstBaseUpdate=z:E.next=z,q.lastBaseUpdate=M))}if(c!==null){var J=o.baseState;p=0,q=z=M=null,E=c;do{var U=E.lane&-536870913,G=U!==E.lane;if(G?(be&U)===U:(a&U)===U){U!==0&&U===Ra&&(Zs=!0),q!==null&&(q=q.next={lane:0,tag:E.tag,payload:E.payload,callback:null,next:null});e:{var ae=e,ue=E;U=t;var De=n;switch(ue.tag){case 1:if(ae=ue.payload,typeof ae=="function"){J=ae.call(De,J,U);break e}J=ae;break e;case 3:ae.flags=ae.flags&-65537|128;case 0:if(ae=ue.payload,U=typeof ae=="function"?ae.call(De,J,U):ae,U==null)break e;J=S({},J,U);break e;case 2:Sn=!0}}U=E.callback,U!==null&&(e.flags|=64,G&&(e.flags|=8192),G=o.callbacks,G===null?o.callbacks=[U]:G.push(U))}else G={lane:U,tag:E.tag,payload:E.payload,callback:E.callback,next:null},q===null?(z=q=G,M=J):q=q.next=G,p|=U;if(E=E.next,E===null){if(E=o.shared.pending,E===null)break;G=E,E=G.next,G.next=null,o.lastBaseUpdate=G,o.shared.pending=null}}while(!0);q===null&&(M=J),o.baseState=M,o.firstBaseUpdate=z,o.lastBaseUpdate=q,c===null&&(o.shared.lanes=0),wn|=p,e.lanes=p,e.memoizedState=J}}function jd(e,t){if(typeof e!="function")throw Error(l(191,e));e.call(t)}function Td(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)jd(n[e],t)}var za=D(null),Qi=D(0);function Ad(e,t){e=un,Q(Qi,e),Q(za,t),un=e|t.baseLanes}function Xs(){Q(Qi,un),Q(za,za.current)}function Ks(){un=Qi.current,V(za),V(Qi)}var vt=D(null),_t=null;function Cn(e){var t=e.alternate;Q(Ge,Ge.current&1),Q(vt,e),_t===null&&(t===null||za.current!==null||t.memoizedState!==null)&&(_t=e)}function Is(e){Q(Ge,Ge.current),Q(vt,e),_t===null&&(_t=e)}function wd(e){e.tag===22?(Q(Ge,Ge.current),Q(vt,e),_t===null&&(_t=e)):jn()}function jn(){Q(Ge,Ge.current),Q(vt,vt.current)}function bt(e){V(vt),_t===e&&(_t=null),V(Ge)}var Ge=D(0);function Yi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||iu(n)||ru(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var en=0,he=null,Oe=null,Ve=null,Ji=!1,Ua=!1,la=!1,Wi=0,Nl=0,Ba=null,ug=0;function Be(){throw Error(l(321))}function $s(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!yt(e[n],t[n]))return!1;return!0}function eo(e,t,n,a,o,c){return en=c,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,N.H=e===null||e.memoizedState===null?df:yo,la=!1,c=n(a,o),la=!1,Ua&&(c=Od(t,n,a,o)),Md(e),c}function Md(e){N.H=Ul;var t=Oe!==null&&Oe.next!==null;if(en=0,Ve=Oe=he=null,Ji=!1,Nl=0,Ba=null,t)throw Error(l(300));
vendor: 5,451 bytes, line 9
9e===null||qe||(e=e.dependencies,e!==null&&Bi(e)&&(qe=!0))}function Od(e,t,n,a){he=e;var o=0;do{if(Ua&&(Ba=null),Nl=0,Ua=!1,25<=o)throw Error(l(301));if(o+=1,Ve=Oe=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}N.H=ff,c=t(n,a)}while(Ua);return c}function cg(){var e=N.H,t=e.useState()[0];return t=typeof t.then=="function"?Ll(t):t,e=e.useState()[0],(Oe!==null?Oe.memoizedState:null)!==e&&(he.flags|=1024),t}function to(){var e=Wi!==0;return Wi=0,e}function no(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ao(e){if(Ji){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ji=!1}en=0,Ve=Oe=he=null,Ua=!1,Nl=Wi=0,Ba=null}function at(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ve===null?he.memoizedState=Ve=e:Ve=Ve.next=e,Ve}function He(){if(Oe===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Oe.next;var t=Ve===null?he.memoizedState:Ve.next;if(t!==null)Ve=t,Oe=e;else{if(e===null)throw he.alternate===null?Error(l(467)):Error(l(310));Oe=e,e={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},Ve===null?he.memoizedState=Ve=e:Ve=Ve.next=e}return Ve}function Zi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ll(e){var t=Nl;return Nl+=1,Ba===null&&(Ba=[]),e=bd(Ba,e,t),t=he,(Ve===null?t.memoizedState:Ve.next)===null&&(t=t.alternate,N.H=t===null||t.memoizedState===null?df:yo),e}function Xi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ll(e);if(e.$$typeof===O)return $e(e)}throw Error(l(438,String(e)))}function lo(e){var t=null,n=he.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=he.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Zi(),he.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=$;return t.index++,n}function tn(e,t){return typeof t=="function"?t(e):t}function Ki(e){var t=He();return io(t,Oe,e)}function io(e,t,n){var a=e.queue;if(a===null)throw Error(l(311));a.lastRenderedReducer=n;var o=e.baseQueue,c=a.pending;if(c!==null){if(o!==null){var p=o.next;o.next=c.next,c.next=p}t.baseQueue=o=c,a.pending=null}if(c=e.baseState,o===null)e.memoizedState=c;else{t=o.next;var E=p=null,M=null,z=t,q=!1;do{var J=z.lane&-536870913;if(J!==z.lane?(be&J)===J:(en&J)===J){var U=z.revertLane;if(U===0)M!==null&&(M=M.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),J===Ra&&(q=!0);else if((en&U)===U){z=z.next,U===Ra&&(q=!0);continue}else J={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},M===null?(E=M=J,p=c):M=M.next=J,he.lanes|=U,wn|=U;J=z.action,la&&n(c,J),c=z.hasEagerState?z.eagerState:n(c,J)}else U={lane:J,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},M===null?(E=M=U,p=c):M=M.next=U,he.lanes|=J,wn|=J;z=z.next}while(z!==null&&z!==t);if(M===null?p=c:M.next=E,!yt(c,e.memoizedState)&&(qe=!0,q&&(n=ka,n!==null)))throw n;e.memoizedState=c,e.baseState=p,e.baseQueue=M,a.lastRenderedState=c}return o===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function ro(e){var t=He(),n=t.queue;if(n===null)throw Error(l(311));n.lastRenderedReducer=e;var a=n.dispatch,o=n.pending,c=t.memoizedState;if(o!==null){n.pending=null;var p=o=o.next;do c=e(c,p.action),p=p.next;while(p!==o);yt(c,t.memoizedState)||(qe=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,a]}function _d(e,t,n){var a=he,o=He(),c=Ee;if(c){if(n===void 0)throw Error(l(407));n=n()}else n=t();var p=!yt((Oe||o).memoizedState,n);if(p&&(o.memoizedState=n,qe=!0),o=o.queue,uo(kd.bind(null,a,o,e),[e]),o.getSnapshot!==t||p||Ve!==null&&Ve.memoizedState.tag&1){if(a.flags|=2048,Pa(9,{destroy:void 0},Rd.bind(null,a,o,n,t),null),Re===null)throw Error(l(349));c||(en&127)!==0||Dd(a,t,n)}return n}function Dd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t=Zi(),he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Rd(e,t,n,a){t.value=n,t.getSnapshot=a,Nd(t)&&Ld(e)}function kd(e,t,n){return n(function(){Nd(t)&&Ld(e)})}function Nd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!yt(e,n)}catch{return!0}}function Ld(e){var t=Zn(e,2);t!==null&&ct(t,e,2)}function so(e){var t=at();if(typeof e=="function"){var n=e;if(e=n(),la){hn(!0);try{n()}finally{hn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tn,lastRenderedState:e},t}function zd(e,t,n,a){return e.baseState=n,io(e,Oe,typeof a=="function"?a:tn)}function dg(e,t,n,a,o){if(er(e))throw Error(l(485));if(e=t.action,e!==null){var c={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){c.listeners.push(p)}};N.T!==null?n(!0):c.isTransition=!1,a(c),n=t.pending,n===null?(c.next=t.pending=c,Ud(t,c)):(c.next=n.next,t.pending=n.next=c)}}function Ud(e,t){var n=t.action,a=t.payload,o=e.state;if(t.isTransition){var c=N.T,p={};N.T=p;try{var E=n(o,a),M=N.S;M!==null&&M(p,E),Bd(e,t,E)}catch(z){oo(e,t,z)}
vendor: 7,301 bytes, line 9
9finally{c!==null&&p.types!==null&&(c.types=p.types),N.T=c}}else try{c=n(o,a),Bd(e,t,c)}catch(z){oo(e,t,z)}}function Bd(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Pd(e,t,a)},function(a){return oo(e,t,a)}):Pd(e,t,n)}function Pd(e,t,n){t.status="fulfilled",t.value=n,Gd(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Ud(e,n)))}function oo(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,Gd(t),t=t.next;while(t!==a)}e.action=null}function Gd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Hd(e,t){return t}function Fd(e,t){if(Ee){var n=Re.formState;if(n!==null){e:{var a=he;if(Ee){if(ke){t:{for(var o=ke,c=Ot;o.nodeType!==8;){if(!c){o=null;break t}if(o=Dt(o.nextSibling),o===null){o=null;break t}}c=o.data,o=c==="F!"||c==="F"?o:null}if(o){ke=Dt(o.nextSibling),a=o.data==="F!";break e}}vn(a)}a=!1}a&&(t=n[0])}}return n=at(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hd,lastRenderedState:t},n.queue=a,n=of.bind(null,he,a),a.dispatch=n,a=so(!1),c=po.bind(null,he,!1,a.queue),a=at(),o={state:t,dispatch:null,action:e,pending:null},a.queue=o,n=dg.bind(null,he,o,c,n),o.dispatch=n,a.memoizedState=e,[t,n,!1]}function Vd(e){var t=He();return qd(t,Oe,e)}function qd(e,t,n){if(t=io(e,t,Hd)[0],e=Ki(tn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Ll(t)}catch(p){throw p===Na?Hi:p}else a=t;t=He();var o=t.queue,c=o.dispatch;return n!==t.memoizedState&&(he.flags|=2048,Pa(9,{destroy:void 0},fg.bind(null,o,n),null)),[a,c,e]}function fg(e,t){e.action=t}function Qd(e){var t=He(),n=Oe;if(n!==null)return qd(t,n,e);He(),t=t.memoizedState,n=He();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Pa(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=he.updateQueue,t===null&&(t=Zi(),he.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Yd(){return He().memoizedState}function Ii(e,t,n,a){var o=at();he.flags|=e,o.memoizedState=Pa(1|t,{destroy:void 0},n,a===void 0?null:a)}function $i(e,t,n,a){var o=He();a=a===void 0?null:a;var c=o.memoizedState.inst;Oe!==null&&a!==null&&$s(a,Oe.memoizedState.deps)?o.memoizedState=Pa(t,c,n,a):(he.flags|=e,o.memoizedState=Pa(1|t,c,n,a))}function Jd(e,t){Ii(8390656,8,e,t)}function uo(e,t){$i(2048,8,e,t)}function hg(e){he.flags|=4;var t=he.updateQueue;if(t===null)t=Zi(),he.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Wd(e){var t=He().memoizedState;return hg({ref:t,nextImpl:e}),function(){if((Te&2)!==0)throw Error(l(440));return t.impl.apply(void 0,arguments)}}function Zd(e,t){return $i(4,2,e,t)}function Xd(e,t){return $i(4,4,e,t)}function Kd(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Id(e,t,n){n=n!=null?n.concat([e]):null,$i(4,4,Kd.bind(null,t,e),n)}function co(){}function $d(e,t){var n=He();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&$s(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function ef(e,t){var n=He();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&$s(t,a[1]))return a[0];if(a=e(),la){hn(!0);try{e()}finally{hn(!1)}}return n.memoizedState=[a,t],a}function fo(e,t,n){return n===void 0||(en&1073741824)!==0&&(be&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=nh(),he.lanes|=e,wn|=e,n)}function tf(e,t,n,a){return yt(n,t)?n:za.current!==null?(e=fo(e,n,a),yt(e,t)||(qe=!0),e):(en&42)===0||(en&1073741824)!==0&&(be&261930)===0?(qe=!0,e.memoizedState=n):(e=nh(),he.lanes|=e,wn|=e,t)}function nf(e,t,n,a,o){var c=W.p;W.p=c!==0&&8>c?c:8;var p=N.T,E={};N.T=E,po(e,!1,t,n);try{var M=o(),z=N.S;if(z!==null&&z(E,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var q=og(M,a);zl(e,t,q,xt(e))}else zl(e,t,a,xt(e))}catch(J){zl(e,t,{then:function(){},status:"rejected",reason:J},xt())}finally{W.p=c,p!==null&&E.types!==null&&(p.types=E.types),N.T=p}}function mg(){}function ho(e,t,n,a){if(e.tag!==5)throw Error(l(476));var o=af(e).queue;nf(e,o,t,ne,n===null?mg:function(){return lf(e),n(a)})}function af(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tn,lastRenderedState:ne},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function lf(e){var t=af(e);t.next===null&&(t=e.alternate.memoizedState),zl(e,t.next.queue,{},xt())}function mo(){return $e($l)}function rf(){return He().memoizedState}function sf(){return He().memoizedState}function pg(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=xt();e=En(n);var a=xn(t,e,n);a!==null&&(ct(a,t,n),Dl(a,t,n)),t={cache:Fs()},e.payload=t;return}t=t.return}}function yg(e,t,n){var a=xt();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},er(e)?uf(t,n):(n=Ds(e,t,n,a),n!==null&&(ct(n,e,a),cf(n,t,a)))}function of(e,t,n){var a=xt();zl(e,t,n,a)}function zl(e,t,n,a){var o={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(er(e))uf(t,o);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var p=t.lastRenderedState,E=c(p,n);if(o.hasEagerState=!0,o.eagerState=E,yt(E,p))return Ni(e,t,o,0),Re===null&&ki(),!1}catch{}if(n=Ds(e,t,o,a),n!==null)return ct(n,e,a),cf(n,t,a),!0}return!1}function po(e,t,n,a){if(a={lane:2,revertLane:Jo(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},er(e)){if(t)throw Error(l(479))}else t=Ds(e,n,a,2),t!==null&&ct(t,e,2)}function er(e){var t=e.alternate;return e===he||t!==null&&t===he}function uf(e,t){Ua=Ji=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cf(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,mc(e,n)}}var Ul={readContext:$e,use:Xi,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useLayoutEffect:Be,useInsertionEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useSyncExternalStore:Be,useId:Be,useHostTransitionStatus:Be,useFormState:Be,useActionState:Be,useOptimistic:Be,useMemoCache:Be,useCacheRefresh:Be};Ul.useEffectEvent=Be;var df={readContext:$e,use:Xi,useCallback:function(e,t){return at().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:Jd,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Ii(4194308,4,Kd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ii(4194308,4,e,t)},useInsertionEffect:function(e,t){Ii(4,2,e,t)},useMemo:function(e,t){var n=at();t=t===void 0?null:t;var a=e();if(la){hn(!0);try{e()}finally{hn(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=at();if(n!==void 0){var o=n(t);if(la){hn(!0);try{n(t)}finally{hn(!1)}}}else o=t;return a.memoizedState=a.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},a.queue=e,e=e.dispatch=yg.bind(null,he,e),[a.memoizedState,e]}
vendor: 19,787 bytes, line 9
9,useRef:function(e){var t=at();return e={current:e},t.memoizedState=e},useState:function(e){e=so(e);var t=e.queue,n=of.bind(null,he,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:co,useDeferredValue:function(e,t){var n=at();return fo(n,e,t)},useTransition:function(){var e=so(!1);return e=nf.bind(null,he,e.queue,!0,!1),at().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=he,o=at();if(Ee){if(n===void 0)throw Error(l(407));n=n()}else{if(n=t(),Re===null)throw Error(l(349));(be&127)!==0||Dd(a,t,n)}o.memoizedState=n;var c={value:n,getSnapshot:t};return o.queue=c,Jd(kd.bind(null,a,c,e),[e]),a.flags|=2048,Pa(9,{destroy:void 0},Rd.bind(null,a,c,n,t),null),n},useId:function(){var e=at(),t=Re.identifierPrefix;if(Ee){var n=Ft,a=Ht;n=(a&~(1<<32-pt(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Wi++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=ug++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:mo,useFormState:Fd,useActionState:Fd,useOptimistic:function(e){var t=at();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=po.bind(null,he,!0,n),n.dispatch=t,[e,t]},useMemoCache:lo,useCacheRefresh:function(){return at().memoizedState=pg.bind(null,he)},useEffectEvent:function(e){var t=at(),n={impl:e};return t.memoizedState=n,function(){if((Te&2)!==0)throw Error(l(440));return n.impl.apply(void 0,arguments)}}},yo={readContext:$e,use:Xi,useCallback:$d,useContext:$e,useEffect:uo,useImperativeHandle:Id,useInsertionEffect:Zd,useLayoutEffect:Xd,useMemo:ef,useReducer:Ki,useRef:Yd,useState:function(){return Ki(tn)},useDebugValue:co,useDeferredValue:function(e,t){var n=He();return tf(n,Oe.memoizedState,e,t)},useTransition:function(){var e=Ki(tn)[0],t=He().memoizedState;return[typeof e=="boolean"?e:Ll(e),t]},useSyncExternalStore:_d,useId:rf,useHostTransitionStatus:mo,useFormState:Vd,useActionState:Vd,useOptimistic:function(e,t){var n=He();return zd(n,Oe,e,t)},useMemoCache:lo,useCacheRefresh:sf};yo.useEffectEvent=Wd;var ff={readContext:$e,use:Xi,useCallback:$d,useContext:$e,useEffect:uo,useImperativeHandle:Id,useInsertionEffect:Zd,useLayoutEffect:Xd,useMemo:ef,useReducer:ro,useRef:Yd,useState:function(){return ro(tn)},useDebugValue:co,useDeferredValue:function(e,t){var n=He();return Oe===null?fo(n,e,t):tf(n,Oe.memoizedState,e,t)},useTransition:function(){var e=ro(tn)[0],t=He().memoizedState;return[typeof e=="boolean"?e:Ll(e),t]},useSyncExternalStore:_d,useId:rf,useHostTransitionStatus:mo,useFormState:Qd,useActionState:Qd,useOptimistic:function(e,t){var n=He();return Oe!==null?zd(n,Oe,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:lo,useCacheRefresh:sf};ff.useEffectEvent=Wd;function go(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:S({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var vo={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=xt(),o=En(a);o.payload=t,n!=null&&(o.callback=n),t=xn(e,o,a),t!==null&&(ct(t,e,a),Dl(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=xt(),o=En(a);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=xn(e,o,a),t!==null&&(ct(t,e,a),Dl(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=xt(),a=En(n);a.tag=2,t!=null&&(a.callback=t),t=xn(e,a,n),t!==null&&(ct(t,e,n),Dl(t,e,n))}};function hf(e,t,n,a,o,c,p){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,c,p):t.prototype&&t.prototype.isPureReactComponent?!Cl(n,a)||!Cl(o,c):!0}function mf(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&vo.enqueueReplaceState(t,t.state,null)}function ia(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=S({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function pf(e){Ri(e)}function yf(e){console.error(e)}function gf(e){Ri(e)}function tr(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function vf(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function bo(e,t,n){return n=En(n),n.tag=3,n.payload={element:null},n.callback=function(){tr(e,t)},n}function bf(e){return e=En(e),e.tag=3,e}function Sf(e,t,n,a){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var c=a.value;e.payload=function(){return o(c)},e.callback=function(){vf(t,n,a)}}var p=n.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){vf(t,n,a),typeof o!="function"&&(Mn===null?Mn=new Set([this]):Mn.add(this));var E=a.stack;this.componentDidCatch(a.value,{componentStack:E!==null?E:""})})}function gg(e,t,n,a,o){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Da(t,n,o,!0),n=vt.current,n!==null){switch(n.tag){case 31:case 13:return _t===null?hr():n.alternate===null&&Pe===0&&(Pe=3),n.flags&=-257,n.flags|=65536,n.lanes=o,a===Fi?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),qo(e,a,o)),!1;case 22:return n.flags|=65536,a===Fi?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),qo(e,a,o)),!1}throw Error(l(435,n.tag))}return qo(e,a,o),hr(),!1}if(Ee)return t=vt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,a!==Us&&(e=Error(l(422),{cause:a}),Al(At(e,n)))):(a!==Us&&(t=Error(l(423),{cause:a}),Al(At(t,n))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,a=At(a,n),o=bo(e.stateNode,a,o),Ws(e,o),Pe!==4&&(Pe=2)),!1;var c=Error(l(520),{cause:a});if(c=At(c,n),Ql===null?Ql=[c]:Ql.push(c),Pe!==4&&(Pe=2),t===null)return!0;a=At(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=bo(n.stateNode,a,e),Ws(n,e),!1;case 1:if(t=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Mn===null||!Mn.has(c))))return n.flags|=65536,o&=-o,n.lanes|=o,o=bf(o),Sf(o,e,n,a),Ws(n,o),!1}n=n.return}while(n!==null);return!1}var So=Error(l(461)),qe=!1;function et(e,t,n,a){t.child=e===null?Cd(t,null,n,a):aa(t,e.child,n,a)}function Ef(e,t,n,a,o){n=n.render;var c=t.ref;if("ref"in a){var p={};for(var E in a)E!=="ref"&&(p[E]=a[E])}else p=a;return $n(t),a=eo(e,t,n,p,c,o),E=to(),e!==null&&!qe?(no(e,t,o),nn(e,t,o)):(Ee&&E&&Ls(t),t.flags|=1,et(e,t,a,o),t.child)}function xf(e,t,n,a,o){if(e===null){var c=n.type;return typeof c=="function"&&!Rs(c)&&c.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=c,Cf(e,t,c,a,o)):(e=zi(n.type,null,a,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!Mo(e,o)){var p=c.memoizedProps;if(n=n.compare,n=n!==null?n:Cl,n(p,a)&&e.ref===t.ref)return nn(e,t,o)}return t.flags|=1,e=Xt(c,a),e.ref=t.ref,e.return=t,t.child=e}function Cf(e,t,n,a,o){if(e!==null){var c=e.memoizedProps;if(Cl(c,a)&&e.ref===t.ref)if(qe=!1,t.pendingProps=a=c,Mo(e,o))(e.flags&131072)!==0&&(qe=!0);else return t.lanes=e.lanes,nn(e,t,o)}return Eo(e,t,n,a,o)}function jf(e,t,n,a){var o=a.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|n:n,e!==null){for(a=t.child=e.child,o=0;a!==null;)o=o|a.lanes|a.childLanes,a=a.sibling;a=o&~c}else a=0,t.child=null;return Tf(e,t,c,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Gi(t,c!==null?c.cachePool:null),c!==null?Ad(t,c):Xs(),wd(t);else return a=t.lanes=536870912,Tf(e,t,c!==null?c.baseLanes|n:n,n,a)}else c!==null?(Gi(t,c.cachePool),Ad(t,c),jn(),t.memoizedState=null):(e!==null&&Gi(t,null),Xs(),jn());return et(e,t,o,n),t.child}function Bl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Tf(e,t,n,a,o){var c=qs();return c=c===null?null:{parent:Fe._currentValue,pool:c},t.memoizedState={baseLanes:n,cachePool:c},e!==null&&Gi(t,null),Xs(),wd(t),e!==null&&Da(e,t,a,!0),t.childLanes=o,null}function nr(e,t){return t=lr({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Af(e,t,n){return aa(t,e.child,null,n),e=nr(t,t.pendingProps),e.flags|=2,bt(t),t.memoizedState=null,e}function vg(e,t,n){var a=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ee){if(a.mode==="hidden")return e=nr(t,a),t.lanes=536870912,Bl(null,e);if(Is(t),(e=ke)?(e=Bh(e,Ot),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:yn!==null?{id:Ht,overflow:Ft}:null,retryLane:536870912,hydrationErrors:null},n=od(e),n.return=t,t.child=n,Ie=t,ke=null)):e=null,e===null)throw vn(t);return t.lanes=536870912,null}return nr(t,a)}var c=e.memoizedState;if(c!==null){var p=c.dehydrated;if(Is(t),o)if(t.flags&256)t.flags&=-257,t=Af(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(l(558));else if(qe||Da(e,t,n,!1),o=(n&e.childLanes)!==0,qe||o){if(a=Re,a!==null&&(p=pc(a,n),p!==0&&p!==c.retryLane))throw c.retryLane=p,Zn(e,p),ct(a,e,p),So;hr(),t=Af(e,t,n)}else e=c.treeContext,ke=Dt(p.nextSibling),Ie=t,Ee=!0,gn=null,Ot=!1,e!==null&&dd(t,e),t=nr(t,a),t.flags|=4096;return t}return e=Xt(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ar(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(l(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Eo(e,t,n,a,o){return $n(t),n=eo(e,t,n,a,void 0,o),a=to(),e!==null&&!qe?(no(e,t,o),nn(e,t,o)):(Ee&&a&&Ls(t),t.flags|=1,et(e,t,n,o),t.child)}function wf(e,t,n,a,o,c){return $n(t),t.updateQueue=null,n=Od(t,a,n,o),Md(e),a=to(),e!==null&&!qe?(no(e,t,c),nn(e,t,c)):(Ee&&a&&Ls(t),t.flags|=1,et(e,t,n,c),t.child)}function Mf(e,t,n,a,o){if($n(t),t.stateNode===null){var c=wa,p=n.contextType;typeof p=="object"&&p!==null&&(c=$e(p)),c=new n(a,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=vo,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=a,c.state=t.memoizedState,c.refs={},Ys(t),p=n.contextType,c.context=typeof p=="object"&&p!==null?$e(p):wa,c.state=t.memoizedState,p=n.getDerivedStateFromProps,typeof p=="function"&&(go(t,n,p,a),c.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(p=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),p!==c.state&&vo.enqueueReplaceState(c,c.state,null),kl(t,a,c,o),Rl(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){c=t.stateNode;var E=t.memoizedProps,M=ia(n,E);c.props=M;var z=c.context,q=n.contextType;p=wa,typeof q=="object"&&q!==null&&(p=$e(q));var J=n.getDerivedStateFromProps;q=typeof J=="function"||typeof c.getSnapshotBeforeUpdate=="function",E=t.pendingProps!==E,q||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(E||z!==p)&&mf(t,c,a,p),Sn=!1;var U=t.memoizedState;c.state=U,kl(t,a,c,o),Rl(),z=t.memoizedState,E||U!==z||Sn?(typeof J=="function"&&(go(t,n,J,a),z=t.memoizedState),(M=Sn||hf(t,n,M,a,U,z,p))?(q||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=z),c.props=a,c.state=z,c.context=p,a=M):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{c=t.stateNode,Js(e,t),p=t.memoizedProps,q=ia(n,p),c.props=q,J=t.pendingProps,U=c.context,z=n.contextType,M=wa,typeof z=="object"&&z!==null&&(M=$e(z)),E=n.getDerivedStateFromProps,(z=typeof E=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(p!==J||U!==M)&&mf(t,c,a,M),Sn=!1,U=t.memoizedState,c.state=U,kl(t,a,c,o),Rl();var G=t.memoizedState;p!==J||U!==G||Sn||e!==null&&e.dependencies!==null&&Bi(e.dependencies)?(typeof E=="function"&&(go(t,n,E,a),G=t.memoizedState),(q=Sn||hf(t,n,q,a,U,G,M)||e!==null&&e.dependencies!==null&&Bi(e.dependencies))?(z||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(a,G,M),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(a,G,M)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=G),c.props=a,c.state=G,c.context=M,a=q):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),a=!1)}return c=a,ar(e,t),a=(t.flags&128)!==0,c||a?(c=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&a?(t.child=aa(t,e.child,null,o),t.child=aa(t,null,n,o)):et(e,t,n,o),t.memoizedState=c.state,e=t.child):e=nn(e,t,o),e}function Of(e,t,n,a){return Kn(),t.flags|=256,et(e,t,n,a),t.child}var xo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Co(e){return{baseLanes:e,cachePool:gd()}}function jo(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Et),e}function _f(e,t,n){var a=t.pendingProps,o=!1,c=(t.flags&128)!==0,p;if((p=c)||(p=e!==null&&e.memoizedState===null?!1:(Ge.current&2)!==0),p&&(o=!0,t.flags&=-129),p=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ee){if(o?Cn(t):jn(),(e=ke)?(e=Bh(e,Ot),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:yn!==null?{id:Ht,overflow:Ft}:null,retryLane:536870912,hydrationErrors:null},n=od(e),n.return=t,t.child=n,Ie=t,ke=null)):e=null,e===null)throw vn(t);return ru(e)?t.lanes=32:t.lanes=536870912,null}var E=a.children;return a=a.fallback,o?(jn(),o=t.mode,E=lr({mode:"hidden",children:E},o),a=Xn(a,o,n,null),E.return=t,a.return=t,E.sibling=a,t.child=E,a=t.child,a.memoizedState=Co(n),a.childLanes=jo(e,p,n),t.memoizedState=xo,Bl(null,a)):(Cn(t),To(t,E))}var M=e.memoizedState;if(M!==null&&(E=M.dehydrated,E!==null)){if(c)t.flags&256?(Cn(t),t.flags&=-257,t=Ao(e,t,n)):t.memoizedState!==null?(jn(),t.child=e.child,t.flags|=128,t=null):(jn(),E=a.fallback,o=t.mode,a=lr({mode:"visible",children:a.children},o),E=Xn(E,o,n,null),E.flags|=2,a.return=t,E.return=t,a.sibling=E,t.child=a,aa(t,e.child,null,n),a=t.child,a.memoizedState=Co(n),a.childLanes=jo(e,p,n),t.memoizedState=xo,t=Bl(null,a));else if(Cn(t),ru(E)){if(p=E.nextSibling&&E.nextSibling.dataset,p)var z=p.dgst;p=z,a=Error(l(419)),a.stack="",a.digest=p,Al({value:a,source:null,stack:null}),t=Ao(e,t,n)}else if(qe||Da(e,t,n,!1),p=(n&e.childLanes)!==0,qe||p){if(p=Re,p!==null&&(a=pc(p,n),a!==0&&a!==M.retryLane))throw M.retryLane=a,Zn(e,a),ct(p,e,a),So;iu(E)||hr(),t=Ao(e,t,n)}else iu(E)?(t.flags|=192,t.child=e.child,t=null):(e=M.treeContext,ke=Dt(E.nextSibling),Ie=t,Ee=!0,gn=null,Ot=!1,e!==null&&dd(t,e),t=To(t,a.children),t.flags|=4096);return t}return o?(jn(),E=a.fallback,o=t.mode,M=e.child,z=M.sibling,a=Xt(M,{mode:"hidden",children:a.children}),a.subtreeFlags=M.subtreeFlags&65011712,z!==null?E=Xt(z,E):(E=Xn(E,o,n,null),E.flags|=2),E.return=t,a.return=t,a.sibling=E,t.child=a,Bl(null,a),a=t.child,E=e.child.memoizedState,E===null?E=Co(n):(o=E.cachePool,o!==null?(M=Fe._currentValue,o=o.parent!==M?{parent:M,pool:M}:o):o=gd(),E={baseLanes:E.baseLanes|n,cachePool:o}),a.memoizedState=E,a.childLanes=jo(e,p,n),t.memoizedState=xo,Bl(e.child,a)):(Cn(t),n=e.child,e=n.sibling,n=Xt(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(p=t.deletions,p===null?(t.deletions=[e],t.flags|=16):p.push(e)),t.child=n,t.memoizedState=null,n)}function To(e,t){return t=lr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function lr(e,t){return e=gt(22,e,null,t),e.lanes=0,e}function Ao(e,t,n){return aa(t,e.child,null,n),e=To(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Df(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Gs(e.return,t,n)}function wo(e,t,n,a,o,c){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:o,treeForkCount:c}:(p.isBackwards=t,p.rendering=null,p.renderingStartTime=0,p.last=a,p.tail=n,p.tailMode=o,p.treeForkCount=c)}function Rf(e,t,n){var a=t.pendingProps,o=a.revealOrder,c=a.tail;a=a.children;var p=Ge.current,E=(p&2)!==0;if(E?(p=p&1|2,t.flags|=128):p&=1,Q(Ge,p),et(e,t,a,n),a=Ee?Tl:0,!E&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Df(e,n,t);else if(e.tag===19)Df(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Yi(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),wo(t,!1,o,n,c,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Yi(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}wo(t,!0,n,null,c,a);break;case"together":wo(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function nn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),wn|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Da(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(l(153));if(t.child!==null){for(e=t.child,n=Xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Mo(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Bi(e)))}function bg(e,t,n){switch(t.tag){case 3:Xe(t,t.stateNode.containerInfo),bn(t,Fe,e.memoizedState.cache),Kn();break;case 27:case 5:ul(t);break;case 4:Xe(t,t.stateNode.containerInfo);break;case 10:bn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Is(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Cn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?_f(e,t,n):(Cn(t),e=nn(e,t,n),e!==null?e.sibling:null);Cn(t);break;case 19:var o=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Da(e,t,n,!1),a=(n&t.childLanes)!==0),o){if(a)return Rf(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Q(Ge,Ge.current),a)break;return null;case 22:return t.lanes=0,jf(e,t,n,t.pendingProps);case 24:bn(t,Fe,e.memoizedState.cache)}return nn(e,t,n)}function kf(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)qe=!0;else{if(!Mo(e,n)&&(t.flags&128)===0)return qe=!1,bg(e,t,n);qe=(e.flags&131072)!==0}
vendor: 4,473 bytes, line 9
9else qe=!1,Ee&&(t.flags&1048576)!==0&&cd(t,Tl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=ta(t.elementType),t.type=e,typeof e=="function")Rs(e)?(a=ia(e,a),t.tag=1,t=Mf(null,t,e,a,n)):(t.tag=0,t=Eo(null,t,e,a,n));else{if(e!=null){var o=e.$$typeof;if(o===P){t.tag=11,t=Ef(null,t,e,a,n);break e}else if(o===B){t.tag=14,t=xf(null,t,e,a,n);break e}}throw t=X(e)||e,Error(l(306,t,""))}}return t;case 0:return Eo(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,o=ia(a,t.pendingProps),Mf(e,t,a,o,n);case 3:e:{if(Xe(t,t.stateNode.containerInfo),e===null)throw Error(l(387));a=t.pendingProps;var c=t.memoizedState;o=c.element,Js(e,t),kl(t,a,null,n);var p=t.memoizedState;if(a=p.cache,bn(t,Fe,a),a!==c.cache&&Hs(t,[Fe],n,!0),Rl(),a=p.element,c.isDehydrated)if(c={element:a,isDehydrated:!1,cache:p.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=Of(e,t,a,n);break e}else if(a!==o){o=At(Error(l(424)),t),Al(o),t=Of(e,t,a,n);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,ke=Dt(e.firstChild),Ie=t,Ee=!0,gn=null,Ot=!0,n=Cd(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Kn(),a===o){t=nn(e,t,n);break e}et(e,t,a,n)}t=t.child}return t;case 26:return ar(e,t),e===null?(n=qh(t.type,null,t.pendingProps,null))?t.memoizedState=n:Ee||(n=t.type,e=t.pendingProps,a=Sr(ce.current).createElement(n),a[Ke]=t,a[lt]=e,tt(a,n,e),Je(a),t.stateNode=a):t.memoizedState=qh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ul(t),e===null&&Ee&&(a=t.stateNode=Hh(t.type,t.pendingProps,ce.current),Ie=t,Ot=!0,o=ke,Rn(t.type)?(su=o,ke=Dt(a.firstChild)):ke=o),et(e,t,t.pendingProps.children,n),ar(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ee&&((o=a=ke)&&(a=Zg(a,t.type,t.pendingProps,Ot),a!==null?(t.stateNode=a,Ie=t,ke=Dt(a.firstChild),Ot=!1,o=!0):o=!1),o||vn(t)),ul(t),o=t.type,c=t.pendingProps,p=e!==null?e.memoizedProps:null,a=c.children,nu(o,c)?a=null:p!==null&&nu(o,p)&&(t.flags|=32),t.memoizedState!==null&&(o=eo(e,t,cg,null,null,n),$l._currentValue=o),ar(e,t),et(e,t,a,n),t.child;case 6:return e===null&&Ee&&((e=n=ke)&&(n=Xg(n,t.pendingProps,Ot),n!==null?(t.stateNode=n,Ie=t,ke=null,e=!0):e=!1),e||vn(t)),null;case 13:return _f(e,t,n);case 4:return Xe(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=aa(t,null,a,n):et(e,t,a,n),t.child;case 11:return Ef(e,t,t.type,t.pendingProps,n);case 7:return et(e,t,t.pendingProps,n),t.child;case 8:return et(e,t,t.pendingProps.children,n),t.child;case 12:return et(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,bn(t,t.type,a.value),et(e,t,a.children,n),t.child;case 9:return o=t.type._context,a=t.pendingProps.children,$n(t),o=$e(o),a=a(o),t.flags|=1,et(e,t,a,n),t.child;case 14:return xf(e,t,t.type,t.pendingProps,n);case 15:return Cf(e,t,t.type,t.pendingProps,n);case 19:return Rf(e,t,n);case 31:return vg(e,t,n);case 22:return jf(e,t,n,t.pendingProps);case 24:return $n(t),a=$e(Fe),e===null?(o=qs(),o===null&&(o=Re,c=Fs(),o.pooledCache=c,c.refCount++,c!==null&&(o.pooledCacheLanes|=n),o=c),t.memoizedState={parent:a,cache:o},Ys(t),bn(t,Fe,o)):((e.lanes&n)!==0&&(Js(e,t),kl(t,null,null,n),Rl()),o=e.memoizedState,c=t.memoizedState,o.parent!==a?(o={parent:a,cache:a},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),bn(t,Fe,a)):(a=c.cache,bn(t,Fe,a),a!==o.cache&&Hs(t,[Fe],n,!0))),et(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function an(e){e.flags|=4}function Oo(e,t,n,a,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(rh())e.flags|=8192;else throw na=Fi,Qs}else e.flags&=-16777217}function Nf(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Zh(t))if(rh())e.flags|=8192;else throw na=Fi,Qs}function ir(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?fc():536870912,e.lanes|=t,Va|=t)}function Pl(e,t){if(!Ee)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Ne(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var o=e.child;o!==null;
vendor: 7,577 bytes, line 9
9)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&65011712,a|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function Sg(e,t,n){var a=t.pendingProps;switch(zs(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ne(t),null;case 1:return Ne(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),$t(Fe),ze(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(_a(t)?an(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Bs())),Ne(t),null;case 26:var o=t.type,c=t.memoizedState;return e===null?(an(t),c!==null?(Ne(t),Nf(t,c)):(Ne(t),Oo(t,o,null,a,n))):c?c!==e.memoizedState?(an(t),Ne(t),Nf(t,c)):(Ne(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&an(t),Ne(t),Oo(t,o,e,a,n)),null;case 27:if(ha(t),n=ce.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&an(t);else{if(!a){if(t.stateNode===null)throw Error(l(166));return Ne(t),null}e=I.current,_a(t)?fd(t):(e=Hh(o,a,n),t.stateNode=e,an(t))}return Ne(t),null;case 5:if(ha(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&an(t);else{if(!a){if(t.stateNode===null)throw Error(l(166));return Ne(t),null}if(c=I.current,_a(t))fd(t);else{var p=Sr(ce.current);switch(c){case 1:c=p.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:c=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":c=p.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":c=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":c=p.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?p.createElement("select",{is:a.is}):p.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?p.createElement(o,{is:a.is}):p.createElement(o)}}c[Ke]=t,c[lt]=a;e:for(p=t.child;p!==null;){if(p.tag===5||p.tag===6)c.appendChild(p.stateNode);else if(p.tag!==4&&p.tag!==27&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)break e;for(;p.sibling===null;){if(p.return===null||p.return===t)break e;p=p.return}p.sibling.return=p.return,p=p.sibling}t.stateNode=c;e:switch(tt(c,o,a),o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&an(t)}}return Ne(t),Oo(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&an(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(l(166));if(e=ce.current,_a(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,o=Ie,o!==null)switch(o.tag){case 27:case 5:a=o.memoizedProps}e[Ke]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||_h(e.nodeValue,n)),e||vn(t,!0)}else e=Sr(e).createTextNode(a),e[Ke]=t,t.stateNode=e}return Ne(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=_a(t),n!==null){if(e===null){if(!a)throw Error(l(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(557));e[Ke]=t}else Kn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ne(t),e=!1}else n=Bs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(bt(t),t):(bt(t),null);if((t.flags&128)!==0)throw Error(l(558))}return Ne(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=_a(t),a!==null&&a.dehydrated!==null){if(e===null){if(!o)throw Error(l(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(l(317));o[Ke]=t}else Kn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ne(t),o=!1}else o=Bs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(bt(t),t):(bt(t),null)}return bt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,o=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(o=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==o&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ir(t,t.updateQueue),Ne(t),null);case 4:return ze(),e===null&&Ko(t.stateNode.containerInfo),Ne(t),null;case 10:return $t(t.type),Ne(t),null;case 19:if(V(Ge),a=t.memoizedState,a===null)return Ne(t),null;if(o=(t.flags&128)!==0,c=a.rendering,c===null)if(o)Pl(a,!1);else{if(Pe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Yi(e),c!==null){for(t.flags|=128,Pl(a,!1),e=c.updateQueue,t.updateQueue=e,ir(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)sd(n,e),n=n.sibling;return Q(Ge,Ge.current&1|2),Ee&&Kt(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&ht()>cr&&(t.flags|=128,o=!0,Pl(a,!1),t.lanes=4194304)}else{if(!o)if(e=Yi(c),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,ir(t,e),Pl(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!Ee)return Ne(t),null}else 2*ht()-a.renderingStartTime>cr&&n!==536870912&&(t.flags|=128,o=!0,Pl(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=ht(),e.sibling=null,n=Ge.current,Q(Ge,o?n&1|2:n&1),Ee&&Kt(t,a.treeForkCount),e):(Ne(t),null);case 22:case 23:return bt(t),Ks(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(Ne(t),t.subtreeFlags&6&&(t.flags|=8192)):Ne(t),n=t.updateQueue,n!==null&&ir(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&V(ea),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),$t(Fe),Ne(t),null;case 25:return null;case 30:return null}throw Error(l(156,t.tag))}function Eg(e,t){switch(zs(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $t(Fe),ze(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ha(t),null;case 31:if(t.memoizedState!==null){if(bt(t),t.alternate===null)throw Error(l(340));Kn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(bt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(l(340));Kn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(Ge),null;case 4:return ze(),null;case 10:return $t(t.type),null;case 22:case 23:return bt(t),Ks(),e!==null&&V(ea),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return $t(Fe),null;case 25:return null;default:return null}}function Lf(e,t){switch(zs(t),t.tag){case 3:$t(Fe),ze();break;case 26:case 27:case 5:ha(t);break;case 4:ze();break;case 31:t.memoizedState!==null&&bt(t);break;case 13:bt(t);break;case 19:V(Ge);break;case 10:$t(t.type);break;case 22:case 23:bt(t),Ks(),e!==null&&V(ea);break;case 24:$t(Fe)}}function Gl(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var o=a.next;n=o;do{if((n.tag&e)===e){a=void 0;var c=n.create,p=n.inst;a=c(),p.destroy=a}n=n.next}while(n!==o)}}catch(E){Me(t,t.return,E)}}
vendor: 18,780 bytes, line 9
9function Tn(e,t,n){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var c=o.next;a=c;do{if((a.tag&e)===e){var p=a.inst,E=p.destroy;if(E!==void 0){p.destroy=void 0,o=t;var M=n,z=E;try{z()}catch(q){Me(o,M,q)}}}a=a.next}while(a!==c)}}catch(q){Me(t,t.return,q)}}function zf(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Td(t,n)}catch(a){Me(e,e.return,a)}}}function Uf(e,t,n){n.props=ia(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Me(e,t,a)}}function Hl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(o){Me(e,t,o)}}function Vt(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(o){Me(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(o){Me(e,t,o)}else n.current=null}function Bf(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(o){Me(e,e.return,o)}}function _o(e,t,n){try{var a=e.stateNode;Vg(a,e.type,n,t),a[lt]=t}catch(o){Me(e,e.return,o)}}function Pf(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Rn(e.type)||e.tag===4}function Do(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Rn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ro(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Wt));else if(a!==4&&(a===27&&Rn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Ro(e,t,n),e=e.sibling;e!==null;)Ro(e,t,n),e=e.sibling}function rr(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Rn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(rr(e,t,n),e=e.sibling;e!==null;)rr(e,t,n),e=e.sibling}function Gf(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);tt(t,a,n),t[Ke]=e,t[lt]=n}catch(c){Me(e,e.return,c)}}var ln=!1,Qe=!1,ko=!1,Hf=typeof WeakSet=="function"?WeakSet:Set,We=null;function xg(e,t){if(e=e.containerInfo,eu=wr,e=Ic(e),Ts(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var o=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var p=0,E=-1,M=-1,z=0,q=0,J=e,U=null;t:for(;;){for(var G;J!==n||o!==0&&J.nodeType!==3||(E=p+o),J!==c||a!==0&&J.nodeType!==3||(M=p+a),J.nodeType===3&&(p+=J.nodeValue.length),(G=J.firstChild)!==null;)U=J,J=G;for(;;){if(J===e)break t;if(U===n&&++z===o&&(E=p),U===c&&++q===a&&(M=p),(G=J.nextSibling)!==null)break;J=U,U=J.parentNode}J=G}n=E===-1||M===-1?null:{start:E,end:M}}else n=null}n=n||{start:0,end:0}}else n=null;for(tu={focusedElem:e,selectionRange:n},wr=!1,We=t;We!==null;)if(t=We,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,We=e;else for(;We!==null;){switch(t=We,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)o=e[n],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,n=t,o=c.memoizedProps,c=c.memoizedState,a=n.stateNode;try{var ae=ia(n.type,o);e=a.getSnapshotBeforeUpdate(ae,c),a.__reactInternalSnapshotBeforeUpdate=e}catch(ue){Me(n,n.return,ue)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)lu(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":lu(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(l(163))}if(e=t.sibling,e!==null){e.return=t.return,We=e;break}We=t.return}}function Ff(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:sn(e,n),a&4&&Gl(5,n);break;case 1:if(sn(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(p){Me(n,n.return,p)}else{var o=ia(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(p){Me(n,n.return,p)}}a&64&&zf(n),a&512&&Hl(n,n.return);break;case 3:if(sn(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Td(e,t)}catch(p){Me(n,n.return,p)}}break;case 27:t===null&&a&4&&Gf(n);case 26:case 5:sn(e,n),t===null&&a&4&&Bf(n),a&512&&Hl(n,n.return);break;case 12:sn(e,n);break;case 31:sn(e,n),a&4&&Qf(e,n);break;case 13:sn(e,n),a&4&&Yf(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Dg.bind(null,n),Kg(e,n))));break;case 22:if(a=n.memoizedState!==null||ln,!a){t=t!==null&&t.memoizedState!==null||Qe,o=ln;var c=Qe;ln=a,(Qe=t)&&!c?on(e,n,(n.subtreeFlags&8772)!==0):sn(e,n),ln=o,Qe=c}break;case 30:break;default:sn(e,n)}}function Vf(e){var t=e.alternate;t!==null&&(e.alternate=null,Vf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&os(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Le=null,rt=!1;function rn(e,t,n){for(n=n.child;n!==null;)qf(e,t,n),n=n.sibling}function qf(e,t,n){if(mt&&typeof mt.onCommitFiberUnmount=="function")try{mt.onCommitFiberUnmount(dl,n)}catch{}switch(n.tag){case 26:Qe||Vt(n,t),rn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Qe||Vt(n,t);var a=Le,o=rt;Rn(n.type)&&(Le=n.stateNode,rt=!1),rn(e,t,n),Xl(n.stateNode),Le=a,rt=o;break;case 5:Qe||Vt(n,t);case 6:if(a=Le,o=rt,Le=null,rn(e,t,n),Le=a,rt=o,Le!==null)if(rt)try{(Le.nodeType===9?Le.body:Le.nodeName==="HTML"?Le.ownerDocument.body:Le).removeChild(n.stateNode)}catch(c){Me(n,t,c)}else try{Le.removeChild(n.stateNode)}catch(c){Me(n,t,c)}break;case 18:Le!==null&&(rt?(e=Le,zh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Ka(e)):zh(Le,n.stateNode));break;case 4:a=Le,o=rt,Le=n.stateNode.containerInfo,rt=!0,rn(e,t,n),Le=a,rt=o;break;case 0:case 11:case 14:case 15:Tn(2,n,t),Qe||Tn(4,n,t),rn(e,t,n);break;case 1:Qe||(Vt(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&Uf(n,t,a)),rn(e,t,n);break;case 21:rn(e,t,n);break;case 22:Qe=(a=Qe)||n.memoizedState!==null,rn(e,t,n),Qe=a;break;default:rn(e,t,n)}}function Qf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ka(e)}catch(n){Me(t,t.return,n)}}}function Yf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ka(e)}catch(n){Me(t,t.return,n)}}function Cg(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Hf),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Hf),t;default:throw Error(l(435,e.tag))}}function sr(e,t){var n=Cg(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var o=Rg.bind(null,e,a);a.then(o,o)}})}function st(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var o=n[a],c=e,p=t,E=p;e:for(;E!==null;){switch(E.tag){case 27:if(Rn(E.type)){Le=E.stateNode,rt=!1;break e}break;case 5:Le=E.stateNode,rt=!1;break e;case 3:case 4:Le=E.stateNode.containerInfo,rt=!0;break e}E=E.return}if(Le===null)throw Error(l(160));qf(c,p,o),Le=null,rt=!1,c=o.alternate,c!==null&&(c.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Jf(t,e),t=t.sibling}var zt=null;function Jf(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:st(t,e),ot(e),a&4&&(Tn(3,e,e.return),Gl(3,e),Tn(5,e,e.return));break;case 1:st(t,e),ot(e),a&512&&(Qe||n===null||Vt(n,n.return)),a&64&&ln&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var o=zt;if(st(t,e),ot(e),a&512&&(Qe||n===null||Vt(n,n.return)),a&4){var c=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(a){case"title":c=o.getElementsByTagName("title")[0],(!c||c[ml]||c[Ke]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=o.createElement(a),o.head.insertBefore(c,o.querySelector("head > title"))),tt(c,a,n),c[Ke]=e,Je(c),a=c;break e;case"link":var p=Jh("link","href",o).get(a+(n.href||""));if(p){for(var E=0;E<p.length;E++)if(c=p[E],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){p.splice(E,1);break t}}c=o.createElement(a),tt(c,a,n),o.head.appendChild(c);break;case"meta":if(p=Jh("meta","content",o).get(a+(n.content||""))){for(E=0;E<p.length;E++)if(c=p[E],c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){p.splice(E,1);break t}}c=o.createElement(a),tt(c,a,n),o.head.appendChild(c);break;default:throw Error(l(468,a))}c[Ke]=e,Je(c),a=c}e.stateNode=a}else Wh(o,e.type,e.stateNode);else e.stateNode=Yh(o,a,e.memoizedProps);else c!==a?(c===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):c.count--,a===null?Wh(o,e.type,e.stateNode):Yh(o,a,e.memoizedProps)):a===null&&e.stateNode!==null&&_o(e,e.memoizedProps,n.memoizedProps)}break;case 27:st(t,e),ot(e),a&512&&(Qe||n===null||Vt(n,n.return)),n!==null&&a&4&&_o(e,e.memoizedProps,n.memoizedProps);break;case 5:if(st(t,e),ot(e),a&512&&(Qe||n===null||Vt(n,n.return)),e.flags&32){o=e.stateNode;try{Sa(o,"")}catch(ae){Me(e,e.return,ae)}}a&4&&e.stateNode!=null&&(o=e.memoizedProps,_o(e,o,n!==null?n.memoizedProps:o)),a&1024&&(ko=!0);break;case 6:if(st(t,e),ot(e),a&4){if(e.stateNode===null)throw Error(l(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(ae){Me(e,e.return,ae)}}break;case 3:if(Cr=null,o=zt,zt=Er(t.containerInfo),st(t,e),zt=o,ot(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Ka(t.containerInfo)}catch(ae){Me(e,e.return,ae)}ko&&(ko=!1,Wf(e));break;case 4:a=zt,zt=Er(e.stateNode.containerInfo),st(t,e),ot(e),zt=a;break;case 12:st(t,e),ot(e);break;case 31:st(t,e),ot(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,sr(e,a)));break;case 13:st(t,e),ot(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ur=ht()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,sr(e,a)));break;case 22:o=e.memoizedState!==null;var M=n!==null&&n.memoizedState!==null,z=ln,q=Qe;if(ln=z||o,Qe=q||M,st(t,e),Qe=q,ln=z,ot(e),a&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(n===null||M||ln||Qe||ra(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){M=n=t;try{if(c=M.stateNode,o)p=c.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{E=M.stateNode;var J=M.memoizedProps.style,U=J!=null&&J.hasOwnProperty("display")?J.display:null;E.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch(ae){Me(M,M.return,ae)}}}else if(t.tag===6){if(n===null){M=t;try{M.stateNode.nodeValue=o?"":M.memoizedProps}catch(ae){Me(M,M.return,ae)}}}else if(t.tag===18){if(n===null){M=t;try{var G=M.stateNode;o?Uh(G,!0):Uh(M.stateNode,!1)}catch(ae){Me(M,M.return,ae)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,sr(e,n))));break;case 19:st(t,e),ot(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,sr(e,a)));break;case 30:break;case 21:break;default:st(t,e),ot(e)}}function ot(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(Pf(a)){n=a;break}a=a.return}if(n==null)throw Error(l(160));switch(n.tag){case 27:var o=n.stateNode,c=Do(e);rr(e,c,o);break;case 5:var p=n.stateNode;n.flags&32&&(Sa(p,""),n.flags&=-33);var E=Do(e);rr(e,E,p);break;case 3:case 4:var M=n.stateNode.containerInfo,z=Do(e);Ro(e,z,M);break;default:throw Error(l(161))}}catch(q){Me(e,e.return,q)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Wf(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Wf(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function sn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Ff(e,t.alternate,t),t=t.sibling}function ra(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Tn(4,t,t.return),ra(t);break;case 1:Vt(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Uf(t,t.return,n),ra(t);break;case 27:Xl(t.stateNode);case 26:case 5:Vt(t,t.return),ra(t);break;case 22:t.memoizedState===null&&ra(t);break;case 30:ra(t);break;default:ra(t)}e=e.sibling}}function on(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,o=e,c=t,p=c.flags;switch(c.tag){case 0:case 11:case 15:on(o,c,n),Gl(4,c);break;case 1:if(on(o,c,n),a=c,o=a.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(z){Me(a,a.return,z)}if(a=c,o=a.updateQueue,o!==null){var E=a.stateNode;try{var M=o.shared.hiddenCallbacks;if(M!==null)for(o.shared.hiddenCallbacks=null,o=0;o<M.length;o++)jd(M[o],E)}catch(z){Me(a,a.return,z)}}n&&p&64&&zf(c),Hl(c,c.return);break;case 27:Gf(c);case 26:case 5:on(o,c,n),n&&a===null&&p&4&&Bf(c),Hl(c,c.return);break;case 12:on(o,c,n);break;case 31:on(o,c,n),n&&p&4&&Qf(o,c);break;case 13:on(o,c,n),n&&p&4&&Yf(o,c);break;case 22:c.memoizedState===null&&on(o,c,n),Hl(c,c.return);break;case 30:break;default:on(o,c,n)}t=t.sibling}}function No(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&wl(n))}function Lo(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&wl(e))}function Ut(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Zf(e,t,n,a),t=t.sibling}function Zf(e,t,n,a){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Ut(e,t,n,a),o&2048&&Gl(9,t);break;case 1:Ut(e,t,n,a);break;case 3:Ut(e,t,n,a),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&wl(e)));break;case 12:if(o&2048){Ut(e,t,n,a),e=t.stateNode;try{var c=t.memoizedProps,p=c.id,E=c.onPostCommit;typeof E=="function"&&E(p,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(M){Me(t,t.return,M)}}else Ut(e,t,n,a);break;case 31:Ut(e,t,n,a);break;case 13:Ut(e,t,n,a);break;case 23:break;case 22:c=t.stateNode,p=t.alternate,t.memoizedState!==null?c._visibility&2?Ut(e,t,n,a):Fl(e,t):c._visibility&2?Ut(e,t,n,a):(c._visibility|=2,Ga(e,t,n,a,(t.subtreeFlags&10256)!==0||!1)),o&2048&&No(p,t);break;case 24:Ut(e,t,n,a),o&2048&&Lo(t.alternate,t);break;default:Ut(e,t,n,a)}}function Ga(e,t,n,a,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,p=t,E=n,M=a,z=p.flags;switch(p.tag){case 0:case 11:case 15:Ga(c,p,E,M,o),Gl(8,p);break;case 23:break;case 22:var q=p.stateNode;p.memoizedState!==null?q._visibility&2?Ga(c,p,E,M,o):Fl(c,p):(q._visibility|=2,Ga(c,p,E,M,o)),o&&z&2048&&No(p.alternate,p);break;case 24:Ga(c,p,E,M,o),o&&z&2048&&Lo(p.alternate,p);break;default:Ga(c,p,E,M,o)}t=t.sibling}}function Fl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,o=a.flags;switch(a.tag){case 22:Fl(n,a),o&2048&&No(a.alternate,a);break;case 24:Fl(n,a),o&2048&&Lo(a.alternate,a);break;default:Fl(n,a)}t=t.sibling}}var Vl=8192;function Ha(e,t,n){if(e.subtreeFlags&Vl)for(e=e.child;e!==null;)Xf(e,t,n),e=e.sibling}function Xf(e,t,n){switch(e.tag){case 26:Ha(e,t,n),e.flags&Vl&&e.memoizedState!==null&&u0(n,zt,e.memoizedState,e.memoizedProps);break;case 5:Ha(e,t,n);break;case 3:case 4:var a=zt;zt=Er(e.stateNode.containerInfo),Ha(e,t,n),zt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Vl,Vl=16777216,Ha(e,t,n),Vl=a):Ha(e,t,n));break;default:Ha(e,t,n)}}function Kf(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function ql(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];We=a,$f(a,e)}Kf(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)If(e),e=e.sibling}function If(e){switch(e.tag){case 0:case 11:case 15:ql(e),e.flags&2048&&Tn(9,e,e.return);break;case 3:ql(e);break;case 12:ql(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,or(e)):ql(e);break;default:ql(e)}}function or(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];We=a,$f(a,e)}Kf(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Tn(8,t,t.return),or(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,or(t));break;default:or(t)}e=e.sibling}}function $f(e,t){for(;We!==null;){var n=We;switch(n.tag){case 0:case 11:case 15:Tn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:wl(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,We=a;else e:for(n=e;We!==null;){a=We;var o=a.sibling,c=a.return;if(Vf(a),a===n){We=null;break e}if(o!==null){o.return=c,We=o;break e}We=c}}}var jg={getCacheForType:function(e){var t=$e(Fe),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return $e(Fe).controller.signal}},Tg=typeof WeakMap=="function"?WeakMap:Map,Te=0,Re=null,ye=null,be=0,we=0,St=null,An=!1,Fa=!1,zo=!1,un=0,Pe=0,wn=0,sa=0,Uo=0,Et=0,
vendor: 20,500 bytes, line 9
9Va=0,Ql=null,ut=null,Bo=!1,ur=0,eh=0,cr=1/0,dr=null,Mn=null,Ye=0,On=null,qa=null,cn=0,Po=0,Go=null,th=null,Yl=0,Ho=null;function xt(){return(Te&2)!==0&&be!==0?be&-be:N.T!==null?Jo():yc()}function nh(){if(Et===0)if((be&536870912)===0||Ee){var e=bi;bi<<=1,(bi&3932160)===0&&(bi=262144),Et=e}else Et=536870912;return e=vt.current,e!==null&&(e.flags|=32),Et}function ct(e,t,n){(e===Re&&(we===2||we===9)||e.cancelPendingCommit!==null)&&(Qa(e,0),_n(e,be,Et,!1)),hl(e,n),((Te&2)===0||e!==Re)&&(e===Re&&((Te&2)===0&&(sa|=n),Pe===4&&_n(e,be,Et,!1)),qt(e))}function ah(e,t,n){if((Te&6)!==0)throw Error(l(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||fl(e,t),o=a?Mg(e,t):Vo(e,t,!0),c=a;do{if(o===0){Fa&&!a&&_n(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!Ag(n)){o=Vo(e,t,!1),c=!1;continue}if(o===2){if(c=t,e.errorRecoveryDisabledLanes&c)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){t=p;e:{var E=e;o=Ql;var M=E.current.memoizedState.isDehydrated;if(M&&(Qa(E,p).flags|=256),p=Vo(E,p,!1),p!==2){if(zo&&!M){E.errorRecoveryDisabledLanes|=c,sa|=c,o=4;break e}c=ut,ut=o,c!==null&&(ut===null?ut=c:ut.push.apply(ut,c))}o=p}if(c=!1,o!==2)continue}}if(o===1){Qa(e,0),_n(e,t,0,!0);break}e:{switch(a=e,c=o,c){case 0:case 1:throw Error(l(345));case 4:if((t&4194048)!==t)break;case 6:_n(a,t,Et,!An);break e;case 2:ut=null;break;case 3:case 5:break;default:throw Error(l(329))}if((t&62914560)===t&&(o=ur+300-ht(),10<o)){if(_n(a,t,Et,!An),Ei(a,0,!0)!==0)break e;cn=t,a.timeoutHandle=Nh(lh.bind(null,a,n,ut,dr,Bo,t,Et,sa,Va,An,c,"Throttled",-0,0),o);break e}lh(a,n,ut,dr,Bo,t,Et,sa,Va,An,c,null,-0,0)}}break}while(!0);qt(e)}function lh(e,t,n,a,o,c,p,E,M,z,q,J,U,G){if(e.timeoutHandle=-1,J=t.subtreeFlags,J&8192||(J&16785408)===16785408){J={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Wt},Xf(t,c,J);var ae=(c&62914560)===c?ur-ht():(c&4194048)===c?eh-ht():0;if(ae=c0(J,ae),ae!==null){cn=c,e.cancelPendingCommit=ae(fh.bind(null,e,t,c,n,a,o,p,E,M,q,J,null,U,G)),_n(e,c,p,!z);return}}fh(e,t,c,n,a,o,p,E,M)}function Ag(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var o=n[a],c=o.getSnapshot;o=o.value;try{if(!yt(c(),o))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function _n(e,t,n,a){t&=~Uo,t&=~sa,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var o=t;0<o;){var c=31-pt(o),p=1<<c;a[c]=-1,o&=~p}n!==0&&hc(e,n,t)}function fr(){return(Te&6)===0?(Jl(0),!1):!0}function Fo(){if(ye!==null){if(we===0)var e=ye.return;else e=ye,It=In=null,ao(e),La=null,Ol=0,e=ye;for(;e!==null;)Lf(e.alternate,e),e=e.return;ye=null}}function Qa(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Yg(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),cn=0,Fo(),Re=e,ye=n=Xt(e.current,null),be=t,we=0,St=null,An=!1,Fa=fl(e,t),zo=!1,Va=Et=Uo=sa=wn=Pe=0,ut=Ql=null,Bo=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var o=31-pt(a),c=1<<o;t|=e[o],a&=~c}return un=t,ki(),n}function ih(e,t){he=null,N.H=Ul,t===Na||t===Hi?(t=Sd(),we=3):t===Qs?(t=Sd(),we=4):we=t===So?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,St=t,ye===null&&(Pe=1,tr(e,At(t,e.current)))}function rh(){var e=vt.current;return e===null?!0:(be&4194048)===be?_t===null:(be&62914560)===be||(be&536870912)!==0?e===_t:!1}function sh(){var e=N.H;return N.H=Ul,e===null?Ul:e}function oh(){var e=N.A;return N.A=jg,e}function hr(){Pe=4,An||(be&4194048)!==be&&vt.current!==null||(Fa=!0),(wn&134217727)===0&&(sa&134217727)===0||Re===null||_n(Re,be,Et,!1)}function Vo(e,t,n){var a=Te;Te|=2;var o=sh(),c=oh();(Re!==e||be!==t)&&(dr=null,Qa(e,t)),t=!1;var p=Pe;e:do try{if(we!==0&&ye!==null){var E=ye,M=St;switch(we){case 8:Fo(),p=6;break e;case 3:case 2:case 9:case 6:vt.current===null&&(t=!0);var z=we;if(we=0,St=null,Ya(e,E,M,z),n&&Fa){p=0;break e}break;default:z=we,we=0,St=null,Ya(e,E,M,z)}}wg(),p=Pe;break}catch(q){ih(e,q)}while(!0);return t&&e.shellSuspendCounter++,It=In=null,Te=a,N.H=o,N.A=c,ye===null&&(Re=null,be=0,ki()),p}function wg(){for(;ye!==null;)uh(ye)}function Mg(e,t){var n=Te;Te|=2;var a=sh(),o=oh();Re!==e||be!==t?(dr=null,cr=ht()+500,Qa(e,t)):Fa=fl(e,t);e:do try{if(we!==0&&ye!==null){t=ye;var c=St;t:switch(we){case 1:we=0,St=null,Ya(e,t,c,1);break;case 2:case 9:if(vd(c)){we=0,St=null,ch(t);break}t=function(){we!==2&&we!==9||Re!==e||(we=7),qt(e)},c.then(t,t);break e;case 3:we=7;break e;case 4:we=5;break e;case 7:vd(c)?(we=0,St=null,ch(t)):(we=0,St=null,Ya(e,t,c,7));break;case 5:var p=null;switch(ye.tag){case 26:p=ye.memoizedState;case 5:case 27:var E=ye;if(p?Zh(p):E.stateNode.complete){we=0,St=null;var M=E.sibling;if(M!==null)ye=M;else{var z=E.return;z!==null?(ye=z,mr(z)):ye=null}break t}}we=0,St=null,Ya(e,t,c,5);break;case 6:we=0,St=null,Ya(e,t,c,6);break;case 8:Fo(),Pe=6;break e;default:throw Error(l(462))}}Og();break}catch(q){ih(e,q)}while(!0);return It=In=null,N.H=a,N.A=o,Te=n,ye!==null?0:(Re=null,be=0,ki(),Pe)}function Og(){for(;ye!==null&&!Ip();)uh(ye)}function uh(e){var t=kf(e.alternate,e,un);e.memoizedProps=e.pendingProps,t===null?mr(e):ye=t}function ch(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=wf(n,t,t.pendingProps,t.type,void 0,be);break;case 11:t=wf(n,t,t.pendingProps,t.type.render,t.ref,be);break;case 5:ao(t);default:Lf(n,t),t=ye=sd(t,un),t=kf(n,t,un)}e.memoizedProps=e.pendingProps,t===null?mr(e):ye=t}function Ya(e,t,n,a){It=In=null,ao(t),La=null,Ol=0;var o=t.return;try{if(gg(e,o,t,n,be)){Pe=1,tr(e,At(n,e.current)),ye=null;return}}catch(c){if(o!==null)throw ye=o,c;Pe=1,tr(e,At(n,e.current)),ye=null;return}t.flags&32768?(Ee||a===1?e=!0:Fa||(be&536870912)!==0?e=!1:(An=e=!0,(a===2||a===9||a===3||a===6)&&(a=vt.current,a!==null&&a.tag===13&&(a.flags|=16384))),dh(t,e)):mr(t)}function mr(e){var t=e;do{if((t.flags&32768)!==0){dh(t,An);return}e=t.return;var n=Sg(t.alternate,t,un);if(n!==null){ye=n;return}if(t=t.sibling,t!==null){ye=t;return}ye=t=e}while(t!==null);Pe===0&&(Pe=5)}function dh(e,t){do{var n=Eg(e.alternate,e);if(n!==null){n.flags&=32767,ye=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){ye=e;return}ye=e=n}while(e!==null);Pe=6,ye=null}function fh(e,t,n,a,o,c,p,E,M){e.cancelPendingCommit=null;do pr();while(Ye!==0);if((Te&6)!==0)throw Error(l(327));if(t!==null){if(t===e.current)throw Error(l(177));if(c=t.lanes|t.childLanes,c|=_s,oy(e,n,c,p,E,M),e===Re&&(ye=Re=null,be=0),qa=t,On=e,cn=n,Po=c,Go=o,th=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,kg(gi,function(){return gh(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=N.T,N.T=null,o=W.p,W.p=2,p=Te,Te|=4;try{xg(e,t,n)}finally{Te=p,W.p=o,N.T=a}}Ye=1,hh(),mh(),ph()}}function hh(){if(Ye===1){Ye=0;var e=On,t=qa,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=N.T,N.T=null;var a=W.p;W.p=2;var o=Te;Te|=4;try{Jf(t,e);var c=tu,p=Ic(e.containerInfo),E=c.focusedElem,M=c.selectionRange;if(p!==E&&E&&E.ownerDocument&&Kc(E.ownerDocument.documentElement,E)){if(M!==null&&Ts(E)){var z=M.start,q=M.end;if(q===void 0&&(q=z),"selectionStart"in E)E.selectionStart=z,E.selectionEnd=Math.min(q,E.value.length);else{var J=E.ownerDocument||document,U=J&&J.defaultView||window;if(U.getSelection){var G=U.getSelection(),ae=E.textContent.length,ue=Math.min(M.start,ae),De=M.end===void 0?ue:Math.min(M.end,ae);!G.extend&&ue>De&&(p=De,De=ue,ue=p);var k=Xc(E,ue),R=Xc(E,De);if(k&&R&&(G.rangeCount!==1||G.anchorNode!==k.node||G.anchorOffset!==k.offset||G.focusNode!==R.node||G.focusOffset!==R.offset)){var L=J.createRange();L.setStart(k.node,k.offset),G.removeAllRanges(),ue>De?(G.addRange(L),G.extend(R.node,R.offset)):(L.setEnd(R.node,R.offset),G.addRange(L))}}}}for(J=[],G=E;G=G.parentNode;)G.nodeType===1&&J.push({element:G,left:G.scrollLeft,top:G.scrollTop});for(typeof E.focus=="function"&&E.focus(),E=0;E<J.length;E++){var Y=J[E];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}wr=!!eu,tu=eu=null}finally{Te=o,W.p=a,N.T=n}}e.current=t,Ye=2}}function mh(){if(Ye===2){Ye=0;var e=On,t=qa,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=N.T,N.T=null;var a=W.p;W.p=2;var o=Te;Te|=4;try{Ff(e,t.alternate,t)}finally{Te=o,W.p=a,N.T=n}}Ye=3}}function ph(){if(Ye===4||Ye===3){Ye=0,$p();var e=On,t=qa,n=cn,a=th;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ye=5:(Ye=0,qa=On=null,yh(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(Mn=null),rs(n),t=t.stateNode,mt&&typeof mt.onCommitFiberRoot=="function")try{mt.onCommitFiberRoot(dl,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=N.T,o=W.p,W.p=2,N.T=null;try{for(var c=e.onRecoverableError,p=0;p<a.length;p++){var E=a[p];c(E.value,{componentStack:E.stack})}}finally{N.T=t,W.p=o}}(cn&3)!==0&&pr(),qt(e),o=e.pendingLanes,(n&261930)!==0&&(o&42)!==0?e===Ho?Yl++:(Yl=0,Ho=e):Yl=0,Jl(0)}}function yh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,wl(t)))}function pr(){return hh(),mh(),ph(),gh()}function gh(){if(Ye!==5)return!1;var e=On,t=Po;Po=0;var n=rs(cn),a=N.T,o=W.p;try{W.p=32>n?32:n,N.T=null,n=Go,Go=null;var c=On,p=cn;if(Ye=0,qa=On=null,cn=0,(Te&6)!==0)throw Error(l(331));var E=Te;if(Te|=4,If(c.current),Zf(c,c.current,p,n),Te=E,Jl(0,!1),mt&&typeof mt.onPostCommitFiberRoot=="function")try{mt.onPostCommitFiberRoot(dl,c)}catch{}return!0}finally{W.p=o,N.T=a,yh(e,t)}}function vh(e,t,n){t=At(n,t),t=bo(e.stateNode,t,2),e=xn(e,t,2),e!==null&&(hl(e,2),qt(e))}function Me(e,t,n){if(e.tag===3)vh(e,e,n);else for(;t!==null;){if(t.tag===3){vh(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Mn===null||!Mn.has(a))){e=At(n,e),n=bf(2),a=xn(t,n,2),a!==null&&(Sf(n,a,t,e),hl(a,2),qt(a));break}}t=t.return}}function qo(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new Tg;var o=new Set;a.set(t,o)}else o=a.get(t),o===void 0&&(o=new Set,a.set(t,o));o.has(n)||(zo=!0,o.add(n),e=_g.bind(null,e,t,n),t.then(e,e))}function _g(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Re===e&&(be&n)===n&&(Pe===4||Pe===3&&(be&62914560)===be&&300>ht()-ur?(Te&2)===0&&Qa(e,0):Uo|=n,Va===be&&(Va=0)),qt(e)}function bh(e,t){t===0&&(t=fc()),e=Zn(e,t),e!==null&&(hl(e,t),qt(e))}function Dg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),bh(e,n)}function Rg(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(l(314))}a!==null&&a.delete(t),bh(e,n)}function kg(e,t){return ns(e,t)}var yr=null,Ja=null,Qo=!1,gr=!1,Yo=!1,Dn=0;function qt(e){e!==Ja&&e.next===null&&(Ja===null?yr=Ja=e:Ja=Ja.next=e),gr=!0,Qo||(Qo=!0,Lg())}function Jl(e,t){if(!Yo&&gr){Yo=!0;do for(var n=!1,a=yr;a!==null;){if(e!==0){var o=a.pendingLanes;if(o===0)var c=0;else{var p=a.suspendedLanes,E=a.pingedLanes;c=(1<<31-pt(42|e)+1)-1,c&=o&~(p&~E),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Ch(a,c))}else c=be,c=Ei(a,a===Re?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||fl(a,c)||(n=!0,Ch(a,c));a=a.next}while(n);Yo=!1}}function Ng(){Sh()}function Sh(){gr=Qo=!1;var e=0;Dn!==0&&Qg()&&(e=Dn);for(var t=ht(),n=null,a=yr;a!==null;){var o=a.next,c=Eh(a,t);c===0?(a.next=null,n===null?yr=o:n.next=o,o===null&&(Ja=n)):(n=a,(e!==0||(c&3)!==0)&&(gr=!0)),a=o}Ye!==0&&Ye!==5||Jl(e),Dn!==0&&(Dn=0)}function Eh(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var p=31-pt(c),E=1<<p,M=o[p];M===-1?((E&n)===0||(E&a)!==0)&&(o[p]=sy(E,t)):M<=t&&(e.expiredLanes|=E),c&=~E}if(t=Re,n=be,n=Ei(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(we===2||we===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&as(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||fl(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&as(a),rs(n)){case 2:case 8:n=cc;break;case 32:n=gi;break;case 268435456:n=dc;break;default:n=gi}return a=xh.bind(null,e),n=ns(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&as(a),e.callbackPriority=2,e.callbackNode=null,2}function xh(e,t){if(Ye!==0&&Ye!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(pr()&&e.callbackNode!==n)return null;var a=be;return a=Ei(e,e===Re?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(ah(e,a,t),Eh(e,ht()),e.callbackNode!=null&&e.callbackNode===n?xh.bind(null,e):null)}function Ch(e,t){if(pr())return null;ah(e,t,!0)}function Lg(){Jg(function(){(Te&6)!==0?ns(uc,Ng):Sh()})}function Jo(){if(Dn===0){var e=Ra;e===0&&(e=vi,vi<<=1,(vi&261888)===0&&(vi=256)),Dn=e}return Dn}function jh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ti(""+e)}function Th(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function zg(e,t,n,a,o){if(t==="submit"&&n&&n.stateNode===o){var c=jh((o[lt]||null).action),p=a.submitter;p&&(t=(t=p[lt]||null)?jh(t.formAction):p.getAttribute("formAction"),t!==null&&(c=t,p=null));var E=new Oi("action","action",null,a,o);e.push({event:E,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Dn!==0){var M=p?Th(o,p):new FormData(o);ho(n,{pending:!0,data:M,method:o.method,action:c},null,M)}}else typeof c=="function"&&(E.preventDefault(),M=p?Th(o,p):new FormData(o),ho(n,{pending:!0,data:M,method:o.method,action:c},c,M))},currentTarget:o}]})}}for(var Wo=0;Wo<Os.length;Wo++){var Zo=Os[Wo],Ug=Zo.toLowerCase(),Bg=Zo[0].toUpperCase()+Zo.slice(1);Lt(Ug,"on"+Bg)}Lt(td,"onAnimationEnd"),Lt(nd,"onAnimationIteration"),Lt(ad,"onAnimationStart"),Lt("dblclick","onDoubleClick"),Lt("focusin","onFocus"),Lt("focusout","onBlur"),Lt(eg,"onTransitionRun"),Lt(tg,"onTransitionStart"),Lt(ng,"onTransitionCancel"),Lt(ld,"onTransitionEnd"),va("onMouseEnter",["mouseout","mouseover"]),va("onMouseLeave",["mouseout","mouseover"]),va("onPointerEnter",["pointerout","pointerover"]),va("onPointerLeave",["pointerout","pointerover"]),Qn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Qn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Qn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Qn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Qn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Qn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wl="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(" "),Pg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wl));function Ah(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],o=a.event;a=a.listeners;e:{var c=void 0;if(t)for(var p=a.length-1;0<=p;p--){var E=a[p],M=E.instance,z=E.currentTarget;if(E=E.listener,M!==c&&o.isPropagationStopped())break e;c=E,o.currentTarget=z;try{c(o)}catch(q){Ri(q)}o.currentTarget=null,c=M}else for(p=0;p<a.length;p++){if(E=a[p],M=E.instance,z=E.currentTarget,E=E.listener,M!==c&&o.isPropagationStopped())break e;c=E,o.currentTarget=z;try{c(o)}catch(q){Ri(q)}o.currentTarget=null,c=M}}}}function ge(e,t){var n=t[ss];n===void 0&&(n=t[ss]=new Set);var a=e+"__bubble";n.has(a)||(wh(t,e,2,!1),n.add(a))}function Xo(e,t,n){var a=0;t&&(a|=4),wh(n,e,a,t)}var vr="_reactListening"+Math.random().toString(36).slice(2);function Ko(e){if(!e[vr]){e[vr]=!0,bc.forEach(function(n){n!=="selectionchange"&&(Pg.has(n)||Xo(n,!1,e),Xo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[vr]||(t[vr]=!0,Xo("selectionchange",!1,t))}}function wh(e,t,n,a){switch(nm(t)){case 2:var o=h0;break;case 8:o=m0;break;default:o=fu}n=o.bind(null,t,n,e),o=void 0,!ys||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),a?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Io(e,t,n,a,o){var c=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var p=a.tag;if(p===3||p===4){var E=a.stateNode.containerInfo;if(E===o)break;if(p===4)for(p=a.return;p!==null;){var M=p.tag;if((M===3||M===4)&&p.stateNode.containerInfo===o)return;p=p.return}for(;E!==null;){if(p=pa(E),p===null)return;if(M=p.tag,M===5||M===6||M===26||M===27){a=c=p;continue e}E=E.parentNode}}a=a.return}Dc(function(){var z=c,q=ms(n),J=[];e:{var U=id.get(e);if(U!==void 0){var G=Oi,ae=e;switch(e){case"keypress":if(wi(n)===0)break e;case"keydown":case"keyup":G=Ry;break;case"focusin":ae="focus",G=Ss;break;case"focusout":ae="blur",G=Ss;break;case"beforeblur":case"afterblur":G=Ss;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":G=Nc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=Sy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=Ly;break;case td:case nd:case ad:G=Cy;break;case ld:G=Uy;break;case"scroll":case"scrollend":G=vy;break;case"wheel":G=Py;break;case"copy":case"cut":case"paste":G=Ty;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=zc;break;case"toggle":case"beforetoggle":G=Hy}var ue=(t&4)!==0,De=!ue&&(e==="scroll"||e==="scrollend"),k=ue?U!==null?U+"Capture":null:U;ue=[];for(var R=z,L;R!==null;){var Y=R;if(L=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||L===null||k===null||(Y=yl(R,k),Y!=null&&ue.push(Zl(R,Y,L))),De)break;R=R.return}0<ue.length&&(U=new G(U,ae,null,n,q),J.push({event:U,listeners:ue}))}}if((t&7)===0){e:{if(U=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",U&&n!==hs&&(ae=n.relatedTarget||n.fromElement)&&(pa(ae)||ae[ma]))break e;if((G||U)&&(U=q.window===q?q:(U=q.ownerDocument)?U.defaultView||U.parentWindow:window,G?(ae=n.relatedTarget||n.toElement,G=z,ae=ae?pa(ae):null,ae!==null&&(De=d(ae),ue=ae.tag,ae!==De||ue!==5&&ue!==27&&ue!==6)&&(ae=null)):(G=null,ae=z),G!==ae)){if(ue=Nc,Y="onMouseLeave",k="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(ue=zc,Y="onPointerLeave",k="onPointerEnter",R="pointer"),De=G==null?U:pl(G),L=ae==null?U:pl(ae),U=new ue(Y,R+"leave",G,n,q),U.target=De,U.relatedTarget=L,Y=null,pa(q)===z&&(ue=new ue(k,R+"enter",ae,n,q),ue.target=L,ue.relatedTarget=De,Y=ue),De=Y,G&&ae)t:{for(ue=Gg,k=G,R=ae,L=0,Y=k;Y;Y=ue(Y))L++;Y=0;for(var se=R;se;se=ue(se))Y++;for(;0<L-Y;)k=ue(k),L--;for(;0<Y-L;)R=ue(R),Y--;for(;L--;){if(k===R||R!==null&&k===R.alternate){ue=k;break t}k=ue(k),R=ue(R)}ue=null}else ue=null;G!==null&&Mh(J,U,G,ue,!1),ae!==null&&De!==null&&Mh(J,De,ae,ue,!0)}}e:{if(U=z?pl(z):window,G=U.nodeName&&U.nodeName.toLowerCase(),G==="select"||G==="input"&&U.type==="file")var Ce=qc;else if(Fc(U))if(Qc)Ce=Ky;else{Ce=Zy;var le=Wy}else G=U.nodeName,!G||G.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?z&&fs(z.elementType)&&(Ce=qc):Ce=Xy;if(Ce&&(Ce=Ce(e,z))){Vc(J,Ce,n,q);break e}le&&le(e,U,z),e==="focusout"&&z&&U.type==="number"&&z.memoizedProps.value!=null&&ds(U,"number",U.value)}switch(le=z?pl(z):window,e){case"focusin":(Fc(le)||le.contentEditable==="true")&&(ja=le,As=z,jl=null);break;case"focusout":jl=As=ja=null;break;case"mousedown":ws=!0;break;case"contextmenu":case"mouseup":case"dragend":ws=!1,$c(J,n,q);break;case"selectionchange":if($y)break;case"keydown":case"keyup":$c(J,n,q)}var me;if(xs)e:{switch(e){case"compositionstart":var Se="onCompositionStart";break e;case"compositionend":Se="onCompositionEnd";break e;case"compositionupdate":Se="onCompositionUpdate";break e}Se=void 0}
vendor: 4,246 bytes, lines 9-10
9else Ca?Gc(e,n)&&(Se="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Se="onCompositionStart");Se&&(Uc&&n.locale!=="ko"&&(Ca||Se!=="onCompositionStart"?Se==="onCompositionEnd"&&Ca&&(me=Rc()):(pn=q,gs="value"in pn?pn.value:pn.textContent,Ca=!0)),le=br(z,Se),0<le.length&&(Se=new Lc(Se,e,null,n,q),J.push({event:Se,listeners:le}),me?Se.data=me:(me=Hc(n),me!==null&&(Se.data=me)))),(me=Vy?qy(e,n):Qy(e,n))&&(Se=br(z,"onBeforeInput"),0<Se.length&&(le=new Lc("onBeforeInput","beforeinput",null,n,q),J.push({event:le,listeners:Se}),le.data=me)),zg(J,e,z,n,q)}Ah(J,t)})}function Zl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function br(e,t){for(var n=t+"Capture",a=[];e!==null;){var o=e,c=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||c===null||(o=yl(e,n),o!=null&&a.unshift(Zl(e,o,c)),o=yl(e,t),o!=null&&a.push(Zl(e,o,c))),e.tag===3)return a;e=e.return}return[]}function Gg(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Mh(e,t,n,a,o){for(var c=t._reactName,p=[];n!==null&&n!==a;){var E=n,M=E.alternate,z=E.stateNode;if(E=E.tag,M!==null&&M===a)break;E!==5&&E!==26&&E!==27||z===null||(M=z,o?(z=yl(n,c),z!=null&&p.unshift(Zl(n,z,M))):o||(z=yl(n,c),z!=null&&p.push(Zl(n,z,M)))),n=n.return}p.length!==0&&e.push({event:t,listeners:p})}var Hg=/\r\n?/g,Fg=/\u0000|\uFFFD/g;function Oh(e){return(typeof e=="string"?e:""+e).replace(Hg,`
10`).replace(Fg,"")}function _h(e,t){return t=Oh(t),Oh(e)===t}function _e(e,t,n,a,o,c){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Sa(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Sa(e,""+a);break;case"className":Ci(e,"class",a);break;case"tabIndex":Ci(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Ci(e,n,a);break;case"style":Oc(e,a,c);break;case"data":if(t!=="object"){Ci(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Ti(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(n==="formAction"?(t!=="input"&&_e(e,t,"name",o.name,o,null),_e(e,t,"formEncType",o.formEncType,o,null),_e(e,t,"formMethod",o.formMethod,o,null),_e(e,t,"formTarget",o.formTarget,o,null)):(_e(e,t,"encType",o.encType,o,null),_e(e,t,"method",o.method,o,null),_e(e,t,"target",o.target,o,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Ti(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=Wt);break;case"onScroll":a!=null&&ge("scroll",e);break;case"onScrollEnd":a!=null&&ge("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(l(61));if(n=a.__html,n!=null){if(o.children!=null)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=Ti(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":ge("beforetoggle",e),ge("toggle",e),xi(e,"popover",a);break;case"xlinkActuate":Jt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Jt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Jt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Jt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Jt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Jt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Jt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Jt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Jt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":xi(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=yy.get(n)||n,xi(e,n,a))}}function $o(e,t,n,a,o,c){switch(n){case"style":Oc(e,a,c);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(l(61));if(n=a.__html,n!=null){if(o.children!=null)throw Error(l(60));e.innerHTML=n}}break;case"children":typeof a=="string"?Sa(e,a):(typeof a=="number"||typeof a=="bigint")&&Sa(e,""+a);break;case"onScroll":a!=null&&ge("scroll",e);break;case"onScrollEnd":a!=null&&ge("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Wt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Sc.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),c=e[lt]||null,c=c!=null?c[n]:null,typeof c=="function"&&e.removeEventListener(t,c,o),typeof a=="function")){typeof c!="function"&&c!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,o);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):xi(e,n,a)}}}function tt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ge("error",e),ge("load",e);var a=!1,o=!1,c;for(c in n)if(n.hasOwnProperty(c)){var p=n[c];if(p!=null)switch(c){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:_e(e,t,c,p,n,null)}}o&&_e(e,t,"srcSet",n.srcSet,n,null),a&&_e(e,t,"src",n.src,n,null);return;case"input":ge("invalid",e);var E=c=p=o=null,M=null,z=null;for(a in n)if(n.hasOwnProperty(a)){var q=n[a];if(q!=null)switch(a){case"name":o=q;break;case"type":p=q;break;case"checked":M=q;break;case"defaultChecked":z=q;break;case"value":c=q;break;case"defaultValue":E=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(l(137,t));break;default:_e(e,t,a,q,n,null)}}Tc(e,c,E,M,z,p,o,!1);return;case"select":ge("invalid",e),a=p=c=null;for(o in n)if(n.hasOwnProperty(o)&&(E=n[o],E!=null))switch(o){case"value":c=E;break;case"defaultValue":p=E;break;case"multiple":a=E;default:_e(e,t,o,E,n,null)}t=c,n=p,e.multiple=!!a,t!=null?ba(e,!!a,t,!1):n!=null&&ba(e,!!a,n,!0);return;case"textarea":ge("invalid",e),c=o=a=null;for(p in n)if(n.hasOwnProperty(p)&&(E=n[p],E!=null))switch(p){case"value":a=E;break;case"defaultValue":o=E;break;case"children":c=E;break;case"dangerouslySetInnerHTML":if(E!=null)throw Error(l(91));break;default:_e(e,t,p,E,n,null)}wc(e,a,o,c);return;case"option":for(M in n)n.hasOwnProperty(M)&&(a=n[M],a!=null)&&(M==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":_e(e,t,M,a,n,null));return;case"dialog":ge("beforetoggle",e),ge("toggle",e),ge("cancel",e),ge("close",e);break;case"iframe":case"object":ge("load",e);break;case"video":case"audio":for(a=0;a<Wl.length;a++)ge(Wl[a],e);break;case"image":ge("error",e),ge("load",e);break;case"details":ge("toggle",e);break;case"embed":case"source":case"link":ge("error",e),ge("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in n)if(n.hasOwnProperty(z)&&(a=n[z],a!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:_e(e,t,z,a,n,null)}return;default:if(fs(t)){for(q in n)n.hasOwnProperty(q)&&(a=n[q],a!==void 0&&$o(e,t,q,a,n,void 0));return}}for(E in n)n.hasOwnProperty(E)&&(a=n[E],a!=null&&_e(e,t,E,a,n,null))}function Vg(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,c=null,p=null,E=null,M=null,z=null,q=null;for(G in n){var J=n[G];if(n.hasOwnProperty(G)&&J!=null)switch(G){case"checked":break;case"value":break;case"defaultValue":M=J;default:a.hasOwnProperty(G)||_e(e,t,G,null,a,J)}}for(var U in a){var G=a[U];if(J=n[U],a.hasOwnProperty(U)&&(G!=null||J!=null))switch(U){case"type":c=G;break;case"name":o=G;break;case"checked":z=G;break;case"defaultChecked":q=G;break;case"value":p=G;break;case"defaultValue":E=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(l(137,t));break;default:G!==J&&_e(e,t,U,G,a,J)}}cs(e,p,E,M,z,q,c,o);return;case"select":G=p=E=U=null;for(c in n)if(M=n[c],n.hasOwnProperty(c)&&M!=null)switch(c){case"value":break;case"multiple":G=M;default:a.hasOwnProperty(c)||_e(e,t,c,null,a,M)}for(o in a)if(c=a[o],M=n[o],a.hasOwnProperty(o)&&(c!=null||M!=null))switch(o){case"value":U=c;break;case"defaultValue":E=c;break;case"multiple":p=c;default:c!==M&&_e(e,t,o,c,a,M)}t=E,n=p,a=G,U!=null?ba(e,!!n,U,!1):!!a!=!!n&&(t!=null?ba(e,!!n,t,!0):ba(e,!!n,n?[]:"",!1));return;case"textarea":G=U=null;for(E in n)if(o=n[E],n.hasOwnProperty(E)&&o!=null&&!a.hasOwnProperty(E))switch(E){case"value":break;case"children":break;default:_e(e,t,E,null,a,o)}for(p in a)if(o=a[p],c=n[p],a.hasOwnProperty(p)&&(o!=null||c!=null))switch(p){case"value":U=o;break;case"defaultValue":G=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(l(91));break;default:o!==c&&_e(e,t,p,o,a,c)}Ac(e,U,G);return;case"option":for(var ae in n)U=n[ae],n.hasOwnProperty(ae)&&U!=null&&!a.hasOwnProperty(ae)&&(ae==="selected"?e.selected=!1:_e(e,t,ae,null,a,U)
vendor: 4,103 bytes, line 10
10);for(M in a)U=a[M],G=n[M],a.hasOwnProperty(M)&&U!==G&&(U!=null||G!=null)&&(M==="selected"?e.selected=U&&typeof U!="function"&&typeof U!="symbol":_e(e,t,M,U,a,G));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ue in n)U=n[ue],n.hasOwnProperty(ue)&&U!=null&&!a.hasOwnProperty(ue)&&_e(e,t,ue,null,a,U);for(z in a)if(U=a[z],G=n[z],a.hasOwnProperty(z)&&U!==G&&(U!=null||G!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(l(137,t));break;default:_e(e,t,z,U,a,G)}return;default:if(fs(t)){for(var De in n)U=n[De],n.hasOwnProperty(De)&&U!==void 0&&!a.hasOwnProperty(De)&&$o(e,t,De,void 0,a,U);for(q in a)U=a[q],G=n[q],!a.hasOwnProperty(q)||U===G||U===void 0&&G===void 0||$o(e,t,q,U,a,G);return}}for(var k in n)U=n[k],n.hasOwnProperty(k)&&U!=null&&!a.hasOwnProperty(k)&&_e(e,t,k,null,a,U);for(J in a)U=a[J],G=n[J],!a.hasOwnProperty(J)||U===G||U==null&&G==null||_e(e,t,J,U,a,G)}function Dh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function qg(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var o=n[a],c=o.transferSize,p=o.initiatorType,E=o.duration;if(c&&E&&Dh(p)){for(p=0,E=o.responseEnd,a+=1;a<n.length;a++){var M=n[a],z=M.startTime;if(z>E)break;var q=M.transferSize,J=M.initiatorType;q&&Dh(J)&&(M=M.responseEnd,p+=q*(M<E?1:(E-z)/(M-z)))}if(--a,t+=8*(c+p)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var eu=null,tu=null;function Sr(e){return e.nodeType===9?e:e.ownerDocument}function Rh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function kh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function nu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var au=null;function Qg(){var e=window.event;return e&&e.type==="popstate"?e===au?!1:(au=e,!0):(au=null,!1)}var Nh=typeof setTimeout=="function"?setTimeout:void 0,Yg=typeof clearTimeout=="function"?clearTimeout:void 0,Lh=typeof Promise=="function"?Promise:void 0,Jg=typeof queueMicrotask=="function"?queueMicrotask:typeof Lh<"u"?function(e){return Lh.resolve(null).then(e).catch(Wg)}:Nh;function Wg(e){setTimeout(function(){throw e})}function Rn(e){return e==="head"}function zh(e,t){var n=t,a=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(o),Ka(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")Xl(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,Xl(n);for(var c=n.firstChild;c;){var p=c.nextSibling,E=c.nodeName;c[ml]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&c.rel.toLowerCase()==="stylesheet"||n.removeChild(c),c=p}}else n==="body"&&Xl(e.ownerDocument.body);n=o}while(n);Ka(t)}function Uh(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=a}while(n)}function lu(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":lu(n),os(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Zg(e,t,n,a){for(;
vendor: 8,495 bytes, line 10
10e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[ml])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Dt(e.nextSibling),e===null)break}return null}function Xg(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Dt(e.nextSibling),e===null))return null;return e}function Bh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Dt(e.nextSibling),e===null))return null;return e}function iu(e){return e.data==="$?"||e.data==="$~"}function ru(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Kg(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Dt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var su=null;function Ph(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Dt(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Gh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function Hh(e,t,n){switch(t=Sr(n),e){case"html":if(e=t.documentElement,!e)throw Error(l(452));return e;case"head":if(e=t.head,!e)throw Error(l(453));return e;case"body":if(e=t.body,!e)throw Error(l(454));return e;default:throw Error(l(451))}}function Xl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);os(e)}var Rt=new Map,Fh=new Set;function Er(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var dn=W.d;W.d={f:Ig,r:$g,D:e0,C:t0,L:n0,m:a0,X:i0,S:l0,M:r0};function Ig(){var e=dn.f(),t=fr();return e||t}function $g(e){var t=ya(e);t!==null&&t.tag===5&&t.type==="form"?lf(t):dn.r(e)}var Wa=typeof document>"u"?null:document;function Vh(e,t,n){var a=Wa;if(a&&typeof t=="string"&&t){var o=jt(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),Fh.has(o)||(Fh.add(o),e={rel:e,crossOrigin:n,href:t},a.querySelector(o)===null&&(t=a.createElement("link"),tt(t,"link",e),Je(t),a.head.appendChild(t)))}}function e0(e){dn.D(e),Vh("dns-prefetch",e,null)}function t0(e,t){dn.C(e,t),Vh("preconnect",e,t)}function n0(e,t,n){dn.L(e,t,n);var a=Wa;if(a&&e&&t){var o='link[rel="preload"][as="'+jt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+jt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+jt(n.imageSizes)+'"]')):o+='[href="'+jt(e)+'"]';var c=o;switch(t){case"style":c=Za(e);break;case"script":c=Xa(e)}Rt.has(c)||(e=S({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Rt.set(c,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(Kl(c))||t==="script"&&a.querySelector(Il(c))||(t=a.createElement("link"),tt(t,"link",e),Je(t),a.head.appendChild(t)))}}function a0(e,t){dn.m(e,t);var n=Wa;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+jt(a)+'"][href="'+jt(e)+'"]',c=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Xa(e)}if(!Rt.has(c)&&(e=S({rel:"modulepreload",href:e},t),Rt.set(c,e),n.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Il(c)))return}a=n.createElement("link"),tt(a,"link",e),Je(a),n.head.appendChild(a)}}}function l0(e,t,n){dn.S(e,t,n);var a=Wa;if(a&&e){var o=ga(a).hoistableStyles,c=Za(e);t=t||"default";var p=o.get(c);if(!p){var E={loading:0,preload:null};if(p=a.querySelector(Kl(c)))E.loading=5;else{e=S({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Rt.get(c))&&ou(e,n);var M=p=a.createElement("link");Je(M),tt(M,"link",e),M._p=new Promise(function(z,q){M.onload=z,M.onerror=q}),M.addEventListener("load",function(){E.loading|=1}),M.addEventListener("error",function(){E.loading|=2}),E.loading|=4,xr(p,t,a)}p={type:"stylesheet",instance:p,count:1,state:E},o.set(c,p)}}}function i0(e,t){dn.X(e,t);var n=Wa;if(n&&e){var a=ga(n).hoistableScripts,o=Xa(e),c=a.get(o);c||(c=n.querySelector(Il(o)),c||(e=S({src:e,async:!0},t),(t=Rt.get(o))&&uu(e,t),c=n.createElement("script"),Je(c),tt(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(o,c))}}function r0(e,t){dn.M(e,t);var n=Wa;if(n&&e){var a=ga(n).hoistableScripts,o=Xa(e),c=a.get(o);c||(c=n.querySelector(Il(o)),c||(e=S({src:e,async:!0,type:"module"},t),(t=Rt.get(o))&&uu(e,t),c=n.createElement("script"),Je(c),tt(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(o,c))}}function qh(e,t,n,a){var o=(o=ce.current)?Er(o):null;if(!o)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Za(n.href),n=ga(o).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Za(n.href);var c=ga(o).hoistableStyles,p=c.get(e);if(p||(o=o.ownerDocument||o,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,p),(c=o.querySelector(Kl(e)))&&!c._p&&(p.instance=c,p.state.loading=5),Rt.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Rt.set(e,n),c||s0(o,e,n,p.state))),t&&a===null)throw Error(l(528,""));return p}if(t&&a!==null)throw Error(l(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Xa(n),n=ga(o).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function Za(e){return'href="'+jt(e)+'"'}function Kl(e){return'link[rel="stylesheet"]['+e+"]"}function Qh(e){return S({},e,{"data-precedence":e.precedence,precedence:null})}function s0(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),tt(t,"link",n),Je(t),e.head.appendChild(t))}function Xa(e){return'[src="'+jt(e)+'"]'}function Il(e){return"script[async]"+e}function Yh(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+jt(n.href)+'"]');if(a)return t.instance=a,Je(a),a;var o=S({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Je(a),tt(a,"style",o),xr(a,n.precedence,e),t.instance=a;case"stylesheet":o=Za(n.href);var c=e.querySelector(Kl(o));if(c)return t.state.loading|=4,t.instance=c,Je(c),c;a=Qh(n),(o=Rt.get(o))&&ou(a,o),c=(e.ownerDocument||e).createElement("link"),Je(c);var p=c;return p._p=new Promise(function(E,M){p.onload=E,p.onerror=M}),tt(c,"link",a),t.state.loading|=4,xr(c,n.precedence,e),t.instance=c;
vendor: 7,410 bytes, line 10
10case"script":return c=Xa(n.src),(o=e.querySelector(Il(c)))?(t.instance=o,Je(o),o):(a=n,(o=Rt.get(c))&&(a=S({},n),uu(a,o)),e=e.ownerDocument||e,o=e.createElement("script"),Je(o),tt(o,"link",a),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(l(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,xr(a,n.precedence,e));return t.instance}function xr(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=a.length?a[a.length-1]:null,c=o,p=0;p<a.length;p++){var E=a[p];if(E.dataset.precedence===t)c=E;else if(c!==o)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function ou(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function uu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Cr=null;function Jh(e,t,n){if(Cr===null){var a=new Map,o=Cr=new Map;o.set(n,a)}else o=Cr,a=o.get(n),a||(a=new Map,o.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var c=n[o];if(!(c[ml]||c[Ke]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var p=c.getAttribute(t)||"";p=e+p;var E=a.get(p);E?E.push(c):a.set(p,[c])}}return a}function Wh(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function o0(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Zh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function u0(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var o=Za(a.href),c=t.querySelector(Kl(o));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=jr.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=c,Je(c);return}c=t.ownerDocument||t,a=Qh(a),(o=Rt.get(o))&&ou(a,o),c=c.createElement("link"),Je(c);var p=c;p._p=new Promise(function(E,M){p.onload=E,p.onerror=M}),tt(c,"link",a),n.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=jr.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var cu=0;function c0(e,t){return e.stylesheets&&e.count===0&&Ar(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&Ar(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+t);0<e.imgBytes&&cu===0&&(cu=62500*qg());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ar(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>cu?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(o)}}:null}function jr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ar(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Tr=null;function Ar(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Tr=new Map,t.forEach(d0,e),Tr=null,jr.call(e))}function d0(e,t){if(!(t.state.loading&4)){var n=Tr.get(e);if(n)var a=n.get(null);else{n=new Map,Tr.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<o.length;c++){var p=o[c];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(n.set(p.dataset.precedence,p),a=p)}a&&n.set(null,a)}o=t.instance,p=o.getAttribute("data-precedence"),c=n.get(p)||a,c===a&&n.set(null,o),n.set(p,o),this.count++,a=jr.bind(this),o.addEventListener("load",a),o.addEventListener("error",a),c?c.parentNode.insertBefore(o,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var $l={$$typeof:O,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function f0(e,t,n,a,o,c,p,E,M){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ls(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ls(0),this.hiddenUpdates=ls(null),this.identifierPrefix=a,this.onUncaughtError=o,this.onCaughtError=c,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map}function Xh(e,t,n,a,o,c,p,E,M,z,q,J){return e=new f0(e,t,n,p,M,z,q,J,E),t=1,c===!0&&(t|=24),c=gt(3,null,null,t),e.current=c,c.stateNode=e,t=Fs(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:a,isDehydrated:n,cache:t},Ys(c),e}function Kh(e){return e?(e=wa,e):wa}function Ih(e,t,n,a,o,c){o=Kh(o),a.context===null?a.context=o:a.pendingContext=o,a=En(t),a.payload={element:n},c=c===void 0?null:c,c!==null&&(a.callback=c),n=xn(e,a,t),n!==null&&(ct(n,e,t),Dl(n,e,t))}function $h(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function du(e,t){$h(e,t),(e=e.alternate)&&$h(e,t)}function em(e){if(e.tag===13||e.tag===31){var t=Zn(e,67108864);t!==null&&ct(t,e,67108864),du(e,67108864)}}function tm(e){if(e.tag===13||e.tag===31){var t=xt();t=is(t);var n=Zn(e,t);n!==null&&ct(n,e,t),du(e,t)}}var wr=!0;function h0(e,t,n,a){var o=N.T;N.T=null;var c=W.p;try{W.p=2,fu(e,t,n,a)}finally{W.p=c,N.T=o}}function m0(e,t,n,a){var o=N.T;N.T=null;var c=W.p;try{W.p=8,fu(e,t,n,a)}finally{W.p=c,N.T=o}}function fu(e,t,n,a){if(wr){var o=hu(a);if(o===null)Io(e,t,a,Mr,n),am(e,a);else if(y0(o,e,t,n,a))a.stopPropagation();else if(am(e,a),t&4&&-1<p0.indexOf(e)){for(;o!==null;){var c=ya(o);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var p=qn(c.pendingLanes);if(p!==0){var E=c;for(E.pendingLanes|=2,E.entangledLanes|=2;p;){var M=1<<31-pt(p);E.entanglements[1]|=M,p&=~M}qt(c),(Te&6)===0&&(cr=ht()+500,Jl(0))}}break;case 31:case 13:E=Zn(c,2),E!==null&&ct(E,c,2),fr(),du(c,2)}if(c=hu(a),c===null&&Io(e,t,a,Mr,n),c===o)break;o=c}o!==null&&a.stopPropagation()}else Io(e,t,a,null,n)}}function hu(e){return e=ms(e),mu(e)}var Mr=null;function mu(e){if(Mr=null,e=pa(e),e!==null){var t=d(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=f(t),e!==null)return e;e=null}else if(n===31){if(e=m(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Mr=e,null}function nm(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 6,256 bytes, line 10
10:case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ey()){case uc:return 2;case cc:return 8;case gi:case ty:return 32;case dc:return 268435456;default:return 32}default:return 32}}var pu=!1,kn=null,Nn=null,Ln=null,ei=new Map,ti=new Map,zn=[],p0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function am(e,t){switch(e){case"focusin":case"focusout":kn=null;break;case"dragenter":case"dragleave":Nn=null;break;case"mouseover":case"mouseout":Ln=null;break;case"pointerover":case"pointerout":ei.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ti.delete(t.pointerId)}}function ni(e,t,n,a,o,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:c,targetContainers:[o]},t!==null&&(t=ya(t),t!==null&&em(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function y0(e,t,n,a,o){switch(t){case"focusin":return kn=ni(kn,e,t,n,a,o),!0;case"dragenter":return Nn=ni(Nn,e,t,n,a,o),!0;case"mouseover":return Ln=ni(Ln,e,t,n,a,o),!0;case"pointerover":var c=o.pointerId;return ei.set(c,ni(ei.get(c)||null,e,t,n,a,o)),!0;case"gotpointercapture":return c=o.pointerId,ti.set(c,ni(ti.get(c)||null,e,t,n,a,o)),!0}return!1}function lm(e){var t=pa(e.target);if(t!==null){var n=d(t);if(n!==null){if(t=n.tag,t===13){if(t=f(n),t!==null){e.blockedOn=t,gc(e.priority,function(){tm(n)});return}}else if(t===31){if(t=m(n),t!==null){e.blockedOn=t,gc(e.priority,function(){tm(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Or(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=hu(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);hs=a,n.target.dispatchEvent(a),hs=null}else return t=ya(n),t!==null&&em(t),e.blockedOn=n,!1;t.shift()}return!0}function im(e,t,n){Or(e)&&n.delete(t)}function g0(){pu=!1,kn!==null&&Or(kn)&&(kn=null),Nn!==null&&Or(Nn)&&(Nn=null),Ln!==null&&Or(Ln)&&(Ln=null),ei.forEach(im),ti.forEach(im)}function _r(e,t){e.blockedOn===t&&(e.blockedOn=null,pu||(pu=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,g0)))}var Dr=null;function rm(e){Dr!==e&&(Dr=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Dr===e&&(Dr=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],o=e[t+2];if(typeof a!="function"){if(mu(a||n)===null)continue;break}var c=ya(n);c!==null&&(e.splice(t,3),t-=3,ho(c,{pending:!0,data:o,method:n.method,action:a},a,o))}}))}function Ka(e){function t(M){return _r(M,e)}kn!==null&&_r(kn,e),Nn!==null&&_r(Nn,e),Ln!==null&&_r(Ln,e),ei.forEach(t),ti.forEach(t);for(var n=0;n<zn.length;n++){var a=zn[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<zn.length&&(n=zn[0],n.blockedOn===null);)lm(n),n.blockedOn===null&&zn.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var o=n[a],c=n[a+1],p=o[lt]||null;if(typeof c=="function")p||rm(n);else if(p){var E=null;if(c&&c.hasAttribute("formAction")){if(o=c,p=c[lt]||null)E=p.formAction;else if(mu(o)!==null)continue}else E=p.action;typeof E=="function"?n[a+1]=E:(n.splice(a,3),a-=3),rm(n)}}}function sm(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(p){return o=p})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function yu(e){this._internalRoot=e}Rr.prototype.render=yu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(l(409));var n=t.current,a=xt();Ih(n,a,e,t,null,null)},Rr.prototype.unmount=yu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ih(e.current,2,null,e,null,null),fr(),t[ma]=null}};function Rr(e){this._internalRoot=e}Rr.prototype.unstable_scheduleHydration=function(e){if(e){var t=yc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zn.length&&t!==0&&t<zn[n].priority;n++);zn.splice(n,0,e),n===0&&lm(e)}};var om=s.version;if(om!=="19.2.5")throw Error(l(527,om,"19.2.5"));W.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(l(188)):(e=Object.keys(e).join(","),Error(l(268,e)));return e=g(t),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var v0={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.2.5"};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var kr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!kr.isDisabled&&kr.supportsFiber)try{dl=kr.inject(v0),mt=kr}catch{}}return li.createRoot=function(e,t){if(!u(e))throw Error(l(299));var n=!1,a="",o=pf,c=yf,p=gf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(p=t.onRecoverableError)),t=Xh(e,1,!1,null,null,n,a,null,o,c,p,sm),e[ma]=t.current,Ko(e),new yu(t)},li.hydrateRoot=function(e,t,n){if(!u(e))throw Error(l(299));var a=!1,o="",c=pf,p=yf,E=gf,M=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(p=n.onCaughtError),n.onRecoverableError!==void 0&&(E=n.onRecoverableError),n.formState!==void 0&&(M=n.formState)),t=Xh(e,1,!0,t,n??null,a,o,M,c,p,E,sm),t.context=Kh(null),n=t.current,a=xt(),a=is(a),o=En(a),o.callback=null,xn(n,o,a),n=a,t.current.lanes=n,hl(t,n),qt(t),e[ma]=t.current,Ko(e),new Rr(t)},li.version="19.2.5",li}var bm;function R0(){if(bm)return Su.exports;bm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}return i(),Su.exports=D0(),Su.exports}var k0=R0();var Sm="popstate";function Em(i){return typeof i=="object"&&i!=null&&"pathname"in i&&"search"in i&&"hash"in i&&"state"in i&&"key"in i}function N0(i={}){function s(l,u){let d=u.state?.masked,{pathname:f,search:m,hash:h}=d||l.location;return ku("",{pathname:f,search:m,hash:h},u.state&&u.state.usr||null,u.state&&u.state.key||"default",d?{pathname:l.location.pathname,search:l.location.search,hash:l.location.hash}:void 0)}function r(l,u){return typeof u=="string"?u:di(u)}return z0(s,r,null,i)}function Ue(i,s){if(i===!1||i===null||typeof i>"u")throw new Error(s)}function Pt(i,s){if(!i){typeof console<"u"&&console.warn(s);try{throw new Error(s)}catch{}}}function L0(){return Math.random().toString(36).substring(2,10)}function xm(i,s){return{usr:i.state,key:i.key,idx:s,masked:i.unstable_mask?{pathname:i.pathname,search:i.search,hash:i.hash}:void 0}}function ku(i,s,r=null,l,u){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof s=="string"?al(s):s,state:r,key:s&&s.key||l||L0(),unstable_mask:u}}function di({pathname:i="/",search:s="",hash:r=""}){return s&&s!=="?"&&(i+=s.charAt(0)==="?"?s:"?"+s),r&&r!=="#"&&(i+=r.charAt(0)==="#"?r:"#"+r),i}function al(i){let s={};if(i){let r=i.indexOf("#");r>=0&&(s.hash=i.substring(r),i=i.substring(0,r));let l=i.indexOf("?");l>=0&&(s.search=i.substring(l),i=i.substring(0,l)),i&&(s.pathname=i)}return s}function z0(i,s,r,l={}){let{window:u=document.defaultView,v5Compat:d=!1}=l,f=u.history,m="POP",h=null,g=b();g==null&&(g=0,f.replaceState({...f.state,idx:g},""));function b(){return(f.state||{idx:null}).idx}function S(){m="POP";let x=b(),w=x==null?null:x-g;g=x,h&&h({action:m,location:_.location,delta:w})}function C(x,w){m="PUSH";let A=Em(x)?x:ku(_.location,x,w);g=b()+1;let O=xm(A,g),P=_.createHref(A.unstable_mask||A);try{f.pushState(O,"",P)}catch(F){if(F instanceof DOMException&&F.name==="DataCloneError")throw F;u.location.assign(P)}d&&h&&h({action:m,location:_.location,delta:1})}function j(x,w){m="REPLACE";let A=Em(x)?x:ku(_.location,x,w);g=b();let O=xm(A,g),P=_.createHref(A.unstable_mask||A);f.replaceState(O,"",P),d&&h&&h({action:m,location:_.location,delta:0})}function T(x){return U0(x)}let _={get action(){return m},get location(){return i(u,f)}
10,listen(x){if(h)throw new Error("A history only accepts one active listener");return u.addEventListener(Sm,S),h=x,()=>{u.removeEventListener(Sm,S),h=null}},createHref(x){return s(u,x)},createURL:T,encodeLocation(x){let w=T(x);return{pathname:w.pathname,search:w.search,hash:w.hash}},push:C,replace:j,go(x){return f.go(x)}};return _}function U0(i,s=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),Ue(r,"No window.location.(origin|href) available to create URL");let l=typeof i=="string"?i:di(i);return l=l.replace(/ $/,"%20"),!s&&l.startsWith("//")&&(l=r+l),new URL(l,r)}function Im(i,s,r="/"){return B0(i,s,r,!1)}function B0(i,s,r,l){let u=typeof s=="string"?al(s):s,d=fn(u.pathname||"/",r);if(d==null)return null;let f=$m(i);P0(f);let m=null;for(let h=0;m==null&&h<f.length;++h){let g=X0(d);m=W0(f[h],g,l)}return m}function $m(i,s=[],r=[],l="",u=!1){let d=(f,m,h=u,g)=>{let b={relativePath:g===void 0?f.path||"":g,caseSensitive:f.caseSensitive===!0,childrenIndex:m,route:f};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(l)&&h)return;Ue(b.relativePath.startsWith(l),`Absolute route path "${b.relativePath}" nested under path "${l}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(l.length)}let S=Bt([l,b.relativePath]),C=r.concat(b);f.children&&f.children.length>0&&(Ue(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${S}".`),$m(f.children,s,C,S,h)),!(f.path==null&&!f.index)&&s.push({path:S,score:Y0(S,f.index),routesMeta:C})};return i.forEach((f,m)=>{if(f.path===""||!f.path?.includes("?"))d(f,m);else for(let h of ep(f.path))d(f,m,!0,h)}),s}function ep(i){let s=i.split("/");if(s.length===0)return[];let[r,...l]=s,u=r.endsWith("?"),d=r.replace(/\?$/,"");if(l.length===0)return u?[d,""]:[d];let f=ep(l.join("/")),m=[];return m.push(...f.map(h=>h===""?d:[d,h].join("/"))),u&&m.push(...f),m.map(h=>i.startsWith("/")&&h===""?"/":h)}function P0(i){i.sort((s,r)=>s.score!==r.score?r.score-s.score:J0(s.routesMeta.map(l=>l.childrenIndex),r.routesMeta.map(l=>l.childrenIndex)))}var G0=/^:[\w-]+$/,H0=3,F0=2,V0=1,q0=10,Q0=-2,Cm=i=>i==="*";function Y0(i,s){let r=i.split("/"),l=r.length;return r.some(Cm)&&(l+=Q0),s&&(l+=F0),r.filter(u=>!Cm(u)).reduce((u,d)=>u+(G0.test(d)?H0:d===""?V0:q0),l)}function J0(i,s){return i.length===s.length&&i.slice(0,-1).every((l,u)=>l===s[u])?i[i.length-1]-s[s.length-1]:0}function W0(i,s,r=!1){let{routesMeta:l}=i,u={},d="/",f=[];for(let m=0;m<l.length;++m){let h=l[m],g=m===l.length-1,b=d==="/"?s:s.slice(d.length)||"/",S=Vr({path:h.relativePath,caseSensitive:h.caseSensitive,end:g},b),C=h.route;if(!S&&g&&r&&!l[l.length-1].route.index&&(S=Vr({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},b)),!S)return null;
10Object.assign(u,S.params),f.push({params:u,pathname:Bt([d,S.pathname]),pathnameBase:e1(Bt([d,S.pathnameBase])),route:C}),S.pathnameBase!=="/"&&(d=Bt([d,S.pathnameBase]))}return f}function Vr(i,s){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[r,l]=Z0(i.path,i.caseSensitive,i.end),u=s.match(r);if(!u)return null;let d=u[0],f=d.replace(/(.)\/+$/,"$1"),m=u.slice(1);return{params:l.reduce((g,{paramName:b,isOptional:S},C)=>{if(b==="*"){let T=m[C]||"";f=d.slice(0,d.length-T.length).replace(/(.)\/+$/,"$1")}const j=m[C];return S&&!j?g[b]=void 0:g[b]=(j||"").replace(/%2F/g,"/"),g},{}),pathname:d,pathnameBase:f,pattern:i}}function Z0(i,s=!1,r=!0){Pt(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let l=[],u="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,m,h,g,b)=>{if(l.push({paramName:m,isOptional:h!=null}),h){let S=b.charAt(g+f.length);return S&&S!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return i.endsWith("*")?(l.push({paramName:"*"}),u+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?u+="\\/*$":i!==""&&i!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,s?void 0:"i"),l]}function X0(i){try{return i.split("/").map(s=>decodeURIComponent(s).replace(/\//g,"%2F")).join("/")}catch(s){return Pt(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${s}).`),i}}function fn(i,s){if(s==="/")return i;if(!i.toLowerCase().startsWith(s.toLowerCase()))return null;let r=s.endsWith("/")?s.length-1:s.length,l=i.charAt(r);return l&&l!=="/"?null:i.slice(r)||"/"}var K0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function I0(i,s="/"){let{pathname:r,search:l="",hash:u=""}=typeof i=="string"?al(i):i,d;return r?(r=np(r),r.startsWith("/")?d=jm(r.substring(1),"/"):d=jm(r,s)):d=s,{pathname:d,search:t1(l),hash:n1(u)}}function jm(i,s){let r=qr(s).split("/");return i.split("/").forEach(u=>{u===".."?r.length>1&&r.pop():u!=="."&&r.push(u)}),r.length>1?r.join("/"):"/"}function ju(i,s,r,l){return`Cannot include a '${i}' character in a manually specified \`to.${s}\` field [${JSON.stringify(l)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function $0(i){return i.filter((s,r)=>r===0||s.route.path&&s.route.path.length>0)}function tp(i){let s=$0(i);return s.map((r,l)=>l===s.length-1?r.pathname:r.pathnameBase)}function Yu(i,s,r,l=!1){let u;typeof i=="string"?u=al(i):(u={...i},Ue(!u.pathname||!u.pathname.includes("?"),ju("?","pathname","search",u)),Ue(!u.pathname||!u.pathname.includes("#"),ju("#","pathname","hash",u)),Ue(!u.search||!u.search.includes("#"),ju("#","search","hash",u)));let d=i===""||u.pathname==="",f=d?"/":u.pathname,m;if(f==null)m=r;else{let S=s.length-1;if(!l&&f.startsWith("..")){let C=f.split("/");for(;C[0]==="..";)C.shift(),S-=1;u.pathname=C.join("/")}m=S>=0?s[S]:"/"}let h=I0(u,m),g=f&&f!=="/"&&f.endsWith("/"),b=(d||f===".")&&r.endsWith("/");return!h.pathname.endsWith("/")&&(g||b)&&(h.pathname+="/"),h}var np=i=>i.replace(/\/\/+/g,"/"),Bt=i=>np(i.join("/")),qr=i=>i.replace(/\/+$/,""),e1=i=>qr(i).replace(/^\/*/,"/"),t1=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,n1=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i,a1=class{constructor(i,s,r,l=!1){this.status=i,this.statusText=s||"",this.internal=l,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function l1(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}function i1(i){let s=i.map(r=>r.route.path).filter(Boolean);return Bt(s)||"/"}var ap=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function lp(i,s){let r=i;if(typeof r!="string"||!K0.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let l=r,u=!1;if(ap)try{let d=new URL(window.location.href),f=r.startsWith("//")?new URL(d.protocol+r):new URL(r),m=fn(f.pathname,s);f.origin===d.origin&&m!=null?r=m+f.search+f.hash:u=!0}catch{Pt(!1,`<Link to="${r}">
10 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:l,isExternal:u,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ip=["POST","PUT","PATCH","DELETE"];new Set(ip);var r1=["GET",...ip];new Set(r1);var ll=v.createContext(null);ll.displayName="DataRouter";var Wr=v.createContext(null);Wr.displayName="DataRouterState";var rp=v.createContext(!1);function s1(){return v.useContext(rp)}var sp=v.createContext({isTransitioning:!1});sp.displayName="ViewTransition";var o1=v.createContext(new Map);o1.displayName="Fetchers";var u1=v.createContext(null);u1.displayName="Await";var Nt=v.createContext(null);Nt.displayName="Navigation";var mi=v.createContext(null);mi.displayName="Location";var Qt=v.createContext({outlet:null,matches:[],isDataRoute:!1});Qt.displayName="Route";var Ju=v.createContext(null);Ju.displayName="RouteError";var op="REACT_ROUTER_ERROR",c1="REDIRECT",d1="ROUTE_ERROR_RESPONSE";function f1(i){if(i.startsWith(`${op}:${c1}:{`))try{let s=JSON.parse(i.slice(28));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.location=="string"&&typeof s.reloadDocument=="boolean"&&typeof s.replace=="boolean")return s}catch{}}function h1(i){if(i.startsWith(`${op}:${d1}:{`))try{let s=JSON.parse(i.slice(40));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string")return new a1(s.status,s.statusText,s.data)}catch{}}function m1(i,{relative:s}={}){Ue(pi(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:l}=v.useContext(Nt),{hash:u,pathname:d,search:f}=yi(i,{relative:s}),m=d;return r!=="/"&&(m=d==="/"?r:Bt([r,d])),l.createHref({pathname:m,search:f,hash:u})}function pi(){return v.useContext(mi)!=null}function Gt(){return Ue(pi(),"useLocation() may be used only in the context of a <Router> component."),v.useContext(mi).location}var up="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function cp(i){v.useContext(Nt).static||v.useLayoutEffect(i)}function Zr(){let{isDataRoute:i}=v.useContext(Qt);return i?M1():p1()}function p1(){Ue(pi(),"useNavigate() may be used only in the context of a <Router> component.");let i=v.useContext(ll),{basename:s,navigator:r}=v.useContext(Nt),{matches:l}=v.useContext(Qt),{pathname:u}=Gt(),d=JSON.stringify(tp(l)),f=v.useRef(!1);return cp(()=>{f.current=!0}),v.useCallback((h,g={})=>{if(Pt(f.current,up),!f.current)return;if(typeof h=="number"){r.go(h);return}let b=Yu(h,JSON.parse(d),u,g.relative==="path");i==null&&s!=="/"&&(b.pathname=b.pathname==="/"?s:Bt([s,b.pathname])),(g.replace?r.replace:r.push)(b,g.state,g)},[s,r,d,u,i])}v.createContext(null);function y1(){let{matches:i}=v.useContext(Qt);return i[i.length-1]?.params??{}}function yi(i,{relative:s}={}){let{matches:r}=v.useContext(Qt),{pathname:l}=Gt(),u=JSON.stringify(tp(r));return v.useMemo(()=>Yu(i,JSON.parse(u),l,s==="path"),[i,u,l,s])}function g1(i,s){return dp(i,s)}function dp(i,s,r){Ue(pi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l}=v.useContext(Nt),{matches:u}=v.useContext(Qt),d=u[u.length-1],f=d?d.params:{},m=d?d.pathname:"/",h=d?d.pathnameBase:"/",g=d&&d.route;{let x=g&&g.path||"";hp(m,!g||x.endsWith("*")||x.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${x}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
11
12Please change the parent <Route path="${x}"> to <Route path="${x==="/"?"*":`${x}/*`}">.`)}let b=Gt(),S;if(s){let x=typeof s=="string"?al(s):s;Ue(h==="/"||x.pathname?.startsWith(h),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${x.pathname}" was given in the \`location\` prop.`),S=x}else S=b;let C=S.pathname||"/",j=C;if(h!=="/"){let x=h.replace(/^\//,"").split("/");j="/"+C.replace(/^\//,"").split("/").slice(x.length).join("/")}let T=Im(i,{pathname:j});Pt(g||T!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),Pt(T==null||T[T.length-1].route.element!==void 0||T[T.length-1].route.Component!==void 0||T[T.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let _=x1(T&&T.map(x=>Object.assign({},x,{params:Object.assign({},f,x.params),pathname:Bt([h,l.encodeLocation?l.encodeLocation(x.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?h:Bt([h,l.encodeLocation?l.encodeLocation(x.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathnameBase])})),u,r);return s&&_?v.createElement(mi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...S},navigationType:"POP"}},_):_}function v1(){let i=w1(),s=l1(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),r=i instanceof Error?i.stack:null,l="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:l},d={padding:"2px 4px",backgroundColor:l},f=null;return console.error("Error handled by React Router default ErrorBoundary:",i),f=v.createElement(v.Fragment,null,v.createElement("p",null,"💿 Hey developer 👋"),v.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",v.createElement("code",{style:d},"ErrorBoundary")," or"," ",v.createElement("code",{style:d},"errorElement")," prop on your route.")),v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application 
12Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},s),r?v.createElement("pre",{style:u},r):null,f)}var b1=v.createElement(v1,null),fp=class extends v.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,s){return s.location!==i.location||s.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:s.error,location:s.location,revalidation:i.revalidation||s.revalidation}}componentDidCatch(i,s){this.props.onError?this.props.onError(i,s):console.error("React Router caught the following error during render",i)}render(){let i=this.state.error;if(this.context&&typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){const r=h1(i.digest);r&&(i=r)}let s=i!==void 0?v.createElement(Qt.Provider,{value:this.props.routeContext},v.createElement(Ju.Provider,{value:i,children:this.props.component})):this.props.children;return this.context?v.createElement(S1,{error:i},s):s}};fp.contextType=rp;var Tu=new WeakMap;function S1({children:i,error:s}){let{basename:r}=v.useContext(Nt);if(typeof s=="object"&&s&&"digest"in s&&typeof s.digest=="string"){let l=f1(s.digest);if(l){let u=Tu.get(s);if(u)throw u;let d=lp(l.location,r);if(ap&&!Tu.get(s))if(d.isExternal||l.reloadDocument)window.location.href=d.absoluteURL||d.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:l.replace}));throw Tu.set(s,f),f}return v.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d.absoluteURL||d.to}`})}}return i}function E1({routeContext:i,match:s,children:r}){let l=v.useContext(ll);return l&&l.static&&l.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=s.route.id),v.createElement(Qt.Provider,{value:i},r)}function x1(i,s=[],r){let l=r?.state;if(i==null){if(!l)return null;if(l.errors)i=l.matches;else if(s.length===0&&!l.initialized&&l.matches.length>0)i=l.matches;else return null}let u=i,d=l?.errors;if(d!=null){let b=u.findIndex(S=>S.route.id&&d?.[S.route.id]!==void 0);Ue(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),u=u.slice(0,Math.min(u.length,b+1))}let f=!1,m=-1;if(r&&l){f=l.renderFallback;for(let b=0;b<u.length;b++){let S=u[b];if((S.route.HydrateFallback||S.route.hydrateFallbackElement)&&(m=b),S.route.id){let{loaderData:C,errors:j}=l,T=S.route.loader&&!C.hasOwnProperty(S.route.id)&&(!j||j[S.route.id]===void 0);if(S.route.lazy||T){r.isStatic&&(f=!0),m>=0?u=u.slice(0,m+1):u=[u[0]];break}}}}let h=r?.onError,g=l&&h?(b,S)=>{h(b,{location:l.location,params:l.matches?.[0]?.params??{},unstable_pattern:i1(l.matches),errorInfo:S})}:void 0;return u.reduceRight((b,S,C)=>{let j,T=!1,_=null,x=null;l&&(j=d&&S.route.id?d[S.route.id]:void 0,_=S.route.errorElement||b1,f&&(m<0&&C===0?(hp("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,x=null):m===C&&(T=!0,x=S.route.hydrateFallbackElement||null)));let w=s.concat(u.slice(0,C+1)),A=()=>{let O;return j?O=_:T?O=x:S.route.Component?O=v.createElement(S.route.Component,null):S.route.element?O=S.route.element:O=b,v.createElement(E1,{match:S,routeContext:{outlet:b,matches:w,isDataRoute:l!=null},children:O})};return l&&(S.route.ErrorBoundary||S.route.errorElement||C===0)?v.createElement(fp,{location:l.location,revalidation:l.revalidation,component:_,error:j,children:A(),routeContext:{outlet:null,matches:w,isDataRoute:!0},onError:g}):A()},null)}function Wu(i){return`${i} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function C1(i){let s=v.useContext(ll);return Ue(s,Wu(i)),s}function j1(i){let s=v.useContext(Wr);return Ue(s,Wu(i)),s}function T1(i){let s=v.useContext(Qt);return Ue(s,Wu(i)),s}function Zu(i){let s=T1(i),r=s.matches[s.matches.length-1];return Ue(r.route.id,`${i} can only be used on routes that contain a unique "id"`),r.route.id}function A1(){return Zu("useRouteId")}function w1(){let i=v.useContext(Ju),s=j1("useRouteError"),r=Zu("useRouteError");return i!==void 0?i:s.errors?.[r]}function M1(){let{router:i}=C1("useNavigate"),s=Zu("useNavigate"),r=v.useRef(!1);return cp(()=>{r.current=!0}),v.useCallback(async(u,d={})=>{Pt(r.current,up),r.current&&(typeof u=="number"?await i.navigate(u):await i.navigate(u,{fromRouteId:s,...d}))},[i,s])}var Tm={};function hp(i,s,r){!s&&!Tm[i]&&(Tm[i]=!0,Pt(!1,r))}v.memo(O1);function O1({routes:i,future:s,state:r,isStatic:l,onError:u}){return dp(i,void 0,{state:r,isStatic:l,onError:u})}function el(i){Ue(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function _1({basename:i="/",children:s=null,location:r,navigationType:l="POP",navigator:u,static:d=!1,unstable_useTransitions:f}){Ue(!pi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=i.replace(/^\/*/,"/"),h=v.useMemo(()=>({basename:m,navigator:u,static:d,unstable_useTransitions:f,future:{}}),[m,u,d,f]);typeof r=="string"&&(r=al(r));let{pathname:g="/",search:b="",hash:S="",state:C=null,key:j="default",unstable_mask:T}=r,_=v.useMemo(()=>{let x=fn(g,m);return x==null?null:{location:{pathname:x,search:b,hash:S,state:C,key:j,unstable_mask:T},navigationType:l}},[m,g,b,S,C,j,l,T]);
12return Pt(_!=null,`<Router basename="${m}"> is not able to match the URL "${g}${b}${S}" because it does not start with the basename, so the <Router> won't render anything.`),_==null?null:v.createElement(Nt.Provider,{value:h},v.createElement(mi.Provider,{children:s,value:_}))}function D1({children:i,location:s}){return g1(Nu(i),s)}function Nu(i,s=[]){let r=[];return v.Children.forEach(i,(l,u)=>{if(!v.isValidElement(l))return;let d=[...s,u];if(l.type===v.Fragment){r.push.apply(r,Nu(l.props.children,d));return}Ue(l.type===el,`[${typeof l.type=="string"?l.type:l.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ue(!l.props.index||!l.props.children,"An index route cannot have child routes.");let f={id:l.props.id||d.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,middleware:l.props.middleware,loader:l.props.loader,action:l.props.action,hydrateFallbackElement:l.props.hydrateFallbackElement,HydrateFallback:l.props.HydrateFallback,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.hasErrorBoundary===!0||l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(f.children=Nu(l.props.children,d)),r.push(f)}),r}var Gr="get",Hr="application/x-www-form-urlencoded";function Xr(i){return typeof HTMLElement<"u"&&i instanceof HTMLElement}function R1(i){return Xr(i)&&i.tagName.toLowerCase()==="button"}function k1(i){return Xr(i)&&i.tagName.toLowerCase()==="form"}function N1(i){return Xr(i)&&i.tagName.toLowerCase()==="input"}function L1(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function z1(i,s){return i.button===0&&(!s||s==="_self")&&!L1(i)}function Lu(i=""){return new URLSearchParams(typeof i=="string"||Array.isArray(i)||i instanceof URLSearchParams?i:Object.keys(i).reduce((s,r)=>{let l=i[r];return s.concat(Array.isArray(l)?l.map(u=>[r,u]):[[r,l]])},[]))}function U1(i,s){let r=Lu(i);return s&&s.forEach((l,u)=>{r.has(u)||s.getAll(u).forEach(d=>{r.append(u,d)})}),r}var Nr=null;function B1(){if(Nr===null)try{new FormData(document.createElement("form"),0),Nr=!1}catch{Nr=!0}return Nr}var P1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Au(i){return i!=null&&!P1.has(i)?(Pt(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Hr}"`),null):i}function G1(i,s){let r,l,u,d,f;if(k1(i)){let m=i.getAttribute("action");l=m?fn(m,s):null,r=i.getAttribute("method")||Gr,u=Au(i.getAttribute("enctype"))||Hr,d=new FormData(i)}else if(R1(i)||N1(i)&&(i.type==="submit"||i.type==="image")){let m=i.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=i.getAttribute("formaction")||m.getAttribute("action");if(l=h?fn(h,s):null,r=i.getAttribute("formmethod")||m.getAttribute("method")||Gr,u=Au(i.getAttribute("formenctype"))||Au(m.getAttribute("enctype"))||Hr,d=new FormData(m,i),!B1()){let{name:g,type:b,value:S}=i;if(b==="image"){let C=g?`${g}.`:"";d.append(`${C}x`,"0"),d.append(`${C}y`,"0")}else g&&d.append(g,S)}}else{if(Xr(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Gr,l=null,u=Hr,f=i}return d&&u==="text/plain"&&(f=d,d=void 0),{action:l,method:r.toLowerCase(),encType:u,formData:d,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Xu(i,s){if(i===!1||i===null||typeof i>"u")throw new Error(s)}function mp(i,s,r,l){let u=typeof i=="string"?new URL(i,typeof window>"u"?"server://singlefetch/":window.location.origin):i;return r?u.pathname.endsWith("/")?u.pathname=`${u.pathname}_.${l}`:u.pathname=`${u.pathname}.${l}`:u.pathname==="/"?u.pathname=`_root.${l}`:s&&fn(u.pathname,s)==="/"?u.pathname=`${qr(s)}/_root.${l}`:u.pathname=`${qr(u.pathname)}.${l}`,u}async function H1(i,s){if(i.id in s)return s[i.id];try{let r=await import(i.module);return s[i.id]=r,r}catch(r){return console.error(`Error loading route module \`${i.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.
12isSpaMode,window.location.reload(),new Promise(()=>{})}}function F1(i){return i==null?!1:i.href==null?i.rel==="preload"&&typeof i.imageSrcSet=="string"&&typeof i.imageSizes=="string":typeof i.rel=="string"&&typeof i.href=="string"}async function V1(i,s,r){let l=await Promise.all(i.map(async u=>{let d=s.routes[u.route.id];if(d){let f=await H1(d,r);return f.links?f.links():[]}return[]}));return J1(l.flat(1).filter(F1).filter(u=>u.rel==="stylesheet"||u.rel==="preload").map(u=>u.rel==="stylesheet"?{...u,rel:"prefetch",as:"style"}:{...u,rel:"prefetch"}))}function Am(i,s,r,l,u,d){let f=(h,g)=>r[g]?h.route.id!==r[g].route.id:!0,m=(h,g)=>r[g].pathname!==h.pathname||r[g].route.path?.endsWith("*")&&r[g].params["*"]!==h.params["*"];return d==="assets"?s.filter((h,g)=>f(h,g)||m(h,g)):d==="data"?s.filter((h,g)=>{let b=l.routes[h.route.id];if(!b||!b.hasLoader)return!1;if(f(h,g)||m(h,g))return!0;if(h.route.shouldRevalidate){let S=h.route.shouldRevalidate({currentUrl:new URL(u.pathname+u.search+u.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(i,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function q1(i,s,{includeHydrateFallback:r}={}){return Q1(i.map(l=>{let u=s.routes[l.route.id];if(!u)return[];let d=[u.module];return u.clientActionModule&&(d=d.concat(u.clientActionModule)),u.clientLoaderModule&&(d=d.concat(u.clientLoaderModule)),r&&u.hydrateFallbackModule&&(d=d.concat(u.hydrateFallbackModule)),u.imports&&(d=d.concat(u.imports)),d}).flat(1))}function Q1(i){return[...new Set(i)]}function Y1(i){let s={},r=Object.keys(i).sort();for(let l of r)s[l]=i[l];return s}function J1(i,s){let r=new Set;return new Set(s),i.reduce((l,u)=>{let d=JSON.stringify(Y1(u));return r.has(d)||(r.add(d),l.push({key:d,link:u})),l},[])}function Ku(){let i=v.useContext(ll);return Xu(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function W1(){let i=v.useContext(Wr);return Xu(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var Iu=v.createContext(void 0);Iu.displayName="FrameworkContext";function $u(){let i=v.useContext(Iu);return Xu(i,"You must render this element inside a <HydratedRouter> element"),i}function Z1(i,s){let r=v.useContext(Iu),[l,u]=v.useState(!1),[d,f]=v.useState(!1),{onFocus:m,onBlur:h,onMouseEnter:g,onMouseLeave:b,onTouchStart:S}=s,C=v.useRef(null);v.useEffect(()=>{if(i==="render"&&f(!0),i==="viewport"){let _=w=>{w.forEach(A=>{f(A.isIntersecting)})},x=new IntersectionObserver(_,{threshold:.5});return C.current&&x.observe(C.current),()=>{x.disconnect()}}},[i]),v.useEffect(()=>{if(l){let _=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(_)}}},[l]);let j=()=>{u(!0)},T=()=>{u(!1),f(!1)};return r?i!=="intent"?[d,C,{}]:[d,C,{onFocus:ii(m,j),onBlur:ii(h,T),onMouseEnter:ii(g,j),onMouseLeave:ii(b,T),onTouchStart:ii(S,j)}]:[!1,C,{}]}function ii(i,s){return r=>{i&&i(r),r.defaultPrevented||s(r)}}function X1({page:i,...s}){let r=s1(),{router:l}=Ku(),u=v.useMemo(()=>Im(l.routes,i,l.basename),[l.routes,i,l.basename]);return u?r?v.createElement(I1,{page:i,matches:u,...s}):v.createElement($1,{page:i,matches:u,...s}):null}function K1(i){let{manifest:s,routeModules:r}=$u(),[l,u]=v.useState([]);return v.useEffect(()=>{let d=!1;return V1(i,s,r).then(f=>{d||u(f)}),()=>{d=!0}},[i,s,r]),l}function I1({page:i,matches:s,...r}){let l=Gt(),{future:u}=$u(),{basename:d}=Ku(),f=v.useMemo(()=>{if(i===l.pathname+l.search+l.hash)return[];let m=mp(i,d,u.unstable_trailingSlashAwareDataRequests,"rsc"),h=!1,g=[];for(let b of s)typeof b.route.shouldRevalidate=="function"?h=!0:g.push(b.route.id);return h&&g.length>0&&m.searchParams.set("_routes",g.join(",")),[m.pathname+m.search]},[d,u.unstable_trailingSlashAwareDataRequests,i,l,s]);return v.createElement(v.Fragment,null,f.map(m=>v.createElement("link",{key:m,rel:"prefetch",as:"fetch",href:m,...r})))}function $1({page:i,matches:s,...r}){let l=Gt(),{future:u,manifest:d,routeModules:f}=$u(),{basename:m}=Ku(),{loaderData:h,matches:g}=W1(),b=v.useMemo(()=>Am(i,s,g,d,l,"data"),[i,s,g,d,l]),S=v.useMemo(()=>Am(i,s,g,d,l,"assets"),[i,s,g,d,l]),C=v.useMemo(()=>
12{if(i===l.pathname+l.search+l.hash)return[];let _=new Set,x=!1;if(s.forEach(A=>{let O=d.routes[A.route.id];!O||!O.hasLoader||(!b.some(P=>P.route.id===A.route.id)&&A.route.id in h&&f[A.route.id]?.shouldRevalidate||O.hasClientLoader?x=!0:_.add(A.route.id))}),_.size===0)return[];let w=mp(i,m,u.unstable_trailingSlashAwareDataRequests,"data");return x&&_.size>0&&w.searchParams.set("_routes",s.filter(A=>_.has(A.route.id)).map(A=>A.route.id).join(",")),[w.pathname+w.search]},[m,u.unstable_trailingSlashAwareDataRequests,h,l,d,b,s,i,f]),j=v.useMemo(()=>q1(S,d),[S,d]),T=K1(S);return v.createElement(v.Fragment,null,C.map(_=>v.createElement("link",{key:_,rel:"prefetch",as:"fetch",href:_,...r})),j.map(_=>v.createElement("link",{key:_,rel:"modulepreload",href:_,...r})),T.map(({key:_,link:x})=>v.createElement("link",{key:_,nonce:r.nonce,...x,crossOrigin:x.crossOrigin??r.crossOrigin})))}function ev(...i){return s=>{i.forEach(r=>{typeof r=="function"?r(s):r!=null&&(r.current=s)})}}var tv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{tv&&(window.__reactRouterVersion="7.14.2")}catch{}function nv({basename:i,children:s,unstable_useTransitions:r,window:l}){let u=v.useRef();u.current==null&&(u.current=N0({window:l,v5Compat:!0}));let d=u.current,[f,m]=v.useState({action:d.action,location:d.location}),h=v.useCallback(g=>{r===!1?m(g):v.startTransition(()=>m(g))},[r]);return v.useLayoutEffect(()=>d.listen(h),[d,h]),v.createElement(_1,{basename:i,children:s,location:f.location,navigationType:f.action,navigator:d,unstable_useTransitions:r})}var pp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ec=v.forwardRef(function({onClick:s,discover:r="render",prefetch:l="none",relative:u,reloadDocument:d,replace:f,unstable_mask:m,state:h,target:g,to:b,preventScrollReset:S,viewTransition:C,unstable_defaultShouldRevalidate:j,...T},_){let{basename:x,navigator:w,unstable_useTransitions:A}=v.useContext(Nt),O=typeof b=="string"&&pp.test(b),P=lp(b,x);b=P.to;let F=m1(b,{relative:u}),H=Gt(),B=null;if(m){let ee=Yu(m,[],H.unstable_mask?H.unstable_mask.pathname:"/",!0);x!=="/"&&(ee.pathname=ee.pathname==="/"?x:Bt([x,ee.pathname])),B=w.createHref(ee)}let[K,te,$]=Z1(l,T),fe=iv(b,{replace:f,unstable_mask:m,state:h,target:g,preventScrollReset:S,relative:u,viewTransition:C,unstable_defaultShouldRevalidate:j,unstable_useTransitions:A});function ve(ee){s&&s(ee),ee.defaultPrevented||fe(ee)}let Ae=!(P.isExternal||d),X=v.createElement("a",{...T,...$,href:(Ae?B:void 0)||P.absoluteURL||F,onClick:Ae?ve:s,ref:ev(_,te),target:g,"data-discover":!O&&r==="render"?"true":void 0});return K&&!O?v.createElement(v.Fragment,null,X,v.createElement(X1,{page:F})):X});ec.displayName="Link";var ui=v.forwardRef(function({"aria-current":s="page",caseSensitive:r=!1,className:l="",end:u=!1,style:d,to:f,viewTransition:m,children:h,...g},b){let S=yi(f,{relative:g.relative}),C=Gt(),j=v.useContext(Wr),{navigator:T,basename:_}=v.useContext(Nt),x=j!=null&&dv(S)&&m===!0,w=T.encodeLocation?T.encodeLocation(S).pathname:S.pathname,A=C.pathname,O=j&&j.navigation&&j.navigation.location?j.navigation.location.pathname:null;r||(A=A.toLowerCase(),O=O?O.toLowerCase():null,w=w.toLowerCase()),O&&_&&(O=fn(O,_)||O);const P=w!=="/"&&w.endsWith("/")?w.length-1:w.length;let F=A===w||!u&&A.startsWith(w)&&A.charAt(P)==="/",H=O!=null&&(O===w||!u&&O.startsWith(w)&&O.charAt(w.length)==="/"),B={isActive:F,isPending:H,isTransitioning:x},K=F?s:void 0,te;typeof l=="function"?te=l(B):te=[l,F?"active":null,H?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let $=typeof d=="function"?d(B):d;return v.createElement(ec,{...g,"aria-current":K,className:te,ref:b,style:$,to:f,viewTransition:m},typeof h=="function"?h(B):h)});ui.displayName="NavLink";var av=v.forwardRef(({discover:i="render",fetcherKey:s,navigate:r,reloadDocument:l,replace:u,state:d,method:f=Gr,action:m,onSubmit:h,relative:g,preventScrollReset:b,viewTransition:S,unstable_defaultShouldRevalidate:C,...j},T)=>{let{unstable_useTransitions:_}=v.useContext(Nt),x=uv(),w=cv(m,{relative:g}),A=f.toLowerCase()==="get"?"get":"post",O=typeof m=="string"&&pp.test(m),P=F=>{if(h&&h(F),F.defaultPrevented)return;F.preventDefault();let H=F.nativeEvent.submitter,B=H?.getAttribute("formmethod")||f,K=()=>x(H||F.currentTarget,{fetcherKey:s,method:B,navigate:r,replace:u,state:d,relative:g,preventScrollReset:b,viewTransition:S,unstable_defaultShouldRevalidate:C});_&&r!==!1?v.startTransition(()=>K()):K()};return v.createElement("form",{ref:T,method:A,action:w,onSubmit:l?h:P,...j,"data-discover":!O&&i==="render"?"true":void 0})});av.displayName="Form";function lv(i){return`${i} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function yp(i){let s=v.useContext(ll);return Ue(s,lv(i)),s}function iv(i,{target:s,replace:r,unstable_mask:l,state:u,preventScrollReset:d,relative:f,viewTransition:m,unstable_defaultShouldRevalidate:h,unstable_useTransitions:g}={}){let b=Zr(),S=Gt(),C=yi(i,{relative:f});return v.useCallback(j=>{if(z1(j,s)){j.preventDefault();let T=r!==void 0?r:di(S)===di(C),_=()=>b(i,{replace:T,unstable_mask:l,state:u,preventScrollReset:d,relative:f,viewTransition:m,unstable_defaultShouldRevalidate:h});g?v.startTransition(()=>_()):_()}},[S,b,C,r,l,u,s,i,d,f,m,h,g])}function rv(i){Pt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let s=v.useRef(Lu(i)),r=v.useRef(!1),l=Gt(),u=v.useMemo(()=>U1(l.search,r.current?null:s.current),[l.search]),d=Zr(),f=v.useCallback((m,h)=>{const g=Lu(typeof m=="function"?m(new URLSearchParams(u)):m);r.current=!0,d("?"+g,h)},[d,u]);return[u,f]}var sv=0,ov=()=>`__${String(++sv)}__`;function uv(){let{router:i}=yp("useSubmit"),{basename:s}=v.useContext(Nt),r=A1(),l=i.fetch,u=i.navigate;return v.useCallback(async(d,f={})=>{let{action:m,method:h,encType:g,formData:b,body:S}=G1(d,s);
12if(f.navigate===!1){let C=f.fetcherKey||ov();await l(C,r,f.action||m,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:b,body:S,formMethod:f.method||h,formEncType:f.encType||g,flushSync:f.flushSync})}else await u(f.action||m,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:b,body:S,formMethod:f.method||h,formEncType:f.encType||g,replace:f.replace,state:f.state,fromRouteId:r,flushSync:f.flushSync,viewTransition:f.viewTransition})},[l,u,s,r])}function cv(i,{relative:s}={}){let{basename:r}=v.useContext(Nt),l=v.useContext(Qt);Ue(l,"useFormAction must be used inside a RouteContext");let[u]=l.matches.slice(-1),d={...yi(i||".",{relative:s})},f=Gt();if(i==null){d.search=f.search;let m=new URLSearchParams(d.search),h=m.getAll("index");if(h.some(b=>b==="")){m.delete("index"),h.filter(S=>S).forEach(S=>m.append("index",S));let b=m.toString();d.search=b?`?${b}`:""}}return(!i||i===".")&&u.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(d.pathname=d.pathname==="/"?r:Bt([r,d.pathname])),di(d)}function dv(i,{relative:s}={}){let r=v.useContext(sp);Ue(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:l}=yp("useViewTransitionState"),u=yi(i,{relative:s});if(!r.isTransitioning)return!1;let d=fn(r.currentLocation.pathname,l)||r.currentLocation.pathname,f=fn(r.nextLocation.pathname,l)||r.nextLocation.pathname;return Vr(u.pathname,f)!=null||Vr(u.pathname,d)!=null}var tl=Km(),wu,wm;function fv(){return wm||(wm=1,wu=function i(s,r){if(s===r)return!0;if(s&&r&&typeof s=="object"&&typeof r=="object"){if(s.constructor!==r.constructor)return!1;var l,u,d;if(Array.isArray(s)){if(l=s.length,l!=r.length)return!1;for(u=l;u--!==0;)if(!i(s[u],r[u]))return!1;return!0}if(s.constructor===RegExp)return s.source===r.source&&s.flags===r.flags;if(s.valueOf!==Object.prototype.valueOf)return s.valueOf()===r.valueOf();if(s.toString!==Object.prototype.toString)return s.toString()===r.toString();if(d=Object.keys(s),l=d.length,l!==Object.keys(r).length)return!1;for(u=l;u--!==0;)if(!Object.prototype.hasOwnProperty.call(r,d[u]))return!1;for(u=l;u--!==0;){var f=d[u];if(!i(s[f],r[f]))return!1}return!0}return s!==s&&r!==r}),wu}var hv=fv();const il=qu(hv),mv="1.8.3";function ft(i,s){var r={};for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&s.indexOf(l)<0&&(r[l]=i[l]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,l=Object.getOwnPropertySymbols(i);u<l.length;u++)s.indexOf(l[u])<0&&Object.prototype.propertyIsEnumerable.call(i,l[u])&&(r[l[u]]=i[l[u]]);return r}function Mm(i,s,r,l){function u(d){return d instanceof r?d:new r(function(f){f(d)})}return new(r||(r=Promise))(function(d,f){function m(b){try{g(l.next(b))}catch(S){f(S)}}function h(b){try{g(l.throw(b))}catch(S){f(S)}}function g(b){b.done?d(b.value):u(b.value).then(m,h)}g((l=l.apply(i,[])).next())})}function pv(i,s){i.src=s}const yv=i=>{var s,r,l,u="The Google Maps JavaScript API",d="google",f="importLibrary",m="__ib__",h=document,g=window,b=g[d]||(g[d]={}),S=b.maps||(b.maps={}),C=new Set,j=new URLSearchParams,T=()=>s||(s=new Promise(async(_,x)=>{await(r=h.createElement("script")),j.set("libraries",[...C]+"");for(l in i)j.set(l.replace(/[A-Z]/g,w=>"_"+w[0].toLowerCase()),i[l]);j.set("callback",d+".maps."+m),pv(r,"https://maps.googleapis.com/maps/api/js?"+j),S[m]=_,r.onerror=()=>s=x(Error(u+" could not load.")),r.nonce=h.querySelector("script[nonce]")?.nonce||"",h.head.append(r)}));S[f]?console.warn(u+" only loads once. Ignoring:",i):S[f]=(_,...x)=>C.add(_)&&T().then(()=>S[f](_,...x))},gv=i=>`The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(i)}) will be ignored.`,vv=i=>`The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(i)}) will be ignored.`,bv=()=>{},Sv=()=>{};let Om=!1;function Ev(i){if(Om){bv(gv(i));return}Cv(i),Om=!0}async function xv(i){if(!window?.google?.maps?.importLibrary)throw new Error("google.maps.importLibrary is not installed.");return await google.maps.importLibrary(i)}function Cv(i){const s=!!window.google?.maps?.importLibrary;s&&Sv(vv(i)),s||yv(i)}const kt={NOT_LOADED:"NOT_LOADED",LOADING:"LOADING",LOADED:"LOADED",FAILED:"FAILED",AUTH_FAILURE:"AUTH_FAILURE"},jv="GMP_visgl_rgmlibrary_v1_default",Tv=[`gmp_visgl_reactgooglemaps_v${mv}`],rl=pe.createContext(null);let Gn=kt.NOT_LOADED,Lr;const zu=new Set;function zr(i){i!==Gn&&(Gn=i,zu.forEach(s=>s(Gn)))}function Av(){const[i,s]=v.useState({});return{mapInstances:i,addMapInstance:(d,f="default")=>{s(m=>Object.assign(Object.assign({},m),{[f]:d}))},removeMapInstance:(d="default")=>{s(f=>{var m=d;f[m];var h=ft(f,[typeof m=="symbol"?m:m+""]);return h})},clearMapInstances:()=>{s({})}}}function wv(){const[i,s]=v.useState({});return{map3dInstances:i,addMap3DInstance:(d,f="default")=>{s(m=>Object.assign(Object.assign({},m),{[f]:d}))},removeMap3DInstance:(d="default")=>{s(f=>{var m=d;f[m];var h=ft(f,[typeof m=="symbol"?m:m+""]);return h})},clearMap3DInstances:()=>{s({})}}}function Mv(i){const{onLoad:s,onError:r,apiKey:l,version:u,libraries:d=[],region:f,language:m,authReferrerPolicy:h,channel:g,solutionChannel:b,fetchAppCheckToken:S}=i,[C,j]=v.useState(Gn),[T,_]=v.useReducer((A,O)=>A[O.name]?A:Object.assign(Object.assign({},A),{[O.name]:O.value}),{}),x=v.useMemo(()=>{const A={apiKey:l,version:u,libraries:d.join(","),region:f,language:m,authReferrerPolicy:h,channel:g,solutionChannel:b};return JSON.stringify(A)},[l,u,d,f,m,h,g,b]),w=v.useCallback(A=>Mm(this,void 0,void 0,function*(){if(T[A])return T[A];const O=yield xv(A);return _({name:A,value:O}),O}),[T]);return v.useEffect(()=>(zu.add(j),j(Gn),()=>{zu.delete(j)}),[]),v.useEffect(()=>{Mm(this,void 0,void 0,function*(){var A,O;try{Lr&&Lr!==x&&console.warn("The Google Maps JavaScript API has already been loaded with different parameters. The new parameters will be ignored. If you need to use different parameters, please refresh the page.");const P=["core","maps",...d];if(!((O=(A=window.google)===null||A===void 0?void 0:A.maps)===null||O===void 0)&&O.importLibrary){Lr||zr(kt.LOADED),yield Promise.all(P.map(H=>w(H))),s&&s();return}if(Gn===kt.LOADING||Gn===kt.LOADED){Gn===kt.LOADED&&s&&s();return}Lr=x,zr(kt.LOADING);const F=Object.fromEntries(Object.entries({key:l,v:u,libraries:d,region:f,language:m,authReferrerPolicy:h}).filter(([,H])=>H!==void 0));g!==void 0&&g>=0&&g<=999&&(F.channel=String(g)),b===void 0?F.solutionChannel=jv:b!==""&&(F.solutionChannel=b),Ev(F),yield Promise.all(P.map(H=>w(H))),zr(kt.LOADED),s&&s()}catch(P){zr(kt.FAILED),r?r(P):console.error("The Google Maps JavaScript API failed to load.",P)}})},[x,s,r,w,d]),v.useEffect(()=>{if(C!==kt.LOADED)return;const A=google.maps.Settings.getInstance();S?A.fetchAppCheckToken=S:A.fetchAppCheckToken&&(A.fetchAppCheckToken=null)},[C,S]),{status:C,loadedLibraries:T,importLibrary:w}}function Ov(i){return v.useMemo(()=>i.disableUsageAttribution?null:Tv,[i.disableUsageAttribution])}const tc=i=>{const{children:s}=i,r=ft(i,["children"]),{mapInstances:l,addMapInstance:u,removeMapInstance:d,clearMapInstances:f}=Av(),{map3dInstances:m,addMap3DInstance:h,removeMap3DInstance:g,clearMap3DInstances:b}=wv(),{status:S,loadedLibraries:C,importLibrary:j}=Mv(r),T=Ov(r),_=v.useMemo(()=>({mapInstances:l,addMapInstance:u,removeMapInstance:d,clearMapInstances:f,map3dInstances:m,addMap3DInstance:h,removeMap3DInstance:g,clearMap3DInstances:b,status:S,loadedLibraries:C,importLibrary:j,internalUsageAttributionIds:T}),[l,u,d,f,m,h,g,b,S,C,j,T]);return pe.createElement(rl.Provider,{value:_},s)};function _v(i,s){for(const r of Nv){const l=s[r],u=gp[r];v.useEffect(()=>{if(!i||!l)return;const d=google.maps.event.addListener(i,u,f=>{l(Dv(u,i,f))});return()=>d.remove()},[i,u,l])}}function Dv(i,s,r){var l;const u={type:i,map:s,detail:{},stoppable:!1,stop:()=>{}};if(Rv.includes(i)){const d=u,f=s.getCenter(),m=s.getZoom(),h=s.getHeading()||0,g=s.getTilt()||0,b=s.getBounds();return(!f||!b||!Number.isFinite(m))&&console.warn("[createEvent] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),d.detail={center:f?.toJSON()||{lat:0,lng:0},zoom:m||0,heading:h,tilt:g,bounds:b?.toJSON()||{north:90,east:180,south:-90,west:-180}},d}else if(kv.includes(i)){if(!r)throw new Error("[createEvent] mouse events must provide a srcEvent");const d=u;return d.domEvent=r.domEvent,d.stoppable=!0,d.stop=()=>r.stop(),d.detail={latLng:((l=r.latLng)===null||l===void 0?void 0:l.toJSON())||null,placeId:r.placeId},d}return u}const gp={onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onContextmenu:"contextmenu",onDblclick:"dblclick",onDrag:"drag",onDragend:"dragend",onDragstart:"dragstart",onHeadingChanged:"heading_changed",onIdle:"idle",onIsFractionalZoomEnabledChanged:"isfractionalzoomenabled_changed",onMapCapabilitiesChanged:"mapcapabilities_changed",onMapTypeIdChanged:"maptypeid_changed",onMousemove:"mou
12semove",onMouseout:"mouseout",onMouseover:"mouseover",onProjectionChanged:"projection_changed",onRenderingTypeChanged:"renderingtype_changed",onTilesLoaded:"tilesloaded",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed",onCameraChanged:"bounds_changed"},Rv=["bounds_changed","center_changed","heading_changed","tilt_changed","zoom_changed"],kv=["click","contextmenu","dblclick","mousemove","mouseout","mouseover"],Nv=Object.keys(gp);function sl(i,s){const r=v.useRef(i);return s(i,r.current)||(r.current=i),r.current}function Lv(i,s,r){v.useEffect(i,[sl(s,r)])}function vp(i,s){Lv(i,s,il)}const zv=new Set(["backgroundColor","clickableIcons","controlSize","disableDefaultUI","disableDoubleClickZoom","draggable","draggableCursor","draggingCursor","fullscreenControl","fullscreenControlOptions","gestureHandling","headingInteractionEnabled","isFractionalZoomEnabled","keyboardShortcuts","mapTypeControl","mapTypeControlOptions","mapTypeId","maxZoom","minZoom","noClear","panControl","panControlOptions","restriction","rotateControl","rotateControlOptions","scaleControl","scaleControlOptions","scrollwheel","streetView","streetViewControl","streetViewControlOptions","styles","tiltInteractionEnabled","zoomControl","zoomControlOptions"]);function Uv(i,s){const r={},l=Object.keys(s);for(const u of l)zv.has(u)&&(r[u]=s[u]);vp(()=>{i&&i.setOptions(r)},[r])}function bp(){var i;return((i=v.useContext(rl))===null||i===void 0?void 0:i.status)||kt.NOT_LOADED}function Bv(i,s){const{viewport:r,viewState:l}=s,u=!!r;return v.useLayoutEffect(()=>{if(!i||!l)return;const{latitude:d,longitude:f,bearing:m,pitch:h,zoom:g}=l;i.moveCamera({center:{lat:d,lng:f},heading:m,tilt:h,zoom:g+1})},[i,l]),u}function Pv(i){return!i||typeof i!="object"||!("lat"in i&&"lng"in i)?!1:Number.isFinite(i.lat)&&Number.isFinite(i.lng)}function Sp(i,s){if(!i||!s)return!1;const r=Qr(i),l=Qr(s);return!(r.lat!==l.lat||r.lng!==l.lng)}function Qr(i){return Pv(i)?i:i.toJSON()}function _m(i){if("north"in i&&"south"in i&&"east"in i&&"west"in i)return i;
12const s=i.getNorthEast().toJSON(),r=i.getSouthWest().toJSON();return{north:s.lat,east:s.lng,south:r.lat,west:r.lng}}function Gv(i,s){if(!i||!s)return!1;const r=_m(i),l=_m(s);return r.north===l.north&&r.south===l.south&&r.east===l.east&&r.west===l.west}function Ep(i,s){if(!i||!s)return i===s;const r="getArray"in s?s.getArray():s;if(i.length!==r.length)return!1;for(let l=0;l<i.length;l++)if(!Sp(i[l],r[l]))return!1;return!0}function Hv(i,s){if(!i||!s)return i===s;const r="getArray"in s?s.getArray().map(l=>l.getArray()):s;if(i.length!==r.length)return!1;for(let l=0;l<i.length;l++)if(!Ep(i[l],r[l]))return!1;return!0}function Fv(i,s,r){const l=r.center?Qr(r.center):null;let u=null,d=null;l&&Number.isFinite(l.lat)&&Number.isFinite(l.lng)&&(u=l.lat,d=l.lng);const f=Number.isFinite(r.zoom)?r.zoom:null,m=Number.isFinite(r.heading)?r.heading:null,h=Number.isFinite(r.tilt)?r.tilt:null;v.useLayoutEffect(()=>{if(!i)return;const g={};let b=!1;u!==null&&d!==null&&(s.current.center.lat!==u||s.current.center.lng!==d)&&(g.center={lat:u,lng:d},b=!0),f!==null&&s.current.zoom!==f&&(g.zoom=f,b=!0),m!==null&&s.current.heading!==m&&(g.heading=m,b=!0),h!==null&&s.current.tilt!==h&&(g.tilt=h,b=!0),b&&i.moveCamera(g)})}const Vv=()=>{const i={position:"absolute",top:0,left:0,bottom:0,right:0,zIndex:999,display:"flex",flexFlow:"column nowrap",textAlign:"center",justifyContent:"center",fontSize:".8rem",color:"rgba(0,0,0,0.6)",background:"#dddddd",padding:"1rem 1.5rem"};return pe.createElement("div",{style:i},pe.createElement("h2",null,"Error: AuthFailure"),pe.createElement("p",null,"A problem with your API key prevents the map from rendering correctly. Please make sure the value of the ",pe.createElement("code",null,"APIProvider.apiKey")," prop is correct. Check the error-message in the console for further details."))};function Uu(){const[i,s]=v.useState(null),r=v.useCallback(l=>s(l),[s]);return[i,r]}function xp(){return bp()===kt.LOADED}function Cp(){const[,i]=v.useReducer(s=>s+1,0);return i}function qv(i,s){const r=i.getCenter(),l=i.getZoom(),u=i.getHeading()||0,d=i.getTilt()||0,f=i.getBounds();(!r||!f||!Number.isFinite(l))&&console.warn("[useTrackedCameraState] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),Object.assign(s.current,{center:r?.toJSON()||{lat:0,lng:0},zoom:l||0,heading:u,tilt:d})}function Qv(i){const s=Cp(),r=v.useRef({center:{lat:0,lng:0},heading:0,tilt:0,zoom:0});return v.useEffect(()=>{if(!i)return;const l=google.maps.event.addListener(i,"bounds_changed",()=>{qv(i,r),s()});return()=>l.remove()},[i,s]),r}class Fr{static has(s){return this.entries[s]&&this.entries[s].length>0}static pop(s){return this.entries[s]&&this.entries[s].pop()||null}static push(s,r){this.entries[s]||(this.entries[s]=[]),this.entries[s].push(r)}}Fr.entries={};function Yv(i,s){const r=xp(),[l,u]=v.useState(null),[d,f]=Uu(),m=Qv(l),{id:h,defaultBounds:g,defaultCenter:b,defaultZoom:S,defaultHeading:C,defaultTilt:j,reuseMaps:T,renderingType:_,colorScheme:x}=i,w=ft(i,["id","defaultBounds","defaultCenter","defaultZoom","defaultHeading","defaultTilt","reuseMaps","renderingType","colorScheme"]),A=i.zoom!==void 0||i.defaultZoom!==void 0,O=i.center!==void 0||i.defaultCenter!==void 0;!g&&(!A||!O)&&console.warn("<Map> component is missing configuration. You have to provide zoom and center (via the `zoom`/`defaultZoom` and `center`/`defaultCenter` props) or specify the region to show using `defaultBounds`. See https://visgl.github.io/react-google-maps/docs/api-reference/components/map#required"),!w.center&&b&&(w.center=b),!w.zoom&&Number.isFinite(S)&&(w.zoom=S),!w.heading&&Number.isFinite(C)&&(w.heading=C),!w.tilt&&Number.isFinite(j)&&(w.tilt=j);const P=w.internalUsageAttributionIds;P==null?w.internalUsageAttributionIds=s.internalUsageAttributionIds:w.internalUsageAttributionIds=[...s.internalUsageAttributionIds||[],...P];for(const H of Object.keys(w))w[H]===void 0&&delete w[H];const F=v.useRef(void 0);return v.useEffect(()=>{if(!d||!r)return;const{addMapInstance:H,removeMapInstance:B}=s,{mapId:K}=i,te=`${K||"default"}:${_||"default"}:${x||"LIGHT"}`;let $,fe;if(T&&Fr.has(te)?(fe=Fr.pop(te),$=fe.getDiv(),d.appendChild($),fe.setOptions(w),setTimeout(()=>fe.moveCamera({}),0)):($=document.createElement("div"),$.style.height="100%",d.appendChild($),fe=new google.maps.Map($,Object.assign(Object.assign(Object.assign({},w),_?{renderingType:_}:{}),x?{colorScheme:x}:{}))),u(fe),H(fe,h),g){const{padding:ve}=g,Ae=ft(g,["padding"]);fe.fitBounds(Ae,ve)}else(!A||!O)&&fe.fitBounds({east:180,west:-180,south:-90,north:90});if(F.current){const{mapId:ve,cameraState:Ae}=F.current;ve!==K&&fe.moveCamera(Ae)}return()=>{F.current={mapId:K,cameraState:m.current},$.remove(),T?Fr.push(te,fe):google.maps.event.clearInstanceListeners(fe),u(null),B(h)}},[d,r,h,i.mapId,i.renderingType,i.colorScheme]),[l,f,m]}const jp=pe.createContext(null),Kr=i=>{const{children:s,id:r,className:l,style:u}=i,d=v.useContext(rl),f=bp();if(!d)throw new Error("<Map> can only be used inside an <ApiProvider> component.");const[m,h,g]=Yv(i,d);Fv(m,g,i),_v(m,i),Uv(m,i);const b=Bv(m,i),S=!!i.controlled;v.useEffect(()=>{if(m)return b&&m.setOptions({disableDefaultUI:!0}),(b||S)&&m.setOptions({gestureHandling:"none",keyboardShortcuts:!1}),()=>{m.setOptions({gestureHandling:i.gestureHandling,keyboardShortcuts:i.keyboardShortcuts})}},[m,b,S,i.gestureHandling,i.keyboardShortcuts]);const C=i.center?Qr(i.center):null;let j=null,T=null;C&&Number.isFinite(C.lat)&&Number.isFinite(C.lng)&&(j=C.lat,T=C.lng);const _=v.useMemo(()=>{var A,O,P;return{center:{lat:j??0,lng:T??0},zoom:(A=i.zoom)!==null&&A!==void 0?A:0,heading:(O=i.heading)!==null&&O!==void 0?O:0,tilt:(P=i.tilt)!==null&&P!==void 0?P:0}},[j,T,i.zoom,i.heading,i.tilt]);v.useLayoutEffect(()=>{if(!m||!S)return;m.moveCamera(_);const A=m.addListener("bounds_changed",()=>{m.moveCamera(_)});return()=>A.remove()},[m,S,_]);const x=v.useMemo(()=>Object.assign({width:"100%",height:"100%",position:"relative",zIndex:b?-1:0},u),[u,b]),w=v.useMemo(()=>({map:m}),[m]);return f===kt.AUTH_FAILURE?pe.createElement("div",{style:Object.assign({position:"relative"},l?{}:x),className:l},pe.createElement(Vv,null)):pe.createElement("div",Object.assign({ref:h,"data-testid":"map",style:l?void 0:x,className:l},r?{id:r}:{}),m?pe.createElement(jp.Provider,{value:w},s):null)};Kr.deckGLViewProps=!0;const Dm=new Set;function fi(...i){const s=JSON.stringify(i);Dm.has(s)||(Dm.add(s),console.error(...i))}const Yt=(i=null)=>{const s=v.useContext(rl),{map:r}=v.useContext(jp)||{};if(s===null)return fi("useMap(): failed to retrieve APIProviderContext. Make sure that the <APIProvider> component exists and that the component you are calling `useMap()` from is a sibling of the <APIProvider>."),null;const{mapInstances:l}=s;return i!==null?l[i]||null:r||l.default||null};function Hn(i){const s=xp(),r=v.useContext(rl);return v.useEffect(()=>{!s||!r||r.importLibrary(i)},[s,r,i]),r?.loadedLibraries[i]||null}var Mu;const{useLayoutEffect:Jv,useRef:Wv}=w0,Zv=(Mu=v.useInsertionEffect)!==null&&Mu!==void 0?Mu:Jv;function Xv(){throw new Error("useEffectEvent: invalid call during rendering.")}function Kv(i){const s=Wv(Xv);return Zv(()=>{s.current=i},[i]),((...r)=>s.current(...r))}const Tp=Kv,Iv=()=>{};function xe(i,s,r){const l=Tp(r??Iv),u=!!r;v.useEffect(()=>{if(!i||!s||!u)return;const d=google.maps.event.addListener(i,s,l);return()=>d.remove()},[i,s,u])}function Ze(i,s,r){v.useEffect(()=>
12{i&&(i[s]=r)},[i,s,r])}const $v=()=>{};function Bu(i,s,r){const l=Tp(r??$v),u=!!r;v.useEffect(()=>{if(!i||!s||!u)return;const d=l;return i.addEventListener(s,d),()=>i.removeEventListener(s,d)},[i,s,u])}class e2{constructor(){this.renderedStyles=new Set,this.styleElement=null}getStyleElement(){return this.styleElement||(this.styleElement=document.createElement("style"),this.styleElement.setAttribute("data-rgm-anchor-styles",""),document.head.appendChild(this.styleElement)),this.styleElement}addAdvancedMarkerPointerEventsOverwrite(){if(this.renderedStyles.has("marker-pointer-events"))return;const s=this.getStyleElement();s.textContent+=`
13      gmp-advanced-marker[data-origin='rgm'] {
14        pointer-events: none !important;
15      }
16    `,this.renderedStyles.add("marker-pointer-events")}cleanup(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null,this.renderedStyles.clear())}}const t2=new e2;function n2(i,s){var r;if(!(!((r=google==null?void 0:google.maps)===null||r===void 0)&&r.version))return;const l=google.maps.version.split("."),u=parseInt(l[0],10),d=parseInt(l[1],10);return u>i||u===i&&d>=s}const nc=pe.createContext(null),a2={BOTTOM:["50%","100%"]},Yr=v.forwardRef((i,s)=>{const{children:r,style:l,className:u,anchorPoint:d}=i,[f,m]=r2(i),h=v.useMemo(()=>f?{marker:f}:null,[f]);return v.useImperativeHandle(s,()=>f,[f]),m?pe.createElement(nc.Provider,{value:h},tl.createPortal(pe.createElement(i2,{anchorPoint:d,styles:l,className:u},r),m)):null});Yr.displayName="AdvancedMarker";function l2(i){return i.content!==void 0}function Pu(i){return i.nodeType===Node.ELEMENT_NODE}const i2=({children:i,styles:s,className:r})=>pe.createElement("div",{className:r,style:s},i);function r2(i){const[s,r]=v.useState(null),[l,u]=v.useState(null),d=Yt(),f=Hn("marker"),{children:m,onClick:h,className:g,onMouseEnter:b,onMouseLeave:S,onDrag:C,onDragStart:j,onDragEnd:T,collisionBehavior:_,clickable:x,draggable:w,position:A,title:O,zIndex:P,anchorPoint:F,anchorLeft:H,anchorTop:B}=i,K=v.Children.count(m);return v.useEffect(()=>{if(!d||!f)return;const te=new f.AdvancedMarkerElement;te.map=d,r(te);let $=null;return K>0&&($=document.createElement("div"),te.content=$,u($)),()=>{te.map=null,$?.remove(),r(null),u(null)}},[d,f,K]),v.useEffect(()=>{!s?.content||!Pu(s.content)||K>0||(s.content.className=g??"")},[s,g,K]),s2(s,F,H,B,K>0),Ze(s,"position",A),Ze(s,"title",O??""),Ze(s,"zIndex",P),Ze(s,"collisionBehavior",_),v.useEffect(()=>{s&&(w!==void 0?s.gmpDraggable=w:C||j||T?s.gmpDraggable=!0:s.gmpDraggable=!1)},[s,w,C,T,j]),v.useEffect(()=>{if(!s)return;const te=x!==void 0?x:!!h||!!b||!!S;s.gmpClickable=te,te&&s?.content&&Pu(s.content)&&(s.content.style.pointerEvents="all",h&&(s.content.style.cursor="pointer"))},[s,x,h,b,S]),xe(s,"click",h),xe(s,"drag",C),xe(s,"dragstart",j),xe(s,"dragend",T),Bu(s?.element,"mouseenter",b),Bu(s?.element,"mouseleave",S),[s,l]}function s2(i,s,r,l,u){v.useEffect(()=>{if(!i||!u)return;const d=n2(3,62),f=i.content;if(!(!f||!Pu(f))){if(r!==void 0||l!==void 0){d||console.warn(`AdvancedMarker: The anchorLeft and anchorTop props are only supported in Google Maps API version 3.62 and above. The current version is ${google.maps.version}.`),i.anchorLeft=r,i.anchorTop=l,s!==void 0&&console.warn("AdvancedMarker: the anchorPoint prop is ignored when anchorLeft and/or anchorTop are set.");return}if(s!==void 0){const[m,h]=s??a2.BOTTOM,g=`calc(-1 * ${m})`,b=`calc(-1 * ${h})`;d?(i.anchorLeft=g,i.anchorTop=b,f.style.transform=""):(f.style.transform=`translate(50%, 100%) translate(${g}, ${b})`,i.dataset.origin="rgm",t2.addAdvancedMarkerPointerEventsOverwrite())}}},[i,s,r,l,u])}function o2(i){var s,r,l;const{onClick:u,onDrag:d,onDragStart:f,onDragEnd:m,onMouseOver:h,onMouseOut:g,onRadiusChanged:b,onCenterChanged:S,center:C,defaultCenter:j,radius:T,defaultRadius:_}=i,x=ft(i,["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut","onRadiusChanged","onCenterChanged","center","defaultCenter","radius","defaultRadius"]),[w,A]=v.useState(null),O=Yt(),P=sl(Object.assign(Object.assign({},x),{clickable:(s=x.clickable)!==null&&s!==void 0?s:!!u,draggable:(r=x.draggable)!==null&&r!==void 0?r:!!(d||f||m||S),editable:(l=x.editable)!==null&&l!==void 0?l:!!b}),il);return v.useEffect(()=>{if(!O){O===void 0&&console.error("<Circle> has to be inside a Map component.");return}const F=new google.maps.Circle(Object.assign(Object.assign({},P),{center:C??j,radius:T??_}));return F.setMap(O),A(F),()=>{F.setMap(null),A(null)}},[O]),xe(w,"click",u),xe(w,"drag",d),xe(w,"dragstart",f),xe(w,"dragend",m),xe(w,"mouseover",h),xe(w,"mouseout",g),xe(w,"radiu
16s_changed",b?()=>{const F=w?.getRadius();F!==void 0&&b(F)}:null),xe(w,"center_changed",S?()=>{S(w?.getCenter())}:null),v.useEffect(()=>{w&&w.setOptions(P)},[w,P]),v.useEffect(()=>{!w||!C||Sp(C,w.getCenter())||w.setCenter(C)},[w,C]),v.useEffect(()=>{!w||T===void 0||T!==w.getRadius()&&w.setRadius(T)},[w,T]),w}const u2=v.forwardRef((i,s)=>{const r=o2(i);return v.useImperativeHandle(s,()=>r,[r]),pe.createElement(pe.Fragment,null)});u2.displayName="Circle";function Ap(i,s,r){if(s!=null&&typeof s!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");const l=i.style;if(r==null){if(s==null)return;for(const u in s)s.hasOwnProperty(u)&&Rm(l,u,s[u]);return}for(const u in r)r.hasOwnProperty(u)&&(s==null||!s.hasOwnProperty(u))&&(u.indexOf("--")===0?l.setProperty(u,""):u==="float"?l.cssFloat="":l[u]="");if(s!=null)for(const u in s){const d=s[u];s.hasOwnProperty(u)&&r[u]!==d&&Rm(l,u,d)}}function Rm(i,s,r){const l=s.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?l?i.setProperty(s,""):s==="float"?i.cssFloat="":i[s]="":l?i.setProperty(s,r):typeof r=="number"&&r!==0&&!d2(s)?i[s]=r+"px":s==="float"?i.cssFloat=r:i[s]=(""+r).trim()}const c2=new Set(["animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","scale","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth"]);function d2(i){return c2.has(i)}const f2=i=>{const{children:s,headerContent:r,style:l,className:u,pixelOffset:d,anchor:f,shouldFocus:m,onClose:h,onCloseClick:g}=i,b=ft(i,["children","headerContent","style","className","pixelOffset","anchor","shouldFocus","onClose","onCloseClick"]),S=Hn("maps"),[C,j]=v.useState(null),T=v.useRef(null),_=v.useRef(null),x=sl(b,il);v.useEffect(()=>{if(!S)return;T.current=document.createElement("div"),_.current=document.createElement("div");const O=Object.assign({},x);d&&(O.pixelOffset=new google.maps.Size(d[0],d[1])),r&&(O.headerContent=typeof r=="string"?r:_.current);const P=new google.maps.InfoWindow(O);return P.setContent(T.current),j(P),()=>{var F,H;P.setContent(null),(F=T.current)===null||F===void 0||F.remove(),(H=_.current)===null||H===void 0||H.remove(),T.current=null,_.current=null,j(null)}},[S]);const w=v.useRef(null);v.useLayoutEffect(()=>{!C||!T.current||(Ap(T.current,l||null,w.current),w.current=l||null,u!==T.current.className&&(T.current.className=u||""))},[C,u,l]),v.useEffect(()=>{if(!C)return;const O=Object.assign({},x);d?O.pixelOffset=new google.maps.Size(d[0],d[1]):O.pixelOffset=null,r?O.headerContent=typeof r=="string"?r:_.current:O.headerContent=null,C.setOptions(O)},[x,d,r]),xe(C,"close",h),xe(C,"closeclick",g);const A=Yt();return v.useEffect(()=>{var O;if(!A||!C||f===null)return;const P=!!f,F={map:A};if(f&&(F.anchor=f,l2(f)&&f.content instanceof Element)){const H=f?.getBoundingClientRect();if(H&&f.dataset.origin==="rgm"){const B=(O=f.content.firstElementChild)===null||O===void 0?void 0:O.firstElementChild,K=B?.getBoundingClientRect(),te=K.x-H.x+(K.width-H.width)/2,$=K.y-H.y,fe=Object.assign({},x);fe.pixelOffset=new google.maps.Size(d?d[0]+te:te,d?d[1]+$:$),C.setOptions(fe)}}return m!==void 0&&(F.shouldFocus=m),C.open(F),()=>{P&&C.set("anchor",null),C.close()}},[C,f,A,m,x,d]),pe.createElement(pe.Fragment,null,T.current&&tl.createPortal(s,T.current),_.current!==null&&tl.createPortal(r,_.current))};function km(i){const s=i.getPaths(),r=[];for(let l=0;l<s.getLength();l++)r.push(s.getAt(l).getArray());return r}function h2(i){var s,r,l;const{onClick:u,onDrag:d,onDragStart:f,onDragEnd:m,onMouseOver:h,onMouseOut:g,onPathsChanged:b,polygon:S,encodedPaths:C,paths:j,defaultPaths:T}=i,_=ft(i,["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut","onPathsChanged","polygon","encodedPaths","paths","defaultPaths"]),[x,w]=v.useState(null),A=Yt(),O=Hn("geometry"),P=v.useRef(!1),F=sl(Object.assign(Object.assign({},_),{clickable:(s=_.clickable)!==null&&s!==void 0?s:!!u,draggable:(r=_.draggable)!==null&&r!==void 0?r:!!(d||f||m||b),editable:(l=_.editable)!==null&&l!==void 0?l:!!b}),il);return v.useEffect(()=>{if(!A){A===void 0&&console.error("<Polygon> has to be inside a Map component.");return}let H;if(S){H=S;const B=j??T;B&&Array.isArray(B)&&H.setPaths(B),H.setOptions(F)}else{const B=j??T,K=Object.assign({},F);B&&Array.isArray(B)&&(K.paths=B),H=new google.maps.Polygon(K)}return H.setMap(A),w(H),()=>{H.setMap(null),w(null)}},[A,S]),xe(x,"click",u),xe(x,"drag",d),xe(x,"dragstart",f),xe(x,"mouseover",h),xe(x,"mouseout",g),xe(x,"dragend",H=>{m?.(H),b&&x&&!P.current&&b(km(x))}),v.useEffect(()=>{if(!x||!b)return;const H=[],B=x.getPaths();if(typeof B.getLength!="function"||typeof B.getAt!="function")return;const K=()=>{P.current||b(km(x))},te=$=>{H.push(google.maps.event.addListener($,"insert_at",K)),H.push(google.maps.event.addListener($,"remove_at",K)),H.push(google.maps.event.addListener($,"set_at",K))};for(let $=0;$<B.getLength();$++)te(B.getAt($));return H.push(google.maps.event.addListener(B,"insert_at",$=>{te(B.getAt($)),K()})),H.push(google.maps.event.addListener(B,"set_at",$=>{te(B.getAt($)),K()})),H.push(google.maps.event.addListener(B,"remove_at",K)),()=>{H.forEach($=>$.remove())}},[x,b,j,C,F.editable,F.draggable]),v.useEffect(()=>{x&&x.setOptions(F)},[x,F]),v.useEffect(()=>{if(!x||!j||!Array.isArray(j))return;const H=j[0],B=Array.isArray(H)?j:[j],K=x.getPaths();Hv(B,K)||(P.current=!0,x.setPaths(j),P.current=!1)},[x,j]),v.useEffect(()=>{if(!x||!C||!O)return;P.current=!0;const H=C.map(B=>O.encoding.decodePath(B));x.setPaths(H),P.current=!1},[x,C,O]),x}const m2=v.forwardRef((i,s)=>{const r=h2(i);return v.useImperativeHandle(s,()=>r,[r]),pe.createElement(pe.Fragment,null)});m2.displayName="Polygon";function p2(i){var s,r,l;const{onClick:u,onDrag:d,onDragStart:f,onDragEnd:m,onMouseOver:h,onMouseOut:g,onPathChanged:b,polyline:S,encodedPath:C,path:j,defaultPath:T}=i,_=ft(i,["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut","onPathChanged","polyline","encodedPath","path","defaultPath"]),[x,w]=v.useState(null),A=Yt(),O=Hn("geometry"),P=v.useRef(!1),F=sl(Object.assign(Object.assign({},_),{clickable:(s=_.clickable)!==null&&s!==void 0?s:!!u,draggable:(r=_.draggable)!==null&&r!==void 0?r:!!(d||f||m||b),editable:(l=_.editable)!==null&&l!==void 0?l:!!b}),il);return v.useEffect(()=>{if(!A){A===void 0&&console.error("<Polyline> has to be inside a Map component.");return}let H;if(S){H=S;const B=j??T;B&&Array.isArray(B)&&H.setPath(B),H.setOptions(F)}else{const B=j??T,K=Object.assign({},F);B&&Array.isArray(B)&&(K.path=B),H=new google.maps.Polyline(K)}return H.setMap(A),w(H),()=>{H.setMap(null),w(null)}},[A,S]),xe(x,"click",u),xe(x,"drag",d),xe(x,"dragstart",f),xe(x,"mouseover",h),xe(x,"mouseout",g),xe(x,"dragend",H=>{m?.(H),b&&x&&!P.current&&b(x.getPath().getArray())}),v.useEffect(()=>{if(!x||!b)return;const H=x.getPath();if(!H)return;const B=()=>{P.current||b(H.getArray())},K=[google.maps.event.addListener(H,"insert_at",B),google.maps.event.addListener(H,"remove_at",B),google.maps.event.addListener(H,"set_at",B)];return()=>
16{K.forEach(te=>te.remove())}},[x,b,j,C,F.editable,F.draggable]),v.useEffect(()=>{x&&x.setOptions(F)},[x,F]),v.useEffect(()=>{if(!x||!j)return;const H=x.getPath();Ep(j,H)||(P.current=!0,x.setPath(j),P.current=!1)},[x,j]),v.useEffect(()=>{if(!x||!C||!O)return;P.current=!0;const H=O.encoding.decodePath(C);x.setPath(H),P.current=!1},[x,C,O]),x}const y2=v.forwardRef((i,s)=>{const r=p2(i);return v.useImperativeHandle(s,()=>r,[r]),pe.createElement(pe.Fragment,null)});y2.displayName="Polyline";const g2={center:{lat:0,lng:0,altitude:0},range:0,heading:0,tilt:0,roll:0},v2=["center","range","heading","tilt","roll"];function b2(i,s,r){const l=i[r];if(l!=null)if(r==="center"){const u=l;s.current.center=u.toJSON?u.toJSON():u}else s.current[r]=l}function S2(i){const s=Cp(),r=v.useRef(Object.assign({},g2));return v.useEffect(()=>{if(!i)return;const l=[];for(const u of v2){const d=`gmp-${u}change`,f=()=>{b2(i,r,u),s()};i.addEventListener(d,f),l.push(()=>i.removeEventListener(d,f))}return()=>{for(const u of l)u()}},[i,s]),r}function E2(i){const s=Hn("maps3d"),[r,l]=v.useState(!1),[,u]=Uu(),[d,f]=Uu(),m=S2(d);return v.useEffect(()=>{customElements.whenDefined("gmp-map-3d").then(()=>{l(!0)})},[]),v.useEffect(()=>{if(!d)return;const{center:g,heading:b,tilt:S,range:C,roll:j,defaultCenter:T,defaultHeading:_,defaultTilt:x,defaultRange:w,defaultRoll:A,id:O,style:P,className:F,children:H,onCenterChanged:B,onHeadingChanged:K,onTiltChanged:te,onRangeChanged:$,onRollChanged:fe,onCameraChanged:ve,onClick:Ae,onSteadyChange:X,onAnimationEnd:ee,onError:N,mode:W,gestureHandling:ne}=i,Z=ft(i,["center","heading","tilt","range","roll","defaultCenter","defaultHeading","defaultTilt","defaultRange","defaultRoll","
16id","style","className","children","onCenterChanged","onHeadingChanged","onTiltChanged","onRangeChanged","onRollChanged","onCameraChanged","onClick","onSteadyChange","onAnimationEnd","onError","mode","gestureHandling"]),ie=g??T,D=b??_,V=S??x,Q=C??w,I=j??A,re=Object.assign({},Z);ie&&(re.center=ie),D!==void 0&&(re.heading=D),V!==void 0&&(re.tilt=V),Q!==void 0&&(re.range=Q),I!==void 0&&(re.roll=I),Object.assign(d,re)},[d]),[d,u,f,m,!!s&&r]}function x2(i){return i?"toJSON"in i&&typeof i.toJSON=="function"?i.toJSON():i:null}function C2(i,s,r){var l,u,d,f,m,h,g;const b=x2(r.center),S=(l=b?.lat)!==null&&l!==void 0?l:null,C=(u=b?.lng)!==null&&u!==void 0?u:null,j=(d=b?.altitude)!==null&&d!==void 0?d:null,T=(f=r.range)!==null&&f!==void 0?f:null,_=(m=r.heading)!==null&&m!==void 0?m:null,x=(h=r.tilt)!==null&&h!==void 0?h:null,w=(g=r.roll)!==null&&g!==void 0?g:null;v.useLayoutEffect(()=>{var A;if(!i)return;const O=s.current;S!==null&&C!==null&&(O.center.lat!==S||O.center.lng!==C||j!==null&&O.center.altitude!==j)&&(i.center={lat:S,lng:C,altitude:(A=j??O.center.altitude)!==null&&A!==void 0?A:0}),T!==null&&O.range!==T&&(i.range=T),_!==null&&O.heading!==_&&(i.heading=_),x!==null&&O.tilt!==x&&(i.tilt=x),w!==null&&O.roll!==w&&(i.roll=w)})}const Nm=["gmp-centerchange","gmp-headingchange","gmp-tiltchange","gmp-rangechange","gmp-rollchange"];function Ia(i,s){const r=i.center;let l;return r&&"toJSON"in r&&typeof r.toJSON=="function"?l=r.toJSON():r?l=r:l={lat:0,lng:0,altitude:0},{type:s,map3d:i,detail:{center:l,range:i.range||0,heading:i.heading||0,tilt:i.tilt||0,roll:i.roll||0}}}function j2(i,s){const r=s;return{type:"gmp-click",map3d:i,detail:{position:s.position||null,placeId:r.placeId}}}function T2(i,s){return{type:"gmp-steadychange",map3d:i,detail:{isSteady:s.isSteady}}}function A2(i,s){const{onCenterChanged:r,onHeadingChanged:l,onTiltChanged:u,onRangeChanged:d,onRollChanged:f,onCameraChanged:m,onClick:h,onSteadyChange:g,onAnimationEnd:b,onError:S}=s;oa(i,"gmp-centerchange",r,Ia),oa(i,"gmp-headingchange",l,Ia),oa(i,"gmp-tiltchange",u,Ia),oa(i,"gmp-rangechange",d,Ia),oa(i,"gmp-rollchange",f,Ia),v.useEffect(()=>{if(!i||!m)return;const C=()=>{m(Ia(i,"camerachange"))};for(const j of Nm)i.addEventListener(j,C);return()=>{for(const j of Nm)i.removeEventListener(j,C)}},[i,m]),v.useEffect(()=>{if(!i||!h)return;const C=j=>{h(j2(i,j))};return i.addEventListener("gmp-click",C),()=>i.removeEventListener("gmp-click",C)},[i,h]),v.useEffect(()=>{if(!i||!g)return;const C=j=>{g(T2(i,j))};return i.addEventListener("gmp-steadychange",C),()=>i.removeEventListener("gmp-steadychange",C)},[i,g]),oa(i,"gmp-animationend",b,(C,j)=>({type:j,map3d:C})),oa(i,"gmp-error",S,(C,j)=>({type:j,map3d:C}))}function oa(i,s,r,l){v.useEffect(()=>{if(!i||!r)return;const u=()=>{r(l(i,s))};return i.addEventListener(s,u),()=>i.removeEventListener(s,u)},[i,s,r,l])}const w2=new Set(["bounds","defaultUIHidden","gestureHandling","internalUsageAttributionIds","maxAltitude","maxHeading","maxTilt","minAltitude","minHeading","minTilt","mode"]);function M2(i,s){const r=v.useMemo(()=>{const l={},u=Object.keys(s);for(const d of u){if(!w2.has(d))continue;const f=s[d];f!==void 0&&(l[d]=f)}return l},[s]);vp(()=>{i&&Object.assign(i,r)},[i,r])}const O2=pe.createContext(null),_2={width:"100%",height:"100%",position:"relative"},D2=v.forwardRef((i,s)=>{const{children:r,id:l,className:u,style:d}=i,f=v.useContext(rl);if(!f)throw new Error("<Map3D> can only be used inside an <APIProvider> component.");const{addMap3DInstance:m,removeMap3DInstance:h}=f,[g,b,S,C,j]=E2(i);C2(g,C,i),A2(g,i),M2(g,i),v.useEffect(()=>{if(!g)return;const x=l??"default";return m(g,x),()=>{h(x)}},[g,l]),v.useImperativeHandle(s,()=>({map3d:g,flyCameraAround:x=>{g?.flyCameraAround(x)},flyCameraTo:x=>{g?.flyCameraTo(x)},stopCameraAnimation:()=>{g?.stopCameraAnimation()}}),[g]);const T=v.useMemo(()=>Object.assign(Object.assign({},_2),d),[d]),_=v.useMemo(()=>({map3d:g}),[g]);return j?pe.createElement("div",Object.assign({ref:b,"data-testid":"map-3d",style:u?void 0:T,className:u},l?{id:l}:{}),pe.createElement("gmp-map-3d",{ref:S,style:{width:"100%",height:"100%"}},g&&pe.createElement(O2.Provider,{value:_},r))):pe.createElement("div",Object.assign({ref:b,"data-testid":"map-3d",style:u?void 0:T,className:u},l?{id:l}:{}))});D2.displayName="Map3D";const ac=v.createContext(null),R2=v.forwardRef(function(s,r){const{children:l,onClick:u,position:d,altitudeMode:f,collisionBehavior:m,drawsWhenOccluded:
16h,extruded:g,label:b,sizePreserved:S,zIndex:C,title:j}=s,T=!!u,[_,x]=v.useState(null),[w,A]=v.useState(!1),O=v.useMemo(()=>{const H=document.createElement("div");return H.style.display="none",document.body.appendChild(H),H},[]);v.useEffect(()=>()=>O.remove(),[O]);const P=v.useCallback(H=>{x(H),typeof r=="function"?r(H):r&&(r.current=H)},[r]);Bu(_,"gmp-click",u),v.useLayoutEffect(()=>{if(w||!_||!O)return;for(;_.firstChild;)_.removeChild(_.firstChild);const H=Array.from(O.childNodes);for(const B of H){if(B.nodeType!==Node.ELEMENT_NODE)continue;const K=B,te=K.tagName.toLowerCase();if(te==="img"||te==="svg"){const $=document.createElement("template");$.content.appendChild(K.cloneNode(!0)),_.appendChild($)}else _.appendChild(K.cloneNode(!0))}},[_,O,l,w]);const F=v.useMemo(()=>({marker:_,setContentHandledExternally:A}),[_]);return Ze(_,"position",d),Ze(_,"altitudeMode",f),Ze(_,"collisionBehavior",m),Ze(_,"drawsWhenOccluded",h),Ze(_,"extruded",g),Ze(_,"label",b),Ze(_,"sizePreserved",S),Ze(_,"zIndex",C),Ze(_,"title",j??""),pe.createElement(ac.Provider,{value:F},T?pe.createElement("gmp-marker-3d-interactive",{ref:P}):pe.createElement("gmp-marker-3d",{ref:P}),tl.createPortal(l,O))});R2.displayName="Marker3D";const k2=v.forwardRef(function(s,r){var l;const{children:u,headerContent:d,style:f,className:m,open:h=!0,position:g,anchor:b,anchorId:S,altitudeMode:C,lightDismissDisabled:j,autoPanDisabled:T,onClose:_}=s,[x,w]=v.useState(null),A=v.useRef(null);v.useImperativeHandle(r,()=>x,[x]),N2(x,h,_),Ze(x,"open",h??!1),Ze(x,"altitudeMode",C),Ze(x,"lightDismissDisabled",j),Ze(x,"autoPanDisabled",T);const O=(l=b??S)!==null&&l!==void 0?l:g;return Ze(x,"positionAnchor",O),v.useLayoutEffect(()=>{x&&(Ap(x,f||null,A.current),A.current=f||null)},[x,f]),pe.createElement("gmp-popover",{ref:w,className:m},d&&pe.createElement("div",{slot:"header"},d),u)});k2.displayName="Popover";function N2(i,s,r){const l=v.useRef(void 0),u=v.useRef(s);v.useEffect(()=>{u.current=s},[s]),v.useEffect(()=>{if(!i||!r)return;const d=new MutationObserver(f=>{for(const m of f)if(m.type==="attributes"&&m.attributeName==="open"){const h=i.hasAttribute("open");l.current===!0&&!h&&u.current!==!1&&r(),l.current=h}});return d.observe(i,{attributes:!0,attributeFilter:["open"]}),l.current=i.hasAttribute("open"),()=>{d.disconnect()}},[i,r])}function L2(i){const[s,r]=v.useState(null),l=Yt(),{onClick:u,onDrag:d,onDragStart:f,onDragEnd:m,onMouseOver:h,onMouseOut:g}=i,b=ft(i,["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut"]),{position:S,draggable:C}=b;return v.useEffect(()=>{if(!l){l===void 0&&console.error("<Marker> has to be inside a Map component.");return}const j=new google.maps.Marker(b);return j.setMap(l),r(j),()=>{j.setMap(null),r(null)}},[l]),v.useEffect(()=>{if(!s)return;const j=s,T=google.maps.event;return u&&T.addListener(j,"click",u),d&&T.addListener(j,"drag",d),f&&T.addListener(j,"dragstart",f),m&&T.addListener(j,"dragend",m),h&&T.addListener(j,"mouseover",h),g&&T.addListener(j,"mouseout",g),s.setDraggable(!!C),()=>{T.clearInstanceListeners(j)}},[s,C,u,d,f,m,h,g]),v.useEffect(()=>{s&&b&&s.setOptions(b)},[s,b]),v.useEffect(()=>{C||!S||!s||s.setPosition(S)},[C,S,s]),s}const z2=v.forwardRef((i,s)=>{const r=L2(i);return v.useImperativeHandle(s,()=>r,[r]),pe.createElement(pe.Fragment,null)});z2.displayName="Marker";const U2=i=>{const s=v.useContext(nc),r=v.useContext(ac),l=s?.marker,u=r?.marker,d=r?.setContentHandledExternally,f=v.useMemo(()=>document.createElement("div"),[]),m=Hn("marker");return v.useEffect(()=>{if(u&&d)return d(!0),()=>d(!1)},[u,d]),v.useEffect(()=>{if(!u||!m)return;const h=Object.assign({},i),g=new m.PinElement(h);for(i.children&&(g.glyph=f);u.firstChild;)u.removeChild(u.firstChild);return u.append(g),()=>{}},[u,m,f,i]),v.useEffect(()=>{var h;if(u)return;if(!l){l===void 0&&u===void 0&&console.error("The <Pin> component can only be used inside <AdvancedMarker> or <Marker3D>.");return}i.glyph&&i.children&&fi("The <Pin> component only uses children to render the glyph if both the glyph property and children are present."),v.Children.count(i.children)>1&&fi("Passing multiple children to the <Pin> component might lead to unexpected results.");const g=Object.assign({},i),b=new google.maps.marker.PinElement(g);i.children&&(b.glyph=f);const S=(h=l.content)===null||h===void 0?void 0:h.firstChild;for(;S?.firstChild;)S.removeChild(S.firstChild);S&&S.appendChild(b.element)},[l,f,u,i]),tl.createPortal(i.children,f)},B2=i=>{const{children:s}=i,r=v.useContext(nc),l=v.useContext(ac),u=r?.marker,d=l?.marker,f=l?.setContentHandledExternally,m=v.useMemo(()=>document.createElement("div"),[]),h=Hn("marker");return v.useEffect(()=>{if(d&&f)return f(!0),()=>f(!1)},[d,f]),v.useEffect(()=>{if(!d||!h)return;const g=Object.assign({},i),b=new h.PinElement(g);for(s&&b.appendChild(m);d.firstChild;)d.removeChild(d.firstChild);return d.appendChild(b),()=>{}},[d,h,m,s,i]),v.useEffect(()=>{var g;if(d)return;if(!u||!h){u===void 0&&d===void 0&&console.error("The <Pin> component can only be used inside <AdvancedMarker> or <Marker3D>.");return}(i.glyphSrc||i.glyphText)&&s&&fi("The <Pin> component only uses children to render the glyph if both glyphSrc/glyphText and children are present."),v.Children.count(s)>1&&fi("Passing multiple children to the <Pin> component might lead to unexpected results.");const b=Object.assign({},i),S=new h.PinElement(b);s&&S.appendChild(m);const C=(g=u.content)===null||g===void 0?void 0:g.firstChild;for(;C?.firstChild;)C.removeChild(C.firstChild);C&&C.appendChild(S)},[u,h,m,d,s,i]),tl.createPortal(s,m)},wp=i=>{var s;const r=Hn("marker"),l=v.useMemo(()=>r?typeof customElements<"u"&&customElements.get("gmp-pin")!==void 0:!1,[r]);if(!r)return null;if(l){const{glyph:u,glyphSrc:d,glyphText:f}=i,m=ft(i,["glyph","glyphSrc","glyphText"]),h=u instanceof URL||typeof u=="string"&&u.startsWith("http"),g=f??(typeof u=="string"&&!h?u:void 0),b=d??(h?String(u):void 0);return pe.createElement(B2,Object.assign({},m,{glyphText:g,glyphSrc:b}))}else{const{glyph:u,glyphSrc:d,glyphText:f}=i,m=ft(i,["glyph","glyphSrc","glyphText"]),h=(s=u??d)!==null&&s!==void 0?s:f;return pe.createElement(U2,Object.assign({},m,{glyph:h}))}};function P2(i){var s,r,l;const{onClick:u,onDrag:d,onDragStart:f,onDragEnd:m,onMouseOver:h,onMouseOut:g,onBoundsChanged:b,boun
16ds:S,defaultBounds:C}=i,j=ft(i,["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut","onBoundsChanged","bounds","defaultBounds"]),[T,_]=v.useState(null),x=Yt(),w=sl(Object.assign(Object.assign({},j),{clickable:(s=j.clickable)!==null&&s!==void 0?s:!!u,draggable:(r=j.draggable)!==null&&r!==void 0?r:!!(d||f||m||b),editable:(l=j.editable)!==null&&l!==void 0?l:!!b}),il);return v.useEffect(()=>{if(!x){x===void 0&&console.error("<Rectangle> has to be inside a Map component.");return}const A=new google.maps.Rectangle(Object.assign(Object.assign({},w),{bounds:S??C}));return A.setMap(x),_(A),()=>{A.setMap(null),_(null)}},[x]),xe(T,"click",u),xe(T,"drag",d),xe(T,"dragstart",f),xe(T,"dragend",m),xe(T,"mouseover",h),xe(T,"mouseout",g),xe(T,"bounds_changed",b?()=>{b(T?.getBounds())}:null),v.useEffect(()=>{T&&T.setOptions(w)},[T,w]),v.useEffect(()=>{!T||!S||Gv(S,T.getBounds())||T.setBounds(S)},[T,S]),T}const G2=v.forwardRef((i,s)=>{const r=P2(i);return v.useImperativeHandle(s,()=>r,[r]),pe.createElement(pe.Fragment,null)});G2.displayName="Rectangle";const{getOwnPropertyNames:H2,getOwnPropertySymbols:F2}=Object,{hasOwnProperty:V2}=Object.prototype;function Ou(i,s){return function(l,u,d){return i(l,u,d)&&s(l,u,d)}}function Ur(i){return function(r,l,u){if(!r||!l||typeof r!="object"||typeof l!="object")return i(r,l,u);const{cache:d}=u,f=d.get(r),m=d.get(l);if(f&&m)return f===l&&m===r;d.set(r,l),d.set(l,r);const h=i(r,l,u);return d.delete(r),d.delete(l),h}}function q2(i){return i?.[Symbol.toStringTag]}function Lm(i){return H2(i).concat(F2(i))}const Q2=Object.hasOwn||((i,s)=>V2.call(i,s));function fa(i,s){return i===s||!i&&!s&&i!==i&&s!==s}const Y2="__v",J2="__o",W2="_owner",{getOwnPropertyDescriptor:zm,keys:Um}=Object;function Z2(i,s){return i.byteLength===s.byteLength&&Jr(new Uint8Array(i),new Uint8Array(s))}function X2(i,s,r){let l=i.length;if(s.length!==l)return!1;for(;l-- >0;)if(!r.equals(i[l],s[l],l,l,i,s,r))return!1;return!0}function K2(i,s){return i.byteLength===s.byteLength&&Jr(new Uint8Array(i.buffer,i.byteOffset,i.byteLength),new Uint8Array(s.buffer,s.byteOffset,s.byteLength))}function I2(i,s){return fa(i.getTime(),s.getTime())}function $2(i,s){return i.name===s.name&&i.message===s.message&&i.cause===s.cause&&i.stack===s.stack}function eb(i,s){return i===s}function Bm(i,s,r){const l=i.size;if(l!==s.size)return!1;if(!l)return!0;const u=new Array(l),d=i.entries();let f,m,h=0;for(;(f=d.next())&&!f.done;){const g=s.entries();let b=!1,S=0;for(;(m=g.next())&&!m.done;){if(u[S]){S++;continue}const C=f.value,j=m.value;if(r.equals(C[0],j[0],h,S,i,s,r)&&r.equals(C[1],j[1],C[0],j[0],i,s,r)){b=u[S]=!0;break}S++}if(!b)return!1;h++}return!0}const tb=fa;function nb(i,s,r){const l=Um(i);let u=l.length;if(Um(s).length!==u)return!1;for(;u-- >0;)if(!Mp(i,s,r,l[u]))return!1;return!0}function ri(i,s,r){const l=Lm(i);let u=l.length;if(Lm(s).length!==u)return!1;let d,f,m;for(;u-- >0;)if(d=l[u],!Mp(i,s,r,d)||(f=zm(i,d),m=zm(s,d),(f||m)&&(!f||!m||f.configurable!==m.configurable||f.enumerable!==m.enumerable||f.writable!==m.writable)))return!1;return!0}function ab(i,s){return fa(i.valueOf(),s.valueOf())}function lb(i,s){return i.source===s.source&&i.flags===s.flags}function Pm(i,s,r){const l=i.size;if(l!==s.size)return!1;if(!l)return!0;const u=new Array(l),d=i.values();let f,m;for(;(f=d.next())&&!f.done;){const h=s.values();let g=!1,b=0;for(;(m=h.next())&&!m.done;){if(!u[b]&&r.equals(f.value,m.value,f.value,m.value,i,s,r)){g=u[b]=!0;break}b++}if(!g)return!1}return!0}function Jr(i,s){let r=i.byteLength;if(s.byteLength!==r||i.byteOffset!==s.byteOffset)return!1;for(;r-- >0;)if(i[r]!==s[r])return!1;return!0}function ib(i,s){return i.hostname===s.hostname&&i.pathname===s.pathname&&i.protocol===s.protocol&&i.port===s.port&&i.hash===s.hash&&i.username===s.username&&i.password===s.password}function Mp(i,s,r,l){return(l===W2||l===J2||l===Y2)&&(i.$$typeof||s.$$typeof)?!0:Q2(s,l)&&r.equals(i[l],s[l],l,l,i,s,r)}const rb="[object ArrayBuffer]",sb="[object Arguments]",ob="[object Boolean]",ub="[object DataView]",cb="[object Date]",db="[object Error]",fb="[object Map]",hb="[object Number]",mb="[object Object]",pb="[object RegExp]",yb="[object Set]",gb="[object String]",vb={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array
16]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},bb="[object URL]",Sb=Object.prototype.toString;function Eb({areArrayBuffersEqual:i,areArraysEqual:s,areDataViewsEqual:r,areDatesEqual:l,areErrorsEqual:u,areFunctionsEqual:d,areMapsEqual:f,areNumbersEqual:m,areObjectsEqual:h,arePrimitiveWrappersEqual:g,areRegExpsEqual:b,areSetsEqual:S,areTypedArraysEqual:C,areUrlsEqual:j,unknownTagComparators:T}){return function(x,w,A){if(x===w)return!0;if(x==null||w==null)return!1;const O=typeof x;if(O!==typeof w)return!1;if(O!=="object")return O==="number"?m(x,w,A):O==="function"?d(x,w,A):!1;const P=x.constructor;if(P!==w.constructor)return!1;if(P===Object)return h(x,w,A);if(Array.isArray(x))return s(x,w,A);if(P===Date)return l(x,w,A);if(P===RegExp)return b(x,w,A);if(P===Map)return f(x,w,A);if(P===Set)return S(x,w,A);const F=Sb.call(x);if(F===cb)return l(x,w,A);if(F===pb)return b(x,w,A);if(F===fb)return f(x,w,A);if(F===yb)return S(x,w,A);if(F===mb)return typeof x.then!="function"&&typeof w.then!="function"&&h(x,w,A);if(F===bb)return j(x,w,A);if(F===db)return u(x,w,A);if(F===sb)return h(x,w,A);if(vb[F])return C(x,w,A);if(F===rb)return i(x,w,A);if(F===ub)return r(x,w,A);if(F===ob||F===hb||F===gb)return g(x,w,A);if(T){let H=T[F];if(!H){const B=q2(x);B&&(H=T[B])}if(H)return H(x,w,A)}return!1}}function xb({circular:i,createCustomConfig:s,strict:r}){let l={areArrayBuffersEqual:Z2,areArraysEqual:r?ri:X2,areDataViewsEqual:K2,areDatesEqual:I2,areErrorsEqual:$2,areFunctionsEqual:eb,areMapsEqual:r?Ou(Bm,ri):Bm,areNumbersEqual:tb,areObjectsEqual:r?ri:nb,arePrimitiveWrappersEqual:ab,areRegExpsEqual:lb,areSetsEqual:r?Ou(Pm,ri):Pm,areTypedArraysEqual:r?Ou(Jr,ri):Jr,areUrlsEqual:ib,unknownTagComparators:void 0};if(s&&(l=Object.assign({},l,s(l))),i){const u=Ur(l.areArraysEqual),d=Ur(l.areMapsEqual),f=Ur(l.areObjectsEqual),m=Ur(l.areSetsEqual);l=Object.assign({},l,{areArraysEqual:u,areMapsEqual:d,areObjectsEqual:f,areSetsEqual:m})}return l}function Cb(i){return function(s,r,l,u,d,f,m){return i(s,r,m)}}function jb({circular:i,comparator:s,createState:r,equals:l,strict:u}){if(r)return function(m,h){const{cache:g=i?new WeakMap:void 0,meta:b}=r();return s(m,h,{cache:g,equals:l,meta:b,strict:u})};if(i)return function(m,h){return s(m,h,{cache:new WeakMap,equals:l,meta:void 0,strict:u})};const d={cache:void 0,equals:l,meta:void 0,strict:u};return function(m,h){return s(m,h,d)}}const Gm=Fn();Fn({strict:!0});Fn({circular:!0});Fn({circular:!0,strict:!0});Fn({createInternalComparator:()=>fa});Fn({strict:!0,createInternalComparator:()=>fa});Fn({circular:!0,createInternalComparator:()=>fa});Fn({circular:!0,createInternalComparator:()=>fa,strict:!0});function Fn(i={}){const{circular:s=!1,createInternalComparator:r,createState:l,strict:u=!1}=i,d=xb(i),f=Eb(d),m=r?r(f):Cb(f);return jb({circular:s,comparator:f,createState:l,equals:m,strict:u})}const Hm=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],_u=1,si=8;class lc{static from(s){if(!(s instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[r,l]=new Uint8Array(s,0,2);if(r!==219)throw new Error("Data does not appear to be in a KDBush format.");const u=l>>4;if(u!==_u)throw new Error(`Got v${u} data when expected v${_u}.`);const d=Hm[l&15];if(!d)throw new Error("Unrecognized array type.");const[f]=new Uint16Array(s,2,1),[m]=new Uint32Array(s,4,1);return new lc(m,f,d,s)}constructor(s,r=64,l=Float64Array,u){if(isNaN(s)||s<0)throw new Error(`Unpexpected numItems value: ${s}.`);this.numItems=+s,this.nodeSize=Math.min(Math.max(+r,2),65535),this.ArrayType=l,this.IndexArrayType=s<65536?Uint16Array:Uint32Array;const d=Hm.indexOf(this.ArrayType),f=s*2*this.ArrayType.BYTES_PER_ELEMENT,m=s*this.IndexArrayType.BYTES_PER_ELEMENT,h=(8-m%8)%8;if(d<0)throw new Error(`Unexpected typed array class: ${l}.`);u&&u instanceof ArrayBuffer?(this.data=u,this.ids=new this.IndexArrayType(this.data,si,s),this.coords=new this.ArrayType(this.data,si+m+h,s*2),this._pos=s*2,this._finished=!0):(this.data=new ArrayBuffer(si+f+m+h),this.ids=new this.IndexArrayType(this.data,si,s),this.coords=new this.ArrayType(this.data,si+m+h,s*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(_u<<4)+d]),new Uint16Array(this.data,2,1)[0]=r,new Uint32Array(this.data,4,1)[0]=s)}add(s,r){const l=this._pos>>1;return this.ids[l]=l,this.coords[this._pos++]=s,this.coords[this._pos++]=r,l}finish(){const s=this._pos>>1;if(s!==this.numItems)throw new Error(`Added ${s} items when expected ${this.numItems}.`);return Gu(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(s,r,l,u){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:d,coords:f,nodeSize:m}=this,h=[0,d.length-1,0],g=[];for(;h.length;){const b=h.pop()||0,S=h.pop()||0,C=h.pop()||0;if(S-C<=m){for(let x=C;x<=S;x++){const w=f[2*x],A=f[2*x+1];w>=s&&w<=l&&A>=r&&A<=u&&g.push(d[x])}continue}const j=C+S>>1,T=f[2*j],_=f[2*j+1];T>=s&&T<=l&&_>=r&&_<=u&&g.push(d[j]),(b===0?s<=T:r<=_)&&(h.push(C),h.push(j-1),h.push(1-b)),(b===0?l>=T:u>=_)&&(h.push(j+1),h.push(S),h.push(1-b))}return g}within(s,r,l){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:u,coords:d,nodeSize:f}=this,m=[0,u.length-1,0],h=[],g=l*l;for(;m.length;){const b=m.pop()||0,S=m.pop()||0,C=m.pop()||0;if(S-C<=f){for(let x=C;x<=S;x++)Fm(d[2*x],d[2*x+1],s,r)<=g&&h.push(u[x]);continue}const j=C+S>>1,T=d[2*j],_=d[2*j+1];Fm(T,_,s,r)<=g&&h.push(u[j]),(b===0?s-l<=T:r-l<=_)&&(m.push(C),m.push(j-1),m.push(1-b)),(b===0?s+l>=T:r+l>=_)&&(m.push(j+1),m.push(S),m.push(1-b))}return h}}function Gu(i,s,r,l,u,d){if(u-l<=r)return;const f=l+u>>1;Op(i,s,f,l,u,d),Gu(i,s,r,l,f-1,1-d),Gu(i,s,r,f+1,u,1-d)}function Op(i,s,r,l,u,d){for(;u>l;){if(u-l>600){const g=u-l+1,b=r-l+1,S=Math.log(g),C=.5*Math.exp(2*S/3),j=.5*Math.sqrt(S*C*(g-C)/g)*(b-g/2<0?-1:1),T=
16Math.max(l,Math.floor(r-b*C/g+j)),_=Math.min(u,Math.floor(r+(g-b)*C/g+j));Op(i,s,r,T,_,d)}const f=s[2*r+d];let m=l,h=u;for(oi(i,s,l,r),s[2*u+d]>f&&oi(i,s,l,u);m<h;){for(oi(i,s,m,h),m++,h--;s[2*m+d]<f;)m++;for(;s[2*h+d]>f;)h--}s[2*l+d]===f?oi(i,s,l,h):(h++,oi(i,s,h,u)),h<=r&&(l=h+1),r<=h&&(u=h-1)}}function oi(i,s,r,l){Du(i,r,l),Du(s,2*r,2*l),Du(s,2*r+1,2*l+1)}function Du(i,s,r){const l=i[s];i[s]=i[r],i[r]=l}function Fm(i,s,r,l){const u=i-r,d=s-l;return u*u+d*d}const Tb={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:i=>i},Vm=Math.fround||(i=>(s=>(i[0]=+s,i[0])))(new Float32Array(1)),ua=2,Pn=3,Ru=4,Bn=5,_p=6;class Ab{constructor(s){this.options=Object.assign(Object.create(Tb),s),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(s){const{log:r,minZoom:l,maxZoom:u}=this.options;r&&console.time("total time");const d=`prepare ${s.length} points`;r&&console.time(d),this.points=s;const f=[];for(let h=0;h<s.length;h++){const g=s[h];if(!g.geometry)continue;const[b,S]=g.geometry.coordinates,C=Vm(Br(b)),j=Vm(Pr(S));f.push(C,j,1/0,h,-1,1),this.options.reduce&&f.push(0)}let m=this.trees[u+1]=this._createTree(f);r&&console.timeEnd(d);for(let h=u;h>=l;h--){const g=+Date.now();m=this.trees[h]=this._createTree(this._cluster(m,h)),r&&console.log("z%d: %d clusters in %dms",h,m.numItems,+Date.now()-g)}return r&&console.timeEnd("total time"),this}getClusters(s,r){let l=((s[0]+180)%360+360)%360-180;const u=Math.max(-90,Math.min(90,s[1]));let d=s[2]===180?180:((s[2]+180)%360+360)%360-180;const f=Math.max(-90,Math.min(90,s[3]));if(s[2]-s[0]>=360)l=-180,d=180;else if(l>d){const S=this.getClusters([l,u,180,f],r),C=this.getClusters([-180,u,d,f],r);return S.concat(C)}const m=this.trees[this._limitZoom(r)],h=m.range(Br(l),Pr(f),Br(d),Pr(u)),g=m.data,b=[];for(const S of h){const C=this.stride*S;b.push(g[C+Bn]>1?qm(g,C,this.clusterProps):this.points[g[C+Pn]])}return b}getChildren(s){const r=this._getOriginId(s),l=this._getOriginZoom(s),u="No cluster with the specified id.",d=this.trees[l];if(!d)throw new Error(u);const f=d.data;if(r*this.stride>=f.length)throw new Error(u);const m=this.options.radius/(this.options.extent*Math.pow(2,l-1)),h=f[r*this.stride],g=f[r*this.stride+1],b=d.within(h,g,m),S=[];for(const C of b){const j=C*this.stride;f[j+Ru]===s&&S.push(f[j+Bn]>1?qm(f,j,this.clusterProps):this.points[f[j+Pn]])}if(S.length===0)throw new Error(u);return S}getLeaves(s,r,l){r=r||10,l=l||0;const u=[];return this._appendLeaves(u,s,r,l,0),u}getTile(s,r,l){const u=this.trees[this._limitZoom(s)],d=Math.pow(2,s),{extent:f,radius:m}=this.options,h=m/f,g=(l-h)/d,b=(l+1+h)/d,S={features:[]};return this._addTileFeatures(u.range((r-h)/d,g,(r+1+h)/d,b),u.data,r,l,d,S),r===0&&this._addTileFeatures(u.range(1-h/d,g,1,b),u.data,d,l,d,S),r===d-1&&this._addTileFeatures(u.range(0,g,h/d,b),u.data,-1,l,d,S),S.features.length?S:null}getClusterExpansionZoom(s){let r=this._getOriginZoom(s)-1;for(;r<=this.options.maxZoom;){const l=this.getChildren(s);if(r++,l.length!==1)break;s=l[0].properties.cluster_id}return r}_appendLeaves(s,r,l,u,d){const f=this.getChildren(r);for(const m of f){const h=m.properties;if(h&&h.cluster?d+h.point_count<=u?d+=h.point_count:d=this._appendLeaves(s,h.cluster_id,l,u,d):d<u?d++:s.push(m),s.length===l)break}return d}_createTree(s){const r=new lc(s.length/this.stride|0,this.options.nodeSize,Float32Array);for(let l=0;l<s.length;l+=this.stride)r.add(s[l],s[l+1]);return r.finish(),r.data=s,r}_addTileFeatures(s,r,l,u,d,f){for(const m of s){const h=m*this.stride,g=r[h+Bn]>1;let b,S,C;if(g)b=Dp(r,h,this.clusterProps),S=r[h],C=r[h+1];else{const _=this.points[r[h+Pn]];b=_.properties;const[x,w]=_.geometry.coordinates;S=Br(x),C=Pr(w)}const j={type:1,geometry:[[Math.round(this.options.extent*(S*d-l)),Math.round(this.options.extent*(C*d-u))]],tags:b};let T;g||this.options.generateId?T=r[h+Pn]:T=this.points[r[h+Pn]].id,T!==void 0&&(j.id=T),f.features.push(j)}}_limitZoom(s){return Math.max(this.options.minZoom,Math.min(Math.floor(+s),this.options.maxZoom+1))}_cluster(s,r){const{radius:l,extent:u,reduce:d,minPoints:f}=this.options,m=l/(u*Math.pow(2,r)),h=s.data,g=[],b=this.stride;for(let S=0;S<h.length;S+=b){if(h[S+ua]<=r)continue;h[S+ua]=r;const C=h[S],j=h[S+1],T=s.within(h[S],h[S+1],m),_=h[S+Bn];let x=_;for(const w of T){const A=w*b;h[A+ua]>r&&(x+=h[A+Bn])}if(x>_&&x>=f){let w=C*_,A=j*_,O,P=-1;const F=((S/b|0)<<5)+(r+1)+this.points.length;for(const H of T){const B=H*b;if(h[B+ua]<=r)continue;h[B+ua]=r;const K=h[B+Bn];w+=h[B]*K,A+=h[B+1]*K,h[B+Ru]=F,d&&(O||(O=this._map(h,S,!0),P=this.clusterProps.length,this.clusterProps.push(O)),d(O,this._map(h,B)))}
16h[S+Ru]=F,g.push(w/x,A/x,1/0,F,-1,x),d&&g.push(P)}else{for(let w=0;w<b;w++)g.push(h[S+w]);if(x>1)for(const w of T){const A=w*b;if(!(h[A+ua]<=r)){h[A+ua]=r;for(let O=0;O<b;O++)g.push(h[A+O])}}}}return g}_getOriginId(s){return s-this.points.length>>5}_getOriginZoom(s){return(s-this.points.length)%32}_map(s,r,l){if(s[r+Bn]>1){const f=this.clusterProps[s[r+_p]];return l?Object.assign({},f):f}const u=this.points[s[r+Pn]].properties,d=this.options.map(u);return l&&d===u?Object.assign({},d):d}}function qm(i,s,r){return{type:"Feature",id:i[s+Pn],properties:Dp(i,s,r),geometry:{type:"Point",coordinates:[wb(i[s]),Mb(i[s+1])]}}}function Dp(i,s,r){const l=i[s+Bn],u=l>=1e4?`${Math.round(l/1e3)}k`:l>=1e3?`${Math.round(l/100)/10}k`:l,d=i[s+_p],f=d===-1?{}:Object.assign({},r[d]);return Object.assign(f,{cluster:!0,cluster_id:i[s+Pn],point_count:l,point_count_abbreviated:u})}function Br(i){return i/360+.5}function Pr(i){const s=Math.sin(i*Math.PI/180),r=.5-.25*Math.log((1+s)/(1-s))/Math.PI;return r<0?0:r>1?1:r}function wb(i){return(i-.5)*360}function Mb(i){const s=(180-i*360)*Math.PI/180;return 360*Math.atan(Math.exp(s))/Math.PI-90}function Ob(i,s){var r={};for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&s.indexOf(l)<0&&(r[l]=i[l]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,l=Object.getOwnPropertySymbols(i);u<l.length;u++)s.indexOf(l[u])<0&&Object.prototype.propertyIsEnumerable.call(i,l[u])&&(r[l[u]]=i[l[u]]);return r}class dt{static isAdvancedMarkerAvailable(s){return google.maps.marker&&s.getMapCapabilities().isAdvancedMarkersAvailable===!0}static isAdvancedMarker(s){return google.maps.marker&&s instanceof google.maps.marker.AdvancedMarkerElement}static setMap(s,r){this.isAdvancedMarker(s)?s.map=r:s.setMap(r)}static getPosition(s){if(this.isAdvancedMarker(s)){if(s.position){if(s.position instanceof google.maps.LatLng)return s.position;if(Number.isFinite(s.position.lat)&&Number.isFinite(s.position.lng))return new google.maps.LatLng(s.position.lat,s.position.lng)}return new google.maps.LatLng(null)}return s.getPosition()}static getVisible(s){return this.isAdvancedMarker(s)?!0:s.getVisible()}}class Hu{constructor({markers:s,position:r}){this.markers=[],s&&(this.markers=s),r&&(r instanceof google.maps.LatLng?this._position=r:this._position=new google.maps.LatLng(r))}get bounds(){if(this.markers.length===0&&!this._position)return;const s=new google.maps.LatLngBounds(this._position,this._position);for(const r of this.markers)s.extend(dt.getPosition(r));return s}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(s=>dt.getVisible(s)).length}push(s){this.markers.push(s)}delete(){this.marker&&(dt.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}function Fu(i,s="assertion failed"){if(i==null)throw Error(s)}class _b{constructor({maxZoom:s=16}){this.maxZoom=s}noop({markers:s}){return Db(s)}}const Db=i=>i.map(r=>new Hu({position:dt.getPosition(r),markers:[r]}));class Rb extends _b{constructor(s){var{maxZoom:r,radius:l=60}=s,u=Ob(s,["maxZoom","radius"]);super({maxZoom:r}),this.markers=[],this.clusters=[],this.state={zoom:-1},this.superCluster=new Ab(Object.assign({maxZoom:this.maxZoom,radius:l},u))}calculate(s){let r=!1,l=s.map.getZoom();Fu(l),l=Math.round(l);const u={zoom:l};if(!Gm(s.markers,this.markers)){r=!0,this.markers=[...s.markers];const d=this.markers.map(f=>{const m=dt.getPosition(f);return{type:"Feature",geometry:{type:"Point",coordinates:[m.lng(),m.lat()]},properties:{marker:f}}});this.superCluster.load(d)}return r||(this.state.zoom<=this.maxZoom||u.zoom<=this.maxZoom)&&(r=!Gm(this.state,u)),this.state=u,s.markers.length===0?(this.cluster
16s=[],{clusters:this.clusters,changed:r}):(r&&(this.clusters=this.cluster(s)),{clusters:this.clusters,changed:r})}cluster({map:s}){const r=s.getZoom();return Fu(r),this.superCluster.getClusters([-180,-90,180,90],Math.round(r)).map(l=>this.transformCluster(l))}transformCluster({geometry:{coordinates:[s,r]},properties:l}){if(l.cluster)return new Hu({markers:this.superCluster.getLeaves(l.cluster_id,1/0).map(d=>d.properties.marker),position:{lat:r,lng:s}});const u=l.marker;return new Hu({markers:[u],position:dt.getPosition(u)})}}class kb{constructor(s,r){this.markers={sum:s.length};const l=r.map(d=>d.count),u=l.reduce((d,f)=>d+f,0);this.clusters={count:r.length,markers:{mean:u/r.length,sum:u,min:Math.min(...l),max:Math.max(...l)}}}}class Nb{render({count:s,position:r},l,u){const f=`<svg fill="${s>Math.max(10,l.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">
17<circle cx="120" cy="120" opacity=".6" r="70" />
18<circle cx="120" cy="120" opacity=".3" r="90" />
19<circle cx="120" cy="120" opacity=".2" r="110" />
20<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${s}</text>
21</svg>`,m=`Cluster of ${s} markers`,h=Number(google.maps.Marker.MAX_ZINDEX)+s;if(dt.isAdvancedMarkerAvailable(u)){const S=new DOMParser().parseFromString(f,"image/svg+xml").documentElement;S.setAttribute("transform","translate(0 25)");const C={map:u,position:r,zIndex:h,title:m,content:S};return new google.maps.marker.AdvancedMarkerElement(C)}const g={position:r,zIndex:h,title:m,icon:{url:`data:image/svg+xml;base64,${btoa(f)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(g)}}function Lb(i,s){for(let r in s.prototype)i.prototype[r]=s.prototype[r]}class ic{constructor(){Lb(ic,google.maps.OverlayView)}}var ca;(function(i){i.CLUSTERING_BEGIN="clusteringbegin",i.CLUSTERING_END="clusteringend",i.CLUSTER_CLICK="click",i.GMP_CLICK="gmp-click"})(ca||(ca={}));const zb=(i,s,r)=>{s.bounds&&r.fitBounds(s.bounds)};class Ub extends ic{constructor({map:s,markers:r=[],algorithmOptions:l={},algorithm:u=new Rb(l),renderer:d=new Nb,onClusterClick:f=zb}){super(),this.map=null,this.idleListener=null,this.markers=[...r],this.clusters=[],this.algorithm=u,this.renderer=d,this.onClusterClick=f,s&&this.setMap(s)}addMarker(s,r){this.markers.includes(s)||(this.markers.push(s),r||this.render())}addMarkers(s,r){s.forEach(l=>{this.addMarker(l,!0)}),r||this.render()}removeMarker(s,r){const l=this.markers.indexOf(s);return l===-1?!1:(dt.setMap(s,null),this.markers.splice(l,1),r||this.render(),!0)}removeMarkers(s,r){let l=!1;return s.forEach(u=>{l=this.removeMarker(u,!0)||l}),l&&!r&&this.render(),l}clearMarkers(s){this.markers.length=0,s||this.render()}render(){const s=this.getMap();if(s instanceof google.maps.Map&&s.getProjection()){google.maps.event.trigger(this,ca.CLUSTERING_BEGIN,this);const{clusters:r,changed:l}=this.algorithm.calculate({markers:this.markers,map:s,mapCanvasProjection:this.getProjection()});if(l||l==null){const u=new Set;for(const f of r)f.markers.length==1&&u.add(f.markers[0]);const d=[];for(const f of this.clusters)f.marker!=null&&(f.markers.length==1?u.has(f.marker)||dt.setMap(f.marker,null):d.push(f.marker));this.clusters=r,this.renderClusters(),requestAnimationFrame(()=>d.forEach(f=>dt.setMap(f,null)))}google.maps.event.trigger(this,ca.CLUSTERING_END,this)}}onAdd(){const s=this.getMap();Fu(s),this.idleListener=s.addListener("idle",this.render.bind(this)),this.render()}onRemove(){this.idleListener&&google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(s=>dt.setMap(s,null)),this.clusters.forEach(s=>s.delete()),this.clusters=[]}renderClusters(){const s=new kb(this.markers,this.clusters),r=this.getMap();this.clusters.forEach(l=>{if(l.markers.length===1)l.marker=l.markers[0];else if(l.marker=this.renderer.render(l,s,r),l.markers.forEach(u=>dt.setMap(u,null)),this.onClusterClick){const u=dt.isAdvancedMarker(l.marker)?ca.GMP_CLICK:ca.CLUSTER_CLICK;l.marker.addListener(u,d=>{google.maps.event.trigger(this,ca.CLUSTER_CLICK,l),this.onClusterClick(d,l,r)})}dt.setMap(l.marker,r)})}}function Bb(i,s,r){return{lat:i.lat+(s.lat-i.lat)*r,lng:i.lng+(s.lng-i.lng)*r}}function Rp({path:i,options:s,animate:r=!1,animationDuration:l=1e3}){const u=v.useRef(null),[d,f]=v.useState(i),m=v.useRef(null),h=Yt();return v.useEffect(()=>{if(!r||i.length===0){f(i);return}m.current!==null&&cancelAnimationFrame(m.current),f([i[0]]);const g=Date.now(),b=()=>{const S=Date.now()-g,C=Math.min(S/l,1);if(C<1){const j=i.length-1,T=C*j,_=Math.floor(T),x=T-_,w=i.slice(0,_+1);if(_<j){const A=Bb(i[_],i[_+1],x);w.push(A)}f(w),m.current=requestAnimationFrame(b)}else f(i),m.current=null};return m.current=requestAnimationFrame(b),()=>{m.current!==null&&(cancelAnimationFrame(m.current),m.current=null)}},[r,i,l]),v.useEffect(()=>{h&&(u.current?(u.current.setPath(d),s&&u.current.setOptions(s)):u.current=ne
21w google.maps.Polyline({map:h,path:d,...s}))},[h,d,s]),v.useEffect(()=>()=>{u.current&&(u.current.setMap(null),u.current=null)},[]),null}const rc=new Map([[1970,{background:"#C422FF",border:"#340047",glyph:"#560075"}],[1990,{background:"#22ccff",border:"#1e89a1",glyph:"#0f677a"}],[2010,{background:"#85D134",border:"#243A0D",glyph:"#3C6016"}],[2020,{background:"#F7314B",border:"#45020B",glyph:"#710413"}]]),kp="#008cba";function hi(i){return rc.get(i)?.background||kp}function Pb(i){return rc.get(i)}function da(i){const s=JSON.parse(i.trim()),[r,l]=s;return{lat:l,lng:r}}function Np(i){return{line:JSON.parse(i.trim()).map(([l,u])=>[u,l])}}function Gb(i){const s=JSON.parse(i.trim()),[r,l]=s[0];return{lat:l,lng:r}}function Hb(i){return i.geometry.type==="Point"?da(i.geometry.coordinates):Gb(i.geometry.coordinates)}function Fb(i,s){return JSON.stringify([s,i])}function Vb(i){const s=i.map(({lat:r,lng:l})=>[l,r]);return JSON.stringify(s)}function qb(i){return JSON.parse(i.trim()).map(([r,l])=>({lat:l,lng:r}))}function Qm(i,s){return typeof i=="number"&&typeof s=="number"&&!isNaN(i)&&!isNaN(s)&&i>=-90&&i<=90&&s>=-180&&s<=180}const Lp=i=>{const{sound:s,onClick:r,onMouseEnter:l,onMouseLeave:u,setMarkerRef:d,isSelected:f,hoverId:m}=i,h=v.useCallback(()=>r(s),[r,s]),g=v.useCallback(()=>l?.(s),[l,s]),b=v.useCallback(()=>u?.(),[u]),S=v.useCallback(O=>d(O,s.key),[d,s.key]);let C,j=null;s.geometry.type==="LineString"?(j=Np(s.geometry.coordinates).line.map(([P,F])=>({lat:P,lng:F})),C=j[0]):C=da(s.geometry.coordinates);const T=f?200:m===s.key?100:1,_=Pb(s.properties.decade),x=_?.background||kp,w=_?.border||"#340047",A=_?.glyph||"#560075";return y.jsxs(y.Fragment,{children:[y.jsx(Yr,{position:C,ref:S,onClick:h,onMouseEnter:g,onMouseLeave:b,zIndex:T,style:{transform:`scale(${m===s.key||f?1.2:1})`,transformOrigin:"50% 100%"},children:y.jsx(wp,{background:x,borderColor:w,glyphColor:A})}),s.geometry.type==="LineString"&&j&&f&&y.jsx(Rp,{path:j,animate:!0,animationDuration:1500,options:{strokeColor:x,strokeOpacity:0,strokeWeight:4,icons:[{icon:{path:"M 0,-1 0,1",strokeOpacity:1,strokeWeight:4,scale:2},offset:"0",repeat:"15px"}]}},s.key)]})},Qb="https://object-arbutus.alliancecan.ca/swift/v1/418c8f4c33c84f6986d8507e5a625413/soundscapes-public/";function nl(i){return i.startsWith("http://")||i.startsWith("https://")?i:`${Qb}${i}`}const zp=({soundfile:i,preload:s="metadata",className:r})=>y.jsx("audio",{controls:!0,preload:s,src:nl(i),className:r}),Yb=({images:i,initialIndex:s,isOpen:r,onClose:l})=>{const[u,d]=v.useState(s),[f,m]=v.useState(!0),h=v.useRef(null),g=v.useCallback(()=>{u>0&&(m(!0),d(u-1))},[u]),b=v.useCallback(()=>{u<i.length-1&&(m(!0),d(u+1))},[u,i.length]);v.useEffect(()=>{d(s),m(!0)},[s]),v.useEffect(()=>{if(!r)return;const T=_=>{_.key==="Escape"&&l(),_.key==="ArrowLeft"&&g(),_.key==="ArrowRight"&&b()};return window.addEventListener("keydown",T),()=>window.removeEventListener("keydown",T)},[r,l,g,b]),v.useEffect(()=>{if(r){const T=document.body.style.overflow;return document.body.style.overflow="hidden",document.body.classList.add("lightbox-open"),()=>{document.body.style.overflow=T,document.body.classList.remove("lightbox-open")}}},[r]);const S=v.useCallback(T=>{T.target===T.currentTarget&&l()},[l]),C=v.useCallback(T=>{h.current=T.touches[0].clientX},[]),j=v.useCallback(T=>{if(h.current===null)return;const _=T.changedTouches[0].clientX,x=h.current-_;x>50&&b(),x<-50&&g(),h.current=null},[b,g]);return r?y.jsx("div",{className:"lightbox-overlay",onClick:S,role:"dialog","aria-modal":"true","aria-label":"Image gallery lightbox",children:y.jsxs("div",{className:"lightbox-container",onTouchStart:C,onTouchEnd:j,children:[y.jsx("img",{src:nl(i[u]),alt:`${u+1} of ${i.length}`,className:`lightbox-image ${f?"loading":""}`,onLoad:()=>m(!1)}),y.jsx("button",{className:"lightbox-close-btn",onClick:l,"aria-label":"Close lightbox",type:"button",children:"×"}),y.jsx("button",{className:"lightbox-nav-btn prev",onClick:g,disabled:u===0,"aria-label":"Previous image",type:"button",children:"‹"}),y.jsx("button",{className:"lightbox-nav-btn next",onClick:b,disabled:u===i.length-1,"aria-label":"Next image",type:"button",children:"›"}),y.jsxs("div",{className:"lightbox-counter","aria-live":"polite",children:[u+1," / ",i.length]})]})}):null},Up=({images:i,enableLightbox:s=!1})=>{const[r,l]=v.useState(0),[u,d]=v.useState(!1),[f,m]=v.useState(0),h=S=>{S.stopPropagation(),r>0&&l(r-1)},g=S=>{S.stopPropagation(),r<i.length-1&&l(r+1)},b=()=>{m(r),d(!0)};return y.jsxs("div",{className:`image-gallery ${s?"lightbox-enabled":""}`,children:[y.jsx("img",{src:nl(i[r]),alt:"Taken at sound location",onClick:s?b:void 0,style:{cursor:s?"pointer":"default"}}),y.jsxs("div",{className:"gallery-navigation",children:[y.jsxs("div",{className:"nav-btns",children:[y.jsx("button",{onClick:h,disabled:r===0,children:y.jsx("span",{className:"material-symbols-outlined",children:" ‹ "})}),y.jsx("button",{onClick:g,disabled:r===i.length-1,children:y.jsx("span",{className:"material-symbols=outlined",children:" › "})})]}),y.jsx("div",{className:"indicators",children:i.map((S,C)=>y.jsx("span",{className:`dot ${C===r?"active":""}`},C))})]}),s&&y.jsx(Yb,{images:i,initialIndex:f,isOpen:u,onClose:()=>d(!1)})]})},ci=({sound:i,showDecade:s=!0,showClass:r=!0,showTheme:l=!1,showType:u=!1,showProvenance:d=!0})=>{const f=hi(i.properties.decade);return y.jsxs("div",{className:"sound-metadata",children:[s&&y.jsxs("span",{className:"metadata-badge decade-badge",style:{background:f},children:[i.properties.decade,"s"]}),u&&y.jsx("span",{className:"metadata-badge type-badge",children:i.geometry.type==="LineString"?"Soundwalk":"Point"}),r&&i.properties.class.map(m=>y.jsx("span",{className:"metadata-badge class-badge",children:m},m)),l&&i.properties.theme.map(m=>y.jsx("span",{className:"metadata-badge theme-badge",children:m},m)),d&&i.properties.source&&y.jsx("span",{className:"metadata-badge provenance-badge",children:i.properties.source})]})},Jb=({sounds:i,selectedSoundKey:s,onSoundSelect:r,clusteringEnabled:l})=>{const[u,d]=v.useState({}),[f,m]=v.useState(null),h=pe.useRef(null),g=Zr(),b=v.useMemo(()=>i&&s?i.find(A=>
21A.key===s):null,[i,s]),S=Yt();v.useEffect(()=>{if(!S)return;const A=Object.values(u);return h.current&&(h.current.clearMarkers(),h.current.setMap(null),h.current=null),l?(h.current=new Ub({map:S}),A.length>0&&h.current.addMarkers(A)):A.forEach(O=>{O&&O.setMap(S)}),()=>{h.current&&(h.current.clearMarkers(),h.current.setMap(null))}},[S,l,u]),v.useEffect(()=>{h.current&&(h.current.clearMarkers(),h.current.addMarkers(Object.values(u)))},[u]);const C=v.useCallback((A,O)=>{d(P=>{if(A&&P[O]||!A&&!P[O])return P;if(A)return{...P,[O]:A};{const{[O]:F,...H}=P;return H}})},[]),j=v.useCallback(()=>{r(null)},[r]),T=v.useCallback(A=>{s===A.key?r(null):r(A.key)},[s,r]);v.useEffect(()=>{if(!f)return;const A=i.find(O=>O.key===f);if(A&&(A.properties.images.forEach(O=>{const P=new Image;P.src=nl(O)}),A.properties.soundfile)){const O=new Audio;O.preload="auto",O.src=nl(A.properties.soundfile)}},[f,i]),v.useEffect(()=>{if(!S||!b||b.geometry.type!=="LineString")return;const A=JSON.parse(b.geometry.coordinates),O=new google.maps.LatLngBounds;A.forEach(([P,F])=>{O.extend({lat:F,lng:P})}),S.fitBounds(O,{top:100,bottom:50,left:50,right:50})},[S,b]);const _=v.useCallback(A=>{m(A.key)},[]),x=v.useCallback(()=>{m(null)},[]),w=v.useCallback(()=>{b&&g(`/sounds/${b.key}`)},[g,b]);return y.jsxs(y.Fragment,{children:[i.map(A=>y.jsx(Lp,{sound:A,onClick:T,onMouseEnter:_,onMouseLeave:x,setMarkerRef:C,isSelected:A.key===s,hoverId:f},A.key)),s&&b&&y.jsx(f2,{anchor:u[s],onCloseClick:j,children:y.jsxs("div",{className:"sound-info","data-decade-color":hi(b.properties.decade),style:{"--decade-color":hi(b.properties.decade)},children:[y.jsxs("div",{className:"sound-info-header",children:[y.jsx("h2",{children:b.properties.name}),y.jsx(ci,{sound:b,showDecade:!0,showClass:!0,showTheme:!0,showType:!0})]}),y.jsxs("div",{className:"sound-info-body",children:[y.jsx("p",{className:"sound-description",children:b.properties.description}),y.jsx(zp,{soundfile:b.properties.soundfile}),b.properties.images.length>0&&y.jsx(Up,{images:b.properties.images}),y.jsx("button",{className:"back-button",onClick:w,"aria-label":`View full details for ${b.properties.name}`,children:"View Sound Page →"})]})]})})]})},$a=({label:i,value:s,options:r,onChange:l,parseValue:u})=>{const d=v.useCallback(f=>{const m=f.target.value,h=u?u(m):m||null;l(h)},[l,u]);return y.jsxs(y.Fragment,{children:[y.jsxs("label",{children:[" ",i,":"]})," ",y.jsxs("select",{value:s??"",onChange:d,children:[y.jsx("option",{value:"",children:"All sounds"}),r.map(f=>y.jsxs("option",{value:f.key,children:[f.label," (",f.count,")"]},f.key))]})]})},Bp=({categories:i,themes:s,decades:r,years:l,types:u,sources:d,selectedCategory:f,selectedTheme:m,selectedDecade:h,selectedYear:g,selectedType:b,selectedSource:S,clusteringEnabled:C,onCategoryChange:j,onThemeChange:T,onDecadeChange:_,onYearChange:x,onTypeChange:w,onSourceChange:A,onClusteringToggle:O,searchQuery:P,onSearchChange:F,searchResultCount:H,hideClusteringToggle:B,title:K="Filter the Map",description:te="Use the controls below to filter the sounds shown on the map.",hideMinimizeButton:$=!1,isSheetOpen:fe,onClose:ve})=>{const[Ae,X]=v.useState(!1),ee=!!ve,N=v.useCallback(Z=>Number(Z)||null,[]),W=v.useCallback(()=>{_(null),x(null),w(null),j(null),T(null),A(null),F("")},[_,x,w,j,T,A,F]),ne=ee||!Ae;return y.jsxs("div",{className:["control-panel","marker-clustering-control-panel",!ee&&Ae?"minimized":"",$?"no-minimize":"",ee?"mobile-sheet":"",ee&&fe?"sheet-open":""].filter(Boolean).join(" "),children:[ee&&y.jsx("div",{className:"sheet-drag-handle","aria-hidden":"true"}),y.jsxs("div",{className:"control-panel-header",children:[y.jsx("h3",{children:K}),ee?y.jsx("button",{className:"sheet-close-button",onClick:ve,"aria-label":"Close filter panel",children:"✕"}):!$&&y.jsx("button",{className:"minimize-button",onClick:()=>X(!Ae),"aria-label":Ae?"Expand panel":"Minimize panel",children:Ae?"+":"-"})]}),ne&&y.jsxs(y.Fragment,{children:[te&&y.jsx("p",{children:te}),y.jsxs("div",{className:"search-control",children:[y.jsx("div",{className:"search-input-wrapper",children:y.jsx("input",{type:"search",value:P,onChange:Z=>F(Z.target.value),placeholder:"Search the sounds...",className:"search-input"})}),H!==void 0&&P&&y.jsxs("div",{className:"search-result-count",children:["(",H," result",H!==1?"s":"",")"]})]}),y.jsxs("p",{className:"filter-options",children:[y.jsx($a,{label:"Filter by Decade",value:h,options:r,onChange:_,parseValue:N}),y.jsx($a,{label:"Filter by Year",value:g,options:l,onChange:x,parseValue:N}),y.jsx($a,{label:"Filter by Type",value:b,options:u,onChange:w}),y.jsx($a,{label:"Filter by Class",value:f,options:i,onChange:j}),y.jsx($a,{label:"Filter by Theme",value:m,options:s,onChange:T}),y.jsx($a,{label:"Filter by Source",value:S,options:d,onChange:A})]}),!B&&y.jsx("div",{className:"clustering-toggle",children:y.jsxs("label",{children:[y.jsx("input",{type:"checkbox",checked:C,onChange:Z=>O(Z.target.checked)}),"Enable Marker Clustering"]})}),y.jsx("button",{id:"filter-reset",onClick:W,children:"Reset"})]})]})},Wb=()=>{const[i,s]=v.useState(!1),r=Array.from(rc.entries()).sort((l,u)=>l[0]-u[0]);return y.jsxs(y.Fragment,{children:[y.jsxs("button",{className:"decade-legend-button",onClick:()=>s(!0),"aria-label":"Show decade color legend",title:"View decade color legend",children:[y.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[y.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),y.jsx("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),y.jsx("circle",{cx:"12",cy:"8",r:"0.5",fill:"currentColor"})]}),y.jsx("span",{className:"decade-legend-button-text",children:"Legend"})]}),i&&y.jsx("div",{className:"decade-legend-overlay",onClick:()=>s(!1),role:"dialog","aria-modal":"true","aria-labelledby":"legend-title",children:y.jsxs("div",{className:"decade-legend-modal",onClick:l=>l.stopPropagation(),children:[y.jsxs("div",{className:"decade-legend-header",children:[y.jsx("h3",{id:"legend-title",children:"Decade Color Legend"}),y.jsx("button",{className:"decade-legend-close",onClick:()=>s(!1),"aria-label":"Close legend",children:"✕"})]}),y.jsxs("div",{className:"decade-legend-content",children:[y.jsx("p",{className:"decade-legend-description",children:"Sound recordings on the map are color-coded by the decade they were recorded:"}),y.jsx("div",{className:"decade-legend-items",children:r.map(([l,u])=>y.jsxs("div",{className:"decade-legend-item",children:[y.jsx("div",{className:"decade-legend-marker",style:{background:u.background,borderColor:u.border}}),y.jsxs("span",{className:"decade-legend-label",children:[l,"s"]}
21)]},l))})]})]})})]})},Zb=({sounds:i,selectedSoundKey:s,onSoundSelect:r})=>{const l=Yt(),[u,d]=rv(),f=v.useRef(!1);return v.useEffect(()=>{const m=u.get("soundId");m&&m!==s&&(f.current=!0)},[u,s]),v.useEffect(()=>{const m=u.get("soundId");if(!m||!i||i.length===0||!l)return;const h=i.find(g=>g.key===m);if(!h){d({});return}if(r(m),f.current){if(h.geometry.type==="LineString"){const g=JSON.parse(h.geometry.coordinates),b=new google.maps.LatLngBounds;g.forEach(([S,C])=>{b.extend({lat:C,lng:S})}),l.fitBounds(b,{top:100,bottom:50,left:50,right:50})}else{const g=JSON.parse(h.geometry.coordinates),[b,S]=g;l.panTo({lat:S,lng:b}),l.setZoom(17)}f.current=!1}},[u,i,l,d,r]),v.useEffect(()=>{const m=u.get("soundId");!i||i.length===0||(s&&m!==s?(f.current=!1,d({soundId:s})):!s&&m&&i.some(g=>g.key===m)&&d({}))},[s,u,d,i]),null};function Pp(i,s=300){const[r,l]=v.useState(i);return v.useEffect(()=>{const u=setTimeout(()=>{l(i)},s);return()=>{clearTimeout(u)}},[i,s]),r}function Gp(i,s,r){return v.useMemo(()=>i?i.filter(l=>(!s||s.has(l.key))&&(!r.decade||l.properties.decade==r.decade)&&(!r.year||l.properties.year==r.year)&&(!r.theme||l.properties.theme.includes(r.theme))&&(!r.category||l.properties.class.includes(r.category))&&(!r.type||l.geometry.type==r.type)&&(!r.source||l.properties.source==r.source)):[],[i,s,r.decade,r.year,r.category,r.theme,r.type,r.source])}const Vu=JSON.parse(`[{"key":"","type":"Feature","geometry":{"coordinates":"[-123.134193, 49.301734]","type":"Point"},"properties":{"images":[],"class":["features","ambience"],"theme":["nature","cityscape","transport","tourism"],"name":"Stanley Park Railway","decade":1970,"year":1973,"description":"March 25, 1973 (Sunday)","soundfile":"Van82B3.wav","source":"World Soundscapes Project","notes":"children's train passing at first, then great quiet, again HPF, music from wireless, crows, quiet voices, dog barking, seaplane audible v. close by"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.067067,49.268614],[-123.065905,49.268605],[-123.065919,49.267035],[-123.069534,49.267055],[-123.069498,49.268767],[-123.067893,49.268753]]","type":"LineString"},"properties":{"images":[],"class":["soundwalk"],"theme":[],"name":"Soundwalk: East Van rectangle (2nd, Victoria, 4th, Commercial)","decade":1970,"year":1973,"description":"April 30, 1973 (Monday), 5 p.m.","soundfile":"Van86B3.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.069491, 49.268993]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Commercial Drive, Gallo d'Oro, 2nd Ave and surroundings","decade":1970,"year":1973,"description":"May 17, 1973 (Thursday)","soundfile":"Van87C6.wav","source":"World Soundscapes Project","notes":"exact route uncertain, includes former Gallo d'Oro restaurant (pin location) and immediate surroundings"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.118377, 49.298049]","type":"Point"},"properties":{"images":[],"class":["features","ambience"],"theme":["nature","people","cityscape"],"name":"Nine O'Clock Gun","decade":1970,"year":1973,"description":"July 12, 1973 (Thursday), 8:52 p.m.","soundfile":"Van116C4.wav","source":"World Soundscapes Project","notes":"nine o'clock gun and harbour ambience"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.099690, 49.283470]","type":"Point"},"properties":{"images":[],"class":["features","ambience"],"theme":["cityscape"],"name":"Main & Powell","decade":1970,"year":1973,"description":"July 31, 1973 (Tuesday)","soundfile":"Van118A1.wav","source":"World Soundscapes Project","notes":"main & alexander? sirens, light traffic, talking; accident?"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.099865, 49.280453]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["cityscape"],"name":"Main & Pender","decade":1970,"year":1972,"description":"September 20, 1972 (Wednesday)","soundfile":"Van5A1.wav","source":"World Soundscapes Project","notes":"Main & Pender, regular but faint traffic, very faint voices"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139186, 49.297518]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape"],"n
21ame":"Lost Lagoon","decade":1970,"year":1973,"description":"March 19, 1973 (Monday)","soundfile":"Van62A2.wav","source":"World Soundscapes Project","notes":"Lost Lagoon (north, by the fountain); birds crying, motorboat passing, wind, almost no traffic audible"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.155612, 49.268295]","type":"Point"},"properties":{"images":[],"class":["events","scenes"],"theme":["festivals","events","cityscape"],"name":"Kitsilano street festival, music bands","decade":1970,"year":1973,"description":"Februrary 3, 1973 (Saturday)","soundfile":"WSP MP3s/Van22C4.mp3","source":"World Soundscapes Project","notes":"Kits 4th Ave festival"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.156642, 49.268316]","type":"Point"},"properties":{"images":[],"class":["events","scenes"],"theme":["festivals","events","cityscape"],"name":"Kitsilano street festival, Hare Krishna chant","decade":1970,"year":1973,"description":"Februrary 3, 1973 (Saturday)","soundfile":"WSP MP3s/Van22B2.mp3","source":"World Soundscapes Project","notes":"Kits 4th Ave festival, Hare Krishna"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.152087, 49.276485]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape"],"name":"Kitsilano Beach (north)","decade":1970,"year":1973,"description":"March 21, 1973 (Wednesday)","soundfile":"Van71C4.wav","source":"World Soundscapes Project","notes":"very quiet ambience, Kits Beach parking lot, almost no traffic"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.102179, 49.281246]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["cityscape"],"name":"Hastings & Columbia","decade":1970,"year":1972,"description":"September 13, 1972 (Wednesday)","soundfile":"Van1A3.wav","source":"World Soundscapes Project","notes":"Columbia/Hastings, really mostly light traffic, no talking very quiet chatting at one point"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.133910, 49.271042]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["industrial"],"name":"Granville Island industrial area (drivearound)","decade":1970,"year":1973,"description":"February 15, 1973 (Thursday)","soundfile":"Van32B6.wav","source":"World Soundscapes Project","notes":"passing through an industrial area, low rumble, machinery, etc."}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.108936, 49.284393]","type":"Point"},"properties":{"images":[],"class":["ambience","events","scenes","soundwalk"],"theme":["cityscape","people","culture"],"name":"Gastown street musicians","decade":1970,"year":1973,"description":"June 3, 1973 (Sunday)","soundfile":"Van100C6.wav","source":"World Soundscapes Project","notes":"somewhere in Gastown (mapped as Water/Cambie but uncertain); stree ambinece, steps, talking, then various buskers up close"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.099505, 49.285746]","type":"Point"},"properties":{"images":[],"class":["features","ambience"],"theme":["industrial","cityscape"],"name":"Foot of Main (CN pier)","decade":1970,"year":1973,"description":"March 12, 1973 (Monday), 8:57 p.m.","soundfile":"Van55A1.wav","source":"World Soundscapes Project","notes":"CN station at foot of Main St, very rich, a soundmark, contant light rain, whistles, bells, train sounds, rumbles, 9 o'clock gun at 3:35"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139958, 49.272803]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["transport","industrial"],"name":"Fishermen's Wharf","decade":1970,"year":1973,"description":"June 5, 1973 (Thursday)","soundfile":"Van94D7.wav","source":"World Soundscapes Project","notes":"train sound and police whistle, denser ambience"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.109542, 49.289572]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["transport","cityscape"],"name":"Canada Place (west prow)","decade":1970,"year":1972,"description":"September 13, 1972 (Wednesday)","soundfile":"Van2A1.wav","source":"World Soundscapes Project","notes":"Canada Place, one of the prows (side unknown); idling steamer, waves splashing, seagulls, sea plane passing very close by, later voices of people"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139551, 49.274275]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["transport","industrial"],"name":"By Kitsilano Tresle Bridge (now Burrard Street Bridge)","decade":1970,"year":1973,"description":"June 5, 1973 (Tuesday)","soundfile":"Van33A2.wav","source":"World Soundscapes Project","notes":"somewhere around Senakw/under Burrard Bridge; no bells, just regular train rumble, train honks at one point"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139733, 49.275487]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape","transport"],"name":"Burrard Civic Marina","decade":1970,"year":1973,"description":"March 21, 1973 (Wednesday)","soundfile":"Van71D6.wav","source":"World Soundscapes Project","notes":"Burrard Marina; quiet ambience, low rumble, tinkling noise, water splashing, distant traffic"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.116899, 49.300752]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape","transport","tourism"],"name":"Brockton Point","decade":1970,"year":1973,"description":"February 8, 1973 (Thursday)","soundfile":"Van24B3.wav","source":"World Soundscapes Project","notes":"hum, birds crying, a bunch of seaplanes passing very close one after another, waves splashing, some pleasant chain rattle, very subtle voices, distant music"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.137582, 49.302999]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape"],"n
21ame":"Beaver Lake","decade":1970,"year":1973,"description":"February 8, 1973 (Thursday)","soundfile":"Van82B2.wav","source":"World Soundscapes Project","notes":"hum of traffic, ducks quaking, footsteps, sprase distatn voices"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.144419, 49.278026]","type":"Point"},"properties":{"images":[],"class":["features","ambience"],"theme":["nature","cityscape"],"name":"Vanier Park","decade":1990,"year":1993,"description":"September 8, 1993 (Wednesday), 6:06 p.m.","soundfile":"VDat5.13.wav","source":"World Soundscapes Project","notes":"Vanier Pond, kites, dogs, buzzing"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139545,49.274563]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["transport"],"name":"Under Burrard Street Bridge","decade":1990,"year":1993,"description":"September 12, 1993 (Sunday), 12:12 p.m.","soundfile":"WSP MP3s/VDat6.15.mp3","source":"World Soundscapes Project","notes":"under Burrard Bridge, Kits side, masts tinkling, distant traffic, regular thumps of traffic over bridge connectors"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.104382,49.283444],[-123.108919,49.284262]]","type":"LineString"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["cityscape","people","commerce"],"name":"Soundwalk: Water (south), Carrall to Cambie","decade":1990,"year":1995,"description":"April 26, 1995 (Wednesday), 1:45 p.m.","soundfile":"VDat4.23.wav","source":"World Soundscapes Project","notes":"soundwalk: Water (south) from Gassy Jack heading west; traffic, birds, voices in business, coughing, distant street music, then guitar up close, buses, pretty generic/classic city ambience; audibly changing acoustics"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.092569,49.297329],[-123.101313,49.290594],[-123.104779,49.288509],[-123.110395,49.286518],[-123.110773,49.28631],[-123.111272,49.286028],[-123.112008,49.285622],[-123.111821,49.285502],[-123.112007,49.285353]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Seabus to Seymour/Cordova (SW) via Waterfront Stn","decade":1990,"year":1993,"description":"August 27, 1993 (Friday)","soundfile":"VDat3.9.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.102245,49.280495],[-123.099952,49.280448]]","type":"LineString"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["commerce","people","communal"],"name":"Soundwalk: Pender (north), Columbia to Main","decade":1990,"year":1993,"description":"September 10, 1993 (Friday)","soundfile":"VDat4.13.wav","source":"World Soundscapes Project","notes":"soundwalk: Pender from Columbia to Main, Chinese flute music, almost no traffic, periods of near complete quiet, sparse voices in nearby businesses"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.097137,49.279412],[-123.099651,49.279449]]","type":"LineString"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["commerce","people","communal"],"name":"Soundwalk: Keefer (south), Gore to Main","decade":1990,"year":1993,"description":"September 10, 1993 (Friday)","soundfile":"VDat4.16.wav","source":"World Soundscapes Project","notes":"soundwalk: Keefer from Gore to Main, irregular traffic, pleasant resturant wallah, music from radios, children, grocers, construction, sound of walking on wooden planks"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.099682,49.27951],[-123.097113,49.279485]]","type":"LineString"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["commerce","people","communal"],"name":"Soundwalk: Keefer (north), Main to Gore","decade":1990,"year":1993,"description":"September 10, 1993 (Friday)","soundfile":"VDat4.15.wav","source":"World Soundscapes Project","notes":"soundwalk: Keefer from Main to Gore, rattling cart, general talk in Chinese, shouting/singing, wireless sounds, passing traffic, periods of near complete quiet, construction sometimes"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.131999,49.301161],[-123.131972,49.301558],[-123.131623,49.301949],[-123.131835,49.302005],[-123.132171,49.301729],[-123.132404,49.301708],[-123.132602,49.301667],[-123.133119,49.301881],[-123.13326,49.301703],[-123.133451,49.301701],[-123.133481,49.3016
2153],[-123.133762,49.301653],[-123.133984,49.301668],[-123.134154,49.301694]]","type":"LineString"},"properties":{"images":[],"class":["features","ambience","soundwalk"],"theme":["nature","cityscape","transport","culture"],"name":"Soundwalk: Japanese Canadian War Memorial to Stanley Park Railway","decade":1990,"year":1995,"description":"April 28, 1995 (Friday), 1 p.m.","soundfile":"VDat9.8.wav","source":"World Soundscapes Project","notes":"starts with amplified Chinese fiddle, voices quite dense, great narrative arc of the recording, train passing"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.099963,49.281236],[-123.102065,49.281281]]","type":"LineString"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["commerce","people","communal"],"name":"Soundwalk: Hastings (south), Main to Columbia","decade":1990,"year":1993,"description":"September 10, 1993 (Friday)","soundfile":"VDat4.12 part 1.wav","source":"World Soundscapes Project","notes":"soundwalk: Hastings from Main to Columbia; pretty busy traffic, occasional voices, rattling sounds, buses, lots of footsteps; enters a busier scene with more babble/cursing, birds, honking"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.069785,49.26971],[-123.069884,49.269771],[-123.069778,49.269749],[-123.06966,49.274835]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Commercial Drive (west), Napier to 1st","decade":1990,"year":1995,"description":"April 28, 1995 (Friday)","soundfile":"VDat8.25.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.134841,49.272697]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["people","communal"],"name":"Outside Granville Island Public Market","decade":1990,"year":1993,"description":"September 9, 1993 (Thursday), 3:05 p.m.","soundfile":"VDat5.17.wav","source":"World Soundscapes Project","notes":"public square ambience"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.117801,49.298042]","type":"Point"},"properties":{"images":[],"class":["features","ambience"],"theme":["nature","cityscape","soundmark","people","tourism"],"name":"Nine O'Clock Gun","decade":1990,"year":1993,"description":"August 27, 1993 (Friday), 8:55 p.m.","soundfile":"VDat3.15.wav","source":"World Soundscapes Project","notes":"birds, people bubbly talking, distant droning, gun fires at 4:45, very loud and echoey, followed by laughter, commotion among people, v. interesting"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.09992,49.280452]","type":"Point"},"properties":{"images":[],"class":["dialogue","ambience"],"theme":["people","cityscape"],"name":"Main & Pender","decade":1990,"year":1993,"description":"September 10, 1993 (Friday)","soundfile":"VDat4.14.wav","source":"World Soundscapes Project","notes":"a lot of talking up close (Chinese Canadian school tour), sparse traffic"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.0999,49.281218]","type":"Point"},"properties":{"images":[],"class":["dialogue","ambience"],"theme":["cityscape","people","communal"],"name":"Main & Hastings SW","decade":1990,"year":1993,"description":"September 10, 1993 (Friday)","soundfile":"VDat4.11.wav","source":"World Soundscapes Project","notes":"traffic, shouting (frequent), footsteps, police whistles (repeated), some car wheezing, some kids, dialogue (about the project)"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.130976,49.302544]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape","people","tourism"],"name":"Lumberman's Arch Picnic Area","decade":1990,"year":1995,"description":"April 28, 1995 (Friday), 12:45 p.m.","soundfile":"VDat9.5.wav","source":"World Soundscapes Project","notes":"lively voices, multilayered and immersive, diverse bird calls, smooth hum of traffic, seaplane passing very low, birds scared"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139661,49.297278]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape","transport"],"name":"Lost Lagoon","decade":1990,"year":1993,"description":"August 27, 1993 (Friday)","soundfile":"VDat3.12.wav","source":"World Soundscapes Project","notes":"commotion among birds, bird whistles a few times (heron?), same traffic hum, ~3:10 loud plane passing (jet?), scares the ducks"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.158071,49.273152]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["sports","people","communal"],"name":"Kitsilano Pool","decade":1990,"year":1993,"description":"September 8, 1993 (Wednesday), 4:55 p.m.","soundfile":"VDat5.7.wav","source":"World Soundscapes Project","notes":"Kits pool on a sunny day, afternoon, very rich beautiful dynamic ambience, sprinklers/showers, kids screaming, seaplanes"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.15371,49.273921]","type":"Point"},"properties":{"images":[],"class":["features","ambience"],"theme":["sports","people"],"name":"Kitsilano Beach Tennis Courts","decade":1990,"year":1993,"description":"September 8, 1993 (Wednesday), 5:02 p.m.","soundfile":"WSP MP3s/VDat5.8.mp3","source":"World Soundscapes Project","notes":"Kits Beach tennis courts, droning in background"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.153872,49.274416]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["people","nature","cityscape"],"n
21ame":"Kitsilano Beach (concession)","decade":1990,"year":1993,"description":"September 8, 1993 (Wednesday), 5:16 p.m.","soundfile":"VDat5.9.wav","source":"World Soundscapes Project","notes":"Kits Beach from concession stand, 5pm"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.153906,49.274903]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["people","nature","cityscape"],"name":"Kitsilano Beach","decade":1990,"year":1993,"description":"September 8, 1993 (Friday), 5:21 p.m.","soundfile":"VDat5.10.wav","source":"World Soundscapes Project","notes":"Kits Beach close to water, 5pm, mild construction, traffic, cars beeeping"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.102141,49.28128]","type":"Point"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["commerce","people","communal"],"name":"Hastings & Columbia","decade":1990,"year":1993,"description":"September 10, 1993 (Friday)","soundfile":"VDat4.12 part 2.wav","source":"World Soundscapes Project","notes":"soundwalk: Hastings from Main to Columbia; pretty busy traffic, occasional voices, rattling sounds, buses, lots of footsteps; enters a busier scene with more babble/cursing, birds, honking"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.14903,49.277797]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape"],"name":"Hadden Beach","decade":1990,"year":1993,"description":"September 8, 1993 (Wednesday), 5:43 p.m.","soundfile":"VDat5.11.wav","source":"World Soundscapes Project","notes":"beach West of Maritime Museum at 5:43 p.m.; birds, distant motor, waves, dogs"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.135165,49.272385]","type":"Point"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["commerce","people"],"name":"Granville Island Public Market (soundwalk)","decade":1990,"year":1993,"description":"September 9, 1993 (Thursday), 3:11 p.m.","soundfile":"VDat5.18.wav","source":"World Soundscapes Project","notes":"soundwalk: Granville Island Market"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.108904,49.28442]","type":"Point"},"properties":{"images":[],"class":["ambience","features"],"theme":["cityscape","soundmark","people"],"name":"Gastown Steam Clock","decade":1990,"year":1995,"description":"April 26, 1995 (Wednesday), 1:30 p.m.","soundfile":"VDat4.17.wav","source":"World Soundscapes Project","notes":"Gastown Steam Clock + overall interesting neighbourhood ambience (traffic/honking/chatter)"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139513,49.271587]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["transport","industrial"],"name":"Fishermen's Wharf","decade":1990,"year":1993,"description":"September 9, 1993 (Thursday), 2:45 p.m.","soundfile":"VDat5.16.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.103251,49.279594]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape"],"name":"Dr. Sun Yat-Sen Park","decade":1990,"year":1995,"description":"April 26, 1995 (Friday), 1:25 p.m.","soundfile":"VDat8.21.wav","source":"World Soundscapes Project","notes":"Sun Yat-Sen Park, uneventful quite ambience with helicopter passing by; birds"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.110003,49.289513]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["cityscape","nature","tourism","people","soundmark","transport"],"name":"Canada Place (west prow)","decade":1990,"year":1993,"description":"September 10, 1993 (Friday)","soundfile":"VDat4.3.wav","source":"World Soundscapes Project","notes":"lively but distant restaurant talking, cuttlery clanking, seagulls quietly but regularly, continuous hum, foosteps, nice subtle ambience, horn of passing ship in the distance, v. distant ambulance, wave gently splashing, seaplane gearing up and taking off, passing left-right in the pan"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139926,49.275771]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape","transport"],"name":"Burrard Civic Marina","decade":1990,"year":1993,"description":"September 9, 1993 (Thursday), 2:10 p.m.","soundfile":"VDat5.14.wav","source":"World Soundscapes Project","notes":"Burrard Marina; much more rumble, industrial rattle, more voices, more birds, much busier"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.116842,49.300723]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape","transport","tourism"],"name":"Brockton Point","decade":1990,"year":1995,"description":"April 28, 1995 (Friday), 11:55 a.m.","soundfile":"VDat9.3.wav","source":"World Soundscapes Project","notes":"before 12pm; rumble sounds differently (higher?), more children's voices at start, crows, helicopter, v. distant ambulance, fewer seaplanes"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.13744,49.30357]","type":"Point"},"properties":{"images":[],"class":["ambience"],"theme":["nature","cityscape"],"n
21ame":"Beaver Lake","decade":1990,"year":1995,"description":"April 28, 1995 (Friday), 12 p.m.","soundfile":"VDat9.13.wav","source":"World Soundscapes Project","notes":"quiet hum of traffic, ducks, bird tweeting, plane flying by, bike passing, footsteps, children crying"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.134139,49.301736]","type":"Point"},"properties":{"images":["WSP JPEGs/2010s/SP Railway booth.jpg","WSP JPEGs/2010s/SP Railway sign.jpg","WSP JPEGs/2010s/SP Railway.jpg"],"class":["ambience","features"],"theme":["nature","cityscape","transport","tourism","people"],"name":"Stanley Park Railway","decade":2010,"year":2011,"description":"September 9, 2011 (Friday), 12:30 p.m.","soundfile":"VFile8.9.wav","source":"SFU Sonic Research Studio","notes":"12:30; ambience by the train, announcer first, then bells-passing, then v. quiet ambience, no birds no nothing, children crying in the distance, traffic v. distant"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.069634,49.26964],[-123.069562,49.273524]]","type":"LineString"},"properties":{"images":["WSP JPEGs/2010s/IMG_0920.jpg"],"class":[],"theme":[],"name":"Soundwalk: World Cup, Commercial Drive, Grandview Park to 1st Ave","decade":2010,"year":2010,"description":"July 11, 2010 (Sunday), 2:10 p.m., World Cup Fulltime. Roads closed, walking on road.","soundfile":"VFile7.2.wav","source":"SFU Sonic Research Studio","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.069483,49.271265],[-123.069411,49.27494]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: World Cup, Commercial Drive (east), Grant to Napier","decade":2010,"year":2010,"description":"July 11, 2010 (Sunday), 12:30 p.m., World Cup Halftime","soundfile":"VFile7.1.wav","source":"SFU Sonic Research Studio","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.104416,49.283578],[-123.108841,49.284405]]","type":"LineString"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["cityscape","people","commerce"],"name":"Soundwalk: Water, Carrall to Cambie","decade":2010,"year":2010,"description":"November 10, 2010 (Wednesday), 2:51 p.m.","soundfile":"VFile11.3.wav","source":"SFU Sonic Research Studio","notes":"soundwalk: Water (north) from Gassy Jack heading west; traffic, peoplee, seaplanes, crows, voice over PA, skateboard, honking, medium-dense"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.092194,49.296975],[-123.101399,49.29044],[-123.103959,49.289085],[-123.106635,49.28776],[-123.107412,49.287508],[-123.110315,49.286507],[-123.111961,49.285622],[-123.111299,49.285186]]","type":"LineString"},"properties":{"images":["WSP JPEGs/2010s/Waterfront.jpg"],"class":["ambience","soundwalk"],"theme":["transport","people","cityscape"],"name":"Soundwalk: Seabus to Seymour/Cordova (NE) via Waterfront Stn","decade":2010,"year":2011,"description":"August 25, 2011 (Thursday)","soundfile":"VFile1.18.wav","source":"SFU Sonic Research Studio","notes":"mostly unusable because of interfering people talking, last minute or so: outside of the station, useful for comparison, traffic, traffic light sounds. people talking, laughing"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.099941,49.280335],[-123.104196,49.280411],[-123.105503,49.280635]]","type":"LineString"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["commerce","people","cityscape"],"name":"Soundwalk: Pender (south), Main to Taylor","decade":2010,"year":2011,"description":"June 16, 2011 (Thursday), 4:23 p.m.","soundfile":"VFile15.2.wav","source":"SFU Sonic Research Studio","notes":"soundwalk: Pender from Main to Taylor, 4:23 pm, similar as above, rumbling of motors, birds, light chatter, acoustically becomes wider halfway through, overall generic unattractive ambience"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.102241,49.280473],[-123.099944,49.280429]]","type":"LineString"},"properties":{"images":["WSP JPEGs/2010s/Pender north side soundwalk.jpg"],"class":["ambience","soundwalk"],"theme":["commerce","people","cityscape"],"n
21ame":"Soundwalk: Pender (north), Columbia to Main","decade":2010,"year":2011,"description":"June 16, 2011 (Thursday), 4:20 p.m.","soundfile":"VFile15.5.wav","source":"SFU Sonic Research Studio","notes":"soundwalk: Pender from Columbia to Main; mostly just light traffic, birds, guitar at one point, some talking in English"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.09707,49.279379],[-123.099672,49.279424]]","type":"LineString"},"properties":{"images":["WSP JPEGs/2010s/Keefer south soundwalk.jpg"],"class":["ambience","soundwalk"],"theme":["commerce","people","cityscape"],"name":"Soundwalk: Keefer (south), Gore to Main","decade":2010,"year":2011,"description":"June 16, 2011 (Saturday), 1:40 p.m.","soundfile":"VFile15.4.wav","source":"SFU Sonic Research Studio","notes":"soundwalk: Keefer from Gore to Main; only occasional voices in Mandarin, some cars passing, Chinese melody from speakers"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.102323,49.279288],[-123.101207,49.279521],[-123.097058,49.279468]]","type":"LineString"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["commerce","people","cityscape"],"name":"Soundwalk: Keefer (north), Columbia to Gore","decade":2010,"year":2011,"description":"July 16, 2011 (Thursday), 1:40 p.m.","soundfile":"VFile15.3.wav","source":"SFU Sonic Research Studio","notes":"soundwalk: Keefer from Columbia to Gore; Main to Gore is from 2:47, much much more sparse in people, more traffic"}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.067017,49.268613],[-123.065911,49.268604],[-123.065924,49.267031],[-123.069548,49.267048],[-123.069518,49.268611],[-123.069497,49.268638],[-123.067132,49.268612]]","type":"LineString"},"properties":{"images":["WSP JPEGs/2010s/IMG_1695_1000px.jpg","WSP JPEGs/2010s/IMG_1696_1000px.jpg","WSP JPEGs/2010s/IMG_1698_1000px.jpg"],"class":[],"theme":[],"name":"Soundwalk: East Van rectangle (2nd, Victoria, 4th, Commercial)","decade":2010,"year":2011,"description":"September 9, 2011 (Friday), 2:10 p.m.","soundfile":"VFile7.3.wav","source":"SFU Sonic Research Studio","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.069892,49.263914],[-123.069639,49.276757],[-123.069709,49.277041],[-123.069859,49.277276],[-123.070189,49.27751]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Commercial Drive (west), N Grandview to Adanac","decade":2010,"year":2011,"description":"September 9, 2011 (Friday), 3 p.m.","soundfile":"VFile7.4.wav","source":"SFU Sonic Research Studio","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.150954,49.29509]","type":"Point"},"properties":{"images":["WSP JPEGs/2010s/Second Beach.jpg","WSP JPEGs/2010s/Second Beach view.jpg","WSP JPEGs/2010s/Second Beach pool.jpg"],"class":["ambience"],"theme":["people","communal","sports","cityscape","nature"],"name":"Second Beach, Seawall","decade":2010,"year":2010,"description":"August 5, 2010 (Thursday), 6:30 p.m.","soundfile":"VFile8.5.wav","source":"SFU Sonic Research Studio","notes":"children's voices a bit further + loud seaplane droning/harbour ambience"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.104331,49.283396]","type":"Point"},"properties":{"images":["WSP JPEGs/2010s/Maple Tree Square.jpg"],"class":["ambience"],"theme":["cityscape","people","commerce"],"name":"Maple Tree Square","decade":2010,"year":2010,"description":"November 10, 2010 (Wednesday), 2:45 p.m.","soundfile":"VFile11.2.wav","source":"SFU Sonic Research Studio","notes":"Gassy Jack square ambience, traffic, distant voices from restaurants, quite a lively, layered ambience"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.099921,49.280489]","type":"Point"},"properties":{"images":["WSP JPEGs/2010s/Main and Pender.jpg"],"class":["ambience"],"theme":["cityscape"],"name":"Main & Pender","decade":2010,"year":2011,"description":"June 16, 2011 (Thursday), 2:03 p.m.","soundfile":"VFile15.6.wav","source":"SFU Sonic Research Studio","notes":"Main & Pender, much denser traffic, traffic light beeps, etc., talking more sparse, Spanish"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.140752,49.29714]","type":"Point"},"properties":{"images":["WSP JPEGs/2010s/Lost Lagoon path.jpg","WSP JPEGs/2010s/Lost Lagoon city.jpg"],"class":["ambience"],"theme":["nature","cityscape"],"n
21ame":"Lost Lagoon","decade":2010,"year":2010,"description":"August 5, 2010 (Thursday), 6 p.m.","soundfile":"VFile8.2.wav","source":"SFU Sonic Research Studio","notes":"loud persistent droning sound (motorboat idling) at start, plane landing, traffic more distant, distant ambulance, birds chirping/calling up close but much fewer and generally different ones, footsteps passing, helicopter, seaplane, busy sky"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.135256,49.272458]","type":"Point"},"properties":{"images":[],"class":["ambience","soundwalk"],"theme":["commerce","people"],"name":"Granville Island Public Market (soundwalk)","decade":2010,"year":2011,"description":"November 5, 2011 (Saturday), 4:25 p.m.","soundfile":"VFile14.4.wav","source":"SFU Sonic Research Studio","notes":"soundwalk: Granville Island Market"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.108885,49.284386]","type":"Point"},"properties":{"images":["WSP JPEGs/2010s/Gastown Steam Clock.jpg"],"class":["ambience","features"],"theme":["cityscape","soundmark","people"],"name":"Gastown Steam Clock","decade":2010,"year":2010,"description":"November 10, 2010 (Wednesday), 2:25 p.m.","soundfile":"VFile11.1.wav","source":"SFU Sonic Research Studio","notes":"Gastown Steam Clock; 2:25pm; street music (voice+guitar), loud traffic, some echoey shouting, sometimes whistling towards the end"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.103331,49.279625]","type":"Point"},"properties":{"images":["WSP JPEGs/2010s/Sun Yat-Sen.jpg"],"class":["ambience"],"theme":["nature","cityscape"],"name":"Dr. Sun Yat-Sen Park","decade":2010,"year":2011,"description":"June 16, 2011 (Thursday), 4:09 p.m.","soundfile":"VFile15.1.wav","source":"SFU Sonic Research Studio","notes":"Sun Yat-Sen Park, really generic ambience, some talking, bell of sorts? lots of helicopters"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.110803,49.289362]","type":"Point"},"properties":{"images":["WSP JPEGs/2010s/Canada Place.jpg"],"class":["ambience","events"],"theme":["transport","tourism"],"name":"Canada Place (west prow)","decade":2010,"year":2010,"description":"June 4, 2010 (Friday), 3:40 p.m.","soundfile":"VFile1.1.wav; VFile1.2.wav","source":"SFU Sonic Research Studio","notes":"cruise ship sounds: very loud continuous rumble, PA announcements in many languages, some rattle"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.116912,49.300843]","type":"Point"},"properties":{"images":["WSP JPEGs/2010s/Brockton Point 1.jpg","WSP JPEGs/2010s/Brockton Point 2.jpg"],"class":["ambience"],"theme":["nature","cityscape","transport"],"name":"Brockton Point","decade":2010,"year":2011,"description":"September 9, 2011 (Friday), 11:54 a.m.","soundfile":"VFile8.8.wav","source":"SFU Sonic Research Studio","notes":"very distant droning, gentle waves, one seaplane passing, some other buzzing, very sparse people, jogger passing, O'Canada Horn at 6:00"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.137496,49.303783]","type":"Point"},"properties":{"images":["WSP JPEGs/2010s/Beaver Lake.jpg"],"class":["ambience"],"theme":["nature","cityscape"],"name":"Beaver Lake","decade":2010,"year":2011,"description":"September 9, 2011 (Friday), 12:49 p.m.","soundfile":"VFile8.10.wav","source":"SFU Sonic Research Studio","notes":"12 pm; traffic more distant, bike passing, birds silent or gone? owl hooting tho, footsteps, generally more quiet, gentle wind, seaplane passing at one point"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.120661,49.298957]","type":"Point"},"properties":{"images":[],"class":["ambience","features"],"theme":["nature","cityscape","industrial"],"name":"Totem Poles","decade":2020,"year":2020,"description":"August 5, 2020 (Wednesday), 5:15 a.m.","soundfile":"Van12_2020.WAV","source":"SFU Sonic Research Studio","notes":"birds crying at dawn, eerie sounds from the shipyard, distand hum of traffic"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.151159,49.295015]","type":"Point"},"properties":{"images":[],"class":["ambience","features"],"theme":["nature","cityscape"],"n
21ame":"Second Beach Pool","decade":2020,"year":2020,"description":"April 28, 2020 (Tuesday), during COVID closure","soundfile":"Van10.WAV","source":"SFU Sonic Research Studio","notes":"pool closed due to Covid, echoey calls of crows and geese, people talking, low hum of traffic"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.150505,49.300481]","type":"Point"},"properties":{"images":[],"class":["ambience","features"],"theme":["nature","cityscape"],"name":"Lovers Walk","decade":2020,"year":2020,"description":"May 22, 2020 (Friday), 4:40 a.m. (dawn)","soundfile":"Van19_2020.WAV","source":"SFU Sonic Research Studio","notes":"bird crying loudly at dawn, distant traffic"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.133272,49.271025]","type":"Point"},"properties":{"images":[],"class":["ambience","features"],"theme":["industrial"],"name":"Heidelberg Materials","decade":2020,"year":2020,"description":"July 22, 2020 (Wednesday)","soundfile":"Van26_2020.WAV","source":"SFU Sonic Research Studio","notes":"industrial area, low rumble, episodic hitting noises, beeping"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.138462,49.302782]","type":"Point"},"properties":{"images":[],"class":["ambience","features"],"theme":["nature"],"name":"Beaver Lake - dawn chorus","decade":2020,"year":2020,"description":"May 15, 2020 (Friday), 4:50 a.m. (dawn)","soundfile":"Van16.WAV","source":"SFU Sonic Research Studio","notes":"bird chorus at dawn, dense tweeting, no traffic audible as no lows (HPF)"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139646, 49.274394]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 25-07-2024, 16 03 38.jpg"],"class":[],"theme":[],"name":"By Burrard Street Bridge (Senakw construction)","decade":2020,"year":2024,"description":"July 25, 2024 (Thursday), 3:58 p.m.","soundfile":"20240725 3_58pm Senakw construction by the bridge.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.141882,49.277884]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Vanier Park Flagpole","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 6:05 p.m.","soundfile":"36 20240719 6_05pm Vanier Park flagpole.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.144556,49.278035]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 18 02 28.jpg","WSP JPEGs/Photo 19-07-2024, 18 02 30.jpg"],"class":[],"theme":[],"name":"Vanier Park","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 6 p.m.","soundfile":"35 20240719 6pm Vanier Pond.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139674,49.274535]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 25-07-2024, 15 50 09.jpg","WSP JPEGs/Photo 25-07-2024, 16 03 42.jpg"],"class":[],"theme":[],"name":"Under Burrard Street Bridge","decade":2020,"year":2024,"description":"July 25, 2024 (Thursday), 3:53 p.m.","soundfile":"20240725 3_49pm under Burrard Bridge.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.120625,49.298907]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 10-10-2024, 07 10 07.jpg","WSP JPEGs/Photo 10-10-2024, 07 10 56.jpg"],"class":[],"theme":[],"name":"Totem Poles","decade":2020,"year":2024,"description":"October 10, 2024 (Thursday), 7:04 a.m.","soundfile":"20241010 7_04am Totem Poles dawn.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.134245,49.301716]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 26-07-2024, 13 02 10.jpg","WSP JPEGs/Photo 26-07-2024, 13 10 21.jpg","WSP JPEGs/Photo 26-07-2024, 13 01 44.jpg"],"class":[],"theme":[],"name":"Stanley Park Railway","decade":2020,"year":2024,"description":"July 26, 2024 (Friday), 12:50 p.m.","soundfile":"20240726 12_50pm Stanley Park Railway arriving.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.104399,49.283603],[-123.10883,49.284416]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Water 
21(north), Carrall to Cambie","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 2:43 p.m.","soundfile":"20240719 2_43pm Maple Tree Square to Steamclock.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.092794,49.29743],[-123.093739,49.296514],[-123.10127,49.29079],[-123.103437,49.289404],[-123.105948,49.288173],[-123.110411,49.286549],[-123.111935,49.285699],[-123.112037,49.285625],[-123.111854,49.285503],[-123.112047,49.285347]]","type":"LineString"},"properties":{"images":["WSP JPEGs/Photo 22-08-2024, 15 48 35.jpg","WSP JPEGs/Photo 22-08-2024, 15 07 35.jpg","WSP JPEGs/Photo 22-08-2024, 15 03 00.jpg","WSP JPEGs/Photo 22-08-2024, 15 02 40.jpg"],"class":[],"theme":[],"name":"Soundwalk: Seabus to Seymour/Cordova (SW) via Waterfront Stn","decade":2020,"year":2024,"description":"August 22, 2024 (Thursday), 3:50 p.m.","soundfile":"20240822 3_47pm from Seabus to Seymour and Cordova SW.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.099908,49.280316],[-123.10421,49.28039],[-123.105539,49.280611]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Pender (south), Main to Taylor","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 3:35 p.m.","soundfile":"20240719 3_35pm Pender Main to Taylor.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.105795,49.280845],[-123.104406,49.280562],[-123.099977,49.280469]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Pender (north), Taylor to Main","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 3:30 p.m.","soundfile":"20240719 3_30pm Pender Taylor to Main.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.097081,49.279397],[-123.101184,49.279463],[-123.101184,49.279463],[-123.101305,49.279438],[-123.101426,49.279412],[-123.101546,49.279387],[-123.101667,49.279362],[-123.102123,49.27925]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Keefer (south), Gore to Columbia","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 1:58 p.m.","soundfile":"20240719 1_58pm Keefer Gore to Columbia.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.102306,49.279314],[-123.101206,49.279537],[-123.097064,49.279491]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Keefer (north), Columbia to Gore","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 1:50 p.m.","soundfile":"20240719 1_50pm Keefer Columbia to Gore.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.135045,49.272047],[-123.133706,49.270988]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Johnston St, Granville Island Public Market to Heidelberg Materials","decade":2020,"year":2024,"description":"August 13, 2024 (Tuesday), 5 p.m.","soundfile":"33 20240813 5pm GIPM to industrial area SW.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.132014,49.301136],[-123.131981,49.301563],[-123.131641,49.301945],[-123.131829,49.301995],[-123.132161,49.301724],[-123.132395,49.301705],[-123.132609,49.301659],[-123.133111,49.301861],[-123.133253,49.301694],[-123.133443,49.301693],[-123.133473,49.301644],[-123.133762,49.301645],[-123.133973,49.301661],[-123.134198,49.301693],[-123.134198,49.301693]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Japanese Canadian War Memorial to Stanley Park Railway","decade":2020,"year":2024,"description":"July 26, 2024 (Friday), 1:04 p.m.","soundfile":"20240726 1_04pm Japanese Can War Memorial to SP Railway SW.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.155185,49.270015],[-123.155107,49.272693],[-123.155051,49.272712],[-123.15492,49.273253],[-123.154957,49.273342],[-123.155086,49.273401],[-123.155598,49.273396],[-123.155936,49.273071],[-123.157948,49.273106],[-123.158287,49.273141],[-123.158282,49.273174]]","type":"LineString"},"properties":{"images":["WSP JPEGs/Photo 27-07-2024, 21 39 03.jpg","WSP JPEGs/Photo 27-07-2024, 21 42 22.jpg"],"class":[],"theme":[],"name":"Soundwalk: Honda Festival of Light, Yew St (west) to Kitsilano Pool via Kitsilano Beach","decade":2020,"year":2024,"description":"July 27, 2024 (Saturday), 9:30 p.m.","soundfile":"20240727 9_30pm Yew and 2nd to Kits Beach Honda Festival of Light.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.099929,49.281225],[-123.102082,49.281273]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Hastings (south), Main to Columbia","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 3:17 p.m.","soundfile":"20240719 3_17pm Hastings Main to Columbia.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[[-123.069615,49.262697],[-123.069588,49.266397],[-123.069391,49.276534]]","type":"LineString"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Commercial Drive (east), E Broadway to Venables","decade":2020,"year":2024,"description":"September 30, 2024 (Monday), 12:15 p.m. Truth and Reconciliation Day","soundfile":"17.wav","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.151052,49.295042]","type":"Point"}
21,"properties":{"images":["WSP JPEGs/Photo 26-07-2024, 11 24 46.jpg","WSP JPEGs/Photo 26-07-2024, 11 24 48.jpg","WSP JPEGs/Photo 26-07-2024, 11 24 50.jpg"],"class":[],"theme":[],"name":"Second Beach, Seawall","decade":2020,"year":2024,"description":"July 26, 2024 (Friday), 11:10 a.m.","soundfile":"20240726 11_10am Second Beach Pool.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.119877,49.281509]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 30-09-2024, 16 19 26.jpg"],"class":[],"theme":[],"name":"Robson & Granville","decade":2020,"year":2024,"description":"September 30, 2024 (Monday), 4:18 p.m.","soundfile":"20240930 4_18pm Robson Granville.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.13479,49.272652]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 13-08-2024, 16 54 25.jpg"],"class":[],"theme":[],"name":"Outside Granville Island Public Market","decade":2020,"year":2024,"description":"August 13, 2024 (Tuesday), 4:17 p.m.","soundfile":"20240813 4_17pm outside Granville Island Public Market.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.119633,49.297993]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 23-08-2024, 21 00 23.jpg","WSP JPEGs/Photo 23-08-2024, 21 00 17.jpg"],"class":[],"theme":[],"name":"Nine O'Clock Gun","decade":2020,"year":2024,"description":"August 23, 2024 (Friday), 8:57 p.m.","soundfile":"20240823 8_57pm Nine OClock Gun.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.104352,49.283427]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 14 38 01.jpg"],"class":[],"theme":[],"name":"Maple Tree Square","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 2:37 p.m.","soundfile":"20240719 2_37pm Maple Tree Square.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.099709,49.283354]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 14 58 14.jpg","WSP JPEGs/Photo 19-07-2024, 14 58 11.jpg"],"class":[],"theme":[],"name":"Main & Powell","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 3 p.m.","soundfile":"20240719 3pm Main and Powell.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.099858,49.280493]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 14 13 55.jpg"],"class":[],"theme":[],"name":"Main & Pender","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 2:10 p.m.","soundfile":"20240719 2_10pm Pender and Main.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.099861,49.281208]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 15 13 29.jpg"],"class":[],"theme":[],"name":"Main & Hastings SW","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 3:11 p.m.","soundfile":"20240719 3_11pm Main and Hastings SW.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.099464,49.281463]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 15 09 15.jpg"],"class":[],"theme":[],"name":"Main & Hastings NE","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 3:06 p.m.","soundfile":"20240719 3_06pm Main and Hastings NE.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.130989,49.302459]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 26-07-2024, 13 32 42.jpg","WSP JPEGs/Photo 26-07-2024, 13 32 46.jpg"],"class":[],"theme":[],"name":"Lumberman's Arch Picnic Area","decade":2020,"year":2024,"description":"July 26, 2024 (Friday), 1:27 p.m.","soundfile":"20240726 1_27pm Lumberman's Arch.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.149732,49.300628]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 10-10-2024, 07 47 00.jpg"],"class":[],"theme":[],"name":"Lovers Walk","decade":2020,"year":2024,"description":"October 10, 2024 (Thursday), 7:50 a.m. (sunrise)","soundfile":"20241010 7_50am Lovers Trail sunrise.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139573,49.297328]","type":"Point"}
21,"properties":{"images":["WSP JPEGs/Photo 26-07-2024, 14 03 10.jpg"],"class":[],"theme":[],"name":"Lost Lagoon","decade":2020,"year":2024,"description":"July 26, 2024 (Friday), 2 p.m.","soundfile":"20240726 2pm Lost Lagoon.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.158014,49.273174]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 16 47 26.jpg"],"class":[],"theme":[],"name":"Kitsilano Pool","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 4:52 p.m.","soundfile":"23 20240719 4_52pm Kits Pool benches.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.153968,49.273755]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 17 09 08.jpg"],"class":[],"theme":[],"name":"Kitsilano Beach Tennis Courts","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 5:03 p.m.","soundfile":"25 20240719 5_03pm Kits Beach tennis courts.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.152152,49.276413]","type":"Point"},"properties":{"images":["WSP JPEGs/IMG_1483.jpg"],"class":[],"theme":[],"name":"Kitsilano Beach (north)","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 5:31 p.m.","soundfile":"31 20240719 5_31pm Kits Beach parking lot north.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.153892,49.274339]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 17 20 03.jpg"],"class":[],"theme":[],"name":"Kitsilano Beach (concession)","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 5:18 p.m.","soundfile":"28 20240719 5_18pm Kits Beach by The Boathouse.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.154605,49.274283]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 17 12 13.jpg"],"class":[],"theme":[],"name":"Kitsilano Beach","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 5:10 p.m.","soundfile":"27 20240719 5_10pm Kits Beach 15m from water.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.102134,49.28125]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 15 22 53.jpg"],"class":[],"theme":[],"name":"Hastings & Columbia","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 3:20 p.m.","soundfile":"20240719 3_20pm Columbia and Hastings.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.148794,49.27793]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Hadden Beach","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 5:44 p.m.","soundfile":"33 20240719 5_44pm Hadden Beach 8m from water.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.135342,49.272525]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 13-08-2024, 16 53 18.jpg"],"class":[],"theme":[],"name":"Granville Island Public Market (soundwalk)","decade":2020,"year":2024,"description":"August 13, 2024 (Tuesday), 4:10 p.m.","soundfile":"31 20240813 4_10pm Granville Island Public Market.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.070426,49.273456]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 30-09-2024, 12 58 28.jpg","WSP JPEGs/Photo 30-09-2024, 13 38 00.jpg"],"class":[],"theme":[],"name":"Grandview Park: Orange Shirt Day Celebrations","decade":2020,"year":2024,"description":"September 30, 2024 (Monday), 1:00 p.m.","soundfile":"18.wav; 19.wav; 20.wav; 21.wav; 22.wav","source":"UBC Dept. of Geography ","notes":"Sound files descriptions: Jarred Gennaile; Jarred Gennaile, Josiah Amaya, crowd; Anjeanette Dawson; Kazezsemaka, aka Myra Pierre; Strawberry Spirit Singers"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.108857,49.284435]","type":"Point"}
21,"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 14 25 43.jpg"],"class":[],"theme":[],"name":"Gastown Steam Clock","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 2:25 p.m.","soundfile":"20240719 2_25pm Gastown Steamclock.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.100672,49.285123]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 25-07-2024, 21 15 45.jpg","WSP JPEGs/Photo 25-07-2024, 21 15 48.jpg","WSP JPEGs/Photo 25-07-2024, 21 18 14.jpg"],"class":[],"theme":[],"name":"Foot of Main (CRAB Park)","decade":2020,"year":2024,"description":"July 25, 2024 (Thursday), 8:57 p.m.","soundfile":"20240725 8_57pm Crab Park foot of Main.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139637,49.271776]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 25-07-2024, 16 29 19.jpg"],"class":[],"theme":[],"name":"Fishermen's Wharf","decade":2020,"year":2024,"description":"July 25, 2024 (Thursday), 4:23 p.m.","soundfile":"20240725 4_23 pm Falls Creek Wharf office btw bridges.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.103348,49.2795]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 19-07-2024, 15 50 41.jpg"],"class":[],"theme":[],"name":"Dr. Sun Yat-Sen Park","decade":2020,"year":2024,"description":"July 19, 2024 (Friday), 3:50 p.m.","soundfile":"20240719 3_50pm Sun Yat Sen Garden.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.110476,49.289467]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 05-09-2024, 19 57 44.jpg","WSP JPEGs/Photo 05-09-2024, 19 46 49.jpg","WSP JPEGs/Photo 05-09-2024, 20 08 25.jpg","WSP JPEGs/Photo 05-09-2024, 19 35 44.jpg"],"class":[],"theme":[],"name":"Canada Place (west prow)","decade":2020,"year":2024,"description":"September 5, 2024 (Thursday), 7:50 p.m.","soundfile":"20240905 7_50pm Canada Place northern tip downstairs.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.139596,49.275221]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 25-07-2024, 15 39 52.jpg"],"class":[],"theme":[],"name":"Burrard Civic Marina","decade":2020,"year":2024,"description":"July 25, 2024 (Thursday), 3:30 p.m.","soundfile":"20240725 3_30pm Burrard Civic Marina bench by office.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.1168,49.300684]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 26-07-2024, 12 01 09.jpg"],"class":[],"theme":[],"name":"Brockton Point","decade":2020,"year":2024,"description":"July 25, 2024 (Friday), 11:55 a.m.","soundfile":"20240726 11_55am Brockton Point Lighthouse OCanada Horn.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.138118,49.302807]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 10-10-2024, 07 38 17.jpg"],"class":[],"theme":[],"name":"Beaver Lake - dawn chorus","decade":2020,"year":2024,"description":"October 10, 2024 (Thursday), 7:30 a.m.","soundfile":"20241010 7_30am Beaver Lake dawn.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.13785,49.30288]","type":"Point"},"properties":{"images":["WSP JPEGs/Photo 26-07-2024, 12 28 10.jpg"],"class":[],"theme":[],"name":"Beaver Lake","decade":2020,"year":2024,"description":"July 26, 2024 (Friday), 12:27 p.m.","soundfile":"20240726 12_27pm Beaver Lake SE.WAV","source":"UBC Dept. of Geography ","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.24722772898555, 49.267498341532566]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"UBC Bus Loop","decade":1990,"year":1993,"description":"September 10, 1993 (Friday)","soundfile":"VDat6.9.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.24861336966944, 49.26308995134547]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Soundwalk: Mechanical Engineering Building","decade":1970,"year":1973,"description":"February 26, 1973 (Monday)","soundfile":"Van20B2.wav","source":"World Soundscapes Project","notes":"Soundwalk in and around the Mechanical Engineering Building on Applied Science Lane/East Mall"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.25361690268448, 49.26898325778196]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Buchanan Tower","decade":1970,"year":1973,"description":"February 6, 1973 (Tuesday)","soundfile":"Van19B2.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.25522454139445, 49.26689266281092]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Sedgewick Library (prior to re
21construction in 1997)","decade":1970,"year":1973,"description":"February 16, 1973 (Friday)","soundfile":"Van19A1.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.25517894384252, 49.266839280495645]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Sedgewick Library Study Carrels (prior to reconstruction in 1997)","decade":1990,"year":1993,"description":"September 10, 1993 (Friday)","soundfile":"VDat6.6.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.256520, 49.274032]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"UBC Tower Beach","decade":1970,"year":1973,"description":"March 21, 1973 (Wednesday)","soundfile":"Van71A1.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.259068, 49.269360]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"UBC Museum of Anthropology Interior","decade":1990,"year":1993,"description":"September 10, 1993 (Friday), 2:29 p.m.","soundfile":"VDat6.3.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.259668, 49.266487]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Nitobe Memorial Garden","decade":1970,"year":1973,"description":"March 21, 1973 (Wednesday)","soundfile":"Van70F10.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.259811, 49.266232]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Nitobe Memorial Garden","decade":1990,"year":1993,"description":"September 10, 1993 (Friday), 4:30 p.m.","soundfile":"VDat6.10.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.215702, 49.276725]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Spanish Banks Beach","decade":1990,"year":1993,"description":"September 9, 1993 (Thursday), 5:30 p.m.","soundfile":"VDat5.26.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.192755, 49.272174]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Jericho Beach","decade":1990,"year":1993,"description":"September 9, 1993 (Thursday), 5:03 p.m.","soundfile":"VDat5.25.wav","source":"World Soundscapes Project","notes":"On the beach, halfway between the walkway and the water, facing the water"}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.194958, 49.270954]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"Jericho Park Footbridge","decade":1990,"year":1993,"description":"September 9, 1993 (Thursday), 4:54 p.m.","soundfile":"VDat5.24.wav","source":"World Soundscapes Project","notes":""}},{"key":"","type":"Feature","geometry":{"coordinates":"[-123.25356605647873, 49.267363064651846]","type":"Point"},"properties":{"images":[],"class":[],"theme":[],"name":"UBC Clock Tower","decade":1990,"year":1993,"description":"September 10, 1993 (Friday), 2:55 p.m.","soundfile":"VDat6.5.wav","source":"World Soundscapes Project","notes":""}}]`);for(let i=0;i<Vu.length;i++)Vu[i].key=`sound-${i}`;async function Hp(){return new Promise(i=>{setTimeout(()=>i(Vu),500)})}function ol(i,s,r){if(!i)return[];const l={};for(const u of i){const d=s(u),f=Array.isArray(d)?d:[d];for(const m of f){const h=String(m);l[h]||(l[h]=0),l[h]++}}return Object.entries(l).map(([u,d])=>({key:u,label:r?r(u):u,count:d}))}function Fp(i){return i.replace(/ _/g," ").replace(/\b\w/g,s=>s.toUpperCase())}function Vp(i){return ol(i,s=>s.geometry.type,s=>s==="LineString"?"Soundwalk":s)}function qp(i){return ol(i,s=>s.properties.class,Fp)}function Qp(i){return ol(i,s=>s.properties.theme,Fp)}function Yp(i){return ol(i,s=>s.properties.decade)}function Jp(i){return ol(i,s=>s.properties.year)}function Wp(i){return ol(i,s=>s.properties.source).filter(s=>s.key!==""&&s.key!=="undefined")}const Xb="AIzaSyCBC1qED8q9serTUEOnNS813NLudHEx7TU",Kb=({searchIndex:i})=>{const[s,r]=v.useState(),[l,u]=v.useState(null),[d,f]=v.useState(null),[m,h]=v.useState(null),[g,b]=v.useState(null),[S,C]=v.useState(null),[j,T]=v.useState(null),[_,x]=v.useState(null),[w,A]=v.useState(!0),[O,P]=v.useState(""),[F,H]=v.useState(null),[B,K]=v.useState(!1);v.useEffect(()=>{Hp().then(ne=>r(ne)).catch(ne=>console.log(ne))},[]);const te=Pp(O,300);v.useEffect(()=>{if(!i||!te.trim()){H(null);return}try{const ne=i.search(te),Z=new Set(ne.map(ie=>ie.ref));
21H(Z)}catch(ne){console.error("Search error:",ne),H(new Set)}},[te,i]);const $=Gp(s,F,{decade:m,year:g,category:l,theme:d,type:S,source:j}),fe=v.useMemo(()=>qp($),[$]),ve=v.useMemo(()=>Qp($),[$]),Ae=v.useMemo(()=>Yp($),[$]),X=v.useMemo(()=>Vp($),[$]),ee=v.useMemo(()=>Jp($),[$]),N=v.useMemo(()=>Wp($),[$]),W=[m,g,S,l,d,j,O].filter(Boolean).length;return y.jsxs(tc,{solutionChannel:"GMP_devsite_samples_v3_rgmbasicmap",apiKey:Xb,children:[y.jsxs(Kr,{mapId:"54137f32133013763f6a2d7f",zoomControl:!0,mapTypeControl:!0,defaultZoom:12,defaultCenter:{lat:49.28,lng:-123.12},gestureHandling:"greedy",disableDefaultUI:!0,onClick:()=>x(null),children:[$&&y.jsx(Jb,{sounds:$,selectedSoundKey:_,onSoundSelect:x,clusteringEnabled:w}),y.jsx(Zb,{sounds:s,selectedSoundKey:_,onSoundSelect:x})]}),B&&y.jsx("div",{className:"filter-sheet-backdrop",onClick:()=>K(!1),"aria-hidden":"true"}),y.jsxs("button",{className:"filter-fab",onClick:()=>K(!0),"aria-label":`Filter sounds${W>0?` (${W} active)`:""}`,"aria-haspopup":"dialog",children:[y.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5","aria-hidden":"true",children:[y.jsx("line",{x1:"4",y1:"6",x2:"20",y2:"6"}),y.jsx("line",{x1:"8",y1:"12",x2:"16",y2:"12"}),y.jsx("line",{x1:"11",y1:"18",x2:"13",y2:"18"})]}),"Filters",W>0&&y.jsx("span",{className:"filter-fab-badge","aria-label":`${W} active`,children:W})]}),y.jsx(Bp,{categories:fe,themes:ve,decades:Ae,years:ee,types:X,sources:N,selectedCategory:l,selectedTheme:d,selectedDecade:m,selectedYear:g,selectedType:S,selectedSource:j,clusteringEnabled:w,onCategoryChange:u,onThemeChange:f,onDecadeChange:h,onYearChange:b,onTypeChange:C,onSourceChange:T,onClusteringToggle:A,searchQuery:O,onSearchChange:P,searchResultCount:$?.length,isSheetOpen:B,onClose:()=>K(!1)}),y.jsx(Wb,{})]})},Ib=()=>y.jsx("div",{className:"under-construction-banner",role:"alert","aria-live":"polite",children:y.jsxs("div",{className:"under-construction-content",children:[y.jsxs("svg",{className:"under-construction-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[y.jsx("path",{d:"M12 2L2 20h20L12 2z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),y.jsx("path",{d:"M12 9v4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),y.jsx("circle",{cx:"12",cy:"17",r:"0.5",fill:"currentColor"})]}),y.jsx("span",{className:"under-construction-text",children:"This page is currently under construction."})]})}),$b=(i,s=100)=>{const[r,l]=v.useState("");return v.useEffect(()=>{const u=new IntersectionObserver(d=>{d.forEach(f=>{f.isIntersecting&&l(f.target.id)})},{rootMargin:`-${s}px 0px -50% 0px`});return i.forEach(d=>{const f=document.getElementById(d);f&&u.observe(f)}),()=>u.disconnect()},[i,s]),r},Ym=[{id:"about-project",title:"About the Project",subsections:[{id:"overview",title:"Overview"},{id:"history",title:"History"}]},{id:"team",title:"Project Team",subsections:[{id:"team-members",title:"Team Members"},{id:"contact",title:"Contact"}]},{id:"technical",title:"Technical",subsections:[{id:"architecture",title:"Architecture"},{id:"data-sources",title:"Data Sources"},{id:"tech-stack",title:"Technology Stack"}]}],eS=()=>y.jsx("div",{className:"about-hero",children:y.jsx("div",{className:"about-hero-overlay",children:y.jsx("h1",{className:"about-hero-title",children:"About the Project"})})}),tS=({sections:i,activeSection:s,isMobileOpen:r,onToggleMobile:l})=>{const u=d=>{const f=document.getElementById(d);if(f){const h=f.getBoundingClientRect().top+window.scrollY-90;window.scrollTo({top:h,behavior:"smooth"}),r&&l()}};return y.jsxs(y.Fragment,{children:[y.jsx("button",{className:"about-mobile-toggle",onClick:l,"aria-label":"Toggle navigation menu",children:r?"✕":"☰"}),y.jsx("aside",{className:`about-sidebar ${r?"mobile-open":""}`,children:y.jsx("nav",{className:"about-nav","aria-label":"About page sections",children:i.map(d=>y.jsxs("div",{className:"about-nav-section",children:[y.jsx("button",{className:`about-nav-item about-nav-parent ${s===d.id?"active":""}`,onClick:()=>u(d.id),children:d.title}),d.subsections.length>0&&y.jsx("div",{className:"about-nav-children",children:d.subsections.map(f=>y.jsx("button",{className:`about-nav-item about-nav-child ${s===f.id?"active":""}`,onClick:()=>u(f.id),children:f.title},f.id))})]},d.id))})})]})},nS=()=>y.jsxs("main",{className:"about-main-content",children:[y.jsxs("section",{id:"about-project",className:"about-section",children:[y.jsx("h2",{className:"about-section-header",children:"About the Project"}),y.jsxs("div",{id:"overview",className:"about-subsection",children:[y.jsx("h3",{children:"Overview"}),y.jsx("p",{children:"Vancouver Soundscapes is an interactive map application of sound recordings from different locations and time periods across Vancouver."}),y.jsx("p",{children:"The application provides an intuitive interface for exploring Vancouver's acoustic history, allowing users to explore sounds by location, time period, and thematic categories."})]}),y.jsxs("div",{id:"history",className:"about-subsection",children:[y.jsx("h3",{children:"History"}
21),y.jsxs("p",{children:["The project was inspired by the"," ",y.jsx("a",{href:"https://www.sfu.ca/~truax/wsp.html",target:"_blank",rel:"noopener noreferrer",children:"World Soundscapes Project"}),", led by R. Murray Schafer and Barry Truax at Simon Fraser University. Many of the sounds present on the map come from this original project."]}),y.jsxs("p",{children:[`An interview with Barry Truax about the World Soundscapes Project was conducted by CBC Radio's "On the Coast" with Gloria Macarenko.`," ",y.jsx("a",{href:"https://www.cbc.ca/player/play/audio/9.7035933",target:"_blank",rel:"noopener noreferrer",children:"Listen to the interview on CBC"}),"."]})]})]}),y.jsxs("section",{id:"team",className:"about-section",children:[y.jsx("h2",{className:"about-section-header",children:"Project Team"}),y.jsxs("div",{id:"team-members",className:"about-subsection",children:[y.jsx("h3",{children:"Team Members"}),y.jsx("p",{children:y.jsx("strong",{children:"Michele Koppes"})}),y.jsx("p",{children:y.jsx("strong",{children:"Siobhán Wittig McPhee"})})]}),y.jsxs("div",{id:"contact",className:"about-subsection",children:[y.jsx("h3",{children:"Contact"}),y.jsx("p",{children:"Problems with the website? Let us know."}),y.jsxs("p",{children:[y.jsx("strong",{children:"Email:"})," ",y.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),y.jsx("p",{children:"Interested in contributing to the project?"}),y.jsxs("p",{children:[y.jsx("strong",{children:"Submit a Sound:"})," Visit our ",y.jsx("a",{href:"/request",children:"sound submission page"})," ","to contribute recordings to the project."]})]})]}),y.jsxs("section",{id:"technical",className:"about-section",children:[y.jsx("h2",{className:"about-section-header",children:"Technical"}),y.jsxs("div",{id:"architecture",className:"about-subsection",children:[y.jsx("h3",{children:"Architecture"}),y.jsx("p",{children:"Vancouver Soundscapes is a client-side React application built with TypeScript that provides an interactive map-based interface for exploring sounds recordings around Vancouver. The application follows a component-based architecture."}),y.jsx("p",{children:"Key architectural features include client-side search with Lunr.js for fast full-text search without requiring a backend, marker clustering for optimized map performance, and URL-based state management for shareable links to specific sounds."}),y.jsxs("p",{children:["For detailed technical documentation, including data flow, component structure, and development guidelines, visit the"," ",y.jsx("a",{href:"https://github.com/saradeutscher/vancouver-soundscapes/",target:"_blank",rel:"noopener noreferrer",children:"GitHub page for the project"}),"."]})]}),y.jsxs("div",{id:"data-sources",className:"about-subsection",children:[y.jsx("h3",{children:"Data Sources"}),y.jsx("p",{children:"Sound recordings are stored in a GeoJSON-format dataset that includes geographic coordinates, temporal metadata, and audio file references for each recording. Some recordings also have theme/class coding and images. Audio files and images are hosted in cloud storage through the Digital Research Alliance of Canada."}),y.jsx("p",{children:"The dataset will be updated periodically with new sound recordings as they are collected and reviewed."})]}),y.jsxs("div",{id:"tech-stack",className:"about-subsection",children:[y.jsx("h3",{children:"Technology Stack"}),y.jsx("p",{children:y.jsx("strong",{children:"Core Technologies:"})}),y.jsxs("ul",{children:[y.jsxs("li",{children:[y.jsx("strong",{children:"React 19"})," - UI library for building interactive components"]}),y.jsxs("li",{children:[y.jsx("strong",{children:"TypeScript"})," - Type-safe JavaScript"]}),y.jsxs("li",{children:[y.jsx("strong",{children:"Vite"})," - Web development tool"]}),y.jsxs("li",{children:[y.jsx("strong",{children:"React Router"})," - Client-side routing for navigation"]})]}),y.jsx("p",{children:y.jsx("strong",{children:"Mapping & Visualization:"})}),y.jsxs("ul",{children:[y.jsxs("li",{children:[y.jsx("strong",{children:"Google Maps API"})," - Interactive mapping platform"]}),y.jsxs("li",{children:[y.jsx("strong",{children:"@vis.gl/react-google-maps"})," - React wrapper for Google Maps"]}),y.jsxs("li",{children:[y.jsx("strong",{children:"@googlemaps/markerclusterer"})," - Marker clustering"]})]}),y.jsx("p",{children:y.jsx("strong",{children:"Search:"})}),y.jsx("ul",{children:y.jsxs("li",{children:[y.jsx("strong",{children:"Lunr.js"})," - Client-side full-text search indexing"]})}),y.jsx("p",{children:y.jsx("strong",{children:"Development Tools:"})}),y.jsxs("ul",{children:[y.jsxs("li",{children:[y.jsx("strong",{children:"ESLint"})," - Code quality and style enforcement"]}),y.jsxs("li",{children:[y.jsx("strong",{children:"Prettier"})," - Code formatting"]}),y.jsxs("li",{children:[y.jsx("strong",{children:"Stylelint"})," - CSS linting"]})]})]})]})]}),aS=()=>{const[i,s]=v.useState(!1),r=v.useMemo(()=>{const d=[];return Ym.forEach(f=>{d.push(f.id),f.subsections.forEach(m=>d.push(m.id))}),d},[]),l=$b(r,100),u=v.useCallback(()=>{s(d=>!d)},[]);return y.jsxs("div",{className:"about-page-new",children:[y.jsx(eS,{}),y.jsx(Ib,{}),y.jsxs("div",{className:"about-container",children:[y.jsx(tS,{sections:Ym,activeSection:l,isMobileOpen:i,onToggleMobile:u}),y.jsx(nS,{})]})]})},lS="AIzaSyCBC1qED8q9serTUEOnNS813NLudHEx7TU",iS=({sounds:i})=>{const{id:s}=y1(),r=Zr(),[l,u]=v.useState(null),d=v.useMemo(()=>i?.find(h=>h.key===s),[i,s]),f=v.useCallback(()=>{r(d?`/?soundId=${d.key}`:"/")},[r,d]);if(!d)return y.jsxs("div",{className:"sound-detail-error",children:[y.jsx("h2",{children:"Sound not found"}),y.jsx("button",{onClick:()=>r("/sounds"),children:"Back to Sounds"})]});const m=Hb(d);return y.jsxs("div",{className:"sound-detail-page",children:[y.jsxs("div",{className:"sound-detail-header",children:[y.jsxs("div",{style:{display:"flex",gap:"10px"},children:[y.jsx("button",{className:"back-button",onClick:()=>r("/sounds"),children:"← Back to List"}),y.jsx("button",{className:"back-button",onClick:f,children:"View on Main Map"})]}),y.jsx("h1",{children:d.properties.name}),y.jsx(ci,{sound:d,showDecade:!0,showClass:!1,showTheme:!1,showType:!0}),y.jsx("div",{className:"sound-description-section",children:y.jsx("p",{children:d.properties.description})})]}),y.jsxs("div",{className:"sound-detail-content",children:[y.jsxs("div",{className:"sound-detail-col1",children:[y.jsx("div",{className:"sound-detail-map-section",children:y.jsx(tc,{apiKey:lS,children:y.jsx(Kr,{mapId:"54137f32133013763f6a2d7f",defaultZoom:15,defaultCenter:m,gestureHandling:"greedy",style:{width:"100%",height:"400px"},children:y.jsx(Lp,{sound:d,onClick:()=>u(d.key),setMarkerRef:()=>{},isSelected:l===d.key,hoverId:null})})})}),d.geometry.type==="LineString"&&y.jsx("p",{className:"soundwalk-hint",style:{"--decade-color":hi(d.properties.decade)},children:"Click the marker to view the soundwalk path"}),d.properties.theme.length>0&&y.jsxs("div",{className:"sound-themes-section",children:[y.jsx("h3",{children:"Themes"}),y.jsx(ci,{sound:d,showDecade:!1,showClass:!1,showTheme:!0,showType:!1})]}),d.properties.class.length>0&&y.jsxs("div",{className:"sound-themes-section",children:[y.jsx("h3",{children:"Class"}),y.jsx(ci,{sound:d,showDecade:!1,showClass:!0,showTheme:!1,showType:!1})]}),d.properties.source&&y.jsxs("div",{className:"sound-themes-section",children:[y.jsx("h3",{children:"Source"}),y.jsx("span",{className:"metadata-badge provenance-badge",children:d.properties.source})]})]}),y.jsxs("div",{className:"sound-detail-info-section",children:[y.jsxs("div",{className:"sound-audio-section",children:[y.jsx("h3",{children:"Listen"}),y.jsx(zp,{soundfile:d.properties.soundfile})]}),d.properties.images.length>0&&y.jsxs("div",{className:"sound-gallery-section",children:[y.jsx("h3",{children:"Images"}),y.jsx(Up,{images:d.properties.images,enableLightbox:!0})]})]})]})]})},Jm="AIzaSyCBC1qED8q9serTUEOnNS813NLudHEx7TU",rS=({sound:i,width:s=300,height:r=200,zoom:l=14})=>{const d=hi(i.properties.decade).replace("#","0x");let f;if(i.geometry.type==="Point"){const{lat:m,lng:h}=da(i.geometry.coordinates);
21f=`https://maps.googleapis.com/maps/api/staticmap?center=${m},${h}&zoom=${l}&size=${s}x${r}&markers=color:${d}|${m},${h}&key=${Jm}`}else{const{line:m}=Np(i.geometry.coordinates),h=m.map(([g,b])=>`${g},${b}`).join("|");f=`https://maps.googleapis.com/maps/api/staticmap?path=color:${d}|weight:4|${h}&size=${s}x${r}&key=${Jm}`}return y.jsx("img",{src:f,alt:`Map of ${i.properties.name}`,className:"static-map-image",loading:"lazy"})},sS=({sound:i})=>y.jsxs(ec,{to:`/sounds/${i.key}`,className:"sound-card-v2",style:{textDecoration:"none",color:"inherit"},children:[y.jsx("div",{className:"sound-card-image-container",children:i.properties.images.length>0?y.jsx("img",{src:nl(i.properties.images[0]),alt:i.properties.name,className:"sound-card-image",loading:"lazy"}):y.jsx(rS,{sound:i,width:300,height:200,zoom:14})}),y.jsxs("div",{className:"sound-card-content",children:[y.jsx("h3",{className:"sound-card-title",children:i.properties.name}),y.jsx(ci,{sound:i,showDecade:!0,showClass:!1,showTheme:!1,showType:!0,showProvenance:!0}),y.jsx("p",{className:"sound-card-description",children:i.properties.description.length>120?i.properties.description.substring(0,120)+"...":i.properties.description})]})]}),oS=({sounds:i,searchIndex:s})=>{const[r,l]=v.useState(""),[u,d]=v.useState(null),[f,m]=v.useState(null),[h,g]=v.useState(null),[b,S]=v.useState(null),[C,j]=v.useState(null),[T,_]=v.useState(null),[x,w]=v.useState(null),A=Pp(r,300);v.useEffect(()=>{if(!s||!A.trim()){d(null);return}try{const $=s.search(A),fe=new Set($.map(ve=>ve.ref));d(fe)}catch($){console.error("Search error:",$),d(new Set)}},[A,s]);const O=Gp(i,u,{decade:b,year:C,category:f,theme:h,type:T,source:x}),P=v.useMemo(()=>qp(O),[O]),F=v.useMemo(()=>Qp(O),[O]),H=v.useMemo(()=>Yp(O),[O]),B=v.useMemo(()=>Jp(O),[O]),K=v.useMemo(()=>Vp(O),[O]),te=v.useMemo(()=>Wp(O),[O]);return y.jsxs("div",{className:"sounds-page",children:[y.jsxs("div",{className:"sounds-page-header",children:[y.jsx("h2",{id:"sounds-page-title",children:"Sound List"}),y.jsx(Bp,{categories:P,themes:F,decades:H,years:B,types:K,sources:te,selectedCategory:f,selectedTheme:h,selectedDecade:b,selectedYear:C,selectedType:T,selectedSource:x,clusteringEnabled:!1,onCategoryChange:m,onThemeChange:g,onDecadeChange:S,onYearChange:j,onTypeChange:_,onSourceChange:w,onClusteringToggle:()=>{},searchQuery:r,onSearchChange:l,searchResultCount:O.length,hideClusteringToggle:!0,title:"Filter Sounds",description:"",hideMinimizeButton:!0})]}),y.jsx("div",{className:"sounds-grid",children:O.length===0?y.jsx("p",{className:"no-results",children:"No sounds found matching your filters."}):O.map($=>y.jsx(sS,{sound:$},$.key))})]})},uS=["audio/mpeg","audio/wav","audio/x-wav","audio/mp4","audio/x-m4a"],cS=["image/jpeg","image/png","image/webp"],Wm=[".mp3",".wav",".m4a"],Zm=[".jpg",".jpeg",".png",".webp"];function dS(i,s){if(!i)return{valid:!1,error:"No file selected"};if(!Zp(i,uS))return{valid:!1,error:"Please upload an audio file (.mp3, .wav, or .m4a)"};const r=Xp(i.name);if(!Wm.includes(r))return{valid:!1,error:`Invalid audio file extension: ${r}. Please use ${Wm.join(", ")}`};const l=s*1024*1024;return i.size>l?{valid:!1,error:`Audio file must be under ${s}MB. Current size: ${Ir(i.size)}`}:{valid:!0}}function fS(i,s){if(!i)return{valid:!1,error:"No file selected"};if(!Zp(i,cS))return{valid:!1,error:"Please upload an image file (.jpg, .png, or .webp)"};const r=Xp(i.name);if(!Zm.includes(r))return{valid:!1,error:`Invalid image file extension: ${r}. Please use ${Zm.join(", ")}`};const l=s*1024*1024;return i.size>l?{valid:!1,error:`Image file must be under ${s}MB. Current size: ${Ir(i.size)}`}:{valid:!0}}function Zp(i,s){return s.includes(i.type)}function Xp(i){const s=i.lastIndexOf(".");return s===-1?"":i.slice(s).toLowerCase()}function Ir(i){if(i===0)return"0 Bytes";const s=1024,r=["Bytes","KB","MB","GB"],l=Math.floor(Math.log(i)/Math.log(s));return`${parseFloat((i/Math.pow(s,l)).toFixed(2))} ${r[l]}`}const hS=({accept:i,maxSize:s,onFileSelect:r,error:l,disabled:u=!1})=>{const[d,f]=v.useState(!1),[m,h]=v.useState(null),g=v.useRef(null),b=v.useCallback(P=>{h(P),r(P)},[r]),S=P=>{const F=P.target.files?.[0]||null;b(F)},C=P=>{P.preventDefault(),P.stopPropagation(),u||f(!0)},j=P=>{P.preventDefault(),P.stopPropagation(),f(!1)},T=P=>{P.preventDefault(),P.stopPropagation()},_=P=>{if(P.preventDefault(),P.stopPropagation(),f(!1),u)return;const F=P.dataTransfer.files?.[0]||null;b(F)},x=()=>{u||g.current?.click()},w=P=>{P.stopPropagation(),b(null),g.current&&(g.current.value="")},A=P=>{(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),x())},O=i.split(",").join(", ");return y.jsxs("div",{className:"file-upload-container",children:[y.jsxs("div",{className:`file-upload-zone ${d?"drag-active":""} ${m?"has-file":""} ${u?"disabled":""}`,onClick:x,onDragEnter:C,onDragLeave:j,onDragOver:T,onDrop:_,onKeyDown:A,role:"button",tabIndex:u?-1:0,"aria-label":m?`Selected file: ${m.name}`:"Upload file","aria-disabled":u,children:[y.jsx("input",{ref:g,type:"file",accept:i,onChange:S,style:{display:"none"},disabled:u,"aria-label":"File input"}),m?y.jsxs("div",{className:"file-preview",children:[y.jsxs("svg",{className:"file-icon",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[y.jsx("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}),y.jsx("polyline",{points:"13 2 13 9 20 9"})]}),y.jsxs("div",{className:"file-info",children:[y.jsx("p",{className:"file-name",children:m.name}),y.jsx("p",{className:"file-size",children:Ir(m.size)})]}),y.jsx("button",{type:"button",onClick:w,className:"file-remove-btn","aria-label":"Remove file",disabled:u,children:"×"})]}):y.jsxs("div",{className:"file-upload-prompt",children:[y.jsxs("svg",{className:"file-upload-icon",width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[y.jsx("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),y.jsx("polyline",{points:"17 8 12 3 7 8"}),y.jsx("line",{x1:"12",y1:"3",x2:"12",y2:"15"})]}),y.jsxs("p",{className:"file-upload-text",children:[y.jsx("strong",{children:"Click to upload"})," or drag and drop"]}),y.jsxs("p",{className:"file-upload-hint",children:[O," (max ",s,"MB)"]})]})]}),l&&y.jsx("p",{className:"file-upload-error",children:l})]})};async function Xm(i){return new Promise((s,r)=>{const l=new FileReader;l.onload=()=>{const d=l.result.split(",")[1];s(d)},l.onerror=()=>{r(new Error("Failed to read file"))}
21,l.readAsDataURL(i)})}async function mS(i){return new Promise((s,r)=>{const l=new FileReader;l.onload=()=>{s(l.result)},l.onerror=()=>{r(new Error("Failed to read file"))},l.readAsDataURL(i)})}const pS=({accept:i,maxSize:s,maxFiles:r,onFilesChange:l,error:u,disabled:d=!1})=>{const[f,m]=v.useState(!1),[h,g]=v.useState([]),b=v.useRef(null),S=v.useCallback(async B=>{const K=[];for(const te of B)try{const $=await mS(te);K.push({file:te,preview:$})}catch($){console.error("Failed to generate preview:",$)}return K},[]),C=v.useCallback(async B=>{const K=await S(B);g(K),l(B)},[S,l]),j=async B=>{const te=Array.from(B.target.files||[]).slice(0,r);await C(te)},T=B=>{B.preventDefault(),B.stopPropagation(),d||m(!0)},_=B=>{B.preventDefault(),B.stopPropagation(),m(!1)},x=B=>{B.preventDefault(),B.stopPropagation()},w=async B=>{if(B.preventDefault(),B.stopPropagation(),m(!1),d)return;const te=Array.from(B.dataTransfer.files).slice(0,r);await C(te)},A=()=>{!d&&h.length<r&&b.current?.click()},O=async B=>{const K=h.filter((te,$)=>$!==B);g(K),l(K.map(te=>te.file)),b.current&&(b.current.value="")},P=B=>{(B.key==="Enter"||B.key===" ")&&(B.preventDefault(),A())};v.useEffect(()=>()=>{h.forEach(({preview:B})=>{B.startsWith("blob:")&&URL.revokeObjectURL(B)})},[h]);const F=i.split(",").join(", "),H=h.length<r;return y.jsxs("div",{className:"multi-image-upload-container",children:[h.length>0&&y.jsxs("div",{className:"image-upload-grid",children:[h.map((B,K)=>y.jsxs("div",{className:"image-upload-thumbnail",children:[y.jsx("img",{src:B.preview,alt:`Preview ${K+1}`}),y.jsxs("div",{className:"image-thumbnail-info",children:[y.jsx("p",{className:"image-thumbnail-name",children:B.file.name}),y.jsx("p",{className:"image-thumbnail-size",children:Ir(B.file.size)})]}),y.jsx("button",{type:"button",onClick:()=>O(K),className:"image-remove-btn","aria-label":`Remove image ${K+1}`,disabled:d,children:"×"})]},K)),H&&y.jsxs("div",{className:`image-upload-add-more ${f?"drag-active":""} ${d?"disabled":""}`,onClick:A,onDragEnter:T,onDragLeave:_,onDragOver:x,onDrop:w,onKeyDown:P,role:"button",tabIndex:d?-1:0,"aria-label":"Add more images","aria-disabled":d,children:[y.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[y.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),y.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]}),y.jsx("p",{children:"Add more"})]})]}),h.length===0&&y.jsx("div",{className:`file-upload-zone ${f?"drag-active":""} ${d?"disabled":""}`,onClick:A,onDragEnter:T,onDragLeave:_,onDragOver:x,onDrop:w,onKeyDown:P,role:"button",tabIndex:d?-1:0,"aria-label":"Upload images","aria-disabled":d,children:y.jsxs("div",{className:"file-upload-prompt",children:[y.jsxs("svg",{className:"file-upload-icon",width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[y.jsx("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),y.jsx("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),y.jsx("polyline",{points:"21 15 16 10 5 21"})]}),y.jsxs("p",{className:"file-upload-text",children:[y.jsx("strong",{children:"Click to upload"})," or drag and drop"]}),y.jsxs("p",{className:"file-upload-hint",children:[F," (max ",r," images, ",s,"MB each)"]})]})}),y.jsx("input",{ref:b,type:"file",accept:i,onChange:j,multiple:!0,style:{display:"none"},disabled:d,"aria-label":"Image file input"}),h.length>0&&y.jsxs("p",{className:"image-count-text",children:[h.length," of ",r," images selected"]}),u&&y.jsx("p",{className:"file-upload-error",children:u})]})},yS=({isUploading:i,uploadingFiles:s,error:r})=>{if(!i)return null;const l=s.filter(u=>!!u);return y.jsx("div",{className:"upload-progress-overlay",role:"dialog","aria-modal":"true","aria-labelledby":"upload-progress-title",children:y.jsx("div",{className:"upload-progress-content",children:r?y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"upload-error-icon","aria-label":"Upload failed",children:y.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[y.jsx("circle",{cx:"12",cy:"12",r:"10"}),y.jsx("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),y.jsx("line",{x1:"9",y1:"9",x2:"15",y2:"15"})]})}),y.jsx("h3",{id:"upload-progress-title",style:{marginTop:"1rem",color:"var(--color-error)"},children:"Upload Failed"}),y.jsx("p",{className:"upload-error-message",children:r})]}):y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"upload-spinner","aria-label":"Uploading files"}),y.jsx("h3",{id:"upload-progress-title",style:{marginTop:"1rem",marginBottom:"0.5rem"},children:"Uploading Files..."}),l.length>0&&y.jsx("div",{className:"upload-file-list",children:l.map((u,d)=>y.jsx("p",{className:"upload-file-name",children:u},d))}),y.jsx("p",{className:"upload-progress-message",children:"Please wait, this may take a moment for large files."})]})})})}
21,gS="AIzaSyCBC1qED8q9serTUEOnNS813NLudHEx7TU",vS=({mode:i="single",onLocationSelect:s,onPathSelect:r,initialLat:l=49.2827,initialLng:u=-123.1207,initialPath:d=[]})=>{const[f,m]=v.useState({lat:l,lng:u}),[h,g]=v.useState(d),b=v.useCallback(w=>{if(w.detail&&w.detail.latLng){const A=w.detail.latLng.lat,O=w.detail.latLng.lng;i==="path"?g(P=>[...P,{lat:A,lng:O}]):m({lat:A,lng:O})}},[i]),S=v.useCallback(()=>{g(w=>w.slice(0,-1))},[]),C=v.useCallback(()=>{g([])},[]),j=v.useCallback(w=>{g(A=>A.filter((O,P)=>P!==w))},[]),T=()=>{i==="path"&&r?r(h):s&&s(f.lat,f.lng)},_=(w,A)=>w===0?"#10b981":w===A-1?"#ef4444":"#3b82f6",x=i==="path"?h.length<2:!1;return y.jsxs("div",{className:"map-picker",children:[y.jsx(tc,{apiKey:gS,children:y.jsx(Kr,{mapId:"54137f32133013763f6a2d7f",style:{width:"100%",height:"400px"},defaultCenter:i==="path"&&h.length>0?h[0]:f,defaultZoom:12,gestureHandling:"greedy",disableDefaultUI:!1,onClick:b,children:i==="single"?y.jsx(Yr,{position:f}):y.jsxs(y.Fragment,{children:[h.map((w,A)=>y.jsx(Yr,{position:w,children:y.jsx(wp,{background:_(A,h.length),glyphColor:"#ffffff",borderColor:"#ffffff",children:y.jsx("span",{style:{fontSize:"12px",fontWeight:"bold"},children:A+1})})},A)),h.length>1&&y.jsx(Rp,{path:h})]})})}),y.jsxs("div",{className:"map-picker-controls",children:[i==="single"?y.jsxs("p",{children:["Selected: ",f.lat.toFixed(6),", ",f.lng.toFixed(6)]}):y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"path-controls",children:[y.jsx("div",{className:"path-counter",children:y.jsxs("span",{className:"point-count-badge",children:[h.length," points"]})}),y.jsx("button",{type:"button",onClick:S,disabled:h.length===0,className:"path-control-btn",children:"Undo Last Point"}),y.jsx("button",{type:"button",onClick:C,disabled:h.length===0,className:"path-control-btn",children:"Clear Path"})]}),h.length>0&&y.jsxs("div",{className:"path-info",children:[y.jsx("h4",{children:"Path Points:"}),y.jsx("ul",{className:"path-points-list",children:h.map((w,A)=>y.jsxs("li",{children:[y.jsxs("span",{children:[A+1,". ",w.lat.toFixed(6),", ",w.lng.toFixed(6)]}),y.jsx("button",{type:"button",onClick:()=>j(A),className:"delete-point-btn","aria-label":`Delete point ${A+1}`,children:"×"})]},A))})]}),h.length<2&&y.jsx("p",{className:"path-hint",children:"Click on the map to add points (minimum 2 required)"})]}),y.jsx("button",{type:"button",onClick:T,disabled:x,className:"confirm-location-btn",children:i==="path"?"Confirm Path":"Confirm Location"})]})]})},bS="https://script.google.com/macros/s/AKfycbw0_cAgstqCab5zZ_qp4V5jUcagZtfIj2Kx4dN4vsAtmZNYlKnFkb1jZoxGF4h94_vt1Q/exec";function SS(i){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i)}const ES=()=>{const[i,s]=v.useState({name:"",description:new Date().toISOString().slice(0,16),audioLink:"",coordinates:"",locationType:"Point",year:2026,categories:[],themes:[],notes:"",imageLinks:"",submitterName:"",submitterEmail:""}),[r,l]=v.useState([]),[u,d]=v.useState({}),[f,m]=v.useState(!1),[h,g]=v.useState(!1),[b,S]=v.useState("Point"),[C,j]=v.useState(!1),[T,_]=v.useState(null),[x,w]=v.useState([]),[A,O]=v.useState(!1),[P,F]=v.useState(""),H=(X,ee)=>{s(N=>({...N,[X]:ee})),u[X]&&d(N=>{const W={...N};return delete W[X],W})},B=(X,ee)=>{const N=Fb(X,ee);s(W=>({...W,coordinates:N})),l([])},K=X=>{const ee=Vb(X);s(N=>({...N,coordinates:ee})),l(X)},te=X=>{i.coordinates&&X!==i.locationType?(S(X),g(!0)):s(ee=>({...ee,locationType:X}))},$=()=>{s(X=>({...X,locationType:b,coordinates:""})),l([]),g(!1)},fe=()=>{s(X=>({...X,coordinates:""})),l([])},ve=()=>{const X={};if(i.name.trim()||(X.name="Sound name is required"),(!i.description.trim()||i.description.length<10)&&(X.description="Date is required"),T||(X.audioFile="Audio recording is required"),T){const ee=dS(T,50);ee.valid||(X.audioFile=ee.error||"Invalid audio file")}if(x.length>0)for(const ee of x){const N=fS(ee,10);if(!N.valid){X.imageFiles=`${ee.name}: ${N.error||"Invalid image file"}`;break}}if(!i.coordinates)X.location="Location is required";else try{if(i.locationType==="Point"){const{lat:ee,lng:N}=da(i.coordinates);Qm(ee,N)||(X.location="Invalid coordinates")}else{const ee=qb(i.coordinates);ee.length<2?X.location="Path must have at least 2 points":ee.length>50?X.location="Path cannot exceed 50 points":ee.find(W=>!Qm(W.lat,W.lng))&&(X.location="One or more path points have invalid coordinates")}}catch{X.location="Invalid coordinate format"}return i.submitterEmail.trim()&&!SS(i.submitterEmail)&&(X.submitterEmail="Please enter a valid email"),C||(X.agreement="You must agree to the submission terms"),d(X),Object.keys(X).length===0},Ae=async X=>{if(X.preventDefault(),!!ve()){m(!0),O(!0),F("");try{const ee={name:i.name,description:i.description,year:i.year,locationType:i.locationType,coordinates:i.coordinates,categories:i.categories,themes:i.themes,notes:i.notes,submitterName:i.submitterName,submitterEmail:i.submitterEmail,audioLink:i.audioLink,imageLinks:i.imageLinks};if(T){const N=await Xm(T);ee.audioFileData={fileName:T.name,base64Data:N,mimeType:T.type,size:T.size}}if(x.length>0){const N=await Promise.all(x.map(W=>Xm(W)));ee.imageFilesData=x.map((W,ne)=>({fileName:W.name,base64Data:N[ne],mimeType:W.type,size:W.size}))}await fetch(bS,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(ee)}
21),console.log("Form submitted successfully"),alert("Thank you! Your submission has been received and will be reviewed shortly."),s({name:"",description:"",audioLink:"",coordinates:"",locationType:"Point",year:new Date().getFullYear(),categories:[],themes:[],notes:"",imageLinks:"",submitterName:"",submitterEmail:""}),l([]),_(null),w([]),j(!1)}catch(ee){console.error("Submission error:",ee);const N="There was an error submitting your recording. Please try again or contact us directly.";F(N),alert(N)}finally{m(!1),O(!1)}}};return y.jsxs("div",{className:"submit-page",children:[y.jsxs("div",{className:"submit-header",children:[y.jsx("h1",{children:"Submit a Sound Recording"}),y.jsx("p",{children:"Fill out the form below to submit a recording to be considered as an addition to the map."})]}),!1,y.jsxs("form",{className:"submit-form",onSubmit:Ae,children:[y.jsxs("div",{className:"form-section",children:[y.jsx("h2",{children:"Sound Information"}),y.jsxs("div",{className:"form-field",children:[y.jsx("label",{htmlFor:"name",children:"Sound Name *"}),y.jsx("input",{type:"text",id:"name",value:i.name,onChange:X=>H("name",X.target.value),placeholder:"e.g., Stanley Park Railway",required:!0}),u.name&&y.jsx("span",{className:"error",children:u.name})]}),y.jsxs("div",{className:"form-field",children:[y.jsx("label",{htmlFor:"description-date",children:"Date *"}),y.jsx("input",{type:"date",id:"description-date",value:i.description.slice(0,10),onChange:X=>{const ee=X.target.value,N=i.description.slice(11,16)||"12:00";H("description",`${ee}T${N}`)},required:!0}),u.description&&y.jsx("span",{className:"error",children:u.description})]}),y.jsxs("div",{className:"form-field",children:[y.jsx("label",{htmlFor:"description-time",children:"Time (Optional)"}),y.jsx("input",{type:"time",id:"description-time",value:i.description.slice(11,16)||"",onChange:X=>{const ee=i.description.slice(0,10),N=X.target.value||"12:00";H("description",`${ee}T${N}`)}}),y.jsx("p",{className:"field-hint",children:"Leave blank if you don't know the exact time of the recording"})]}),y.jsxs("div",{className:"form-field",children:[y.jsx("label",{htmlFor:"audio-upload",children:"Audio Recording *"}),y.jsx(hS,{accept:".mp3,.wav,.m4a",maxSize:50,onFileSelect:_,error:u.audioFile,disabled:A})]})]}),y.jsxs("div",{className:"form-section",children:[y.jsx("h2",{children:"Location *"}),y.jsxs("div",{className:"form-field",children:[y.jsx("label",{htmlFor:"locationType",children:"Recording Type"}),y.jsxs("select",{id:"locationType",value:i.locationType,onChange:X=>te(X.target.value),children:[y.jsx("option",{value:"Point",children:"Point (Single Location)"}),y.jsx("option",{value:"LineString",children:"Soundwalk (Multiple Points)"})]}),y.jsx("p",{className:"field-hint",children:'Select "Point" for a recording at one location, or "Soundwalk" for a recording along a path.'})]}),i.locationType==="LineString"&&y.jsx("div",{className:"path-instructions",children:"Click multiple points on the map to create a walking path. Add at least 2 points to represent your soundwalk route."}),i.coordinates&&y.jsxs("div",{className:"selected-location",children:[y.jsx("div",{className:"selected-location-info",children:i.locationType==="Point"?y.jsxs(y.Fragment,{children:[y.jsx("strong",{children:"Location:"})," ",(()=>{const{lat:X,lng:ee}=da(i.coordinates);return`${X.toFixed(6)}, ${ee.toFixed(6)}`})()]}):y.jsxs(y.Fragment,{children:[y.jsx("strong",{children:"Path:"})," ",r.length," points"]})}),y.jsx("button",{type:"button",onClick:fe,className:"clear-location-btn",children:"Clear"})]}),y.jsx(vS,{mode:i.locationType==="Point"?"single":"path",onLocationSelect:B,onPathSelect:K,initialLat:i.coordinates&&i.locationType==="Point"?da(i.coordinates).lat:void 0,initialLng:i.coordinates&&i.locationType==="Point"?da(i.coordinates).lng:void 0,initialPath:i.coordinates&&i.locationType==="LineString"?r:void 0}),u.location&&y.jsx("span",{className:"error",children:u.location})]}),y.jsxs("div",{className:"form-section",children:[y.jsx("h2",{children:"Classification (Optional)"}),y.jsxs("fieldset",{className:"form-field",children:[y.jsx("legend",{children:"Class"}),y.jsx("div",{className:"checkbox-group",children:["features","ambience","soundwalk","events","scenes","dialogue"].map(X=>y.jsxs("label",{className:"checkbox-label",children:[y.jsx("input",{type:"checkbox",value:X,checked:i.categories.includes(X),onChange:ee=>{const N=ee.target.checked?[...i.categories,X]:i.categories.filter(W=>W!==X);H("categories",N)}}),X]},X))})]}),y.jsxs("fieldset",{className:"form-field",children:[y.jsx("legend",{children:"Themes"}),y.jsx("div",{className:"checkbox-group",children:["nature","cityscape","transport","tourism","people","festivals","events","industrial","culture","commerce","sports"].map(X=>y.jsxs("label",{className:"checkbox-label",children:[y.jsx("input",{type:"checkbox",value:X,checked:i.themes.includes(X),onChange:ee=>{const N=ee.target.checked?[...i.themes,X]:i.themes.filter(W=>W!==X);H("themes",N)}}),X]},X))})]})]}),y.jsxs("div",{className:"form-section",children:[y.jsx("h2",{children:"Additional Details (Optional)"}),y.jsxs("div",{className:"form-field",children:[y.jsx("label",{htmlFor:"notes",children:"Recording Notes"}),y.jsx("textarea",{id:"notes",value:i.notes,onChange:X=>H("notes",X.target.value),rows:4,placeholder:"Optionally describe what you hear in the recording, environmental conditions, notable sound events, etc."})]}),y.jsxs("div",{className:"form-field",children:[y.jsx("label",{htmlFor:"image-upload",children:"Images"}),y.jsx(pS,{accept:".jpg,.jpeg,.png,.webp",maxSize:10,maxFiles:5,onFilesChange:w,error:u.imageFiles,disabled:A})]})]}),y.jsxs("div",{className:"form-section",children:[y.jsx("h2",{children:"Your Information (Optional)"}),y.jsxs("div",{className:"form-field",children:[y.jsx("label",{htmlFor:"submitterName",children:"Your Name"}),y.jsx("input",{type:"text",id:"submitterName",value:i.submitterName,onChange:X=>H("submitterName",X.target.value),placeholder:"Optional"})]}),y.jsxs("div",{className:"form-field",children:[y.jsx("label",{htmlFor:"submitterEmail",children:"Your Email"}),y.jsx("input",{type:"email",id:"submitterEmail",value:i.submitterEmail,onChange:X=>H("submitterEmail",X.target.value),placeholder:"[email protected]"}),u.submitterEmail&&y.jsx("span",{className:"error",children:u.submitterEmail}),y.jsx("p",{className:"field-hint",children:"This will be used to contact you about your submission if there are any issues or questions."})]})]}),y.jsxs("div",{className:"form-section",children:[y.jsx("h2",{children:"Submission Terms *"}),y.jsxs("div",{className:"submission-agreement",children:[y.jsx("p",{children:"By 
21submitting audio and images, you agree that:"}),y.jsxs("ol",{className:"agreement-terms",children:[y.jsxs("li",{children:[y.jsx("strong",{children:"Ownership:"})," You are the copyright holder or have permission to share this content."]}),y.jsxs("li",{children:[y.jsx("strong",{children:"License Grant:"})," You grant Vancouver Soundscapes a non-exclusive, perpetual license to:",y.jsxs("ul",{children:[y.jsx("li",{children:"Store and preserve your submission"}),y.jsx("li",{children:"Display on the public website"}),y.jsx("li",{children:"Include in academic research and teaching"})]})]}),y.jsxs("li",{children:[y.jsx("strong",{children:"Attribution:"})," Your name will be credited unless you opt out."]}),y.jsxs("li",{children:[y.jsx("strong",{children:"Usage:"})," Content will be shared under"," ",y.jsx("a",{href:"https://creativecommons.org/licenses/by-nc-sa/4.0/",target:"_blank",rel:"noopener noreferrer",children:"CC BY-NC-SA 4.0 license"}),"."]}),y.jsxs("li",{children:[y.jsx("strong",{children:"Privacy:"})," No personally identifiable information will be shared without consent."]}),y.jsxs("li",{children:[y.jsx("strong",{children:"Withdrawal:"})," You may request removal of your submission at any time."]})]}),y.jsxs("div",{className:"form-field agreement-checkbox",children:[y.jsxs("label",{className:"checkbox-label",children:[y.jsx("input",{type:"checkbox",checked:C,onChange:X=>{j(X.target.checked),u.agreement&&X.target.checked&&d(ee=>{const N={...ee};return delete N.agreement,N})},required:!0}),y.jsx("span",{children:"I agree to these submission terms"})]}),u.agreement&&y.jsx("span",{className:"error",children:u.agreement})]})]})]}),y.jsxs("div",{className:"form-actions",children:[y.jsx("button",{type:"submit",className:"submit-btn",disabled:f,children:f?"Submitting...":"Submit Sound Recording"}),y.jsx("p",{className:"submit-note",children:"* Required fields. Your submission will be reviewed before being added to the map."})]})]}),y.jsx(yS,{isUploading:A,uploadingFiles:[T?.name,...x.map(X=>X.name)],error:P}),h&&y.jsxs("div",{role:"dialog","aria-modal":"true","aria-labelledby":"modal-title",className:"lightbox-overlay",style:{zIndex:1e4},children:[y.jsx("button",{type:"button",onClick:()=>g(!1),style:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"transparent",border:"none",cursor:"default"},"aria-label":"Close modal"}),y.jsxs("div",{className:"modal-content",style:{position:"relative",zIndex:1,background:"white",padding:"32px",borderRadius:"8px",maxWidth:"500px",textAlign:"center"},children:[y.jsx("h3",{id:"modal-title",style:{marginTop:0,color:"var(--color-text-primary)"},children:"Change Location Type?"}),y.jsx("p",{style:{color:"var(--color-text-secondary)",lineHeight:"1.6"},children:"Changing the recording type will clear your current location selection. Do you want to continue?"}),y.jsxs("div",{style:{display:"flex",gap:"12px",justifyContent:"center",marginTop:"24px"},children:[y.jsx("button",{type:"button",onClick:()=>g(!1),style:{padding:"10px 24px",background:"transparent",border:"1px solid var(--color-border-dark)",borderRadius:"6px",cursor:"pointer"},children:"Cancel"}),y.jsx("button",{type:"button",onClick:$,style:{padding:"10px 24px",background:"var(--color-primary)",color:"white",border:"none",borderRadius:"6px",cursor:"pointer"},children:"Continue"})]})]})]})]})},xS=()=>{const[i,s]=v.useState(!1),r=Gt();return v.useEffect(()=>{s(!1)},[r]),y.jsxs("nav",{"aria-label":"Main navigation",children:[y.jsx("h1",{className:"title",children:"Vancouver Soundscapes"}),y.jsx("button",{className:"nav-hamburger",onClick:()=>s(l=>!l),"aria-label":i?"Close menu":"Open menu","aria-expanded":i,"aria-controls":"nav-options",children:i?"✕":"☰"}),y.jsxs("div",{id:"nav-options",className:`nav-options${i?" open":""}`,children:[y.jsx(ui,{to:"/",end:!0,children:"Home"}),y.jsx(ui,{to:"/about",children:"About"}),y.jsx(ui,{to:"/request",children:"Submit a Sound"}),y.jsx(ui,{to:"/sounds",children:"Sound List"})]})]})},CS=()=>{const[i,s]=v.useState(),[r,l]=v.useState(null);return v.useEffect(()=>{Hp().then(u=>s(u)).catch(u=>console.log(u))},[]),v.useEffect(()=>{if(!i)return;const u=T0(function(){this.ref("key"),this.field("name",{boost:10}),this.field("notes",{boost:5}),this.field("description",{boost:2}
21),this.field("source"),i.forEach(d=>{this.add({key:d.key,name:d.properties.name,notes:d.properties.notes,description:d.properties.description,source:d.properties.source||""})})});l(u)},[i]),y.jsx(nv,{children:y.jsxs("div",{className:"site",children:[y.jsx(xS,{}),y.jsx("main",{className:"content",children:y.jsxs(D1,{children:[y.jsx(el,{path:"/",element:y.jsx("div",{className:"homepage",children:y.jsx(Kb,{searchIndex:r})})}),y.jsx(el,{path:"/about",element:y.jsx(aS,{})}),y.jsx(el,{path:"/request",element:y.jsx(ES,{})}),y.jsx(el,{path:"/sounds",element:y.jsx(oS,{sounds:i,searchIndex:r})}),y.jsx(el,{path:"/sounds/:id",element:y.jsx(iS,{sounds:i})})]})})]})})},jS=k0.createRoot(document.getElementById("root"));jS.render(y.jsx(CS,{}));

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.