1(self.webpackChunk=self.webpackChunk||[]).push([[792],{2150:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},3033:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},4618:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},8034:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},9005:e=>{e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},7652:(e,t,n)=>{"use strict";n.d(t,{A:()=>ie});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 5,083 bytes, line 1
1,t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,s=String.fromCharCode,o=Object.assign;function a(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function h(e,t,n){return e.slice(t,n)}function d(e){return e.length}function f(e){return e.length}function p(e,t){return t.push(e),e}var m=1,g=1,_=0,v=0,y=0,b="";function w(e,t,n,r,i,s,o){return{value:e,root:t,parent:n,type:r,props:i,children:s,line:m,column:g,length:o,return:""}}function E(e,t){return o(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return y=v>0?u(b,--v):0,g--,10===y&&(g=1,m--),y}function T(){return y=v<_?u(b,v++):0,g++,10===y&&(g=1,m++),y}function C(){return u(b,v)}function x(){return v}function A(e,t){return h(b,e,t)}function I(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function k(e){return m=g=1,_=d(b=e),v=0,[]}function P(e){return b="",e}function N(e){return a(A(v-1,D(91===e?e+2:40===e?e+1:e)))}function R(e){for(;(y=C())&&y<33;)T();return I(e)>2||I(y)>3?"":" "}function O(e,t){for(;--t&&T()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return A(e,x()+(t<6&&32==C()&&32==T()))}function D(e){for(;T();)switch(y){case e:return v;case 34:case 39:34!==e&&39!==e&&D(y);break;case 40:41===e&&D(e);break;case 92:T()}return v}function F(e,t){for(;T()&&e+y!==57&&(e+y!==84||47!==C()););return"/*"+A(t,v-1)+"*"+s(47===e?e:T())}function L(e){for(;!I(C());)T();return A(e,v)}var j="-ms-",M="-moz-",U="-webkit-",V="comm",B="rule",$="decl",z="@keyframes";function H(e,t){for(var n="",r=f(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function W(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case $:return e.return=e.return||e.value;case V:return"";case z:return e.return=e.value+"{"+H(e.children,r)+"}";case B:e.value=e.props.join(",")}return d(n=H(e.children,r))?e.return=e.value+"{"+n+"}":""}function q(e){return P(K("",null,null,null,[""],e=k(e),0,[0],e))}function K(e,t,n,r,i,o,a,h,f){for(var m=0,g=0,_=a,v=0,y=0,b=0,w=1,E=1,A=1,I=0,k="",P=i,D=o,j=r,M=k;E;)switch(b=I,I=T()){case 40:if(108!=b&&58==u(M,_-1)){-1!=c(M+=l(N(I),"&","&\f"),"&\f")&&(A=-1);break}case 34:case 39:case 91:M+=N(I);break;case 9:case 10:case 13:case 32:M+=R(b);break;case 92:M+=O(x()-1,7);continue;case 47:switch(C()){case 42:case 47:p(Q(F(T(),x()),t,n),f);break;default:M+="/"}break;case 123*w:h[m++]=d(M)*A;case 125*w:case 59:case 0:switch(I){case 0:case 125:E=0;case 59+g:-1==A&&(M=l(M,/\f/g,"")),y>0&&d(M)-_&&p(y>32?X(M+";",r,n,_-1):X(l(M," ","")+";",r,n,_-2),f);break;case 59:M+=";";default:if(p(j=G(M,t,n,m,g,i,h,k,P=[],D=[],_),o),123===I)if(0===g)K(M,t,j,j,P,o,_,h,D);else switch(99===v&&110===u(M,3)?100:v){case 100:case 108:case 109:case 115:K(e,j,j,r&&p(G(e,j,j,0,0,i,h,k,i,P=[],_),D),i,D,_,h,r?P:D);break;default:K(M,j,j,j,[""],D,0,h,D)}}m=g=y=0,w=A=1,k=M="",_=a;break;case 58:_=1+d(M),y=b;default:if(w<1)if(123==I)--w;else if(125==I&&0==w++&&125==S())continue;switch(M+=s(I),I*w){case 38:A=g>0?1:(M+="\f",-1);break;case 44:h[m++]=(d(M)-1)*A,A=1;break;case 64:45===C()&&(M+=N(T())),v=C(),g=_=d(k=M+=L(x())),I++;break;case 45:45===b&&2==d(M)&&(w=0)}}return o}function G(e,t,n,r,s,o,c,u,d,p,m){for(var g=s-1,_=0===s?o:[""],v=f(_),y=0,b=0,E=0;y<r;++y)for(var S=0,T=h(e,g+1,g=i(b=c[y])),C=e;S<v;++S)(C=a(b>0?_[S]+" "+T:l(T,/&\f/g,_[S])))&&(d[E++]=C);return w(e,t,n,0===s?B:u,d,p,m)}function Q(e,t,n){return w(e,t,n,V,s(y),h(e,2,-2),0)}function X(e,t,n,r){return w(e,t,n,$,h(e,0,r),h(e,r+1,-1),r)}var Y=function(e,t,n){for(var r=0,i=0;r=i,i=C(),38===r&&12===i&&(t[n]=1),!I(i);)T();return A(e,v)},J=function(e,t){return P(function(e,t){var n=-1,r=44;do{switch(I(r)){case 0:38===r&&12===C()&&(t[n]=1),e[n]+=Y(v-1,t,n);break;case 2:e[n]+=N(r);break;case 4:if(44===r){e[++n]=58===C()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=s(r)}}while(r=T());return e}(k(e),t))},Z=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Z.get(n))&&!r){Z.set(e,!0);for(var i=[],s=J(t,i),o=n.props,a=0,l=0;a<s.length;a++)for(var c=0;c<o.length;c++,l++)e.props[l]=i[a]?s[a].replace(/&\f/g,o[c]):o[c]+" "+s[a]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return U+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return U+e+e;
1case 5349:case 4246:case 4810:case 6968:case 2756:return U+e+M+e+j+e+e;case 6828:case 4268:return U+e+j+e+e;case 6165:return U+e+j+"flex-"+e+e;case 5187:return U+e+l(e,/(\w+).+(:[^]+)/,U+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return U+e+j+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return U+e+j+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return U+e+j+l(e,"shrink","negative")+e;case 5292:return U+e+j+l(e,"basis","preferred-size")+e;case 6060:return U+"box-"+l(e,"-grow","")+U+e+j+l(e,"grow","positive")+e;case 4554:return U+l(e,/([^-])(transform)/g,"$1"+U+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,U+"$1"),/(image-set)/,U+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,U+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,U+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+U+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,U+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+U+"$2-$3$1"+M+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,d(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+U)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+U+(45===u(e,14)?"inline-":"")+"box$3$1"+U+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return U+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+j+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return U+e+j+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case $:e.return=ne(e.value,e.length);break;case z:return H([E(e,{value:l(e.value,"@","@"+U)})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([E(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return H([E(e,{props:[l(t,/:(plac\w+)/,":"+U+"input-$1")]}),E(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[l(t,/:(plac\w+)/,j+"input-$1")]})],r)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,s,o=e.stylisPlugins||re,a={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)}));var c,u,h=[W,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],d=function(e){var t=f(e);return function(n,r,i,s){for(var o="",a=0;a<t;a++)o+=e[a](n,r,i,s)||"";return o}}([ee,te].concat(o,h));s=function(e,t,n,r){c=n,function(e){H(q(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new r({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:s};return p.sheet.hydrate(l),p}},4556:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},8539:(e,t,n)=>{"use strict";n.d(t,{C:()=>c,E:()=>g,T:()=>h,c:()=>p,h:()=>d,w:()=>u});var r=n(4041),i=n(7652),s=n(5780),o=n(3976),a=n(6558),l=r.createContext("undefined"!=typeof HTMLElement?(0,i.A)({key:"css"}):null),c=l.Provider,u=function(e){return(0,r.forwardRef)((function(t,n){var i=(0,r.useContext)(l);return e(t,i,n)}))},h=r.createContext({});var d={}.hasOwnProperty,f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",p=function(e,t){var n={};for(var r in t)d.call(t,r)&&(n[r]=t[r]);return n[f]=e,n},m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;
vendor: 6,196 bytes, line 1
1return(0,s.SF)(t,n,r),(0,a.s)((function(){return(0,s.sk)(t,n,r)})),null},g=u((function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var a=e[f],l=[i],c="";"string"==typeof e.className?c=(0,s.Rk)(t.registered,l,e.className):null!=e.className&&(c=e.className+" ");var u=(0,o.J)(l,void 0,r.useContext(h));c+=t.key+"-"+u.name;var p={};for(var g in e)d.call(e,g)&&"css"!==g&&g!==f&&(p[g]=e[g]);return p.className=c,n&&(p.ref=n),r.createElement(r.Fragment,null,r.createElement(m,{cache:t,serialized:u,isStringTag:"string"==typeof a}),r.createElement(a,p))}))},5428:(e,t,n)=>{"use strict";n.d(t,{AH:()=>u,i7:()=>h,mL:()=>c});var r=n(8539),i=n(4041),s=n(5780),o=n(6558),a=n(3976),l=(n(7652),n(5985),function(e,t){var n=arguments;if(null==t||!r.h.call(t,"css"))return i.createElement.apply(void 0,n);var s=n.length,o=new Array(s);o[0]=r.E,o[1]=(0,r.c)(e,t);for(var a=2;a<s;a++)o[a]=n[a];return i.createElement.apply(null,o)});!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(l||(l={}));var c=(0,r.w)((function(e,t){var n=e.styles,l=(0,a.J)([n],void 0,i.useContext(r.T)),c=i.useRef();return(0,o.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),c.current=[n,r],function(){n.flush()}}),[t]),(0,o.i)((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,s.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null}));function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,a.J)(t)}function h(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},3976:(e,t,n)=>{"use strict";n.d(t,{J:()=>g});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(4556),s=!1,o=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,i.A)((function(e){return l(e)?e:e.replace(o,"-$&").toLowerCase()})),h=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===r[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"},d="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function f(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return p={name:i.name,styles:i.styles,next:p},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)p={name:a.name,styles:a.styles,next:p},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=f(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=o+"{"+t[l]+"}":c(l)&&(r+=u(o)+":"+h(o,l)+";")}else{if("NO_COMPONENT_SELECTOR"===o&&s)throw new Error(d);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var p=f(e,t,a);switch(o){case"animation":case"animationName":r+=u(o)+":"+p+";";break;default:r+=o+"{"+p+"}"}}else for(var m=0;m<a.length;m++)c(a[m])&&(r+=u(o)+":"+h(o,a[m])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var l=p,m=n(e);return p=l,f(e,t,m)}}var g=n;if(null==t)return g;var _=t[g];return void 0!==_?_:g}var p,m=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";p=void 0;var s=e[0];null==s||void 0===s.raw?(r=!1,i+=f(n,t,s)):i+=s[0];for(var o=1;o<e.length;o++){if(i+=f(n,t,e[o]),r)i+=s[o]}m.lastIndex=0;for(var a,l="";null!==(a=m.exec(i));)l+="-"+a[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:p}}},6558:(e,t,n)=>{"use strict";var r;n.d(t,{i:()=>a,s:()=>o});var i=n(4041),s=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,o=s||function(e){return e()},a=s||i.useLayoutEffect},5780:(e,t,n)=>{"use strict";n.d(t,{Rk:()=>r,SF:()=>i,sk:()=>s});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},s=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var s=t;do{e.insert(t===s?"."+r:"",s,e.sheet,!0),s=s.next}while(void 0!==s)}}},8259:(e,t,n)=>{"use strict";var r=n(8034);t.A=void 0;var i=r(n(369)),s=n(1085);t.A=(0,i.default)((0,s.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},369:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(505)},4545:(e,t,n)=>{"use strict";n.d(t,{b:()=>l});var r=n(4041),i=n(2150);function s(e,t){const n=(0,i.A)({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=(0,i.A)({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=(0,i.A)({},a),Object.keys(o).forEach((e=>{n[r][e]=s(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}n(1085);const o=r.createContext(void 0);function a({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?s(i.defaultProps,r):i.styleOverrides||i.variants?r:s(i,r)}({props:e,name:t,theme:{components:r.useContext(o)}})}function l(e){return a(e)}},9266:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(2150),i=n(3033),s=n(2886),o=n(3134),a=n(2552),l=n(2254),c=n(9999);var u=n(984);const h={black:"#000",white:"#fff"},d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},f={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},p={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},_={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=["mode","contrastThreshold","tonalOffset"],b={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:h.white,default:h.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:h.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:h.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function E(e,t,n,r){const i=r.light||r,s=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,u.a)(e.main,i):"dark"===t&&(e.dark=(0,u.e$)(e.main,s)))}function S(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:a=.2}=e,l=(0,i.A)(e,y),c=e.primary||function(e="light"){return"dark"===e?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),S=e.secondary||function(e="light"){return"dark"===e?{main:f[200],light:f[50],dark:f[400]}:{main:f[500],light:f[300],dark:f[700]}}(t),T=e.error||function(e="light"){return"dark"===e?{main:p[500],light:p[300],dark:p[700]}:{main:p[700],light:p[400],dark:p[800]}}(t),C=e.info||function(e="light"){return"dark"===e?{main:_[400],light:_[300],dark:_[700]}:{main:_[700],light:_[500],dark:_[900]}}(t),x=e.success||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(t),A=e.warning||function(e="light"){return"dark"===e?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(t);function I(e){return(0,u.eM)(e,w.text.primary)>=n?w.text.primary:b.text.primary}
vendor: 9,171 bytes, line 1
1const k=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.A)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,s.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,s.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return E(e,"light",i,a),E(e,"dark",o,a),e.contrastText||(e.contrastText=I(e.main)),e},P={dark:w,light:b};return(0,o.A)((0,r.A)({common:(0,r.A)({},h),mode:t,primary:k({color:c,name:"primary"}),secondary:k({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:k({color:T,name:"error"}),warning:k({color:A,name:"warning"}),info:k({color:C,name:"info"}),success:k({color:x,name:"success"}),grey:d,contrastThreshold:n,getContrastText:I,augmentColor:k,tonalOffset:a},P[t]),l)}const T=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const C={textTransform:"uppercase"},x='"Roboto", "Helvetica", "Arial", sans-serif';function A(e,t){const n="function"==typeof t?t(e):t,{fontFamily:s=x,fontSize:a=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:h=700,htmlFontSize:d=16,allVariants:f,pxToRem:p}=n,m=(0,i.A)(n,T);const g=a/14,_=p||(e=>e/d*g+"rem"),v=(e,t,n,i,o)=>{return(0,r.A)({fontFamily:s,fontWeight:e,fontSize:_(t),lineHeight:n},s===x?{letterSpacing:(a=i/t,Math.round(1e5*a)/1e5)+"em"}:{},o,f);var a},y={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(c,48,1.167,0),h4:v(c,34,1.235,.25),h5:v(c,24,1.334,0),h6:v(u,20,1.6,.15),subtitle1:v(c,16,1.75,.15),subtitle2:v(u,14,1.57,.1),body1:v(c,16,1.5,.15),body2:v(c,14,1.43,.15),button:v(u,14,1.75,.4,C),caption:v(c,12,1.66,.4),overline:v(c,12,2.66,1,C),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,o.A)((0,r.A)({htmlFontSize:d,pxToRem:_,fontFamily:s,fontSize:a,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:h},y),m,{clone:!1})}function I(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const k=["none",I(0,2,1,-1,0,1,1,0,0,1,3,0),I(0,3,1,-2,0,2,2,0,0,1,5,0),I(0,3,3,-2,0,3,4,0,0,1,8,0),I(0,2,4,-1,0,4,5,0,0,1,10,0),I(0,3,5,-1,0,5,8,0,0,1,14,0),I(0,3,5,-1,0,6,10,0,0,1,18,0),I(0,4,5,-2,0,7,10,1,0,2,16,1),I(0,5,5,-3,0,8,10,1,0,3,14,2),I(0,5,6,-3,0,9,12,1,0,3,16,2),I(0,6,6,-3,0,10,14,1,0,4,18,3),I(0,6,7,-4,0,11,15,1,0,4,20,3),I(0,7,8,-4,0,12,17,2,0,5,22,4),I(0,7,8,-4,0,13,19,2,0,5,24,4),I(0,7,9,-4,0,14,21,2,0,5,26,4),I(0,8,9,-5,0,15,22,2,0,6,28,5),I(0,8,10,-5,0,16,24,2,0,6,30,5),I(0,8,11,-5,0,17,26,2,0,6,32,5),I(0,9,11,-5,0,18,28,2,0,7,34,6),I(0,9,12,-6,0,19,29,2,0,7,36,6),I(0,10,13,-6,0,20,31,3,0,8,38,7),I(0,10,13,-6,0,21,33,3,0,8,40,7),I(0,10,14,-6,0,22,35,3,0,8,42,7),I(0,11,14,-7,0,23,36,3,0,9,44,8),I(0,11,15,-7,0,24,38,3,0,9,46,8)];var P=n(1152);const N={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},R=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function O(e={},...t){const{mixins:n={},palette:u={},transitions:h={},typography:d={}}=e,f=(0,i.A)(e,R);if(e.vars)throw new Error((0,s.A)(18));const p=S(u),m=(0,c.A)(e);let g=(0,o.A)(m,{mixins:(_=m.breakpoints,v=n,(0,r.A)({toolbar:{minHeight:56,[_.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[_.up("sm")]:{minHeight:64}}},v)),palette:p,shadows:k.slice(),typography:A(p,d),transitions:(0,P.Ay)(h),zIndex:(0,r.A)({},N)});var _,v;return g=(0,o.A)(g,f),g=t.reduce(((e,t)=>(0,o.A)(e,t)),g),g.unstable_sxConfig=(0,r.A)({},a.A,null==f?void 0:f.unstable_sxConfig),g.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},g}const D=O},1152:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,p0:()=>a});var r=n(3033),i=n(2150);const s=["duration","easing","delay"],o={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(e){return`${Math.round(e)}ms`}function c(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function u(e){const t=(0,i.A)({},o,e.easing),n=(0,i.A)({},a,e.duration);return(0,i.A)({getAutoHeightDuration:c,create:(e=["all"],i={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:c=0}=i;(0,r.A)(i,s);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:l(o)} ${a} ${"string"==typeof c?c:l(c)}`)).join(",")}},e,{easing:t,duration:n})}},2012:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(9266).A)()},382:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="$$material"},8768:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l});var r=n(4642),i=n(2012),s=n(382);const o=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},a=e=>o(e)&&"classes"!==e,l=(0,r.Ay)({themeId:s.A,defaultTheme:i.A,rootShouldForwardProp:a})},3345:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(4456).A},505:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>i.A,createChainedFunction:()=>s,createSvgIcon:()=>w,debounce:()=>E,deprecatedPropType:()=>S,isMuiElement:()=>T,ownerDocument:()=>C,ownerWindow:()=>x,requirePropFactory:()=>A,setRef:()=>I,unstable_ClassNameGenerator:()=>L,unstable_useEnhancedEffect:()=>k,unstable_useId:()=>P,unsupportedProp:()=>N,useControlled:()=>R.A,useEventCallback:()=>O.A,useForkRef:()=>D.A,useIsFocusVisible:()=>F.A});var r=n(4636),i=n(3345);const s=n(6754).A;var o=n(2150),a=n(4041),l=n(3033),c=n(4357),u=n(28),h=n(4545),d=n(8768),f=n(6310),p=n(8526);function m(e){return(0,p.Ay)("MuiSvgIcon",e)}(0,f.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var g=n(1085);const _=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],v=(0,d.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,i.A)(n.color)}`],t[`fontSize${(0,i.A)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,i,s,o,a,l,c,u,h,d,f,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(i=e.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(s=e.typography)||null==(o=s.pxToRem)?void 0:o.call(s,20))||"1.25rem",medium:(null==(a=e.typography)||null==(l=a.pxToRem)?void 0:l.call(a,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(h=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?h:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.disabled,inherit:void 0}[t.color]}})),y=a.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiSvgIcon"}),{children:r,className:s,color:d="inherit",component:f="svg",fontSize:p="medium",htmlColor:y,inheritViewBox:b=!1,titleAccess:w,viewBox:E="0 0 24 24"}=n,S=(0,l.A)(n,_),T=a.isValidElement(r)&&"svg"===r.type,C=(0,o.A)({},n,{color:d,component:f,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:b,viewBox:E,hasSvgAsChild:T}),x={};b||(x.viewBox=E);const A=(e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root","inherit"!==t&&`color${(0,i.A)(t)}`,`fontSize${(0,i.A)(n)}`]};return(0,u.A)(s,m,r)})(C);return(0,g.jsxs)(v,(0,o.A)({as:f,className:(0,c.A)(A.root,s),focusable:"false",color:y,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:t},x,S,T&&r.props,{ownerState:C,children:[T?r.props.children:r,w?(0,g.jsx)("title",{children:w}):null]}))}));y.muiName="SvgIcon";const b=y;function w(e,t){function n(n,r){return(0,g.jsx)(b,(0,o.A)({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=b.muiName,a.memo(a.forwardRef(n))}const E=function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r};const S=function(e,t){return()=>null};const T=function(e,t){var n,r;return a.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)};const C=n(8862).A;const x=n(6710).A;const A=function(e,t){return()=>null};const I=n(9374).A;const k=n(4714).A;const P=n(7174).A;const N=function(e,t,n,r,i){return null};var R=n(4066),O=n(6113),D=n(2787),F=n(333);const L={configure:e=>{r.A.configure(e)}}},4066:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4041);const i=function({controlled:e,default:t,name:n,state:i="value"}){const{current:s}=r.useRef(void 0!==e),[o,a]=r.useState(t);return[s?e:o,r.useCallback((e=>{s||a(e)}),[])]}},6113:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(2768).A},2787:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(5584).A}
1,333:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(4041),i=n(2399);let s=!0,o=!1;const a=new i.E,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(s=!0)}function u(){s=!1}function h(){"hidden"===this.visibilityState&&o&&(s=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return s||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}const f=function(){const e=r.useCallback((e=>{null!=e&&function(e){e.addEventListener("keydown",c,!0),e.addEventListener("mousedown",u,!0),e.addEventListener("pointerdown",u,!0),e.addEventListener("touchstart",u,!0),e.addEventListener("visibilitychange",h,!0)}(e.ownerDocument)}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(o=!0,a.start(100,(()=>{o=!1})),t.current=!1,!0)},ref:e}}},7222:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalStyles:()=>E,StyledEngineProvider:()=>w,ThemeContext:()=>i.T,css:()=>_.AH,default:()=>S,internal_processStyles:()=>T,keyframes:()=>_.i7});var r=n(2150),i=n(8539),s=n(3976),o=n(6558),a=n(5780),l=n(4041),c=n(4556),u=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,h=(0,c.A)((function(e){return u.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),d=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?h:d},p=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,a.SF)(t,n,r),(0,o.s)((function(){return(0,a.sk)(t,n,r)})),null},g=(function e(t,n){var o,c,u=t.__emotion_real===t,h=u&&t.__emotion_base||t;void 0!==n&&(o=n.label,c=n.target);var d=p(t,n,u),g=d||f(h),_=!g("as");return function(){var v=arguments,y=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&y.push("label:"+o+";"),null==v[0]||void 0===v[0].raw)y.push.apply(y,v);else{var b=v[0];y.push(b[0]);for(var w=v.length,E=1;E<w;E++)y.push(v[E],b[E])}var S=(0,i.w)((function(e,t,n){var r=_&&e.as||h,o="",u=[],p=e;if(null==e.theme){for(var v in p={},e)p[v]=e[v];p.theme=l.useContext(i.T)}"string"==typeof e.className?o=(0,a.Rk)(t.registered,u,e.className):null!=e.className&&(o=e.className+" ");var b=(0,s.J)(y.concat(u),t.registered,p);o+=t.key+"-"+b.name,void 0!==c&&(o+=" "+c);var w=_&&void 0===d?f(r):g,E={};for(var S in e)_&&"as"===S||w(S)&&(E[S]=e[S]);return E.className=o,n&&(E.ref=n),l.createElement(l.Fragment,null,l.createElement(m,{cache:t,serialized:b,isStringTag:"string"==typeof r}),l.createElement(r,E))}));return S.displayName=void 0!==o?o:"Styled("+("string"==typeof h?h:h.displayName||h.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=h,S.__emotion_styles=y,S.__emotion_forwardProp=d,Object.defineProperty(S,"toString",{value:function(){return"."+c}}),S.withComponent=function(t,i){return e(t,(0,r.A)({},n,i,{shouldForwardProp:p(S,i,!0)})).apply(void 0,y)},S}}).bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){g[e]=g(e)}));var _=n(5428),v=n(7652),y=n(1085);let b;function w(e){const{injectFirst:t,children:n}=e;return t&&b?(0,y.jsx)(i.C,{value:b,children:n}):n}function E(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,y.jsx)(_.mL,{styles:r})}function S(e,t){return g(e,t)}
vendor: 4,485 bytes, line 1
1"object"==typeof document&&(b=(0,v.A)({key:"css",prepend:!0}));const T=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},984:(e,t,n)=>{"use strict";var r=n(8034);t.X4=f,t.e$=p,t.eM=function(e,t){const n=d(e),r=d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.a=m;var i=r(n(1471)),s=r(n(6002));function o(e,t=0,n=1){return(0,s.default)(e,t,n)}function a(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(a(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,i.default)(9,e));let r,s=e.substring(t+1,e.length-1);if("color"===n){if(s=s.split(" "),r=s.shift(),4===s.length&&"/"===s[3].charAt(0)&&(s[3]=s[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,i.default)(10,r))}else s=s.split(",");return s=s.map((e=>parseFloat(e))),{type:n,values:s,colorSpace:r}}const c=e=>{const t=l(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function u(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function h(e){e=l(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-s*Math.max(Math.min(t-3,9-t,1),-1);let a="rgb";const c=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(a+="a",c.push(t[3])),u({type:a,values:c})}function d(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(h(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function f(e,t){return e=l(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,u(e)}function p(e,t){if(e=l(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return u(e)}function m(e,t){if(e=l(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return u(e)}function g(e,t=.15){return d(e)>.5?p(e,t):m(e,t)}},4642:(e,t,n)=>{"use strict";var r=n(8034);t.Ay=function(e={}){const{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=p,slotShouldForwardProp:l=p}=e,u=e=>(0,c.default)((0,i.default)({},e,{theme:_((0,i.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,o.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:h,slot:f,skipVariantsResolver:m,skipSx:b,overridesResolver:w=v(g(f))}=c,E=(0,s.default)(c,d),S=void 0!==m?m:f&&"Root"!==f&&"root"!==f||!1,T=b||!1;let C=p;"Root"===f||"root"===f?C=r:f?C=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(C=void 0);const x=(0,o.default)(e,(0,i.default)({shouldForwardProp:C,label:undefined},E)),A=e=>"function"==typeof e&&e.__emotion_real!==e||(0,a.isPlainObject)(e)?r=>y(e,(0,i.default)({},r,{theme:_({theme:r.theme,defaultTheme:n,themeId:t})})):e,I=(r,...s)=>{let o=A(r);const a=s?s.map(A):[];h&&w&&a.push((e=>{const r=_((0,i.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[h]||!r.components[h].styleOverrides)return null;const s=r.components[h].styleOverrides,o={};return Object.entries(s).forEach((([t,n])=>{o[t]=y(n,(0,i.default)({},e,{theme:r}))})),w(e,o)})),h&&!S&&a.push((e=>{var r;const s=_((0,i.default)({},e,{defaultTheme:n,themeId:t}));return y({variants:null==s||null==(r=s.components)||null==(r=r[h])?void 0:r.variants},(0,i.default)({},e,{theme:s}))})),T||a.push(u);const l=a.length-s.length;if(Array.isArray(r)&&l>0){const e=new Array(l).fill("");o=[...r,...e],o.raw=[...r.raw,...e]}const c=x(o,...a);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(I.withConfig=x.withConfig),I}};var i=r(n(4618)),s=r(n(9005)),o=function(e,t){if(!t&&e&&e.__esMo
1dule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(r,s,o):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}(n(7222)),a=n(1832),l=(r(n(1595)),r(n(7316)),r(n(115))),c=r(n(1036));const u=["ownerState"],h=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function _({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function v(e){return e?(t,n)=>n[e]:null}function y(e,t){let{ownerState:n}=t,r=(0,s.default)(t,u);const o="function"==typeof e?e((0,i.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>y(e,(0,i.default)({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,s.default)(o,h);return e.forEach((e=>{let s=!0;"function"==typeof e.props?s=e.props((0,i.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(s=!1)})),s&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,i.default)({ownerState:n},r,n)):e.style))})),t}return o}},1933:(e,t,n)=>{"use strict";n.d(t,{EU:()=>o,NI:()=>s,vf:()=>a,zu:()=>r});const r={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${r[e]}px)`};function s(e,t,n){const s=e.theme||{};if(Array.isArray(t)){const e=s.breakpoints||i;return t.reduce(((r,i,s)=>(r[e.up(e.keys[s])]=n(t[s]),r)),{})}if("object"==typeof t){const e=s.breakpoints||i;return Object.keys(t).reduce(((i,s)=>{if(-1!==Object.keys(e.values||r).indexOf(s)){i[e.up(s)]=n(t[s],s)}else{const e=s;i[e]=t[e]}return i}),{})}return n(t)}function o(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function a(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}},2609:(e,t,n)=>{"use strict";function r(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}n.d(t,{A:()=>r})},9719:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(3033),i=n(2150);const s=["values","unit","step"],o=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,i.A)({},e,{[t.key]:t.val})),{})};function a(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:a=5}=e,l=(0,r.A)(e,s),c=o(t),u=Object.keys(c);function h(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function d(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-a/100}${n})`}function f(e,r){const i=u.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[u[i]]?t[u[i]]:r)-a/100}${n})`}return(0,i.A)({keys:u,values:c,up:h,down:d,between:f,only:function(e){return u.indexOf(e)+1<u.length?f(e,u[u.indexOf(e)+1]):h(e)},not:function(e){const t=u.indexOf(e);return 0===t?h(u[1]):t===u.length-1?d(u[t]):f(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},l)}},9999:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(2150),i=n(3033),s=n(3134),o=n(9719);const a={borderRadius:4};var l=n(2832);var c=n(2254),u=n(2552),h=n(2609);const d=["breakpoints","palette","spacing","shape"];const f=function(e={},...t){const{breakpoints:n={},palette:f={},spacing:p,shape:m={}}=e,g=(0,i.A)(e,d),_=(0,o.A)(n),v=function(e=8){if(e.mui)return e;const t=(0,l.LX)({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(p);let y=(0,s.A)({breakpoints:_,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},f),spacing:v,shape:(0,r.A)({},a,m)},g);return y.applyStyles=h.A,y=t.reduce(((e,t)=>(0,s.A)(e,t)),y),y.unstable_sxConfig=(0,r.A)({},u.A,null==g?void 0:g.unstable_sxConfig),y.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},y}},115:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,private_createBreakpoints:()=>i.A,unstable_applyStyles:()=>s.A});var r=n(9999),i=n(9719),s=n(2609)},1573:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3134);const i=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},2832:(e,t,n)=>{"use strict";n.d(t,{LX:()=>p,MA:()=>f,_W:()=>m,Lc:()=>v,Ms:()=>y});var r=n(1933),i=n(1508),s=n(1573);const o={m:"margin",p:"padding"},a={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=o[t],i=a[n]||"";return Array.isArray(i)?i.map((e=>r+e)):[r+i]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],h=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...h];function f(e,t,n,r){var s;const o=null!=(s=(0,i.Yn)(e,t,!1))?s:n;return"number"==typeof o?e=>"string"==typeof e?e:o*e:Array.isArray(o)?e=>"string"==typeof e?e:o[e]:"function"==typeof o?o:()=>{}}function p(e){return f(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function g(e,t,n,i){if(-1===t.indexOf(n))return null;const s=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(c(n),i),o=e[n];return(0,r.NI)(e,o,s)}function _(e,t){const n=p(e.theme);return Object.keys(e).map((r=>g(e,t,r,n))).reduce(s.A,{})}function v(e){return _(e,u)}function y(e){return _(e,h)}function b(e){return _(e,d)}
vendor: 8,892 bytes, line 1
1v.propTypes={},v.filterProps=u,y.propTypes={},y.filterProps=h,b.propTypes={},b.filterProps=d},1508:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a,BO:()=>o,Yn:()=>s});var r=n(4456),i=n(1933);function s(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function o(e,t,n,r=n){let i;return i="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:s(e,n)||r,t&&(i=t(i,r,e)),i}const a=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:a,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=s(e.theme,a)||{};return(0,i.NI)(e,c,(e=>{let i=o(u,l,e);return e===i&&"string"==typeof e&&(i=o(u,l,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?i:{[n]:i}}))};return c.propTypes={},c.filterProps=[t],c}},2552:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(2832),i=n(1508),s=n(1573);const o=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,s.A)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};var a=n(1933);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,i.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),h=c("borderTop",l),d=c("borderRight",l),f=c("borderBottom",l),p=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),_=c("borderRightColor"),v=c("borderBottomColor"),y=c("borderLeftColor"),b=c("outline",l),w=c("outlineColor"),E=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,a.NI)(e,e.borderRadius,n)}return null};E.propTypes={},E.filterProps=["borderRadius"];o(u,h,d,f,p,m,g,_,v,y,E,b,w);const S=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,a.NI)(e,e.gap,n)}return null};S.propTypes={},S.filterProps=["gap"];const T=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,a.NI)(e,e.columnGap,n)}return null};T.propTypes={},T.filterProps=["columnGap"];const C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,a.NI)(e,e.rowGap,n)}return null};C.propTypes={},C.filterProps=["rowGap"];o(S,T,C,(0,i.Ay)({prop:"gridColumn"}),(0,i.Ay)({prop:"gridRow"}),(0,i.Ay)({prop:"gridAutoFlow"}),(0,i.Ay)({prop:"gridAutoColumns"}),(0,i.Ay)({prop:"gridAutoRows"}),(0,i.Ay)({prop:"gridTemplateColumns"}),(0,i.Ay)({prop:"gridTemplateRows"}),(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"}));function x(e,t){return"grey"===t?t:e}o((0,i.Ay)({prop:"color",themeKey:"palette",transform:x}),(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:x}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:x}));function A(e){return e<=1&&0!==e?100*e+"%":e}const I=(0,i.Ay)({prop:"width",transform:A}),k=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const i=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||a.zu[t];return i?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:A(t)}};return(0,a.NI)(e,e.maxWidth,t)}return null};k.filterProps=["maxWidth"];const P=(0,i.Ay)({prop:"minWidth",transform:A}),N=(0,i.Ay)({prop:"height",transform:A}),R=(0,i.Ay)({prop:"maxHeight",transform:A}),O=(0,i.Ay)({prop:"minHeight",transform:A}),D=((0,i.Ay)({prop:"size",cssProperty:"width",transform:A}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:A}),o(I,k,P,N,R,O,(0,i.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:E},color:{themeKey:"palette",transform:x},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:x},backgroundColor:{themeKey:"palette",transform:x},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:S},rowGap:{style:C},columnGap:{style:T},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:A},maxWidth:{style:k},minWidth:{transform:A},height:{transform:A},maxHeight:{transform:A},minHeight:{transform:A},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},9724:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(2150),i=n(3033),s=n(3134),o=n(2552);const a=["sx"],l=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:o.A;return Object.keys(e).forEach((t=>{i[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function c(e){const{sx:t}=e,n=(0,i.A)(e,a),{systemProps:o,otherProps:c}=l(n);let u;return u=Array.isArray(t)?[o,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,s.Q)(n)?(0,r.A)({},o,n):o}:(0,r.A)({},o,t),(0,r.A)({},c,{sx:u})}},1036:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,extendSxProp:()=>i.A,unstable_createStyleFunctionSx:()=>r.k,unstable_defaultSxConfig:()=>s.A});var r=n(2254),i=n(9724),s=n(2552)},2254:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,k:()=>l});var r=n(4456),i=n(1573),s=n(1508),o=n(1933),a=n(2552);function l(){function e(e,t,n,i){const a={[e]:t,theme:n},l=i[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:h,style:d}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,s.Yn)(n,u)||{};if(d)return d(a);return(0,o.NI)(a,t,(t=>{let n=(0,s.BO)(f,h,t);return t===n&&"string"==typeof t&&(n=(0,s.BO)(f,h,`${e}${"default"===t?"":(0,r.A)(t)}`,t)),!1===c?n:{[c]:n}}))}return function t(n){var r;const{sx:s,theme:l={}}=n||{};if(!s)return null;const c=null!=(r=l.unstable_sxConfig)?r:a.A;function u(n){let r=n;if("function"==typeof n)r=n(l);else if("object"!=typeof n)return n;if(!r)return null;const s=(0,o.EU)(l.breakpoints),a=Object.keys(s);let u=s;return Object.keys(r).forEach((n=>{const s=(a=r[n],h=l,"function"==typeof a?a(h):a);var a,h;if(null!=s)if("object"==typeof s)if(c[n])u=(0,i.A)(u,e(n,s,l,c));else{const e=(0,o.NI)({theme:l},s,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,s)?u=(0,i.A)(u,e):u[n]=t({sx:s,theme:l})}else u=(0,i.A)(u,e(n,s,l,c))})),(0,o.vf)(a,u)}return Array.isArray(s)?s.map(u):u(s)}}const c=l();c.filterProps=["sx"];const u=c},4636:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const r=e=>e,i=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},4456:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2886);function i(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},1595:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(4456)}
1,6002:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},28:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};return Object.keys(e).forEach((i=>{r[i]=e[i].reduce(((e,r)=>{if(r){const i=t(r);""!==i&&e.push(i),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{A:()=>r})},6754:(e,t,n)=>{"use strict";function r(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}n.d(t,{A:()=>r})},3134:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Q:()=>s});var r=n(2150),i=n(4041);function s(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function o(e){if(i.isValidElement(e)||!s(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=o(e[n])})),t}function a(e,t,n={clone:!0}){const l=n.clone?(0,r.A)({},e):e;return s(e)&&s(t)&&Object.keys(t).forEach((r=>{i.isValidElement(t[r])?l[r]=t[r]:s(t[r])&&Object.prototype.hasOwnProperty.call(e,r)&&s(e[r])?l[r]=a(e[r],t[r],n):n.clone?l[r]=s(t[r])?o(t[r]):t[r]:l[r]=t[r]})),l}},1832:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,isPlainObject:()=>r.Q});var r=n(3134)},2886:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{A:()=>r})},1471:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(2886)},8526:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(4636);const i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function s(e,t,n="Mui"){const s=i[t];return s?`${n}-${s}`:`${r.A.generate(e)}-${t}`}},6310:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(8526);function i(e,t,n="Mui"){const i={};return t.forEach((t=>{i[t]=(0,r.Ay)(e,t,n)})),i}},7316:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,getFunctionName:()=>s});var r=n(7038);const i=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function s(e){const t=`${e}`.match(i);return t&&t[1]||""}function o(e,t=""){return e.displayName||e.name||s(e)||t}function a(e,t,n){const r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.vM:return a(e,e.render,"ForwardRef");case r.lD:return a(e,e.type,"memo");default:return}}}},8862:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},6710:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(8862);function i(e){return(0,r.A)(e).defaultView||window}},9374:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})}
1,4714:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4041);const i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},2768:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4041),i=n(4714);const s=function(e){const t=r.useRef(e);return(0,i.A)((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}},5584:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4041),i=n(9374);function s(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,i.A)(e,t)}))}),e)}},7174:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>a});var i=n(4041);let s=0;const o=(r||(r=n.t(i,2)))["useId".toString()];function a(e){if(void 0!==o){const t=o();return null!=e?e:t}return function(e){const[t,n]=i.useState(e),r=e||t;return i.useEffect((()=>{null==t&&(s+=1,n(`mui-${s}`))}),[t]),r}(e)}},2399:(e,t,n)=>{"use strict";n.d(t,{E:()=>Timeout,A:()=>o});var r=n(4041);const i={};const s=[];class Timeout{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Timeout}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function o(){const e=function(e,t){const n=r.useRef(i);return n.current===i&&(n.current=e(t)),n}(Timeout.create).current;var t;return t=e.disposeEffect,r.useEffect(t,s),e}},9809:(e,t,n)=>{"use strict";var r,i=n(4041),s=n.t(i,2),o=n(5873),a=n(3144),l=n.t(a,2);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(r||(r={}));const u="popstate";function h(e,t){if(!1===e||null==e)throw new Error(t)}function d(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(Pb){}}}function f(e,t){return{usr:e.state,key:e.key,idx:t}}function p(e,t,n,r){return void 0===n&&(n=null),c({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?g(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function m(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function g(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function _(e,t,n,i){void 0===i&&(i={});let{window:s=document.defaultView,v5Compat:o=!1}=i,a=s.history,l=r.Pop,d=null,g=_();function _(){return(a.state||{idx:null}).idx}function v(){l=r.Pop;let e=_(),t=null==e?null:e-g;g=e,d&&d({action:l,location:b.location,delta:t})}function y(e){let t="null"!==s.location.origin?s.location.origin:s.location.href,n="string"==typeof e?e:m(e);return n=n.replace(/ $/,"%20"),h(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,a.replaceState(c({},a.state,{idx:g}),""));let b={get action(){return l},get location(){return e(s,a)},listen(e){if(d)throw new Error("A history only accepts one active listener");return s.addEventListener(u,v),d=e,()=>{s.removeEventListener(u,v),d=null}},createHref:e=>t(s,e),createURL:y,encodeLocation(e){let t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){l=r.Push;let i=p(b.location,e,t);n&&n(i,e),g=_()+1;let c=f(i,g),u=b.createHref(i);try{a.pushState(c,"",u)}catch(mo){if(mo instanceof DOMException&&"DataCloneError"===mo.name)throw mo;s.location.assign(u)}o&&d&&d({action:l,location:b.location,delta:1})},replace:function(e,t){l=r.Replace;let i=p(b.location,e,t);n&&n(i,e),g=_();let s=f(i,g),c=b.createHref(i);a.replaceState(s,"",c),o&&d&&d({action:l,location:b.location,delta:0})},go:e=>a.go(e)};return b}var v;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(v||(v={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function y(e,t,n){return void 0===n&&(n="/"),b(e,t,n,!1)}function b(e,t,n,r){let i=D(("string"==typeof t?g(t):t).pathname||"/",n);if(null==i)return null;let s=w(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(s);let o=null;for(let a=0;null==o&&a<s.length;++a){let e=O(i);o=N(s[a],e,r)}return o}function w(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let i=(e,i,s)=>{let o={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};o.relativePath.startsWith("/")&&(h(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not val
1id. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));let a=U([r,o.relativePath]),l=n.concat(o);e.children&&e.children.length>0&&(h(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+a+'".'),w(e.children,t,l,a)),(null!=e.path||e.index)&&t.push({path:a,score:P(a,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of E(e.path))i(e,t,r);else i(e,t)})),t}function E(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(0===r.length)return i?[s,""]:[s];let o=E(r.join("/")),a=[];return a.push(...o.map((e=>""===e?s:[s,e].join("/")))),i&&a.push(...o),a.map((t=>e.startsWith("/")&&""===t?"/":t))}const S=/^:[\w-]+$/,T=3,C=2,x=1,A=10,I=-2,k=e=>"*"===e;function P(e,t){let n=e.split("/"),r=n.length;return n.some(k)&&(r+=I),t&&(r+=C),n.filter((e=>!k(e))).reduce(((e,t)=>e+(S.test(t)?T:""===t?x:A)),r)}function N(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let e=r[a],l=a===r.length-1,c="/"===s?t:t.slice(s.length)||"/",u=R({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},c),h=e.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=R({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!u)return null;
1Object.assign(i,u.params),o.push({params:i,pathname:U([s,u.pathname]),pathnameBase:V(U([s,u.pathnameBase])),route:h}),"/"!==u.pathnameBase&&(s=U([s,u.pathnameBase]))}return o}function R(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);d("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");let s=new RegExp(i,t?void 0:"i");return[s,r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:i}=t;if("*"===r){let e=a[n]||"";o=s.slice(0,s.length-e.length).replace(/(.)\/+$/,"$1")}const l=a[n];return e[r]=i&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:s,pathnameBase:o,pattern:e}}function O(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(mo){return d(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+mo+")."),e}}function D(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function F(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function L(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function j(e,t){let n=L(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function M(e,t,n,r){let i;void 0===r&&(r=!1),"string"==typeof e?i=g(e):(i=c({},e),h(!i.pathname||!i.pathname.includes("?"),F("?","pathname","search",i)),h(!i.pathname||!i.pathname.includes("#"),F("#","pathname","hash",i)),h(!i.search||!i.search.includes("#"),F("#","search","hash",i)));let s,o=""===e||""===i.pathname,a=o?"/":i.pathname;if(null==a)s=n;else{let e=t.length-1;if(!r&&a.startsWith("..")){let t=a.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}s=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"==typeof e?g(e):e,s=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:s,search:B(r),hash:$(i)}}(i,s),u=a&&"/"!==a&&a.endsWith("/"),d=(o||"."===a)&&n.endsWith("/");return l.pathname.endsWith("/")||!u&&!d||(l.pathname+="/"),l}const U=e=>e.join("/").replace(/\/\/+/g,"/"),V=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),B=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",$=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;function z(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const H=["post","put","patch","delete"],W=(new Set(H),["get",...H]);new Set(W),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}const K=i.createContext(null);const G=i.createContext(null);const Q=i.createContext(null);const X=i.createContext(null);const Y=i.createContext({outlet:null,matches:[],isDataRoute:!1});const J=i.createContext(null);function Z(){return null!=i.useContext(X)}function ee(){return Z()||h(!1),i.useContext(X).location}function te(e){i.useContext(Q).static||i.useLayoutEffect(e)}function ne(){let{isDataRoute:e}=i.useContext(Y);return e?function(){let{router:e}=fe(he.UseNavigateStable),t=me(de.UseNavigateStable),n=i.useRef(!1);return te((()=>{n.current=!0})),i.useCallback((function(r,i){void 0===i&&(i={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,q({fromRouteId:t},i)))}),[e,t])}():function(){Z()||h(!1);let e=i.useContext(K),{basename:t,future:n,navigator:r}=i.useContext(Q),{matches:s}=i.useContext(Y),{pathname:o}=ee(),a=JSON.stringify(j(s,n.v7_relativeSplatPath)),l=i.useRef(!1);return te((()=>{l.current=!0}
1)),i.useCallback((function(n,i){if(void 0===i&&(i={}),!l.current)return;if("number"==typeof n)return void r.go(n);let s=M(n,JSON.parse(a),o,"path"===i.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:U([t,s.pathname])),(i.replace?r.replace:r.push)(s,i.state,i)}),[t,r,a,o,e])}()}const re=i.createContext(null);function ie(){let{matches:e}=i.useContext(Y),t=e[e.length-1];return t?t.params:{}}function se(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=i.useContext(Q),{matches:s}=i.useContext(Y),{pathname:o}=ee(),a=JSON.stringify(j(s,r.v7_relativeSplatPath));return i.useMemo((()=>M(e,JSON.parse(a),o,"path"===n)),[e,a,o,n])}function oe(e,t,n,s){Z()||h(!1);let{navigator:o,static:a}=i.useContext(Q),{matches:l}=i.useContext(Y),c=l[l.length-1],u=c?c.params:{},d=(c&&c.pathname,c?c.pathnameBase:"/");c&&c.route;let f,p=ee();if(t){var m;let e="string"==typeof t?g(t):t;"/"===d||(null==(m=e.pathname)?void 0:m.startsWith(d))||h(!1),f=e}else f=p;let _=f.pathname||"/",v=_;if("/"!==d){let e=d.replace(/^\//,"").split("/");v="/"+_.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=!a&&n&&n.matches&&n.matches.length>0?n.matches:y(e,{pathname:v});let w=ue(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:U([d,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:U([d,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,n,s);return t&&w?i.createElement(X.Provider,{value:{location:q({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:r.Pop}},w):w}function ae(){let e=function(){var e;let t=i.useContext(J),n=pe(de.UseRouteError),r=me(de.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=z(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:r};return i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),n?i.createElement("pre",{style:s},n):null,null)}const le=i.createElement(ae,null);class RenderErrorBoundary extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?i.createElement(Y.Provider,{value:this.props.routeContext},i.createElement(J.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ce(e){let{routeContext:t,match:n,children:r}=e,s=i.useContext(K);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),i.createElement(Y.Provider,{value:t},r)}function ue(e,t,n,r){var s;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var o;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(o=r)&&o.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let a=e,l=null==(s=n)?void 0:s.errors;if(null!=l){let e=a.findIndex((e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id])));e>=0||h(!1),a=a.slice(0,Math.min(a.length,e+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let i=0;i<a.length;i++){let e=a[i];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(u=i),e.route.id){let{loaderData:t,errors:r}=n,i=e.route.loader&&void 0===t[e.route.id]&&(!r||void 0===r[e.route.id]);if(e.route.lazy||i){c=!0,a=u>=0?a.slice(0,u+1):[a[0]];break}}}return a.reduceRight(((e,r,s)=>{let o,h=!1,d=null,f=null;var p;n&&(o=l&&r.route.id?l[r.route.id]:void 0,d=r.route.errorElement||le,c&&(u<0&&0===s?(p="route-fallback",!1||ge[p]||(ge[p]=!0),h=!0,f=null):u===s&&(h=!0,f=r.route.hydrateFallbackElement||null)));let m=t.concat(a.slice(0,s+1)),g=()=>{let t;return t=o?d:h?f:r.route.Component?i.createElement(r.route.Component,null):r.route.element?r.route.element:e,i.createElement(ce,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===s)?i.createElement(RenderErrorBoundary,{location:n.location,revalidation:n.revalidation,component:d,error:o,children:g(),routeC
1ontext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}var he=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(he||{}),de=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(de||{});function fe(e){let t=i.useContext(K);return t||h(!1),t}function pe(e){let t=i.useContext(G);return t||h(!1),t}function me(e){let t=function(){let e=i.useContext(Y);return e||h(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||h(!1),n.route.id}const ge={};function _e(e,t){null==e||e.v7_startTransition,void 0!==(null==e?void 0:e.v7_relativeSplatPath)||t&&t.v7_relativeSplatPath,t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}s.startTransition;function ve(e){let{to:t,replace:n,state:r,relative:s}=e;Z()||h(!1);let{future:o,static:a}=i.useContext(Q),{matches:l}=i.useContext(Y),{pathname:c}=ee(),u=ne(),d=M(t,j(l,o.v7_relativeSplatPath),c,"path"===s),f=JSON.stringify(d);return i.useEffect((()=>u(JSON.parse(f),{replace:n,state:r,relative:s})),[u,f,s,n,r]),null}function ye(e){return function(e){let t=i.useContext(Y).outlet;return t?i.createElement(re.Provider,{value:e},t):t}(e.context)}function be(e){h(!1)}function we(e){let{basename:t="/",children:n=null,location:s,navigationType:o=r.Pop,navigator:a,static:l=!1,future:c}=e;Z()&&h(!1);let u=t.replace(/^\/*/,"/"),d=i.useMemo((()=>({basename:u,navigator:a,static:l,future:q({v7_relativeSplatPath:!1},c)})),[u,c,a,l]);"string"==typeof s&&(s=g(s));let{pathname:f="/",search:p="",hash:m="",state:_=null,key:v="default"}=s,y=i.useMemo((()=>{let e=D(f,u);return null==e?null:{location:{pathname:e,search:p,hash:m,state:_,key:v},navigationType:o}}),[u,f,p,m,_,v,o]);return null==y?null:i.createElement(Q.Provider,{value:d},i.createElement(X.Provider,{children:n,value:y}))}function Ee(e){let{children:t,location:n}=e;return oe(Se(t),n)}new Promise((()=>{}));i.Component;function Se(e,t){void 0===t&&(t=[]);let n=[];return i.Children.forEach(e,((e,r)=>{if(!i.isValidElement(e))return;let s=[...t,r];if(e.type===i.Fragment)return void n.push.apply(n,Se(e.props.children,s));e.type!==be&&h(!1),e.props.index&&e.props.children&&h(!1);let o={id:e.props.id||s.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=Se(e.props.children,s)),n.push(o)})),n}function Te(){return Te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Te.apply(this,arguments)}function Ce(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function xe(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const Ae=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(Pb){}new Map;const Ie=s.startTransition;l.flushSync,s.useId;function ke(e){let{basename:t,children:n,future:r,window:s}=e,o=i.useRef();var a;null==o.current&&(o.current=(void 0===(a={window:s,v5Compat:!0})&&(a={}),_((function(e,t){let{pathname:n,search:r,hash:i}=e.location;return p("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:m(t)}),null,a)));let l=o.current,[c,u]=i.useState({action:l.action,location:l.location}),{v7_startTransition:h}=r||{},d=i.useCallback((e=>{h&&Ie?Ie((()=>u(e))):u(e)}),[u,h]);return i.useLayoutEffect((()=>l.listen(d)),[l,d]),i.useEffect((()=>_e(r)),[r]),i.createElement(we,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:l,future:r})}const Pe="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,Ne=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Re=i.forwardRef((function(e,t){let n,{onClick:r,relative:s,reloadDocument:o,replace:a,state:l,target:c,to:u,preventScrollReset:d,viewTransition:f}
1=e,p=Ce(e,Ae),{basename:g}=i.useContext(Q),_=!1;if("string"==typeof u&&Ne.test(u)&&(n=u,Pe))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),n=D(t.pathname,g);t.origin===e.origin&&null!=n?u=n+t.search+t.hash:_=!0}catch(Pb){}let v=function(e,t){let{relative:n}=void 0===t?{}:t;Z()||h(!1);let{basename:r,navigator:s}=i.useContext(Q),{hash:o,pathname:a,search:l}=se(e,{relative:n}),c=a;return"/"!==r&&(c="/"===a?r:U([r,a])),s.createHref({pathname:c,search:l,hash:o})}(u,{relative:s}),y=function(e,t){let{target:n,replace:r,state:s,preventScrollReset:o,relative:a,viewTransition:l}=void 0===t?{}:t,c=ne(),u=ee(),h=se(e,{relative:a});return i.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:m(u)===m(h);c(e,{replace:n,state:s,preventScrollReset:o,relative:a,viewTransition:l})}}),[u,c,h,r,s,n,e,o,a,l])}(u,{replace:a,state:l,target:c,preventScrollReset:d,relative:s,viewTransition:f});return i.createElement("a",Te({},p,{href:n||v,onClick:_||o?r:function(e){r&&r(e),e.defaultPrevented||y(e)},ref:t,target:c}))}));var Oe,De;function Fe(e){let t=i.useRef(xe(e)),n=i.useRef(!1),r=ee(),s=i.useMemo((()=>function(e,t){let n=xe(e);return t&&t.forEach(((e,r)=>{n.has(r)||t.getAll(r).forEach((e=>{n.append(r,e)}))}
1)),n}(r.search,n.current?null:t.current)),[r.search]),o=ne(),a=i.useCallback(((e,t)=>{const r=xe("function"==typeof e?e(s):e);n.current=!0,o("?"+r,t)}),[o,s]);return[s,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Oe||(Oe={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(De||(De={}));const Le=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},je={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i<e.length;i+=3){const t=e[i],s=i+1<e.length,o=s?e[i+1]:0,a=i+2<e.length,l=a?e[i+2]:0,c=t>>2,u=(3&t)<<4|o>>4;let h=(15&o)<<2|l>>6,d=63&l;a||(d=64,s||(h=64)),r.push(n[c],n[u],n[h],n[d])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(Le(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){const t=[];let n=0,r=0;for(;n<e.length;){const i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){const s=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&s)}else if(i>239&&i<365){const s=((7&i)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])-65536;t[r++]=String.fromCharCode(55296+(s>>10)),t[r++]=String.fromCharCode(56320+(1023&s))}else{const s=e[n++],o=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&s)<<6|63&o)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i<e.length;){const t=n[e.charAt(i++)],s=i<e.length?n[e.charAt(i)]:0;++i;const o=i<e.length?n[e.charAt(i)]:64;++i;const a=i<e.length?n[e.charAt(i)]:64;if(++i,null==t||null==s||null==o||null==a)throw new DecodeBase64StringError;const l=t<<2|s>>4;if(r.push(l),64!==o){const e=s<<4&240|o>>2;if(r.push(e),64!==a){const e=o<<6&192|a;r.push(e)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class DecodeBase64StringError extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const Me=function(e){return function(e){const t=Le(e);return je.encodeByteArray(t,!0)}(e).replace(/\./g,"")},Ue=function(e){try{return je.decodeString(e,!0)}catch(Pb){console.error("base64Decode failed: ",Pb)}return null};const Ve=()=>function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__,Be=()=>{try{return Ve()||(()=>{if("undefined"==typeof process)return;const e={NX_APP_FIREBASE_API_KEY:"AIzaSyAqrnh278DkaUjuVEBfLGtZwa0cEtP3n1o",NX_APP_FIREBASE_AUTH_DOMAIN:"shift-89fes2024.firebaseapp.com",NX_APP_FIREBASE_PROJECT_ID:"shift-89fes2024",NX_APP_FIREBASE_STORAGE_BUCKET:"shift-89fes2024.appspot.com",NX_APP_FIREBASE_MESSAGING_SENDER_ID:"170484621347",NX_APP_FIREBASE_APP_ID:"1:170484621347:web:0e749d623ded68ff29d196",NX_APP_FIREBASE_MEASUREMENT_ID:"G-0B5PH9DBTL",NX_APP_ENVIRONMENT:"production",NX_CLI_SET:"true",NX_LOAD_DOT_ENV_FILES:"true",NX_WORKSPACE_ROOT:"/Users/phuc.bui/working/bugfes2024-prod/design-form",NX_TERMINAL_OUTPUT_PATH:"/Users/phuc.bui/working/bugfes2024-prod/design-form/node_modules/.cache/nx/terminalOutputs/5379331968827017544",NX_STREAM_OUTPUT:"true",NX_TASK_TARGET_PROJECT:"shift89fes2024-front",NX_TASK_TARGET_TARGET:"build",NX_TASK_TARGET_CONFIGURATION:"production",NX_TASK_HASH:"5379331968827017544"}.__FIREBASE_DEFAULTS__;return e?JSON.parse(e):void 0})()||(()=>{if("undefined"==typeof document)return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;
vendor: 11,888 bytes, line 1
1]+)/)}catch(Pb){return}const t=e&&Ue(e[1]);return t&&JSON.parse(t)})()}catch(Pb){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${Pb}`)}},$e=()=>{var e;return null===(e=Be())||void 0===e?void 0:e.config};class index_esm2017_Deferred{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}wrapCallback(e){return(t,n)=>{t?this.reject(t):this.resolve(n),"function"==typeof e&&(this.promise.catch((()=>{})),1===e.length?e(t):e(t,n))}}}class index_esm2017_FirebaseError extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name="FirebaseError",Object.setPrototypeOf(this,index_esm2017_FirebaseError.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,ErrorFactory.prototype.create)}}class ErrorFactory{constructor(e,t,n){this.service=e,this.serviceName=t,this.errors=n}create(e,...t){const n=t[0]||{},r=`${this.service}/${e}`,i=this.errors[e],s=i?function(e,t){return e.replace(ze,((e,n)=>{const r=t[n];return null!=r?String(r):`<${n}?>`}))}(i,n):"Error",o=`${this.serviceName}: ${s} (${r}).`;return new index_esm2017_FirebaseError(r,o,n)}}const ze=/\{\$([^}]+)}/g;function He(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);for(const i of n){if(!r.includes(i))return!1;const n=e[i],s=t[i];if(We(n)&&We(s)){if(!He(n,s))return!1}else if(n!==s)return!1}for(const i of r)if(!n.includes(i))return!1;return!0}function We(e){return null!==e&&"object"==typeof e}class index_esm2017_Component{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const qe="[DEFAULT]";class index_esm2017_Provider{constructor(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){const t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){const e=new index_esm2017_Deferred;if(this.instancesDeferred.set(t,e),this.isInitialized(t)||this.shouldAutoInitialize())try{const n=this.getOrInitializeService({instanceIdentifier:t});n&&e.resolve(n)}catch(Pb){}}return this.instancesDeferred.get(t).promise}getImmediate(e){var t;const n=this.normalizeInstanceIdentifier(null==e?void 0:e.identifier),r=null!==(t=null==e?void 0:e.optional)&&void 0!==t&&t;if(!this.isInitialized(n)&&!this.shouldAutoInitialize()){if(r)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:n})}catch(Pb){if(r)return null;throw Pb}}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error(`Mismatching Component ${e.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=e,this.shouldAutoInitialize()){if(function(e){return"EAGER"===e.instantiationMode}(e))try{this.getOrInitializeService({instanceIdentifier:qe})}catch(Pb){}for(const[e,t]of this.instancesDeferred.entries()){const n=this.normalizeInstanceIdentifier(e);try{const e=this.getOrInitializeService({instanceIdentifier:n});t.resolve(e)}catch(Pb){}}}}clearInstance(e=qe){this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}async delete(){const e=Array.from(this.instances.values());await Promise.all([...e.filter((e=>"INTERNAL"in e)).map((e=>e.INTERNAL.delete())),...e.filter((e=>"_delete"in e)).map((e=>e._delete()))])}isComponentSet(){return null!=this.component}isInitialized(e=qe){return this.instances.has(e)}getOptions(e=qe){return this.instancesOptions.get(e)||{}}initialize(e={}){const{options:t={}}=e,n=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(n))throw Error(`${this.name}(${n}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const r=this.getOrInitializeService({instanceIdentifier:n,options:t});for(const[i,s]of this.instancesDeferred.entries()){n===this.normalizeInstanceIdentifier(i)&&s.resolve(r)}return r}onInit(e,t){var n;const r=this.normalizeInstanceIdentifier(t),i=null!==(n=this.onInitCallbacks.get(r))&&void 0!==n?n:new Set;i.add(e),this.onInitCallbacks.set(r,i);const s=this.instances.get(r);return s&&e(s,r),()=>{i.delete(e)}}invokeOnInitCallbacks(e,t){const n=this.onInitCallbacks.get(t);if(n)for(const i of n)try{i(e,t)}catch(r){}}getOrInitializeService({instanceIdentifier:e,options:t={}}){let n=this.instances.get(e);if(!n&&this.component&&(n=this.component.instanceFactory(this.container,{instanceIdentifier:Ke(e),options:t}),this.instances.set(e,n),this.instancesOptions.set(e,t),this.invokeOnInitCallbacks(n,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,n)}catch(r){}return n||null}normalizeInstanceIdentifier(e=qe){return this.component?this.component.multipleInstances?e:qe:e}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}function Ke(e){return e===qe?void 0:e}class index_esm2017_ComponentContainer{constructor(e){this.name=e,this.providers=new Map}addComponent(e){const t=this.getProvider(e.name);if(t.isComponentSet())throw new Error(`Component ${e.name} has already been registered with ${this.name}`);t.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);const t=new index_esm2017_Provider(e,this);return this.providers.set(e,t),t}getProviders(){return Array.from(this.providers.values())}}const Ge=[];var Qe;!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(Qe||(Qe={}));const Xe={debug:Qe.DEBUG,verbose:Qe.VERBOSE,info:Qe.INFO,warn:Qe.WARN,error:Qe.ERROR,silent:Qe.SILENT},Ye=Qe.INFO,Je={[Qe.DEBUG]:"log",[Qe.VERBOSE]:"log",[Qe.INFO]:"info",[Qe.WARN]:"warn",[Qe.ERROR]:"error"},Ze=(e,t,...n)=>{if(t<e.logLevel)return;const r=(new Date).toISOString(),i=Je[t];if(!i)throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`);console[i](`[${r}] ${e.name}:`,...n)};let et,tt;const nt=new WeakMap,rt=new WeakMap,it=new WeakMap,st=new WeakMap,ot=new WeakMap;let at={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return rt.get(e);if("objectStoreNames"===t)return e.objectStoreNames||it.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return ut(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function lt(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(tt||(tt=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(ht(this),t),ut(nt.get(this))}:function(...t){return ut(e.apply(ht(this),t))}:function(t,...n){const r=e.call(ht(this),t,...n);return it.set(r,t.sort?t.sort():[t]),ut(r)}}function ct(e){return"function"==typeof e?lt(e):(e instanceof IDBTransaction&&function(e){if(rt.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",s),e.removeEventListener("abort",s)},i=()=>{t(),r()},s=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",i),e.addEventListener("error",s),e.addEventListener("abort",s)}));rt.set(e,t)}(e),((e,t)=>t.some((t=>e instanceof t)))(e,et||(et=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,at):e)}function ut(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",i),e.removeEventListener("error",s)},i=()=>{t(ut(e.result)),r()},s=()=>{n(e.error),r()};e.addEventListener("success",i),e.addEventListener("error",s)}));return t.then((t=>{t instanceof IDBCursor&&nt.set(t,e)})).catch((()=>{})),ot.set(t,e),t}(e);if(st.has(e))return st.get(e);const t=ct(e);return t!==e&&(st.set(e,t),ot.set(t,e)),t}const ht=e=>ot.get(e);function dt(e,t,{blocked:n,upgrade:r,blocking:i,terminated:s}={}){const o=indexedDB.open(e,t),a=ut(o);return r&&o.addEventListener("upgradeneeded",(e=>{r(ut(o.result),e.oldVersion,e.newVersion,ut(o.transaction),e)})),n&&o.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),a.then((e=>{s&&e.addEventListener("close",(()=>s())),i&&e.addEventListener("versionchange",(e=>i(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),a}const ft=["get","getKey","getAll","getAllKeys","count"],pt=["put","add","delete","clear"],mt=new Map;function gt(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(mt.get(t))return mt.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=pt.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!i&&!ft.includes(n))return;const s=async function(e,...t){const s=this.transaction(e,i?"readwrite":"readonly");let o=s.store;return r&&(o=o.index(t.shift())),(await Promise.all([o[n](...t),i&&s.done]))[0]};return mt.set(t,s),s}at=(e=>({...e,get:(t,n,r)=>gt(t,n)||e.get(t,n,r),has:(t,n)=>!!gt(t,n)||e.has(t,n)}))(at);class PlatformLoggerServiceImpl{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map((e=>{if(function(e){const t=e.getComponent();return"VERSION"===(null==t?void 0:t.type)}(e)){const t=e.getImmediate();return`${t.library}/${t.version}`}return null})).filter((e=>e)).join(" ")}}const _t="@firebase/app",vt="0.11.0",yt=new class Logger{constructor(e){this.name=e,this._logLevel=Ye,this._logHandler=Ze,this._userLogHandler=null,Ge.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in Qe))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?Xe[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,Qe.DEBUG,...e),this._logHandler(this,Qe.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,Qe.VERBOSE,...e),this._logHandler(this,Qe.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,Qe.INFO,...e),this._logHandler(this,Qe.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,Qe.WARN,...e),this._logHandler(this,Qe.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,Qe.ERROR,...e),this._logHandler(this,Qe.ERROR,...e)}}("@firebase/app"),bt="@firebase/app-compat",wt="@firebase/analytics-compat",Et="@firebase/analytics",St="@firebase/app-check-compat",Tt="@firebase/app-check",Ct="@firebase/auth",xt="@firebase/auth-compat",At="@firebase/database",It="@firebase/data-connect",kt="@firebase/database-compat",Pt="@firebase/functions",Nt="@firebase/functions-compat",Rt="@firebase/installations",Ot="@firebase/installations-compat",Dt="@firebase/messaging",Ft="@firebase/messaging-compat",Lt="@firebase/performance",jt="@firebase/performance-compat",Mt="@firebase/remote-config",Ut="@firebase/remote-config-compat",Vt="@firebase/storage",Bt="@firebase/storage-compat",$t="@firebase/firestore",zt="@firebase/vertexai",Ht="@firebase/firestore-compat",Wt="firebase",qt="[DEFAULT]",Kt={[_t]:"fire-core",[bt]:"fire-core-compat",[Et]:"fire-analytics",[
vendor: 1,696 bytes, line 1
1wt]:"fire-analytics-compat",[Tt]:"fire-app-check",[St]:"fire-app-check-compat",[Ct]:"fire-auth",[xt]:"fire-auth-compat",[At]:"fire-rtdb",[It]:"fire-data-connect",[kt]:"fire-rtdb-compat",[Pt]:"fire-fn",[Nt]:"fire-fn-compat",[Rt]:"fire-iid",[Ot]:"fire-iid-compat",[Dt]:"fire-fcm",[Ft]:"fire-fcm-compat",[Lt]:"fire-perf",[jt]:"fire-perf-compat",[Mt]:"fire-rc",[Ut]:"fire-rc-compat",[Vt]:"fire-gcs",[Bt]:"fire-gcs-compat",[$t]:"fire-fst",[Ht]:"fire-fst-compat",[zt]:"fire-vertex","fire-js":"fire-js",[Wt]:"fire-js-all"},Gt=new Map,Qt=new Map,Xt=new Map;function Yt(e,t){try{e.container.addComponent(t)}catch(Pb){yt.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,Pb)}}function Jt(e){const t=e.name;if(Xt.has(t))return yt.debug(`There were multiple attempts to register component ${t}.`),!1;Xt.set(t,e);for(const n of Gt.values())Yt(n,e);for(const n of Qt.values())Yt(n,e);return!0}function Zt(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}function en(e){return null!=e&&void 0!==e.settings}const tn=new ErrorFactory("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
1d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class FirebaseAppImpl{constructor(e,t,n){this._isDeleted=!1,this._options=Object.assign({},e),this._config=Object.assign({},t),this._name=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled,this._container=n,this.container.addComponent(new index_esm2017_Component("app",(()=>this),"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw tn.create("app-deleted",{appName:this._name})}}const nn="11.3.0";function rn(e,t={}){let n=e;if("object"!=typeof t){t={name:t}}const r=Object.assign({name:qt,automaticDataCollectionEnabled:!1},t),i=r.name;if("string"!=typeof i||!i)throw tn.create("bad-app-name",{appName:String(i)});if(n||(n=$e()),!n)throw tn.create("no-options");const s=Gt.get(i);if(s){if(He(n,s.options)&&He(r,s.config))return s;throw tn.create("duplicate-app",{appName:i})}const o=new index_esm2017_ComponentContainer(i);for(const l of Xt.values())o.addComponent(l);const a=new FirebaseAppImpl(n,r,o);return Gt.set(i,a),a}function sn(e=qt){const t=Gt.get(e);if(!t&&e===qt&&$e())return rn();if(!t)throw tn.create("no-app",{appName:e});return t}function on(e,t,n){var r;let i=null!==(r=Kt[e])&&void 0!==r?r:e;n&&(i+=`-${n}`);const s=i.match(/\s|\//),o=t.match(/\s|\//);if(s||o){const e=[`Unable to register library "${i}" with version "${t}":`];return s&&e.push(`library name "${i}" contains illegal characters (whitespace or "/")`),s&&o&&e.push("and"),o&&e.push(`version name "${t}" contains illegal characters (whitespace or "/")`),void yt.warn(e.join(" "))}Jt(new index_esm2017_Component(`${i}-version`,(()=>({library:i,version:t})),"VERSION"))}const an="firebase-heartbeat-store";let ln=null;function cn(){return ln||(ln=dt("firebase-heartbeat-database",1,{upgrade:(e,t)=>{if(0===t)try{e.createObjectStore(an)}catch(Pb){console.warn(Pb)}}}).catch((e=>{throw tn.create("idb-open",{originalErrorMessage:e.message})}))),ln}async function un(e,t){try{const n=(await cn()).transaction(an,"readwrite"),r=n.objectStore(an);await r.put(t,hn(e)),await n.done}catch(Pb){if(Pb instanceof index_esm2017_FirebaseError)yt.warn(Pb.message);else{const t=tn.create("idb-set",{originalErrorMessage:null==Pb?void 0:Pb.message});yt.warn(t.message)}}}function hn(e){return`${e.name}!${e.options.appId}`}class HeartbeatServiceImpl{constructor(e){this.container=e,this._heartbeatsCache=null;const t=this.container.getProvider("app").getImmediate();this._storage=new HeartbeatStorageImpl(t),this._heartbeatsCachePromise=this._storage.read().then((e=>(this._heartbeatsCache=e,e)))}async triggerHeartbeat(){var e,t;try{const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),r=dn();if(null==(null===(e=this._heartbeatsCache)||void 0===e?void 0:e.heartbeats)&&(this._heartbeatsCache=await this._heartbeatsCachePromise,null==(null===(t=this._heartbeatsCache)||void 0===t?void 0:t.heartbeats)))return;if(this._heartbeatsCache.lastSentHeartbeatDate===r||this._heartbeatsCache.heartbeats.some((e=>e.date===r)))return;if(this._heartbeatsCache.heartbeats.push({date:r,agent:n}),this._heartbeatsCache.heartbeats.length>30){const e=function(e){if(0===e.length)return-1;let t=0,n=e[0].date;for(let r=1;r<e.length;r++)e[r].date<n&&(n=e[r].date,t=r);return t}(this._heartbeatsCache.heartbeats);this._heartbeatsCache.heartbeats.splice(e,1)}return this._storage.overwrite(this._heartbeatsCache)}catch(Pb){yt.warn(Pb)}}async getHeartbeatsHeader(){var e;try{if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,null==(null===(e=this._heartbeatsCache)||void 0===e?void 0:e.heartbeats)||0===this._heartbeatsCache.heartbeats.length)return"";const t=dn(),{heartbeatsToSend:n,unsentEntries:r}=function(e,t=1024){const n=[];let r=e.slice();for(const i of e){const e=n.find((e=>e.agent===i.agent));if(e){if(e.dates.push(i.date),fn(n)>t){e.dates.pop();break}}else if(n.push({agent:i.agent,dates:[i.date]}),fn(n)>t){n.pop();break}r=r.slice(1)}return{heartbeatsToSend:n,unsentEntries:r}}(this._heartbeatsCache.heartbeats),i=Me(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=t,r.length>0?(this._heartbeatsCache.heartbeats=r,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}catch(Pb){return yt.warn(Pb),""}}}function dn(){return(new Date).toISOString().substring(0,10)}class HeartbeatStorageImpl{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!function(){try{return"object"==typeof indexedDB}catch(Pb){return!1}}()&&new Promise(((e,t)=>{try{let n=!0;const r="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(r);i.onsuccess=()=>{i.result.close(),n||self.indexedDB.deleteDatabase(r),e(!0)},i.onupgradeneeded=()=>{n=!1},i.onerror=()=>{var e;t((null===(e=i.error)||void 0===e?void 0:e.message)||"")}}catch(mo){t(mo)}})).then((()=>!0)).catch((()=>!1))}async read(){if(await this._canUseIndexedDBPromise){const e=await async function(e){try{const t=(await cn()).transaction(an),n=await t.objectStore(an).get(hn(e));return await t.done,n}catch(Pb){if(Pb instanceof index_esm2017_FirebaseError)yt.warn(Pb.message);else{const t=tn.create("idb-get",{originalErrorMessage:null==Pb?void 0:Pb.message});yt.warn(t.message)}}}(this.app);return(null==e?void 0:e.heartbeats)?e:{heartbeats:[]}}return{heartbeats:[]}}async overwrite(e){var t;if(await this._canUseIndexedDBPromise){const n=await this.read();return un(this.app,{lastSentHeartbeatDate:null!==(t=e.lastSentHeartbeatDate)&&void 0!==t?t:n.lastSentHeartbeatDate,heartbeats:e.heartbeats})}}async add(e){var t;if(await this._canUseIndexedDBPromise){const n=await this.read();return un(this.app,{lastSentHeartbeatDate:null!==(t=e.lastSentHeartbeatDate)&&void 0!==t?t:n.lastSentHeartbeatDate,heartbeats:[...n.heartbeats,...e.heartbeats]})}}}function fn(e){return Me(JSON.stringify({version:2,heartbeats:e})).length}var pn;pn="",Jt(new index_esm2017_Component("platform-logger",(e=>
vendor: 4,576 bytes, line 1
1new PlatformLoggerServiceImpl(e)),"PRIVATE")),Jt(new index_esm2017_Component("heartbeat",(e=>new HeartbeatServiceImpl(e)),"PRIVATE")),on(_t,vt,pn),on(_t,vt,"esm2017"),on("fire-js","");const mn=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},gn={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i<e.length;i+=3){const t=e[i],s=i+1<e.length,o=s?e[i+1]:0,a=i+2<e.length,l=a?e[i+2]:0,c=t>>2,u=(3&t)<<4|o>>4;let h=(15&o)<<2|l>>6,d=63&l;a||(d=64,s||(h=64)),r.push(n[c],n[u],n[h],n[d])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(mn(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){const t=[];let n=0,r=0;for(;n<e.length;){const i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){const s=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&s)}else if(i>239&&i<365){const s=((7&i)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])-65536;t[r++]=String.fromCharCode(55296+(s>>10)),t[r++]=String.fromCharCode(56320+(1023&s))}else{const s=e[n++],o=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&s)<<6|63&o)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i<e.length;){const t=n[e.charAt(i++)],s=i<e.length?n[e.charAt(i)]:0;++i;const o=i<e.length?n[e.charAt(i)]:64;++i;const a=i<e.length?n[e.charAt(i)]:64;if(++i,null==t||null==s||null==o||null==a)throw new index_esm2017_DecodeBase64StringError;const l=t<<2|s>>4;if(r.push(l),64!==o){const e=s<<4&240|o>>2;if(r.push(e),64!==a){const e=o<<6&192|a;r.push(e)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class index_esm2017_DecodeBase64StringError extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const _n=function(e){try{return gn.decodeString(e,!0)}catch(Pb){console.error("base64Decode failed: ",Pb)}return null};const vn=()=>function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__,yn=()=>{try{return vn()||(()=>{if("undefined"==typeof process)return;const e={NX_APP_FIREBASE_API_KEY:"AIzaSyAqrnh278DkaUjuVEBfLGtZwa0cEtP3n1o",NX_APP_FIREBASE_AUTH_DOMAIN:"shift-89fes2024.firebaseapp.com",NX_APP_FIREBASE_PROJECT_ID:"shift-89fes2024",NX_APP_FIREBASE_STORAGE_BUCKET:"shift-89fes2024.appspot.com",NX_APP_FIREBASE_MESSAGING_SENDER_ID:"170484621347",NX_APP_FIREBASE_APP_ID:"1:170484621347:web:0e749d623ded68ff29d196",NX_APP_FIREBASE_MEASUREMENT_ID:"G-0B5PH9DBTL",NX_APP_ENVIRONMENT:"production",NX_CLI_SET:"true",NX_LOAD_DOT_ENV_FILES:"true",NX_WORKSPACE_ROOT:"/Users/phuc.bui/working/bugfes2024-prod/design-form",NX_TERMINAL_OUTPUT_PATH:"/Users/phuc.bui/working/bugfes2024-prod/design-form/node_modules/.cache/nx/terminalOutputs/5379331968827017544",NX_STREAM_OUTPUT:"true",NX_TASK_TARGET_PROJECT:"shift89fes2024-front",NX_TASK_TARGET_TARGET:"build",NX_TASK_TARGET_CONFIGURATION:"production",NX_TASK_HASH:"5379331968827017544"}.__FIREBASE_DEFAULTS__;return e?JSON.parse(e):void 0})()||(()=>{if("undefined"==typeof document)return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;
1]+)/)}catch(Pb){return}const t=e&&_n(e[1]);return t&&JSON.parse(t)})()}catch(Pb){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${Pb}`)}},bn=e=>{var t,n;return null===(n=null===(t=yn())||void 0===t?void 0:t.emulatorHosts)||void 0===n?void 0:n[e]},wn=e=>{var t;return null===(t=yn())||void 0===t?void 0:t[`_${e}`]};function En(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}class dist_index_esm2017_FirebaseError extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name="FirebaseError",Object.setPrototypeOf(this,dist_index_esm2017_FirebaseError.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,index_esm2017_ErrorFactory.prototype.create)}}class index_esm2017_ErrorFactory{constructor(e,t,n){this.service=e,this.serviceName=t,this.errors=n}create(e,...t){const n=t[0]||{},r=`${this.service}/${e}`,i=this.errors[e],s=i?function(e,t){return e.replace(Sn,((e,n)=>{const r=t[n];return null!=r?String(r):`<${n}?>`}))}(i,n):"Error",o=`${this.serviceName}: ${s} (${r}).`;return new dist_index_esm2017_FirebaseError(r,o,n)}}const Sn=/\{\$([^}]+)}/g;function Tn(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);for(const i of n){if(!r.includes(i))return!1;const n=e[i],s=t[i];if(Cn(n)&&Cn(s)){if(!Tn(n,s))return!1}else if(n!==s)return!1}for(const i of r)if(!n.includes(i))return!1;return!0}function Cn(e){return null!==e&&"object"==typeof e}function xn(e){const t=[];for(const[n,r]of Object.entries(e))Array.isArray(r)?r.forEach((e=>{t.push(encodeURIComponent(n)+"="+encodeURIComponent(e))})):t.push(encodeURIComponent(n)+"="+encodeURIComponent(r));return t.length?"&"+t.join("&"):""}function An(e){const t={};return e.replace(/^\?/,"").split("&").forEach((e=>{if(e){const[n,r]=e.split("=");
vendor: 1,494 bytes, line 1
1t[decodeURIComponent(n)]=decodeURIComponent(r)}})),t}function In(e){const t=e.indexOf("?");if(!t)return"";const n=e.indexOf("#",t);return e.substring(t,n>0?n:void 0)}class index_esm2017_ObserverProxy{constructor(e,t){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then((()=>{e(this)})).catch((e=>{this.error(e)}))}next(e){this.forEachObserver((t=>{t.next(e)}))}error(e){this.forEachObserver((t=>{t.error(e)})),this.close(e)}complete(){this.forEachObserver((e=>{e.complete()})),this.close()}subscribe(e,t,n){let r;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");r=function(e,t){if("object"!=typeof e||null===e)return!1;for(const n of t)if(n in e&&"function"==typeof e[n])return!0;return!1}(e,["next","error","complete"])?e:{next:e,error:t,complete:n},void 0===r.next&&(r.next=kn),void 0===r.error&&(r.error=kn),void 0===r.complete&&(r.complete=kn);const i=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then((()=>{try{this.finalError?r.error(this.finalError):r.complete()}catch(Pb){}})),this.observers.push(r),i}unsubscribeOne(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(e){if(!this.finalized)for(let t=0;t<this.observers.length;t++)this.sendOne(t,e)}sendOne(e,t){this.task.then((()=>
1{if(void 0!==this.observers&&void 0!==this.observers[e])try{t(this.observers[e])}catch(Pb){"undefined"!=typeof console&&console.error&&console.error(Pb)}}))}close(e){this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then((()=>{this.observers=void 0,this.onNoObservers=void 0})))}}function kn(){}function Pn(e){return e&&e._delegate?e._delegate:e}const Nn=[];var Rn;!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(Rn||(Rn={}));const On={debug:Rn.DEBUG,verbose:Rn.VERBOSE,info:Rn.INFO,warn:Rn.WARN,error:Rn.ERROR,silent:Rn.SILENT},Dn=Rn.INFO,Fn={[Rn.DEBUG]:"log",[Rn.VERBOSE]:"log",[Rn.INFO]:"info",[Rn.WARN]:"warn",[Rn.ERROR]:"error"},Ln=(e,t,...n)=>{if(t<e.logLevel)return;const r=(new Date).toISOString(),i=Fn[t];if(!i)throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`);console[i](`[${r}] ${e.name}:`,...n)};var jn=function(){return jn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},jn.apply(this,arguments)};function Mn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}Object.create;function Un(e,t,n){if(n||2===arguments.length)for(var r,i=0,s=t.length;i<s;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;class esm_index_esm2017_Component{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}function Vn(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}const Bn=Vn,$n=new index_esm2017_ErrorFactory("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),zn=new class index_esm2017_Logger{constructor(e){this.name=e,this._logLevel=Dn,this._logHandler=Ln,this._userLogHandler=null,Nn.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in Rn))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?On[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,Rn.DEBUG,...e),this._logHandler(this,Rn.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,Rn.VERBOSE,...e),this._logHandler(this,Rn.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,Rn.INFO,...e),this._logHandler(this,Rn.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,Rn.WARN,...e),this._logHandler(this,Rn.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,Rn.ERROR,...e),this._logHandler(this,Rn.ERROR,...e)}}("@firebase/auth");function Hn(e,...t){zn.logLevel<=Rn.ERROR&&zn.error(`Auth (${nn}): ${e}`,...t)}function Wn(e,...t){throw Qn(e,...t)}function qn(e,...t){return Qn(e,...t)}function Kn(e,t,n){const r=Object.assign(Object.assign({},Bn()),{[t]:n});return new index_esm2017_ErrorFactory("auth","Firebase",r).create(t,{appName:e.n
1ame})}function Gn(e){return Kn(e,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function Qn(e,...t){if("string"!=typeof e){const n=t[0],r=[...t.slice(1)];return r[0]&&(r[0].appName=e.name),e._errorFactory.create(n,...r)}return $n.create(e,...t)}function Xn(e,t,...n){if(!e)throw Qn(t,...n)}function Yn(e){const t="INTERNAL ASSERTION FAILED: "+e;throw Hn(t),new Error(t)}function Jn(e,t){e||Yn(t)}function Zn(){var e;return"undefined"!=typeof self&&(null===(e=self.location)||void 0===e?void 0:e.href)||""}function er(){return"http:"===tr()||"https:"===tr()}function tr(){var e;return"undefined"!=typeof self&&(null===(e=self.location)||void 0===e?void 0:e.protocol)||null}function nr(){return!("undefined"!=typeof navigator&&navigator&&"onLine"in navigator&&"boolean"==typeof navigator.onLine&&(er()||function(){const e="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof e&&void 0!==e.id}()||"connection"in navigator))||navigator.onLine}class Delay{constructor(e,t){this.shortDelay=e,this.longDelay=t,Jn(t>e,"Short delay should be less than long delay!"),this.isMobile="undefined"!=typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(En())||"object"==typeof navigator&&"ReactNative"===navigator.product}get(){return nr()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}function rr(e,t){Jn(e.emulator,"Emulator should always be set here");const{url:n}=e.emulator;return t?`${n}${t.startsWith("/")?t.slice(1):t}`:n}class FetchProvider{static initialize(e,t,n){this.fetchImpl=e,t&&(this.headersImpl=t),n&&(this.responseImpl=n)}static fetch(){return this.fetchImpl?this.fetchImpl:"undefined"!=typeof self&&"fetch"in self?self.fetch:"undefined"!=typeof globalThis&&globalThis.fetch?globalThis.fetch:"undefined"!=typeof fetch?fetch:void Yn("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:"undefined"!=typeof self&&"Headers"in self?self.Headers:"undefined"!=typeof globalThis&&globalThis.Headers?globalThis.Headers:"undefined"!=typeof Headers?Headers:void Yn("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:"undefined"!=typeof self&&"Response"in self?self.Response:"undefined"!=typeof globalThis&&globalThis.Response?globalThis.Response:"undefined"!=typeof Response?Response:void Yn("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const ir={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-rec
1aptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},sr=new Delay(3e4,6e4);function or(e,t){return e.tenantId&&!t.tenantId?Object.assign(Object.assign({},t),{tenantId:e.tenantId}):t}async function ar(e,t,n,r,i={}){return lr(e,i,(async()=>{let i={},s={};r&&("GET"===t?s=r:i={body:JSON.stringify(r)});const o=xn(Object.assign({key:e.config.apiKey},s)).slice(1),a=await e._getAdditionalHeaders();a["Content-Type"]="application/json",e.languageCode&&(a["X-Firebase-Locale"]=e.languageCode);const l=Object.assign({method:t,headers:a},i);return"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||(l.referrerPolicy="no-referrer"),FetchProvider.fetch()(ur(e,e.config.apiHost,n,o),l)}))}async function lr(e,t,n){e._canInitEmulator=!1;const r=Object.assign(Object.assign({},ir),t);try{const t=new NetworkTimeout(e),i=await Promise.race([n(),t.promise]);t.clearNetworkTimeout();const s=await i.json();if("needConfirmation"in s)throw dr(e,"account-exists-with-different-credential",s);if(i.ok&&!("errorMessage"in s))return s;{const t=i.ok?s.errorMessage:s.error.message,[n,o]=t.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===n)throw dr(e,"credential-already-in-use",s);if("EMAIL_EXISTS"===n)throw dr(e,"email-already-in-use",s);if("USER_DISABLED"===n)throw dr(e,"user-disabled",s);const a=r[n]||n.toLowerCase().replace(/[_\s]+/g,"-");if(o)throw Kn(e,a,o);Wn(e,a)}}catch(Pb){if(Pb instanceof dist_index_esm2017_FirebaseError)throw Pb;Wn(e,"network-request-failed",{message:String(Pb)})}}async function cr(e,t,n,r,i={}){const s=await ar(e,t,n,r,i);return"mfaPendingCredential"in s&&Wn(e,"multi-factor-auth-required",{_serverResponse:s}),s}function ur(e,t,n,r){const i=`${t}${n}?${r}`;return e.config.emulator?rr(e.config,i):`${e.config.apiScheme}://${i}`}function hr(e){switch(e){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}class NetworkTimeout{clearNetworkTimeout(){clearTimeout(this.timer)}constructor(e){this.auth=e,this.timer=null,this.promise=new Promise(((e,t)=>{this.timer=setTimeout((()=>t(qn(this.auth,"network-request-failed"))),sr.get())}))}}function dr(e,t,n){const r={appName:e.name};n.email&&(r.email=n.email),n.phoneNumber&&(r.phoneNumber=n.phoneNumber);const i=qn(e,t,r);return i.customData._tokenResponse=n,i}function fr(e){return void 0!==e&&void 0!==e.enterprise}class RecaptchaConfig{constructor(e){if(this.siteKey="",this.recaptchaEnforcementState=[],void 0===e.recaptchaKey)throw new Error("recaptchaKey undefined");this.siteKey=e.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=e.recaptchaEnforcementState}getProviderEnforcementState(e){if(!this.recaptchaEnforcementState||0===this.recaptchaEnforcementState.length)return null;for(const t of this.recaptchaEnforcementState)if(t.provider&&t.provider===e)return hr(t.enforcementState);return null}isProviderEnabled(e){return"ENFORCE"===this.getProviderEnforcementState(e)||"AUDIT"===this.getProviderEnforcementState(e)}isAnyProviderEnabled(){return this.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")||this.isProviderEnabled("PHONE_PROVIDER")}}async function pr(e,t){return ar(e,"GET","/v2/recaptchaConfig",or
vendor: 29,784 bytes, line 1
1(e,t))}async function mr(e,t){return ar(e,"POST","/v1/accounts:lookup",t)}function gr(e){if(e)try{const t=new Date(Number(e));if(!isNaN(t.getTime()))return t.toUTCString()}catch(Pb){}}function _r(e){return 1e3*Number(e)}function vr(e){const[t,n,r]=e.split(".");if(void 0===t||void 0===n||void 0===r)return Hn("JWT malformed, contained fewer than 3 sections"),null;try{const e=_n(n);return e?JSON.parse(e):(Hn("Failed to decode base64 JWT payload"),null)}catch(Pb){return Hn("Caught error parsing JWT payload as JSON",null==Pb?void 0:Pb.toString()),null}}function yr(e){const t=vr(e);return Xn(t,"internal-error"),Xn(void 0!==t.exp,"internal-error"),Xn(void 0!==t.iat,"internal-error"),Number(t.exp)-Number(t.iat)}async function wr(e,t,n=!1){if(n)return t;try{return await t}catch(Pb){throw Pb instanceof dist_index_esm2017_FirebaseError&&function({code:e}){return"auth/user-disabled"===e||"auth/user-token-expired"===e}(Pb)&&e.auth.currentUser===e&&await e.auth.signOut(),Pb}}class ProactiveRefresh{constructor(e){this.user=e,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(e){var t;if(e){const e=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),e}{this.errorBackoff=3e4;const e=(null!==(t=this.user.stsTokenManager.expirationTime)&&void 0!==t?t:0)-Date.now()-3e5;return Math.max(0,e)}}schedule(e=!1){if(!this.isRunning)return;const t=this.getInterval(e);this.timerId=setTimeout((async()=>{await this.iteration()}),t)}async iteration(){try{await this.user.getIdToken(!0)}catch(Pb){return void("auth/network-request-failed"===(null==Pb?void 0:Pb.code)&&this.schedule(!0))}this.schedule()}}class UserMetadata{constructor(e,t){this.createdAt=e,this.lastLoginAt=t,this._initializeTime()}_initializeTime(){this.lastSignInTime=gr(this.lastLoginAt),this.creationTime=gr(this.createdAt)}_copy(e){this.createdAt=e.createdAt,this.lastLoginAt=e.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}async function Er(e){var t;const n=e.auth,r=await e.getIdToken(),i=await wr(e,mr(n,{idToken:r}));Xn(null==i?void 0:i.users.length,n,"internal-error");const s=i.users[0];e._notifyReloadListener(s);const o=(null===(t=s.providerUserInfo)||void 0===t?void 0:t.length)?Sr(s.providerUserInfo):[],a=(l=e.providerData,c=o,[...l.filter((e=>!c.some((t=>t.providerId===e.providerId)))),...c]);var l,c;const u=e.isAnonymous,h=!(e.email&&s.passwordHash||(null==a?void 0:a.length)),d=!!u&&h,f={uid:s.localId,displayName:s.displayName||null,photoURL:s.photoUrl||null,email:s.email||null,emailVerified:s.emailVerified||!1,phoneNumber:s.phoneNumber||null,tenantId:s.tenantId||null,providerData:a,metadata:new UserMetadata(s.createdAt,s.lastLoginAt),isAnonymous:d};Object.assign(e,f)}function Sr(e){return e.map((e=>{var{providerId:t}=e,n=Mn(e,["providerId"]);return{providerId:t,uid:n.rawId||"",displayName:n.displayName||null,email:n.email||null,phoneNumber:n.phoneNumber||null,photoURL:n.photoUrl||null}}))}class StsTokenManager{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(e){Xn(e.idToken,"internal-error"),Xn(void 0!==e.idToken,"internal-error"),Xn(void 0!==e.refreshToken,"internal-error");const t="expiresIn"in e&&void 0!==e.expiresIn?Number(e.expiresIn):yr(e.idToken);this.updateTokensAndExpiration(e.idToken,e.refreshToken,t)}updateFromIdToken(e){Xn(0!==e.length,"internal-error");const t=yr(e);this.updateTokensAndExpiration(e,null,t)}async getToken(e,t=!1){return t||!this.accessToken||this.isExpired?(Xn(this.refreshToken,e,"user-token-expired"),this.refreshToken?(await this.refresh(e,this.refreshToken),this.accessToken):null):this.accessToken}clearRefreshToken(){this.refreshToken=null}async refresh(e,t){const{accessToken:n,refreshToken:r,expiresIn:i}=await async function(e,t){const n=await lr(e,{},(async()=>{const n=xn({grant_type:"refresh_token",refresh_token:t}).slice(1),{tokenApiHost:r,apiKey:i}=e.config,s=ur(e,r,"/v1/token",`key=${i}`),o=await e._getAdditionalHeaders();return o["Content-Type"]="application/x-www-form-urlencoded",FetchProvider.fetch()(s,{method:"POST",headers:o,body:n})}));return{accessToken:n.access_token,expiresIn:n.expires_in,refreshToken:n.refresh_token}}(e,t);this.updateTokensAndExpiration(n,r,Number(i))}updateTokensAndExpiration(e,t,n){this.refreshToken=t||null,this.accessToken=e||null,this.expirationTime=Date.now()+1e3*n}static fromJSON(e,t){const{refreshToken:n,accessToken:r,expirationTime:i}=t,s=new StsTokenManager;return n&&(Xn("string"==typeof n,"internal-error",{appName:e}),s.refreshToken=n),r&&(Xn("string"==typeof r,"internal-error",{appName:e}),s.accessToken=r),i&&(Xn("number"==typeof i,"internal-error",{appName:e}),s.expirationTime=i),s}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(e){this.accessToken=e.accessToken,this.refreshToken=e.refreshToken,this.expirationTime=e.expirationTime}_clone(){return Object.assign(new StsTokenManager,this.toJSON())}_performRefresh(){return Yn("not implemented")}}function Tr(e,t){Xn("string"==typeof e||void 0===e,"internal-error",{appName:t})}class UserImpl{constructor(e){var{uid:t,auth:n,stsTokenManager:r}=e,i=Mn(e,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new ProactiveRefresh(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=t,this.auth=n,this.stsTokenManager=r,this.accessToken=r.accessToken,this.displayName=i.displayName||null,this.email=i.email||null,this.emailVerified=i.emailVerified||!1,this.phoneNumber=i.phoneNumber||null,this.photoURL=i.photoURL||null,this.isAnonymous=i.isAnonymous||!1,this.tenantId=i.tenantId||null,this.providerData=i.providerData?[...i.providerData]:[],this.metadata=new UserMetadata(i.createdAt||void 0,i.lastLoginAt||void 0)}async getIdToken(e){const t=await wr(this,this.stsTokenManager.getToken(this.auth,e));return Xn(t,this.auth,"internal-error"),this.accessToken!==t&&(this.accessToken=t,await this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),t}getIdTokenResult(e){return async function(e,t=!1){const n=Pn(e),r=await n.getIdToken(t),i=vr(r);Xn(i&&i.exp&&i.auth_time&&i.iat,n.auth,"internal-error");const s="object"==typeof i.firebase?i.firebase:void 0,o=null==s?void 0:s.sign_in_provider;return{claims:i,token:r,authTime:gr(_r(i.auth_time)),issuedAtTime:gr(_r(i.iat)),expirationTime:gr(_r(i.exp)),signInProvider:o||null,signInSecondFactor:(null==s?void 0:s.sign_in_second_factor)||null}}(this,e)}reload(){return async function(e){const t=Pn(e);await Er(t),await t.auth._persistUserIfCurrent(t),t.auth._notifyListenersIfCurrent(t)}(this)}_assign(e){this!==e&&(Xn(this.uid===e.uid,this.auth,"internal-error"),this.displayName=e.displayName,this.photoURL=e.photoURL,this.email=e.email,this.emailVerified=e.emailVerified,this.phoneNumber=e.phoneNumber,this.isAnonymous=e.isAnonymous,this.tenantId=e.tenantId,this.providerData=e.providerData.map((e=>Object.assign({},e))),this.metadata._copy(e.metadata),this.stsTokenManager._assign(e.stsTokenManager))}_clone(e){const t=new UserImpl(Object.assign(Object.assign({},this),{auth:e,stsTokenManager:this.stsTokenManager._clone()}));return t.metadata._copy(this.metadata),t}_onReload(e){Xn(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=e,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(e){this.reloadListener?this.reloadListener(e):this.reloadUserInfo=e}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}async _updateTokensIfNecessary(e,t=!1){let n=!1;e.idToken&&e.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(e),n=!0),t&&await Er(this),await this.auth._persistUserIfCurrent(this),n&&this.auth._notifyListenersIfCurrent(this)}async delete(){if(en(this.auth.app))return Promise.reject(Gn(this.auth));const e=await this.getIdToken();return await wr(this,async function(e,t){return ar(e,"POST","/v1/accounts:delete",t)}(this.auth,{idToken:e})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map((e=>Object.assign({},e))),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(e,t){var n,r,i,s,o,a,l,c;const u=null!==(n=t.displayName)&&void 0!==n?n:void 0,h=null!==(r=t.email)&&void 0!==r?r:void 0,d=null!==(i=t.phoneNumber)&&void 0!==i?i:void 0,f=null!==(s=t.photoURL)&&void 0!==s?s:void 0,p=null!==(o=t.tenantId)&&void 0!==o?o:void 0,m=null!==(a=t._redirectEventId)&&void 0!==a?a:void 0,g=null!==(l=t.createdAt)&&void 0!==l?l:void 0,_=null!==(c=t.lastLoginAt)&&void 0!==c?c:void 0,{uid:v,emailVerified:y,isAnonymous:b,providerData:w,stsTokenManager:E}=t;Xn(v&&E,e,"internal-error");const S=StsTokenManager.fromJSON(this.name,E);Xn("string"==typeof v,e,"internal-error"),Tr(u,e.name),Tr(h,e.name),Xn("boolean"==typeof y,e,"internal-error"),Xn("boolean"==typeof b,e,"internal-error"),Tr(d,e.name),Tr(f,e.name),Tr(p,e.name),Tr(m,e.name),Tr(g,e.name),Tr(_,e.name);const T=new UserImpl({uid:v,auth:e,email:h,emailVerified:y,displayName:u,isAnonymous:b,photoURL:f,phoneNumber:d,tenantId:p,stsTokenManager:S,createdAt:g,lastLoginAt:_});return w&&Array.isArray(w)&&(T.providerData=w.map((e=>Object.assign({},e)))),m&&(T._redirectEventId=m),T}static async _fromIdTokenResponse(e,t,n=!1){const r=new StsTokenManager;r.updateFromServerResponse(t);const i=new UserImpl({uid:t.localId,auth:e,stsTokenManager:r,isAnonymous:n});return await Er(i),i}static async _fromGetAccountInfoResponse(e,t,n){const r=t.users[0];Xn(void 0!==r.localId,"internal-error");const i=void 0!==r.providerUserInfo?Sr(r.providerUserInfo):[],s=!(r.email&&r.passwordHash||(null==i?void 0:i.length)),o=new StsTokenManager;o.updateFromIdToken(n);const a=new UserImpl({uid:r.localId,auth:e,stsTokenManager:o,isAnonymous:s}),l={uid:r.localId,displayName:r.displayName||null,photoURL:r.photoUrl||null,email:r.email||null,emailVerified:r.emailVerified||!1,phoneNumber:r.phoneNumber||null,tenantId:r.tenantId||null,providerData:i,metadata:new UserMetadata(r.createdAt,r.lastLoginAt),isAnonymous:!(r.email&&r.passwordHash||(null==i?void 0:i.length))};return Object.assign(a,l),a}}const Cr=new Map;function xr(e){Jn(e instanceof Function,"Expected a class definition");let t=Cr.get(e);return t?(Jn(t instanceof e,"Instance stored in cache mismatched with class"),t):(t=new e,Cr.set(e,t),t)}class InMemoryPersistence{constructor(){this.type="NONE",this.storage={}}async _isAvailable(){return!0}async _set(e,t){this.storage[e]=t}async _get(e){const t=this.storage[e];return void 0===t?null:t}async _remove(e){delete this.storage[e]}_addListener(e,t){}_removeListener(e,t){}}InMemoryPersistence.type="NONE";const Ar=InMemoryPersistence;function Ir(e,t,n){return`firebase:${e}:${t}:${n}`}class PersistenceUserManager{constructor(e,t,n){this.persistence=e,this.auth=t,this.userKey=n;const{config:r,name:i}=this.auth;this.fullUserKey=Ir(this.userKey,r.apiKey,i),this.fullPersistenceKey=Ir("persistence",r.apiKey,i),this.boundEventHandler=t._onStorageEvent.bind(t),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(e){return this.persistence._set(this.fullUserKey,e.toJSON())}async getCurrentUser(){const e=await this.persistence._get(this.fullUserKey);return e?UserImpl._fromJSON(this.auth,e):null}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}async setPersistence(e){if(this.persistence===e)return;const t=await this.getCurrentUser();return await this.removeCurrentUser(),this.persistence=e,t?this.setCurrentUser(t):void 0}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static async create(e,t,n="authUser"){if(!t.length)return new PersistenceUserManager(xr(Ar),e,n);const r=(await Promise.all(t.map((async e=>{if(await e._isAvailable())return e})))).filter((e=>e));let i=r[0]||xr(Ar);const s=Ir(n,e.config.apiKey,e.name);let o=null;for(const c of t)try{const t=await c._get(s);if(t){const n=UserImpl._fromJSON(e,t);c!==i&&(o=n),i=c;break}}catch(l){}const a=r.filter((e=>e._shouldAllowMigration));return i._shouldAllowMigration&&a.length?(i=a[0],o&&await i._set(s,o.toJSON()),await Promise.all(t.map((async e=>{if(e!==i)try{await e._remove(s)}catch(l){}}))),new PersistenceUserManager(i,e,n)):new PersistenceUserManager(i,e,n)}}function kr(e){const t=e.toLowerCase();if(t.includes("opera/")||t.includes("opr/")||t.includes("opios/"))return"Opera";if(Or(t))return"IEMobile";if(t.includes("msie")||t.includes("trident/"))return"IE";if(t.includes("edge/"))return"Edge";if(Pr(t))return"Firefox";if(t.includes("silk/"))return"Silk";if(Fr(t))return"Blackberry";if(Lr(t))return"Webos";if(Nr(t))return"Safari";if((t.includes("chrome/")||Rr(t))&&!t.includes("edge/"))return"Chrome";if(Dr(t))return"Android";{const t=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,n=e.match(t);if(2===(null==n?void 0:n.length))return n[1]}return"Other"}function Pr(e=En()){return/firefox\//i.test(e)}function Nr(e=En()){const t=e.toLowerCase();return t.includes("safari/")&&!t.includes("chrome/")&&!t.includes("crios/")&&!t.includes("android")}function Rr(e=En()){return/crios\//i.test(e)}function Or(e=En()){return/iemobile/i.test(e)}function Dr(e=En()){return/android/i.test(e)}function Fr(e=En()){return/blackberry/i.test(e)}function Lr(e=En()){return/webos/i.test(e)}function jr(e=En()){return/iphone|ipad|ipod/i.test(e)||/macintosh/i.test(e)&&/mobile/i.test(e)}function Mr(){return function(){const e=En();return e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0}()&&10===document.documentMode}function Ur(e=En()){return jr(e)||Dr(e)||Lr(e)||Fr(e)||/windows phone/i.test(e)||Or(e)}function Vr(e,t=[]){let n;switch(e){case"Browser":n=kr(En());break;case"Worker":n=`${kr(En())}-${e}`;break;default:n=e}const r=t.length?t.join(","):"FirebaseCore-web";return`${n}/JsCore/${nn}/${r}`}class AuthMiddlewareQueue{constructor(e){this.auth=e,this.queue=[]}pushCallback(e,t){const n=t=>new Promise(((n,r)=>{try{n(e(t))}catch(Pb){r(Pb)}}));n.onAbort=t,this.queue.push(n);const r=this.queue.length-1;return()=>{this.queue[r]=()=>Promise.resolve()}}async runMiddleware(e){if(this.auth.currentUser===e)return;const t=[];try{for(const n of this.queue)await n(e),n.onAbort&&t.push(n.onAbort)}catch(Pb){t.reverse();for(const n of t)try{n()}catch(Ry){}throw this.auth._errorFactory.create("login-blocked",{originalMessage:null==Pb?void 0:Pb.message})}}}class PasswordPolicyImpl{constructor(e){var t,n,r,i;const s=e.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=null!==(t=s.minPasswordLength)&&void 0!==t?t:6,s.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=s.maxPasswordLength),void 0!==s.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=s.containsLowercaseCharacter),void 0!==s.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=s.containsUppercaseCharacter),void 0!==s.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=s.containsNumericCharacter),void 0!==s.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=s.containsNonAlphanumericCharacter),this.enforcementState=e.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=null!==(r=null===(n=e.allowedNonAlphanumericCharacters)||void 0===n?void 0:n.join(""))&&void 0!==r?r:"",this.forceUpgradeOnSignin=null!==(i=e.forceUpgradeOnSignin)&&void 0!==i&&i,this.schemaVersion=e.schemaVersion}validatePassword(e){var t,n,r,i,s,o;const a={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(e,a),this.validatePasswordCharacterOptions(e,a),a.isValid&&(a.isValid=null===(t=a.meetsMinPasswordLength)||void 0===t||t),a.isValid&&(a.isValid=null===(n=a.meetsMaxPasswordLength)||void 0===n||n),a.isValid&&(a.isValid=null===(r=a.containsLowercaseLetter)||void 0===r||r),a.isValid&&(a.isValid=null===(i=a.containsUppercaseLetter)||void 0===i||i),a.isValid&&(a.isValid=null===(s=a.containsNumericCharacter)||void 0===s||s),a.isValid&&(a.isValid=null===(o=a.containsNonAlphanumericCharacter)||void 0===o||o),a}validatePasswordLengthOptions(e,t){const n=this.customStrengthOptions.minPasswordLength,r=this.customStrengthOptions.maxPasswordLength;n&&(t.meetsMinPasswordLength=e.length>=n),r&&(t.meetsMaxPasswordLength=e.length<=r)}validatePasswordCharacterOptions(e,t){let n;this.updatePasswordCharacterOptionsStatuses(t,!1,!1,!1,!1);for(let r=0;r<e.length;r++)n=e.charAt(r),this.updatePasswordCharacterOptionsStatuses(t,n>="a"&&n<="z",n>="A"&&n<="Z",n>="0"&&n<="9",this.allowedNonAlphanumericCharacters.includes(n))}updatePasswordCharacterOptionsStatuses(e,t,n,r,i){this.customStrengthOptions.containsLowercaseLetter&&(e.containsLowercaseLetter||(e.containsLowercaseLetter=t)),this.customStrengthOptions.containsUppercaseLetter&&(e.containsUppercaseLetter||(e.containsUppercaseLetter=n)),this.customStrengthOptions.containsNumericCharacter&&(e.containsNumericCharacter||(e.containsNumericCharacter=r)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(e.containsNonAlphanumericCharacter||(e.containsNonAlphanumericCharacter=i))}}class AuthImpl{constructor(e,t,n,r){this.app=e,this.heartbeatServiceProvider=t,this.appCheckServiceProvider=n,this.config=r,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new Subscription(this),this.idTokenSubscription=new Subscription(this),this.beforeStateQueue=new AuthMiddlewareQueue(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=$n,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=e.name,this.clientVersion=r.sdkClientVersion}_initializeWithPersistence(e,t){return t&&(this._popupRedirectResolver=xr(t)),this._initializationPromise=this.queue((async()=>{var n,r;if(!this._deleted&&(this.persistenceManager=await PersistenceUserManager.create(this,e),!this._deleted)){if(null===(n=this._popupRedirectResolver)||void 0===n?void 0:n._shouldInitProactively)try{await this._popupRedirectResolver._initialize(this)}catch(Pb){}await this.initializeCurrentUser(t),this.lastNotifiedUid=(null===(r=this.currentUser)||void 0===r?void 0:r.uid)||null,this._deleted||(this._isInitialized=!0)}})),this._initializationPromise}async _onStorageEvent(){if(this._deleted)return;const e=await this.assertedPersistence.getCurrentUser();return this.currentUser||e?this.currentUser&&e&&this.currentUser.uid===e.uid?(this._currentUser._assign(e),void(await this.currentUser.getIdToken())):void(await this._updateCurrentUser(e,!0)):void 0}async initializeCurrentUserFromIdToken(e){try{const t=await mr(this,{idToken:e}),n=await UserImpl._fromGetAccountInfoResponse(this,t,e);await this.directlySetCurrentUser(n)}catch(t){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",t),await this.directlySetCurrentUser(null)}}async initializeCurrentUser(e){var t;if(en(this.app)){const e=this.app.settings.authIdToken;return e?new Promise((t=>{setTimeout((()=>this.initializeCurrentUserFromIdToken(e).then(t,t)))})):this.directlySetCurrentUser(null)}const n=await this.assertedPersistence.getCurrentUser();let r=n,i=!1;if(e&&this.config.authDomain){await this.getOrInitRedirectPersistenceManager();const n=null===(t=this.redirectUser)||void 0===t?void 0:t._redirectEventId,s=null==r?void 0:r._redirectEventId,o=await this.tryRedirectSignIn(e);n&&n!==s||!(null==o?void 0:o.user)||(r=o.user,i=!0)}if(!r)return this.directlySetCurrentUser(null);if(!r._redirectEventId){if(i)try{await this.beforeStateQueue.runMiddleware(r)}catch(Pb){r=n,this._popupRedirectResolver._overrideRedirectResult(this,(()=>Promise.reject(Pb)))}return r?this.reloadAndSetCurrentUserOrClear(r):this.directlySetCurrentUser(null)}return Xn(this._popupRedirectResolver,this,"argument-error"),await this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===r._redirectEventId?this.directlySetCurrentUser(r):this.reloadAndSetCurrentUserOrClear(r)}async tryRedirectSignIn(e){let t=null;try{t=await this._popupRedirectResolver._completeRedirectFn(this,e,!0)}catch(Pb){await this._setRedirectUser(null)}return t}async reloadAndSetCurrentUserOrClear(e){try{await Er(e)}catch(Pb){if("auth/network-request-failed"!==(null==Pb?void 0:Pb.code))return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(e)}useDeviceLanguage(){this.languageCode=function(){if("undefined"==typeof navigator)return null;const e=navigator;return e.languages&&e.languages[0]||e.language||null}()}async _delete(){this._deleted=!0}async updateCurrentUser(e){if(en(this.app))return Promise.reject(Gn(this));const t=e?Pn(e):null;return t&&Xn(t.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(t&&t._clone(this))}async _updateCurrentUser(e,t=!1){if(!this._deleted)return e&&Xn(this.tenantId===e.tenantId,this,"tenant-id-mismatch"),t||await this.beforeStateQueue.runMiddleware(e),this.queue((async()=>{await this.directlySetCurrentUser(e),this.notifyAuthListeners()}))}async signOut(){return en(this.app)?Promise.reject(Gn(this)):(await this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&await this._setRedirectUser(null),this._updateCurrentUser(null,!0))}setPersistence(e){return en(this.app)?Promise.reject(Gn(this)):this.queue((async()=>{await this.assertedPersistence.setPersistence(xr(e))}))}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}async validatePassword(e){this._getPasswordPolicyInternal()||await this._updatePasswordPolicy();const t=this._getPasswordPolicyInternal();return t.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):t.validatePassword(e)}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}async _updatePasswordPolicy(){const e=await async function(e,t={}){return ar(e,"GET","/v2/passwordPolicy",or(e,t))}(this),t=new PasswordPolicyImpl(e);null===this.tenantId?this._projectPasswordPolicy=t:this._tenantPasswordPolicies[this.tenantId]=t}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(e){this._errorFactory=new index_esm2017_ErrorFactory("auth","Firebase",e())}onAuthStateChanged(e,t,n){return this.registerStateListener(this.authStateSubscription,e,t,n)}beforeAuthStateChanged(e,t){return this.beforeStateQueue.pushCallback(e,t)}onIdTokenChanged(e,t,n){return this.registerStateListener(this.idTokenSubscription,e,t,n)}authStateReady(){return new Promise(((e,t)=>{if(this.currentUser)e();else{const n=this.onAuthStateChanged((()=>{n(),e()}),t)}}))}async revokeAccessToken(e){if(this.currentUser){const t={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:e,idToken:await this.currentUser.getIdToken()};null!=this.tenantId&&(t.tenantId=this.tenantId),await async function(e,t){return ar(e,"POST","/v2/accounts:revokeToken",or(e,t))}(this,t)}}toJSON(){var e;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:null===(e=this._currentUser)||void 0===e?void 0:e.toJSON()}}async _setRedirectUser(e,t){const n=await this.getOrInitRedirectPersistenceManager(t);return null===e?n.removeCurrentUser():n.setCurrentUser(e)}async getOrInitRedirectPersistenceManager(e){if(!this.redirectPersistenceManager){const t=e&&xr(e)||this._popupRedirectResolver;Xn(t,this,"argument-error"),this.redirectPersistenceManager=await PersistenceUserManager.create(this,[xr(t._redirectPersistence)],"redirectUser"),this.redirectUser=await this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager}async _redirectUserForId(e){var t,n;return this._isInitialized&&await this.queue((async()=>{})),(null===(t=this._currentUser)||void 0===t?void 0:t._redirectEventId)===e?this._currentUser:(null===(n=this.redirectUser)||void 0===n?void 0:n._redirectEventId)===e?this.redirectUser:null}async _persistUserIfCurrent(e){if(e===this.currentUser)return this.queue((async()=>this.directlySetCurrentUser(e)))}_notifyListenersIfCurrent(e){e===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var e,t;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const n=null!==(t=null===(e=this.currentUser)||void 0===e?void 0:e.uid)&&void 0!==t?t:null;this.lastNotifiedUid!==n&&(this.lastNotifiedUid=n,this.authStateSubscription.next(this.currentUser))}registerStateListener(e,t,n,r){if(this._deleted)return()=>{};const i="function"==typeof t?t:t.next.bind(t);let s=!1;const o=this._isInitialized?Promise.resolve():this._initializationPromise;if(Xn(o,this,"internal-error"),o.then((()=>{s||i(this.currentUser)})),"function"==typeof t){const i=e.addObserver(t,n,r);return()=>{s=!0,i()}}{const n=e.addObserver(t);return()=>{s=!0,n()}}}async directlySetCurrentUser(e){this.currentUser&&this.currentUser!==e&&this._currentUser._stopProactiveRefresh(),e&&this.isProactiveRefreshEnabled&&e._startProactiveRefresh(),this.currentUser=e,e?await this.assertedPersistence.setCurrentUser(e):await this.assertedPersistence.removeCurrentUser()}queue(e){return this.operations=this.operations.then(e,e),this.operations}get assertedPersistence(){return Xn(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(e){e&&!this.frameworks.includes(e)&&(this.frameworks.push(e),this.frameworks.sort(),this.clientVersion=Vr(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}async _getAdditionalHeaders(){var e;const t={"X-Client-Version":this.clientVersion};this.app.options.appId&&(t["X-Firebase-gmpid"]=this.app.options.appId);const n=await(null===(e=this.heartbeatServiceProvider.getImmediate({optional:!0}))||void 0===e?void 0:e.getHeartbeatsHeader());n&&(t["X-Firebase-Client"]=n);const r=await this._getAppCheckToken();return r&&(t["X-Firebase-AppCheck"]=r),t}async _getAppCheckToken(){var e;if(en(this.app)&&this.app.settings.appCheckToken)return this.app.settings.appCheckToken;const t=await(null===(e=this.appCheckServiceProvider.getImmediate({optional:!0}))||void 0===e?void 0:e.getToken());return(null==t?void 0:t.error)&&function(e,...t){zn.logLevel<=Rn.WARN&&zn.warn(`Auth (${nn}): ${e}`,...t)}(`Error while retrieving App Check token: ${t.error}`),null==t?void 0:t.token}}function Br(e){return Pn(e)}class Subscription{constructor(e){this.auth=e,this.observer=null,this.addObserver=function(e,t){const n=new index_esm2017_ObserverProxy(e,t);return n.subscribe.bind(n)}((e=>this.observer=e))}get next(){return Xn(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}let $r={async loadJS(){throw new Error("Unable to load external scripts")},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function zr(e){return $r.loadJS(e)}function Hr(e){return`__${e}${Math.floor(1e6*Math.random())}`}class MockGreCAPTCHATopLevel{constructor(){this.enterprise=new MockGreCAPTCHA}ready(e){e()}execute(e,t){return Promise.resolve("token")}render(e,t){return""}}class MockGreCAPTCHA{ready(e){e()}execute(e,t){return Promise.resolve("token")}render(e,t){return""}}const Wr="NO_RECAPTCHA";class RecaptchaEnterpriseVerifier{constructor(e){this.type="recaptcha-enterprise",this.auth=Br(e)}async verify(e="verify",t=!1){function n(t,n,r){const i=window.grecaptcha;fr(i)?i.enterprise.ready((()=>{i.enterprise.execute(t,{action:e}).then((e=>{n(e)})).catch((()=>{n(Wr)}))})):r(Error("No reCAPTCHA enterprise script loaded."))}if(this.auth.settings.appVerificationDisabledForTesting){return(new MockGreCAPTCHATopLevel).execute("siteKey",{action:"verify"})}return new Promise(((e,r)=>{(async function(e){if(!t){if(null==e.tenantId&&null!=e._agentRecaptchaConfig)return e._agentRecaptchaConfig.siteKey;if(null!=e.tenantId&&void 0!==e._tenantRecaptchaConfigs[e.tenantId])return e._tenantRecaptchaConfigs[e.tenantId].siteKey}return new Promise((async(t,n)=>
1{pr(e,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then((r=>{if(void 0!==r.recaptchaKey){const n=new RecaptchaConfig(r);return null==e.tenantId?e._agentRecaptchaConfig=n:e._tenantRecaptchaConfigs[e.tenantId]=n,t(n.siteKey)}n(new Error("recaptcha Enterprise site key undefined"))})).catch((e=>{n(e)}))}))})(this.auth).then((i=>{if(!t&&fr(window.grecaptcha))n(i,e,r);else{if("undefined"==typeof window)return void r(new Error("RecaptchaVerifier is only supported in browser"));let t=$r.recaptchaEnterpriseScript;0!==t.length&&(t+=i),zr(t).then((()=>{n(i,e,r)})).catch((e=>{r(e)}))}})).catch((e=>{r(e)}))}))}}async function qr(e,t,n,r=!1,i=!1){const s=new RecaptchaEnterpriseVerifier(e);let o;if(i)o=Wr;else try{o=await s.verify(n)}catch(mo){o=await s.verify(n,!0)}const a=Object.assign({},t);if("mfaSmsEnrollment"===n||"mfaSmsSignIn"===n){if("phoneEnrollmentInfo"in a){const e=a.phoneEnrollmentInfo.phoneNumber,t=a.phoneEnrollmentInfo.recaptchaToken;Object.assign(a,{phoneEnrollmentInfo:{phoneNumber:e,recaptchaToken:t,captchaResponse:o,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}else if("phoneSignInInfo"in a){const e=a.phoneSignInInfo.recaptchaToken;Object.assign(a,{phoneSignInInfo:{recaptchaToken:e,captchaResponse:o,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}return a}return r?Object.assign(a,{captchaResp:o}):Object.assign(a,{captchaResponse:o}),Object.assign(a,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(a,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),a}async function Kr(e,t,n,r,i){var s,o;if("EMAIL_PASSWORD_PROVIDER"===i){if(null===(s=e._getRecaptchaConfig())||void 0===s?void 0:s.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){const i=await qr(e,t,n,"getOobCode"===n);return r(e,i)}return r(e,t).catch((async i=>{if("auth/missing-recaptcha-token"===i.code){console.log(`${n} is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow.`);const i=await qr(e,t,n,"getOobCode"===n);return r(e,i)}return Promise.reject(i)}))}if("PHONE_PROVIDER"===i){if(null===(o=e._getRecaptchaConfig())||void 0===o?void 0:o.isProviderEnabled("PHONE_PROVIDER")){const i=await qr(e,t,n);return r(e,i).catch((async i=>{var s;if("AUDIT"===(null===(s=e._getRecaptchaConfig())||void 0===s?void 0:s.getProviderEnforcementState("PHONE_PROVIDER"))&&("auth/missing-recaptcha-token"===i.code||"auth/invalid-app-credential"===i.code)){console.log(`Failed to verify with reCAPTCHA Enterprise. Automatically triggering the reCAPTCHA v2 flow to complete the ${n} flow.`);const i=await qr(e,t,n,!1,!0);return r(e,i)}return Promise.reject(i)}))}{const i=await qr(e,t,n,!1,!0);return r(e,i)}}return Promise.reject(i+" provider is not supported.")}async function Gr(e){const t=Br(e),n=await pr(t,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}),r=new RecaptchaConfig(n);if(null==t.tenantId?t._agentRecaptchaConfig=r:t._tenantRecaptchaConfigs[t.tenantId]=r,r.isAnyProviderEnabled()){new RecaptchaEnterpriseVerifier(t).verify()}}function Qr(e,t){const n=Zt(e,"auth");if(n.isInitialized()){const e=n.getImmediate();if(Tn(n.getOptions(),null!=t?t:{}))return e;Wn(e,"already-initialized")}return n.initialize({options:t})}function Xr(e,t,n){const r=Br(e);Xn(r._canInitEmulator,r,"emulator-config-failed"),Xn(/^https?:\/\//.test(t),r,"invalid-emulator-scheme");const i=!!(null==n?void 0:n.disableWarnings),s=Yr(t),{host:o,port:a}=function(e){const t=Yr(e),n=/(\/\/)?([^?#/]+)/.exec(e.substr(t.length));if(!n)return{host:"",port:null};const r=n[2].split("@").pop()||"",i=/^(\[[^\]]+\])(:|$)/.exec(r);if(i){const e=i[1];return{host:e,port:Jr(r.substr(e.length+1))}}{const[e,t]=r.split(":");return{host:e,port:Jr(t)}}}(t),l=null===a?"":`:${a}`;r.config.emulator={url:`${s}//${o}${l}/`},r.settings.appVerificationDisabledForTesting=!0,r.emulatorConfig=Object.freeze({host:o,port:a,protocol:s.replace(":",""),options:Object.freeze({disableWarnings:i})}),i||function(){function e(){const e=document.createElement("p"),t=e.style;e.innerText="Running in emulator mode. Do not use with production credentials.",t.position="fixed",t.width="100%",t.backgroundColor="#ffffff",t.border=".1em solid #000000",t.color="#b50000",t.bottom="0px",t.left="0px",t.margin="0px",t.zIndex="10000",t.textAlign="center",e.classList.add("firebase-emulator-warning"),document.body.appendChild(e)}"undefined"!=typeof console&&"function"==typeof console.info&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only. Do not use with production credentials.");"undefined"!=typeof window&&"undefined"!=typeof document&&("loading"===document.readyState?window.addEventListener("DOMContentLoaded",e):e())}()}function Yr(e){const t=e.indexOf(":");
1return t<0?"":e.substr(0,t+1)}function Jr(e){if(!e)return null;const t=Number(e);return isNaN(t)?null:t}class AuthCredential{constructor(e,t){this.providerId=e,this.signInMethod=t}toJSON(){return Yn("not implemented")}_getIdTokenResponse(e){return Yn("not implemented")}_linkToIdToken(e,t){return Yn("not implemented")}_getReauthenticationResolver(e){return Yn("not implemented")}}async function Zr(e,t){return ar(e,"POST","/v1/accounts:resetPassword",or(e,t))}async function ei(e,t){return ar(e,"POST","/v1/accounts:signUp",t)}async function ti(e,t){return cr(e,"POST","/v1/accounts:signInWithPassword",or(e,t))}async function ni(e,t){return ar(e,"POST","/v1/accounts:sendOobCode",or(e,t))}async function ri(e,t){return ni(e,t)}class EmailAuthCredential extends AuthCredential{constructor(e,t,n,r=null){super("password",n),this._email=e,this._password=t,this._tenantId=r}static _fromEmailAndPassword(e,t){return new EmailAuthCredential(e,t,"password")}static _fromEmailAndCode(e,t,n=null){return new EmailAuthCredential(e,t,"emailLink",n)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(e){const t="string"==typeof e?JSON.parse(e):e;if((null==t?void 0:t.email)&&(null==t?void 0:t.password)){if("password"===t.signInMethod)return this._fromEmailAndPassword(t.email,t.password);if("emailLink"===t.signInMethod)return this._fromEmailAndCode(t.email,t.password,t.tenantId)}return null}async _getIdTokenResponse(e){switch(this.signInMethod){case"password":return Kr(e,{returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"},"signInWithPassword",ti,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return async function(e,t){return cr(e,"POST","/v1/accounts:signInWithEmailLink",or(e,t))}(e,{email:this._email,oobCode:this._password});default:Wn(e,"internal-error")}}async _linkToIdToken(e,t){switch(this.signInMethod){case"password":return Kr(e,{idToken:t,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",ei,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return async function(e,t){return cr(e,"POST","/v1/accounts:signInWithEmailLink",or(e,t))}(e,{idToken:t,email:this._email,oobCode:this._password});default:Wn(e,"internal-error")}}_getReauthenticationResolver(e){return this._getIdTokenResponse(e)}}async function ii(e,t){return cr(e,"POST","/v1/accounts:signInWithIdp",or(e,t))}class OAuthCredential extends AuthCredential{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(e){const t=new OAuthCredential(e.providerId,e.signInMethod);return e.idToken||e.accessToken?(e.idToken&&(t.idToken=e.idToken),e.accessToken&&(t.accessToken=e.accessToken),e.nonce&&!e.pendingToken&&(t.nonce=e.nonce),e.pendingToken&&(t.pendingToken=e.pendingToken)):e.oauthToken&&e.oauthTokenSecret?(t.accessToken=e.oauthToken,t.secret=e.oauthTokenSecret):Wn("argument-error"),t}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,n
1once:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(e){const t="string"==typeof e?JSON.parse(e):e,{providerId:n,signInMethod:r}=t,i=Mn(t,["providerId","signInMethod"]);if(!n||!r)return null;const s=new OAuthCredential(n,r);return s.idToken=i.idToken||void 0,s.accessToken=i.accessToken||void 0,s.secret=i.secret,s.nonce=i.nonce,s.pendingToken=i.pendingToken||null,s}_getIdTokenResponse(e){return ii(e,this.buildRequest())}_linkToIdToken(e,t){const n=this.buildRequest();return n.idToken=t,ii(e,n)}_getReauthenticationResolver(e){const t=this.buildRequest();return t.autoCreate=!1,ii(e,t)}buildRequest(){const e={requestUri:"http://localhost",returnSecureToken:!0};if(this.pendingToken)e.pendingToken=this.pendingToken;else{const t={};this.idToken&&(t.id_token=this.idToken),this.accessToken&&(t.access_token=this.accessToken),this.secret&&(t.oauth_token_secret=this.secret),t.providerId=this.providerId,this.nonce&&!this.pendingToken&&(t.nonce=this.nonce),e.postBody=xn(t)}return e}}async function si(e,t){return ar(e,"POST","/v1/accounts:sendVerificationCode",or(e,t))}const oi={USER_NOT_FOUND:"user-not-found"};class PhoneAuthCredential extends AuthCredential{constructor(e){super("phone","phone"),this.params=e}static _fromVerification(e,t){return new PhoneAuthCredential({verificationId:e,verificationCode:t})}static _fromTokenResponse(e,t){return new PhoneAuthCredential({phoneNumber:e,temporaryProof:t})}_getIdTokenResponse(e){return async function(e,t){return cr(e,"POST","/v1/accounts:signInWithPhoneNumber",or(e,t))}(e,this._makeVerificationRequest())}_linkToIdToken(e,t){return async function(e,t){const n=await cr(e,"POST","/v1/accounts:signInWithPhoneNumber",or(e,t));if(n.temporaryProof)throw dr(e,"account-exists-with-different-credential",n);return n}(e,Object.assign({idToken:t},this._makeVerificationRequest()))}_getReauthenticationResolver(e){return async function(e,t){return cr(e,"POST","/v1/accounts:signInWithPhoneNumber",or(e,Object.assign(Object.assign({},t),{operation:"REAUTH"})),oi)}(e,this._makeVerificationRequest())}_makeVerificationRequest(){const{temporaryProof:e,phoneNumber:t,verificationId:n,verificationCode:r}=this.params;return e&&t?{temporaryProof:e,phoneNumber:t}:{sessionInfo:n,code:r}}toJSON(){const e={providerId:this.providerId};return this.params.phoneNumber&&(e.phoneNumber=this.params.phoneNumber),this.params.temporaryProof&&(e.temporaryProof=this.params.temporaryProof),this.params.verificationCode&&(e.verificationCode=this.params.verificationCode),this.params.verificationId&&(e.verificationId=this.params.verificationId),e}static fromJSON(e){"string"==typeof e&&(e=JSON.parse(e));const{verificationId:t,verificationCode:n,phoneNumber:r,temporaryProof:i}=e;return n||t||r||i?new PhoneAuthCredential({verificationId:t,verificationCode:n,phoneNumber:r,temporaryProof:i}):null}}class ActionCodeURL{constructor(e){var t,n,r,i,s,o;const a=An(In(e)),l=null!==(t=a.apiKey)&&void 0!==t?t:null,c=null!==(n=a.oobCode)&&void 0!==n?n:null,u=function(e){switch(e){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}(null!==(r=a.mode)&&void 0!==r?r:null);Xn(l&&c&&u,"argument-error"),this.apiKey=l,this.operation=u,this.code=c,this.continueUrl=null!==(i=a.continueUrl)&&void 0!==i?i:null,this.languageCode=null!==(s=a.languageCode)&&void 0!==s?s:null,this.tenantId=null!==(o=a.tenantId)&&void 0!==o?o:null}static parseLink(e){const t=function(e){const t=An(In(e)).link,n=t?An(In(t)).deep_link_id:null,r=An(In(e)).deep_link_id;return(r?An(In(r)).link:null)||r||n||t||e}(e);try{return new ActionCodeURL(t)}catch(n){return null}}}class EmailAuthProvider{constructor(){this.providerId=EmailAuthProvider.PROVIDER_ID}static credential(e,t){return EmailAuthCredential._fromEmailAndPassword(e,t)}static credentialWithLink(e,t){const n=ActionCodeURL.parseLink(t);return Xn(n,"argument-error"),EmailAuthCredential._fromEmailAndCode(e,n.code,n.tenantId)}}EmailAuthProvider.PROVIDER_ID="password",EmailAuthProvider.EMAIL_PASSWORD_SIGN_IN_METHOD="password",EmailAuthProvider.EMAIL_LINK_SIGN_IN_METHOD="emailLink";class FederatedAuthProvider{constructor(e){this.providerId=e,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(e){this.defaultLanguageCode=e}setCustomParameters(e){return this.customParameters=e,this}getCustomParameters(){return this.customParameters}}class BaseOAuthProvider extends FederatedAuthProvider{constructor(){super(...arguments),this.scopes=[]}addScope(e){return this.scopes.includes(e)||this.scopes.push(e),this}getScopes(){return[...this.scopes]}}class FacebookAuthProvider extends BaseOAuthProvider{constructor(){super("facebook.com")}static credential(e){return OAuthCredential._fromParams({providerId:FacebookAuthProvider.PROVIDER_ID,signInMethod:FacebookAuthProvider.FACEBOOK_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return FacebookAuthProvider.credentialFromTaggedObject(e)}static credentialFromError(e){return FacebookAuthProvider.credentialFromTaggedObject(e.customData||{})}
vendor: 4,872 bytes, line 1
1static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e))return null;if(!e.oauthAccessToken)return null;try{return FacebookAuthProvider.credential(e.oauthAccessToken)}catch(t){return null}}}FacebookAuthProvider.FACEBOOK_SIGN_IN_METHOD="facebook.com",FacebookAuthProvider.PROVIDER_ID="facebook.com";class GoogleAuthProvider extends BaseOAuthProvider{constructor(){super("google.com"),this.addScope("profile")}static credential(e,t){return OAuthCredential._fromParams({providerId:GoogleAuthProvider.PROVIDER_ID,signInMethod:GoogleAuthProvider.GOOGLE_SIGN_IN_METHOD,idToken:e,accessToken:t})}static credentialFromResult(e){return GoogleAuthProvider.credentialFromTaggedObject(e)}static credentialFromError(e){return GoogleAuthProvider.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{oauthIdToken:t,oauthAccessToken:n}=e;if(!t&&!n)return null;try{return GoogleAuthProvider.credential(t,n)}catch(r){return null}}}GoogleAuthProvider.GOOGLE_SIGN_IN_METHOD="google.com",GoogleAuthProvider.PROVIDER_ID="google.com";class GithubAuthProvider extends BaseOAuthProvider{constructor(){super("github.com")}static credential(e){return OAuthCredential._fromParams({providerId:GithubAuthProvider.PROVIDER_ID,signInMethod:GithubAuthProvider.GITHUB_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return GithubAuthProvider.credentialFromTaggedObject(e)}static credentialFromError(e){return GithubAuthProvider.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e))return null;if(!e.oauthAccessToken)return null;try{return GithubAuthProvider.credential(e.oauthAccessToken)}catch(t){return null}}}GithubAuthProvider.GITHUB_SIGN_IN_METHOD="github.com",GithubAuthProvider.PROVIDER_ID="github.com";class TwitterAuthProvider extends BaseOAuthProvider{constructor(){super("twitter.com")}static credential(e,t){return OAuthCredential._fromParams({providerId:TwitterAuthProvider.PROVIDER_ID,signInMethod:TwitterAuthProvider.TWITTER_SIGN_IN_METHOD,oauthToken:e,oauthTokenSecret:t})}static credentialFromResult(e){return TwitterAuthProvider.credentialFromTaggedObject(e)}static credentialFromError(e){return TwitterAuthProvider.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{oauthAccessToken:t,oauthTokenSecret:n}=e;if(!t||!n)return null;try{return TwitterAuthProvider.credential(t,n)}catch(r){return null}}}async function ai(e,t){return cr(e,"POST","/v1/accounts:signUp",or(e,t))}TwitterAuthProvider.TWITTER_SIGN_IN_METHOD="twitter.com",TwitterAuthProvider.PROVIDER_ID="twitter.com";class UserCredentialImpl{constructor(e){this.user=e.user,this.providerId=e.providerId,this._tokenResponse=e._tokenResponse,this.operationType=e.operationType}static async _fromIdTokenResponse(e,t,n,r=!1){const i=await UserImpl._fromIdTokenResponse(e,n,r),s=li(n);return new UserCredentialImpl({user:i,providerId:s,_tokenResponse:n,operationType:t})}static async _forOperation(e,t,n){await e._updateTokensIfNecessary(n,!0);const r=li(n);return new UserCredentialImpl({user:e,providerId:r,_tokenResponse:n,operationType:t})}}function li(e){return e.providerId?e.providerId:"phoneNumber"in e?"phone":null}class MultiFactorError extends dist_index_esm2017_FirebaseError{constructor(e,t,n,r){var i;super(t.code,t.message),this.operationType=n,this.user=r,Object.setPrototypeOf(this,MultiFactorError.prototype),this.customData={appName:e.name,tenantId:null!==(i=e.tenantId)&&void 0!==i?i:void 0,_serverResponse:t.customData._serverResponse,operationType:n}}static _fromErrorAndOperation(e,t,n,r){return new MultiFactorError(e,t,n,r)}}function ci(e,t,n,r){return("reauthenticate"===t?n._getReauthenticationResolver(e):n._getIdTokenResponse(e)).catch((n=>{if("auth/multi-factor-auth-required"===n.code)throw MultiFactorError._fromErrorAndOperation(e,n,t,r);throw n}))}async function ui(e,t,n=!1){const r=await wr(e,t._linkToIdToken(e.auth,await e.getIdToken()),n);return UserCredentialImpl._forOperation(e,"link",r)}async function hi(e,t,n=!1){const{auth:r}=e;if(en(r.app))return Promise.reject(Gn(r));const i="reauthenticate";try{const s=await wr(e,ci(r,i,t,e),n);Xn(s.idToken,r,"internal-error");const o=vr(s.idToken);Xn(o,r,"internal-error");const{sub:a}=o;return Xn(e.uid===a,r,"user-mismatch"),UserCredentialImpl._forOperation(e,i,s)}catch(Pb){throw"auth/user-not-found"===(null==Pb?void 0:Pb.code)&&Wn(r,"user-mismatch"),Pb}}async function di(e,t,n=!1){if(en(e.app))return Promise.reject(Gn(e));const r="signIn",i=await ci(e,r,t),s=await UserCredentialImpl._fromIdTokenResponse(e,r,i);return n||await e._updateCurrentUser(s.user),s}async function fi(e,t){return di(Br(e),t)}function pi(e,t,n){var r;Xn((null===(r=n.url)||void 0===r?void 0:r.length)>
vendor: 6,133 bytes, line 1
10,e,"invalid-continue-uri"),Xn(void 0===n.dynamicLinkDomain||n.dynamicLinkDomain.length>0,e,"invalid-dynamic-link-domain"),Xn(void 0===n.linkDomain||n.linkDomain.length>0,e,"invalid-hosting-link-domain"),t.continueUrl=n.url,t.dynamicLinkDomain=n.dynamicLinkDomain,t.linkDomain=n.linkDomain,t.canHandleCodeInApp=n.handleCodeInApp,n.iOS&&(Xn(n.iOS.bundleId.length>0,e,"missing-ios-bundle-id"),t.iOSBundleId=n.iOS.bundleId),n.android&&(Xn(n.android.packageName.length>0,e,"missing-android-pkg-name"),t.androidInstallApp=n.android.installApp,t.androidMinimumVersionCode=n.android.minimumVersion,t.androidPackageName=n.android.packageName)}async function mi(e){const t=Br(e);t._getPasswordPolicyInternal()&&await t._updatePasswordPolicy()}function gi(e,t,n,r){return Pn(e).onIdTokenChanged(t,n,r)}function _i(e){return Pn(e).signOut()}function vi(e,t){return ar(e,"POST","/v2/accounts/mfaEnrollment:start",or(e,t))}new WeakMap;const yi="__sak";class BrowserPersistenceClass{constructor(e,t){this.storageRetriever=e,this.type=t}_isAvailable(){try{return this.storage?(this.storage.setItem(yi,"1"),this.storage.removeItem(yi),Promise.resolve(!0)):Promise.resolve(!1)}catch(e){return Promise.resolve(!1)}}_set(e,t){return this.storage.setItem(e,JSON.stringify(t)),Promise.resolve()}_get(e){const t=this.storage.getItem(e);return Promise.resolve(t?JSON.parse(t):null)}_remove(e){return this.storage.removeItem(e),Promise.resolve()}get storage(){return this.storageRetriever()}}class BrowserLocalPersistence extends BrowserPersistenceClass{constructor(){super((()=>window.localStorage),"LOCAL"),this.boundEventHandler=(e,t)=>this.onStorageEvent(e,t),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=Ur(),this._shouldAllowMigration=!0}forAllChangedKeys(e){for(const t of Object.keys(this.listeners)){const n=this.storage.getItem(t),r=this.localCache[t];n!==r&&e(t,r,n)}}onStorageEvent(e,t=!1){if(!e.key)return void this.forAllChangedKeys(((e,t,n)=>{this.notifyListeners(e,n)}));const n=e.key;t?this.detachListener():this.stopPolling();const r=()=>{const e=this.storage.getItem(n);(t||this.localCache[n]!==e)&&this.notifyListeners(n,e)},i=this.storage.getItem(n);Mr()&&i!==e.newValue&&e.newValue!==e.oldValue?setTimeout(r,10):r()}notifyListeners(e,t){this.localCache[e]=t;const n=this.listeners[e];if(n)for(const r of Array.from(n))r(t?JSON.parse(t):t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval((()=>{this.forAllChangedKeys(((e,t,n)=>{this.onStorageEvent(new StorageEvent("storage",{key:e,oldValue:t,newValue:n}),!0)}))}),1e3)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(e,t){0===Object.keys(this.listeners).length&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[e]||(this.listeners[e]=new Set,this.localCache[e]=this.storage.getItem(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),0===this.listeners[e].size&&delete this.listeners[e]),0===Object.keys(this.listeners).length&&(this.detachListener(),this.stopPolling())}async _set(e,t){await super._set(e,t),this.localCache[e]=JSON.stringify(t)}async _get(e){const t=await super._get(e);return this.localCache[e]=JSON.stringify(t),t}async _remove(e){await super._remove(e),delete this.localCache[e]}}BrowserLocalPersistence.type="LOCAL";const bi=BrowserLocalPersistence;class BrowserSessionPersistence extends BrowserPersistenceClass{constructor(){super((()=>window.sessionStorage),"SESSION")}_addListener(e,t){}_removeListener(e,t){}}BrowserSessionPersistence.type="SESSION";const wi=BrowserSessionPersistence;class Receiver{constructor(e){this.eventTarget=e,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(e){const t=this.receivers.find((t=>t.isListeningto(e)));if(t)return t;const n=new Receiver(e);return this.receivers.push(n),n}isListeningto(e){return this.eventTarget===e}async handleEvent(e){const t=e,{eventId:n,eventType:r,data:i}=t.data,s=this.handlersMap[r];if(!(null==s?void 0:s.size))return;t.ports[0].postMessage({status:"ack",eventId:n,eventType:r});const o=Array.from(s).map((async e=>e(t.origin,i))),a=await function(e){return Promise.all(e.map((async e=>{try{return{fulfilled:!0,value:await e}}catch(t){return{fulfilled:!1,reason:t}}})))}(o);t.ports[0].postMessage({status:"done",eventId:n,eventType:r,response:a})}_subscribe(e,t){0===Object.keys(this.handlersMap).length&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[e]||(this.handlersMap[e]=new Set),this.handlersMap[e].add(t)}_unsubscribe(e,t){this.handlersMap[e]&&t&&this.handlersMap[e].delete(t),t&&0!==this.handlersMap[e].size||delete this.handlersMap[e],0===Object.keys(this.handlersMap).length&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}function Ei(e="",t=10){let n="";for(let r=0;r<t;r++)n+=Math.floor(10*Math.random());return e+n}Receiver.receivers=[];class Sender{constructor(e){this.target=e,this.handlers=new Set}removeMessageHandler(e){e.messageChannel&&(e.messageChannel.port1.removeEventListener("message",e.onMessage),e.messageChannel.port1.close()),this.handlers.delete(e)}async _send(e,t,n=50){const r="undefined"!=typeof MessageChannel?new MessageChannel:null;if(!r)throw new Error("connection_unavailable");let i,s;return new Promise(((o,a)=>{const l=Ei("",20);r.port1.start();const c=setTimeout((()=>{a(new Error("unsupported_event"))}),n);s={messageChannel:r,onMessage(e){const t=e;if(t.data.eventId===l)switch(t.data.status){case"ack":clearTimeout(c),i=setTimeout((()=>{a(new Error("timeout"))}),3e3);break;case"done":clearTimeout(i),o(t.data.response);break;default:clearTimeout(c),clearTimeout(i),a(new Error("invalid_response"))}}},this.handlers.add(s),r.port1.addEventListener("message",s.onMessage),this.target.postMessage({eventType:e,eventId:l,data:t},[r.port2])})).finally((()=>{s&&this.removeMessageHandler(s)}))}}function Si(){return window}
vendor: 5,192 bytes, line 1
1function Ti(){return void 0!==Si().WorkerGlobalScope&&"function"==typeof Si().importScripts}const Ci="firebaseLocalStorageDb",xi="firebaseLocalStorage",Ai="fbase_key";class DBPromise{constructor(e){this.request=e}toPromise(){return new Promise(((e,t)=>{this.request.addEventListener("success",(()=>{e(this.request.result)})),this.request.addEventListener("error",(()=>{t(this.request.error)}))}))}}function Ii(e,t){return e.transaction([xi],t?"readwrite":"readonly").objectStore(xi)}function ki(){const e=indexedDB.open(Ci,1);return new Promise(((t,n)=>{e.addEventListener("error",(()=>{n(e.error)})),e.addEventListener("upgradeneeded",(()=>{const t=e.result;try{t.createObjectStore(xi,{keyPath:Ai})}catch(Pb){n(Pb)}})),e.addEventListener("success",(async()=>{const n=e.result;n.objectStoreNames.contains(xi)?t(n):(n.close(),await function(){const e=indexedDB.deleteDatabase(Ci);return new DBPromise(e).toPromise()}(),t(await ki()))}))}))}async function Pi(e,t,n){const r=Ii(e,!0).put({[Ai]:t,value:n});return new DBPromise(r).toPromise()}function Ni(e,t){const n=Ii(e,!0).delete(t);return new DBPromise(n).toPromise()}class IndexedDBLocalPersistence{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then((()=>{}),(()=>{}))}async _openDb(){return this.db||(this.db=await ki()),this.db}async _withRetries(e){let t=0;for(;;)try{const t=await this._openDb();return await e(t)}catch(Pb){if(t++>3)throw Pb;this.db&&(this.db.close(),this.db=void 0)}}async initializeServiceWorkerMessaging(){return Ti()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=Receiver._getInstance(Ti()?self:null),this.receiver._subscribe("keyChanged",(async(e,t)=>({keyProcessed:(await this._poll()).includes(t.key)}))),this.receiver._subscribe("ping",(async(e,t)=>["keyChanged"]))}async initializeSender(){var e,t;if(this.activeServiceWorker=await async function(){if(!(null===navigator||void 0===navigator?void 0:navigator.serviceWorker))return null;try{return(await navigator.serviceWorker.ready).active}catch(e){return null}}(),!this.activeServiceWorker)return;this.sender=new Sender(this.activeServiceWorker);const n=await this.sender._send("ping",{},800);n&&(null===(e=n[0])||void 0===e?void 0:e.fulfilled)&&(null===(t=n[0])||void 0===t?void 0:t.value.includes("keyChanged"))&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(e){var t;if(this.sender&&this.activeServiceWorker&&((null===(t=null===navigator||void 0===navigator?void 0:navigator.serviceWorker)||void 0===t?void 0:t.controller)||null)===this.activeServiceWorker)try{await this.sender._send("keyChanged",{key:e},this.serviceWorkerReceiverAvailable?800:50)}catch(t){}}async _isAvailable(){try{if(!indexedDB)return!1;const e=await ki();return await Pi(e,yi,"1"),await Ni(e,yi),!0}catch(e){}return!1}async _withPendingWrite(e){this.pendingWrites++;try{await e()}finally{this.pendingWrites--}}async _set(e,t){return this._withPendingWrite((async()=>(await this._withRetries((n=>Pi(n,e,t))),this.localCache[e]=t,this.notifyServiceWorker(e))))}async _get(e){const t=await this._withRetries((t=>async function(e,t){const n=Ii(e,!1).get(t),r=await new DBPromise(n).toPromise();return void 0===r?null:r.value}(t,e)));return this.localCache[e]=t,t}async _remove(e){return this._withPendingWrite((async()=>(await this._withRetries((t=>Ni(t,e))),delete this.localCache[e],this.notifyServiceWorker(e))))}async _poll(){const e=await this._withRetries((e=>{const t=Ii(e,!1).getAll();return new DBPromise(t).toPromise()}));if(!e)return[];if(0!==this.pendingWrites)return[];const t=[],n=new Set;if(0!==e.length)for(const{fbase_key:r,value:i}of e)n.add(r),JSON.stringify(this.localCache[r])!==JSON.stringify(i)&&(this.notifyListeners(r,i),t.push(r));for(const r of Object.keys(this.localCache))this.localCache[r]&&!n.has(r)&&(this.notifyListeners(r,null),t.push(r));return t}notifyListeners(e,t){this.localCache[e]=t;const n=this.listeners[e];if(n)for(const r of Array.from(n))r(t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval((async()=>this._poll()),800)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(e,t){0===Object.keys(this.listeners).length&&this.startPolling(),this.listeners[e]||(this.listeners[e]=new Set,this._get(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),0===this.listeners[e].size&&delete this.listeners[e]),0===Object.keys(this.listeners).length&&this.stopPolling()}}IndexedDBLocalPersistence.type="LOCAL";const Ri=IndexedDBLocalPersistence;function Oi(e,t){return ar(e,"POST","/v2/accounts/mfaSignIn:start",or(e,t))}Hr("rcb"),new Delay(3e4,6e4);const Di="recaptcha";async function Fi(e,t,n){var r;if(!e._getRecaptchaConfig())try{await Gr(e)}catch(mo){console.log("Failed to initialize reCAPTCHA Enterprise config. Triggering the reCAPTCHA v2 verification.")}try{let i;if(i="string"==typeof t?{phoneNumber:t}
1:t,"session"in i){const t=i.session;if("phoneNumber"in i){Xn("enroll"===t.type,e,"internal-error");const r={idToken:t.credential,phoneEnrollmentInfo:{phoneNumber:i.phoneNumber,clientType:"CLIENT_TYPE_WEB"}},s=Kr(e,r,"mfaSmsEnrollment",(async(e,t)=>{if(t.phoneEnrollmentInfo.captchaResponse===Wr){Xn((null==n?void 0:n.type)===Di,e,"argument-error");return vi(e,await Li(e,t,n))}return vi(e,t)}),"PHONE_PROVIDER"),o=await s.catch((e=>Promise.reject(e)));return o.phoneSessionInfo.sessionInfo}{Xn("signin"===t.type,e,"internal-error");const s=(null===(r=i.multiFactorHint)||void 0===r?void 0:r.uid)||i.multiFactorUid;Xn(s,e,"missing-multi-factor-info");const o={mfaPendingCredential:t.credential,mfaEnrollmentId:s,phoneSignInInfo:{clientType:"CLIENT_TYPE_WEB"}},a=Kr(e,o,"mfaSmsSignIn",(async(e,t)=>{if(t.phoneSignInInfo.captchaResponse===Wr){Xn((null==n?void 0:n.type)===Di,e,"argument-error");return Oi(e,await Li(e,t,n))}return Oi(e,t)}),"PHONE_PROVIDER"),l=await a.catch((e=>Promise.reject(e)));return l.phoneResponseInfo.sessionInfo}}{const t={phoneNumber:i.phoneNumber,clientType:"CLIENT_TYPE_WEB"},r=Kr(e,t,"sendVerificationCode",(async(e,t)=>{if(t.captchaResponse===Wr){Xn((null==n?void 0:n.type)===Di,e,"argument-error");return si(e,await Li(e,t,n))}return si(e,t)}),"PHONE_PROVIDER"),s=await r.catch((e=>Promise.reject(e)));return s.sessionInfo}}finally{null==n||n._reset()}}async function Li(e,t,n){Xn(n.type===Di,e,"argument-error");const r=await n.verify();Xn("string"==typeof r,e,"argument-error");const i=Object.assign({},t);if("phoneEnrollmentInfo"in i){const e=i.phoneEnrollmentInfo.phoneNumber,t=i.phoneEnrollmentInfo.captchaResponse,n=i.phoneEnrollmentInfo.clientType,s=i.phoneEnrollmentInfo.recaptchaVersion;return Object.assign(i,{phoneEnrollmentInfo:{phoneNumber:e,recaptchaToken:r,captchaResponse:t,clientType:n,recaptchaVersion:s}}),i}if("phoneSignInInfo"in i){const e=i.phoneSignInInfo.captchaResponse,t=i.phoneSignInInfo.clientType,n=i.phoneSignInInfo.recaptchaVersion;return Object.assign(i,{phoneSignInInfo:{recaptchaToken:r,captchaResponse:e,clientType:t,recaptchaVersion:n}}),i}return Object.assign(i,{recaptchaToken:r}),i}class PhoneAuthProvider{constructor(e){this.providerId=PhoneAuthProvider.PROVIDER_ID,this.auth=Br(e)}verifyPhoneNumber(e,t){return Fi(this.auth,e,Pn(t))}static credential(e,t){return PhoneAuthCredential._fromVerification(e,t)}static credentialFromResult(e){const t=e;return PhoneAuthProvider.credentialFromTaggedObject(t)}static credentialFromError(e){return PhoneAuthProvider.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{phoneNumber:t,temporaryProof:n}=e;return t&&n?PhoneAuthCredential._fromTokenResponse(t,n):null}}function ji(e,t){return t?xr(t):(Xn(e._popupRedirectResolver,e,"argument-error"),e._popupRedirectResolver)}PhoneAuthProvider.PROVIDER_ID="phone",PhoneAuthProvider.PHONE_SIGN_IN_METHOD="phone";class IdpCredential extends AuthCredential{constructor(e){super("custom","custom"),this.params=e}_getIdTokenResponse(e){return ii(e,this._buildIdpRequest())}_linkToIdToken(e,t){return ii(e,this._buildIdpRequest(t))}_getReauthenticationResolver(e){return ii(e,this._buildIdpRequest())}_buildIdpRequest(e){const t={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return e&&(t.idToken=e),t}}function Mi(e){return di(e.auth,new IdpCredential(e),e.bypassAuthState)}function Ui(e){const{auth:t,user:n}=e;return Xn(n,t,"internal-error"),hi(n,new IdpCredential(e),e.bypassAuthState)}async function Vi(e){const{auth:t,user:n}=e;return Xn(n,t,"internal-error"),ui(n,new IdpCredential(e),e.bypassAuthState)}class AbstractPopupRedirectOperation{constructor(e,t,n,r,i=!1){this.auth=e,this.resolver=n,this.user=r,this.bypassAuthState=i,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(t)?t:[t]}execute(){return new Promise((async(e,t)=>{this.pendingPromise={resolve:e,reject:t};try{this.eventManager=await this.resolver._initialize(this.auth),await this.onExecution(),this.eventManager.registerConsumer(this)}catch(Pb){this.reject(Pb)}}))}async onAuthEvent(e){const{urlResponse:t,sessionId:n,postBody:r,tenantId:i,error:s,type:o}=e;if(s)return void this.reject(s);const a={auth:this.auth,requestUri:t,sessionId:n,tenantId:i||void 0,postBody:r||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(await this.getIdpTask(o)(a))}catch(Pb){this.reject(Pb)}}onError(e){this.reject(e)}getIdpTask(e){switch(e){case"signInViaPopup":case"signInViaRedirect":return Mi;case"linkViaPopup":case"linkViaRedirect":return Vi;case"reauthViaPopup":case"reauthViaRedirect":return Ui;default:Wn(this.auth,"internal-error")}}resolve(e){Jn(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(e),this.unregisterAndCleanUp()}reject(e){Jn(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(e),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}const Bi=new Delay(2e3,1e4);class PopupOperation extends AbstractPopupRedirectOperation{constructor(e,t,n,r,i){super(e,t,r,i
vendor: 8,331 bytes, line 1
1),this.provider=n,this.authWindow=null,this.pollId=null,PopupOperation.currentPopupAction&&PopupOperation.currentPopupAction.cancel(),PopupOperation.currentPopupAction=this}async executeNotNull(){const e=await this.execute();return Xn(e,this.auth,"internal-error"),e}async onExecution(){Jn(1===this.filter.length,"Popup operations only handle one event");const e=Ei();this.authWindow=await this.resolver._openPopup(this.auth,this.provider,this.filter[0],e),this.authWindow.associatedEvent=e,this.resolver._originValidation(this.auth).catch((e=>{this.reject(e)})),this.resolver._isIframeWebStorageSupported(this.auth,(e=>{e||this.reject(qn(this.auth,"web-storage-unsupported"))})),this.pollUserCancellation()}get eventId(){var e;return(null===(e=this.authWindow)||void 0===e?void 0:e.associatedEvent)||null}cancel(){this.reject(qn(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,PopupOperation.currentPopupAction=null}pollUserCancellation(){const e=()=>{var t,n;(null===(n=null===(t=this.authWindow)||void 0===t?void 0:t.window)||void 0===n?void 0:n.closed)?this.pollId=window.setTimeout((()=>{this.pollId=null,this.reject(qn(this.auth,"popup-closed-by-user"))}),8e3):this.pollId=window.setTimeout(e,Bi.get())};e()}}PopupOperation.currentPopupAction=null;const $i=new Map;class RedirectAction extends AbstractPopupRedirectOperation{constructor(e,t,n=!1){super(e,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],t,void 0,n),this.eventId=null}async execute(){let e=$i.get(this.auth._key());if(!e){try{const t=await async function(e,t){const n=Wi(t),r=Hi(e);if(!(await r._isAvailable()))return!1;const i="true"===await r._get(n);return await r._remove(n),i}(this.resolver,this.auth)?await super.execute():null;e=()=>Promise.resolve(t)}catch(Pb){e=()=>Promise.reject(Pb)}$i.set(this.auth._key(),e)}return this.bypassAuthState||$i.set(this.auth._key(),(()=>Promise.resolve(null))),e()}async onAuthEvent(e){if("signInViaRedirect"===e.type)return super.onAuthEvent(e);if("unknown"!==e.type){if(e.eventId){const t=await this.auth._redirectUserForId(e.eventId);if(t)return this.user=t,super.onAuthEvent(e);this.resolve(null)}}else this.resolve(null)}async onExecution(){}cleanUp(){}}function zi(e,t){$i.set(e._key(),t)}function Hi(e){return xr(e._redirectPersistence)}function Wi(e){return Ir("pendingRedirect",e.config.apiKey,e.name)}async function qi(e,t,n=!1){if(en(e.app))return Promise.reject(Gn(e));const r=Br(e),i=ji(r,t),s=new RedirectAction(r,i,n),o=await s.execute();return o&&!n&&(delete o.user._redirectEventId,await r._persistUserIfCurrent(o.user),await r._setRedirectUser(null,t)),o}class AuthEventManager{constructor(e){this.auth=e,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(e){this.consumers.add(e),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,e)&&(this.sendToConsumer(this.queuedRedirectEvent,e),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(e){this.consumers.delete(e)}onEvent(e){if(this.hasEventBeenHandled(e))return!1;let t=!1;return this.consumers.forEach((n=>{this.isEventForConsumer(e,n)&&(t=!0,this.sendToConsumer(e,n),this.saveEventToCache(e))})),this.hasHandledPotentialRedirect||!function(e){switch(e.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return Gi(e);default:return!1}}(e)||(this.hasHandledPotentialRedirect=!0,t||(this.queuedRedirectEvent=e,t=!0)),t}sendToConsumer(e,t){var n;if(e.error&&!Gi(e)){const r=(null===(n=e.error.code)||void 0===n?void 0:n.split("auth/")[1])||"internal-error";t.onError(qn(this.auth,r))}else t.onAuthEvent(e)}isEventForConsumer(e,t){const n=null===t.eventId||!!e.eventId&&e.eventId===t.eventId;return t.filter.includes(e.type)&&n}hasEventBeenHandled(e){return Date.now()-this.lastProcessedEventTime>=6e5&&this.cachedEventUids.clear(),this.cachedEventUids.has(Ki(e))}saveEventToCache(e){this.cachedEventUids.add(Ki(e)),this.lastProcessedEventTime=Date.now()}}function Ki(e){return[e.type,e.eventId,e.sessionId,e.tenantId].filter((e=>e)).join("-")}function Gi({type:e,error:t}){return"unknown"===e&&"auth/no-auth-event"===(null==t?void 0:t.code)}const Qi=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,Xi=/^https?/;async function Yi(e){if(e.config.emulator)return;const{authorizedDomains:t}=await async function(e,t={}){return ar(e,"GET","/v1/projects",t)}(e);for(const r of t)try{if(Ji(r))return}catch(n){}Wn(e,"unauthorized-domain")}function Ji(e){const t=Zn(),{protocol:n,hostname:r}=new URL(t);if(e.startsWith("chrome-extension://")){const i=new URL(e);return""===i.hostname&&""===r?"chrome-extension:"===n&&e.replace("chrome-extension://","")===t.replace("chrome-extension://",""):"chrome-extension:"===n&&i.hostname===r}if(!Xi.test(n))return!1;if(Qi.test(e))return r===e;const i=e.replace(/\./g,"\\.");return new RegExp("^(.+\\."+i+"|"+i+")$","i").test(r)}const Zi=new Delay(3e4,6e4);function es(){const e=Si().___jsl;if(null==e?void 0:e.H)for(const t of Object.keys(e.H))if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=[...e.H[t].L],e.CP)for(let n=0;n<e.CP.length;n++)e.CP[n]=null}function ts(e){return new Promise(((t,n)=>{var r,i,s;function o(){es(),gapi.load("gapi.iframes",{callback:()=>{t(gapi.iframes.getContext())},ontimeout:()=>{es(),n(qn(e,"network-request-failed"))},timeout:Zi.get()})}if(null===(i=null===(r=Si().gapi)||void 0===r?void 0:r.iframes)||void 0===i?void 0:i.Iframe)t(gapi.iframes.getContext());else{if(!(null===(s=Si().gapi)||void 0===s?void 0:s.load)){const t=Hr("iframefcb");return Si()[t]=()=>{gapi.load?o():n(qn(e,"network-request-failed"))},zr(`${$r.gapiScript}?onload=${t}`).catch((e=>n(e)))}o()}})).catch((e=>{throw ns=null,e}))}let ns=null;const rs=new Delay(5e3,15e3),is={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},ss=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function os(e){const t=e.config;Xn(t.authDomain,e,"auth-domain-config-required");const n=t.emulator?rr(t,"emulator/auth/iframe"):`https://${e.config.authDomain}/__/auth/iframe`,r={apiKey:t.apiKey,appName:e.name,v:nn},i=ss.get(e.config.apiHost);i&&(r.eid=i);const s=e._getFrameworks();return s.length&&(r.fw=s.join(",")),`${n}?${xn(r).slice(1)}`}async function as(e){const t=await function(e){return ns=ns||ts(e),ns}(e),n=Si().gapi;return Xn(n,e,"internal-error"),t.open({where:document.body,url:os(e),messageHandlersFilter:n.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:is,dontclear:!0},(t=>new Promise((async(n,r)=>{await t.restyle({setHideOnLeave:!1});const i=qn(e,"network-request-failed"),s=Si().setTimeout((()=>{r(i)}),rs.get());function o(){Si().clearTimeout(s),n(t)}t.ping(o).then(o,(()=>{r(i)}))}))))}const ls={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"};class AuthPopup{constructor(e){this.window=e,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch(Pb){}}}function cs(e,t,n,r=500,i=600){const s=Math.max((window.screen.availHeight-i)/2,0).toString(),o=Math.max((window.screen.availWidth-r)/2,0).toString();let a="";const l=Object.assign(Object.assign({},ls),{width:r.toString(),height:i.toString(),top:s,left:o}),c=En().toLowerCase();n&&(a=Rr(c)?"_blank":n),Pr(c)&&(t=t||"http://localhost",l.scrollbars="yes");const u=Object.entries(l).reduce(((e,[t,n])=>`${e}${t}=${n},`),"");if(function(e=En()){var t;return jr(e)&&!!(null===(t=window.navigator)||void 0===t?void 0:t.standalone)}(c)&&"_self"!==a)return function(e,t){const n=document.createElement("a");n.href=e,n.target=t;const r=document.createEvent("MouseEvent");r.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),n.dispatchEvent(r)}(t||"",a),new AuthPopup(null);const h=window.open(t||"",a,u);Xn(h,e,"popup-blocked");try{h.focus()}catch(Pb){}return new AuthPopup(h)}const us="__/auth/handler",hs="emulator/auth/handler",ds=encodeURIComponent("fac");async function fs(e,t,n,r,i,s){Xn(e.config.authDomain,e,"auth-domain-config-required"),Xn(e.config.apiKey,e,"invali
1d-api-key");const o={apiKey:e.config.apiKey,appName:e.name,authType:n,redirectUrl:r,v:nn,eventId:i};if(t instanceof FederatedAuthProvider){t.setDefaultLanguage(e.languageCode),o.providerId=t.providerId||"",function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}(t.getCustomParameters())||(o.customParameters=JSON.stringify(t.getCustomParameters()));for(const[e,t]of Object.entries(s||{}))o[e]=t}if(t instanceof BaseOAuthProvider){const e=t.getScopes().filter((e=>""!==e));e.length>0&&(o.scopes=e.join(","))}e.tenantId&&(o.tid=e.tenantId);const a=o;for(const u of Object.keys(a))void 0===a[u]&&delete a[u];const l=await e._getAppCheckToken(),c=l?`#${ds}=${encodeURIComponent(l)}`:"";return`${function({config:e}){if(!e.emulator)return`https://${e.authDomain}/${us}`;return rr(e,hs)}(e)}?${xn(a).slice(1)}${c}`}const ps="webStorageSupport";const ms=class BrowserPopupRedirectResolver{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=wi,this._completeRedirectFn=qi,this._overrideRedirectResult=zi}async _openPopup(e,t,n,r){var i;Jn(null===(i=this.eventManagers[e._key()])||void 0===i?void 0:i.manager,"_initialize() not called before _openPopup()");return cs(e,await fs(e,t,n,Zn(),r),Ei())}async _openRedirect(e,t,n,r){await this._originValidation(e);return function(e){Si().location.href=e}(await fs(e,t,n,Zn(),r)),new Promise((()=>{}))}_initialize(e){const t=e._key();if(this.eventManagers[t]){const{manager:e,promise:n}=this.eventManagers[t];return e?Promise.resolve(e):(Jn(n,"If manager is not set, promise should be"),n)}const n=this.initAndGetManager(e);return this.eventManagers[t]={promise:n},n.catch((()=>{delete this.eventManagers[t]})),n}async initAndGetManager(e){const t=await as(e),n=new AuthEventManager(e);return t.register("authEvent",(t=>{Xn(null==t?void 0:t.authEvent,e,"invalid-auth-event");return{status:n.onEvent(t.authEvent)?"ACK":"ERROR"}}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:n},this.iframes[e._key()]=t,n}_isIframeWebStorageSupported(e,t){this.iframes[e._key()].send(ps,{type:ps},(n=>{var r;const i=null===(r=null==n?void 0:n[0])||void 0===r?void 0:r[ps];void 0!==i&&t(!!i),Wn(e,"internal-error")}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){const t=e._key();return this.originValidationPromises[t]||(this.originValidationPromises[t]=Yi(e)),this.originValidationPromises[t]}get _shouldInitProactively(){return Ur()||Nr()||jr()}};var gs="@firebase/auth",_s="1.9.0";class AuthInterop{constructor(e){this.auth=e,this.internalListeners=new Map}getUid(){var e;return this.assertAuthConfigured(),(null===(e=this.auth.currentUser)||void 0===e?void 0:e.uid)||null}async getToken(e){if(this.assertAuthConfigured(),await this.auth._initializationPromise,!this.auth.currentUser)return null;return{accessToken:await this.auth.currentUser.getIdToken(e)}}addAuthTokenListener(e){if(this.assertAuthConfigured(),this.internalListeners.has(e))return;const t=this.auth.onIdTokenChanged((t=>{e((null==t?void 0:t.stsTokenManager.accessToken)||null)}));this.internalListeners.set(e,t),this.updateProactiveRefresh()}removeAuthTokenListener(e){this.assertAuthConfigured();const t=this.internalListeners.get(e);t&&(this.internalListeners.delete(e),t(),this.updateProactiveRefresh())}assertAuthConfigured(){Xn(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}const vs=wn("authIdTokenMaxAge")||300;let ys=null;function bs(e=sn()){const t=Zt(e,"auth");if(t.isInitialized())return t.getImmediate();const n=Qr(e,{popupRedirectResolver:ms,persistence:[Ri,bi,wi]}),r=wn("authTokenSyncURL");if(r&&"boolean"==typeof isSecureContext&&isSecureContext){const e=new URL(r,location.origin);if(location.origin===e.origin){const t=(i=e.toString(),async e=>{const t=e&&await e.getIdTokenResult(),n=t&&((new Date).getTime()-Date.parse(t.issuedAtTime))/1e3;if(n&&n>vs)return;const r=null==t?void 0:t.token;ys!==r&&(ys=r,await fetch(i,{method:r?"POST":"DELETE",headers:r?{Authorization:`Bearer ${r}`}:{}}))});!function(e,t,n){Pn(e).beforeAuthStateChanged(t,n)}(n,t,(()=>t(n.currentUser))),gi(n,(e=>t(e)))}}var i;const s=bn("auth");return s&&Xr(n,`http://${s}`),n}var ws;!function(e){$r=e}({loadJS:e=>
vendor: 4,765 bytes, line 1
1new Promise(((t,n)=>{const r=document.createElement("script");var i,s;r.setAttribute("src",e),r.onload=t,r.onerror=e=>{const t=qn("internal-error");t.customData=e,n(t)},r.type="text/javascript",r.charset="UTF-8",(null!==(s=null===(i=document.getElementsByTagName("head"))||void 0===i?void 0:i[0])&&void 0!==s?s:document).appendChild(r)})),gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="}),ws="Browser",Jt(new esm_index_esm2017_Component("auth",((e,{options:t})=>{const n=e.getProvider("app").getImmediate(),r=e.getProvider("heartbeat"),i=e.getProvider("app-check-internal"),{apiKey:s,authDomain:o}=n.options;Xn(s&&!s.includes(":"),"invalid-api-key",{appName:n.name});const a={apiKey:s,authDomain:o,clientPlatform:ws,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:Vr(ws)},l=new AuthImpl(n,r,i,a);return function(e,t){const n=(null==t?void 0:t.persistence)||[],r=(Array.isArray(n)?n:[n]).map(xr);(null==t?void 0:t.errorMap)&&e._updateErrorMap(t.errorMap),e._initializeWithPersistence(r,null==t?void 0:t.popupRedirectResolver)}(l,t),l}),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback(((e,t,n)=>{e.getProvider("auth-internal").initialize()}))),Jt(new esm_index_esm2017_Component("auth-internal",(e=>(e=>new AuthInterop(e))(Br(e.getProvider("auth").getImmediate()))),"PRIVATE").setInstantiationMode("EXPLICIT")),on(gs,_s,function(e){switch(e){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}(ws)),on(gs,_s,"esm2017");const Es=!1,Ss=!1,Ts="${JSCORE_VERSION}",Cs=function(e,t){if(!e)throw xs(t)},xs=function(e){return new Error("Firebase Database ("+Ts+") INTERNAL ASSERT FAILED: "+e)},As=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},Is={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i<e.length;i+=3){const t=e[i],s=i+1<e.length,o=s?e[i+1]:0,a=i+2<e.length,l=a?e[i+2]:0,c=t>>2,u=(3&t)<<4|o>>4;let h=(15&o)<<2|l>>6,d=63&l;a||(d=64,s||(h=64)),r.push(n[c],n[u],n[h],n[d])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(As(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){const t=[];let n=0,r=0;for(;n<e.length;){const i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){const s=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&s)}else if(i>239&&i<365){const s=((7&i)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])-65536;t[r++]=String.fromCharCode(55296+(s>>10)),t[r++]=String.fromCharCode(56320+(1023&s))}else{const s=e[n++],o=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&s)<<6|63&o)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i<e.length;){const t=n[e.charAt(i++)],s=i<e.length?n[e.charAt(i)]:0;++i;const o=i<e.length?n[e.charAt(i)]:64;++i;const a=i<e.length?n[e.charAt(i)]:64;if(++i,null==t||null==s||null==o||null==a)throw new dist_index_esm2017_DecodeBase64StringError;const l=t<<2|s>>4;if(r.push(l),64!==o){const e=s<<4&240|o>>2;if(r.push(e),64!==a){const e=o<<6&192|a;r.push(e)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};
vendor: 10,567 bytes, line 1
1class dist_index_esm2017_DecodeBase64StringError extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const ks=function(e){const t=As(e);return Is.encodeByteArray(t,!0)},Ps=function(e){try{return Is.decodeString(e,!0)}catch(Pb){console.error("base64Decode failed: ",Pb)}return null};function Ns(e){return Rs(void 0,e)}function Rs(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:return new Date(t.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(const n in t)t.hasOwnProperty(n)&&"__proto__"!==n&&(e[n]=Rs(e[n],t[n]));return e}class util_dist_index_esm2017_Deferred{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}wrapCallback(e){return(t,n)=>{t?this.reject(t):this.resolve(n),"function"==typeof e&&(this.promise.catch((()=>{})),1===e.length?e(t):e(t,n))}}}function Os(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function Ds(){return"undefined"!=typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(Os())}function Fs(){return!0===Es||!0===Ss}Error;function Ls(e){return JSON.parse(e)}function js(e){return JSON.stringify(e)}const Ms=function(e){let t={},n={},r={},i="";try{const s=e.split(".");t=Ls(Ps(s[0])||""),n=Ls(Ps(s[1])||""),i=s[2],r=n.d||{},delete n.d}catch(Pb){}return{header:t,claims:n,data:r,signature:i}};function Us(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Vs(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function Bs(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function $s(e,t,n){const r={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r}class dist_index_esm2017_Sha1{constructor(){this.chain_=[],this.buf_=[],this.W_=[],this.pad_=[],this.inbuf_=0,this.total_=0,this.blockSize=64,this.pad_[0]=128;for(let e=1;e<this.blockSize;++e)this.pad_[e]=0;this.reset()}reset(){this.chain_[0]=1732584193,this.chain_[1]=4023233417,this.chain_[2]=2562383102,this.chain_[3]=271733878,this.chain_[4]=3285377520,this.inbuf_=0,this.total_=0}compress_(e,t){t||(t=0);const n=this.W_;if("string"==typeof e)for(let u=0;u<16;u++)n[u]=e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|e.charCodeAt(t+3),t+=4;else for(let u=0;u<16;u++)n[u]=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3],t+=4;for(let u=16;u<80;u++){const e=n[u-3]^n[u-8]^n[u-14]^n[u-16];n[u]=4294967295&(e<<1|e>>>31)}let r,i,s=this.chain_[0],o=this.chain_[1],a=this.chain_[2],l=this.chain_[3],c=this.chain_[4];for(let u=0;u<80;u++){u<40?u<20?(r=l^o&(a^l),i=1518500249):(r=o^a^l,i=1859775393):u<60?(r=o&a|l&(o|a),i=2400959708):(r=o^a^l,i=3395469782);const e=(s<<5|s>>>27)+r+c+i+n[u]&4294967295;c=l,l=a,a=4294967295&(o<<30|o>>>2),o=s,s=e}this.chain_[0]=this.chain_[0]+s&4294967295,this.chain_[1]=this.chain_[1]+o&4294967295,this.chain_[2]=this.chain_[2]+a&4294967295,this.chain_[3]=this.chain_[3]+l&4294967295,this.chain_[4]=this.chain_[4]+c&4294967295}update(e,t){if(null==e)return;void 0===t&&(t=e.length);const n=t-this.blockSize;let r=0;const i=this.buf_;let s=this.inbuf_;for(;r<t;){if(0===s)for(;r<=n;)this.compress_(e,r),r+=this.blockSize;if("string"==typeof e){for(;r<t;)if(i[s]=e.charCodeAt(r),++s,++r,s===this.blockSize){this.compress_(i),s=0;break}}else for(;r<t;)if(i[s]=e[r],++s,++r,s===this.blockSize){this.compress_(i),s=0;break}}this.inbuf_=s,this.total_+=t}digest(){const e=[];let t=8*this.total_;this.inbuf_<56?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(let r=this.blockSize-1;r>=56;r--)this.buf_[r]=255&t,t/=256;this.compress_(this.buf_);let n=0;for(let r=0;r<5;r++)for(let t=24;t>=0;t-=8)e[n]=this.chain_[r]>>t&255,++n;return e}}function zs(e,t){return`${e} failed: ${t} argument `}const Hs=function(e){let t=0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);r<128?t++:r<2048?t+=2:r>=55296&&r<=56319?(t+=4,n++):t+=3}return t};function Ws(e){return e&&e._delegate?e._delegate:e}class dist_esm_index_esm2017_Component{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const qs=[];var Ks;!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(Ks||(Ks={}));const Gs={debug:Ks.DEBUG,verbose:Ks.VERBOSE,info:Ks.INFO,warn:Ks.WARN,error:Ks.ERROR,silent:Ks.SILENT},Qs=Ks.INFO,Xs={[Ks.DEBUG]:"log",[Ks.VERBOSE]:"log",[Ks.INFO]:"info",[Ks.WARN]:"warn",[Ks.ERROR]:"error"},Ys=(e,t,...n)=>{if(t<e.logLevel)return;const r=(new Date).toISOString(),i=Xs[t];if(!i)throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`);console[i](`[${r}] ${e.name}:`,...n)};const Js="@firebase/database",Zs="1.0.12";let eo="";function to(e){eo=e}class DOMStorageWrapper{constructor(e){this.domStorage_=e,this.prefix_="firebase:"}set(e,t){null==t?this.domStorage_.removeItem(this.prefixedName_(e)):this.domStorage_.setItem(this.prefixedName_(e),js(t))}get(e){const t=this.domStorage_.getItem(this.prefixedName_(e));return null==t?null:Ls(t)}remove(e){this.domStorage_.removeItem(this.prefixedName_(e))}prefixedName_(e){return this.prefix_+e}toString(){return this.domStorage_.toString()}}class MemoryStorage{constructor(){this.cache_={},this.isInMemoryStorage=!0}set(e,t){null==t?delete this.cache_[e]:this.cache_[e]=t}get(e){return Us(this.cache_,e)?this.cache_[e]:null}remove(e){delete this.cache_[e]}}const no=function(e){try{if("undefined"!=typeof window&&void 0!==window[e]){const t=window[e];return t.setItem("firebase:sentinel","cache"),t.removeItem("firebase:sentinel"),new DOMStorageWrapper(t)}}catch(Pb){}return new MemoryStorage},ro=no("localStorage"),io=no("sessionStorage"),so=new class esm_index_esm2017_Logger{constructor(e){this.name=e,this._logLevel=Qs,this._logHandler=Ys,this._userLogHandler=null,qs.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in Ks))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?Gs[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,Ks.DEBUG,...e),this._logHandler(this,Ks.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,Ks.VERBOSE,...e),this._logHandler(this,Ks.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,Ks.INFO,...e),this._logHandler(this,Ks.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,Ks.WARN,...e),this._logHandler(this,Ks.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,Ks.ERROR,...e),this._logHandler(this,Ks.ERROR,...e)}}("@firebase/database"),oo=function(){let e=1;return function(){return e++}}(),ao=function(e){const t=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i>=55296&&i<=56319){const t=i-55296;r++,Cs(r<e.length,"Surrogate pair missing trail surrogate."),i=65536+(t<<10)+(e.charCodeAt(r)-56320)}i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):i<65536?(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t}(e),n=new dist_index_esm2017_Sha1;n.update(t);const r=n.digest();return Is.encodeByteArray(r)},lo=function(...e){let t="";for(let n=0;n<e.length;n++){const r=e[n];Array.isArray(r)||r&&"object"==typeof r&&"number"==typeof r.length?t+=lo.apply(null,r):t+="object"==typeof r?js(r):r,t+=" "}return t};let co=null,uo=!0;const ho=function(e,t){Cs(!t||!0===e||!1===e,"Can't turn on custom loggers persistently."),!0===e?(so.logLevel=Ks.VERBOSE,co=so.log.bind(so),t&&io.set("logging_enabled",!0)):"function"==typeof e?co=e:(co=null,io.remove("logging_enabled"))},fo=function(...e){if(!0===uo&&(uo=!1,null===co&&!0===io.get("logging_enabled")&&ho(!0)),co){const t=lo.apply(null,e);co(t)}},po=function(e){return function(...t){fo(e,...t)}},mo=function(...e){const t="FIREBASE INTERNAL ERROR: "+lo(...e);so.error(t)},go=function(...e){const t=`FIREBASE FATAL ERROR: ${lo(...e)}`;throw so.error(t),new Error(t)},_o=function(...e){const t="FIREBASE WARNING: "+lo(...e);so.warn(t)},vo=function(e){return"number"==typeof e&&(e!=e||e===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY)},yo="[MIN_NAME]",bo="[MAX_NAME]",wo=function(e,t){if(e===t)return 0;if(e===yo||t===bo)return-1;if(t===yo||e===bo)return 1;{const n=ko(e),r=ko(t);return null!==n?null!==r?n-r==0?e.length-t.length:n-r:-1:null!==r?1:e<t?-1:1}},Eo=function(e,t){return e===t?0:e<t?-1:1},So=function(e,t){if(t&&e in t)return t[e];throw new Error("Missing required key ("+e+") in object: "+js(t))},To=function(e){if("object"!=typeof e||null===e)return js(e);const t=[];for(const r in e)t.push(r);t.sort();let n="{";for(let r=0;r<t.length;r++)0!==r&&(n+=","),n+=js(t[r]),n+=":",n+=To(e[t[r]]);return n+="}",n},Co=function(e,t){const n=e.length;if(n<=t)return[e];const r=[];for(let i=0;i<n;i+=t)i+t>n?r.push(e.substring(i,n)):r.push(e.substring(i,i+t));return r};function xo(e,t){for(const n in e)e.hasOwnProperty(n)&&t(n,e[n])}const Ao=function(e){Cs(!vo(e),"Invalid JSON number");const t=1023;let n,r,i,s,o;0===e?(r=0,i=0,n=1/e==-1/0?1:0):(n=e<0,(e=Math.abs(e))>=Math.pow(2,-1022)?(s=Math.min(Math.floor(Math.log(e)/Math.LN2),t),r=s+t,i=Math.round(e*Math.pow(2,52-s)-Math.pow(2,52))):(r=0,i=Math.round(e/Math.pow(2,-1074))));const a=[];for(o=52;o;o-=1)a.push(i%2?1:0),i=Math.floor(i/2);for(o=11;o;o-=1)a.push(r%2?1:0),r=Math.floor(r/2);a.push(n?1:0),a.reverse();const l=a.join("");let c="";for(o=0;o<64;o+=8){let e=parseInt(l.substr(o,8),2).toString(16);1===e.length&&(e="0"+e),c+=e}return c.toLowerCase()};const Io=new RegExp("^-?(0*)\\d{1,10}$"),ko=function(e){if(Io.test(e)){const t=Number(e);if(t>=-2147483648&&t<=2147483647)return t}return null},Po=function(e){try{e()}catch(Pb){setTimeout((()=>{const t=Pb.stack||"";
vendor: 4,436 bytes, line 1
1throw _o("Exception was thrown by user callback.",t),Pb}),Math.floor(0))}},No=function(e,t){const n=setTimeout(e,t);return"number"==typeof n&&"undefined"!=typeof Deno&&Deno.unrefTimer?Deno.unrefTimer(n):"object"==typeof n&&n.unref&&n.unref(),n};class AppCheckTokenProvider{constructor(e,t){this.appCheckProvider=t,this.appName=e.name,en(e)&&e.settings.appCheckToken&&(this.serverAppAppCheckToken=e.settings.appCheckToken),this.appCheck=null==t?void 0:t.getImmediate({optional:!0}),this.appCheck||null==t||t.get().then((e=>this.appCheck=e))}getToken(e){if(this.serverAppAppCheckToken){if(e)throw new Error("Attempted reuse of `FirebaseServerApp.appCheckToken` after previous usage failed.");return Promise.resolve({token:this.serverAppAppCheckToken})}return this.appCheck?this.appCheck.getToken(e):new Promise(((t,n)=>{setTimeout((()=>{this.appCheck?this.getToken(e).then(t,n):t(null)}),0)}))}addTokenChangeListener(e){var t;null===(t=this.appCheckProvider)||void 0===t||t.get().then((t=>t.addTokenListener(e)))}notifyForInvalidToken(){_o(`Provided AppCheck credentials for the app named "${this.appName}" are invalid. This usually indicates your app was not initialized correctly.`)}}class FirebaseAuthTokenProvider{constructor(e,t,n){this.appName_=e,this.firebaseOptions_=t,this.authProvider_=n,this.auth_=null,this.auth_=n.getImmediate({optional:!0}),this.auth_||n.onInit((e=>this.auth_=e))}getToken(e){return this.auth_?this.auth_.getToken(e).catch((e=>e&&"auth/token-not-initialized"===e.code?(fo("Got auth/token-not-initialized error. Treating as null token."),null):Promise.reject(e))):new Promise(((t,n)=>{setTimeout((()=>{this.auth_?this.getToken(e).then(t,n):t(null)}),0)}))}addTokenChangeListener(e){this.auth_?this.auth_.addAuthTokenListener(e):this.authProvider_.get().then((t=>t.addAuthTokenListener(e)))}removeTokenChangeListener(e){this.authProvider_.get().then((t=>t.removeAuthTokenListener(e)))}notifyForInvalidToken(){let e='Provided authentication credentials for the app named "'+this.appName_+'" are invalid. This usually indicates your app was not initialized correctly. ';"credential"in this.firebaseOptions_?e+='Make sure the "credential" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':"serviceAccount"in this.firebaseOptions_?e+='Make sure the "serviceAccount" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':e+='Make sure the "apiKey" and "databaseURL" properties provided to initializeApp() match the values provided for your app at https://console.firebase.google.com/.',_o(e)}}class EmulatorTokenProvider{constructor(e){this.accessToken=e}getToken(e){return Promise.resolve({accessToken:this.accessToken})}addTokenChangeListener(e){e(this.accessToken)}removeTokenChangeListener(e){}notifyForInvalidToken(){}}EmulatorTokenProvider.OWNER="owner";const Ro="5",Oo=/(console\.firebase|firebase-console-\w+\.corp|firebase\.corp)\.google\.com/,Do="ac",Fo="websocket",Lo="long_polling";class RepoInfo{constructor(e,t,n,r,i=!1,s="",o=!1,a=!1){this.secure=t,this.namespace=n,this.webSocketOnly=r,this.nodeAdmin=i,this.persistenceKey=s,this.includeNamespaceInQueryParams=o,this.isUsingEmulator=a,this._host=e.toLowerCase(),this._domain=this._host.substr(this._host.indexOf(".")+1),this.internalHost=ro.get("host:"+e)||this._host}isCacheableHost(){return"s-"===this.internalHost.substr(0,2)}isCustomHost(){return"firebaseio.com"!==this._domain&&"firebaseio-demo.com"!==this._domain}get host(){return this._host}set host(e){e!==this.internalHost&&(this.internalHost=e,this.isCacheableHost()&&ro.set("host:"+this._host,this.internalHost))}toString(){let e=this.toURLString();return this.persistenceKey&&(e+="<"+this.persistenceKey+">"),e}toURLString(){const e=this.secure?"https://":"http://",t=this.includeNamespaceInQueryParams?`?ns=${this.namespace}`:"";return`${e}${this.host}/${t}`}}function jo(e,t,n){let r;if(Cs("string"==typeof t,"typeof type must == string"),Cs("object"==typeof n,"typeof params must == object"),t===Fo)r=(e.secure?"wss://":"ws://")+e.internalHost+"/.ws?";else{if(t!==Lo)throw new Error("Unknown connection type: "+t);r=(e.secure?"https://":"http://")+e.internalHost+"/.lp?"}(function(e){return e.host!==e.internalHost||e.isCustomHost()||e.includeNamespaceInQueryParams})(e)&&(n.ns=e.namespace);const i=[];return xo(n,((e,t)=>{i.push(e+"="+t)}
vendor: 5,480 bytes, line 1
1)),r+i.join("&")}class StatsCollection{constructor(){this.counters_={}}incrementCounter(e,t=1){Us(this.counters_,e)||(this.counters_[e]=0),this.counters_[e]+=t}get(){return Ns(this.counters_)}}const Mo={},Uo={};function Vo(e){const t=e.toString();return Mo[t]||(Mo[t]=new StatsCollection),Mo[t]}class PacketReceiver{constructor(e){this.onMessage_=e,this.pendingResponses=[],this.currentResponseNum=0,this.closeAfterResponse=-1,this.onClose=null}closeAfter(e,t){this.closeAfterResponse=e,this.onClose=t,this.closeAfterResponse<this.currentResponseNum&&(this.onClose(),this.onClose=null)}handleResponse(e,t){for(this.pendingResponses[e]=t;this.pendingResponses[this.currentResponseNum];){const e=this.pendingResponses[this.currentResponseNum];delete this.pendingResponses[this.currentResponseNum];for(let t=0;t<e.length;++t)e[t]&&Po((()=>{this.onMessage_(e[t])}));if(this.currentResponseNum===this.closeAfterResponse){this.onClose&&(this.onClose(),this.onClose=null);break}this.currentResponseNum++}}}const Bo="start";class BrowserPollConnection{constructor(e,t,n,r,i,s,o){this.connId=e,this.repoInfo=t,this.applicationId=n,this.appCheckToken=r,this.authToken=i,this.transportSessionId=s,this.lastSessionId=o,this.bytesSent=0,this.bytesReceived=0,this.everConnected_=!1,this.log_=po(e),this.stats_=Vo(t),this.urlFn=e=>(this.appCheckToken&&(e[Do]=this.appCheckToken),jo(t,Lo,e))}open(e,t){this.curSegmentNum=0,this.onDisconnect_=t,this.myPacketOrderer=new PacketReceiver(e),this.isClosed_=!1,this.connectTimeoutTimer_=setTimeout((()=>{this.log_("Timed out trying to connect."),this.onClosed_(),this.connectTimeoutTimer_=null}),Math.floor(3e4)),function(e){if(Fs()||"complete"===document.readyState)e();else{let t=!1;const n=function(){document.body?t||(t=!0,e()):setTimeout(n,Math.floor(10))};document.addEventListener?(document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",(()=>{"complete"===document.readyState&&n()})),window.attachEvent("onload",n))}}((()=>{if(this.isClosed_)return;this.scriptTagHolder=new FirebaseIFrameScriptHolder(((...e)=>{const[t,n,r,i,s]=e;if(this.incrementIncomingBytes_(e),this.scriptTagHolder)if(this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null),this.everConnected_=!0,t===Bo)this.id=n,this.password=r;else{if("close"!==t)throw new Error("Unrecognized command received: "+t);n?(this.scriptTagHolder.sendNewPolls=!1,this.myPacketOrderer.closeAfter(n,(()=>{this.onClosed_()}))):this.onClosed_()}}),((...e)=>{const[t,n]=e;this.incrementIncomingBytes_(e),this.myPacketOrderer.handleResponse(t,n)}),(()=>{this.onClosed_()}),this.urlFn);const e={};e[Bo]="t",e.ser=Math.floor(1e8*Math.random()),this.scriptTagHolder.uniqueCallbackIdentifier&&(e.cb=this.scriptTagHolder.uniqueCallbackIdentifier),e.v=Ro,this.transportSessionId&&(e.s=this.transportSessionId),this.lastSessionId&&(e.ls=this.lastSessionId),this.applicationId&&(e.p=this.applicationId),this.appCheckToken&&(e[Do]=this.appCheckToken),"undefined"!=typeof location&&location.hostname&&Oo.test(location.hostname)&&(e.r="f");const t=this.urlFn(e);this.log_("Connecting via long-poll to "+t),this.scriptTagHolder.addTag(t,(()=>{}))}))}start(){this.scriptTagHolder.startLongPoll(this.id,this.password),this.addDisconnectPingFrame(this.id,this.password)}static forceAllow(){BrowserPollConnection.forceAllow_=!0}static forceDisallow(){BrowserPollConnection.forceDisallow_=!0}static isAvailable(){return!Fs()&&(!!BrowserPollConnection.forceAllow_||!(BrowserPollConnection.forceDisallow_||"undefined"==typeof document||null==document.createElement||"object"==typeof window&&window.chrome&&window.chrome.extension&&!/^chrome/.test(window.location.href)||"object"==typeof Windows&&"object"==typeof Windows.UI))}markConnectionHealthy(){}shutdown_(){this.isClosed_=!0,this.scriptTagHolder&&(this.scriptTagHolder.close(),this.scriptTagHolder=null),this.myDisconnFrame&&(document.body.removeChild(this.myDisconnFrame),this.myDisconnFrame=null),this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null)}onClosed_(){this.isClosed_||(this.log_("Longpoll is closing itself"),this.shutdown_(),this.onDisconnect_&&(this.onDisconnect_(this.everConnected_),this.onDisconnect_=null))}close(){this.isClosed_||(this.log_("Longpoll is being closed."),this.shutdown_())}send(e){const t=js(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);const n=ks(t),r=Co(n,1840);for(let i=0;i<r.length;i++)this.scriptTagHolder.enqueueSegment(this.curSegmentNum,r.length,r[i]),this.curSegmentNum++}addDisconnectPingFrame(e,t){if(Fs())return;this.myDisconnFrame=document.createElement("iframe");const n={dframe:"t"};n.id=e,n.pw=t,this.myDisconnFrame.src=this.urlFn(n),this.myDisconnFrame.style.display="none",document.body.appendChild(this.myDisconnFrame)}incrementIncomingBytes_(e){const t=js(e).length;this.bytesReceived+=t,this.stats_.incrementCounter("bytes_received",t)}}class FirebaseIFrameScriptHolder{constructor(e,t,n,r){if(this.onDisconnect=n,this.urlFn=r,this.outstandingRequests=new Set,this.pendingSegs=[],this.currentSerial=Math.floor(1e8*Math.random()),this.sendNewPolls=!0,Fs())this.commandCB=e,this.onMessageCB=t;else{this.uniqueCallbackIdentifier=oo(),window["pLPCommand"+this.uniqueCallbackIdentifier]=e,window["pRTLPCB"+this.uniqueCallbackIdentifier]=t,this.myIFrame=FirebaseIFrameScriptHolder.createI
1Frame_();let n="";if(this.myIFrame.src&&"javascript:"===this.myIFrame.src.substr(0,11)){n='<script>document.domain="'+document.domain+'";<\/script>'}const r="<html><body>"+n+"</body></html>";try{this.myIFrame.doc.open(),this.myIFrame.doc.write(r),this.myIFrame.doc.close()}catch(Pb){fo("frame writing exception"),Pb.stack&&fo(Pb.stack),fo(Pb)}}}static createIFrame_(){const e=document.createElement("iframe");if(e.style.display="none",!document.body)throw"Document body has not initialized. Wait to initialize Firebase until after the document is ready.";document.body.appendChild(e);try{e.contentWindow.document||fo("No IE domain setting required")}catch(Pb){const n=document.domain;e.src="javascript:void((function(){document.open();document.domain='"+n+"';document.close();})())"}return e.contentDocument?e.doc=e.contentDocument:e.contentWindow?e.doc=e.contentWindow.document:e.document&&(e.doc=e.document),e}close(){this.alive=!1,this.myIFrame&&(this.myIFrame.doc.body.textContent="",setTimeout((()=>{null!==this.myIFrame&&(document.body.removeChild(this.myIFrame),this.myIFrame=null)}),Math.floor(0)));const e=this.onDisconnect;e&&(this.onDisconnect=null,e())}startLongPoll(e,t){for(this.myID=e,this.myPW=t,this.alive=!0;this.newRequest_(););}newRequest_(){if(this.alive&&this.sendNewPolls&&this.outstandingRequests.size<(this.pendingSegs.length>0?2:1)){this.currentSerial++;const e={};e.id=this.myID,e.pw=this.myPW,e.ser=this.currentSerial;let t=this.urlFn(e),n="",r=0;for(;this.pendingSegs.length>0;){if(!(this.pendingSegs[0].d.length+30+n.length<=1870))break;{const e=this.pendingSegs.shift();n=n+"&seg"+r+"="+e.seg+"&ts"+r+"="+e.ts+"&d"+r+"="+e.d,r++}}return t+=n,this.addLongPollTag_(t,this.currentSerial),!0}return!1}enqueueSegment(e,t,n){this.pendingSegs.push({seg:e,ts:t,d:n}),this.alive&&this.newRequest_()}addLongPollTag_(e,t){this.outstandingRequests.add(t);const n=()=>{this.outstandingRequests.delete(t),this.newRequest_()},r=setTimeout(n,Math.floor(25e3));this.addTag(e,(()=>{clearTimeout(r),n()}))}addTag(e,t){Fs()?this.doNodeLongPoll(e,t):setTimeout((()=>{try{if(!this.sendNewPolls)return;const n=this.myIFrame.doc.createElement("script");n.type="text/javascript",n.async=!0,n.src=e,n.onload=n.onreadystatechange=function(){const e=n.readyState;e&&"loaded"!==e&&"complete"!==e||(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),t())},n.onerror=()=>{fo("Long-poll script failed to load: "+e),this.sendNewPolls=!1,this.close()},this.myIFrame.doc.body.appendChild(n)}catch(Pb){}}),Math.floor(1))}}let $o=null;"undefined"!=typeof MozWebSocket?$o=MozWebSocket:"undefined"!=typeof WebSocket&&($o=WebSocket);class WebSocketConnection{constructor(e,t,n,r,i,s,o){this.connId=e,this.applicationId=n,this.appCheckToken=r,this.authToken=i,this.keepaliveTimer=null,this.frames=null,this.totalFrames=0,this.bytesSent=0,this.bytesReceived=0,this.log_=po(this.connId),this.stats_=Vo(t),this.connURL=WebSocketConnection.connectionURL_(t,s,o,r,n),this.nodeAdmin=t.nodeAdmin}static connectionURL_(e,t,n,r,i){const s={};return s.v=Ro,!Fs()&&"undefined"!=typeof location&&location.hostname&&Oo.test(location.hostname)&&(s.r="f"),t&&(s.s=t),n&&(s.ls=n),r&&(s[Do]=r),i&&(s.p=i),jo(e,Fo,s)}open(e,t){this.onDisconnect=t,this.onMessage=e,this.log_("Websocket connecting to "+this.connURL),this.everConnected_=!1,ro.set("previous_websocket_failure",!0);try{let e;if(Fs()){const t=this.nodeAdmin?"AdminNode":"Node";e={headers:{"User-Agent":`Firebase/${Ro}/${eo}/${process.platform}/${t}`,"X-Firebase-GMPID":this.applicationId||""}},this.authToken&&(e.headers.Authorization=`Bearer ${this.authToken}`),this.appCheckToken&&(e.headers["X-Firebase-AppCheck"]=this.appCheckToken);const n={NX_APP_FIREBASE_API_KEY:"AIzaSyAqrnh278DkaUjuVEBfLGtZwa0cEtP3n1o",NX_APP_FIREBASE_AUTH_DOMAIN:"shift-89fes2024.firebaseapp.com",NX_APP_FIREBASE_PROJECT_ID:"shift-89fes2024",NX_APP_FIREBASE_STORAGE_BUCKET:"shift-89fes2024.appspot.com",NX_APP_FIREBASE_MESSAGING_SENDER_ID:"170484621347",NX_APP_FIREBASE_APP_ID:"1:170484621347:web:0e749d623ded68ff29d196",NX_APP_FIREBASE_MEASUREMENT_ID:"G-0B5PH9DBTL",NX_APP_ENVIRONMENT:"production",NX_CLI_SET:"true",NX_LOAD_DOT_ENV_FILES:"true",NX_WORKSPACE_ROOT:"/Users/phuc.bui/working/bugfes2024-prod/design-form",NX_TERMINAL_OUTPUT_PATH:"/Users/phuc.bui/working/bugfes2024-prod/design-form/node_modules/.cache/nx/terminalOutputs/5379331968827017544",NX_STREAM_OUTPUT:"true",NX_TASK_TARGET_PROJECT:"shift89fes2024-front",NX_TASK_TARGET_TARGET:"build",NX_TASK_TARGET_CONFIGURATION:"production",NX_TASK_HASH:"5379331968827017544"},r=0===this.connURL.indexOf("wss://")?n.HTTPS_PROXY||n.https_proxy:n.HTTP_PROXY||n.http_proxy;r&&(e.proxy={origin:r})}this.mySock=new $o(this.connURL,[],e)}catch(Pb){this.log_("Error instantiating WebSocket.");const t=Pb.message||Pb.data;return t&&this.log_(t),void this.onClosed_()}this.mySock.onopen=()=>{this.log_("Websocket connected."),this.everConnected_=!0}
vendor: 6,592 bytes, line 1
1,this.mySock.onclose=()=>{this.log_("Websocket connection was disconnected."),this.mySock=null,this.onClosed_()},this.mySock.onmessage=e=>{this.handleIncomingFrame(e)},this.mySock.onerror=e=>{this.log_("WebSocket error. Closing connection.");const t=e.message||e.data;t&&this.log_(t),this.onClosed_()}}start(){}static forceDisallow(){WebSocketConnection.forceDisallow_=!0}static isAvailable(){let e=!1;if("undefined"!=typeof navigator&&navigator.userAgent){const t=/Android ([0-9]{0,}\.[0-9]{0,})/,n=navigator.userAgent.match(t);n&&n.length>1&&parseFloat(n[1])<4.4&&(e=!0)}return!e&&null!==$o&&!WebSocketConnection.forceDisallow_}static previouslyFailed(){return ro.isInMemoryStorage||!0===ro.get("previous_websocket_failure")}markConnectionHealthy(){ro.remove("previous_websocket_failure")}appendFrame_(e){if(this.frames.push(e),this.frames.length===this.totalFrames){const e=this.frames.join("");this.frames=null;const t=Ls(e);this.onMessage(t)}}handleNewFrameCount_(e){this.totalFrames=e,this.frames=[]}extractFrameCount_(e){if(Cs(null===this.frames,"We already have a frame buffer"),e.length<=6){const t=Number(e);if(!isNaN(t))return this.handleNewFrameCount_(t),null}return this.handleNewFrameCount_(1),e}handleIncomingFrame(e){if(null===this.mySock)return;const t=e.data;if(this.bytesReceived+=t.length,this.stats_.incrementCounter("bytes_received",t.length),this.resetKeepAlive(),null!==this.frames)this.appendFrame_(t);else{const e=this.extractFrameCount_(t);null!==e&&this.appendFrame_(e)}}send(e){this.resetKeepAlive();const t=js(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);const n=Co(t,16384);n.length>1&&this.sendString_(String(n.length));for(let r=0;r<n.length;r++)this.sendString_(n[r])}shutdown_(){this.isClosed_=!0,this.keepaliveTimer&&(clearInterval(this.keepaliveTimer),this.keepaliveTimer=null),this.mySock&&(this.mySock.close(),this.mySock=null)}onClosed_(){this.isClosed_||(this.log_("WebSocket is closing itself"),this.shutdown_(),this.onDisconnect&&(this.onDisconnect(this.everConnected_),this.onDisconnect=null))}close(){this.isClosed_||(this.log_("WebSocket is being closed"),this.shutdown_())}resetKeepAlive(){clearInterval(this.keepaliveTimer),this.keepaliveTimer=setInterval((()=>{this.mySock&&this.sendString_("0"),this.resetKeepAlive()}),Math.floor(45e3))}sendString_(e){try{this.mySock.send(e)}catch(Pb){this.log_("Exception thrown from WebSocket.send():",Pb.message||Pb.data,"Closing connection."),setTimeout(this.onClosed_.bind(this),0)}}}WebSocketConnection.responsesRequiredToBeHealthy=2,WebSocketConnection.healthyTimeout=3e4;class TransportManager{static get ALL_TRANSPORTS(){return[BrowserPollConnection,WebSocketConnection]}static get IS_TRANSPORT_INITIALIZED(){return this.globalTransportInitialized_}constructor(e){this.initTransports_(e)}initTransports_(e){const t=WebSocketConnection&&WebSocketConnection.isAvailable();let n=t&&!WebSocketConnection.previouslyFailed();if(e.webSocketOnly&&(t||_o("wss:// URL used, but browser isn't known to support websockets. Trying anyway."),n=!0),n)this.transports_=[WebSocketConnection];else{const e=this.transports_=[];for(const t of TransportManager.ALL_TRANSPORTS)t&&t.isAvailable()&&e.push(t);TransportManager.globalTransportInitialized_=!0}}initialTransport(){if(this.transports_.length>0)return this.transports_[0];throw new Error("No transports available")}upgradeTransport(){return this.transports_.length>1?this.transports_[1]:null}}TransportManager.globalTransportInitialized_=!1;class Connection{constructor(e,t,n,r,i,s,o,a,l,c){this.id=e,this.repoInfo_=t,this.applicationId_=n,this.appCheckToken_=r,this.authToken_=i,this.onMessage_=s,this.onReady_=o,this.onDisconnect_=a,this.onKill_=l,this.lastSessionId=c,this.connectionCount=0,this.pendingDataMessages=[],this.state_=0,this.log_=po("c:"+this.id+":"),this.transportManager_=new TransportManager(t),this.log_("Connection created"),this.start_()}start_(){const e=this.transportManager_.initialTransport();this.conn_=new e(this.nextTransportId_(),this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,null,this.lastSessionId),this.primaryResponsesRequired_=e.responsesRequiredToBeHealthy||0;const t=this.connReceiver_(this.conn_),n=this.disconnReceiver_(this.conn_);this.tx_=this.conn_,this.rx_=this.conn_,this.secondaryConn_=null,this.isHealthy_=!1,setTimeout((()=>{this.conn_&&this.conn_.open(t,n)}),Math.floor(0));const r=e.healthyTimeout||0;r>0&&(this.healthyTimeout_=No((()=>{this.healthyTimeout_=null,this.isHealthy_||(this.conn_&&this.conn_.bytesReceived>102400?(this.log_("Connection exceeded healthy timeout but has received "+this.conn_.bytesReceived+" bytes. Marking connection healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy()):this.conn_&&this.conn_.bytesSent>10240?this.log_("Connection exceeded healthy timeout but has sent "+this.conn_.bytesSent+" bytes. Leaving connection alive."):(this.log_("Closing unhealthy connection after timeout."),this.close()))}),Math.floor(r)))}nextTransportId_(){return"c:"+this.id+":"+this.connectionCount++}disconnReceiver_(e){return t=>{e===this.conn_?this.onConnectionLost_(t):e===this.secondaryConn_?(this.log_("Secondary connection lost."),this.onSecondaryConnectionLost_()):this.log_("closing an old connection")}}connReceiver_(e){return t=>{2!==this.state_&&(e===this.rx_?this.onPrimaryMessageReceived_(t):e===this.secondaryConn_?this.onSecondaryMessageReceived_(t):this.log_("message on old connection"))}}sendRequest(e){const t={t:"d",d:e};this.sendData_(t)}tryCleanupConnection(){this.tx_===this.secondaryConn_&&this.rx_===this.secondaryConn_&&(this.log_("cleaning up and promoting a connection: "+this.secondaryConn_.connId),this.conn_=this.secondaryConn_,this.secondaryConn_=null)}onSecondaryControl_(e){if("t"in e){const t=e.t;"a"===t?this.upgradeIfSecondaryHealthy_():"r"===t?(this.log_("Got a reset on secondary, closing it"),this.secondaryConn_.close(),this.tx_!==this.secondaryConn_&&this.rx_!==this.secondaryConn_||this.close()):"o"===t&&(this.log_("got pong on secondary."),this.secondaryResponsesRequired_--,this.upgradeIfSecondaryHealthy_())}}onSecondaryMessageReceived_(e){const t=So("t",e),n=So("d",e);if("c"===t)this.onSecondaryControl_(n);else{if("d"!==t)throw new Error("Unknown protocol layer: "+t);this.pendingDataMessages.push(n)}}upgradeIfSecondaryHealthy_(){this.secondaryResponsesRequired_<=0?(this.log_("Secondary connection is healthy."),this.isHealthy_=!0,this.secondaryConn_.markConnectionHealthy(),this.proceedWithUpgrade_()):(this.log_("sending ping on secondary."),this.secondaryConn_.send({t
vendor: 4,826 bytes, line 1
1:"c",d:{t:"p",d:{}}}))}proceedWithUpgrade_(){this.secondaryConn_.start(),this.log_("sending client ack on secondary"),this.secondaryConn_.send({t:"c",d:{t:"a",d:{}}}),this.log_("Ending transmission on primary"),this.conn_.send({t:"c",d:{t:"n",d:{}}}),this.tx_=this.secondaryConn_,this.tryCleanupConnection()}onPrimaryMessageReceived_(e){const t=So("t",e),n=So("d",e);"c"===t?this.onControl_(n):"d"===t&&this.onDataMessage_(n)}onDataMessage_(e){this.onPrimaryResponse_(),this.onMessage_(e)}onPrimaryResponse_(){this.isHealthy_||(this.primaryResponsesRequired_--,this.primaryResponsesRequired_<=0&&(this.log_("Primary connection is healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy()))}onControl_(e){const t=So("t",e);if("d"in e){const n=e.d;if("h"===t){const e=Object.assign({},n);this.repoInfo_.isUsingEmulator&&(e.h=this.repoInfo_.host),this.onHandshake_(e)}else if("n"===t){this.log_("recvd end transmission on primary"),this.rx_=this.secondaryConn_;for(let e=0;e<this.pendingDataMessages.length;++e)this.onDataMessage_(this.pendingDataMessages[e]);this.pendingDataMessages=[],this.tryCleanupConnection()}else"s"===t?this.onConnectionShutdown_(n):"r"===t?this.onReset_(n):"e"===t?mo("Server Error: "+n):"o"===t?(this.log_("got pong on primary."),this.onPrimaryResponse_(),this.sendPingOnPrimaryIfNecessary_()):mo("Unknown control packet command: "+t)}}onHandshake_(e){const t=e.ts,n=e.v,r=e.h;this.sessionId=e.s,this.repoInfo_.host=r,0===this.state_&&(this.conn_.start(),this.onConnectionEstablished_(this.conn_,t),Ro!==n&&_o("Protocol version mismatch detected"),this.tryStartUpgrade_())}tryStartUpgrade_(){const e=this.transportManager_.upgradeTransport();e&&this.startUpgrade_(e)}startUpgrade_(e){this.secondaryConn_=new e(this.nextTransportId_(),this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,this.sessionId),this.secondaryResponsesRequired_=e.responsesRequiredToBeHealthy||0;const t=this.connReceiver_(this.secondaryConn_),n=this.disconnReceiver_(this.secondaryConn_);this.secondaryConn_.open(t,n),No((()=>{this.secondaryConn_&&(this.log_("Timed out trying to upgrade."),this.secondaryConn_.close())}),Math.floor(6e4))}onReset_(e){this.log_("Reset packet received. New host: "+e),this.repoInfo_.host=e,1===this.state_?this.close():(this.closeConnections_(),this.start_())}onConnectionEstablished_(e,t){this.log_("Realtime connection established."),this.conn_=e,this.state_=1,this.onReady_&&(this.onReady_(t,this.sessionId),this.onReady_=null),0===this.primaryResponsesRequired_?(this.log_("Primary connection is healthy."),this.isHealthy_=!0):No((()=>{this.sendPingOnPrimaryIfNecessary_()}),Math.floor(5e3))}sendPingOnPrimaryIfNecessary_(){this.isHealthy_||1!==this.state_||(this.log_("sending ping on primary."),this.sendData_({t:"c",d:{t:"p",d:{}}}))}onSecondaryConnectionLost_(){const e=this.secondaryConn_;this.secondaryConn_=null,this.tx_!==e&&this.rx_!==e||this.close()}onConnectionLost_(e){this.conn_=null,e||0!==this.state_?1===this.state_&&this.log_("Realtime connection lost."):(this.log_("Realtime connection failed."),this.repoInfo_.isCacheableHost()&&(ro.remove("host:"+this.repoInfo_.host),this.repoInfo_.internalHost=this.repoInfo_.host)),this.close()}onConnectionShutdown_(e){this.log_("Connection shutdown command received. Shutting down..."),this.onKill_&&(this.onKill_(e),this.onKill_=null),this.onDisconnect_=null,this.close()}sendData_(e){if(1!==this.state_)throw"Connection is not connected";this.tx_.send(e)}close(){2!==this.state_&&(this.log_("Closing realtime connection."),this.state_=2,this.closeConnections_(),this.onDisconnect_&&(this.onDisconnect_(),this.onDisconnect_=null))}closeConnections_(){this.log_("Shutting down all connections"),this.conn_&&(this.conn_.close(),this.conn_=null),this.secondaryConn_&&(this.secondaryConn_.close(),this.secondaryConn_=null),this.healthyTimeout_&&(clearTimeout(this.healthyTimeout_),this.healthyTimeout_=null)}}class ServerActions{put(e,t,n,r){}merge(e,t,n,r){}refreshAuthToken(e){}refreshAppCheckToken(e){}onDisconnectPut(e,t,n){}onDisconnectMerge(e,t,n){}onDisconnectCancel(e,t){}reportStats(e){}}class EventEmitter{constructor(e){this.allowedEvents_=e,this.listeners_={},Cs(Array.isArray(e)&&e.length>0,"Requires a non-empty array")}trigger(e,...t){if(Array.isArray(this.listeners_[e])){const n=[...this.listeners_[e]];for(let e=0;e<n.length;e++)n[e].callback.apply(n[e].context,t)}}on(e,t,n){this.validateEventType_(e),this.listeners_[e]=this.listeners_[e]||[],this.listeners_[e].push({callback:t,context:n});const r=this.getInitialEvent(e);r&&t.apply(n,r)}off(e,t,n){this.validateEventType_(e);const r=this.listeners_[e]||[];for(let i=0;i<r.length;i++)if(r[i].callback===t&&(!n||n===r[i].context))return void r.splice(i,1)}validateEventType_(e){Cs(this.allowedEvents_.find((t=>t===e)),"Unknown event: "+e)}}
vendor: 12,711 bytes, line 1
1class OnlineMonitor extends EventEmitter{static getInstance(){return new OnlineMonitor}constructor(){super(["online"]),this.online_=!0,"undefined"==typeof window||void 0===window.addEventListener||Ds()||(window.addEventListener("online",(()=>{this.online_||(this.online_=!0,this.trigger("online",!0))}),!1),window.addEventListener("offline",(()=>{this.online_&&(this.online_=!1,this.trigger("online",!1))}),!1))}getInitialEvent(e){return Cs("online"===e,"Unknown event type: "+e),[this.online_]}currentlyOnline(){return this.online_}}class Path{constructor(e,t){if(void 0===t){this.pieces_=e.split("/");let t=0;for(let e=0;e<this.pieces_.length;e++)this.pieces_[e].length>0&&(this.pieces_[t]=this.pieces_[e],t++);this.pieces_.length=t,this.pieceNum_=0}else this.pieces_=e,this.pieceNum_=t}toString(){let e="";for(let t=this.pieceNum_;t<this.pieces_.length;t++)""!==this.pieces_[t]&&(e+="/"+this.pieces_[t]);return e||"/"}}function zo(){return new Path("")}function Ho(e){return e.pieceNum_>=e.pieces_.length?null:e.pieces_[e.pieceNum_]}function Wo(e){return e.pieces_.length-e.pieceNum_}function qo(e){let t=e.pieceNum_;return t<e.pieces_.length&&t++,new Path(e.pieces_,t)}function Ko(e){return e.pieceNum_<e.pieces_.length?e.pieces_[e.pieces_.length-1]:null}function Go(e,t=0){return e.pieces_.slice(e.pieceNum_+t)}function Qo(e){if(e.pieceNum_>=e.pieces_.length)return null;const t=[];for(let n=e.pieceNum_;n<e.pieces_.length-1;n++)t.push(e.pieces_[n]);return new Path(t,0)}function Xo(e,t){const n=[];for(let r=e.pieceNum_;r<e.pieces_.length;r++)n.push(e.pieces_[r]);if(t instanceof Path)for(let r=t.pieceNum_;r<t.pieces_.length;r++)n.push(t.pieces_[r]);else{const e=t.split("/");for(let t=0;t<e.length;t++)e[t].length>0&&n.push(e[t])}return new Path(n,0)}function Yo(e){return e.pieceNum_>=e.pieces_.length}function Jo(e,t){const n=Ho(e),r=Ho(t);if(null===n)return t;if(n===r)return Jo(qo(e),qo(t));throw new Error("INTERNAL ERROR: innerPath ("+t+") is not within outerPath ("+e+")")}function Zo(e,t){if(Wo(e)!==Wo(t))return!1;for(let n=e.pieceNum_,r=t.pieceNum_;n<=e.pieces_.length;n++,r++)if(e.pieces_[n]!==t.pieces_[r])return!1;return!0}function ea(e,t){let n=e.pieceNum_,r=t.pieceNum_;if(Wo(e)>Wo(t))return!1;for(;n<e.pieces_.length;){if(e.pieces_[n]!==t.pieces_[r])return!1;++n,++r}return!0}class ValidationPath{constructor(e,t){this.errorPrefix_=t,this.parts_=Go(e,0),this.byteLength_=Math.max(1,this.parts_.length);for(let n=0;n<this.parts_.length;n++)this.byteLength_+=Hs(this.parts_[n]);ta(this)}}function ta(e){if(e.byteLength_>768)throw new Error(e.errorPrefix_+"has a key path longer than 768 bytes ("+e.byteLength_+").");if(e.parts_.length>32)throw new Error(e.errorPrefix_+"path specified exceeds the maximum depth that can be written (32) or object contains a cycle "+ra(e))}function ra(e){return 0===e.parts_.length?"":"in property '"+e.parts_.join(".")+"'"}class VisibilityMonitor extends EventEmitter{static getInstance(){return new VisibilityMonitor}constructor(){let e,t;super(["visible"]),"undefined"!=typeof document&&void 0!==document.addEventListener&&(void 0!==document.hidden?(t="visibilitychange",e="hidden"):void 0!==document.mozHidden?(t="mozvisibilitychange",e="mozHidden"):void 0!==document.msHidden?(t="msvisibilitychange",e="msHidden"):void 0!==document.webkitHidden&&(t="webkitvisibilitychange",e="webkitHidden")),this.visible_=!0,t&&document.addEventListener(t,(()=>{const t=!document[e];t!==this.visible_&&(this.visible_=t,this.trigger("visible",t))}),!1)}getInitialEvent(e){return Cs("visible"===e,"Unknown event type: "+e),[this.visible_]}}const ia=1e3;class PersistentConnection extends ServerActions{constructor(e,t,n,r,i,s,o,a){if(super(),this.repoInfo_=e,this.applicationId_=t,this.onDataUpdate_=n,this.onConnectStatus_=r,this.onServerInfoUpdate_=i,this.authTokenProvider_=s,this.appCheckTokenProvider_=o,this.authOverride_=a,this.id=PersistentConnection.nextPersistentConnectionId_++,this.log_=po("p:"+this.id+":"),this.interruptReasons_={},this.listens=new Map,this.outstandingPuts_=[],this.outstandingGets_=[],this.outstandingPutCount_=0,this.outstandingGetCount_=0,this.onDisconnectRequestQueue_=[],this.connected_=!1,this.reconnectDelay_=ia,this.maxReconnectDelay_=3e5,this.securityDebugCallback_=null,this.lastSessionId=null,this.establishConnectionTimer_=null,this.visible_=!1,this.requestCBHash_={},this.requestNumber_=0,this.realtime_=null,this.authToken_=null,this.appCheckToken_=null,this.forceTokenRefresh_=!1,this.invalidAuthTokenCount_=0,this.invalidAppCheckTokenCount_=0,this.firstConnection_=!0,this.lastConnectionAttemptTime_=null,this.lastConnectionEstablishedTime_=null,a&&!Fs())throw new Error("Auth override specified in options, but not supported on non Node.js platforms");VisibilityMonitor.getInstance().on("visible",this.onVisible_,this),-1===e.host.indexOf("fblocal")&&OnlineMonitor.getInstance().on("online",this.onOnline_,this)}sendRequest(e,t,n){const r=++this.requestNumber_,i={r,a:e,b:t};this.log_(js(i)),Cs(this.connected_,"sendRequest call when we're not connected not allowed."),this.realtime_.sendRequest(i),n&&(this.requestCBHash_[r]=n)}get(e){this.initConnection_();const t=new util_dist_index_esm2017_Deferred,n={action:"g",request:{p:e._path.toString(),q:e._queryObject},onComplete:e=>{const n=e.d;"ok"===e.s?t.resolve(n):t.reject(n)}};this.outstandingGets_.push(n),this.outstandingGetCount_++;const r=this.outstandingGets_.length-1;return this.connected_&&this.sendGet_(r),t.promise}listen(e,t,n,r){this.initConnection_();const i=e._queryIdentifier,s=e._path.toString();this.log_("Listen called for "+s+" "+i),this.listens.has(s)||this.listens.set(s,new Map),Cs(e._queryParams.isDefault()||!e._queryParams.loadsAllData(),"listen() called for non-default but complete query"),Cs(!this.listens.get(s).has(i),"listen() called twice for same path/queryId.");const o={onComplete:r,hashFn:t,query:e,tag:n};this.listens.get(s).set(i,o),this.connected_&&this.sendListen_(o)}sendGet_(e){const t=this.outstandingGets_[e];this.sendRequest("g",t.request,(n=>{delete this.outstandingGets_[e],this.outstandingGetCount_--,0===this.outstandingGetCount_&&(this.outstandingGets_=[]),t.onComplete&&t.onComplete(n)}))}sendListen_(e){const t=e.query,n=t._path.toString(),r=t._queryIdentifier;this.log_("Listen on "+n+" for "+r);const i={p:n};e.tag&&(i.q=t._queryObject,i.t=e.tag),i.h=e.hashFn(),this.sendRequest("q",i,(i=>{const s=i.d,o=i.s;PersistentConnection.warnOnListenWarnings_(s,t);(this.listens.get(n)&&this.listens.get(n).get(r))===e&&(this.log_("listen response",i),"ok"!==o&&this.removeListen_(n,r),e.onComplete&&e.onComplete(o,s))}))}static warnOnListenWarnings_(e,t){if(e&&"object"==typeof e&&Us(e,"w")){const n=Vs(e,"w");if(Array.isArray(n)&&~n.indexOf("no_index")){const e='".indexOn": "'+t._queryParams.getIndex().toString()+'"',n=t._path.toString();_o(`Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding ${e} at ${n} to your security rules for better performance.`)}}}refreshAuthToken(e){this.authToken_=e,this.log_("Auth token refreshed"),this.authToken_?this.tryAuth():this.connected_&&this.sendRequest("unauth",{},(()=>{})),this.reduceReconnectDelayIfAdminCredential_(e)}reduceReconnectDelayIfAdminCredential_(e){(e&&40===e.length||function(e){const t=Ms(e).claims;return"object"==typeof t&&!0===t.admin}(e))&&(this.log_("Admin auth credential detected. Reducing max reconnect time."),this.maxReconnectDelay_=3e4)}refreshAppCheckToken(e){this.appCheckToken_=e,this.log_("App check token refreshed"),this.appCheckToken_?this.tryAppCheck():this.connected_&&this.sendRequest("unappeck",{},(()=>{}))}tryAuth(){if(this.connected_&&this.authToken_){const e=this.authToken_,t=function(e){const t=Ms(e).claims;return!!t&&"object"==typeof t&&t.hasOwnProperty("iat")}(e)?"auth":"gauth",n={cred:e};null===this.authOverride_?n.noauth=!0:"object"==typeof this.authOverride_&&(n.authvar=this.authOverride_),this.sendRequest(t,n,(t=>{const n=t.s,r=t.d||"error";this.authToken_===e&&("ok"===n?this.invalidAuthTokenCount_=0:this.onAuthRevoked_(n,r))}))}}tryAppCheck(){this.connected_&&this.appCheckToken_&&this.sendRequest("appcheck",{token:this.appCheckToken_},(e=>{const t=e.s,n=e.d||"error";"ok"===t?this.invalidAppCheckTokenCount_=0:this.onAppCheckRevoked_(t,n)}))}unlisten(e,t){const n=e._path.toString(),r=e._queryIdentifier;this.log_("Unlisten called for "+n+" "+r),Cs(e._queryParams.isDefault()||!e._queryParams.loadsAllData(),"unlisten() called for non-default but complete query");this.removeListen_(n,r)&&this.connected_&&this.sendUnlisten_(n,r,e._queryObject,t)}sendUnlisten_(e,t,n,r){this.log_("Unlisten on "+e+" for "+t);const i={p:e};r&&(i.q=n,i.t=r),this.sendRequest("n",i)}onDisconnectPut(e,t,n){this.initConnection_(),this.connected_?this.sendOnDisconnect_("o",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"o",data:t,onComplete:n})}onDisconnectMerge(e,t,n){this.initConnection_(),this.connected_?this.sendOnDisconnect_("om",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"om",data:t,onComplete:n})}onDisconnectCancel(e,t){this.initConnection_(),this.connected_?this.sendOnDisconnect_("oc",e,null,t):this.onDisconnectRequestQueue_.push({pathString:e,action:"oc",data:null,onComplete:t})}sendOnDisconnect_(e,t,n,r){const i={p:t,d:n};this.log_("onDisconnect "+e,i),this.sendRequest(e,i,(e=>{r&&setTimeout((()=>{r(e.s,e.d)}),Math.floor(0))}))}put(e,t,n,r){this.putInternal("p",e,t,n,r)}merge(e,t,n,r){this.putInternal("m",e,t,n,r)}putInternal(e,t,n,r,i){this.initConnection_();const s={p:t,d:n};void 0!==i&&(s.h=i),this.outstandingPuts_.push({action:e,request:s,onComplete:r}),this.outstandingPutCount_++;const o=this.outstandingPuts_.length-1;this.connected_?this.sendPut_(o):this.log_("Buffering put: "+t)}sendPut_(e){const t=this.outstandingPuts_[e].action,n=this.outstandingPuts_[e].request,r=this.outstandingPuts_[e].onComplete;this.outstandingPuts_[e].queued=this.connected_,this.sendRequest(t,n,(n=>{this.log_(t+" response",n),delete this.outstandingPuts_[e],this.outstandingPutCount_--,0===this.outstandingPutCount_&&(this.outstandingPuts_=[]),r&&r(n.s,n.d)}))}reportStats(e){if(this.connected_){const t={c:e};this.log_("reportStats",t),this.sendRequest("s",t,(e=>{if("ok"!==e.s){const t=e.d;this.log_("reportStats","Error sending stats: "+t)}}))}}onDataMessage_(e){if("r"in e){this.log_("from server: "+js(e));const t=e.r,n=this.requestCBHash_[t];n&&(delete this.requestCBHash_[t],n(e.b))}else{if("error"in e)throw"A server-side error has occurred: "+e.error;"a"in e&&this.onDataPush_(e.a,e.b)}}onDataPush_(e,t){this.log_("handleServerMessage",e,t),"d"===e?this.onDataUpdate_(t.p,t.d,!1,t.t):"m"===e?this.onDataUpdate_(t.p,t.d,!0,t.t):"c"===e?this.onListenRevoked_(t.p,t.q):"ac"===e?this.onAuthRevoked_(t.s,t.d):"apc"===e?this.onAppCheckRevoked_(t.s,t.d):"sd"===e?this.onSecurityDebugPacket_(t):mo("Unrecognized action received from server: "+js(e)+"\nAre you using the latest client?")}onReady_(e,t){this.log_("connection ready"),this.connected_=!0,this.lastConnectionEstablishedTime_=(new Date).getTime(),this.handleTimestamp_(e),this.lastSessionId=t,this.firstConnection_&&this.sendConnectStats_(),this.restoreState_(),this.firstConnection_=!1,this.onConnectStatus_(!0)}scheduleConnect_(e){Cs(!this.realtime_,"Scheduling a connect when we're already connected/ing?"),this.establishConnectionTimer_&&clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=setTimeout((()=>{this.establishConnectionTimer_=null,this.establishConnection_()}),Math.floor(e))}initConnection_(){!this.realtime_&&this.firstConnection_&&this.scheduleConnect_(0)}onVisible_(e){e&&!this.visible_&&this.reconnectDelay_===this.maxReconnectDelay_&&(this.log_("Window became visible. Reducing delay."),this.reconnectDelay_=ia,this.realtime_||this.scheduleConnect_(0)),this.visible_=e}onOnline_(e){e?(this.log_("Browser went online."),this.reconnectDelay_=ia,this.realtime_||this.scheduleConnect_(0)):(this.log_("Browser went offline. Killing connection."),this.realtime_&&this.realtime_.close())}onRealtimeDisconnect_(){if(this.log_("data client disconnected"),this.connected_=!1,this.realtime_=null,this.cancelSentTransactions_(),this.requestCBHash_={},this.shouldReconnect_()){if(this.visible_){if(this.lastConnectionEstablishedTime_){(new Date).getTime()-this.lastConnectionEstablishedTime_>3e4&&(this.reconnectDelay_=ia),this.lastConnectionEstablishedTime_=null}}else this.log_("Window isn't visible. Delaying reconnect."),this.reconnectDelay_=this.maxReconnectDelay_,this.lastConnectionAttemptTime_=(new Date).getTime();const e=Math.max(0,(new Date).getTime()-this.lastConnectionAttemptTime_);let t=Math.max(0,this.reconnectDelay_-e);
vendor: 4,275 bytes, line 1
1t=Math.random()*t,this.log_("Trying to reconnect in "+t+"ms"),this.scheduleConnect_(t),this.reconnectDelay_=Math.min(this.maxReconnectDelay_,1.3*this.reconnectDelay_)}this.onConnectStatus_(!1)}async establishConnection_(){if(this.shouldReconnect_()){this.log_("Making a connection attempt"),this.lastConnectionAttemptTime_=(new Date).getTime(),this.lastConnectionEstablishedTime_=null;const e=this.onDataMessage_.bind(this),t=this.onReady_.bind(this),n=this.onRealtimeDisconnect_.bind(this),r=this.id+":"+PersistentConnection.nextConnectionId_++,i=this.lastSessionId;let s=!1,o=null;const a=function(){o?o.close():(s=!0,n())},l=function(e){Cs(o,"sendRequest call when we're not connected not allowed."),o.sendRequest(e)};this.realtime_={close:a,sendRequest:l};const c=this.forceTokenRefresh_;this.forceTokenRefresh_=!1;try{const[a,l]=await Promise.all([this.authTokenProvider_.getToken(c),this.appCheckTokenProvider_.getToken(c)]);s?fo("getToken() completed but was canceled"):(fo("getToken() completed. Creating connection."),this.authToken_=a&&a.accessToken,this.appCheckToken_=l&&l.token,o=new Connection(r,this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,e,t,n,(e=>{_o(e+" ("+this.repoInfo_.toString()+")"),this.interrupt("server_kill")}),i))}catch(mo){this.log_("Failed to get token: "+mo),s||(this.repoInfo_.nodeAdmin&&_o(mo),a())}}}interrupt(e){fo("Interrupting connection for reason: "+e),this.interruptReasons_[e]=!0,this.realtime_?this.realtime_.close():(this.establishConnectionTimer_&&(clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=null),this.connected_&&this.onRealtimeDisconnect_())}resume(e){fo("Resuming connection for reason: "+e),delete this.interruptReasons_[e],Bs(this.interruptReasons_)&&(this.reconnectDelay_=ia,this.realtime_||this.scheduleConnect_(0))}handleTimestamp_(e){const t=e-(new Date).getTime();this.onServerInfoUpdate_({serverTimeOffset:t})}cancelSentTransactions_(){for(let e=0;e<this.outstandingPuts_.length;e++){const t=this.outstandingPuts_[e];t&&"h"in t.request&&t.queued&&(t.onComplete&&t.onComplete("disconnect"),delete this.outstandingPuts_[e],this.outstandingPutCount_--)}0===this.outstandingPutCount_&&(this.outstandingPuts_=[])}onListenRevoked_(e,t){let n;n=t?t.map((e=>To(e))).join("$"):"default";const r=this.removeListen_(e,n);r&&r.onComplete&&r.onComplete("permission_denied")}removeListen_(e,t){const n=new Path(e).toString();let r;if(this.listens.has(n)){const e=this.listens.get(n);r=e.get(t),e.delete(t),0===e.size&&this.listens.delete(n)}else r=void 0;return r}onAuthRevoked_(e,t){fo("Auth token revoked: "+e+"/"+t),this.authToken_=null,this.forceTokenRefresh_=!0,this.realtime_.close(),"invalid_token"!==e&&"permission_denied"!==e||(this.invalidAuthTokenCount_++,this.invalidAuthTokenCount_>=3&&(this.reconnectDelay_=3e4,this.authTokenProvider_.notifyForInvalidToken()))}onAppCheckRevoked_(e,t){fo("App check token revoked: "+e+"/"+t),this.appCheckToken_=null,this.forceTokenRefresh_=!0,"invalid_token"!==e&&"permission_denied"!==e||(this.invalidAppCheckTokenCount_++,this.invalidAppCheckTokenCount_>=3&&this.appCheckTokenProvider_.notifyForInvalidToken())}onSecurityDebugPacket_(e){this.securityDebugCallback_?this.securityDebugCallback_(e):"msg"in e&&console.log("FIREBASE: "+e.msg.replace("\n","\nFIREBASE: "))}restoreState_(){this.tryAuth(),this.tryAppCheck();for(const e of this.listens.values())for(const t of e.values())this.sendListen_(t);for(let e=0;e<this.outstandingPuts_.length;e++)this.outstandingPuts_[e]&&this.sendPut_(e);for(;this.onDisconnectRequestQueue_.length;){const e=this.onDisconnectRequestQueue_.shift();this.sendOnDisconnect_(e.action,e.pathString,e.data,e.onComplete)}for(let e=0;e<this.outstandingGets_.length;e++)this.outstandingGets_[e]&&this.sendGet_(e)}sendConnectStats_(){const e={};let t="js";Fs()&&(t=this.repoInfo_.nodeAdmin?"admin_node":"node"),e["sdk."+t+"."+eo.replace(/\./g,"-")]=1,Ds()?e["framework.cordova"]=1:"object"==typeof navigator&&"ReactNative"===navigator.product&&(e["framework.reactnative"]=1),this.reportStats(e)}shouldReconnect_(){const e=OnlineMonitor.getInstance().currentlyOnline();return Bs(this.interruptReasons_)&&e}}PersistentConnection.nextPersistentConnectionId_=0,PersistentConnection.nextConnectionId_=0;
vendor: 22,438 bytes, line 1
1class NamedNode{constructor(e,t){this.name=e,this.node=t}static Wrap(e,t){return new NamedNode(e,t)}}class Index{getCompare(){return this.compare.bind(this)}indexedValueChanged(e,t){const n=new NamedNode(yo,e),r=new NamedNode(yo,t);return 0!==this.compare(n,r)}minPost(){return NamedNode.MIN}}let sa;class KeyIndex extends Index{static get __EMPTY_NODE(){return sa}static set __EMPTY_NODE(e){sa=e}compare(e,t){return wo(e.name,t.name)}isDefinedOn(e){throw xs("KeyIndex.isDefinedOn not expected to be called.")}indexedValueChanged(e,t){return!1}minPost(){return NamedNode.MIN}maxPost(){return new NamedNode(bo,sa)}makePost(e,t){return Cs("string"==typeof e,"KeyIndex indexValue must always be a string."),new NamedNode(e,sa)}toString(){return".key"}}const oa=new KeyIndex;class SortedMapIterator{constructor(e,t,n,r,i=null){this.isReverse_=r,this.resultGenerator_=i,this.nodeStack_=[];let s=1;for(;!e.isEmpty();)if(s=t?n(e.key,t):1,r&&(s*=-1),s<0)e=this.isReverse_?e.left:e.right;else{if(0===s){this.nodeStack_.push(e);break}this.nodeStack_.push(e),e=this.isReverse_?e.right:e.left}}getNext(){if(0===this.nodeStack_.length)return null;let e,t=this.nodeStack_.pop();if(e=this.resultGenerator_?this.resultGenerator_(t.key,t.value):{key:t.key,value:t.value},this.isReverse_)for(t=t.left;!t.isEmpty();)this.nodeStack_.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack_.push(t),t=t.left;return e}hasNext(){return this.nodeStack_.length>0}peek(){if(0===this.nodeStack_.length)return null;const e=this.nodeStack_[this.nodeStack_.length-1];return this.resultGenerator_?this.resultGenerator_(e.key,e.value):{key:e.key,value:e.value}}}class LLRBNode{constructor(e,t,n,r,i){this.key=e,this.value=t,this.color=null!=n?n:LLRBNode.RED,this.left=null!=r?r:SortedMap.EMPTY_NODE,this.right=null!=i?i:SortedMap.EMPTY_NODE}copy(e,t,n,r,i){return new LLRBNode(null!=e?e:this.key,null!=t?t:this.value,null!=n?n:this.color,null!=r?r:this.left,null!=i?i:this.right)}count(){return this.left.count()+1+this.right.count()}isEmpty(){return!1}inorderTraversal(e){return this.left.inorderTraversal(e)||!!e(this.key,this.value)||this.right.inorderTraversal(e)}reverseTraversal(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)}min_(){return this.left.isEmpty()?this:this.left.min_()}minKey(){return this.min_().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(e,t,n){let r=this;const i=n(e,r.key);return r=i<0?r.copy(null,null,null,r.left.insert(e,t,n),null):0===i?r.copy(null,t,null,null,null):r.copy(null,null,null,null,r.right.insert(e,t,n)),r.fixUp_()}removeMin_(){if(this.left.isEmpty())return SortedMap.EMPTY_NODE;let e=this;return e.left.isRed_()||e.left.left.isRed_()||(e=e.moveRedLeft_()),e=e.copy(null,null,null,e.left.removeMin_(),null),e.fixUp_()}remove(e,t){let n,r;if(n=this,t(e,n.key)<0)n.left.isEmpty()||n.left.isRed_()||n.left.left.isRed_()||(n=n.moveRedLeft_()),n=n.copy(null,null,null,n.left.remove(e,t),null);else{if(n.left.isRed_()&&(n=n.rotateRight_()),n.right.isEmpty()||n.right.isRed_()||n.right.left.isRed_()||(n=n.moveRedRight_()),0===t(e,n.key)){if(n.right.isEmpty())return SortedMap.EMPTY_NODE;r=n.right.min_(),n=n.copy(r.key,r.value,null,null,n.right.removeMin_())}n=n.copy(null,null,null,null,n.right.remove(e,t))}return n.fixUp_()}isRed_(){return this.color}fixUp_(){let e=this;return e.right.isRed_()&&!e.left.isRed_()&&(e=e.rotateLeft_()),e.left.isRed_()&&e.left.left.isRed_()&&(e=e.rotateRight_()),e.left.isRed_()&&e.right.isRed_()&&(e=e.colorFlip_()),e}moveRedLeft_(){let e=this.colorFlip_();return e.right.left.isRed_()&&(e=e.copy(null,null,null,null,e.right.rotateRight_()),e=e.rotateLeft_(),e=e.colorFlip_()),e}moveRedRight_(){let e=this.colorFlip_();return e.left.left.isRed_()&&(e=e.rotateRight_(),e=e.colorFlip_()),e}rotateLeft_(){const e=this.copy(null,null,LLRBNode.RED,null,this.right.left);return this.right.copy(null,null,this.color,e,null)}rotateRight_(){const e=this.copy(null,null,LLRBNode.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,e)}colorFlip_(){const e=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,t)}checkMaxDepth_(){const e=this.check_();return Math.pow(2,e)<=this.count()+1}check_(){if(this.isRed_()&&this.left.isRed_())throw new Error("Red node has red child("+this.key+","+this.value+")");if(this.right.isRed_())throw new Error("Right child of ("+this.key+","+this.value+") is red");const e=this.left.check_();if(e!==this.right.check_())throw new Error("Black depths differ");return e+(this.isRed_()?0:1)}}LLRBNode.RED=!0,LLRBNode.BLACK=!1;class SortedMap{constructor(e,t=SortedMap.EMPTY_NODE){this.comparator_=e,this.root_=t}insert(e,t){return new SortedMap(this.comparator_,this.root_.insert(e,t,this.comparator_).copy(null,null,LLRBNode.BLACK,null,null))}remove(e){return new SortedMap(this.comparator_,this.root_.remove(e,this.comparator_).copy(null,null,LLRBNode.BLACK,null,null))}get(e){let t,n=this.root_;for(;!n.isEmpty();){if(t=this.comparator_(e,n.key),0===t)return n.value;t<0?n=n.left:t>0&&(n=n.right)}return null}getPredecessorKey(e){let t,n=this.root_,r=null;for(;!n.isEmpty();){if(t=this.comparator_(e,n.key),0===t){if(n.left.isEmpty())return r?r.key:null;for(n=n.left;!n.right.isEmpty();)n=n.right;return n.key}t<0?n=n.left:t>0&&(r=n,n=n.right)}throw new Error("Attempted to find predecessor key for a nonexistent key. What gives?")}isEmpty(){return this.root_.isEmpty()}count(){return this.root_.count()}minKey(){return this.root_.minKey()}maxKey(){return this.root_.maxKey()}inorderTraversal(e){return this.root_.inorderTraversal(e)}reverseTraversal(e){return this.root_.reverseTraversal(e)}getIterator(e){return new SortedMapIterator(this.root_,null,this.comparator_,!1,e)}getIteratorFrom(e,t){return new SortedMapIterator(this.root_,e,this.comparator_,!1,t)}getReverseIteratorFrom(e,t){return new SortedMapIterator(this.root_,e,this.comparator_,!0,t)}getReverseIterator(e){return new SortedMapIterator(this.root_,null,this.comparator_,!0,e)}}function aa(e,t){return wo(e.name,t.name)}function la(e,t){return wo(e,t)}let ca;SortedMap.EMPTY_NODE=new class LLRBEmptyNode{copy(e,t,n,r,i){return this}insert(e,t,n){return new LLRBNode(e,t,null)}remove(e,t){return this}count(){return 0}isEmpty(){return!0}inorderTraversal(e){return!1}reverseTraversal(e){return!1}minKey(){return null}maxKey(){return null}check_(){return 0}isRed_(){return!1}};const ua=function(e){return"number"==typeof e?"number:"+Ao(e):"string:"+e},ha=function(e){if(e.isLeafNode()){const t=e.val();Cs("string"==typeof t||"number"==typeof t||"object"==typeof t&&Us(t,".sv"),"Priority must be a string or number.")}else Cs(e===ca||e.isEmpty(),"priority of unexpected type.");Cs(e===ca||e.getPriority().isEmpty(),"Priority nodes can't have a priority of their own.")};let da,fa,pa;class LeafNode{static set __childrenNodeConstructor(e){da=e}static get __childrenNodeConstructor(){return da}constructor(e,t=LeafNode.__childrenNodeConstructor.EMPTY_NODE){this.value_=e,this.priorityNode_=t,this.lazyHash_=null,Cs(void 0!==this.value_&&null!==this.value_,"LeafNode shouldn't be created with null/undefined value."),ha(this.priorityNode_)}isLeafNode(){return!0}getPriority(){return this.priorityNode_}updatePriority(e){return new LeafNode(this.value_,e)}getImmediateChild(e){return".priority"===e?this.priorityNode_:LeafNode.__childrenNodeConstructor.EMPTY_NODE}getChild(e){return Yo(e)?this:".priority"===Ho(e)?this.priorityNode_:LeafNode.__childrenNodeConstructor.EMPTY_NODE}hasChild(){return!1}getPredecessorChildName(e,t){return null}updateImmediateChild(e,t){return".priority"===e?this.updatePriority(t):t.isEmpty()&&".priority"!==e?this:LeafNode.__childrenNodeConstructor.EMPTY_NODE.updateImmediateChild(e,t).updatePriority(this.priorityNode_)}updateChild(e,t){const n=Ho(e);return null===n?t:t.isEmpty()&&".priority"!==n?this:(Cs(".priority"!==n||1===Wo(e),".priority must be the last token in a path"),this.updateImmediateChild(n,LeafNode.__childrenNodeConstructor.EMPTY_NODE.updateChild(qo(e),t)))}isEmpty(){return!1}numChildren(){return 0}forEachChild(e,t){return!1}val(e){return e&&!this.getPriority().isEmpty()?{".value":this.getValue(),".priority":this.getPriority().val()}:this.getValue()}hash(){if(null===this.lazyHash_){let e="";this.priorityNode_.isEmpty()||(e+="priority:"+ua(this.priorityNode_.val())+":");const t=typeof this.value_;e+=t+":",e+="number"===t?Ao(this.value_):this.value_,this.lazyHash_=ao(e)}return this.lazyHash_}getValue(){return this.value_}compareTo(e){return e===LeafNode.__childrenNodeConstructor.EMPTY_NODE?1:e instanceof LeafNode.__childrenNodeConstructor?-1:(Cs(e.isLeafNode(),"Unknown node type"),this.compareToLeafNode_(e))}compareToLeafNode_(e){const t=typeof e.value_,n=typeof this.value_,r=LeafNode.VALUE_TYPE_ORDER.indexOf(t),i=LeafNode.VALUE_TYPE_ORDER.indexOf(n);return Cs(r>=0,"Unknown leaf type: "+t),Cs(i>=0,"Unknown leaf type: "+n),r===i?"object"===n?0:this.value_<e.value_?-1:this.value_===e.value_?0:1:i-r}withIndex(){return this}isIndexed(){return!0}equals(e){if(e===this)return!0;if(e.isLeafNode()){const t=e;return this.value_===t.value_&&this.priorityNode_.equals(t.priorityNode_)}return!1}}LeafNode.VALUE_TYPE_ORDER=["object","boolean","number","string"];const ma=new class PriorityIndex extends Index{compare(e,t){const n=e.node.getPriority(),r=t.node.getPriority(),i=n.compareTo(r);return 0===i?wo(e.name,t.name):i}isDefinedOn(e){return!e.getPriority().isEmpty()}indexedValueChanged(e,t){return!e.getPriority().equals(t.getPriority())}minPost(){return NamedNode.MIN}maxPost(){return new NamedNode(bo,new LeafNode("[PRIORITY-POST]",pa))}makePost(e,t){const n=fa(e);return new NamedNode(t,new LeafNode("[PRIORITY-POST]",n))}toString(){return".priority"}},ga=Math.log(2);class Base12Num{constructor(e){var t;this.count=(t=e+1,parseInt(Math.log(t)/ga,10)),this.current_=this.count-1;const n=(r=this.count,parseInt(Array(r+1).join("1"),2));var r;this.bits_=e+1&n}nextBitIsOne(){const e=!(this.bits_&1<<this.current_);return this.current_--,e}}const _a=function(e,t,n,r){e.sort(t);const i=function(t,r){const s=r-t;let o,a;if(0===s)return null;if(1===s)return o=e[t],a=n?n(o):o,new LLRBNode(a,o.node,LLRBNode.BLACK,null,null);{const l=parseInt(s/2,10)+t,c=i(t,l),u=i(l+1,r);return o=e[l],a=n?n(o):o,new LLRBNode(a,o.node,LLRBNode.BLACK,c,u)}},s=function(t){let r=null,s=null,o=e.length;const a=function(t,r){const s=o-t,a=o;o-=t;const c=i(s+1,a),u=e[s],h=n?n(u):u;l(new LLRBNode(h,u.node,r,null,c))},l=function(e){r?(r.left=e,r=e):(s=e,r=e)};for(let e=0;e<t.count;++e){const n=t.nextBitIsOne(),r=Math.pow(2,t.count-(e+1));n?a(r,LLRBNode.BLACK):(a(r,LLRBNode.BLACK),a(r,LLRBNode.RED))}return s}(new Base12Num(e.length));return new SortedMap(r||t,s)};let va;const ya={};class IndexMap{static get Default(){return Cs(ya&&ma,"ChildrenNode.ts has not been loaded"),va=va||new IndexMap({".priority":ya},{".priority":ma}),va}constructor(e,t){this.indexes_=e,this.indexSet_=t}get(e){const t=Vs(this.indexes_,e);if(!t)throw new Error("No index defined for "+e);return t instanceof SortedMap?t:null}hasIndex(e){return Us(this.indexSet_,e.toString())}addIndex(e,t){Cs(e!==oa,"KeyIndex always exists and isn't meant to be added to the IndexMap.");const n=[];let r=!1;const i=t.getIterator(NamedNode.Wrap);let s,o=i.getNext();for(;o;)r=r||e.isDefinedOn(o.node),n.push(o),o=i.getNext();s=r?_a(n,e.getCompare()):ya;const a=e.toString(),l=Object.assign({},this.indexSet_);l[a]=e;const c=Object.assign({},this.indexes_);return c[a]=s,new IndexMap(c,l)}addToIndexes(e,t){const n=$s(this.indexes_,((n,r)=>{const i=Vs(this.indexSet_,r);if(Cs(i,"Missing index implementation for "+r),n===ya){if(i.isDefinedOn(e.node)){const n=[],r=t.getIterator(NamedNode.Wrap);let s=r.getNext();for(;s;)s.name!==e.name&&n.push(s),s=r.getNext();return n.push(e),_a(n,i.getCompare())}return ya}{const r=t.get(e.name);let i=n;return r&&(i=i.remove(new NamedNode(e.name,r))),i.insert(e,e.node)}}));return new IndexMap(n,this.indexSet_)}removeFromIndexes(e,t){const n=$s(this.indexes_,(n=>{if(n===ya)return n;{const r=t.get(e.name);return r?n.remove(new NamedNode(e.name,r)):n}}));return new IndexMap(n,this.indexSet_)}}let ba;class ChildrenNode{static get EMPTY_NODE(){return ba||(ba=new ChildrenNode(new SortedMap(la),null,IndexMap.Default))}constructor(e,t,n){this.children_=e,this.priorityNode_=t,this.indexMap_=n,this.lazyHash_=null,this.priorityNode_&&ha(this.priorityNode_),this.children_.isEmpty()&&Cs(!this.priorityNode_||this.priorityNode_.isEmpty(),"An empty node cannot have a priority")}isLeafNode(){return!1}getPriority(){return this.priorityNode_||ba}updatePriority(e){return this.children_.isEmpty()?this:new ChildrenNode(this.children_,e,this.indexMap_)}getImmediateChild(e){if(".priority"===e)return this.getPriority();{const t=this.children_.get(e);return null===t?ba:t}}getChild(e){const t=Ho(e);return null===t?this:this.getImmediateChild(t).getChild(qo(e))}hasChild(e){return null!==this.children_.get(e)}updateImmediateChild(e,t){if(Cs(t,"We should always be passing snapshot nodes"),".priority"===e)return this.updatePriority(t);{const n=new NamedNode(e,t);let r,i;t.isEmpty()?(r=this.children_.remove(e),i=this.indexMap_.removeFromIndexes(n,this.children_)):(r=this.children_.insert(e,t),i=this.indexMap_.addToIndexes(n,this.children_));const s=r.isEmpty()?ba:this.priorityNode_;return new ChildrenNode(r,s,i)}}updateChild(e,t){const n=Ho(e);if(null===n)return t;{Cs(".priority"!==Ho(e)||1===Wo(e),".priority must be the last token in a path");const r=this.getImmediateChild(n).updateChild(qo(e),t);return this.updateImmediateChild(n,r)}}isEmpty(){return this.children_.isEmpty()}numChildren(){return this.children_.count()}val(e){if(this.isEmpty())return null;const t={};let n=0,r=0,i=!0;if(this.forEachChild(ma,((s,o)=>{t[s]=o.val(e),n++,i&&ChildrenNode.INTEGER_REGEXP_.test(s)?r=Math.max(r,Number(s)):i=!1})),!e&&i&&r<2*n){const e=[];for(const n in t)e[n]=t[n];return e}return e&&!this.getPriority().isEmpty()&&(t[".priority"]=this.getPriority().val()),t}hash(){if(null===this.lazyHash_){let e="";this.getPriority().isEmpty()||(e+="priority:"+ua(this.getPriority().val())+":"),this.forEachChild(ma,((t,n)=>{const r=n.hash();""!==r&&(e+=":"+t+":"+r)})),this.lazyHash_=""===e?"":ao(e)}return this.lazyHash_}getPredecessorChildName(e,t,n){const r=this.resolveIndex_(n);if(r){const n=r.getPredecessorKey(new NamedNode(e,t));return n?n.name:null}return this.children_.getPredecessorKey(e)}getFirstChildName(e){const t=this.resolveIndex_(e);if(t){const e=t.minKey();return e&&e.name}return this.children_.minKey()}getFirstChild(e){const t=this.getFirstChildName(e);return t?new NamedNode(t,this.children_.get(t)):null}getLastChildName(e){const t=this.resolveIndex_(e);if(t){const e=t.maxKey();return e&&e.name}return this.children_.maxKey()}getLastChild(e){const t=this.getLastChildName(e);return t?new NamedNode(t,this.children_.get(t)):null}forEachChild(e,t){const n=this.resolveIndex_(e);return n?n.inorderTraversal((e=>t(e.name,e.node))):this.children_.inorderTraversal(t)}getIterator(e){return this.getIteratorFrom(e.minPost(),e)}getIteratorFrom(e,t){const n=this.resolveIndex_(t);if(n)return n.getIteratorFrom(e,(e=>e));{const n=this.children_.getIteratorFrom(e.name,NamedNode.Wrap);let r=n.peek();for(;null!=r&&t.compare(r,e)<0;)n.getNext(),r=n.peek();return n}}getReverseIterator(e){return this.getReverseIteratorFrom(e.maxPost(),e)}getReverseIteratorFrom(e,t){const n=this.resolveIndex_(t);if(n)return n.getReverseIteratorFrom(e,(e=>e));{const n=this.children_.getReverseIteratorFrom(e.name,NamedNode.Wrap);let r=n.peek();for(;null!=r&&t.compare(r,e)>0;)n.getNext(),r=n.peek();return n}}compareTo(e){return this.isEmpty()?e.isEmpty()?0:-1:e.isLeafNode()||e.isEmpty()?1:e===wa?-1:0}withIndex(e){if(e===oa||this.indexMap_.hasIndex(e))return this;{const t=this.indexMap_.addIndex(e,this.children_);return new ChildrenNode(this.children_,this.priorityNode_,t)}}isIndexed(e){return e===oa||this.indexMap_.hasIndex(e)}equals(e){if(e===this)return!0;if(e.isLeafNode())return!1;{const t=e;if(this.getPriority().equals(t.getPriority())){if(this.children_.count()===t.children_.count()){const e=this.getIterator(ma),n=t.getIterator(ma);let r=e.getNext(),i=n.getNext();for(;r&&i;){if(r.name!==i.name||!r.node.equals(i.node))return!1;r=e.getNext(),i=n.getNext()}return null===r&&null===i}return!1}return!1}}resolveIndex_(e){return e===oa?null:this.indexMap_.get(e.toString())}}ChildrenNode.INTEGER_REGEXP_=/^(0|[1-9]\d*)$/;const wa=new class MaxNode extends ChildrenNode{constructor(){super(new SortedMap(la),ChildrenNode.EMPTY_NODE,IndexMap.Default)}compareTo(e){return e===this?0:1}equals(e){return e===this}getPriority(){return this}getImmediateChild(e){return ChildrenNode.EMPTY_NODE}isEmpty(){return!1}};Object.defineProperties(NamedNode,{MIN:{value:new NamedNode(yo,ChildrenNode.EMPTY_NODE)},MAX:{value:new NamedNode(bo,wa)}}),KeyIndex.__EMPTY_NODE=ChildrenNode.EMPTY_NODE,LeafNode.__childrenNodeConstructor=ChildrenNode,ca=wa,function(e){pa=e}(wa);function Ea(e,t=null){if(null===e)return ChildrenNode.EMPTY_NODE;if("object"==typeof e&&".priority"in e&&(t=e[".priority"]),Cs(null===t||"string"==typeof t||"number"==typeof t||"object"==typeof t&&".sv"in t,"Invalid priority type found: "+typeof t),"object"==typeof e&&".value"in e&&null!==e[".value"]&&(e=e[".value"]),"object"!=typeof e||".sv"in e){return new LeafNode(e,Ea(t))}if(e instanceof Array){let n=ChildrenNode.EMPTY_NODE;return xo(e,((t,r)=>{if(Us(e,t)&&"."!==t.substring(0,1)){const e=Ea(r);!e.isLeafNode()&&e.isEmpty()||(n=n.updateImmediateChild(t,e))}})),n.updatePriority(Ea(t))}{const n=[];let r=!1;if(xo(e,((e,t)=>{if("."!==e.substring(0,1)){const i=Ea(t);i.isEmpty()||(r=r||!i.getPriority().isEmpty(),n.push(new NamedNode(e,i)))}})),0===n.length)return ChildrenNode.EMPTY_NODE;const i=_a(n,aa,(e=>e.name),la);if(r){const e=_a(n,ma.getCompare());return new ChildrenNode(i,Ea(t),new IndexMap({".priority":e},{".priority":ma}))}return new ChildrenNode(i,Ea(t),IndexMap.Default)}}!function(e){fa=e}(Ea);class PathIndex extends Index{constructor(e){super(),this.indexPath_=e,Cs(!Yo(e)&&".priority"!==Ho(e),"Can't create PathIndex with empty path or .priority key")}extractChild(e){return e.getChild(this.indexPath_)}isDefinedOn(e){return!e.getChild(this.indexPath_).isEmpty()}compare(e,t){const n=this.extractChild(e.node),r=this.extractChild(t.node),i=n.compareTo(r);return 0===i?wo(e.name,t.name):i}makePost(e,t){const n=Ea(e),r=ChildrenNode.EMPTY_NODE.updateChild(this.indexPath_,n);return new NamedNode(t,r)}maxPost(){const e=ChildrenNode.EMPTY_NODE.updateChild(this.indexPath_,wa);return new NamedNode(bo,e)}toString(){return Go(this.indexPath_,0).join("/")}}const Sa=new class ValueIndex extends Index{compare(e,t){const n=e.node.compareTo(t.node);return 0===n?wo(e.name,t.name):n}isDefinedOn(e){return!0}indexedValueChanged(e,t){return!e.equals(t)}minPost(){return NamedNode.MIN}maxPost(){return NamedNode.MAX}makePost(e,t){const n=Ea(e);return new NamedNode(t,n)}toString(){return".value"}};function Ta(e){return{type:"value",snapshotNode:e}}function xa(e,t){return{type:"child_added",snapshotNode:t,childName:e}}function Ia(e,t){return{type:"child_removed",snapshotNode:t,childName:e}}function ka(e,t,n){return{type:"child_changed",snapshotNode:t,childName:e,oldSnap:n}}class IndexedFilter{constructor(e){this.index_=e}updateChild(e,t,n,r,i,s){Cs(e.isIndexed(this.index_),"A node must be indexed if only a child is updated");const o=e.getImmediateChild(t);return o.getChild(r).equals(n.getChild(r))&&o.isEmpty()===n.isEmpty()?e:(null!=s&&(n.isEmpty()?e.hasChild(t)?s.trackChildChange(Ia(t,o)):Cs(e.isLeafNode(),"A child remove without an old child only makes sense on a leaf node"):o.isEmpty()?s.trackChildChange(xa(t,n)):s.trackChildChange(ka(t,n,o))),e.isLeafNode()&&n.isEmpty()?e:e.updateImmediateChild(t,n).withIndex(this.index_))}updateFullNode(e,t,n){return null!=n&&(e.isLeafNode()||e.forEachChild(ma,((e,r)=>{t.hasChild(e)||n.trackChildChange(Ia(e,r))})),t.isLeafNode()||t.forEachChild(ma,((t,r)=>{if(e.hasChild(t)){const i=e.getImmediateChild(t);i.equals(r)||n.trackChildChange(ka(t,r,i))}else n.trackChildChange(xa(t,r))}))),t.withIndex(this.index_)}updatePriority(e,t){return e.isEmpty()?ChildrenNode.EMPTY_NODE:e.updatePriority(t)}filtersNodes(){return!1}getIndexedFilter(){return this}getIndex(){return this.index_}}class RangedFilter{constructor(e){this.indexedFilter_=new IndexedFilter(e.getIndex()),this.index_=e.getIndex(),this.startPost_=RangedFilter.getStartPost_(e),this.endPost_=RangedFilter.getEndPost_(e),this.startIsInclusive_=!e.startAfterSet_,this.endIsInclusive_=!e.endBeforeSet_}getStartPost(){return this.startPost_}getEndPost(){return this.endPost_}matches(e){const t=this.startIsInclusive_?this.index_.compare(this.getStartPost(),e)<=0:this.index_.compare(this.getStartPost(),e)<0,n=this.endIsInclusive_?this.index_.compare(e,this.getEndPost())<=0:this.index_.compare(e,this.getEndPost())<0;return t&&n}updateChild(e,t,n,r,i,s){return this.matches(new NamedNode(t,n))||(n=ChildrenNode.EMPTY_NODE),this.indexedFilter_.updateChild(e,t,n,r,i,s)}updateFullNode(e,t,n){t.isLeafNode()&&(t=ChildrenNode.EMPTY_NODE);let r=t.withIndex(this.index_);r=r.updatePriority(ChildrenNode.EMPTY_NODE);const i=this;return t.forEachChild(ma,((e,t)=>{i.matches(new NamedNode(e,t))||(r=r.updateImmediateChild(e,ChildrenNode.EMPTY_NODE))})),this.indexedFilter_.updateFullNode(e,r,n)}updatePriority(e,t){return e}filtersNodes(){return!0}getIndexedFilter(){return this.indexedFilter_}getIndex(){return this.index_}static getStartPost_(e){if(e.hasStart()){const t=e.getIndexStartName();return e.getIndex().makePost(e.getIndexStartValue(),t)}return e.getIndex().minPost()}static getEndPost_(e){if(e.hasEnd()){const t=e.getIndexEndName();return e.getIndex().makePost(e.getIndexEndValue(),t)}return e.getIndex().maxPost()}}class LimitedFilter{constructor(e){this.withinDirectionalStart=e=>this.reverse_?this.withinEndPost(e):this.withinStartPost(e),this.withinDirectionalEnd=e=>this.reverse_?this.withinStartPost(e):this.withinEndPost(e),this.withinStartPost=e=>{const t=this.index_.compare(this.rangedFilter_.getStartPost(),e);return this.startIsInclusive_?t<=0:t<0},this.withinEndPost=e=>{const t=this.index_.compare(e,this.rangedFilter_.getEndPost());return this.endIsInclusive_?t<=0:t<0}
vendor: 11,503 bytes, line 1
1,this.rangedFilter_=new RangedFilter(e),this.index_=e.getIndex(),this.limit_=e.getLimit(),this.reverse_=!e.isViewFromLeft(),this.startIsInclusive_=!e.startAfterSet_,this.endIsInclusive_=!e.endBeforeSet_}updateChild(e,t,n,r,i,s){return this.rangedFilter_.matches(new NamedNode(t,n))||(n=ChildrenNode.EMPTY_NODE),e.getImmediateChild(t).equals(n)?e:e.numChildren()<this.limit_?this.rangedFilter_.getIndexedFilter().updateChild(e,t,n,r,i,s):this.fullLimitUpdateChild_(e,t,n,i,s)}updateFullNode(e,t,n){let r;if(t.isLeafNode()||t.isEmpty())r=ChildrenNode.EMPTY_NODE.withIndex(this.index_);else if(2*this.limit_<t.numChildren()&&t.isIndexed(this.index_)){let e;r=ChildrenNode.EMPTY_NODE.withIndex(this.index_),e=this.reverse_?t.getReverseIteratorFrom(this.rangedFilter_.getEndPost(),this.index_):t.getIteratorFrom(this.rangedFilter_.getStartPost(),this.index_);let n=0;for(;e.hasNext()&&n<this.limit_;){const t=e.getNext();if(this.withinDirectionalStart(t)){if(!this.withinDirectionalEnd(t))break;r=r.updateImmediateChild(t.name,t.node),n++}}}else{let e;r=t.withIndex(this.index_),r=r.updatePriority(ChildrenNode.EMPTY_NODE),e=this.reverse_?r.getReverseIterator(this.index_):r.getIterator(this.index_);let n=0;for(;e.hasNext();){const t=e.getNext();n<this.limit_&&this.withinDirectionalStart(t)&&this.withinDirectionalEnd(t)?n++:r=r.updateImmediateChild(t.name,ChildrenNode.EMPTY_NODE)}}return this.rangedFilter_.getIndexedFilter().updateFullNode(e,r,n)}updatePriority(e,t){return e}filtersNodes(){return!0}getIndexedFilter(){return this.rangedFilter_.getIndexedFilter()}getIndex(){return this.index_}fullLimitUpdateChild_(e,t,n,r,i){let s;if(this.reverse_){const e=this.index_.getCompare();s=(t,n)=>e(n,t)}else s=this.index_.getCompare();const o=e;Cs(o.numChildren()===this.limit_,"");const a=new NamedNode(t,n),l=this.reverse_?o.getFirstChild(this.index_):o.getLastChild(this.index_),c=this.rangedFilter_.matches(a);if(o.hasChild(t)){const e=o.getImmediateChild(t);let u=r.getChildAfterChild(this.index_,l,this.reverse_);for(;null!=u&&(u.name===t||o.hasChild(u.name));)u=r.getChildAfterChild(this.index_,u,this.reverse_);const h=null==u?1:s(u,a);if(c&&!n.isEmpty()&&h>=0)return null!=i&&i.trackChildChange(ka(t,n,e)),o.updateImmediateChild(t,n);{null!=i&&i.trackChildChange(Ia(t,e));const n=o.updateImmediateChild(t,ChildrenNode.EMPTY_NODE);return null!=u&&this.rangedFilter_.matches(u)?(null!=i&&i.trackChildChange(xa(u.name,u.node)),n.updateImmediateChild(u.name,u.node)):n}}return n.isEmpty()?e:c&&s(l,a)>=0?(null!=i&&(i.trackChildChange(Ia(l.name,l.node)),i.trackChildChange(xa(t,n))),o.updateImmediateChild(t,n).updateImmediateChild(l.name,ChildrenNode.EMPTY_NODE)):e}}class QueryParams{constructor(){this.limitSet_=!1,this.startSet_=!1,this.startNameSet_=!1,this.startAfterSet_=!1,this.endSet_=!1,this.endNameSet_=!1,this.endBeforeSet_=!1,this.limit_=0,this.viewFrom_="",this.indexStartValue_=null,this.indexStartName_="",this.indexEndValue_=null,this.indexEndName_="",this.index_=ma}hasStart(){return this.startSet_}isViewFromLeft(){return""===this.viewFrom_?this.startSet_:"l"===this.viewFrom_}getIndexStartValue(){return Cs(this.startSet_,"Only valid if start has been set"),this.indexStartValue_}getIndexStartName(){return Cs(this.startSet_,"Only valid if start has been set"),this.startNameSet_?this.indexStartName_:yo}hasEnd(){return this.endSet_}getIndexEndValue(){return Cs(this.endSet_,"Only valid if end has been set"),this.indexEndValue_}getIndexEndName(){return Cs(this.endSet_,"Only valid if end has been set"),this.endNameSet_?this.indexEndName_:bo}hasLimit(){return this.limitSet_}hasAnchoredLimit(){return this.limitSet_&&""!==this.viewFrom_}getLimit(){return Cs(this.limitSet_,"Only valid if limit has been set"),this.limit_}getIndex(){return this.index_}loadsAllData(){return!(this.startSet_||this.endSet_||this.limitSet_)}isDefault(){return this.loadsAllData()&&this.index_===ma}copy(){const e=new QueryParams;return e.limitSet_=this.limitSet_,e.limit_=this.limit_,e.startSet_=this.startSet_,e.startAfterSet_=this.startAfterSet_,e.indexStartValue_=this.indexStartValue_,e.startNameSet_=this.startNameSet_,e.indexStartName_=this.indexStartName_,e.endSet_=this.endSet_,e.endBeforeSet_=this.endBeforeSet_,e.indexEndValue_=this.indexEndValue_,e.endNameSet_=this.endNameSet_,e.indexEndName_=this.indexEndName_,e.index_=this.index_,e.viewFrom_=this.viewFrom_,e}}function Pa(e){const t={};if(e.isDefault())return t;let n;if(e.index_===ma?n="$priority":e.index_===Sa?n="$value":e.index_===oa?n="$key":(Cs(e.index_ instanceof PathIndex,"Unrecognized index type!"),n=e.index_.toString()),t.orderBy=js(n),e.startSet_){const n=e.startAfterSet_?"startAfter":"startAt";t[n]=js(e.indexStartValue_),e.startNameSet_&&(t[n]+=","+js(e.indexStartName_))}if(e.endSet_){const n=e.endBeforeSet_?"endBefore":"endAt";t[n]=js(e.indexEndValue_),e.endNameSet_&&(t[n]+=","+js(e.indexEndName_))}return e.limitSet_&&(e.isViewFromLeft()?t.limitToFirst=e.limit_:t.limitToLast=e.limit_),t}function Na(e){const t={};if(e.startSet_&&(t.sp=e.indexStartValue_,e.startNameSet_&&(t.sn=e.indexStartName_),t.sin=!e.startAfterSet_),e.endSet_&&(t.ep=e.indexEndValue_,e.endNameSet_&&(t.en=e.indexEndName_),t.ein=!e.endBeforeSet_),e.limitSet_){t.l=e.limit_;let n=e.viewFrom_;""===n&&(n=e.isViewFromLeft()?"l":"r"),t.vf=n}return e.index_!==ma&&(t.i=e.index_.toString()),t}class ReadonlyRestClient extends ServerActions{reportStats(e){throw new Error("Method not implemented.")}static getListenId_(e,t){return void 0!==t?"tag$"+t:(Cs(e._queryParams.isDefault(),"should have a tag if it's not a default query."),e._path.toString())}constructor(e,t,n,r){super(),this.repoInfo_=e,this.onDataUpdate_=t,this.authTokenProvider_=n,this.appCheckTokenProvider_=r,this.log_=po("p:rest:"),this.listens_={}}listen(e,t,n,r){const i=e._path.toString();this.log_("Listen called for "+i+" "+e._queryIdentifier);const s=ReadonlyRestClient.getListenId_(e,n),o={};this.listens_[s]=o;const a=Pa(e._queryParams);this.restRequest_(i+".json",a,((e,t)=>{let a=t;if(404===e&&(a=null,e=null),null===e&&this.onDataUpdate_(i,a,!1,n),Vs(this.listens_,s)===o){let t;t=e?401===e?"permission_denied":"rest_error:"+e:"ok",r(t,null)}}))}unlisten(e,t){const n=ReadonlyRestClient.getListenId_(e,t);delete this.listens_[n]}get(e){const t=Pa(e._queryParams),n=e._path.toString(),r=new util_dist_index_esm2017_Deferred;return this.restRequest_(n+".json",t,((e,t)=>{let i=t;404===e&&(i=null,e=null),null===e?(this.onDataUpdate_(n,i,!1,null),r.resolve(i)):r.reject(new Error(i))})),r.promise}refreshAuthToken(e){}restRequest_(e,t={},n){return t.format="export",Promise.all([this.authTokenProvider_.getToken(!1),this.appCheckTokenProvider_.getToken(!1)]).then((([r,i])=>{r&&r.accessToken&&(t.auth=r.accessToken),i&&i.token&&(t.ac=i.token);const s=(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host+e+"?ns="+this.repoInfo_.namespace+function(e){const t=[];for(const[n,r]of Object.entries(e))Array.isArray(r)?r.forEach((e=>{t.push(encodeURIComponent(n)+"="+encodeURIComponent(e))})):t.push(encodeURIComponent(n)+"="+encodeURIComponent(r));return t.length?"&"+t.join("&"):""}(t);this.log_("Sending REST request for "+s);const o=new XMLHttpRequest;o.onreadystatechange=()=>{if(n&&4===o.readyState){this.log_("REST Response for "+s+" received. status:",o.status,"response:",o.responseText);let e=null;if(o.status>=200&&o.status<300){try{e=Ls(o.responseText)}catch(Pb){_o("Failed to parse JSON response for "+s+": "+o.responseText)}n(null,e)}else 401!==o.status&&404!==o.status&&_o("Got unsuccessful REST response for "+s+" Status: "+o.status),n(o.status);n=null}},o.open("GET",s,!0),o.send()}))}}class SnapshotHolder{constructor(){this.rootNode_=ChildrenNode.EMPTY_NODE}getNode(e){return this.rootNode_.getChild(e)}updateSnapshot(e,t){this.rootNode_=this.rootNode_.updateChild(e,t)}}function Ra(){return{value:null,children:new Map}}function Oa(e,t,n){if(Yo(t))e.value=n,e.children.clear();else if(null!==e.value)e.value=e.value.updateChild(t,n);else{const r=Ho(t);e.children.has(r)||e.children.set(r,Ra());Oa(e.children.get(r),t=qo(t),n)}}function Da(e,t,n){null!==e.value?n(t,e.value):function(e,t){e.children.forEach(((e,n)=>{t(n,e)}))}(e,((e,r)=>{Da(r,new Path(t.toString()+"/"+e),n)}))}class StatsListener{constructor(e){this.collection_=e,this.last_=null}get(){const e=this.collection_.get(),t=Object.assign({},e);return this.last_&&xo(this.last_,((e,n)=>{t[e]=t[e]-n})),this.last_=e,t}}class StatsReporter{constructor(e,t){this.server_=t,this.statsToReport_={},this.statsListener_=new StatsListener(e);const n=1e4+2e4*Math.random();No(this.reportStats_.bind(this),Math.floor(n))}reportStats_(){const e=this.statsListener_.get(),t={};let n=!1;xo(e,((e,r)=>{r>0&&Us(this.statsToReport_,e)&&(t[e]=r,n=!0)})),n&&this.server_.reportStats(t),No(this.reportStats_.bind(this),Math.floor(2*Math.random()*3e5))}}var Fa;function La(e){return{fromUser:!1,fromServer:!0,queryId:e,tagged:!0}}!function(e){e[e.OVERWRITE=0]="OVERWRITE",e[e.MERGE=1]="MERGE",e[e.ACK_USER_WRITE=2]="ACK_USER_WRITE",e[e.LISTEN_COMPLETE=3]="LISTEN_COMPLETE"}(Fa||(Fa={}));class AckUserWrite{constructor(e,t,n){this.path=e,this.affectedTree=t,this.revert=n,this.type=Fa.ACK_USER_WRITE,this.source={fromUser:!0,fromServer:!1,queryId:null,tagged:!1}}operationForChild(e){if(Yo(this.path)){if(null!=this.affectedTree.value)return Cs(this.affectedTree.children.isEmpty(),"affectedTree should not have overlapping affected paths."),this;{const t=this.affectedTree.subtree(new Path(e));return new AckUserWrite(zo(),t,this.revert)}}return Cs(Ho(this.path)===e,"operationForChild called for unrelated child."),new AckUserWrite(qo(this.path),this.affectedTree,this.revert)}}class ListenComplete{constructor(e,t){this.source=e,this.path=t,this.type=Fa.LISTEN_COMPLETE}operationForChild(e){return Yo(this.path)?new ListenComplete(this.source,zo()):new ListenComplete(this.source,qo(this.path))}}class Overwrite{constructor(e,t,n){this.source=e,this.path=t,this.snap=n,this.type=Fa.OVERWRITE}operationForChild(e){return Yo(this.path)?new Overwrite(this.source,zo(),this.snap.getImmediateChild(e)):new Overwrite(this.source,qo(this.path),this.snap)}}class Merge{constructor(e,t,n){this.source=e,this.path=t,this.children=n,this.type=Fa.MERGE}operationForChild(e){if(Yo(this.path)){const t=this.children.subtree(new Path(e));return t.isEmpty()?null:t.value?new Overwrite(this.source,zo(),t.value):new Merge(this.source,zo(),t)}return Cs(Ho(this.path)===e,"Can't get a merge for a child not on the path of the operation"),new Merge(this.source,qo(this.path),this.children)}toString(){return"Operation("+this.path+": "+this.source.toString()+" merge: "+this.children.toString()+")"}}class CacheNode{constructor(e,t,n){this.node_=e,this.fullyInitialized_=t,this.filtered_=n}isFullyInitialized(){return this.fullyInitialized_}isFiltered(){return this.filtered_}isCompleteForPath(e){if(Yo(e))return this.isFullyInitialized()&&!this.filtered_;const t=Ho(e);return this.isCompleteForChild(t)}isCompleteForChild(e){return this.isFullyInitialized()&&!this.filtered_||this.node_.hasChild(e)}getNode(){return this.node_}}class EventGenerator{constructor(e){this.query_=e,this.index_=this.query_._queryParams.getIndex()}}function ja(e,t,n,r,i,s){const o=r.filter((e=>e.type===n));o.sort(((t,n)=>function(e,t,n){if(null==t.childName||null==n.childName)throw xs("Should only compare child_ events.");const r=new NamedNode(t.childName,t.snapshotNode),i=new NamedNode(n.childName,n.snapshotNode);return e.index_.compare(r,i)}
vendor: 4,440 bytes, line 1
1(e,t,n))),o.forEach((n=>{const r=function(e,t,n){return"value"===t.type||"child_removed"===t.type||(t.prevName=n.getPredecessorChildName(t.childName,t.snapshotNode,e.index_)),t}(e,n,s);i.forEach((i=>{i.respondsTo(n.type)&&t.push(i.createEvent(r,e.query_))}))}))}function Ma(e,t){return{eventCache:e,serverCache:t}}function Ua(e,t,n,r){return Ma(new CacheNode(t,n,r),e.serverCache)}function Va(e,t,n,r){return Ma(e.eventCache,new CacheNode(t,n,r))}function Ba(e){return e.eventCache.isFullyInitialized()?e.eventCache.getNode():null}function $a(e){return e.serverCache.isFullyInitialized()?e.serverCache.getNode():null}let za;class ImmutableTree{static fromObject(e){let t=new ImmutableTree(null);return xo(e,((e,n)=>{t=t.set(new Path(e),n)})),t}constructor(e,t=(()=>(za||(za=new SortedMap(Eo)),za))()){this.value=e,this.children=t}isEmpty(){return null===this.value&&this.children.isEmpty()}findRootMostMatchingPathAndValue(e,t){if(null!=this.value&&t(this.value))return{path:zo(),value:this.value};if(Yo(e))return null;{const n=Ho(e),r=this.children.get(n);if(null!==r){const i=r.findRootMostMatchingPathAndValue(qo(e),t);if(null!=i){return{path:Xo(new Path(n),i.path),value:i.value}}return null}return null}}findRootMostValueAndPath(e){return this.findRootMostMatchingPathAndValue(e,(()=>!0))}subtree(e){if(Yo(e))return this;{const t=Ho(e),n=this.children.get(t);return null!==n?n.subtree(qo(e)):new ImmutableTree(null)}}set(e,t){if(Yo(e))return new ImmutableTree(t,this.children);{const n=Ho(e),r=(this.children.get(n)||new ImmutableTree(null)).set(qo(e),t),i=this.children.insert(n,r);return new ImmutableTree(this.value,i)}}remove(e){if(Yo(e))return this.children.isEmpty()?new ImmutableTree(null):new ImmutableTree(null,this.children);{const t=Ho(e),n=this.children.get(t);if(n){const r=n.remove(qo(e));let i;return i=r.isEmpty()?this.children.remove(t):this.children.insert(t,r),null===this.value&&i.isEmpty()?new ImmutableTree(null):new ImmutableTree(this.value,i)}return this}}get(e){if(Yo(e))return this.value;{const t=Ho(e),n=this.children.get(t);return n?n.get(qo(e)):null}}setTree(e,t){if(Yo(e))return t;{const n=Ho(e),r=(this.children.get(n)||new ImmutableTree(null)).setTree(qo(e),t);let i;return i=r.isEmpty()?this.children.remove(n):this.children.insert(n,r),new ImmutableTree(this.value,i)}}fold(e){return this.fold_(zo(),e)}fold_(e,t){const n={};return this.children.inorderTraversal(((r,i)=>{n[r]=i.fold_(Xo(e,r),t)})),t(e,this.value,n)}findOnPath(e,t){return this.findOnPath_(e,zo(),t)}findOnPath_(e,t,n){const r=!!this.value&&n(t,this.value);if(r)return r;if(Yo(e))return null;{const r=Ho(e),i=this.children.get(r);return i?i.findOnPath_(qo(e),Xo(t,r),n):null}}foreachOnPath(e,t){return this.foreachOnPath_(e,zo(),t)}foreachOnPath_(e,t,n){if(Yo(e))return this;{this.value&&n(t,this.value);const r=Ho(e),i=this.children.get(r);return i?i.foreachOnPath_(qo(e),Xo(t,r),n):new ImmutableTree(null)}}foreach(e){this.foreach_(zo(),e)}foreach_(e,t){this.children.inorderTraversal(((n,r)=>{r.foreach_(Xo(e,n),t)})),this.value&&t(e,this.value)}foreachChild(e){this.children.inorderTraversal(((t,n)=>{n.value&&e(t,n.value)}))}}class CompoundWrite{constructor(e){this.writeTree_=e}static empty(){return new CompoundWrite(new ImmutableTree(null))}}function Ha(e,t,n){if(Yo(t))return new CompoundWrite(new ImmutableTree(n));{const r=e.writeTree_.findRootMostValueAndPath(t);if(null!=r){const i=r.path;let s=r.value;const o=Jo(i,t);return s=s.updateChild(o,n),new CompoundWrite(e.writeTree_.set(i,s))}{const r=new ImmutableTree(n),i=e.writeTree_.setTree(t,r);return new CompoundWrite(i)}}}function Wa(e,t,n){let r=e;return xo(n,((e,n)=>{r=Ha(r,Xo(t,e),n)})),r}function qa(e,t){if(Yo(t))return CompoundWrite.empty();{const n=e.writeTree_.setTree(t,new ImmutableTree(null));return new CompoundWrite(n)}}function Ka(e,t){return null!=Ga(e,t)}function Ga(e,t){const n=e.writeTree_.findRootMostValueAndPath(t);return null!=n?e.writeTree_.get(n.path).getChild(Jo(n.path,t)):null}function Qa(e){const t=[],n=e.writeTree_.value;return null!=n?n.isLeafNode()||n.forEachChild(ma,((e,n)=>{t.push(new NamedNode(e,n))})):e.writeTree_.children.inorderTraversal(((e,n)=>{null!=n.value&&t.push(new NamedNode(e,n.value))})),t}function Xa(e,t){if(Yo(t))return e;{const n=Ga(e,t);return new CompoundWrite(null!=n?new ImmutableTree(n):e.writeTree_.subtree(t))}}function Ya(e){return e.writeTree_.isEmpty()}function Ja(e,t){return Za(zo(),e.writeTree_,t)}
vendor: 2,556 bytes, line 1
1function Za(e,t,n){if(null!=t.value)return n.updateChild(e,t.value);{let r=null;return t.children.inorderTraversal(((t,i)=>{".priority"===t?(Cs(null!==i.value,"Priority writes must always be leaf nodes"),r=i.value):n=Za(Xo(e,t),i,n)})),n.getChild(e).isEmpty()||null===r||(n=n.updateChild(Xo(e,".priority"),r)),n}}function el(e,t){return fl(t,e)}function tl(e,t){const n=e.allWrites.findIndex((e=>e.writeId===t));Cs(n>=0,"removeWrite called with nonexistent writeId.");const r=e.allWrites[n];e.allWrites.splice(n,1);let i=r.visible,s=!1,o=e.allWrites.length-1;for(;i&&o>=0;){const t=e.allWrites[o];t.visible&&(o>=n&&nl(t,r.path)?i=!1:ea(r.path,t.path)&&(s=!0)),o--}if(i){if(s)return function(e){e.visibleWrites=il(e.allWrites,rl,zo()),e.allWrites.length>0?e.lastWriteId=e.allWrites[e.allWrites.length-1].writeId:e.lastWriteId=-1}(e),!0;if(r.snap)e.visibleWrites=qa(e.visibleWrites,r.path);else{xo(r.children,(t=>{e.visibleWrites=qa(e.visibleWrites,Xo(r.path,t))}))}return!0}return!1}function nl(e,t){if(e.snap)return ea(e.path,t);for(const n in e.children)if(e.children.hasOwnProperty(n)&&ea(Xo(e.path,n),t))return!0;return!1}function rl(e){return e.visible}function il(e,t,n){let r=CompoundWrite.empty();for(let i=0;i<e.length;++i){const s=e[i];if(t(s)){const e=s.path;let t;if(s.snap)ea(n,e)?(t=Jo(n,e),r=Ha(r,t,s.snap)):ea(e,n)&&(t=Jo(e,n),r=Ha(r,zo(),s.snap.getChild(t)));else{if(!s.children)throw xs("WriteRecord should have .snap or .children");if(ea(n,e))t=Jo(n,e),r=Wa(r,t,s.children);else if(ea(e,n))if(t=Jo(e,n),Yo(t))r=Wa(r,zo(),s.children);else{const e=Vs(s.children,Ho(t));if(e){const n=e.getChild(qo(t));r=Ha(r,zo(),n)}}}}}return r}function sl(e,t,n,r,i){if(r||i){const s=Xa(e.visibleWrites,t);if(!i&&Ya(s))return n;if(i||null!=n||Ka(s,zo())){const s=function(e){return(e.visible||i)&&(!r||!~r.indexOf(e.writeId))&&(ea(e.path,t)||ea(t,e.path))};return Ja(il(e.allWrites,s,t),n||ChildrenNode.EMPTY_NODE)}return null}{const r=Ga(e.visibleWrites,t);if(null!=r)return r;{const r=Xa(e.visibleWrites,t);if(Ya(r))return n;if(null!=n||Ka(r,zo())){return Ja(r,n||ChildrenNode.EMPTY_NODE)}return null}}}function ol(e,t,n,r){return sl(e.writeTree,e.treePath,t,n,r)}function al(e,t){return function(e,t,n){let r=ChildrenNode.EMPTY_NODE;const i=Ga(e.visibleWrites,t);if(i)return i.isLeafNode()||i.forEachChild(ma,((e,t)=>{r=r.updateImmediateChild(e,t)})),r;if(n){const i=Xa(e.visibleWrites,t);return n.forEachChild(ma,((e,t)=>{const n=Ja(Xa(i,new Path(e)),t);r=r.updateImmediateChild(e,n)})),Qa(i).forEach((e=>{r=r.updateImmediateChild(e.name,e.node)})),r}
vendor: 4,779 bytes, line 1
1return Qa(Xa(e.visibleWrites,t)).forEach((e=>{r=r.updateImmediateChild(e.name,e.node)})),r}(e.writeTree,e.treePath,t)}function ll(e,t,n,r){return function(e,t,n,r,i){Cs(r||i,"Either existingEventSnap or existingServerSnap must exist");const s=Xo(t,n);if(Ka(e.visibleWrites,s))return null;{const t=Xa(e.visibleWrites,s);return Ya(t)?i.getChild(n):Ja(t,i.getChild(n))}}(e.writeTree,e.treePath,t,n,r)}function cl(e,t){return function(e,t){return Ga(e.visibleWrites,t)}(e.writeTree,Xo(e.treePath,t))}function ul(e,t,n,r,i,s){return function(e,t,n,r,i,s,o){let a;const l=Xa(e.visibleWrites,t),c=Ga(l,zo());if(null!=c)a=c;else{if(null==n)return[];a=Ja(l,n)}if(a=a.withIndex(o),a.isEmpty()||a.isLeafNode())return[];{const e=[],t=o.getCompare(),n=s?a.getReverseIteratorFrom(r,o):a.getIteratorFrom(r,o);let l=n.getNext();for(;l&&e.length<i;)0!==t(l,r)&&e.push(l),l=n.getNext();return e}}(e.writeTree,e.treePath,t,n,r,i,s)}function hl(e,t,n){return function(e,t,n,r){const i=Xo(t,n),s=Ga(e.visibleWrites,i);if(null!=s)return s;if(r.isCompleteForChild(n))return Ja(Xa(e.visibleWrites,i),r.getNode().getImmediateChild(n));return null}(e.writeTree,e.treePath,t,n)}function dl(e,t){return fl(Xo(e.treePath,t),e.writeTree)}function fl(e,t){return{treePath:e,writeTree:t}}class ChildChangeAccumulator{constructor(){this.changeMap=new Map}trackChildChange(e){const t=e.type,n=e.childName;Cs("child_added"===t||"child_changed"===t||"child_removed"===t,"Only child changes supported for tracking"),Cs(".priority"!==n,"Only non-priority child changes can be tracked.");const r=this.changeMap.get(n);if(r){const i=r.type;if("child_added"===t&&"child_removed"===i)this.changeMap.set(n,ka(n,e.snapshotNode,r.snapshotNode));else if("child_removed"===t&&"child_added"===i)this.changeMap.delete(n);else if("child_removed"===t&&"child_changed"===i)this.changeMap.set(n,Ia(n,r.oldSnap));else if("child_changed"===t&&"child_added"===i)this.changeMap.set(n,xa(n,e.snapshotNode));else{if("child_changed"!==t||"child_changed"!==i)throw xs("Illegal combination of changes: "+e+" occurred after "+r);this.changeMap.set(n,ka(n,e.snapshotNode,r.oldSnap))}}else this.changeMap.set(n,e)}getChanges(){return Array.from(this.changeMap.values())}}const pl=new class NoCompleteChildSource_{getCompleteChild(e){return null}getChildAfterChild(e,t,n){return null}};class WriteTreeCompleteChildSource{constructor(e,t,n=null){this.writes_=e,this.viewCache_=t,this.optCompleteServerCache_=n}getCompleteChild(e){const t=this.viewCache_.eventCache;if(t.isCompleteForChild(e))return t.getNode().getImmediateChild(e);{const t=null!=this.optCompleteServerCache_?new CacheNode(this.optCompleteServerCache_,!0,!1):this.viewCache_.serverCache;return hl(this.writes_,e,t)}}getChildAfterChild(e,t,n){const r=null!=this.optCompleteServerCache_?this.optCompleteServerCache_:$a(this.viewCache_),i=ul(this.writes_,r,t,1,n,e);return 0===i.length?null:i[0]}}function ml(e,t,n,r,i){const s=new ChildChangeAccumulator;let o,a;if(n.type===Fa.OVERWRITE){const l=n;l.source.fromUser?o=vl(e,t,l.path,l.snap,r,i,s):(Cs(l.source.fromServer,"Unknown source."),a=l.source.tagged||t.serverCache.isFiltered()&&!Yo(l.path),o=_l(e,t,l.path,l.snap,r,i,a,s))}else if(n.type===Fa.MERGE){const l=n;l.source.fromUser?o=function(e,t,n,r,i,s,o){let a=t;return r.foreach(((r,l)=>{const c=Xo(n,r);yl(t,Ho(c))&&(a=vl(e,a,c,l,i,s,o))})),r.foreach(((r,l)=>{const c=Xo(n,r);yl(t,Ho(c))||(a=vl(e,a,c,l,i,s,o))})),a}(e,t,l.path,l.children,r,i,s):(Cs(l.source.fromServer,"Unknown source."),a=l.source.tagged||t.serverCache.isFiltered(),o=wl(e,t,l.path,l.children,r,i,a,s))}else if(n.type===Fa.ACK_USER_WRITE){const a=n;o=a.revert?function(e,t,n,r,i,s){let o;if(null!=cl(r,n))return t;{const a=new WriteTreeCompleteChildSource(r,t,i),l=t.eventCache.getNode();let c;if(Yo(n)||".priority"===Ho(n)){let n;if(t.serverCache.isFullyInitialized())n=ol(r,$a(t));else{const e=t.serverCache.getNode();Cs(e instanceof ChildrenNode,"serverChildren would be complete if leaf node"),n=al(r,e)}c=e.filter.updateFullNode(l,n,s)}else{const i=Ho(n);let u=hl(r,i,t.serverCache);null==u&&t.serverCache.isCompleteForChild(i)&&(u=l.getImmediateChild(i)),c=null!=u?e.filter.updateChild(l,i,u,qo(n),a,s):t.eventCache.getNode().hasChild(i)?e.filter.updateChild(l,i,ChildrenNode.EMPTY_NODE,qo(n),a,s):l,c.isEmpty()&&t.serverCache.isFullyInitialized()&&(o=ol(r,$a(t)),o.isLeafNode()&&(c=e.filter.updateFullNode(c,o,s)))}return o=t.serverCache.isFullyInitialized()||null!=cl(r,zo()),Ua(t,c,o,e.filter.filtersNodes())}}(e,t,a.path,r,i,s):function(e,t,n,r,i,s,o){if(null!=cl(i,n))return t;const a=t.serverCache.isFiltered(),l=t.serverCache;if(null!=r.value){if(Yo(n)&&l.isFullyInitialized()||l.isCompleteForPath(n))return _l(e,t,n,l.getNode().getChild(n),i,s,a,o);if(Yo(n)){let r=new ImmutableTree(null);
vendor: 5,380 bytes, line 1
1return l.getNode().forEachChild(oa,((e,t)=>{r=r.set(new Path(e),t)})),wl(e,t,n,r,i,s,a,o)}return t}{let c=new ImmutableTree(null);return r.foreach(((e,t)=>{const r=Xo(n,e);l.isCompleteForPath(r)&&(c=c.set(e,l.getNode().getChild(r)))})),wl(e,t,n,c,i,s,a,o)}}(e,t,a.path,a.affectedTree,r,i,s)}else{if(n.type!==Fa.LISTEN_COMPLETE)throw xs("Unknown operation type: "+n.type);o=function(e,t,n,r,i){const s=t.serverCache,o=Va(t,s.getNode(),s.isFullyInitialized()||Yo(n),s.isFiltered());return gl(e,o,n,r,pl,i)}(e,t,n.path,r,s)}const l=s.getChanges();return function(e,t,n){const r=t.eventCache;if(r.isFullyInitialized()){const i=r.getNode().isLeafNode()||r.getNode().isEmpty(),s=Ba(e);(n.length>0||!e.eventCache.isFullyInitialized()||i&&!r.getNode().equals(s)||!r.getNode().getPriority().equals(s.getPriority()))&&n.push(Ta(Ba(t)))}}(t,o,l),{viewCache:o,changes:l}}function gl(e,t,n,r,i,s){const o=t.eventCache;if(null!=cl(r,n))return t;{let a,l;if(Yo(n))if(Cs(t.serverCache.isFullyInitialized(),"If change path is empty, we must have complete server data"),t.serverCache.isFiltered()){const n=$a(t),i=al(r,n instanceof ChildrenNode?n:ChildrenNode.EMPTY_NODE);a=e.filter.updateFullNode(t.eventCache.getNode(),i,s)}else{const n=ol(r,$a(t));a=e.filter.updateFullNode(t.eventCache.getNode(),n,s)}else{const c=Ho(n);if(".priority"===c){Cs(1===Wo(n),"Can't have a priority with additional path components");const i=o.getNode();l=t.serverCache.getNode();const s=ll(r,n,i,l);a=null!=s?e.filter.updatePriority(i,s):o.getNode()}else{const u=qo(n);let h;if(o.isCompleteForChild(c)){l=t.serverCache.getNode();const e=ll(r,n,o.getNode(),l);h=null!=e?o.getNode().getImmediateChild(c).updateChild(u,e):o.getNode().getImmediateChild(c)}else h=hl(r,c,t.serverCache);a=null!=h?e.filter.updateChild(o.getNode(),c,h,u,i,s):o.getNode()}}return Ua(t,a,o.isFullyInitialized()||Yo(n),e.filter.filtersNodes())}}function _l(e,t,n,r,i,s,o,a){const l=t.serverCache;let c;const u=o?e.filter:e.filter.getIndexedFilter();if(Yo(n))c=u.updateFullNode(l.getNode(),r,null);else if(u.filtersNodes()&&!l.isFiltered()){const e=l.getNode().updateChild(n,r);c=u.updateFullNode(l.getNode(),e,null)}else{const e=Ho(n);if(!l.isCompleteForPath(n)&&Wo(n)>1)return t;const i=qo(n),s=l.getNode().getImmediateChild(e).updateChild(i,r);c=".priority"===e?u.updatePriority(l.getNode(),s):u.updateChild(l.getNode(),e,s,i,pl,null)}const h=Va(t,c,l.isFullyInitialized()||Yo(n),u.filtersNodes());return gl(e,h,n,i,new WriteTreeCompleteChildSource(i,h,s),a)}function vl(e,t,n,r,i,s,o){const a=t.eventCache;let l,c;const u=new WriteTreeCompleteChildSource(i,t,s);if(Yo(n))c=e.filter.updateFullNode(t.eventCache.getNode(),r,o),l=Ua(t,c,!0,e.filter.filtersNodes());else{const i=Ho(n);if(".priority"===i)c=e.filter.updatePriority(t.eventCache.getNode(),r),l=Ua(t,c,a.isFullyInitialized(),a.isFiltered());else{const s=qo(n),c=a.getNode().getImmediateChild(i);let h;if(Yo(s))h=r;else{const e=u.getCompleteChild(i);h=null!=e?".priority"===Ko(s)&&e.getChild(Qo(s)).isEmpty()?e:e.updateChild(s,r):ChildrenNode.EMPTY_NODE}if(c.equals(h))l=t;else{l=Ua(t,e.filter.updateChild(a.getNode(),i,h,s,u,o),a.isFullyInitialized(),e.filter.filtersNodes())}}}return l}function yl(e,t){return e.eventCache.isCompleteForChild(t)}function bl(e,t,n){return n.foreach(((e,n)=>{t=t.updateChild(e,n)})),t}function wl(e,t,n,r,i,s,o,a){if(t.serverCache.getNode().isEmpty()&&!t.serverCache.isFullyInitialized())return t;let l,c=t;l=Yo(n)?r:new ImmutableTree(null).setTree(n,r);const u=t.serverCache.getNode();return l.children.inorderTraversal(((n,r)=>{if(u.hasChild(n)){const l=bl(0,t.serverCache.getNode().getImmediateChild(n),r);c=_l(e,c,new Path(n),l,i,s,o,a)}})),l.children.inorderTraversal(((n,r)=>{const l=!t.serverCache.isCompleteForChild(n)&&null===r.value;if(!u.hasChild(n)&&!l){const l=bl(0,t.serverCache.getNode().getImmediateChild(n),r);c=_l(e,c,new Path(n),l,i,s,o,a)}})),c}class View{constructor(e,t){this.query_=e,this.eventRegistrations_=[];const n=this.query_._queryParams,r=new IndexedFilter(n.getIndex()),i=(s=n).loadsAllData()?new IndexedFilter(s.getIndex()):s.hasLimit()?new LimitedFilter(s):new RangedFilter(s);var s;this.processor_=function(e){return{filter:e}}(i);const o=t.serverCache,a=t.eventCache,l=r.updateFullNode(ChildrenNode.EMPTY_NODE,o.getNode(),null),c=i.updateFullNode(ChildrenNode.EMPTY_NODE,a.getNode(),null),u=new CacheNode(l,o.isFullyInitialized(),r.filtersNodes()),h=new CacheNode(c,a.isFullyInitialized(),i.filtersNodes());this.viewCache_=Ma(h,u),this.eventGenerator_=new EventGenerator(this.query_)}get query(){return this.query_}}function El(e,t){const n=$a(e.viewCache_);return n&&(e.query._queryParams.loadsAllData()||!Yo(t)&&!n.getImmediateChild(Ho(t)).isEmpty())?n.getChild(t):null}function Sl(e){return 0===e.eventRegistrations_.length}function Tl(e,t,n){const r=[];if(n){Cs(null==t,"A cancel should cancel all event registrations.");const i=e.query._path;e.eventRegistrations_.forEach((e=>{const t=e.createCancelEvent(n,i);t&&r.push(t)}))}if(t){let n=[];for(let r=0;r<e.eventRegistrations_.length;++r){const i=e.eventRegistrations_[r];if(i.matches(t)){if(t.hasAnyCallback()){n=n.concat(e.eventRegistrations_.slice(r+1));break}}else n.push(i)}e.eventRegistrations_=n}else e.eventRegistrations_=[];return r}function Cl(e,t,n,r){t.type===Fa.MERGE&&null!==t.source.queryId&&(Cs($a(e.viewCache_),"We should always have a full c
1ache before handling merges"),Cs(Ba(e.viewCache_),"Missing event cache, even though we have a server cache"));const i=e.viewCache_,s=ml(e.processor_,i,t,n,r);var o,a;return o=e.processor_,a=s.viewCache,Cs(a.eventCache.getNode().isIndexed(o.filter.getIndex()),"Event snap not indexed"),Cs(a.serverCache.getNode().isIndexed(o.filter.getIndex()),"Server snap not indexed"),Cs(s.viewCache.serverCache.isFullyInitialized()||!i.serverCache.isFullyInitialized(),"Once a server snap is complete, it should never go back"),e.viewCache_=s.viewCache,xl(e,s.changes,s.viewCache.eventCache.getNode(),null)}function xl(e,t,n,r){const i=r?[r]:e.eventRegistrations_;return function(e,t,n,r){const i=[],s=[];return t.forEach((t=>{var n;"child_changed"===t.type&&e.index_.indexedValueChanged(t.oldSnap,t.snapshotNode)&&s.push((n=t.childName,{type:"child_moved",snapshotNode:t.snapshotNode,childName:n}))})),ja(e,i,"child_removed",t,r,n),ja(e,i,"child_added",t,r,n),ja(e,i,"child_moved",s,r,n),ja(e,i,"child_changed",t,r,n),ja(e,i,"value",t,r,n),i}(e.eventGenerator_,t,n,i)}let Al,Il;class SyncPoint{constructor(){this.views=new Map}}function kl(e,t,n,r){const i=t.source.queryId;if(null!==i){const s=e.views.get(i);return Cs(null!=s,"SyncTree gave us an op for an invalid query."),Cl(s,t,n,r)}{let i=[];for(const s of e.views.values())i=i.concat(Cl(s,t,n,r));return i}}function Pl(e,t,n,r,i){const s=t._queryIdentifier,o=e.views.get(s);if(!o){let e=ol(n,i?r:null),s=!1;e?s=!0:r instanceof ChildrenNode?(e=al(n,r),s=!1):(e=ChildrenNode.EMPTY_NODE,s=!1);const o=Ma(new CacheNode(e,s,!1),new CacheNode(r,i,!1));return new View(t,o)}return o}function Nl(e,t,n,r,i,s){const o=Pl(e,t,r,i,s);return e.views.has(t._queryIdentifier)||e.views.set(t._queryIdentifier,o),function(e,t){e.eventRegistrations_.push(t)}(o,n),function(e,t){const n=e.viewCache_.eventCache,r=[];n.getNode().isLeafNode()||n.getNode().forEachChild(ma,((e,t)=>{r.push(xa(e,t))}));return n.isFullyInitialized()&&r.push(Ta(n.getNode())),xl(e,r,n.getNode(),t)}(o,n)}function Rl(e,t,n,r){const i=t._queryIdentifier,s=[];let o=[];const a=jl(e);if("default"===i)for(const[l,c]of e.views.entries())o=o.concat(Tl(c,n,r)),Sl(c)&&(e.views.delete(l),c.query._queryParams.loadsAllData()||s.push(c.query));else{const t=e.views.get(i);t&&(o=o.concat(Tl(t,n,r)),Sl(t)&&(e.views.delete(i),t.query._queryParams.loadsAllData()||s.push(t.query)))}return a&&!jl(e)&&s.push(new(Cs(Al,"Reference.ts has not been loaded"),Al)(t._repo,t._path)),{removed:s,events:o}}function Ol(e){const t=[];for(const n of e.views.values())n.query._queryParams.loadsAllData()||t.push(n);return t}function Dl(e,t){let n=null;for(const r of e.views.values())n=n||El(r,t);return n}function Fl(e,t){if(t._queryParams.loadsAllData())return Ml(e);{const n=t._queryIdentifier;return e.views.get(n)}}function Ll(e,t){return null!=Fl(e,t)}function jl(e){return null!=Ml(e)}function Ml(e){for(const t of e.views.values())if(t.query._queryParams.loadsAllData())return t;return null}let Ul=1;class SyncTree{constructor(e){this.listenProvider_=e,this.syncPointTree_=new ImmutableTree(null),this.pendingWriteTree_={visibleWrites:CompoundWrite.empty(),allWrites:[],lastWriteId:-1},this.tagToQueryMap=new Map,this.queryToTagMap=new Map}}function Vl(e,t,n,r,i){return function(e,t,n,r,i){Cs(r>e.lastWriteId,"Stacking an older write on top of newer ones"),void 0===i&&(i=!0),e.allWrites.push({path:t,snap:n,writeId:r,visible:i}),i&&(e.visibleWrites=Ha(e.visibleWrites,t,n)),e.lastWriteId=r}(e.pendingWriteTree_,t,n,r,i),i?Kl(e,new Overwrite({fromUser:!0,fromServer:!1,queryId:null,tagged:!1},t,n)):[]}function Bl(e,t,n=!1){const r=function(e,t){for(let n=0;n<e.allWrites.length;n++){const r=e.allWrites[n];if(r.writeId===t)return r}return null}(e.pendingWriteTree_,t);if(tl(e.pendingWriteTree_,t)){let t=new ImmutableTree(null);return null!=r.snap?t=t.set(zo(),!0):xo(r.children,(e=>{t=t.set(new Path(e),!0)})),Kl(e,new AckUserWrite(r.path,t,n))}return[]}function $l(e,t,n){return Kl(e,new Overwrite({fromUser:!1,fromServer:!0,queryId:null,tagged:!1},t,n))}function zl(e,t,n,r,i=!1){const s=t._path,o=e.syncPointTree_.get(s);let a=[];if(o&&("default"===t._queryIdentifier||Ll(o,t))){const l=Rl(o,t,n,r);0===o.views.size&&(e.syncPointTree_=e.syncPointTree_.remove(s));const c=l.removed;if(a=l.events,!i){const n=-1!==c.findIndex((e=>e._queryParams.loadsAllData())),i=e.syncPointTree_.findOnPath(s,((e,t)=>jl(t)));if(n&&!i){const t=e.syncPointTree_.subtree(s);if(!t.isEmpty()){const n=function(e){return e.fold(((e,t,n)=>{if(t&&jl(t)){return[Ml(t)]}{let e=[];return t&&(e=Ol(t)),xo(n,((t,n)=>{e=e.concat(n)})),e}}
vendor: 15,223 bytes, line 1
1))}(t);for(let t=0;t<n.length;++t){const r=n[t],i=r.query,s=Xl(e,r);e.listenProvider_.startListening(nc(i),Yl(e,i),s.hashFn,s.onComplete)}}}if(!i&&c.length>0&&!r)if(n){const n=null;e.listenProvider_.stopListening(nc(t),n)}else c.forEach((t=>{const n=e.queryToTagMap.get(Jl(t));e.listenProvider_.stopListening(nc(t),n)}))}!function(e,t){for(let n=0;n<t.length;++n){const r=t[n];if(!r._queryParams.loadsAllData()){const t=Jl(r),n=e.queryToTagMap.get(t);e.queryToTagMap.delete(t),e.tagToQueryMap.delete(n)}}}(e,c)}return a}function Hl(e,t,n,r){const i=Zl(e,r);if(null!=i){const r=ec(i),s=r.path,o=r.queryId,a=Jo(s,t);return tc(e,s,new Overwrite(La(o),a,n))}return[]}function Wl(e,t,n,r=!1){const i=t._path;let s=null,o=!1;e.syncPointTree_.foreachOnPath(i,((e,t)=>{const n=Jo(e,i);s=s||Dl(t,n),o=o||jl(t)}));let a,l=e.syncPointTree_.get(i);if(l?(o=o||jl(l),s=s||Dl(l,zo())):(l=new SyncPoint,e.syncPointTree_=e.syncPointTree_.set(i,l)),null!=s)a=!0;else{a=!1,s=ChildrenNode.EMPTY_NODE;e.syncPointTree_.subtree(i).foreachChild(((e,t)=>{const n=Dl(t,zo());n&&(s=s.updateImmediateChild(e,n))}))}const c=Ll(l,t);if(!c&&!t._queryParams.loadsAllData()){const n=Jl(t);Cs(!e.queryToTagMap.has(n),"View does not exist, but we have a tag");const r=Ul++;e.queryToTagMap.set(n,r),e.tagToQueryMap.set(r,n)}let u=Nl(l,t,n,el(e.pendingWriteTree_,i),s,a);if(!c&&!o&&!r){const n=Fl(l,t);u=u.concat(function(e,t,n){const r=t._path,i=Yl(e,t),s=Xl(e,n),o=e.listenProvider_.startListening(nc(t),i,s.hashFn,s.onComplete),a=e.syncPointTree_.subtree(r);if(i)Cs(!jl(a.value),"If we're adding a query, it shouldn't be shadowed");else{const t=a.fold(((e,t,n)=>{if(!Yo(e)&&t&&jl(t))return[Ml(t).query];{let e=[];return t&&(e=e.concat(Ol(t).map((e=>e.query)))),xo(n,((t,n)=>{e=e.concat(n)})),e}}));for(let n=0;n<t.length;++n){const r=t[n];e.listenProvider_.stopListening(nc(r),Yl(e,r))}}return o}(e,t,n))}return u}function ql(e,t,n){const r=e.pendingWriteTree_,i=e.syncPointTree_.findOnPath(t,((e,n)=>{const r=Dl(n,Jo(e,t));if(r)return r}));return sl(r,t,i,n,!0)}function Kl(e,t){return Gl(t,e.syncPointTree_,null,el(e.pendingWriteTree_,zo()))}function Gl(e,t,n,r){if(Yo(e.path))return Ql(e,t,n,r);{const i=t.get(zo());null==n&&null!=i&&(n=Dl(i,zo()));let s=[];const o=Ho(e.path),a=e.operationForChild(o),l=t.children.get(o);if(l&&a){const e=n?n.getImmediateChild(o):null,t=dl(r,o);s=s.concat(Gl(a,l,e,t))}return i&&(s=s.concat(kl(i,e,r,n))),s}}function Ql(e,t,n,r){const i=t.get(zo());null==n&&null!=i&&(n=Dl(i,zo()));let s=[];return t.children.inorderTraversal(((t,i)=>{const o=n?n.getImmediateChild(t):null,a=dl(r,t),l=e.operationForChild(t);l&&(s=s.concat(Ql(l,i,o,a)))})),i&&(s=s.concat(kl(i,e,r,n))),s}function Xl(e,t){const n=t.query,r=Yl(e,n);return{hashFn:()=>{const e=function(e){return e.viewCache_.serverCache.getNode()}(t)||ChildrenNode.EMPTY_NODE;return e.hash()},onComplete:t=>{if("ok"===t)return r?function(e,t,n){const r=Zl(e,n);if(r){const n=ec(r),i=n.path,s=n.queryId,o=Jo(i,t);return tc(e,i,new ListenComplete(La(s),o))}return[]}(e,n._path,r):function(e,t){return Kl(e,new ListenComplete({fromUser:!1,fromServer:!0,queryId:null,tagged:!1},t))}(e,n._path);{const r=function(e,t){let n="Unknown Error";"too_big"===e?n="The data requested exceeds the maximum size that can be accessed with a single request.":"permission_denied"===e?n="Client doesn't have permission to access the desired data.":"unavailable"===e&&(n="The service is unavailable");const r=new Error(e+" at "+t._path.toString()+": "+n);return r.code=e.toUpperCase(),r}(t,n);return zl(e,n,null,r)}}}}function Yl(e,t){const n=Jl(t);return e.queryToTagMap.get(n)}function Jl(e){return e._path.toString()+"$"+e._queryIdentifier}function Zl(e,t){return e.tagToQueryMap.get(t)}function ec(e){const t=e.indexOf("$");return Cs(-1!==t&&t<e.length-1,"Bad queryKey."),{queryId:e.substr(t+1),path:new Path(e.substr(0,t))}}function tc(e,t,n){const r=e.syncPointTree_.get(t);Cs(r,"Missing sync point for query tag that we're tracking");return kl(r,n,el(e.pendingWriteTree_,t),null)}function nc(e){return e._queryParams.loadsAllData()&&!e._queryParams.isDefault()?new(Cs(Il,"Reference.ts has not been loaded"),Il)(e._repo,e._path):e}class ExistingValueProvider{constructor(e){this.node_=e}getImmediateChild(e){const t=this.node_.getImmediateChild(e);return new ExistingValueProvider(t)}node(){return this.node_}}class DeferredValueProvider{constructor(e,t){this.syncTree_=e,this.path_=t}getImmediateChild(e){const t=Xo(this.path_,e);return new DeferredValueProvider(this.syncTree_,t)}node(){return ql(this.syncTree_,this.path_)}}const rc=function(e,t,n){return e&&"object"==typeof e?(Cs(".sv"in e,"Unexpected leaf node or priority contents"),"string"==typeof e[".sv"]?ic(e[".sv"],t,n):"object"==typeof e[".sv"]?sc(e[".sv"],t):void Cs(!1,"Unexpected server value: "+JSON.stringify(e,null,2))):e},ic=function(e,t,n){if("timestamp"===e)return n.timestamp;Cs(!1,"Unexpected server value: "+e)},sc=function(e,t,n){e.hasOwnProperty("increment")||Cs(!1,"Unexpected server value: "+JSON.stringify(e,null,2));const r=e.increment;"number"!=typeof r&&Cs(!1,"Unexpected increment value: "+r);const i=t.node();if(Cs(null!=i,"Expected ChildrenNode.EMPTY_NODE for nulls"),!i.isLeafNode())return r;const s=i.getValue();return"number"!=typeof s?r:s+r},oc=function(e,t,n,r){return lc(t,new DeferredValueProvider(n,e),r)},ac=function(e,t,n){return lc(e,new ExistingValueProvider(t),n)};function lc(e,t,n){const r=e.getPriority().val(),i=rc(r,t.getImmediateChild(".priority"),n);let s;if(e.isLeafNode()){const r=e,s=rc(r.getValue(),t,n);return s!==r.getValue()||i!==r.getPriority().val()?new LeafNode(s,Ea(i)):e}{const r=e;return s=r,i!==r.getPriority().val()&&(s=s.updatePriority(new LeafNode(i))),r.forEachChild(ma,((e,r)=>{const i=lc(r,t.getImmediateChild(e),n);i!==r&&(s=s.updateImmediateChild(e,i))})),s}}class Tree{constructor(e="",t=null,n={children:{},childCount:0}){this.name=e,this.parent=t,this.node=n}}function cc(e,t){let n=t instanceof Path?t:new Path(t),r=e,i=Ho(n);for(;null!==i;){const e=Vs(r.node.children,i)||{children:{},childCount:0};r=new Tree(i,r,e),n=qo(n),i=Ho(n)}return r}function uc(e){return e.node.value}function hc(e,t){e.node.value=t,gc(e)}function dc(e){return e.node.childCount>0}function fc(e,t){xo(e.node.children,((n,r)=>{t(new Tree(n,e,r))}))}function pc(e,t,n,r){n&&!r&&t(e),fc(e,(e=>{pc(e,t,!0,r)})),n&&r&&t(e)}function mc(e){return new Path(null===e.parent?e.name:mc(e.parent)+"/"+e.name)}function gc(e){null!==e.parent&&function(e,t,n){const r=function(e){return void 0===uc(e)&&!dc(e)}(n),i=Us(e.node.children,t);r&&i?(delete e.node.children[t],e.node.childCount--,gc(e)):r||i||(e.node.children[t]=n.node,e.node.childCount++,gc(e))}(e.parent,e.name,e)}const _c=/[\[\].#$\/\u0000-\u001F\u007F]/,vc=/[\[\].#$\u0000-\u001F\u007F]/,yc=10485760,bc=function(e){return"string"==typeof e&&0!==e.length&&!_c.test(e)},wc=function(e){return"string"==typeof e&&0!==e.length&&!vc.test(e)},Ec=function(e,t,n){const r=n instanceof Path?new ValidationPath(n,e):n;if(void 0===t)throw new Error(e+"contains undefined "+ra(r));if("function"==typeof t)throw new Error(e+"contains a function "+ra(r)+" with contents = "+t.toString());if(vo(t))throw new Error(e+"contains "+t.toString()+" "+ra(r));if("string"==typeof t&&t.length>yc/3&&Hs(t)>yc)throw new Error(e+"contains a string greater than "+yc+" utf8 bytes "+ra(r)+" ('"+t.substring(0,50)+"...')");if(t&&"object"==typeof t){let n=!1,i=!1;if(xo(t,((t,s)=>{if(".value"===t)n=!0;else if(".priority"!==t&&".sv"!==t&&(i=!0,!bc(t)))throw new Error(e+" contains an invalid key ("+t+") "+ra(r)+'. Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"');!function(e,t){e.parts_.length>0&&(e.byteLength_+=1),e.parts_.push(t),e.byteLength_+=Hs(t),ta(e)}(r,t),Ec(e,s,r),function(e){const t=e.parts_.pop();e.byteLength_-=Hs(t),e.parts_.length>0&&(e.byteLength_-=1)}(r)})),n&&i)throw new Error(e+' contains ".value" child '+ra(r)+" in addition to actual children.")}},Sc=function(e,t,n,r){if(!(r&&void 0===n||wc(n)))throw new Error(zs(e,t)+'was an invalid path = "'+n+'". Paths must be non-empty strings and can\'t contain ".", "#", "$", "[", or "]"')},Tc=function(e,t){const n=t.path.toString();if("string"!=typeof t.repoInfo.host||0===t.repoInfo.host.length||!bc(t.repoInfo.namespace)&&"localhost"!==t.repoInfo.host.split(":")[0]||0!==n.length&&!function(e){return e&&(e=e.replace(/^\/*\.info(\/|$)/,"/")),wc(e)}(n))throw new Error(zs(e,"url")+'must be a valid firebase URL and the path can\'t contain ".", "#", "$", "[", or "]".')};class EventQueue{constructor(){this.eventLists_=[],this.recursionDepth_=0}}function Cc(e,t){let n=null;for(let r=0;r<t.length;r++){const i=t[r],s=i.getPath();null===n||Zo(s,n.path)||(e.eventLists_.push(n),n=null),null===n&&(n={events:[],path:s}),n.events.push(i)}n&&e.eventLists_.push(n)}function xc(e,t,n){Cc(e,n),Ic(e,(e=>Zo(e,t)))}function Ac(e,t,n){Cc(e,n),Ic(e,(e=>ea(e,t)||ea(t,e)))}function Ic(e,t){e.recursionDepth_++;let n=!0;for(let r=0;r<e.eventLists_.length;r++){const i=e.eventLists_[r];if(i){t(i.path)?(kc(e.eventLists_[r]),e.eventLists_[r]=null):n=!1}}n&&(e.eventLists_=[]),e.recursionDepth_--}function kc(e){for(let t=0;t<e.events.length;t++){const n=e.events[t];if(null!==n){e.events[t]=null;const r=n.getEventRunner();co&&fo("event: "+n.toString()),Po(r)}}}const Pc="repo_interrupt";class Repo{constructor(e,t,n,r){this.repoInfo_=e,this.forceRestClient_=t,this.authTokenProvider_=n,this.appCheckProvider_=r,this.dataUpdateCount=0,this.statsListener_=null,this.eventQueue_=new EventQueue,this.nextWriteId_=1,this.interceptServerDataCallback_=null,this.onDisconnect_=Ra(),this.transactionQueueTree_=new Tree,this.persistentConnection_=null,this.key=this.repoInfo_.toURLString()}toString(){return(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host}}function Nc(e,t,n){if(e.stats_=Vo(e.repoInfo_),e.forceRestClient_||("object"==typeof window&&window.navigator&&window.navigator.userAgent||"").search(/googlebot|google webmaster tools|bingbot|yahoo! slurp|baiduspider|yandexbot|duckduckbot/i)>=0)e.server_=new ReadonlyRestClient(e.repoInfo_,((t,n,r,i)=>{Dc(e,t,n,r,i)}),e.authTokenProvider_,e.appCheckProvider_),setTimeout((()=>Fc(e,!0)),0);else{if(null!=n){if("object"!=typeof n)throw new Error("Only objects are supported for option databaseAuthVariableOverride");try{js(n)}catch(Pb){throw new Error("Invalid authOverride provided: "+Pb)}}e.persistentConnection_=new PersistentConnection(e.repoInfo_,t,((t,n,r,i)=>{Dc(e,t,n,r,i)}),(t=>{Fc(e,t)}),(t=>{!function(e,t){xo(t,((t,n)=>{Lc(e,t,n)}))}(e,t)}),e.authTokenProvider_,e.appCheckProvider_,n),e.server_=e.persistentConnection_}e.authTokenProvider_.addTokenChangeListener((t=>{e.server_.refreshAuthToken(t)})),e.appCheckProvider_.addTokenChangeListener((t=>{e.server_.refreshAppCheckToken(t.token)})),e.statsReporter_=function(e,t){const n=e.toString();return Uo[n]||(Uo[n]=t()),Uo[n]}(e.repoInfo_,(()=>new StatsReporter(e.stats_,e.server_))),e.infoData_=new SnapshotHolder,e.infoSyncTree_=new SyncTree({startListening:(t,n,r,i)=>{let s=[];const o=e.infoData_.getNode(t._path);return o.isEmpty()||(s=$l(e.infoSyncTree_,t._path,o),setTimeout((()=>{i("ok")}),0)),s},stopListening:()=>{}}),Lc(e,"connected",!1),e.serverSyncTree_=new SyncTree({startListening:(t,n,r,i)=>(e.server_.listen(t,r,n,((n,r)=>{const s=i(n,r);Ac(e.eventQueue_,t._path,s)})),[]),stopListening:(t,n)=>{e.server_.unlisten(t,n)}})}function Rc(e){const t=e.infoData_.getNode(new Path(".info/serverTimeOffset")).val()||0;return(new Date).getTime()+t}function Oc(e){return function(e){return(e=e||{}).timestamp=e.timestamp||(new Date).getTime(),e}({timestamp:Rc(e)})}function Dc(e,t,n,r,i){e.dataUpdateCount++;const s=new Path(t);n=e.interceptServerDataCallback_?e.interceptServerDataCallback_(t,n):n;let o=[];if(i)if(r){const t=$s(n,(e=>Ea(e)));o=function(e,t,n,r){const i=Zl(e,r);if(i){const r=ec(i),s=r.path,o=r.queryId,a=Jo(s,t),l=ImmutableTree.fromObject(n);return tc(e,s,new Merge(La(o),a,l))}return[]}(e.serverSyncTree_,s,t,i)}else{const t=Ea(n);o=Hl(e.serverSyncTree_,s,t,i)}else if(r){const t=$s(n,(e=>Ea(e)));o=function(e,t,n){const r=ImmutableTree.fromObject(n);return Kl(e,new Merge({fromUser:!1,fromServer:!0,queryId:null,tagged:!1},t,r))}(e.serverSyncTree_,s,t)}else{const t=Ea(n);o=$l(e.serverSyncTree_,s,t)}let a=s;o.length>0&&(a=zc(e,s)),Ac(e.eventQueue_,a,o)}function Fc(e,t){Lc(e,"connected",t),!1===t&&function(e){Vc(e,"onDisconnectEvents");const t=Oc(e),n=Ra();Da(e.onDisconnect_,zo(),((r,i)=>{const s=oc(r,i,e.serverSyncTree_,t);Oa(n,r,s)}));let r=[];Da(n,zo(),((t,n)=>{r=r.concat($l(e.serverSyncTree_,t,n));const i=Gc(e,t);zc(e,i)})),e.onDisconnect_=Ra(),Ac(e.eventQueue_,zo(),r)}(e)}function Lc(e,t,n){const r=new Path("/.info/"+t),i=Ea(n);e.infoData_.updateSnapshot(r,i);const s=$l(e.infoSyncTree_,r,i);Ac(e.eventQueue_,r,s)}function jc(e){return e.nextWriteId_++}function Mc(e,t,n){let r;r=".info"===Ho(t._path)?zl(e.infoSyncTree_,t,n):zl(e.serverSyncTree_,t,n),xc(e.eventQueue_,t._path,r)}function Uc(e){e.persistentConnection_&&e.persistentConnection_.interrupt(Pc)}function Vc(e,...t){let n="";e.persistentConnection_&&(n=e.persistentConnection_.id+":"),fo(n,...t)}function Bc(e,t,n){return ql(e.serverSyncTree_,t,n)||ChildrenNode.EMPTY_NODE}function $c(e,t=e.transactionQueueTree_){if(t||Kc(e,t),uc(t)){const n=Wc(e,t);Cs(n.length>0,"Sending zero length transaction queue");n.every((e=>0===e.status))&&function(e,t,n){const r=n.map((e=>e.currentWriteId)),i=Bc(e,t,r);let s=i;const o=i.hash();for(let c=0;c<n.length;c++){const e=n[c];Cs(0===e.status,"tryToSendTransactionQueue_: items in queue should all be run."),e.status=1,e.retryCount++;const r=Jo(t,e.path);s=s.updateChild(r,e.currentOutputSnapshotRaw)}const a=s.val(!0),l=t;e.server_.put(l.toString(),a,(r=>{Vc(e,"transaction put response",{path:l.toString(),status:r});let i=[];if("ok"===r){const r=[];for(let t=0;t<n.length;t++)n[t].status=2,i=i.concat(Bl(e.serverSyncTree_,n[t].currentWriteId)),n[t].onComplete&&r.push((()=>n[t].onComplete(null,!0,n[t].currentOutputSnapshotResolved))),n[t].unwatcher();Kc(e,cc(e.transactionQueueTree_,t)),$c(e,e.transactionQueueTree_),Ac(e.eventQueue_,t,i);for(let e=0;e<r.length;e++)Po(r[e])}else{if("datastale"===r)for(let e=0;e<n.length;e++)3===n[e].status?n[e].status=4:n[e].status=0;else{_o("transaction at "+l.toString()+" failed: "+r);for(let e=0;e<n.length;e++)n[e].status=4,n[e].abortReason=r}zc(e,t)}}),o)}(e,mc(t),n)}else dc(t)&&fc(t,(t=>{$c(e,t)}))}function zc(e,t){const n=Hc(e,t),r=mc(n);return function(e,t,n){if(0===t.length)return;const r=[];let i=[];const s=t.filter((e=>0===e.status)),o=s.map((e=>e.currentWriteId));for(let l=0;l<t.length;l++){const s=t[l],c=Jo(n,s.path);let u,h=!1;if(Cs(null!==c,"rerunTransactionsUnderNode_: relativePath should not be null."),4===s.status)h=!0,u=s.abortReason,i=i.concat(Bl(e.serverSyncTree_,s.currentWriteId,!0));else if(0===s.status)if(s.retryCount>=25)h=!0,u="maxretry",i=i.concat(Bl(e.serverSyncTree_,s.currentWriteId,!0));else{const n=Bc(e,s.path,o);s.currentInputSnapshot=n;const r=t[l].update(n.val());if(void 0!==r){Ec("transaction failed: Data returned ",r,s.path);let t=Ea(r);"object"==typeof r&&null!=r&&Us(r,".priority")||(t=t.updatePriority(n.getPri
vendor: 12,302 bytes, line 1
1ority()));const a=s.currentWriteId,l=Oc(e),c=ac(t,n,l);s.currentOutputSnapshotRaw=t,s.currentOutputSnapshotResolved=c,s.currentWriteId=jc(e),o.splice(o.indexOf(a),1),i=i.concat(Vl(e.serverSyncTree_,s.path,c,s.currentWriteId,s.applyLocally)),i=i.concat(Bl(e.serverSyncTree_,a,!0))}else h=!0,u="nodata",i=i.concat(Bl(e.serverSyncTree_,s.currentWriteId,!0))}Ac(e.eventQueue_,n,i),i=[],h&&(t[l].status=2,a=t[l].unwatcher,setTimeout(a,Math.floor(0)),t[l].onComplete&&("nodata"===u?r.push((()=>t[l].onComplete(null,!1,t[l].currentInputSnapshot))):r.push((()=>t[l].onComplete(new Error(u),!1,null)))))}var a;Kc(e,e.transactionQueueTree_);for(let l=0;l<r.length;l++)Po(r[l]);$c(e,e.transactionQueueTree_)}(e,Wc(e,n),r),r}function Hc(e,t){let n,r=e.transactionQueueTree_;for(n=Ho(t);null!==n&&void 0===uc(r);)r=cc(r,n),n=Ho(t=qo(t));return r}function Wc(e,t){const n=[];return qc(e,t,n),n.sort(((e,t)=>e.order-t.order)),n}function qc(e,t,n){const r=uc(t);if(r)for(let i=0;i<r.length;i++)n.push(r[i]);fc(t,(t=>{qc(e,t,n)}))}function Kc(e,t){const n=uc(t);if(n){let e=0;for(let t=0;t<n.length;t++)2!==n[t].status&&(n[e]=n[t],e++);n.length=e,hc(t,n.length>0?n:void 0)}fc(t,(t=>{Kc(e,t)}))}function Gc(e,t){const n=mc(Hc(e,t)),r=cc(e.transactionQueueTree_,t);return function(e,t,n){let r=n?e:e.parent;for(;null!==r;){if(t(r))return!0;r=r.parent}}(r,(t=>{Qc(e,t)})),Qc(e,r),pc(r,(t=>{Qc(e,t)})),n}function Qc(e,t){const n=uc(t);if(n){const r=[];let i=[],s=-1;for(let t=0;t<n.length;t++)3===n[t].status||(1===n[t].status?(Cs(s===t-1,"All SENT items should be at beginning of queue."),s=t,n[t].status=3,n[t].abortReason="set"):(Cs(0===n[t].status,"Unexpected transaction status in abort"),n[t].unwatcher(),i=i.concat(Bl(e.serverSyncTree_,n[t].currentWriteId,!0)),n[t].onComplete&&r.push(n[t].onComplete.bind(null,new Error("set"),!1,null))));-1===s?hc(t,void 0):n.length=s+1,Ac(e.eventQueue_,mc(t),i);for(let e=0;e<r.length;e++)Po(r[e])}}const Xc=function(e,t){const n=Yc(e),r=n.namespace;"firebase.com"===n.domain&&go(n.host+" is no longer supported. Please use <YOUR FIREBASE>.firebaseio.com instead"),r&&"undefined"!==r||"localhost"===n.domain||go("Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com"),n.secure||"undefined"!=typeof window&&window.location&&window.location.protocol&&-1!==window.location.protocol.indexOf("https:")&&_o("Insecure Firebase access from a secure page. Please use https in calls to new Firebase().");const i="ws"===n.scheme||"wss"===n.scheme;return{repoInfo:new RepoInfo(n.host,n.secure,r,i,t,"",r!==n.subdomain),path:new Path(n.pathString)}},Yc=function(e){let t="",n="",r="",i="",s="",o=!0,a="https",l=443;if("string"==typeof e){let c=e.indexOf("//");c>=0&&(a=e.substring(0,c-1),e=e.substring(c+2));let u=e.indexOf("/");-1===u&&(u=e.length);let h=e.indexOf("?");-1===h&&(h=e.length),t=e.substring(0,Math.min(u,h)),u<h&&(i=function(e){let t="";const n=e.split("/");for(let r=0;r<n.length;r++)if(n[r].length>0){let e=n[r];try{e=decodeURIComponent(e.replace(/\+/g," "))}catch(Pb){}t+="/"+e}return t}(e.substring(u,h)));const d=function(e){const t={};"?"===e.charAt(0)&&(e=e.substring(1));for(const n of e.split("&")){if(0===n.length)continue;const r=n.split("=");2===r.length?t[decodeURIComponent(r[0])]=decodeURIComponent(r[1]):_o(`Invalid query segment '${n}' in query '${e}'`)}return t}(e.substring(Math.min(e.length,h)));c=t.indexOf(":"),c>=0?(o="https"===a||"wss"===a,l=parseInt(t.substring(c+1),10)):c=t.length;const f=t.slice(0,c);if("localhost"===f.toLowerCase())n="localhost";else if(f.split(".").length<=2)n=f;else{const e=t.indexOf(".");r=t.substring(0,e).toLowerCase(),n=t.substring(e+1),s=r}"ns"in d&&(s=d.ns)}return{host:t,port:l,domain:n,subdomain:r,secure:o,scheme:a,pathString:i,namespace:s}},Jc="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz";!function(){let e=0;const t=[]}();class DataEvent{constructor(e,t,n,r){this.eventType=e,this.eventRegistration=t,this.snapshot=n,this.prevName=r}getPath(){const e=this.snapshot.ref;return"value"===this.eventType?e._path:e.parent._path}getEventType(){return this.eventType}getEventRunner(){return this.eventRegistration.getEventRunner(this)}toString(){return this.getPath().toString()+":"+this.eventType+":"+js(this.snapshot.exportVal())}}class CancelEvent{constructor(e,t,n){this.eventRegistration=e,this.error=t,this.path=n}getPath(){return this.path}getEventType(){return"cancel"}getEventRunner(){return this.eventRegistration.getEventRunner(this)}toString(){return this.path.toString()+":cancel"}}class CallbackContext{constructor(e,t){this.snapshotCallback=e,this.cancelCallback=t}onValue(e,t){this.snapshotCallback.call(null,e,t)}onCancel(e){return Cs(this.hasCancelCallback,"Raising a cancel event on a listener with no cancel callback"),this.cancelCallback.call(null,e)}get hasCancelCallback(){return!!this.cancelCallback}matches(e){return this.snapshotCallback===e.snapshotCallback||void 0!==this.snapshotCallback.userCallback&&this.snapshotCallback.userCallback===e.snapshotCallback.userCallback&&this.snapshotCallback.context===e.snapshotCallback.context}}class QueryImpl{constructor(e,t,n,r){this._repo=e,this._path=t,this._queryParams=n,this._orderByCalled=r}get key(){return Yo(this._path)?null:Ko(this._path)}get ref(){return new ReferenceImpl(this._repo,this._path)}get _queryIdentifier(){const e=Na(this._queryParams),t=To(e);return"{}"===t?"default":t}get _queryObject(){return Na(this._queryParams)}isEqual(e){if(!((e=Ws(e))instanceof QueryImpl))return!1;const t=this._repo===e._repo,n=Zo(this._path,e._path),r=this._queryIdentifier===e._queryIdentifier;return t&&n&&r}toJSON(){return this.toString()}toString(){return this._repo.toString()+function(e){let t="";for(let n=e.pieceNum_;n<e.pieces_.length;n++)""!==e.pieces_[n]&&(t+="/"+encodeURIComponent(String(e.pieces_[n])));return t||"/"}(this._path)}}class ReferenceImpl extends QueryImpl{constructor(e,t){super(e,t,new QueryParams,!1)}get parent(){const e=Qo(this._path);return null===e?null:new ReferenceImpl(this._repo,e)}get root(){let e=this;for(;null!==e.parent;)e=e.parent;return e}}class DataSnapshot{constructor(e,t,n){this._node=e,this.ref=t,this._index=n}get priority(){return this._node.getPriority().val()}get key(){return this.ref.key}get size(){return this._node.numChildren()}child(e){const t=new Path(e),n=Zc(this.ref,e);return new DataSnapshot(this._node.getChild(t),n,ma)}exists(){return!this._node.isEmpty()}exportVal(){return this._node.val(!0)}forEach(e){if(this._node.isLeafNode())return!1;return!!this._node.forEachChild(this._index,((t,n)=>e(new DataSnapshot(n,Zc(this.ref,t),ma))))}hasChild(e){const t=new Path(e);return!this._node.getChild(t).isEmpty()}hasChildren(){return!this._node.isLeafNode()&&!this._node.isEmpty()}toJSON(){return this.exportVal()}val(){return this._node.val()}}function Zc(e,t){var n,r,i,s;return null===Ho((e=Ws(e))._path)?(n="child",r="path",s=!1,(i=t)&&(i=i.replace(/^\/*\.info(\/|$)/,"/")),Sc(n,r,i,s)):Sc("child","path",t,!1),new ReferenceImpl(e._repo,Xo(e._path,t))}class ValueEventRegistration{constructor(e){this.callbackContext=e}respondsTo(e){return"value"===e}createEvent(e,t){const n=t._queryParams.getIndex();return new DataEvent("value",this,new DataSnapshot(e.snapshotNode,new ReferenceImpl(t._repo,t._path),n))}getEventRunner(e){return"cancel"===e.getEventType()?()=>this.callbackContext.onCancel(e.error):()=>this.callbackContext.onValue(e.snapshot,null)}createCancelEvent(e,t){return this.callbackContext.hasCancelCallback?new CancelEvent(this,e,t):null}matches(e){return e instanceof ValueEventRegistration&&(!e.callbackContext||!this.callbackContext||e.callbackContext.matches(this.callbackContext))}hasAnyCallback(){return null!==this.callbackContext}}class ChildEventRegistration{constructor(e,t){this.eventType=e,this.callbackContext=t}respondsTo(e){let t="children_added"===e?"child_added":e;return t="children_removed"===t?"child_removed":t,this.eventType===t}createCancelEvent(e,t){return this.callbackContext.hasCancelCallback?new CancelEvent(this,e,t):null}createEvent(e,t){Cs(null!=e.childName,"Child events should have a childName.");const n=Zc(new ReferenceImpl(t._repo,t._path),e.childName),r=t._queryParams.getIndex();return new DataEvent(e.type,this,new DataSnapshot(e.snapshotNode,n,r),e.prevName)}getEventRunner(e){return"cancel"===e.getEventType()?()=>this.callbackContext.onCancel(e.error):()=>this.callbackContext.onValue(e.snapshot,e.prevName)}matches(e){return e instanceof ChildEventRegistration&&(this.eventType===e.eventType&&(!this.callbackContext||!e.callbackContext||this.callbackContext.matches(e.callbackContext)))}hasAnyCallback(){return!!this.callbackContext}}function eu(e,t,n,r,i){let s;if("object"==typeof r&&(s=void 0,i=r),"function"==typeof r&&(s=r),i&&i.onlyOnce){const t=n,r=(n,r)=>{Mc(e._repo,e,a),t(n,r)};r.userCallback=n.userCallback,r.context=n.context,n=r}const o=new CallbackContext(n,s||void 0),a="value"===t?new ValueEventRegistration(o):new ChildEventRegistration(t,o);return function(e,t,n){let r;r=".info"===Ho(t._path)?Wl(e.infoSyncTree_,t,n):Wl(e.serverSyncTree_,t,n),xc(e.eventQueue_,t._path,r)}(e._repo,e,a),()=>Mc(e._repo,e,a)}function tu(e,t,n,r){return eu(e,"value",t,n,r)}!function(e){Cs(!Al,"__referenceConstructor has already been defined"),Al=e}(ReferenceImpl),function(e){Cs(!Il,"__referenceConstructor has already been defined"),Il=e}(ReferenceImpl);const nu={};let ru=!1;function iu(e,t,n,r,i){let s=r||e.options.databaseURL;void 0===s&&(e.options.projectId||go("Can't determine Firebase Database URL. Be sure to include a Project ID when calling firebase.initializeApp()."),fo("Using default host for project ",e.options.projectId),s=`${e.options.projectId}-default-rtdb.firebaseio.com`);let o,a,l=Xc(s,i),c=l.repoInfo;"undefined"!=typeof process&&(a={NX_APP_FIREBASE_API_KEY:"AIzaSyAqrnh278DkaUjuVEBfLGtZwa0cEtP3n1o",NX_APP_FIREBASE_AUTH_DOMAIN:"shift-89fes2024.firebaseapp.com",NX_APP_FIREBASE_PROJECT_ID:"shift-89fes2024",NX_APP_FIREBASE_STORAGE_BUCKET:"shift-89fes2024.appspot.com",NX_APP_FIREBASE_MESSAGING_SENDER_ID:"170484621347",NX_APP_FIREBASE_APP_ID:"1:170484621347:web:0e749d623ded68ff29d196",NX_APP_FIREBASE_MEASUREMENT_ID:"G-0B5PH9DBTL",NX_APP_ENVIRONMENT:"production",NX_CLI_SET:"true",NX_LOAD_DOT_ENV_FILES:"true",NX_WORKSPACE_ROOT:"/Users/phuc.bui/working/bugfes2024-prod/design-form",NX_TERMINAL_OUTPUT_PATH:"/Users/phuc.bui/working/bugfes2024-prod/design-form/node_modules/.cache/nx/terminalOutputs/5379331968827017544",NX_STREAM_OUTPUT:"true",NX_TASK_TARGET_PROJECT:"shift89fes2024-front",NX_TASK_TARGET_TARGET:"build",NX_TASK_TARGET_CONFIGURATION:"production",NX_TASK_HASH:"5379331968827017544"}.FIREBASE_DATABASE_EMULATOR_HOST),a?(o=!0,s=`http://${a}?ns=${c.namespace}`,l=Xc(s,i),c=l.repoInfo):o=!l.repoInfo.secure;const u=i&&o?new EmulatorTokenProvider(EmulatorTokenProvider.OWNER):new FirebaseAuthTokenProvider(e.name,e.options,t);Tc("Invalid Firebase Database URL",l),Yo(l.path)||go("Database URL must point to the root of a Firebase Database (not including a child path).");const h=function(e,t,n,r){let i=nu[t.name];i||(i={},nu[t.name]=i);let s=i[e.toURLString()];s&&go("Database initialized multiple times. Please make sure the format of the database URL matches with each database() call.");return s=new Repo(e,ru,n,r),i[e.toURLString()]=s,s}(c,e,u,new AppCheckTokenProvider(e,n));return new Database(h,e)}class Database{constructor(e,t){this._repoInternal=e,this.app=t,this.type="database",this._instanceStarted=!1}get _repo(){return this._instanceStarted||(Nc(this._repoInternal,this.app.options.appId,this.app.options.databaseAuthVariableOverride),this._instanceStarted=!0),this._repoInternal}get _root(){return this._rootInternal||(this._rootInternal=new ReferenceImpl(this._repo,zo())),this._rootInternal}_delete(){return null!==this._rootInternal&&(!function(e,t){const n=nu[t];n&&n[e.key]===e||go(`Database ${t}(${e.repoInfo_}) has already been deleted.`),Uc(e),delete n[e.key]}(this._repo,this.app.name),this._repoInternal=null,this._rootInternal=null),Promise.resolve()}_checkNotDeleted(e){null===this._rootInternal&&go("Cannot call "+e+" on a deleted database.")}}PersistentConnection.prototype.simpleListen=function(e,t){this.sendRequest("q",{p:e},t)},PersistentConnection.prototype.echo=function(e,t){this.sendRequest("echo",{d:e},t)};
vendor: 4,826 bytes, line 1
1!function(e){to(nn),Jt(new dist_esm_index_esm2017_Component("database",((e,{instanceIdentifier:t})=>iu(e.getProvider("app").getImmediate(),e.getProvider("auth-internal"),e.getProvider("app-check-internal"),t)),"PUBLIC").setMultipleInstances(!0)),on(Js,Zs,e),on(Js,Zs,"esm2017")}();on("firebase","11.3.0","app");const su=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},ou={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i<e.length;i+=3){const t=e[i],s=i+1<e.length,o=s?e[i+1]:0,a=i+2<e.length,l=a?e[i+2]:0,c=t>>2,u=(3&t)<<4|o>>4;let h=(15&o)<<2|l>>6,d=63&l;a||(d=64,s||(h=64)),r.push(n[c],n[u],n[h],n[d])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(su(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){const t=[];let n=0,r=0;for(;n<e.length;){const i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){const s=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&s)}else if(i>239&&i<365){const s=((7&i)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])-65536;t[r++]=String.fromCharCode(55296+(s>>10)),t[r++]=String.fromCharCode(56320+(1023&s))}else{const s=e[n++],o=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&s)<<6|63&o)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i<e.length;){const t=n[e.charAt(i++)],s=i<e.length?n[e.charAt(i)]:0;++i;const o=i<e.length?n[e.charAt(i)]:64;++i;const a=i<e.length?n[e.charAt(i)]:64;if(++i,null==t||null==s||null==o||null==a)throw new util_dist_index_esm2017_DecodeBase64StringError;const l=t<<2|s>>4;if(r.push(l),64!==o){const e=s<<4&240|o>>2;if(r.push(e),64!==a){const e=o<<6&192|a;r.push(e)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class util_dist_index_esm2017_DecodeBase64StringError extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const au=function(e){return function(e){const t=su(e);return ou.encodeByteArray(t,!0)}(e).replace(/\./g,"")},lu=function(e){try{return ou.decodeString(e,!0)}catch(Pb){console.error("base64Decode failed: ",Pb)}return null};const cu=()=>function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__,uu=()=>{try{return cu()||(()=>{if("undefined"==typeof process)return;const e={NX_APP_FIREBASE_API_KEY:"AIzaSyAqrnh278DkaUjuVEBfLGtZwa0cEtP3n1o",NX_APP_FIREBASE_AUTH_DOMAIN:"shift-89fes2024.firebaseapp.com",NX_APP_FIREBASE_PROJECT_ID:"shift-89fes2024",NX_APP_FIREBASE_STORAGE_BUCKET:"shift-89fes2024.appspot.com",NX_APP_FIREBASE_MESSAGING_SENDER_ID:"170484621347",NX_APP_FIREBASE_APP_ID:"1:170484621347:web:0e749d623ded68ff29d196",NX_APP_FIREBASE_MEASUREMENT_ID:"G-0B5PH9DBTL",NX_APP_ENVIRONMENT:"production",NX_CLI_SET:"true",NX_LOAD_DOT_ENV_FILES:"true",NX_WORKSPACE_ROOT:"/Users/phuc.bui/working/bugfes2024-prod/design-form",NX_TERMINAL_OUTPUT_PATH:"/Users/phuc.bui/working/bugfes2024-prod/design-form/node_modules/.cache/nx/terminalOutputs/5379331968827017544",NX_STREAM_OUTPUT:"true",NX_TASK_TARGET_PROJECT:"shift89fes2024-front",NX_TASK_TARGET_TARGET:"build",NX_TASK_TARGET_CONFIGURATION:"production",NX_TASK_HASH:"5379331968827017544"}.__FIREBASE_DEFAULTS__;return e?JSON.parse(e):void 0})()||(()=>{if("undefined"==typeof document)return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;
1]+)/)}catch(Pb){return}const t=e&&lu(e[1]);return t&&JSON.parse(t)})()}catch(Pb){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${Pb}`)}},hu=e=>{const t=(e=>{var t,n;return null===(n=null===(t=uu())||void 0===t?void 0:t.emulatorHosts)||void 0===n?void 0:n[e]})(e);if(!t)return;const n=t.lastIndexOf(":");if(n<=0||n+1===t.length)throw new Error(`Invalid host ${t} with no separate hostname and port!`);const r=parseInt(t.substring(n+1),10);return"["===t[0]?[t.substring(1,n-1),r]:[t.substring(0,n),r]};function du(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function fu(){return!function(){var e;const t=null===(e=uu())||void 0===e?void 0:e.forceEnvironment;if("node"===t)return!0;if("browser"===t)return!1;try{return"[object process]"===Object.prototype.toString.call(n.g.process)}catch(Pb){return!1}}()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}class _firebase_util_dist_index_esm2017_FirebaseError extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name="FirebaseError",Object.setPrototypeOf(this,_firebase_util_dist_index_esm2017_FirebaseError.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,util_dist_index_esm2017_ErrorFactory.prototype.create)}}class util_dist_index_esm2017_ErrorFactory{constructor(e,t,n){this.service=e,this.serviceName=t,this.errors=n}create(e,...t){const n=t[0]||{},r=`${this.service}/${e}`,i=this.errors[e],s=i?function(e,t){return e.replace(pu,((e,n)=>{const r=t[n];return null!=r?String(r):`<${n}?>`}))}(i,n):"Error",o=`${this.serviceName}: ${s} (${r}).`;return new _firebase_util_dist_index_esm2017_FirebaseError(r,o,n)}}const pu=/\{\$([^}]+)}/g;function mu(e){return e&&e._delegate?e._delegate:e}class component_dist_esm_index_esm2017_Component{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const gu=[];var _u;!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(_u||(_u={}));const vu={debug:_u.DEBUG,verbose:_u.VERBOSE,info:_u.INFO,warn:_u.WARN,error:_u.ERROR,silent:_u.SILENT},yu=_u.INFO,bu={[_u.DEBUG]:"log",[_u.VERBOSE]:"log",[_u.INFO]:"info",[_u.WARN]:"warn",[_u.ERROR]:"error"},wu=(e,t,...n)=>{if(t<e.logLevel)return;const r=(new Date).toISOString(),i=bu[t];if(!i)throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`);console[i](`[${r}] ${e.name}:`,...n)};var Eu,Su,Tu="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},Cu={};(function(){var e;function t(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.B=Array(this.blockSize),this.o=this.h=0,this.s()}function n(e,t,n){n||(n=0);var r=Array(16);if("string"==typeof t)for(var i=0;16>i;++i)r[i]=t.charCodeAt(n++)|t.charCodeAt(n++)<<8|t.charCodeAt(n++)<<16|t.charCodeAt(n++)<<24;else for(i=0;16>i;++i)r[i]=t[n++]|t[n++]<<8|t[n++]<<16|t[n++]<<24;t=e.g[0],n=e.g[1],i=e.g[2];var s=e.g[3],o=t+(s^n&(i^s))+r[0]+3614090360&4294967295;o=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=(n=(i=(s=(t=n+(o<<7&4294967295|o>>>25))+((o=s+(i^t&(n^i))+r[1]+3905402710&4294967295)<<12&4294967295|o>>>20))+((o=i+(n^s&(t^n))+r[2]+606105819&4294967295)<<17&4294967295|o>>>15))+((o=n+(t^i&(s^t))+r[3]+3250441966&4294967295)<<22&4294967295|o>>>10))+((o=t+(s^n&(i^s))+r[4]+4118548399&4294967295)<<7&4294967295|o>>>25))+((o=s+(i^t&(n^i))+r[5]+1200080426&4294967295)<<12&4294967295|o>>>20))+((o=i+(n^s&(t^n))+r[6]+2821735955&4294967295)<<17&4294967295|o>>>15))+((o=n+(t^i&(s^t))+r[7]+4249261313&4294967295)<<22&4294967295|o>>>10))+((o=t+(s^n&(i^s))+r[8]+1770035416&4294967295)<<7&4294967295|o>>>25))+((o=s+(i^t&(n^i))+r[9]+2336552879&4294967295)<<12&4294967295|o>>>20))+((o=i+(n^s&(t^n))+r[10]+4294925233&4294967295)<<17&4294967295|o>>>15))+((o=n+(t^i&(s^t))+r[11]+2304563134&4294967295)<<22&4294967295|o>>>10))+((o=t+(s^n&(i^s))+r[12]+1804603682&4294967295)<<7&4294967295|o>>>25))+((o=s+(i^t&(n^i))+r[13]+4254626195&4294967295)<<12&4294967295|o>>>20))+((o=i+(n^s&(t^n))+r[14]+2792965006&4294967295)<<17&4294967295|o>>>15))+((o=n+(t^i&(s^t))+r[15]+1236535329&4294967295)<<22&4294967295|o>>>10))+((o=t+(i^s&(n^i))+r[1]+4129170786&4294967295)<<5&4294967295|o>>>27))+((o=s+(n^i&(t^n))+r[6]+3225465664&4294967295)<<9&4294967295|o>>>23))+((o=i+(t^n&(s^t))+r[11]+643717713&4294967295)<<14&4294967295|o>>>18))+((o=n+(s^t&(i^s))+r[0]+3921069994&4294967295)<<20&4294967295|o>>>
112))+((o=t+(i^s&(n^i))+r[5]+3593408605&4294967295)<<5&4294967295|o>>>27))+((o=s+(n^i&(t^n))+r[10]+38016083&4294967295)<<9&4294967295|o>>>23))+((o=i+(t^n&(s^t))+r[15]+3634488961&4294967295)<<14&4294967295|o>>>18))+((o=n+(s^t&(i^s))+r[4]+3889429448&4294967295)<<20&4294967295|o>>>12))+((o=t+(i^s&(n^i))+r[9]+568446438&4294967295)<<5&4294967295|o>>>27))+((o=s+(n^i&(t^n))+r[14]+3275163606&4294967295)<<9&4294967295|o>>>23))+((o=i+(t^n&(s^t))+r[3]+4107603335&4294967295)<<14&4294967295|o>>>18))+((o=n+(s^t&(i^s))+r[8]+1163531501&4294967295)<<20&4294967295|o>>>12))+((o=t+(i^s&(n^i))+r[13]+2850285829&4294967295)<<5&4294967295|o>>>27))+((o=s+(n^i&(t^n))+r[2]+4243563512&4294967295)<<9&4294967295|o>>>23))+((o=i+(t^n&(s^t))+r[7]+1735328473&4294967295)<<14&4294967295|o>>>18))+((o=n+(s^t&(i^s))+r[12]+2368359562&4294967295)<<20&4294967295|o>>>12))+((o=t+(n^i^s)+r[5]+4294588738&4294967295)<<4&4294967295|o>>>28))+((o=s+(t^n^i)+r[8]+2272392833&4294967295)<<11&4294967295|o>>>21))+((o=i+(s^t^n)+r[11]+1839030562&4294967295)<<16&4294967295|o>>>16))+((o=n+(i^s^t)+r[14]+4259657740&4294967295)<<23&4294967295|o>>>9))+((o=t+(n^i^s)+r[1]+2763975236&4294967295)<<4&4294967295|o>>>28))+((o=s+(t^n^i)+r[4]+1272893353&4294967295)<<11&4294967295|o>>>21))+((o=i+(s^t^n)+r[7]+4139469664&4294967295)<<16&4294967295|o>>>16))+((o=n+(i^s^t)+r[10]+3200236656&4294967295)<<23&4294967295|o>>>9))+((o=t+(n^i^s)+r[13]+681279174&4294967295)<<4&4294967295|o>>>28))+((o=s+(t^n^i)+r[0]+3936430074&4294967295)<<11&4294967295|o>>>21))+((o=i+(s^t^n)+r[3]+3572445317&4294967295)<<16&4294967295|o>>>16))+((o=n+(i^s^t)+r[6]+76029189&4294967295)<<23&4294967295|o>>>9))+((o=t+(n^i^s)+r[9]+3654602809&4294967295)<<4&4294967295|o>>>28))+((o=s+(t^n^i)+r[12]+3873151461&4294967295)<<11&4294967295|o>>>21))+((o=i+(s^t^n)+r[15]+530742520&4294967295)<<16&4294967295|o>>>16))+((o=n+(i^s^t)+r[2]+3299628645&4294967295)<<23&4294967295|o>>>9))+((o=t+(i^(n|~s))+r[0]+4096336452&4294967295)<<6&4294967295|o>>>26))+((o=s+(n^(t|~i))+r[7]+1126891415&4294967295)<<10&4294967295|o>>>22))+((o=i+(t^(s|~n))+r[14]+2878612391&4294967295)<<15&4294967295|o>>>17))+((o=n+(s^(i|~t))+r[5]+4237533241&4294967295)<<21&4294967295|o>>>11))+((o=t+(i^(n|~s))+r[12]+1700485571&4294967295)<<6&4294967295|o>>>26))+((o=s+(n^(t|~i))+r[3]+2399980690&4294967295)<<10&4294967295|o>>>22))+((o=i+(t^(s|~n))+r[10]+4293915773&4294967295)<<15&4294967295|o>>>17))+((o=n+(s^(i|~t))+r[1]+2240044497&4294967295)<<21&4294967295|o>>>11))+((o=t+(i^(n|~s))+r[8]+1873313359&4294967295)<<6&4294967295|o>>>26))+((o=s+(n^(t|~i))+r[15]+4264355552&4294967295)<<10&4294967295|o>>>22))+((o=i+(t^(s|~n))+r[6]+2734768916&4294967295)<<15&4294967295|o>>>17))+((o=n+(s^(i|~t))+r[13]+1309151649&4294967295)<<21&4294967295|o>>>11))+((s=(t=n+((o=t+(i^(n|~s))+r[4]+4149444226&4294967295)<<6&4294967295|o>>>26))+((o=s+(n^(t|~i))+r[11]+3174756917&4294967295)<<10&4294967295|o>>>22))^((i=s+((o=i+(t^(s|~n))+r[2]+718787259&4294967295)<<15&4294967295|o>>>17))|~t))+r[9]+3951481745&4294967295,e.g[0]=e.g[0]+t&4294967295,e.g[1]=e.g[1]+(i+(o<<21&4294967295|o>>>11))&4294967295,e.g[2]=e.g[2]+i&4294967295,e.g[3]=e.g[3]+s&4294967295}function r(e,t){this.h=t;for(var n=[],r=!0,i=e.length-1;0<=i;i--){var s=0|e[i];r&&s==t||(n[i]=s,r=!1)}this.g=n}!function(e,t){function n(){}n.prototype=t.prototype,e.D=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.C=function(e,n,r){for(var i=Array(arguments.length-2),s=2;s<arguments.length;s++)i[s-2]=arguments[s];return t.prototype[n].apply(e,i)}}(t,(function(){this.blockSize=-1})),t.prototype.s=function(){this.g[0]=1732584193,this.g[1]=4023233417,this.g[2]=2562383102,this.g[3]=271733878,this.o=this.h=0},t.prototype.u=function(e,t){void 0===t&&(t=e.length);for(var r=t-this.blockSize,i=this.B,s=this.h,o=0;o<t;){if(0==s)for(;o<=r;)n(this,e,o),o+=this.blockSize;if("string"==typeof e){for(;o<t;)if(i[s++]=e.charCodeAt(o++),s==this.blockSize){n(this,i),s=0;break}}else for(;o<t;)if(i[s++]=e[o++],s==this.blockSize){n(this,i),s=0;break}}this.h=s,this.o+=t},t.prototype.v=function(){var e=Array((56>this.h?this.blockSize:2*this.blockSize)-this.h);e[0]=128;for(var t=1;t<e.length-8;++t)e[t]=0;var n=8*this.o;for(t=e.length-8;t<e.length;++t)e[t]=255&n,n/=256;for(this.u(e),e=Array(16),t=n=0;4>t;++t)for(var r=0;32>r;r+=8)e[n++]=this.g[t]>>>r&255;return e};var i={};function s(e){return-128<=e&&128>e?function(e,t){var n=i;return Object.prototype.hasOwnProperty.call(n,e)?n[e]:n[e]=t(e)}(e,(function(e){return new r([0|e],0>e?-1:0)})):new r([0|e],0>e?-1:0)}function o(e){if(isNaN(e)||!isFinite(e))return a;
1if(0>e)return d(o(-e));for(var t=[],n=1,i=0;e>=n;i++)t[i]=e/n|0,n*=4294967296;return new r(t,0)}var a=s(0),l=s(1),c=s(16777216);function u(e){if(0!=e.h)return!1;for(var t=0;t<e.g.length;t++)if(0!=e.g[t])return!1;return!0}function h(e){return-1==e.h}function d(e){for(var t=e.g.length,n=[],i=0;i<t;i++)n[i]=~e.g[i];return new r(n,~e.h).add(l)}function f(e,t){return e.add(d(t))}function p(e,t){for(;(65535&e[t])!=e[t];)e[t+1]+=e[t]>>>16,e[t]&=65535,t++}function m(e,t){this.g=e,this.h=t}function g(e,t){if(u(t))throw Error("division by zero");if(u(e))return new m(a,a);if(h(e))return t=g(d(e),t),new m(d(t.g),d(t.h));if(h(t))return t=g(e,d(t)),new m(d(t.g),t.h);if(30<e.g.length){if(h(e)||h(t))throw Error("slowDivide_ only works with positive integers.");for(var n=l,r=t;0>=r.l(e);)n=_(n),r=_(r);var i=v(n,1),s=v(r,1);for(r=v(r,2),n=v(n,2);!u(r);){var c=s.add(r);0>=c.l(e)&&(i=i.add(n),s=c),r=v(r,1),n=v(n,1)}return t=f(e,i.j(t)),new m(i,t)}for(i=a;0<=e.l(t);){for(n=Math.max(1,Math.floor(e.m()/t.m())),r=48>=(r=Math.ceil(Math.log(n)/Math.LN2))?1:Math.pow(2,r-48),c=(s=o(n)).j(t);h(c)||0<c.l(e);)c=(s=o(n-=r)).j(t);u(s)&&(s=l),i=i.add(s),e=f(e,c)}return new m(i,e)}function _(e){for(var t=e.g.length+1,n=[],i=0;i<t;i++)n[i]=e.i(i)<<1|e.i(i-1)>>>31;return new r(n,e.h)}function v(e,t){var n=t>>5;t%=32;for(var i=e.g.length-n,s=[],o=0;o<i;o++)s[o]=0<t?e.i(o+n)>>>t|e.i(o+n+1)<<32-t:e.i(o+n);return new r(s,e.h)}(e=r.prototype).m=function(){if(h(this))return-d(this).m();for(var e=0,t=1,n=0;n<this.g.length;n++){var r=this.i(n);e+=(0<=r?r:4294967296+r)*t,t*=4294967296}return e},e.toString=function(e){if(2>(e=e||10)||36<e)throw Error("radix out of range: "+e);if(u(this))return"0";if(h(this))return"-"+d(this).toString(e);for(var t=o(Math.pow(e,6)),n=this,r="";;){var i=g(n,t).g,s=((0<(n=f(n,i.j(t))).g.length?n.g[0]:n.h)>>>0).toString(e);if(u(n=i))return s+r;for(;6>s.length;)s="0"+s;r=s+r}},e.i=function(e){return 0>e?0:e<this.g.length?this.g[e]:this.h},e.l=function(e){return h(e=f(this,e))?-1:u(e)?0:1},e.abs=function(){return h(this)?d(this):this},e.add=function(e){for(var t=Math.max(this.g.length,e.g.length),n=[],i=0,s=0;s<=t;s++){var o=i+(65535&this.i(s))+(65535&e.i(s)),a=(o>>>16)+(this.i(s)>>>16)+(e.i(s)>>>16);i=a>>>16,o&=65535,a&=65535,n[s]=a<<16|o}return new r(n,-2147483648&n[n.length-1]?-1:0)},e.j=function(e){if(u(this)||u(e))return a;if(h(this))return h(e)?d(this).j(d(e)):d(d(this).j(e));if(h(e))return d(this.j(d(e)));if(0>this.l(c)&&0>e.l(c))return o(this.m()*e.m());for(var t=this.g.length+e.g.length,n=[],i=0;i<2*t;i++)n[i]=0;for(i=0;i<this.g.length;i++)for(var s=0;s<e.g.length;s++){var l=this.i(i)>>>16,f=65535&this.i(i),m=e.i(s)>>>16,g=65535&e.i(s);n[2*i+2*s]+=f*g,p(n,2*i+2*s),n[2*i+2*s+1]+=l*g,p(n,2*i+2*s+1),n[2*i+2*s+1]+=f*m,p(n,2*i+2*s+1),n[2*i+2*s+2]+=l*m,p(n,2*i+2*s+2)}for(i=0;i<t;i++)n[i]=n[2*i+1]<<16|n[2*i];for(i=t;i<2*t;i++)n[i]=0;return new r(n,0)},e.A=function(e){return g(this,e).h},e.and=function(e){for(var t=Math.max(this.g.length,e.g.length),n=[],i=0;i<t;i++)n[i]=this.i(i)&e.i(i);return new r(n,this.h&e.h)},e.or=function(e){for(var t=Math.max(this.g.length,e.g.length),n=[],i=0;i<t;i++)n[i]=this.i(i)|e.i(i);return new r(n,this.h|e.h)},e.xor=function(e){for(var t=Math.max(this.g.length,e.g.length),n=[],i=0;i<t;i++)n[i]=this.i(i)^e.i(i);return new r(n,this.h^e.h)},t.prototype.digest=t.prototype.v,t.prototype.reset=t.prototype.s,t.prototype.update=t.prototype.u,Su=Cu.Md5=t,r.prototype.add=r.prototype.add,r.prototype.multiply=r.prototype.j,r.prototype.modulo=r.prototype.A,r.prototype.compare=r.prototype.l,r.prototype.toNumber=r.prototype.m,r.prototype.toString=r.prototype.toString,r.prototype.getBits=r.prototype.i,r.fromNumber=o,r.fromString=function e(t,n){if(0==t.length)throw Error("number format error: empty string");if(2>(n=n||10)||36<n)throw Error("radix out of range: "+n);if("-"==t.charAt(0))return d(e(t.substring(1),n));if(0<=t.indexOf("-"))throw Error('number format error: interior "-" character');for(var r=o(Math.pow(n,8)),i=a,s=0;s<t.length;s+=8){var l=Math.min(8,t.length-s),c=parseInt(t.substring(s,s+l),n);8>l?(l=o(Math.pow(n,l)),i=i.j(l).add(o(c))):i=(i=i.j(r)).add(o(c))}return i},Eu=Cu.Integer=r}).apply(void 0!==Tu?Tu:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});var xu,Au,Iu,ku,Pu,Nu,Ru,Ou,Du="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},Fu={};(function(){var e,t="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e};var n=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof Du&&Du];for(var t=0;t<e.length;++t){var n=e[t];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")}(this);!function(e,r){if(r)e:{var i=n;e=e.split(".");for(var s=0;s<e.length-1;s++){var o=e[s];if(!(o in i))break e;i=i[o]}(r=r(s=i[e=e[e.length-1]]))!=s&&null!=r&&t(i,e,{configurable:!0,writable:!0,value:r})}}("Array.prototype.values",(function(e){return e||function(){return function(e,t){e instanceof String&&(e+="");var n=0,r=!1,i={next:function(){if(!r&&n<e.length){var i=n++;return{value:t(i,e[i]),done:!1}}return r=!0,{done:!0,value:void 0}}};return i[Symbol.iterator]=function(){return i},i}(this,(function(e,t){return t}))}}));var r=r||{},i=this||self;function s(e){var t=typeof e;return"array"==(t="object"!=t?t:e?Array.isArray(e)?"array":t:"null")||"object"==t&&"number"==typeof e.length}function o(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function a(e,t,n){return e.call.apply(e.bind,arguments)}function l(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}
1function c(e,t,n){return(c=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?a:l).apply(null,arguments)}function u(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}}function h(e,t){function n(){}n.prototype=t.prototype,e.aa=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.Qb=function(e,n,r){for(var i=Array(arguments.length-2),s=2;s<arguments.length;s++)i[s-2]=arguments[s];return t.prototype[n].apply(e,i)}}function d(e){const t=e.length;if(0<t){const n=Array(t);for(let r=0;r<t;r++)n[r]=e[r];return n}return[]}function f(e,t){for(let n=1;n<arguments.length;n++){const t=arguments[n];if(s(t)){const n=e.length||0,r=t.length||0;e.length=n+r;for(let i=0;i<r;i++)e[n+i]=t[i]}else e.push(t)}}function p(e){return/^[\s\xa0]*$/.test(e)}function m(){var e=i.navigator;return e&&(e=e.userAgent)?e:""}function g(e){return g[" "](e),e}g[" "]=function(){};var _=!(-1==m().indexOf("Gecko")||-1!=m().toLowerCase().indexOf("webkit")&&-1==m().indexOf("Edge")||-1!=m().indexOf("Trident")||-1!=m().indexOf("MSIE")||-1!=m().indexOf("Edge"));function v(e,t,n){for(const r in e)t.call(n,e[r],r,e)}function y(e){const t={};for(const n in e)t[n]=e[n];return t}const b="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function w(e,t){let n,r;for(let i=1;i<arguments.length;i++){for(n in r=arguments[i],r)e[n]=r[n];for(let t=0;t<b.length;t++)n=b[t],Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}function E(e){var t=1;e=e.split(":");const n=[];for(;0<t&&e.length;)n.push(e.shift()),t--;return e.length&&n.push(e.join(":")),n}function S(e){i.setTimeout((()=>{throw e}),0)}function T(){var e=I;let t=null;return e.g&&(t=e.g,e.g=e.g.next,e.g||(e.h=null),t.next=null),t}var C=new class na{constructor(e,t){this.i=e,this.j=t,this.h=0,this.g=null}get(){let e;return 0<this.h?(this.h--,e=this.g,this.g=e.next,e.next=null):e=this.i(),e}}((()=>new Ca),(e=>e.reset()));class Ca{constructor(){this.next=this.g=this.h=null}set(e,t){this.h=e,this.g=t,this.next=null}reset(){this.next=this.g=this.h=null}}let x,A=!1,I=new class Aa{constructor(){this.h=this.g=null}add(e,t){const n=C.get();n.set(e,t),this.h?this.h.next=n:this.g=n,this.h=n}},k=()=>{const e=i.Promise.resolve(void 0);x=()=>{e.then(P)}};var P=()=>{for(var e;e=T();){try{e.h.call(e.g)}catch(n){S(n)}var t=C;t.j(e),100>t.h&&(t.h++,e.next=t.g,t.g=e)}A=!1};function N(){this.s=this.s,this.C=this.C}function R(e,t){this.type=e,this.g=this.target=t,this.defaultPrevented=!1}N.prototype.s=!1,N.prototype.ma=function(){this.s||(this.s=!0,this.N())},N.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},R.prototype.h=function(){this.defaultPrevented=!0};var O=function(){if(!i.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});try{const e=()=>{};i.addEventListener("test",e,t),i.removeEventListener("test",e,t)}catch(n){}return e}();function D(e,t){if(R.call(this,e?e.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,e){var n=this.type=e.type,r=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.g=t,t=e.relatedTarget){if(_){e:{try{g(t.nodeName);var i=!0;break e}catch(s){}i=!1}i||(t=null)}}else"mouseover"==n?t=e.fromElement:"mouseout"==n&&(t=e.toElement);this.relatedTarget=t,r?(this.clientX=void 0!==r.clientX?r.clientX:r.pageX,this.clientY=void 0!==r.clientY?r.clientY:r.pageY,this.screenX=r.screenX||0,this.screenY=r.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType="string"==typeof e.pointerType?e.pointerType:F[e.pointerType]||"",this.state=e.state,this.i=e,e.defaultPrevented&&D.aa.h.call(this)}}h(D,R);var F={2:"touch",3:"pen",4:"mouse"};D.prototype.h=function(){D.aa.h.call(this);var e=this.i;e.preventDefault?e.preventDefault():e.returnValue=!1};var L="closure_listenable_"+(1e6*Math.random()|0),j=0;function M(e,t,n,r,i){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!r,this.ha=i,this.key=++j,this.da=this.fa=!1}function U(e){e.da=!0,e.listener=null,e.proxy=null,e.src=null,e.ha=null}function V(e){this.src=e,this.g={},this.h=0}function B(e,t){var n=t.type;if(n in e.g){var r,i=e.g[n],s=Array.prototype.indexOf.call(i,t,void 0);(r=0<=s)&&Array.prototype.splice.call(i,s,1),r&&(U(t),0==e.g[n].length&&(delete e.g[n],e.h--))}}function $(e,t,n,r){for(var i=0;i<e.length;++i){var s=e[i];if(!s.da&&s.listener==t&&s.capture==!!n&&s.ha==r)return i}return-1}V.prototype.add=function(e,t,n,r,i){var s=e.toString();(e=this.g[s])||(e=this.g[s]=[],this.h++);
vendor: 6,348 bytes, line 1
1var o=$(e,t,r,i);return-1<o?(t=e[o],n||(t.fa=!1)):((t=new M(t,this.src,s,!!r,i)).fa=n,e.push(t)),t};var z="closure_lm_"+(1e6*Math.random()|0),H={};function W(e,t,n,r,i){if(r&&r.once)return K(e,t,n,r,i);if(Array.isArray(t)){for(var s=0;s<t.length;s++)W(e,t[s],n,r,i);return null}return n=ee(n),e&&e[L]?e.K(t,n,o(r)?!!r.capture:!!r,i):q(e,t,n,!1,r,i)}function q(e,t,n,r,i,s){if(!t)throw Error("Invalid event type");var a=o(i)?!!i.capture:!!i,l=J(e);if(l||(e[z]=l=new V(e)),(n=l.add(t,n,r,a,s)).proxy)return n;if(r=function(){function e(n){return t.call(e.src,e.listener,n)}const t=Y;return e}(),n.proxy=r,r.src=e,r.listener=n,e.addEventListener)O||(i=a),void 0===i&&(i=!1),e.addEventListener(t.toString(),r,i);else if(e.attachEvent)e.attachEvent(X(t.toString()),r);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(r)}return n}function K(e,t,n,r,i){if(Array.isArray(t)){for(var s=0;s<t.length;s++)K(e,t[s],n,r,i);return null}return n=ee(n),e&&e[L]?e.L(t,n,o(r)?!!r.capture:!!r,i):q(e,t,n,!0,r,i)}function G(e,t,n,r,i){if(Array.isArray(t))for(var s=0;s<t.length;s++)G(e,t[s],n,r,i);else r=o(r)?!!r.capture:!!r,n=ee(n),e&&e[L]?(e=e.i,(t=String(t).toString())in e.g&&(-1<(n=$(s=e.g[t],n,r,i))&&(U(s[n]),Array.prototype.splice.call(s,n,1),0==s.length&&(delete e.g[t],e.h--)))):e&&(e=J(e))&&(t=e.g[t.toString()],e=-1,t&&(e=$(t,n,r,i)),(n=-1<e?t[e]:null)&&Q(n))}function Q(e){if("number"!=typeof e&&e&&!e.da){var t=e.src;if(t&&t[L])B(t.i,e);else{var n=e.type,r=e.proxy;t.removeEventListener?t.removeEventListener(n,r,e.capture):t.detachEvent?t.detachEvent(X(n),r):t.addListener&&t.removeListener&&t.removeListener(r),(n=J(t))?(B(n,e),0==n.h&&(n.src=null,t[z]=null)):U(e)}}}function X(e){return e in H?H[e]:H[e]="on"+e}function Y(e,t){if(e.da)e=!0;else{t=new D(t,this);var n=e.listener,r=e.ha||e.src;e.fa&&Q(e),e=n.call(r,t)}return e}function J(e){return(e=e[z])instanceof V?e:null}var Z="__closure_events_fn_"+(1e9*Math.random()>>>0);function ee(e){return"function"==typeof e?e:(e[Z]||(e[Z]=function(t){return e.handleEvent(t)}),e[Z])}function te(){N.call(this),this.i=new V(this),this.M=this,this.F=null}function ne(e,t){var n,r=e.F;if(r)for(n=[];r;r=r.F)n.push(r);if(e=e.M,r=t.type||t,"string"==typeof t)t=new R(t,e);else if(t instanceof R)t.target=t.target||e;else{var i=t;w(t=new R(r,e),i)}if(i=!0,n)for(var s=n.length-1;0<=s;s--){var o=t.g=n[s];i=re(o,r,!0,t)&&i}if(i=re(o=t.g=e,r,!0,t)&&i,i=re(o,r,!1,t)&&i,n)for(s=0;s<n.length;s++)i=re(o=t.g=n[s],r,!1,t)&&i}function re(e,t,n,r){if(!(t=e.i.g[String(t)]))return!0;t=t.concat();for(var i=!0,s=0;s<t.length;++s){var o=t[s];if(o&&!o.da&&o.capture==n){var a=o.listener,l=o.ha||o.src;o.fa&&B(e.i,o),i=!1!==a.call(l,r)&&i}}return i&&!r.defaultPrevented}function ie(e,t,n){if("function"==typeof e)n&&(e=c(e,n));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=c(e.handleEvent,e)}return 2147483647<Number(t)?-1:i.setTimeout(e,t||0)}function se(e){e.g=ie((()=>{e.g=null,e.i&&(e.i=!1,se(e))}),e.l);const t=e.h;e.h=null,e.m.apply(null,t)}h(te,N),te.prototype[L]=!0,te.prototype.removeEventListener=function(e,t,n,r){G(this,e,t,n,r)},te.prototype.N=function(){if(te.aa.N.call(this),this.i){var e,t=this.i;for(e in t.g){for(var n=t.g[e],r=0;r<n.length;r++)U(n[r]);delete t.g[e],t.h--}}this.F=null},te.prototype.K=function(e,t,n,r){return this.i.add(String(e),t,!1,n,r)},te.prototype.L=function(e,t,n,r){return this.i.add(String(e),t,!0,n,r)};class eb extends N{constructor(e,t){super(),this.m=e,this.l=t,this.h=null,this.i=!1,this.g=null}j(e){this.h=arguments,this.g?this.i=!0:se(this)}N(){super.N(),this.g&&(i.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function oe(e){N.call(this),this.h=e,this.g={}}h(oe,N);var ae=[];function le(e){v(e.g,(function(e,t){this.g.hasOwnProperty(t)&&Q(e)}),e),e.g={}}oe.prototype.N=function(){oe.aa.N.call(this),le(this)},oe.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var ce=i.JSON.stringify,ue=i.JSON.parse,he=class{stringify(e){return i.JSON.stringify(e,void 0)}parse(e){return i.JSON.parse(e,void 0)}};function de(){}function fe(e){return e.h||(e.h=e.i())}function pe(){}de.prototype.h=null;var me={OPEN:"a",kb:"b",Ja:"c",wb:"d"};function ge(){R.call(this,"d")}function _e(){R.call(this,"c")}h(ge,R),h(_e,R);var ve={},ye=null;function be(){return ye=ye||new te}function we(e){R.call(this,ve.La,e)}function Ee(e){const t=be();ne(t,new we(t))}function Se(e,t){R.call(this,ve.STAT_EVENT,e),this.stat=t}function Te(e){const t=be();ne(t,new Se(t,e))}function Ce(e,t){R.call(this,ve.Ma,e),this.size=t}function xe(e,t){if("function"!=typeof e)throw Error("Fn must not be null and must be a function");return i.setTimeout((function(){e()}),t)}function Ae(){this.g=!0}function Ie(e,t,n,r){e.info((function(){return"XMLHTTP TEXT ("+t+"): "+function(e,t){if(!e.g)return t;if(!t)return null;try{var n=JSON.parse(t);if(n)for(e=0;e<n.length;e++)if(Array.isArray(n[e])){var r=n[e];if(!(2>r.length)){var i=r[1];if(Array.isArray(i)&&!(1>i.length)){var s=i[0];if("noop"!=s&&"stop"!=s&&"close"!=s)for(var o=1;o<i.length;o++)i[o]=""}}}return ce(n)}catch(kb){return t}}(e,n)+(r?" "+r:"")}))}ve.La="serverreachability",h(we,R),ve.STAT_EVENT="statevent",h(Se,R),ve.Ma="timingevent",h(Ce,R),Ae.prototype.xa=function(){this.g=!1},Ae.prototype.info=function(){};var ke,Pe={NO_ERROR:0,gb:1,tb:2,sb:3,nb:4,rb:5,ub:6,Ia:7,TIMEOUT:8,xb:9},Ne={lb:"complete",Hb:"success",Ja:"error",Ia:"abort",zb:"ready",Ab:"readystatechange",TIMEOUT:"timeout",vb:"incrementaldata",yb:"progress",ob:"downloadprogress",Pb:"uploadprogress"};function Re(){}function Oe(e,t,n,r){this.j=e,this.i=t,this.l=n,this.R=r||1,this.U=new oe(this),this.I=45e3,this.H=null,this.o=!1,this.m=this.A=this.v=this.L=this.F=this.S=this.B=null,this.D=[],this.g=null,this.C=0,this.s=this.u=null,this.X=-1,this.J=!1,this.O=0,this.M=null,this.W=this.K=this.T=this.P=!1,this.h=new De}function De(){this.i=null,this.g="",this.h=!1}h(Re,de),Re.prototype.g=function(){return new XMLHttpRequest},Re.prototype.i=function(){return{}},ke=new Re;var Fe={},Le={};function je(e,t,n){e.L=1,e.v=ct(it(t)),e.m=n,e.P=!0,Me(e,null)}function Me(e,t){e.F=Date.now(),Be(e),e.A=it(e.v);var n=e.A,r=e.R;Array.isArray(r)||(r=[String(r)]),St(n.i,"t",r),e.C=0,n=e.j.J,e.h=new De,e.g=hn(e.j,n?t:null,!e.m),
10<e.O&&(e.M=new eb(c(e.Y,e,e.g),e.O)),t=e.U,n=e.g,r=e.ca;var i="readystatechange";Array.isArray(i)||(i&&(ae[0]=i.toString()),i=ae);for(var s=0;s<i.length;s++){var o=W(n,i[s],r||t.handleEvent,!1,t.h||t);if(!o)break;t.g[o.key]=o}t=e.H?y(e.H):{},e.m?(e.u||(e.u="POST"),t["Content-Type"]="application/x-www-form-urlencoded",e.g.ea(e.A,e.u,e.m,t)):(e.u="GET",e.g.ea(e.A,e.u,null,t)),Ee(),function(e,t,n,r,i,s){e.info((function(){if(e.g)if(s)for(var o="",a=s.split("&"),l=0;l<a.length;l++){var c=a[l].split("=");if(1<c.length){var u=c[0];c=c[1];var h=u.split("_");o=2<=h.length&&"type"==h[1]?o+(u+"=")+c+"&":o+(u+"=redacted&")}}else o=null;else o=s;return"XMLHTTP REQ ("+r+") [attempt "+i+"]: "+t+"\n"+n+"\n"+o}))}(e.i,e.u,e.A,e.l,e.R,e.m)}function Ue(e){return!!e.g&&("GET"==e.u&&2!=e.L&&e.j.Ca)}function Ve(e,t){var n=e.C,r=t.indexOf("\n",n);return-1==r?Le:(n=Number(t.substring(n,r)),isNaN(n)?Fe:(r+=1)+n>t.length?Le:(t=t.slice(r,r+n),e.C=r+n,t))}function Be(e){e.S=Date.now()+e.I,$e(e,e.I)}function $e(e,t){if(null!=e.B)throw Error("WatchDog timer not null");e.B=xe(c(e.ba,e),t)}function ze(e){e.B&&(i.clearTimeout(e.B),e.B=null)}function He(e){0==e.j.G||e.J||on(e.j,e)}function We(e){ze(e);var t=e.M;t&&"function"==typeof t.ma&&t.ma(),e.M=null,le(e.U),e.g&&(t=e.g,e.g=null,t.abort(),t.ma())}function qe(e,t){try{var n=e.j;if(0!=n.G&&(n.g==e||Ye(n.h,e)))if(!e.K&&Ye(n.h,e)&&3==n.G){try{var r=n.Da.g.parse(t)}catch(u){r=null}if(Array.isArray(r)&&3==r.length){var i=r;if(0==i[0]){e:if(!n.u){if(n.g){if(!(n.g.F+3e3<e.F))break e;sn(n),Gt(n)}tn(n),Te(18)}}else n.za=i[1],0<n.za-n.T&&37500>i[2]&&n.F&&0==n.v&&!n.C&&(n.C=xe(c(n.Za,n),6e3));if(1>=Xe(n.h)&&n.ca){try{n.ca()}catch(u){}n.ca=void 0}}else ln(n,11)}else if((e.K||n.g==e)&&sn(n),!p(t))for(i=n.Da.g.parse(t),t=0;t<i.length;t++){let c=i[t];if(n.T=c[0],c=c[1],2==n.G)if("c"==c[0]){n.K=c[1],n.ia=c[2];const t=c[3];null!=t&&(n.la=t,n.j.info("VER="+n.la));const i=c[4];null!=i&&(n.Aa=i,n.j.info("SVER="+n.Aa));const u=c[5];null!=u&&"number"==typeof u&&0<u&&(r=1.5*u,n.L=r,n.j.info("backChannelRequestTimeoutMs_="+r)),r=n;const h=e.g;if(h){const e=h.g?h.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(e){var s=r.h;s.g||-1==e.indexOf("spdy")&&-1==e.indexOf("quic")&&-1==e.indexOf("h2")||(s.j=s.l,s.g=new Set,s.h&&(Je(s,s.h),s.h=null))}if(r.D){const e=h.g?h.g.getResponseHeader("X-HTTP-Session-Id"):null;e&&(r.ya=e,lt(r.I,r.D,e))}}n.G=3,n.l&&n.l.ua(),n.ba&&(n.R=Date.now()-e.F,n.j.info("Handshake RTT: "+n.R+"ms"));var o=e;if((r=n).qa=un(r,r.J?r.ia:null,r.W),o.K){Ze(r.h,o);var a=o,l=r.L;l&&(a.I=l),a.B&&(ze(a),Be(a)),r.g=o}else en(r);0<n.i.length&&Xt(n)}else"stop"!=c[0]&&"close"!=c[0]||ln(n,7);else 3==n.G&&("stop"==c[0]||"close"==c[0]?"stop"==c[0]?ln(n,7):Kt(n):"noop"!=c[0]&&n.l&&n.l.ta(c),n.v=0)}Ee()}catch(u){}}Oe.prototype.ca=function(e){e=e.target;const t=this.M;t&&3==zt(e)?t.j():this.Y(e)},Oe.prototype.Y=function(e){try{if(e==this.g)e:{const d=zt(this.g);var t=this.g.Ba();this.g.Z();if(!(3>d)&&(3!=d||this.g&&(this.h.h||this.g.oa()||Ht(this.g)))){this.J||4!=d||7==t||Ee(),ze(this);var n=this.g.Z();this.X=n;t:if(Ue(this)){var r=Ht(this.g);e="";var s=r.length,o=4==zt(this.g);if(!this.h.i){if("undefined"==typeof TextDecoder){We(this),He(this);var a="";break t}this.h.i=new i.TextDecoder}for(t=0;t<s;t++)this.h.h=!0,e+=this.h.i.decode(r[t],{stream:!(o&&t==s-1)});r.length=0,this.h.g+=e,this.C=0,a=this.h.g}else a=this.g.oa();if(this.o=200==n,function(e,t,n,r,i,s,o){e.info((function(){return"XMLHTTP RESP ("+r+") [ attempt "+i+"]: "+t+"\n"+n+"\n"+s+" "+o}))}(this.i,this.u,this.A,this.l,this.R,d,n),this.o){if(this.T&&!this.K){t:{if(this.g){var l,c=this.g;if((l=c.g?c.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!p(l)){var u=l;break t}}u=null}if(!(n=u)){this.o=!1,this.s=3,Te(12),We(this),He(this);break e}Ie(this.i,this.l,n,"Initial handshake response via X-HTTP-Initial-Response"),this.K=!0,qe(this,n)}if(this.P){let e;for(n=!0;!this.J&&this.C<a.length;){if(e=Ve(this,a),e==Le){4==d&&(this.s=4,Te(14),n=!1),Ie(this.i,this.l,null,"[Incomplete Response]");break}if(e==Fe){this.s=4,Te(15),Ie(this.i,this.l,a,"[Invalid Chunk]"),n=!1;break}Ie(this.i,this.l,e,null),qe(this,e)}if(Ue(this)&&0!=this.C&&(this.h.g=this.h.g.slice(this.C),this.C=0),4!=d||0!=a.length||this.h.h||(this.s=1,Te(16),n=!1),this.o=this.o&&n,n){if(0<a.length&&!this.W){this.W=!0;var h=this.j;h.g==this&&h.ba&&!h.M&&(h.j.info("Great, no buffering proxy detected. Bytes received: "+a.length),nn(h),h.M=!0,Te(11))}}else Ie(this.i,this.l,a,"[Invalid Chunked Response]"),We(this),He(this)}else Ie(this.i,this.l,a,null),qe(this,a);4==d&&We(this),this.o&&!this.J&&(4==d?on(this.j,this):(this.o=!1,Be(this)))}else(function(e){const t={};e=(e.g&&2<=zt(e)&&e.g.getAllResponseHeaders()||"").split("\r\n");for(let r=0;r<e.length;r++){if(p(e[r]))continue;var n=E(e[r]);const i=n[0];if("string"!=typeof(n=n[1]))continue;n=n.trim();const s=t[i]||[];t[i]=s,s.push(n)}!function(e,t){for(const n in e)t.call(void 0,e[n],n,e)}(t,(function(e){return e.join(", ")}))})(this.g),400==n&&0<a.indexOf("Unknown SID")?(this.s=3,Te(12)):(this.s=0,Te(13)),We(this),He(this)}}}catch(Oy){}},Oe.prototype.cancel=function(){this.J=!0,We(this)},Oe.prototype.ba=function(){this.B=null;const e=Date.now();0<=e-this.S?(function(e,t){e.info((function(){return"TIMEOUT: "+t}))}(this.i,this.A),2!=this.L&&(Ee(),Te(17)),We(this),this.s=2,He(this)):$e(this,this.S-e)};var Ke=class{constructor(e,t){this.g=e,this.map=t}};function Ge(e){this.l=e||10,i.PerformanceNavigationTiming?e=0<(e=i.performance.getEntriesByType("navigation")).length&&("hq"==e[0].nextHopProtocol||"h2"==e[0].nextHopProtocol):e=!!(i.chrome&&i.chrome.loadTimes&&i.chrome.loadTimes()&&i.chrome.loadTimes().wasFetchedViaSpdy),this.j=e?this.l:1,this.g=null,1<this.j&&(this.g=new Set),this.h=null,this.i=[]}function Qe(e){return!!e.h||!!e.g&&e.g.size>=e.j}function Xe(e){return e.h?1:e.g?e.g.size:0}function Ye(e,t){return e.h?e.h==t:!!e.g&&e.g.has(t)}function Je(e,t){e.g?e.g.add(t):e.h=t}function Ze(e,t){e.h&&e.h==t?e.h=null:e.g&&e.g.has(t)&&e.g.delete(t)}function et(e){if(null!=e.h)return e.i.concat(e.h.D);if(null!=e.g&&0!==e.g.size){let t=e.i;for(const n of e.g.values())t=t.concat(n.D);return t}return d(e.i)}function tt(e,t){if(e.forEach&&"function"==typeof e.forEach)e.forEach(t,void 0);else if(s(e)||"string"==typeof e)Array.prototype.forEach.call(e,t,void 0);else for(var n=function(e){if(e.na&&"function"==typeof e.na)return e.na();if(!e.V||"function"!=typeof e.V){if("undefined"!=typeof Map&&e instanceof Map)return Array.from(e.keys());if(!("undefined"!=typeof Set&&e instanceof Set)){if(s(e)||"string"==typeof e){var t=[];e=e.length;for(var n=0;n<e;n++)t.push(n);return t}t=[],n=0;for(const r in e)t[n++]=r;return t}}}(e),r=function(e){if(e.V&&"function"==typeof e.V)return e.V();if("undefined"!=typeof Map&&e instanceof Map||"undefined"!=typeof Set&&e instanceof Set)return Array.from(e.values());if("string"==typeof e)return e.split("");
1if(s(e)){for(var t=[],n=e.length,r=0;r<n;r++)t.push(e[r]);return t}for(r in t=[],n=0,e)t[n++]=e[r];return t}(e),i=r.length,o=0;o<i;o++)t.call(void 0,r[o],n&&n[o],e)}Ge.prototype.cancel=function(){if(this.i=et(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){for(const e of this.g.values())e.cancel();this.g.clear()}};var nt=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function rt(e){if(this.g=this.o=this.j="",this.s=null,this.m=this.l="",this.h=!1,e instanceof rt){this.h=e.h,st(this,e.j),this.o=e.o,this.g=e.g,ot(this,e.s),this.l=e.l;var t=e.i,n=new yt;n.i=t.i,t.g&&(n.g=new Map(t.g),n.h=t.h),at(this,n),this.m=e.m}else e&&(t=String(e).match(nt))?(this.h=!1,st(this,t[1]||"",!0),this.o=ut(t[2]||""),this.g=ut(t[3]||"",!0),ot(this,t[4]),this.l=ut(t[5]||"",!0),at(this,t[6]||"",!0),this.m=ut(t[7]||"")):(this.h=!1,this.i=new yt(null,this.h))}function it(e){return new rt(e)}function st(e,t,n){e.j=n?ut(t,!0):t,e.j&&(e.j=e.j.replace(/:$/,""))}function ot(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.s=t}else e.s=null}function at(e,t,n){t instanceof yt?(e.i=t,function(e,t){t&&!e.j&&(bt(e),e.i=null,e.g.forEach((function(e,t){var n=t.toLowerCase();t!=n&&(wt(this,t),St(this,n,e))}),e)),e.j=t}(e.i,e.h)):(n||(t=ht(t,_t)),e.i=new yt(t,e.h))}function lt(e,t,n){e.i.set(t,n)}function ct(e){return lt(e,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),e}function ut(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function ht(e,t,n){return"string"==typeof e?(e=encodeURI(e).replace(t,dt),n&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function dt(e){return"%"+((e=e.charCodeAt(0))>>4&15).toString(16)+(15&e).toString(16)}rt.prototype.toString=function(){var e=[],t=this.j;t&&e.push(ht(t,pt,!0),":");var n=this.g;return(n||"file"==t)&&(e.push("//"),(t=this.o)&&e.push(ht(t,pt,!0),"@"),e.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.s)&&e.push(":",String(n))),(n=this.l)&&(this.g&&"/"!=n.charAt(0)&&e.push("/"),e.push(ht(n,"/"==n.charAt(0)?gt:mt,!0))),(n=this.i.toString())&&e.push("?",n),(n=this.m)&&e.push("#",ht(n,vt)),e.join("")};var ft,pt=/[#\/\?@]/g,mt=/[#\?:]/g,gt=/[#\?]/g,_t=/[#\?@]/g,vt=/#/g;function yt(e,t){this.h=this.g=null,this.i=e||null,this.j=!!t}function bt(e){e.g||(e.g=new Map,e.h=0,e.i&&function(e,t){if(e){e=e.split("&");for(var n=0;n<e.length;n++){var r=e[n].indexOf("="),i=null;if(0<=r){var s=e[n].substring(0,r);i=e[n].substring(r+1)}else s=e[n];t(s,i?decodeURIComponent(i.replace(/\+/g," ")):"")}}}(e.i,(function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)})))}function wt(e,t){bt(e),t=Tt(e,t),e.g.has(t)&&(e.i=null,e.h-=e.g.get(t).length,e.g.delete(t))}function Et(e,t){return bt(e),t=Tt(e,t),e.g.has(t)}function St(e,t,n){wt(e,t),0<n.length&&(e.i=null,e.g.set(Tt(e,t),d(n)),e.h+=n.length)}function Tt(e,t){return t=String(t),e.j&&(t=t.toLowerCase()),t}function Ct(e,t,n,r,i){try{i&&(i.onload=null,i.onerror=null,i.onabort=null,i.ontimeout=null),r(n)}catch(s){}}function xt(){this.g=new he}function At(e,t,n){const r=n||"";try{tt(e,(function(e,n){let i=e;o(e)&&(i=ce(e)),t.push(r+n+"="+encodeURIComponent(i))}))}catch(Pb){throw t.push(r+"type="+encodeURIComponent("_badmap")),Pb}}function It(e){this.l=e.Ub||null,this.j=e.eb||!1}function kt(e,t){te.call(this),this.D=e,this.o=t,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.u=new Headers,this.h=null,this.B="GET",this.A="",this.g=!1,this.v=this.j=this.l=null}function Pt(e){e.j.read().then(e.Pa.bind(e)).catch(e.ga.bind(e))}function Nt(e){e.readyState=4,e.l=null,e.j=null,e.v=null,Rt(e)}function Rt(e){e.onreadystatechange&&e.onreadystatechange.call(e)}function Ot(e){let t="";return v(e,(function(e,n){t+=n,t+=":",t+=e,t+="\r\n"})),t}function Dt(e,t,n){e:{for(r in n){var r=!1;break e}r=!0}r||(n=Ot(n),"string"==typeof e?null!=n&&encodeURIComponent(String(n)):lt(e,t,n))}function Ft(e){te.call(this),this.headers=new Map,this.o=e||null,this.h=!1,this.v=this.g=null,this.D="",this.m=0,this.l="",this.j=this.B=this.u=this.A=!1,this.I=null,this.H="",this.J=!1}(e=yt.prototype).add=function(e,t){bt(this),this.i=null,e=Tt(this,e);var n=this.g.get(e);return n||this.g.set(e,n=[]),n.push(t),this.h+=1,this},e.forEach=function(e,t){bt(this),this.g.forEach((function(n,r){n.forEac
1h((function(n){e.call(t,n,r,this)}),this)}),this)},e.na=function(){bt(this);const e=Array.from(this.g.values()),t=Array.from(this.g.keys()),n=[];for(let r=0;r<t.length;r++){const i=e[r];for(let e=0;e<i.length;e++)n.push(t[r])}return n},e.V=function(e){bt(this);let t=[];if("string"==typeof e)Et(this,e)&&(t=t.concat(this.g.get(Tt(this,e))));else{e=Array.from(this.g.values());for(let n=0;n<e.length;n++)t=t.concat(e[n])}return t},e.set=function(e,t){return bt(this),this.i=null,Et(this,e=Tt(this,e))&&(this.h-=this.g.get(e).length),this.g.set(e,[t]),this.h+=1,this},e.get=function(e,t){return e&&0<(e=this.V(e)).length?String(e[0]):t},e.toString=function(){if(this.i)return this.i;if(!this.g)return"";const e=[],t=Array.from(this.g.keys());for(var n=0;n<t.length;n++){var r=t[n];const s=encodeURIComponent(String(r)),o=this.V(r);for(r=0;r<o.length;r++){var i=s;""!==o[r]&&(i+="="+encodeURIComponent(String(o[r]))),e.push(i)}}return this.i=e.join("&")},h(It,de),It.prototype.g=function(){return new kt(this.l,this.j)},It.prototype.i=(ft={},function(){return ft}),h(kt,te),(e=kt.prototype).open=function(e,t){if(0!=this.readyState)throw this.abort(),Error("Error reopening a connection");this.B=e,this.A=t,this.readyState=1,Rt(this)},e.send=function(e){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.g=!0;const t={headers:this.u,method:this.B,credentials:this.m,cache:void 0};e&&(t.body=e),(this.D||i).fetch(new Request(this.A,t)).then(this.Sa.bind(this),this.ga.bind(this))},e.abort=function(){this.response=this.responseText="",this.u=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted.").catch((()=>{})),1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,Nt(this)),this.readyState=0},e.Sa=function(e){if(this.g&&(this.l=e,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=e.headers,this.readyState=2,Rt(this)),this.g&&(this.readyState=3,Rt(this),this.g)))if("arraybuffer"===this.responseType)e.arrayBuffer().then(this.Qa.bind(this),this.ga.bind(this));else if(void 0!==i.ReadableStream&&"body"in e){if(this.j=e.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.v=new TextDecoder;Pt(this)}else e.text().then(this.Ra.bind(this),this.ga.bind(this))},e.Pa=function(e){if(this.g){if(this.o&&e.value)this.response.push(e.value);else if(!this.o){var t=e.value?e.value:new Uint8Array(0);(t=this.v.decode(t,{stream:!e.done}))&&(this.response=this.responseText+=t)}e.done?Nt(this):Rt(this),3==this.readyState&&Pt(this)}},e.Ra=function(e){this.g&&(this.response=this.responseText=e,Nt(this))},e.Qa=function(e){this.g&&(this.response=e,Nt(this))},e.ga=function(){this.g&&Nt(this)},e.setRequestHeader=function(e,t){this.u.append(e,t)},e.getResponseHeader=function(e){return this.h&&this.h.get(e.toLowerCase())||""},e.getAllResponseHeaders=function(){if(!this.h)return"";const e=[],t=this.h.entries();for(var n=t.next();!n.done;)n=n.value,e.push(n[0]+": "+n[1]),n=t.next();return e.join("\r\n")},Object.defineProperty(kt.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(e){this.m=e?"include":"same-origin"}}),h(Ft,te);var Lt=/^https?$/i,jt=["POST","PUT"];function Mt(e,t){e.h=!1,e.g&&(e.j=!0,e.g.abort(),e.j=!1),e.l=t,e.m=5,Ut(e),Bt(e)}function Ut(e){e.A||(e.A=!0,ne(e,"complete"),ne(e,"error"))}function Vt(e){if(e.h&&void 0!==r&&(!e.v[1]||4!=zt(e)||2!=e.Z()))if(e.u&&4==zt(e))ie(e.Ea,0,e);else if(ne(e,"readystatechange"),4==zt(e)){e.h=!1;try{const r=e.Z();e:switch(r){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var t=!0;break e;default:t=!1}var n;if(!(n=t)){var s;if(s=0===r){var o=String(e.D).match(nt)[1]||null;!o&&i.self&&i.self.location&&(o=i.self.location.protocol.slice(0,-1)),s=!Lt.test(o?o.toLowerCase():"")}n=s}if(n)ne(e,"complete"),ne(e,"success");else{e.m=6;try{var a=2<zt(e)?e.g.statusText:""}catch(kb){a=""}e.l=a+" ["+e.Z()+"]",Ut(e)}}finally{Bt(e)}}}function Bt(e,t){if(e.g){$t(e);const n=e.g,r=e.v[0]?()=>{}:null;e.g=null,e.v=null,t||ne(e,"ready");try{n.onreadystatechange=r}catch(Pb){}}}function $t(e){e.I&&(i.clearTimeout(e.I),e.I=null)}function zt(e){return e.g?e.g.readyState:0}function Ht(e){try{if(!e.g)return null;if("response"in e.g)return e.g.response;switch(e.H){case"":case"text":return e.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in e.g)return e.g.mozResponseArrayBuffer}return null}catch(ju){return null}}
vendor: 8,174 bytes, line 1
1function Wt(e,t,n){return n&&n.internalChannelParams&&n.internalChannelParams[e]||t}function qt(e){this.Aa=0,this.i=[],this.j=new Ae,this.ia=this.qa=this.I=this.W=this.g=this.ya=this.D=this.H=this.m=this.S=this.o=null,this.Ya=this.U=0,this.Va=Wt("failFast",!1,e),this.F=this.C=this.u=this.s=this.l=null,this.X=!0,this.za=this.T=-1,this.Y=this.v=this.B=0,this.Ta=Wt("baseRetryDelayMs",5e3,e),this.cb=Wt("retryDelaySeedMs",1e4,e),this.Wa=Wt("forwardChannelMaxRetries",2,e),this.wa=Wt("forwardChannelRequestTimeoutMs",2e4,e),this.pa=e&&e.xmlHttpFactory||void 0,this.Xa=e&&e.Tb||void 0,this.Ca=e&&e.useFetchStreams||!1,this.L=void 0,this.J=e&&e.supportsCrossDomainXhr||!1,this.K="",this.h=new Ge(e&&e.concurrentRequestLimit),this.Da=new xt,this.P=e&&e.fastHandshake||!1,this.O=e&&e.encodeInitMessageHeaders||!1,this.P&&this.O&&(this.O=!1),this.Ua=e&&e.Rb||!1,e&&e.xa&&this.j.xa(),e&&e.forceLongPolling&&(this.X=!1),this.ba=!this.P&&this.X&&e&&e.detectBufferingProxy||!1,this.ja=void 0,e&&e.longPollingTimeout&&0<e.longPollingTimeout&&(this.ja=e.longPollingTimeout),this.ca=void 0,this.R=0,this.M=!1,this.ka=this.A=null}function Kt(e){if(Qt(e),3==e.G){var t=e.U++,n=it(e.I);if(lt(n,"SID",e.K),lt(n,"RID",t),lt(n,"TYPE","terminate"),Jt(e,n),(t=new Oe(e,e.j,t)).L=2,t.v=ct(it(n)),n=!1,i.navigator&&i.navigator.sendBeacon)try{n=i.navigator.sendBeacon(t.v.toString(),"")}catch(fw){}!n&&i.Image&&((new Image).src=t.v,n=!0),n||(t.g=hn(t.j,null),t.g.ea(t.v)),t.F=Date.now(),Be(t)}cn(e)}function Gt(e){e.g&&(nn(e),e.g.cancel(),e.g=null)}function Qt(e){Gt(e),e.u&&(i.clearTimeout(e.u),e.u=null),sn(e),e.h.cancel(),e.s&&("number"==typeof e.s&&i.clearTimeout(e.s),e.s=null)}function Xt(e){if(!Qe(e.h)&&!e.s){e.s=!0;var t=e.Ga;x||k(),A||(x(),A=!0),I.add(t,e),e.B=0}}function Yt(e,t){var n;n=t?t.l:e.U++;const r=it(e.I);lt(r,"SID",e.K),lt(r,"RID",n),lt(r,"AID",e.T),Jt(e,r),e.m&&e.o&&Dt(r,e.m,e.o),n=new Oe(e,e.j,n,e.B+1),null===e.m&&(n.H=e.o),t&&(e.i=t.D.concat(e.i)),t=Zt(e,n,1e3),n.I=Math.round(.5*e.wa)+Math.round(.5*e.wa*Math.random()),Je(e.h,n),je(n,r,t)}function Jt(e,t){e.H&&v(e.H,(function(e,n){lt(t,n,e)})),e.l&&tt({},(function(e,n){lt(t,n,e)}))}function Zt(e,t,n){n=Math.min(e.i.length,n);var r=e.l?c(e.l.Na,e.l,e):null;e:{var i=e.i;let t=-1;for(;;){const e=["count="+n];-1==t?0<n?(t=i[0].g,e.push("ofs="+t)):t=0:e.push("ofs="+t);let s=!0;for(let o=0;o<n;o++){let n=i[o].g;const a=i[o].map;if(n-=t,0>n)t=Math.max(0,i[o].g-100),s=!1;else try{At(a,e,"req"+n+"_")}catch(Oy){r&&r(a)}}if(s){r=e.join("&");break e}}}return e=e.i.splice(0,n),t.D=e,r}function en(e){if(!e.g&&!e.u){e.Y=1;var t=e.Fa;x||k(),A||(x(),A=!0),I.add(t,e),e.v=0}}function tn(e){return!(e.g||e.u||3<=e.v)&&(e.Y++,e.u=xe(c(e.Fa,e),an(e,e.v)),e.v++,!0)}function nn(e){null!=e.A&&(i.clearTimeout(e.A),e.A=null)}function rn(e){e.g=new Oe(e,e.j,"rpc",e.Y),null===e.m&&(e.g.H=e.o),e.g.O=0;var t=it(e.qa);lt(t,"RID","rpc"),lt(t,"SID",e.K),lt(t,"AID",e.T),lt(t,"CI",e.F?"0":"1"),!e.F&&e.ja&<(t,"TO",e.ja),lt(t,"TYPE","xmlhttp"),Jt(e,t),e.m&&e.o&&Dt(t,e.m,e.o),e.L&&(e.g.I=e.L);var n=e.g;e=e.ia,n.L=1,n.v=ct(it(t)),n.m=null,n.P=!0,Me(n,e)}function sn(e){null!=e.C&&(i.clearTimeout(e.C),e.C=null)}function on(e,t){var n=null;if(e.g==t){sn(e),nn(e),e.g=null;var r=2}else{if(!Ye(e.h,t))return;n=t.D,Ze(e.h,t),r=1}if(0!=e.G)if(t.o)if(1==r){n=t.m?t.m.length:0,t=Date.now()-t.F;var i=e.B;ne(r=be(),new Ce(r,n)),Xt(e)}else en(e);else if(3==(i=t.s)||0==i&&0<t.X||!(1==r&&function(e,t){return!(Xe(e.h)>=e.h.j-(e.s?1:0)||(e.s?(e.i=t.D.concat(e.i),0):1==e.G||2==e.G||e.B>=(e.Va?0:e.Wa)||(e.s=xe(c(e.Ga,e,t),an(e,e.B)),e.B++,0)))}(e,t)||2==r&&tn(e)))switch(n&&0<n.length&&(t=e.h,t.i=t.i.concat(n)),i){case 1:ln(e,5);break;case 4:ln(e,10);break;case 3:ln(e,6);break;default:ln(e,2)}}function an(e,t){let n=e.Ta+Math.floor(Math.random()*e.cb);return e.isActive()||(n*=2),n*t}function ln(e,t){if(e.j.info("Error code "+t),2==t){var n=c(e.fb,e),r=e.Xa;const t=!r;r=new rt(r||"//www.google.com/images/cleardot.gif"),i.location&&"http"==i.location.protocol||st(r,"https"),ct(r),t?function(e,t){const n=new Ae;if(i.Image){const r=new Image;r.onload=u(Ct,n,"TestLoadImage: loaded",!0,t,r),r.onerror=u(Ct,n,"TestLoadImage: error",!1,t,r),r.onabort=u(Ct,n,"TestLoadImage: abort",!1,t,r),r.ontimeout=u(Ct,n,"TestLoadImage: timeout",!1,t,r),i.setTimeout((function(){r.ontimeout&&r.ontimeout()}),1e4),r.src=e}else t(!1)}(r.toString(),n):function(e,t){new Ae;const n=new AbortController,r=setTimeout((()=>{n.abort(),Ct(0,0,!1,t)}),1e4);fetch(e,{signal:n.signal}).then((e=>{clearTimeout(r),e.ok?Ct(0,0,!0,t):Ct(0,0,!1,t)})).catch((()=>{clearTimeout(r),Ct(0,0,!1,t)}))}(r.toString(),n)}else Te(2);e.G=0,e.l&&e.l.sa(t),cn(e),Qt(e)}function cn(e){if(e.G=0,e.ka=[],e.l){const t=et(e.h);0==t.length&&0==e.i.length||(f(e.ka,t),f(e.ka,e.i),e.h.i.length=0,d(e.i),e.i.length=0),e.l.ra()}}function un(e,t,n){var r=n instanceof rt?it(n):new rt(n);if(""!=r.g)t&&(r.g=t+"."+r.g),ot(r,r.s);else{var s=i.location;r=s.protocol,t=t?t+"."+s.hostname:s.hostname,s=+s.port;var o=new rt(null);r&&st(o,r),t&&(o.g=t),s&&ot(o,s),n&&(o.l=n),r=o}return n=e.D,t=e.ya,n&&t&<(r,n,t),lt(r,"VER",e.la),Jt(e,r),r}function hn(e,t,n){if(t&&!e.J)throw Error("Can't create secondary domain capable XhrIo object.");return(t=e.Ca&&!e.pa?new Ft(new It({eb:n})):new Ft(e.pa)).Ha(e.J),t}function dn(){}function fn(){}function pn(e,t){te.call(this),this.g=new qt(t),this.l=e,this.h=t&&t.messageUrlParams||null,e=t&&t.messageHeaders||null,t&&t.clientProtocolHeaderRequired&&(e?e["X-Client-Protocol"]="webchannel":e={"X-Client-Protocol":"webchannel"}),this.g.o=e,e=t&&t.initMessageHeaders||null,t&&t.messageContentType&&(e?e["X-WebChannel-Content-Type"]=t.messageContentType:e={"X-WebChannel-Content-Type":t.messageContentType}),t&&t.va&&(e?e["X-WebChannel-Client-Profile"]=t.va:e={"X-WebChannel-Client-Profile":t.va}),this.g.S=e,(e=t&&t.Sb)&&!p(e)&&(this.g.m=e),this.v=t&&t.supportsCrossDomainXhr||!1,this.u=t&&t.sendRawJson||!1,(t=t&&t.httpSessionIdParam)&&!p(t)&&(this.g.D=t,null!==(e=this.h)&&t in e&&(t in(e=this.h)&&delete e[t])),this.j=new _n(this)}function mn(e){ge.call(this),e.__headers__&&(this.headers=e.__headers__,this.statusCode=e.__status__,delete e.__headers__,delete e.__status__);var t=e.__sm__;if(t){e:{for(const n in t){e=n;break e}e=void 0}(this.i=e)&&(e=this.i,t=null!==t&&e in t?t[e]:void 0),this.data=t}else this.data=e}function gn(){_e.call(this),this.status=1}function _n(e){this.g=e}(e=Ft.prototype).Ha=function(e){this.J=e},e.ea=function(e,t,n,r){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+e);t=t?t.toUpperCase():"GET",this.D=e,this.l="",this.m=0,this.A=!1,this.h=!0,this.g=this.o?this.o.g():ke.g(),this.v=this.o?fe(this.o):fe(ke),this.g.onreadystatechange=c(this.Ea,this);try{this.B=!0,this.g.open(t,String(e),!0),this.B=!1}catch(o){return void Mt(this,o)}if(e=n||"",n=new Map(this.headers),r)if(Object.getPrototypeOf(r)===Object.prototype)for(var s in r)n.set(s,r[s]);else{if("function"!=typeof r.keys||"function"!=typeof r.get)throw Error("Unknown input type for opt_headers: "+String(r));for(const e of r.keys())n.set(e,r.get(e))}r=Array.from(n.keys()).find((e=>"content-type"==e.toLowerCase())),s=i.FormData&&e instanceof i.FormData,!(0<=Array.prototype.indexOf.call(jt,t,void 0))||r||s||n.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[i,a]of n)this.g.setRequestHeader(i,a);this.H&&(this.g.responseType=this.H),"withCredentials"in this.g&&this.g.withCredentials!==this.J&&(this.g.withCredentials=this.J);try{$t(this),this.u=!0,this.g.send(e),this.u=!1}catch(o){Mt(this,o)}},e.abort=function(e){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.m=e||7,ne(this,"complete"),ne(this,"abort"),Bt(this))},e.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),Bt(this,!0)),Ft.aa.N.call(this)},e.Ea=function(){this.s||(this.B||this.u||this.j?Vt(this):this.bb())},e.bb=function(){Vt(this)},e.isActive=function(){return!!this.g},e.Z=function(){try{return 2<zt(this)?this.g.status:-1}catch(ft){return-1}},e.oa=function(){try{return this.g?this.g.responseText:""}catch(ft){return""}},e.Oa=function(e){if(this.g){var t=this.g.responseText;
1return e&&0==t.indexOf(e)&&(t=t.substring(e.length)),ue(t)}},e.Ba=function(){return this.m},e.Ka=function(){return"string"==typeof this.l?this.l:String(this.l)},(e=qt.prototype).la=8,e.G=1,e.connect=function(e,t,n,r){Te(0),this.W=e,this.H=t||{},n&&void 0!==r&&(this.H.OSID=n,this.H.OAID=r),this.F=this.X,this.I=un(this,null,this.W),Xt(this)},e.Ga=function(e){if(this.s)if(this.s=null,1==this.G){if(!e){this.U=Math.floor(1e5*Math.random()),e=this.U++;const i=new Oe(this,this.j,e);let s=this.o;if(this.S&&(s?(s=y(s),w(s,this.S)):s=this.S),null!==this.m||this.O||(i.H=s,s=null),this.P)e:{for(var t=0,n=0;n<this.i.length;n++){var r=this.i[n];if(void 0===(r="__data__"in r.map&&"string"==typeof(r=r.map.__data__)?r.length:void 0))break;if(4096<(t+=r)){t=n;break e}if(4096===t||n===this.i.length-1){t=n+1;break e}}t=1e3}else t=1e3;t=Zt(this,i,t),lt(n=it(this.I),"RID",e),lt(n,"CVER",22),this.D&<(n,"X-HTTP-Session-Id",this.D),Jt(this,n),s&&(this.O?t="headers="+encodeURIComponent(String(Ot(s)))+"&"+t:this.m&&Dt(n,this.m,s)),Je(this.h,i),this.Ua&<(n,"TYPE","init"),this.P?(lt(n,"$req",t),lt(n,"SID","null"),i.T=!0,je(i,n,null)):je(i,n,t),this.G=2}}else 3==this.G&&(e?Yt(this,e):0==this.i.length||Qe(this.h)||Yt(this))},e.Fa=function(){if(this.u=null,rn(this),this.ba&&!(this.M||null==this.g||0>=this.R)){var e=2*this.R;this.j.info("BP detection timer enabled: "+e),this.A=xe(c(this.ab,this),e)}},e.ab=function(){this.A&&(this.A=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.M=!0,Te(10),Gt(this),rn(this))},e.Za=function(){null!=this.C&&(this.C=null,Gt(this),tn(this),Te(19))},e.fb=function(e){e?(this.j.info("Successfully pinged google.com"),Te(2)):(this.j.info("Failed to ping google.com"),Te(1))},e.isActive=function(){return!!this.l&&this.l.isActive(this)},(e=dn.prototype).ua=function(){},e.ta=function(){},e.sa=function(){},e.ra=function(){},e.isActive=function(){return!0},e.Na=function(){},fn.prototype.g=function(e,t){return new pn(e,t)},h(pn,te),pn.prototype.m=function(){this.g.l=this.j,this.v&&(this.g.J=!0),this.g.connect(this.l,this.h||void 0)},pn.prototype.close=function(){Kt(this.g)},pn.prototype.o=function(e){var t=this.g;if("string"==typeof e){var n={};n.__data__=e,e=n}else this.u&&((n={}).__data__=ce(e),e=n);t.i.push(new Ke(t.Ya++,e)),3==t.G&&Xt(t)},pn.prototype.N=function(){this.g.l=null,delete this.j,Kt(this.g),delete this.g,pn.aa.N.call(this)},h(mn,ge),h(gn,_e),h(_n,dn),_n.prototype.ua=function(){ne(this.g,"a")},_n.prototype.ta=function(e){ne(this.g,new mn(e))},_n.prototype.sa=function(e){ne(this.g,new gn)},_n.prototype.ra=function(){ne(this.g,"b")},fn.prototype.createWebChannel=fn.prototype.g,pn.prototype.send=pn.prototype.o,pn.prototype.open=pn.prototype.m,pn.prototype.close=pn.prototype.close,Ou=Fu.createWebChannelTransport=function(){return new fn},Ru=Fu.getStatEventTarget=function(){return be()},Nu=Fu.Event=ve,Pu=Fu.Stat={mb:0,pb:1,qb:2,Jb:3,Ob:4,Lb:5,Mb:6,Kb:7,Ib:8,Nb:9,PROXY:10,NOPROXY:11,Gb:12,Cb:13,Db:14,Bb:15,Eb:16,Fb:17,ib:18,hb:19,jb:20},Pe.NO_ERROR=0,Pe.TIMEOUT=8,Pe.HTTP_ERROR=6,ku=Fu.ErrorCode=Pe,Ne.COMPLETE="complete",Iu=Fu.EventType=Ne,pe.EventType=me,me.OPEN="a",me.CLOSE="b",me.ERROR="c",me.MESSAGE="d",te.prototype.listen=te.prototype.K,Au=Fu.WebChannel=pe,Fu.FetchXmlHttpFactory=It,Ft.prototype.listenOnce=Ft.prototype.L,Ft.prototype.getLastError=Ft.prototype.Ka,Ft.prototype.getLastErrorCode=Ft.prototype.Ba,Ft.prototype.getStatus=Ft.prototype.Z,Ft.prototype.getResponseJson=Ft.prototype.Oa,Ft.prototype.getResponseText=Ft.prototype.oa,Ft.prototype.send=Ft.prototype.ea,Ft.prototype.setWithCredentials=Ft.prototype.Ha,xu=Fu.XhrIo=Ft}).apply(void 0!==Du?Du:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});const Lu="@firebase/firestore",ju="4.7.7";class User{constructor(e){this.uid=e}isAuthenticated(){return null!=this.uid}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(e){return e.uid===this.uid}}User.UNAUTHENTICATED=new User(null),User.GOOGLE_CREDENTIALS=new User("google-credentials-uid"),User.FIRST_PARTY=new User("first-party-uid"),User.MOCK_USER=new User("mock-user");let Mu="11.3.0";const Uu=new class dist_esm_index_esm2017_Logger{constructor(e){this.name=e,this._logLevel=yu,this._logHandler=wu,this._userLogHandler=null,gu.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in _u))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?vu[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,_u.DEBUG,...e),this._logHandler(this,_u.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,_u.VERBOSE,...e),this._logHandler(this,_u.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,_u.INFO,...e),this._logHandler(this,_u.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,_u.WARN,...e),this._logHandler(this,_u.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,_u.ERROR,...e),this._logHandler(this,_u.ERROR,...e)}}("@firebase/firestore");function Vu(){return Uu.logLevel}function Bu(e,...t){if(Uu.logLevel<=_u.DEBUG){const n=t.map(Hu);Uu.debug(`Firestore (${Mu}): ${e}`,...n)}}
1function $u(e,...t){if(Uu.logLevel<=_u.ERROR){const n=t.map(Hu);Uu.error(`Firestore (${Mu}): ${e}`,...n)}}function zu(e,...t){if(Uu.logLevel<=_u.WARN){const n=t.map(Hu);Uu.warn(`Firestore (${Mu}): ${e}`,...n)}}function Hu(e){if("string"==typeof e)return e;try{return function(e){return JSON.stringify(e)}(e)}catch(t){return e}}function Wu(e="Unexpected state"){const t=`FIRESTORE (${Mu}) INTERNAL ASSERTION FAILED: `+e;throw $u(t),new Error(t)}function qu(e,t){e||Wu()}function Ku(e,t){return e}const Gu={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class FirestoreError extends _firebase_util_dist_index_esm2017_FirebaseError{constructor(e,t){super(e,t),this.code=e,this.message=t,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}class __PRIVATE_Deferred{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}class __PRIVATE_OAuthToken{constructor(e,t){this.user=t,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${e}`)}}class __PRIVATE_EmptyAuthCredentialsProvider{getToken(){return Promise.resolve(null)}invalidateToken(){}start(e,t){e.enqueueRetryable((()=>t(User.UNAUTHENTICATED)))}shutdown(){}}class __PRIVATE_EmulatorAuthCredentialsProvider{constructor(e){this.token=e,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(e,t){this.changeListener=t,e.enqueueRetryable((()=>t(this.token.user)))}shutdown(){this.changeListener=null}}class __PRIVATE_FirebaseAuthCredentialsProvider{constructor(e){this.t=e,this.currentUser=User.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(e,t){qu(void 0===this.o);let n=this.i;const r=e=>this.i!==n?(n=this.i,t(e)):Promise.resolve();let i=new __PRIVATE_Deferred;this.o=()=>{this.i++,this.currentUser=this.u(),i.resolve(),i=new __PRIVATE_Deferred,e.enqueueRetryable((()=>r(this.currentUser)))};const s=()=>{const t=i;e.enqueueRetryable((async()=>{await t.promise,await r(this.currentUser)}))},o=e=>{Bu("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=e,this.o&&(this.auth.addAuthTokenListener(this.o),s())};this.t.onInit((e=>o(e))),setTimeout((()=>{if(!this.auth){const e=this.t.getImmediate({optional:!0});e?o(e):(Bu("FirebaseAuthCredentialsProvider","Auth not yet detected"),i.resolve(),i=new __PRIVATE_Deferred)}}),0),s()}getToken(){const e=this.i,t=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(t).then((t=>this.i!==e?(Bu("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):t?(qu("string"==typeof t.accessToken),new __PRIVATE_OAuthToken(t.accessToken,this.currentUser)):null)):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.o&&this.auth.removeAuthTokenListener(this.o),this.o=void 0}u(){const e=this.auth&&this.auth.getUid();return qu(null===e||"string"==typeof e),new User(e)}}class __PRIVATE_FirstPartyToken{constructor(e,t,n){this.l=e,this.h=t,this.P=n,this.type="FirstParty",this.user=User.FIRST_PARTY,this.T=new Map}I(){return this.P?this.P():null}get headers(){this.T.set("X-Goog-AuthUser",this.l);const e=this.I();return e&&this.T.set("Authorization",e),this.h&&this.T.set("X-Goog-Iam-Authorization-Token",this.h),this.T}}class __PRIVATE_FirstPartyAuthCredentialsProvider{constructor(e,t,n){this.l=e,this.h=t,this.P=n}getToken(){return Promise.resolve(new __PRIVATE_FirstPartyToken(this.l,this.h,this.P))}start(e,t){e.enqueueRetryable((()=>t(User.FIRST_PARTY)))}shutdown(){}invalidateToken(){}}class AppCheckToken{constructor(e){this.value=e,this.type="AppCheck",this.headers=new Map,e&&e.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class __PRIVATE_FirebaseAppCheckTokenProvider{constructor(e,t){this.A=t,this.forceRefresh=!1,this.appCheck=null,this.R=null,this.V=null,en(e)&&e.settings.appCheckToken&&(this.V=e.settings.appCheckToken)}start(e,t){qu(void 0===this.o);const n=e=>{null!=e.error&&Bu("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${e.error.message}`);const n=e.token!==this.R;return this.R=e.token,Bu("FirebaseAppCheckTokenProvider",`Received ${n?"new":"existing"} token.`),n?t(e.token):Promise.resolve()};this.o=t=>{e.enqueueRetryable((()=>n(t)))};const r=e=>{Bu("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=e,this.o&&this.appCheck.addTokenListener(this.o)};this.A.onInit((e=>r(e))),setTimeout((()=>
vendor: 17,754 bytes, line 1
1{if(!this.appCheck){const e=this.A.getImmediate({optional:!0});e?r(e):Bu("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}}),0)}getToken(){if(this.V)return Promise.resolve(new AppCheckToken(this.V));const e=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(e).then((e=>e?(qu("string"==typeof e.token),this.R=e.token,new AppCheckToken(e.token)):null)):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.o&&this.appCheck.removeTokenListener(this.o),this.o=void 0}}function Qu(e){const t="undefined"!=typeof self&&(self.crypto||self.msCrypto),n=new Uint8Array(e);if(t&&"function"==typeof t.getRandomValues)t.getRandomValues(n);else for(let r=0;r<e;r++)n[r]=Math.floor(256*Math.random());return n}function Xu(){return new TextEncoder}class __PRIVATE_AutoId{static newId(){const e=62*Math.floor(256/62);let t="";for(;t.length<20;){const n=Qu(40);for(let r=0;r<n.length;++r)t.length<20&&n[r]<e&&(t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(n[r]%62))}return t}}function Yu(e,t){return e<t?-1:e>t?1:0}function Ju(e,t){const n=Xu().encode(e),r=Xu().encode(t);for(let i=0;i<Math.min(n.length,r.length);i++){const e=Yu(n[i],r[i]);if(0!==e)return e}return Yu(n.length,r.length)}function Zu(e,t,n){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))}const eh=-62135596800,th=1e6;class index_esm2017_Timestamp{static now(){return index_esm2017_Timestamp.fromMillis(Date.now())}static fromDate(e){return index_esm2017_Timestamp.fromMillis(e.getTime())}static fromMillis(e){const t=Math.floor(e/1e3),n=Math.floor((e-1e3*t)*th);return new index_esm2017_Timestamp(t,n)}constructor(e,t){if(this.seconds=e,this.nanoseconds=t,t<0)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+t);if(t>=1e9)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+t);if(e<eh)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Timestamp seconds out of range: "+e);if(e>=253402300800)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Timestamp seconds out of range: "+e)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/th}_compareTo(e){return this.seconds===e.seconds?Yu(this.nanoseconds,e.nanoseconds):Yu(this.seconds,e.seconds)}isEqual(e){return e.seconds===this.seconds&&e.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}}valueOf(){const e=this.seconds-eh;return String(e).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}class SnapshotVersion{static fromTimestamp(e){return new SnapshotVersion(e)}static min(){return new SnapshotVersion(new index_esm2017_Timestamp(0,0))}static max(){return new SnapshotVersion(new index_esm2017_Timestamp(253402300799,999999999))}constructor(e){this.timestamp=e}compareTo(e){return this.timestamp._compareTo(e.timestamp)}isEqual(e){return this.timestamp.isEqual(e.timestamp)}toMicroseconds(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}toString(){return"SnapshotVersion("+this.timestamp.toString()+")"}toTimestamp(){return this.timestamp}}const nh="__name__";class BasePath{constructor(e,t,n){void 0===t?t=0:t>e.length&&Wu(),void 0===n?n=e.length-t:n>e.length-t&&Wu(),this.segments=e,this.offset=t,this.len=n}get length(){return this.len}isEqual(e){return 0===BasePath.comparator(this,e)}child(e){const t=this.segments.slice(this.offset,this.limit());return e instanceof BasePath?e.forEach((e=>{t.push(e)})):t.push(e),this.construct(t)}limit(){return this.offset+this.length}popFirst(e){return e=void 0===e?1:e,this.construct(this.segments,this.offset+e,this.length-e)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(e){return this.segments[this.offset+e]}isEmpty(){return 0===this.length}isPrefixOf(e){if(e.length<this.length)return!1;for(let t=0;t<this.length;t++)if(this.get(t)!==e.get(t))return!1;return!0}isImmediateParentOf(e){if(this.length+1!==e.length)return!1;for(let t=0;t<this.length;t++)if(this.get(t)!==e.get(t))return!1;return!0}forEach(e){for(let t=this.offset,n=this.limit();t<n;t++)e(this.segments[t])}toArray(){return this.segments.slice(this.offset,this.limit())}static comparator(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++){const n=BasePath.compareSegments(e.get(r),t.get(r));if(0!==n)return n}return Yu(e.length,t.length)}static compareSegments(e,t){const n=BasePath.isNumericId(e),r=BasePath.isNumericId(t);return n&&!r?-1:!n&&r?1:n&&r?BasePath.extractNumericId(e).compare(BasePath.extractNumericId(t)):Ju(e,t)}static isNumericId(e){return e.startsWith("__id")&&e.endsWith("__")}static extractNumericId(e){return Eu.fromString(e.substring(4,e.length-2))}}class ResourcePath extends BasePath{construct(e,t,n){return new ResourcePath(e,t,n)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}toUriEncodedString(){return this.toArray().map(encodeURIComponent).join("/")}static fromString(...e){const t=[];for(const n of e){if(n.indexOf("//")>=0)throw new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid segment (${n}). Paths must not contain // in them.`);t.push(...n.split("/").filter((e=>e.length>0)))}return new ResourcePath(t)}static emptyPath(){return new ResourcePath([])}}const rh=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class FieldPath$1 extends BasePath{construct(e,t,n){return new FieldPath$1(e,t,n)}static isValidIdentifier(e){return rh.test(e)}canonicalString(){return this.toArray().map((e=>(e=e.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),FieldPath$1.isValidIdentifier(e)||(e="`"+e+"`"),e))).join(".")}toString(){return this.canonicalString()}isKeyField(){return 1===this.length&&this.get(0)===nh}static keyField(){return new FieldPath$1([nh])}static fromServerFormat(e){const t=[];let n="",r=0;const i=()=>{if(0===n.length)throw new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid field path (${e}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);t.push(n),n=""};let s=!1;for(;r<e.length;){const t=e[r];if("\\"===t){if(r+1===e.length)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Path has trailing escape character: "+e);const t=e[r+1];if("\\"!==t&&"."!==t&&"`"!==t)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Path has invalid escape sequence: "+e);n+=t,r+=2}else"`"===t?(s=!s,r++):"."!==t||s?(n+=t,r++):(i(),r++)}if(i(),s)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Unterminated ` in path: "+e);return new FieldPath$1(t)}static emptyPath(){return new FieldPath$1([])}}class DocumentKey{constructor(e){this.path=e}static fromPath(e){return new DocumentKey(ResourcePath.fromString(e))}static fromName(e){return new DocumentKey(ResourcePath.fromString(e).popFirst(5))}static empty(){return new DocumentKey(ResourcePath.emptyPath())}get collectionGroup(){return this.path.popLast().lastSegment()}hasCollectionId(e){return this.path.length>=2&&this.path.get(this.path.length-2)===e}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(e){return null!==e&&0===ResourcePath.comparator(this.path,e.path)}toString(){return this.path.toString()}static comparator(e,t){return ResourcePath.comparator(e.path,t.path)}static isDocumentKey(e){return e.length%2==0}static fromSegments(e){return new DocumentKey(new ResourcePath(e.slice()))}}const ih=-1;class FieldIndex{constructor(e,t,n,r){this.indexId=e,this.collectionGroup=t,this.fields=n,this.indexState=r}}FieldIndex.UNKNOWN_ID=-1;function sh(e,t){const n=e.toTimestamp().seconds,r=e.toTimestamp().nanoseconds+1,i=SnapshotVersion.fromTimestamp(1e9===r?new index_esm2017_Timestamp(n+1,0):new index_esm2017_Timestamp(n,r));return new IndexOffset(i,DocumentKey.empty(),t)}function oh(e){return new IndexOffset(e.readTime,e.key,ih)}class IndexOffset{constructor(e,t,n){this.readTime=e,this.documentKey=t,this.largestBatchId=n}static min(){return new IndexOffset(SnapshotVersion.min(),DocumentKey.empty(),ih)}static max(){return new IndexOffset(SnapshotVersion.max(),DocumentKey.empty(),ih)}}function ah(e,t){let n=e.readTime.compareTo(t.readTime);return 0!==n?n:(n=DocumentKey.comparator(e.documentKey,t.documentKey),0!==n?n:Yu(e.largestBatchId,t.largestBatchId))}const lh="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.";class PersistenceTransaction{constructor(){this.onCommittedListeners=[]}addOnCommittedListener(e){this.onCommittedListeners.push(e)}raiseOnCommittedEvent(){this.onCommittedListeners.forEach((e=>e()))}}async function ch(e){if(e.code!==Gu.FAILED_PRECONDITION||e.message!==lh)throw e;Bu("LocalStore","Unexpectedly lost primary lease")}class PersistencePromise{constructor(e){this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,e((e=>{this.isDone=!0,this.result=e,this.nextCallback&&this.nextCallback(e)}),(e=>{this.isDone=!0,this.error=e,this.catchCallback&&this.catchCallback(e)}))}catch(e){return this.next(void 0,e)}next(e,t){return this.callbackAttached&&Wu(),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(t,this.error):this.wrapSuccess(e,this.result):new PersistencePromise(((n,r)=>{this.nextCallback=t=>{this.wrapSuccess(e,t).next(n,r)},this.catchCallback=e=>{this.wrapFailure(t,e).next(n,r)}}))}toPromise(){return new Promise(((e,t)=>{this.next(e,t)}))}wrapUserFunction(e){try{const t=e();return t instanceof PersistencePromise?t:PersistencePromise.resolve(t)}catch(e){return PersistencePromise.reject(e)}}wrapSuccess(e,t){return e?this.wrapUserFunction((()=>e(t))):PersistencePromise.resolve(t)}wrapFailure(e,t){return e?this.wrapUserFunction((()=>e(t))):PersistencePromise.reject(t)}static resolve(e){return new PersistencePromise(((t,n)=>{t(e)}))}static reject(e){return new PersistencePromise(((t,n)=>{n(e)}))}static waitFor(e){return new PersistencePromise(((t,n)=>{let r=0,i=0,s=!1;e.forEach((e=>{++r,e.next((()=>{++i,s&&i===r&&t()}),(e=>n(e)))})),s=!0,i===r&&t()}))}static or(e){let t=PersistencePromise.resolve(!1);for(const n of e)t=t.next((e=>e?PersistencePromise.resolve(e):n()));return t}static forEach(e,t){const n=[];return e.forEach(((e,r)=>{n.push(t.call(this,e,r))})),this.waitFor(n)}static mapArray(e,t){return new PersistencePromise(((n,r)=>{const i=e.length,s=new Array(i);let o=0;for(let a=0;a<i;a++){const l=a;t(e[l]).next((e=>{s[l]=e,++o,o===i&&n(s)}),(e=>r(e)))}}))}static doWhile(e,t){return new PersistencePromise(((n,r)=>{const i=()=>{!0===e()?t().next((()=>{i()}),r):n()};i()}))}}function uh(e){const t=e.match(/Android ([\d.]+)/i),n=t?t[1].split(".").slice(0,2).join("."):"-1";return Number(n)}function hh(e){return"IndexedDbTransactionError"===e.name}class __PRIVATE_ListenSequence{constructor(e,t){this.previousValue=e,t&&(t.sequenceNumberHandler=e=>this.oe(e),this._e=e=>t.writeSequenceNumber(e))}oe(e){return this.previousValue=Math.max(e,this.previousValue),this.previousValue}next(){const e=++this.previousValue;return this._e&&this._e(e),e}}__PRIVATE_ListenSequence.ae=-1;const dh=-1;function fh(e){return null==e}function ph(e){return 0===e&&1/e==-1/0}function mh(e){return"number"==typeof e&&Number.isInteger(e)&&!ph(e)&&e<=Number.MAX_SAFE_INTEGER&&e>=Number.MIN_SAFE_INTEGER}const gh="\x01";function _h(e){let t="";for(let n=0;n<e.length;n++)t.length>0&&(t=yh(t)),t=vh(e.get(n),t);return yh(t)}function vh(e,t){let n=t;const r=e.length;for(let i=0;i<r;i++){const t=e.charAt(i);switch(t){case"\0":n+="\x01\x10";break;case gh:n+="\x01\x11";break;default:n+=t}}return n}function yh(e){return e+gh+"\x01"}const bh="remoteDocuments",wh="owner",Eh="mutationQueues",Sh="mutations";const Th="documentMutations",Ch="remoteDocumentsV14",xh="remoteDocumentGlobal",Ah="targets",Ih="targetDocuments",kh="targetGlobal",Ph="collectionParents",Nh="clientMetadata",Rh="bundles",Oh="namedQueries",Dh="indexConfiguration",Fh="indexState",Lh="indexEntries",jh="documentOverlays",Mh="globals",Uh=[Eh,Sh,Th,bh,Ah,wh,kh,Ih,Nh,xh,Ph,Rh,Oh],Vh=[Eh,Sh,Th,Ch,Ah,wh,kh,Ih,Nh,xh,Ph,Rh,Oh,jh],Bh=Vh,$h=[...Bh,Dh,Fh,Lh];function zh(e){let t=0;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}function Hh(e,t){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])}function Wh(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}class index_esm2017_SortedMap{constructor(e,t){this.comparator=e,this.root=t||index_esm2017_LLRBNode.EMPTY}insert(e,t){return new index_esm2017_SortedMap(this.comparator,this.root.insert(e,t,this.comparator).copy(null,null,index_esm2017_LLRBNode.BLACK,null,null))}remove(e){return new index_esm2017_SortedMap(this.comparator,this.root.remove(e,this.comparator).copy(null,null,index_esm2017_LLRBNode.BLACK,null,null))}get(e){let t=this.root;for(;!t.isEmpty();){const n=this.comparator(e,t.key);if(0===n)return t.value;n<0?t=t.left:n>0&&(t=t.right)}return null}indexOf(e){let t=0,n=this.root;for(;!n.isEmpty();){const r=this.comparator(e,n.key);if(0===r)return t+n.left.size;r<0?n=n.left:(t+=n.left.size+1,n=n.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(e){return this.root.inorderTraversal(e)}forEach(e){this.inorderTraversal(((t,n)=>(e(t,n),!1)))}toString(){const e=[];return this.inorderTraversal(((t,n)=>(e.push(`${t}:${n}`),!1))),`{${e.join(", ")}}`}reverseTraversal(e){return this.root.reverseTraversal(e)}getIterator(){return new index_esm2017_SortedMapIterator(this.root,null,this.comparator,!1)}getIteratorFrom(e){return new index_esm2017_SortedMapIterator(this.root,e,this.comparator,!1)}getReverseIterator(){return new index_esm2017_SortedMapIterator(this.root,null,this.comparator,!0)}getReverseIteratorFrom(e){return new index_esm2017_SortedMapIterator(this.root,e,this.comparator,!0)}}class index_esm2017_SortedMapIterator{constructor(e,t,n,r){this.isReverse=r,this.nodeStack=[];let i=1;for(;!e.isEmpty();)if(i=t?n(e.key,t):1,t&&r&&(i*=-1),i<0)e=this.isReverse?e.left:e.right;else{if(0===i){this.nodeStack.push(e);break}this.nodeStack.push(e),e=this.isReverse?e.right:e.left}}getNext(){let e=this.nodeStack.pop();const t={key:e.key,value:e.value};if(this.isReverse)for(e=e.left;!e.isEmpty();)this.nodeStack.push(e),e=e.right;else for(e=e.right;!e.isEmpty();)this.nodeStack.push(e),e=e.left;return t}hasNext(){return this.nodeStack.length>0}peek(){if(0===this.nodeStack.length)return null;const e=this.nodeStack[this.nodeStack.length-1];return{key:e.key,value:e.value}}}class index_esm2017_LLRBNode{constructor(e,t,n,r,i){this.key=e,this.value=t,this.color=null!=n?n:index_esm2017_LLRBNode.RED,this.left=null!=r?r:index_esm2017_LLRBNode.EMPTY,this.right=null!=i?i:index_esm2017_LLRBNode.EMPTY,this.size=this.left.size+1+this.right.size}copy(e,t,n,r,i){return new index_esm2017_LLRBNode(null!=e?e:this.key,null!=t?t:this.value,null!=n?n:this.color,null!=r?r:this.left,null!=i?i:this.right)}isEmpty(){return!1}inorderTraversal(e){return this.left.inorderTraversal(e)||e(this.key,this.value)||this.right.inorderTraversal(e)}reverseTraversal(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(e,t,n){let r=this;const i=n(e,r.key);return r=i<0?r.copy(null,null,null,r.left.insert(e,t,n),null):0===i?r.copy(null,t,null,null,null):r.copy(null,null,null,null,r.right.insert(e,t,n)),r.fixUp()}removeMin(){if(this.left.isEmpty())return index_esm2017_LLRBNode.EMPTY;let e=this;return e.left.isRed()||e.left.left.isRed()||(e=e.moveRedLeft()),e=e.copy(null,null,null,e.left.removeMin(),null),e.fixUp()}remove(e,t){let n,r=this;if(t(e,r.key)<0)r.left.isEmpty()||r.left.isRed()||r.left.left.isRed()||(r=r.moveRedLeft()),r=r.copy(null,null,null,r.left.remove(e,t),null);else{if(r.left.isRed()&&(r=r.rotateRight()),r.right.isEmpty()||r.right.isRed()||r.right.left.isRed()||(r=r.moveRedRight()),0===t(e,r.key)){if(r.right.isEmpty())return index_esm2017_LLRBNode.EMPTY;n=r.right.min(),r=r.copy(n.key,n.value,null,null,r.right.removeMin())}r=r.copy(null,null,null,null,r.right.remove(e,t))}return r.fixUp()}isRed(){return this.color}fixUp(){let e=this;return e.right.isRed()&&!e.left.isRed()&&(e=e.rotateLeft()),e.left.isRed()&&e.left.left.isRed()&&(e=e.rotateRight()),e.left.isRed()&&e.right.isRed()&&(e=e.colorFlip()),e}moveRedLeft(){let e=this.colorFlip();return e.right.left.isRed()&&(e=e.copy(null,null,null,null,e.right.rotateRight()),e=e.rotateLeft(),e=e.colorFlip()),e}moveRedRight(){let e=this.colorFlip();return e.left.left.isRed()&&(e=e.rotateRight(),e=e.colorFlip()),e}rotateLeft(){const e=this.copy(null,null,index_esm2017_LLRBNode.RED,null,this.right.left);return this.right.copy(null,null,this.color,e,null)}rotateRight(){const e=this.copy(null,null,index_esm2017_LLRBNode.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,e)}colorFlip(){const e=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,t)}checkMaxDepth(){const e=this.check();return Math.pow(2,e)<=this.size+1}check(){if(this.isRed()&&this.left.isRed())throw Wu();if(this.right.isRed())throw Wu();const e=this.left.check();if(e!==this.right.check())throw Wu();return e+(this.isRed()?0:1)}}index_esm2017_LLRBNode.EMPTY=null,index_esm2017_LLRBNode.RED=!0,index_esm2017_LLRBNode.BLACK=!1,index_esm2017_LLRBNode.EMPTY=ne
1w class LLRBEmptyNode{constructor(){this.size=0}get key(){throw Wu()}get value(){throw Wu()}get color(){throw Wu()}get left(){throw Wu()}get right(){throw Wu()}copy(e,t,n,r,i){return this}insert(e,t,n){return new index_esm2017_LLRBNode(e,t)}remove(e,t){return this}isEmpty(){return!0}inorderTraversal(e){return!1}reverseTraversal(e){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};class SortedSet{constructor(e){this.comparator=e,this.data=new index_esm2017_SortedMap(this.comparator)}has(e){return null!==this.data.get(e)}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(e){return this.data.indexOf(e)}forEach(e){this.data.inorderTraversal(((t,n)=>(e(t),!1)))}forEachInRange(e,t){const n=this.data.getIteratorFrom(e[0]);for(;n.hasNext();){const r=n.getNext();if(this.comparator(r.key,e[1])>=0)return;t(r.key)}}forEachWhile(e,t){let n;for(n=void 0!==t?this.data.getIteratorFrom(t):this.data.getIterator();n.hasNext();)if(!e(n.getNext().key))return}firstAfterOrEqual(e){const t=this.data.getIteratorFrom(e);return t.hasNext()?t.getNext().key:null}getIterator(){return new SortedSetIterator(this.data.getIterator())}getIteratorFrom(e){return new SortedSetIterator(this.data.getIteratorFrom(e))}add(e){return this.copy(this.data.remove(e).insert(e,!0))}delete(e){return this.has(e)?this.copy(this.data.remove(e)):this}isEmpty(){return this.data.isEmpty()}unionWith(e){let t=this;return t.size<e.size&&(t=e,e=this),e.forEach((e=>{t=t.add(e)})),t}isEqual(e){if(!(e instanceof SortedSet))return!1;if(this.size!==e.size)return!1;const t=this.data.getIterator(),n=e.data.getIterator();for(;t.hasNext();){const e=t.getNext().key,r=n.getNext().key;if(0!==this.comparator(e,r))return!1}return!0}toArray(){const e=[];return this.forEach((t=>{e.push(t)})),e}toString(){const e=[];return this.forEach((t=>e.push(t))),"SortedSet("+e.toString()+")"}copy(e){const t=new SortedSet(this.comparator);return t.data=e,t}}class SortedSetIterator{constructor(e){this.iter=e}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}class FieldMask{constructor(e){this.fields=e,e.sort(FieldPath$1.comparator)}static empty(){return new FieldMask([])}unionWith(e){let t=new SortedSet(FieldPath$1.comparator);for(const n of this.fields)t=t.add(n);for(const n of e)t=t.add(n);return new FieldMask(t.toArray())}covers(e){for(const t of this.fields)if(t.isPrefixOf(e))return!0;return!1}isEqual(e){return Zu(this.fields,e.fields,((e,t)=>e.isEqual(t)))}}class __PRIVATE_Base64DecodeError extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}class ByteString{constructor(e){this.binaryString=e}static fromBase64String(e){const t=function(e){try{return atob(e)}catch(e){throw"undefined"!=typeof DOMException&&e instanceof DOMException?new __PRIVATE_Base64DecodeError("Invalid base64 string: "+e):e}}(e);return new ByteString(t)}static fromUint8Array(e){const t=function(e){let t="";for(let n=0;n<e.length;++n)t+=String.fromCharCode(e[n]);return t}(e);return new ByteString(t)}[Symbol.iterator](){let e=0;return{next:()=>e<this.binaryString.length?{value:this.binaryString.charCodeAt(e++),done:!1}:{value:void 0,done:!0}}}toBase64(){return e=this.binaryString,btoa(e);var e}toUint8Array(){return function(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(this.binaryString)}approximateByteSize(){return 2*this.binaryString.length}compareTo(e){return Yu(this.binaryString,e.binaryString)}isEqual(e){return this.binaryString===e.binaryString}}ByteString.EMPTY_BYTE_STRING=new ByteString("");const qh=new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);function Kh(e){if(qu(!!e),"string"==typeof e){let t=0;const n=qh.exec(e);if(qu(!!n),n[1]){let e=n[1];e=(e+"000000000").substr(0,9),t=Number(e)}const r=new Date(e);return{seconds:Math.floor(r.getTime()/1e3),nanos:t}}return{seconds:Gh(e.seconds),nanos:Gh(e.nanos)}}function Gh(e){return"number"==typeof e?e:"string"==typeof e?Number(e):0}function Qh(e){return"string"==typeof e?ByteString.fromBase64String(e):ByteString.fromUint8Array(e)}const Xh="server_timestamp",Yh="__type__",Jh="__previous_value__",Zh="__local_write_time__";function ed(e){var t,n;return(null===(n=((null===(t=null==e?void 0:e.mapValue)||void 0===t?void 0:t.fields)||{})[Yh])||void 0===n?void 0:n.stringValue)===Xh}function td(e){const t=e.mapValue.fields[Jh];return ed(t)?td(t):t}
1function nd(e){const t=Kh(e.mapValue.fields[Zh].timestampValue);return new index_esm2017_Timestamp(t.seconds,t.nanos)}class DatabaseInfo{constructor(e,t,n,r,i,s,o,a,l){this.databaseId=e,this.appId=t,this.persistenceKey=n,this.host=r,this.ssl=i,this.forceLongPolling=s,this.autoDetectLongPolling=o,this.longPollingOptions=a,this.useFetchStreams=l}}const rd="(default)";class DatabaseId{constructor(e,t){this.projectId=e,this.database=t||rd}static empty(){return new DatabaseId("","")}get isDefaultDatabase(){return this.database===rd}isEqual(e){return e instanceof DatabaseId&&e.projectId===this.projectId&&e.database===this.database}}const id="__type__",sd="__max__",od={mapValue:{fields:{__type__:{stringValue:sd}}}},ad="__vector__",ld="value";function cd(e){return"nullValue"in e?0:"booleanValue"in e?1:"integerValue"in e||"doubleValue"in e?2:"timestampValue"in e?3:"stringValue"in e?5:"bytesValue"in e?6:"referenceValue"in e?7:"geoPointValue"in e?8:"arrayValue"in e?9:"mapValue"in e?ed(e)?4:xd(e)?9007199254740991:Td(e)?10:11:Wu()}function ud(e,t){if(e===t)return!0;const n=cd(e);if(n!==cd(t))return!1;switch(n){case 0:case 9007199254740991:return!0;case 1:return e.booleanValue===t.booleanValue;case 4:return nd(e).isEqual(nd(t));case 3:return function(e,t){if("string"==typeof e.timestampValue&&"string"==typeof t.timestampValue&&e.timestampValue.length===t.timestampValue.length)return e.timestampValue===t.timestampValue;const n=Kh(e.timestampValue),r=Kh(t.timestampValue);return n.seconds===r.seconds&&n.nanos===r.nanos}(e,t);case 5:return e.stringValue===t.stringValue;case 6:return function(e,t){return Qh(e.bytesValue).isEqual(Qh(t.bytesValue))}(e,t);case 7:return e.referenceValue===t.referenceValue;case 8:return function(e,t){return Gh(e.geoPointValue.latitude)===Gh(t.geoPointValue.latitude)&&Gh(e.geoPointValue.longitude)===Gh(t.geoPointValue.longitude)}(e,t);case 2:return function(e,t){if("integerValue"in e&&"integerValue"in t)return Gh(e.integerValue)===Gh(t.integerValue);if("doubleValue"in e&&"doubleValue"in t){const n=Gh(e.doubleValue),r=Gh(t.doubleValue);return n===r?ph(n)===ph(r):isNaN(n)&&isNaN(r)}return!1}(e,t);case 9:return Zu(e.arrayValue.values||[],t.arrayValue.values||[],ud);case 10:case 11:return function(e,t){const n=e.mapValue.fields||{},r=t.mapValue.fields||{};if(zh(n)!==zh(r))return!1;for(const i in n)if(n.hasOwnProperty(i)&&(void 0===r[i]||!ud(n[i],r[i])))return!1;return!0}(e,t);default:return Wu()}}function hd(e,t){return void 0!==(e.values||[]).find((e=>ud(e,t)))}function dd(e,t){if(e===t)return 0;const n=cd(e),r=cd(t);if(n!==r)return Yu(n,r);switch(n){case 0:case 9007199254740991:return 0;case 1:return Yu(e.booleanValue,t.booleanValue);case 2:return function(e,t){const n=Gh(e.integerValue||e.doubleValue),r=Gh(t.integerValue||t.doubleValue);return n<r?-1:n>r?1:n===r?0:isNaN(n)?isNaN(r)?0:-1:1}(e,t);case 3:return fd(e.timestampValue,t.timestampValue);case 4:return fd(nd(e),nd(t));case 5:return Ju(e.stringValue,t.stringValue);case 6:return function(e,t){const n=Qh(e),r=Qh(t);return n.compareTo(r)}(e.bytesValue,t.bytesValue);case 7:return function(e,t){const n=e.split("/"),r=t.split("/");for(let i=0;i<n.length&&i<r.length;i++){const e=Yu(n[i],r[i]);if(0!==e)return e}return Yu(n.length,r.length)}(e.referenceValue,t.referenceValue);case 8:return function(e,t){const n=Yu(Gh(e.latitude),Gh(t.latitude));return 0!==n?n:Yu(Gh(e.longitude),Gh(t.longitude))}(e.geoPointValue,t.geoPointValue);case 9:return pd(e.arrayValue,t.arrayValue);case 10:return function(e,t){var n,r,i,s;const o=e.fields||{},a=t.fields||{},l=null===(n=o[ld])||void 0===n?void 0:n.arrayValue,c=null===(r=a[ld])||void 0===r?void 0:r.arrayValue,u=Yu((null===(i=null==l?void 0:l.values)||void 0===i?void 0:i.length)||0,(null===(s=null==c?void 0:c.values)||void 0===s?void 0:s.length)||0);return 0!==u?u:pd(l,c)}(e.mapValue,t.mapValue);case 11:return function(e,t){if(e===od.mapValue&&t===od.mapValue)return 0;if(e===od.mapValue)return 1;if(t===od.mapValue)return-1;const n=e.fields||{},r=Object.keys(n),i=t.fields||{},s=Object.keys(i);r.sort(),s.sort();for(let o=0;o<r.length&&o<s.length;++o){const e=Ju(r[o],s[o]);if(0!==e)return e;const t=dd(n[r[o]],i[s[o]]);if(0!==t)return t}return Yu(r.length,s.length)}(e.mapValue,t.mapValue);default:throw Wu()}}function fd(e,t){if("string"==typeof e&&"string"==typeof t&&e.length===t.length)return Yu(e,t);const n=Kh(e),r=Kh(t),i=Yu(n.seconds,r.seconds);return 0!==i?i:Yu(n.nanos,r.nanos)}function pd(e,t){const n=e.values||[],r=t.values||[];for(let i=0;i<n.length&&i<r.length;++i){const e=dd(n[i],r[i]);if(e)return e}return Yu(n.length,r.length)}function md(e){return gd(e)}function gd(e){return"nullValue"in e?"null":"booleanValue"in e?""+e.booleanValue:"integerValue"in e?""+e.integerValue:"doubleValue"in e?""+e.doubleValue:"timestampValue"in e?function(e){const t=Kh(e);return`time(${t.seconds},${t.nanos})`}(e.timestampValue):"stringValue"in e?e.stringValue:"bytesValue"in e?function(e){return Qh(e).toBase64()}(e.bytesValue):"referenceValue"in e?function(e){return DocumentKey.fromName(e).toString()}(e.referenceValue):"geoPointValue"in e?function(e){return`geo(${e.latitude},${e.longitude})`}(e.geoPointValue):"arrayValue"in e?function(e){let t="[",n=!0;for(const r of e.values||[])n?n=!1:t+=",",t+=gd(r);return t+"]"}(e.arrayValue):"mapValue"in e?function(e){const t=Object.keys(e.fields||{}).sort();let n="{",r=!0;for(const i of t)r?r=!1:n+=",",n+=`${i}:${gd(e.fields[i])}`;return n+"}"}(e.mapValue):Wu()}function _d(e){switch(cd(e)){case 0:case 1:return 4;case 2:return 8;case 3:case 8:return 16;case 4:const t=td(e);return t?16+_d(t):16;case 5:return 2*e.stringValue.length;case 6:return Qh(e.bytesValue).approximateByteSize();case 7:return e.referenceValue.length;case 9:return function(e){return(e.values||[]).reduce(((e,t)=>e+_d(t)),0)}(e.arrayValue);case 10:case 11:return function(e){let t=0;return Hh(e.fields,((e,n)=>{t+=e.length+_d(n)})),t}(e.mapValue);default:throw Wu()}}function vd(e,t){return{referenceValue:`projects/${e.projectId}/databases/${e.database}/documents/${t.path.canonicalString()}`}}function yd(e){return!!e&&"integerValue"in e}function bd(e){return!!e&&"arrayValue"in e}function wd(e){return!!e&&"nullValue"in e}function Ed(e){return!!e&&"doubleValue"in e&&isNaN(Number(e.doubleValue))}function Sd(e){return!!e&&"mapValue"in e}function Td(e){var t,n;return(null===(n=((null===(t=null==e?void 0:e.mapValue)||void 0===t?void 0:t.fields)||{})[id])||void 0===n?void 0:n.stringValue)===ad}function Cd(e){if(e.geoPointValue)return{geoPointValue:Object.assign({},e.geoPointValue)};if(e.timestampValue&&"object"==typeof e.timestampValue)return{timestampValue:Object.assign({},e.timestampValue)};if(e.mapValue){const t={mapValue:{fields:{}}};return Hh(e.mapValue.fields,((e,n)=>t.mapValue.fields[e]=Cd(n))),t}if(e.arrayValue){const t={arrayValue:{values:[]}};for(let n=0;n<(e.arrayValue.values||[]).length;++n)t.arrayValue.values[n]=Cd(e.arrayValue.values[n]);return t}return Object.assign({},e)}function xd(e){return(((e.mapValue||{}).fields||{}).__type__||{}).stringValue===sd}class ObjectValue{constructor(e){this.value=e}static empty(){return new ObjectValue({mapValue:{}})}field(e){if(e.isEmpty())return this.value;{let t=this.value;for(let n=0;n<e.length-1;++n)if(t=(t.mapValue.fields||{})[e.get(n)],!Sd(t))return null;return t=(t.mapValue.fields||{})[e.lastSegment()],t||null}}set(e,t){this.getFieldsMap(e.popLast())[e.lastSegment()]=Cd(t)}setAll(e){let t=FieldPath$1.emptyPath(),n={},r=[];e.forEach(((e,i)=>{if(!t.isImmediateParentOf(i)){const e=this.getFieldsMap(t);this.applyChanges(e,n,r),n={},r=[],t=i.popLast()}e?n[i.lastSegment()]=Cd(e):r.push(i.lastSegment())}
vendor: 5,684 bytes, line 1
1));const i=this.getFieldsMap(t);this.applyChanges(i,n,r)}delete(e){const t=this.field(e.popLast());Sd(t)&&t.mapValue.fields&&delete t.mapValue.fields[e.lastSegment()]}isEqual(e){return ud(this.value,e.value)}getFieldsMap(e){let t=this.value;t.mapValue.fields||(t.mapValue={fields:{}});for(let n=0;n<e.length;++n){let r=t.mapValue.fields[e.get(n)];Sd(r)&&r.mapValue.fields||(r={mapValue:{fields:{}}},t.mapValue.fields[e.get(n)]=r),t=r}return t.mapValue.fields}applyChanges(e,t,n){Hh(t,((t,n)=>e[t]=n));for(const r of n)delete e[r]}clone(){return new ObjectValue(Cd(this.value))}}function Ad(e){const t=[];return Hh(e.fields,((e,n)=>{const r=new FieldPath$1([e]);if(Sd(n)){const e=Ad(n.mapValue).fields;if(0===e.length)t.push(r);else for(const n of e)t.push(r.child(n))}else t.push(r)})),new FieldMask(t)}class MutableDocument{constructor(e,t,n,r,i,s,o){this.key=e,this.documentType=t,this.version=n,this.readTime=r,this.createTime=i,this.data=s,this.documentState=o}static newInvalidDocument(e){return new MutableDocument(e,0,SnapshotVersion.min(),SnapshotVersion.min(),SnapshotVersion.min(),ObjectValue.empty(),0)}static newFoundDocument(e,t,n,r){return new MutableDocument(e,1,t,SnapshotVersion.min(),n,r,0)}static newNoDocument(e,t){return new MutableDocument(e,2,t,SnapshotVersion.min(),SnapshotVersion.min(),ObjectValue.empty(),0)}static newUnknownDocument(e,t){return new MutableDocument(e,3,t,SnapshotVersion.min(),SnapshotVersion.min(),ObjectValue.empty(),2)}convertToFoundDocument(e,t){return!this.createTime.isEqual(SnapshotVersion.min())||2!==this.documentType&&0!==this.documentType||(this.createTime=e),this.version=e,this.documentType=1,this.data=t,this.documentState=0,this}convertToNoDocument(e){return this.version=e,this.documentType=2,this.data=ObjectValue.empty(),this.documentState=0,this}convertToUnknownDocument(e){return this.version=e,this.documentType=3,this.data=ObjectValue.empty(),this.documentState=2,this}setHasCommittedMutations(){return this.documentState=2,this}setHasLocalMutations(){return this.documentState=1,this.version=SnapshotVersion.min(),this}setReadTime(e){return this.readTime=e,this}get hasLocalMutations(){return 1===this.documentState}get hasCommittedMutations(){return 2===this.documentState}get hasPendingWrites(){return this.hasLocalMutations||this.hasCommittedMutations}isValidDocument(){return 0!==this.documentType}isFoundDocument(){return 1===this.documentType}isNoDocument(){return 2===this.documentType}isUnknownDocument(){return 3===this.documentType}isEqual(e){return e instanceof MutableDocument&&this.key.isEqual(e.key)&&this.version.isEqual(e.version)&&this.documentType===e.documentType&&this.documentState===e.documentState&&this.data.isEqual(e.data)}mutableCopy(){return new MutableDocument(this.key,this.documentType,this.version,this.readTime,this.createTime,this.data.clone(),this.documentState)}toString(){return`Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {createTime: ${this.createTime}}), {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`}}class Bound{constructor(e,t){this.position=e,this.inclusive=t}}function Id(e,t,n){let r=0;for(let i=0;i<e.position.length;i++){const s=t[i],o=e.position[i];if(r=s.field.isKeyField()?DocumentKey.comparator(DocumentKey.fromName(o.referenceValue),n.key):dd(o,n.data.field(s.field)),"desc"===s.dir&&(r*=-1),0!==r)break}return r}function kd(e,t){if(null===e)return null===t;if(null===t)return!1;if(e.inclusive!==t.inclusive||e.position.length!==t.position.length)return!1;for(let n=0;n<e.position.length;n++)if(!ud(e.position[n],t.position[n]))return!1;return!0}class OrderBy{constructor(e,t="asc"){this.field=e,this.dir=t}}function Pd(e,t){return e.dir===t.dir&&e.field.isEqual(t.field)}class Filter{}class FieldFilter extends Filter{constructor(e,t,n){super(),this.field=e,this.op=t,this.value=n}static create(e,t,n){return e.isKeyField()?"in"===t||"not-in"===t?this.createKeyFieldInFilter(e,t,n):new __PRIVATE_KeyFieldFilter(e,t,n):"array-contains"===t?new __PRIVATE_ArrayContainsFilter(e,n):"in"===t?new __PRIVATE_InFilter(e,n):"not-in"===t?new __PRIVATE_NotInFilter(e,n):"array-contains-any"===t?new __PRIVATE_ArrayContainsAnyFilter(e,n):new FieldFilter(e,t,n)}static createKeyFieldInFilter(e,t,n){return"in"===t?new __PRIVATE_KeyFieldInFilter(e,n):new __PRIVATE_KeyFieldNotInFilter(e,n)}matches(e){const t=e.data.field(this.field);return"!="===this.op?null!==t&&this.matchesComparison(dd(t,this.value)):null!==t&&cd(this.value)===cd(t)&&this.matchesComparison(dd(t,this.value))}matchesComparison(e){switch(this.op){case"<":return e<0;case"<=":return e<=0;case"==":return 0===e;case"!=":return 0!==e;case">":return e>0;case">=":return e>=0;default:return Wu()}}isInequality(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}getFlattenedFilters(){return[this]}getFilters(){return[this]}}class CompositeFilter extends Filter{constructor(e,t){super(),this.filters=e,this.op=t,this.ce=null}static create(e,t){return new CompositeFilter(e,t)}matches(e){return Nd(this)?void 0===this.filters.find((t=>!t.matches(e))):void 0!==this.filters.find((t=>t.matches(e)))}getFlattenedFilters(){return null!==this.ce||(this.ce=this.filters.reduce(((e,t)=>e.concat(t.getFlattenedFilters())),[])),this.ce}getFilters(){return Object.assign([],this.filters)}}function Nd(e){return"and"===e.op}function Rd(e){return Od(e)&&Nd(e)}function Od(e){for(const t of e.filters)if(t instanceof CompositeFilter)return!1;return!0}function Dd(e){if(e instanceof FieldFilter)return e.field.canonicalString()+e.op.toString()+md(e.value);if(Rd(e))return e.filters.map((e=>Dd(e))).join(",");{const t=e.filters.map((e=>Dd(e))).join(",");
1return`${e.op}(${t})`}}function Fd(e,t){return e instanceof FieldFilter?function(e,t){return t instanceof FieldFilter&&e.op===t.op&&e.field.isEqual(t.field)&&ud(e.value,t.value)}(e,t):e instanceof CompositeFilter?function(e,t){return t instanceof CompositeFilter&&e.op===t.op&&e.filters.length===t.filters.length&&e.filters.reduce(((e,n,r)=>e&&Fd(n,t.filters[r])),!0)}(e,t):void Wu()}function Ld(e){return e instanceof FieldFilter?function(e){return`${e.field.canonicalString()} ${e.op} ${md(e.value)}`}(e):e instanceof CompositeFilter?function(e){return e.op.toString()+" {"+e.getFilters().map(Ld).join(" ,")+"}"}(e):"Filter"}class __PRIVATE_KeyFieldFilter extends FieldFilter{constructor(e,t,n){super(e,t,n),this.key=DocumentKey.fromName(n.referenceValue)}matches(e){const t=DocumentKey.comparator(e.key,this.key);return this.matchesComparison(t)}}class __PRIVATE_KeyFieldInFilter extends FieldFilter{constructor(e,t){super(e,"in",t),this.keys=jd("in",t)}matches(e){return this.keys.some((t=>t.isEqual(e.key)))}}class __PRIVATE_KeyFieldNotInFilter extends FieldFilter{constructor(e,t){super(e,"not-in",t),this.keys=jd("not-in",t)}matches(e){return!this.keys.some((t=>t.isEqual(e.key)))}}function jd(e,t){var n;return((null===(n=t.arrayValue)||void 0===n?void 0:n.values)||[]).map((e=>DocumentKey.fromName(e.referenceValue)))}class __PRIVATE_ArrayContainsFilter extends FieldFilter{constructor(e,t){super(e,"array-contains",t)}matches(e){const t=e.data.field(this.field);return bd(t)&&hd(t.arrayValue,this.value)}}class __PRIVATE_InFilter extends FieldFilter{constructor(e,t){super(e,"in",t)}matches(e){const t=e.data.field(this.field);return null!==t&&hd(this.value.arrayValue,t)}}class __PRIVATE_NotInFilter extends FieldFilter{constructor(e,t){super(e,"not-in",t)}matches(e){if(hd(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;const t=e.data.field(this.field);return null!==t&&!hd(this.value.arrayValue,t)}}class __PRIVATE_ArrayContainsAnyFilter extends FieldFilter{constructor(e,t){super(e,"array-contains-any",t)}matches(e){const t=e.data.field(this.field);return!(!bd(t)||!t.arrayValue.values)&&t.arrayValue.values.some((e=>hd(this.value.arrayValue,e)))}}class __PRIVATE_TargetImpl{constructor(e,t=null,n=[],r=[],i=null,s=null,o=null){this.path=e,this.collectionGroup=t,this.orderBy=n,this.filters=r,this.limit=i,this.startAt=s,this.endAt=o,this.le=null}}function Md(e,t=null,n=[],r=[],i=null,s=null,o=null){return new __PRIVATE_TargetImpl(e,t,n,r,i,s,o)}function Ud(e){const t=Ku(e);if(null===t.le){let e=t.path.canonicalString();null!==t.collectionGroup&&(e+="|cg:"+t.collectionGroup),e+="|f:",e+=t.filters.map((e=>Dd(e))).join(","),e+="|ob:",e+=t.orderBy.map((e=>function(e){return e.field.canonicalString()+e.dir}(e))).join(","),fh(t.limit)||(e+="|l:",e+=t.limit),t.startAt&&(e+="|lb:",e+=t.startAt.inclusive?"b:":"a:",e+=t.startAt.position.map((e=>md(e))).join(",")),t.endAt&&(e+="|ub:",e+=t.endAt.inclusive?"a:":"b:",e+=t.endAt.position.map((e=>md(e))).join(",")),t.le=e}return t.le}function Vd(e,t){if(e.limit!==t.limit)return!1;if(e.orderBy.length!==t.orderBy.length)return!1;for(let n=0;n<e.orderBy.length;n++)if(!Pd(e.orderBy[n],t.orderBy[n]))return!1;if(e.filters.length!==t.filters.length)return!1;for(let n=0;n<e.filters.length;n++)if(!Fd(e.filters[n],t.filters[n]))return!1;return e.collectionGroup===t.collectionGroup&&!!e.path.isEqual(t.path)&&!!kd(e.startAt,t.startAt)&&kd(e.endAt,t.endAt)}function Bd(e){return DocumentKey.isDocumentKey(e.path)&&null===e.collectionGroup&&0===e.filters.length}class __PRIVATE_QueryImpl{constructor(e,t=null,n=[],r=[],i=null,s="F",o=null,a=null){this.path=e,this.collectionGroup=t,this.explicitOrderBy=n,this.filters=r,this.limit=i,this.limitType=s,this.startAt=o,this.endAt=a,this.he=null,this.Pe=null,this.Te=null,this.startAt,this.endAt}}function $d(e,t,n,r,i,s,o,a){return new __PRIVATE_QueryImpl(e,t,n,r,i,s,o,a)}function zd(e){return new __PRIVATE_QueryImpl(e)}function Hd(e){return 0===e.filters.length&&null===e.limit&&null==e.startAt&&null==e.endAt&&(0===e.explicitOrderBy.length||1===e.explicitOrderBy.length&&e.explicitOrderBy[0].field.isKeyField())}function Wd(e){return null!==e.collectionGroup}function qd(e){const t=Ku(e);if(null===t.he){t.he=[];const e=new Set;for(const i of t.explicitOrderBy)t.he.push(i),e.add(i.field.canonicalString());const n=t.explicitOrderBy.length>0?t.explicitOrderBy[t.explicitOrderBy.length-1].dir:"asc",r=function(e){let t=new SortedSet(FieldPath$1.comparator);
vendor: 6,313 bytes, line 1
1return e.filters.forEach((e=>{e.getFlattenedFilters().forEach((e=>{e.isInequality()&&(t=t.add(e.field))}))})),t}(t);r.forEach((r=>{e.has(r.canonicalString())||r.isKeyField()||t.he.push(new OrderBy(r,n))})),e.has(FieldPath$1.keyField().canonicalString())||t.he.push(new OrderBy(FieldPath$1.keyField(),n))}return t.he}function Kd(e){const t=Ku(e);return t.Pe||(t.Pe=Gd(t,qd(e))),t.Pe}function Gd(e,t){if("F"===e.limitType)return Md(e.path,e.collectionGroup,t,e.filters,e.limit,e.startAt,e.endAt);{t=t.map((e=>{const t="desc"===e.dir?"asc":"desc";return new OrderBy(e.field,t)}));const n=e.endAt?new Bound(e.endAt.position,e.endAt.inclusive):null,r=e.startAt?new Bound(e.startAt.position,e.startAt.inclusive):null;return Md(e.path,e.collectionGroup,t,e.filters,e.limit,n,r)}}function Qd(e,t){const n=e.filters.concat([t]);return new __PRIVATE_QueryImpl(e.path,e.collectionGroup,e.explicitOrderBy.slice(),n,e.limit,e.limitType,e.startAt,e.endAt)}function Xd(e,t,n){return new __PRIVATE_QueryImpl(e.path,e.collectionGroup,e.explicitOrderBy.slice(),e.filters.slice(),t,n,e.startAt,e.endAt)}function Yd(e,t){return Vd(Kd(e),Kd(t))&&e.limitType===t.limitType}function Jd(e){return`${Ud(Kd(e))}|lt:${e.limitType}`}function Zd(e){return`Query(target=${function(e){let t=e.path.canonicalString();return null!==e.collectionGroup&&(t+=" collectionGroup="+e.collectionGroup),e.filters.length>0&&(t+=`, filters: [${e.filters.map((e=>Ld(e))).join(", ")}]`),fh(e.limit)||(t+=", limit: "+e.limit),e.orderBy.length>0&&(t+=`, orderBy: [${e.orderBy.map((e=>function(e){return`${e.field.canonicalString()} (${e.dir})`}(e))).join(", ")}]`),e.startAt&&(t+=", startAt: ",t+=e.startAt.inclusive?"b:":"a:",t+=e.startAt.position.map((e=>md(e))).join(",")),e.endAt&&(t+=", endAt: ",t+=e.endAt.inclusive?"a:":"b:",t+=e.endAt.position.map((e=>md(e))).join(",")),`Target(${t})`}(Kd(e))}; limitType=${e.limitType})`}function ef(e,t){return t.isFoundDocument()&&function(e,t){const n=t.key.path;return null!==e.collectionGroup?t.key.hasCollectionId(e.collectionGroup)&&e.path.isPrefixOf(n):DocumentKey.isDocumentKey(e.path)?e.path.isEqual(n):e.path.isImmediateParentOf(n)}(e,t)&&function(e,t){for(const n of qd(e))if(!n.field.isKeyField()&&null===t.data.field(n.field))return!1;return!0}(e,t)&&function(e,t){for(const n of e.filters)if(!n.matches(t))return!1;return!0}(e,t)&&function(e,t){return!(e.startAt&&!function(e,t,n){const r=Id(e,t,n);return e.inclusive?r<=0:r<0}(e.startAt,qd(e),t))&&!(e.endAt&&!function(e,t,n){const r=Id(e,t,n);return e.inclusive?r>=0:r>0}(e.endAt,qd(e),t))}(e,t)}function tf(e){return e.collectionGroup||(e.path.length%2==1?e.path.lastSegment():e.path.get(e.path.length-2))}function nf(e){return(t,n)=>{let r=!1;for(const i of qd(e)){const e=rf(i,t,n);if(0!==e)return e;r=r||i.field.isKeyField()}return 0}}function rf(e,t,n){const r=e.field.isKeyField()?DocumentKey.comparator(t.key,n.key):function(e,t,n){const r=t.data.field(e),i=n.data.field(e);return null!==r&&null!==i?dd(r,i):Wu()}(e.field,t,n);switch(e.dir){case"asc":return r;case"desc":return-1*r;default:return Wu()}}class ObjectMap{constructor(e,t){this.mapKeyFn=e,this.equalsFn=t,this.inner={},this.innerSize=0}get(e){const t=this.mapKeyFn(e),n=this.inner[t];if(void 0!==n)for(const[r,i]of n)if(this.equalsFn(r,e))return i}has(e){return void 0!==this.get(e)}set(e,t){const n=this.mapKeyFn(e),r=this.inner[n];if(void 0===r)return this.inner[n]=[[e,t]],void this.innerSize++;for(let i=0;i<r.length;i++)if(this.equalsFn(r[i][0],e))return void(r[i]=[e,t]);r.push([e,t]),this.innerSize++}delete(e){const t=this.mapKeyFn(e),n=this.inner[t];if(void 0===n)return!1;for(let r=0;r<n.length;r++)if(this.equalsFn(n[r][0],e))return 1===n.length?delete this.inner[t]:n.splice(r,1),this.innerSize--,!0;return!1}forEach(e){Hh(this.inner,((t,n)=>{for(const[r,i]of n)e(r,i)}))}isEmpty(){return Wh(this.inner)}size(){return this.innerSize}}const sf=new index_esm2017_SortedMap(DocumentKey.comparator);function of(){return sf}const af=new index_esm2017_SortedMap(DocumentKey.comparator);function lf(...e){let t=af;for(const n of e)t=t.insert(n.key,n);return t}function cf(e){let t=af;return e.forEach(((e,n)=>t=t.insert(e,n.overlayedDocument))),t}function uf(){return df()}function hf(){return df()}function df(){return new ObjectMap((e=>e.toString()),((e,t)=>e.isEqual(t)))}const ff=new index_esm2017_SortedMap(DocumentKey.comparator),pf=new SortedSet(DocumentKey.comparator);function mf(...e){let t=pf;for(const n of e)t=t.add(n);return t}const gf=new SortedSet(Yu);function _f(){return gf}function vf(e,t){if(e.useProto3Json){if(isNaN(t))return{doubleValue:"NaN"};if(t===1/0)return{doubleValue:"Infinity"};if(t===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:ph(t)?"-0":t}}function yf(e){return{integerValue:""+e}}function bf(e,t){return mh(t)?yf(t):vf(e,t)}class TransformOperation{constructor(){this._=void 0}}function wf(e,t,n){return e instanceof __PRIVATE_ServerTimestampTransform?function(e,t){const n={fields:{[Yh]:{stringValue:Xh},[Zh]:{timestampValue:{seconds:e.seconds,nanos:e.nanoseconds}}}};return t&&ed(t)&&(t=td(t)),t&&(n.fields[Jh]=t),{mapValue:n}}(n,t):e instanceof __PRIVATE_ArrayUnionTransformOperation?Tf(e,t):e instanceof __PRIVATE_ArrayRemoveTransformOperation?Cf(e,t):function(e,t){const n=Sf(e,t),r=xf(n)+xf(e.Ie);return yd(n)&&yd(e.Ie)?yf(r):vf(e.serializer,r)}(e,t)}function Ef(e,t,n){return e instanceof __PRIVATE_ArrayUnionTransformOperation?Tf(e,t):e instanceof __PRIVATE_ArrayRemoveTransformOperation?Cf(e,t):n}function Sf(e,t){return e instanceof __PRIVATE_NumericIncrementTransformOperation?function(e){return yd(e)||function(e){return!!e&&"doubleValue"in e}(e)}(t)?t:{integerValue:0}:null}class __PRIVATE_ServerTimestampTransform extends TransformOperation{}class __PRIVATE_ArrayUnionTransformOperation extends TransformOperation{constructor(e){super(),this.elements=e}}function Tf(e,t){const n=Af(t);for(const r of e.elements)n.some((e=>ud(e,r)))||n.push(r);return{arrayValue:{values:n}}}class __PRIVATE_ArrayRemoveTransformOperation extends TransformOperation{constructor(e){super(),this.elements=e}}function Cf(e,t){let n=Af(t);for(const r of e.elements)n=n.filter((e=>!ud(e,r)));return{arrayValue:{values:n}}}class __PRIVATE_NumericIncrementTransformOperation extends TransformOperation{constructor(e,t){super(),this.serializer
1=e,this.Ie=t}}function xf(e){return Gh(e.integerValue||e.doubleValue)}function Af(e){return bd(e)&&e.arrayValue.values?e.arrayValue.values.slice():[]}class FieldTransform{constructor(e,t){this.field=e,this.transform=t}}class MutationResult{constructor(e,t){this.version=e,this.transformResults=t}}class Precondition{constructor(e,t){this.updateTime=e,this.exists=t}static none(){return new Precondition}static exists(e){return new Precondition(void 0,e)}static updateTime(e){return new Precondition(e)}get isNone(){return void 0===this.updateTime&&void 0===this.exists}isEqual(e){return this.exists===e.exists&&(this.updateTime?!!e.updateTime&&this.updateTime.isEqual(e.updateTime):!e.updateTime)}}function If(e,t){return void 0!==e.updateTime?t.isFoundDocument()&&t.version.isEqual(e.updateTime):void 0===e.exists||e.exists===t.isFoundDocument()}class Mutation{}function kf(e,t){if(!e.hasLocalMutations||t&&0===t.fields.length)return null;if(null===t)return e.isNoDocument()?new __PRIVATE_DeleteMutation(e.key,Precondition.none()):new __PRIVATE_SetMutation(e.key,e.data,Precondition.none());{const n=e.data,r=ObjectValue.empty();let i=new SortedSet(FieldPath$1.comparator);for(let e of t.fields)if(!i.has(e)){let t=n.field(e);null===t&&e.length>1&&(e=e.popLast(),t=n.field(e)),null===t?r.delete(e):r.set(e,t),i=i.add(e)}return new __PRIVATE_PatchMutation(e.key,r,new FieldMask(i.toArray()),Precondition.none())}}function Pf(e,t,n){e instanceof __PRIVATE_SetMutation?function(e,t,n){const r=e.value.clone(),i=Ff(e.fieldTransforms,t,n.transformResults);r.setAll(i),t.convertToFoundDocument(n.version,r).setHasCommittedMutations()}(e,t,n):e instanceof __PRIVATE_PatchMutation?function(e,t,n){if(!If(e.precondition,t))return void t.convertToUnknownDocument(n.version);const r=Ff(e.fieldTransforms,t,n.transformResults),i=t.data;i.setAll(Df(e)),i.setAll(r),t.convertToFoundDocument(n.version,i).setHasCommittedMutations()}(e,t,n):function(e,t,n){t.convertToNoDocument(n.version).setHasCommittedMutations()}(0,t,n)}function Nf(e,t,n,r){return e instanceof __PRIVATE_SetMutation?function(e,t,n,r){if(!If(e.precondition,t))return n;const i=e.value.clone(),s=Lf(e.fieldTransforms,r,t);return i.setAll(s),t.convertToFoundDocument(t.version,i).setHasLocalMutations(),null}(e,t,n,r):e instanceof __PRIVATE_PatchMutation?function(e,t,n,r){if(!If(e.precondition,t))return n;const i=Lf(e.fieldTransforms,r,t),s=t.data;return s.setAll(Df(e)),s.setAll(i),t.convertToFoundDocument(t.version,s).setHasLocalMutations(),null===n?null:n.unionWith(e.fieldMask.fields).unionWith(e.fieldTransforms.map((e=>e.field)))}(e,t,n,r):function(e,t,n){return If(e.precondition,t)?(t.convertToNoDocument(t.version).setHasLocalMutations(),null):n}(e,t,n)}function Rf(e,t){let n=null;for(const r of e.fieldTransforms){const e=t.data.field(r.field),i=Sf(r.transform,e||null);null!=i&&(null===n&&(n=ObjectValue.empty()),n.set(r.field,i))}return n||null}function Of(e,t){return e.type===t.type&&!!e.key.isEqual(t.key)&&!!e.precondition.isEqual(t.precondition)&&!!function(e,t){return void 0===e&&void 0===t||!(!e||!t)&&Zu(e,t,((e,t)=>function(e,t){return e.field.isEqual(t.field)&&function(e,t){return e instanceof __PRIVATE_ArrayUnionTransformOperation&&t instanceof __PRIVATE_ArrayUnionTransformOperation||e instanceof __PRIVATE_ArrayRemoveTransformOperation&&t instanceof __PRIVATE_ArrayRemoveTransformOperation?Zu(e.elements,t.elements,ud):e instanceof __PRIVATE_NumericIncrementTransformOperation&&t instanceof __PRIVATE_NumericIncrementTransformOperation?ud(e.Ie,t.Ie):e instanceof __PRIVATE_ServerTimestampTransform&&t instanceof __PRIVATE_ServerTimestampTransform}(e.transform,t.transform)}(e,t)))}(e.fieldTransforms,t.fieldTransforms)&&(0===e.type?e.value.isEqual(t.value):1!==e.type||e.data.isEqual(t.data)&&e.fieldMask.isEqual(t.fieldMask))}class __PRIVATE_SetMutation extends Mutation{constructor(e,t,n,r=[]){super(),this.key=e,this.value=t,this.precondition=n,this.fieldTransforms=r,this.type=0}getFieldMask(){return null}}class __PRIVATE_PatchMutation extends Mutation{constructor(e,t,n,r,i=[]){super(),this.key=e,this.data=t,this.fieldMask=n,this.prec
vendor: 4,339 bytes, line 1
1ondition=r,this.fieldTransforms=i,this.type=1}getFieldMask(){return this.fieldMask}}function Df(e){const t=new Map;return e.fieldMask.fields.forEach((n=>{if(!n.isEmpty()){const r=e.data.field(n);t.set(n,r)}})),t}function Ff(e,t,n){const r=new Map;qu(e.length===n.length);for(let i=0;i<n.length;i++){const s=e[i],o=s.transform,a=t.data.field(s.field);r.set(s.field,Ef(o,a,n[i]))}return r}function Lf(e,t,n){const r=new Map;for(const i of e){const e=i.transform,s=n.data.field(i.field);r.set(i.field,wf(e,s,t))}return r}class __PRIVATE_DeleteMutation extends Mutation{constructor(e,t){super(),this.key=e,this.precondition=t,this.type=2,this.fieldTransforms=[]}getFieldMask(){return null}}class __PRIVATE_VerifyMutation extends Mutation{constructor(e,t){super(),this.key=e,this.precondition=t,this.type=3,this.fieldTransforms=[]}getFieldMask(){return null}}class MutationBatch{constructor(e,t,n,r){this.batchId=e,this.localWriteTime=t,this.baseMutations=n,this.mutations=r}applyToRemoteDocument(e,t){const n=t.mutationResults;for(let r=0;r<this.mutations.length;r++){const t=this.mutations[r];t.key.isEqual(e.key)&&Pf(t,e,n[r])}}applyToLocalView(e,t){for(const n of this.baseMutations)n.key.isEqual(e.key)&&(t=Nf(n,e,t,this.localWriteTime));for(const n of this.mutations)n.key.isEqual(e.key)&&(t=Nf(n,e,t,this.localWriteTime));return t}applyToLocalDocumentSet(e,t){const n=hf();return this.mutations.forEach((r=>{const i=e.get(r.key),s=i.overlayedDocument;let o=this.applyToLocalView(s,i.mutatedFields);o=t.has(r.key)?null:o;const a=kf(s,o);null!==a&&n.set(r.key,a),s.isValidDocument()||s.convertToNoDocument(SnapshotVersion.min())})),n}keys(){return this.mutations.reduce(((e,t)=>e.add(t.key)),mf())}isEqual(e){return this.batchId===e.batchId&&Zu(this.mutations,e.mutations,((e,t)=>Of(e,t)))&&Zu(this.baseMutations,e.baseMutations,((e,t)=>Of(e,t)))}}class MutationBatchResult{constructor(e,t,n,r){this.batch=e,this.commitVersion=t,this.mutationResults=n,this.docVersions=r}static from(e,t,n){qu(e.mutations.length===n.length);let r=ff;const i=e.mutations;for(let s=0;s<i.length;s++)r=r.insert(i[s].key,n[s].version);return new MutationBatchResult(e,t,n,r)}}class Overlay{constructor(e,t){this.largestBatchId=e,this.mutation=t}getKey(){return this.mutation.key}isEqual(e){return null!==e&&this.mutation===e.mutation}toString(){return`Overlay{\n largestBatchId: ${this.largestBatchId},\n mutation: ${this.mutation.toString()}\n }`}}class ExistenceFilter{constructor(e,t){this.count=e,this.unchangedNames=t}}var jf,Mf;function Uf(e){switch(e){case Gu.OK:return Wu();case Gu.CANCELLED:case Gu.UNKNOWN:case Gu.DEADLINE_EXCEEDED:case Gu.RESOURCE_EXHAUSTED:case Gu.INTERNAL:case Gu.UNAVAILABLE:case Gu.UNAUTHENTICATED:return!1;case Gu.INVALID_ARGUMENT:case Gu.NOT_FOUND:case Gu.ALREADY_EXISTS:case Gu.PERMISSION_DENIED:case Gu.FAILED_PRECONDITION:case Gu.ABORTED:case Gu.OUT_OF_RANGE:case Gu.UNIMPLEMENTED:case Gu.DATA_LOSS:return!0;default:return Wu()}}function Vf(e){if(void 0===e)return $u("GRPC error has no .code"),Gu.UNKNOWN;switch(e){case jf.OK:return Gu.OK;case jf.CANCELLED:return Gu.CANCELLED;case jf.UNKNOWN:return Gu.UNKNOWN;case jf.DEADLINE_EXCEEDED:return Gu.DEADLINE_EXCEEDED;case jf.RESOURCE_EXHAUSTED:return Gu.RESOURCE_EXHAUSTED;case jf.INTERNAL:return Gu.INTERNAL;case jf.UNAVAILABLE:return Gu.UNAVAILABLE;case jf.UNAUTHENTICATED:return Gu.UNAUTHENTICATED;case jf.INVALID_ARGUMENT:return Gu.INVALID_ARGUMENT;case jf.NOT_FOUND:return Gu.NOT_FOUND;case jf.ALREADY_EXISTS:return Gu.ALREADY_EXISTS;case jf.PERMISSION_DENIED:return Gu.PERMISSION_DENIED;case jf.FAILED_PRECONDITION:return Gu.FAILED_PRECONDITION;case jf.ABORTED:return Gu.ABORTED;case jf.OUT_OF_RANGE:return Gu.OUT_OF_RANGE;case jf.UNIMPLEMENTED:return Gu.UNIMPLEMENTED;case jf.DATA_LOSS:return Gu.DATA_LOSS;default:return Wu()}}(Mf=jf||(jf={}))[Mf.OK=0]="OK",Mf[Mf.CANCELLED=1]="CANCELLED",Mf[Mf.UNKNOWN=2]="UNKNOWN",Mf[Mf.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",Mf[Mf.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",Mf[Mf.NOT_FOUND=5]="NOT_FOUND",Mf[Mf.ALREADY_EXISTS=6]="ALREADY_EXISTS",Mf[Mf.PERMISSION_DENIED=7]="PERMISSION_DENIED",Mf[Mf.UNAUTHENTICATED=16]="UNAUTHENTICATED",Mf[Mf.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",Mf[Mf.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",Mf[Mf.ABORTED=10]="ABORTED",Mf[Mf.OUT_OF_RANGE=11]="OUT_OF_RANGE",Mf[Mf.UNIMPLEMENT
1ED=12]="UNIMPLEMENTED",Mf[Mf.INTERNAL=13]="INTERNAL",Mf[Mf.UNAVAILABLE=14]="UNAVAILABLE",Mf[Mf.DATA_LOSS=15]="DATA_LOSS";let Bf=null;const $f=new Eu([4294967295,4294967295],0);function zf(e){const t=Xu().encode(e),n=new Su;return n.update(t),new Uint8Array(n.digest())}function Hf(e){const t=new DataView(e.buffer),n=t.getUint32(0,!0),r=t.getUint32(4,!0),i=t.getUint32(8,!0),s=t.getUint32(12,!0);return[new Eu([n,r],0),new Eu([i,s],0)]}class BloomFilter{constructor(e,t,n){if(this.bitmap=e,this.padding=t,this.hashCount=n,t<0||t>=8)throw new __PRIVATE_BloomFilterError(`Invalid padding: ${t}`);if(n<0)throw new __PRIVATE_BloomFilterError(`Invalid hash count: ${n}`);if(e.length>0&&0===this.hashCount)throw new __PRIVATE_BloomFilterError(`Invalid hash count: ${n}`);if(0===e.length&&0!==t)throw new __PRIVATE_BloomFilterError(`Invalid padding when bitmap length is 0: ${t}`);this.Ee=8*e.length-t,this.de=Eu.fromNumber(this.Ee)}Ae(e,t,n){let r=e.add(t.multiply(Eu.fromNumber(n)));return 1===r.compare($f)&&(r=new Eu([r.getBits(0),r.getBits(1)],0)),r.modulo(this.de).toNumber()}Re(e){return!!(this.bitmap[Math.floor(e/8)]&1<<e%8)}mightContain(e){if(0===this.Ee)return!1;const t=zf(e),[n,r]=Hf(t);for(let i=0;i<this.hashCount;i++){const e=this.Ae(n,r,i);if(!this.Re(e))return!1}return!0}static create(e,t,n){const r=e%8==0?0:8-e%8,i=new Uint8Array(Math.ceil(e/8)),s=new BloomFilter(i,r,t);return n.forEach((e=>s.insert(e))),s}insert(e){if(0===this.Ee)return;const t=zf(e),[n,r]=Hf(t);for(let i=0;i<this.hashCount;i++){const e=this.Ae(n,r,i);this.Ve(e)}}Ve(e){const t=Math.floor(e/8),n=e%8;this.bitmap[t]|=1<<n}}class __PRIVATE_BloomFilterError extends Error{constructor(){super(...arguments),this.name="BloomFilterError"}}class RemoteEvent{constructor(e,t,n,r,i){this.snapshotVersion=e,this.targetChanges=t,this.targetMismatches=n,this.documentUpdates=r,this.resolvedLimboDocuments=i}static createSynthesizedRemoteEventForCurrentChange(e,t,n){const r=new Map;return r.set(e,TargetChange.createSynthesizedTargetChangeForCurrentChange(e,t,n)),new RemoteEvent(SnapshotVersion.min(),r,new index_esm2017_SortedMap(Yu),of(),mf())}}class TargetChange{constructor(e,t,n,r,i){this.resumeToken=e,this.current=t,this.addedDocuments=n,this.modifiedDocuments=r,this.removedDocuments=i}static createSynthesizedTargetChangeForCurrentChange(e,t,n){return new TargetChange(n,t,mf(),mf(),mf())}}class __PRIVATE_DocumentWatchChange{constructor(e,t,n,r){this.me=e,this.removedTargetIds=t,this.key=n,this.fe=r}}class __PRIVATE_ExistenceFilterChange{constructor(e,t){this.targetId=e,this.ge=t}}class __PRIVATE_WatchTargetChange{constructor(e,t,n=ByteString.EMPTY_BYTE_STRING,r=null){this.state=e,this.targetIds=t,this.resumeToken=n,this.cause=r}}class __PRIVATE_TargetState{constructor(){this.pe=0,this.ye=qf(),this.we=ByteString.EMPTY_BYTE_STRING,this.Se=!1,this.be=!0}get current(){return this.Se}get resumeToken(){return this.we}get De(){return 0!==this.pe}get ve(){return this.be}Ce(e){e.approximateByteSize()>0&&(this.be=!0,this.we=e)}Fe(){let e=mf(),t=mf(),n=mf();return this.ye.forEach(((r,i)=>{switch(i){case 0:e=e.add(r);break;case 2:t=t.add(r);break;case 1:n=n.add(r);break;default:Wu()}})),new TargetChange(this.we,this.Se,e,t,n)}Me(){this.be=!1,this.ye=qf()}xe(e,t){this.be=!0,this.ye=this.ye.insert(e,t)}Oe(e){this.be=!0,this.ye=this.ye.remove(e)}Ne(){this.pe+=1}Be(){this.pe-=1,qu(this.pe>=0)}Le(){this.be=!0,this.Se=!0}}class __PRIVATE_WatchChangeAggregator{constructor(e){this.ke=e,this.qe=new Map,this.Qe=of(),this.$e=Wf(),this.Ue=Wf(),this.Ke=new index_esm2017_SortedMap(Yu)}We(e){for(const t of e.me)e.fe&&e.fe.isFoundDocument()?this.Ge(t,e.fe):this.ze(t,e.key,e.fe);for(const t of e.removedTargetIds)this.ze(t,e.key,e.fe)}je(e){this.forEachTarget(e,(t=>{const n=this.He(t);switch(e.state){case 0:this.Je(t)&&n.Ce(e.resumeToken);break;case 1:n.Be(),n.De||n.Me(),n.Ce(e.resumeToken);break;case 2:n.Be(),n.De||this.removeTarget(t);break;case 3:this.Je(t)&&(n.Le(),n.Ce(e.resumeToken));break;case 4:this.Je(t)&&(this.Ye(t),n.Ce(e.resumeToken));break;default:Wu()}}))}forEachTarget(e,t){e.targetIds.length>0?e.targetIds.forEach(t):this.qe.forEach(((e,n)=>{this.Je(n)&&t(n)}))}Ze(e){const t=e.targetId,n=e.ge.count,r=this.Xe(t);if(r){const i=r.target;if(Bd(i))if(0===n){const e=new DocumentKey(i.path);this.ze(t,e,MutableDocument.newNoDocument(e,SnapshotVersion.min()))}else qu(1===n);else{const r=this.et(t);if(r!==n){const n=this.tt(e),i=n?this.nt(n,e,r):1;if(0!==i){this.Ye(t);const e=2===i?"TargetPurposeExistenceFilterMismatchBloom":"TargetPurposeExistenceFilterMismatch";this.Ke=this.Ke.insert(t,e)}null==Bf||Bf.rt(function(e,t,n,r,i){var s,o,a,l,c,u;const h={localCacheCount:e,existenceFilterCount:t.count,databaseId:n.database,projectId:n.projectId},d=t.unchangedNames;return d&&(h.bloomFilter={applied:0===i,hashCount:null!==(s=null==d?void 0:d.hashCount)&&void 0!==s?s:0,bitmapLength:null!==(l=null===(a=null===(o=null==d?void 0:d.bits)||void 0===o?void 0:o.bitmap)||void 0===a?void 0:a.length)&&void 0!==l?l:0,padding:null!==(u=null===(c=null==d?void 0:d.bits)||void 0===c?void 0:c.padding)&&void 0!==u?u:0,mightContain:e=>{var t;return null!==(t=null==r?void 0:r.mightContain(e))&&void 0!==t&&t}}),h}(r,e.ge,this.ke.it(),n,i))}}}}tt(e){const t=e.ge.unchangedNames;if(!t||!t.bits)return null;const{bits:{bitmap:n="",padding:r=0},hashCount:i=0}=t;let s,o;try{s=Qh(n).toUint8Array()}catch(e){if(e instanceof __PRIVATE_Base64DecodeError)return zu("Decoding the base64 bloom filter in existence filter failed ("+e.message+"); ignoring the bloom filter and falling back to full re-query."),null;throw e}try{o=new BloomFilter(s,r,i)}catch(e){return zu(e instanceof __PRIVATE_BloomFilterError?"BloomFilter error: ":"Applying bloom filter failed: ",e),null}return 0===o.Ee?null:o}nt(e,t,n){return t.ge.count===n-this.st(e,t.targetId)?0:2}st(e,t){const n=this.ke.getRemoteKeysForTarget(t);let r=0;
1return n.forEach((n=>{const i=this.ke.it(),s=`projects/${i.projectId}/databases/${i.database}/documents/${n.path.canonicalString()}`;e.mightContain(s)||(this.ze(t,n,null),r++)})),r}ot(e){const t=new Map;this.qe.forEach(((n,r)=>{const i=this.Xe(r);if(i){if(n.current&&Bd(i.target)){const t=new DocumentKey(i.target.path);this._t(t).has(r)||this.ut(r,t)||this.ze(r,t,MutableDocument.newNoDocument(t,e))}n.ve&&(t.set(r,n.Fe()),n.Me())}}));let n=mf();this.Ue.forEach(((e,t)=>{let r=!0;t.forEachWhile((e=>{const t=this.Xe(e);return!t||"TargetPurposeLimboResolution"===t.purpose||(r=!1,!1)})),r&&(n=n.add(e))})),this.Qe.forEach(((t,n)=>n.setReadTime(e)));const r=new RemoteEvent(e,t,this.Ke,this.Qe,n);return this.Qe=of(),this.$e=Wf(),this.Ue=Wf(),this.Ke=new index_esm2017_SortedMap(Yu),r}Ge(e,t){if(!this.Je(e))return;const n=this.ut(e,t.key)?2:0;this.He(e).xe(t.key,n),this.Qe=this.Qe.insert(t.key,t),this.$e=this.$e.insert(t.key,this._t(t.key).add(e)),this.Ue=this.Ue.insert(t.key,this.ct(t.key).add(e))}ze(e,t,n){if(!this.Je(e))return;const r=this.He(e);this.ut(e,t)?r.xe(t,1):r.Oe(t),this.Ue=this.Ue.insert(t,this.ct(t).delete(e)),this.Ue=this.Ue.insert(t,this.ct(t).add(e)),n&&(this.Qe=this.Qe.insert(t,n))}removeTarget(e){this.qe.delete(e)}et(e){const t=this.He(e).Fe();return this.ke.getRemoteKeysForTarget(e).size+t.addedDocuments.size-t.removedDocuments.size}Ne(e){this.He(e).Ne()}He(e){let t=this.qe.get(e);return t||(t=new __PRIVATE_TargetState,this.qe.set(e,t)),t}ct(e){let t=this.Ue.get(e);return t||(t=new SortedSet(Yu),this.Ue=this.Ue.insert(e,t)),t}_t(e){let t=this.$e.get(e);return t||(t=new SortedSet(Yu),this.$e=this.$e.insert(e,t)),t}Je(e){const t=null!==this.Xe(e);return t||Bu("WatchChangeAggregator","Detected inactive target",e),t}Xe(e){const t=this.qe.get(e);return t&&t.De?null:this.ke.lt(e)}Ye(e){this.qe.set(e,new __PRIVATE_TargetState),this.ke.getRemoteKeysForTarget(e).forEach((t=>{this.ze(e,t,null)}))}ut(e,t){return this.ke.getRemoteKeysForTarget(e).has(t)}}function Wf(){return new index_esm2017_SortedMap(DocumentKey.comparator)}function qf(){return new index_esm2017_SortedMap(DocumentKey.comparator)}const Kf={asc:"ASCENDING",desc:"DESCENDING"},Gf={"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},Qf={and:"AND",or:"OR"};class JsonProtoSerializer{constructor(e,t){this.databaseId=e,this.useProto3Json=t}}function Xf(e,t){return e.useProto3Json||fh(t)?t:{value:t}}function Yf(e,t){return e.useProto3Json?`${new Date(1e3*t.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")}.${("000000000"+t.nanoseconds).slice(-9)}Z`:{seconds:""+t.seconds,nanos:t.nanoseconds}}function Jf(e,t){return e.useProto3Json?t.toBase64():t.toUint8Array()}function Zf(e,t){return Yf(e,t.toTimestamp())}function ep(e){return qu(!!e),SnapshotVersion.fromTimestamp(function(e){const t=Kh(e);return new index_esm2017_Timestamp(t.seconds,t.nanos)}(e))}function tp(e,t){return np(e,t).canonicalString()}function np(e,t){const n=function(e){return new ResourcePath(["projects",e.projectId,"databases",e.database])}(e).child("documents");return void 0===t?n:n.child(t)}function rp(e){const t=ResourcePath.fromString(e);return qu(Sp(t)),t}function ip(e,t){return tp(e.databaseId,t.path)}function sp(e,t){const n=rp(t);if(n.get(1)!==e.databaseId.projectId)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+n.get(1)+" vs "+e.databaseId.projectId);if(n.get(3)!==e.databaseId.database)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+n.get(3)+" vs "+e.databaseId.database);return new DocumentKey(cp(n))}function op(e,t){return tp(e.databaseId,t)}function ap(e){const t=rp(e);return 4===t.length?ResourcePath.emptyPath():cp(t)}function lp(e){return new ResourcePath(["projects",e.databaseId.projectId,"databases",e.databaseId.database]).canonicalString()}function cp(e){return qu(e.length>4&&"documents"===e.get(4)),e.popFirst(5)}function up(e,t,n){return{name:ip(e,t),fields:n.value.mapValue.fields}}function hp(e,t){let n;if(t instanceof __PRIVATE_SetMutation)n={update:up(e,t.key,t.value)};else if(t instanceof __PRIVATE_DeleteMutation)n={delete:ip(e,t.key)};else if(t instanceof __PRIVATE_PatchMutation)n={update:up(e,t.key,t.data),updateMask:Ep(t.fieldMask)};else{if(!(t instanceof __PRIVATE_VerifyMutation))return Wu();n={verify:ip(e,t.key)}}return t.fieldTransforms.length>0&&(n.updateTransforms=t.fieldTransforms.map((e=>function(e,t){const n=t.transform;if(n instanceof __PRIVATE_ServerTimestampTransform)return{fieldPath:t.field.canonicalString(),setToServerValue:"REQUEST_TIME"};if(n instanceof __PRIVATE_ArrayUnionTransformOperation)return{fieldPath:t.field.canonicalString(),appendMissingElements:{values:n.elements}};if(n instanceof __PRIVATE_ArrayRemoveTransformOperation)return{fieldPath:t.field.canonicalString(),removeAllFromArray:{values:n.elements}};if(n instanceof __PRIVATE_NumericIncrementTransformOperation)return{fieldPath:t.field.canonicalString(),increment:n.Ie};throw Wu()}(0,e)))),t.precondition.isNone||(n.currentDocument=function(e,t){return void 0!==t.updateTime?{updateTime:Zf(e,t.updateTime)}:void 0!==t.exists?{exists:t.exists}:Wu()}(e,t.precondition)),n}function dp(e,t){return{documents:[op(e,t.path)]}}function fp(e,t){const n={structuredQuery:{}},r=t.path;let i;null!==t.collectionGroup?(i=r,n.structuredQuery.from=[{collectionId:t.collectionGroup,allDescendants:!0}]):(i=r.popLast(),n.structuredQuery.from=[{collectionId:r.lastSegment()}]),n.parent=op(e,i);const s=function(e){if(0!==e.length)return wp(CompositeFilter.create(e,"and"))}(t.filters);s&&(n.structuredQuery.where=s);const o=function(e){if(0!==e.length)return e.map((e=>function(e){return{field:yp(e.field),direction:gp(e.dir)}}(e)))}(t.orderBy);o&&(n.structuredQuery.orderBy=o);const a=Xf(e,t.limit);return null!==a&&(n.structuredQuery.limit=a),t.startAt&&(n.structuredQuery.startAt=function(e){return{before:e.inclusive,values:e.position}}(t.startAt)),t.endAt&&(n.structuredQuery.endAt=function(e){return{before:!e.inclusive,values:e.position}}(t.endAt)),{ht:n,parent:i}}function pp(e){let t=ap(e.parent);
1const n=e.structuredQuery,r=n.from?n.from.length:0;let i=null;if(r>0){qu(1===r);const e=n.from[0];e.allDescendants?i=e.collectionId:t=t.child(e.collectionId)}let s=[];n.where&&(s=function(e){const t=mp(e);return t instanceof CompositeFilter&&Rd(t)?t.getFilters():[t]}(n.where));let o=[];n.orderBy&&(o=function(e){return e.map((e=>function(e){return new OrderBy(bp(e.field),function(e){switch(e){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(e.direction))}(e)))}(n.orderBy));let a=null;n.limit&&(a=function(e){let t;return t="object"==typeof e?e.value:e,fh(t)?null:t}(n.limit));let l=null;n.startAt&&(l=function(e){const t=!!e.before,n=e.values||[];return new Bound(n,t)}(n.startAt));let c=null;return n.endAt&&(c=function(e){const t=!e.before,n=e.values||[];return new Bound(n,t)}(n.endAt)),$d(t,i,o,s,a,"F",l,c)}function mp(e){return void 0!==e.unaryFilter?function(e){switch(e.unaryFilter.op){case"IS_NAN":const t=bp(e.unaryFilter.field);return FieldFilter.create(t,"==",{doubleValue:NaN});case"IS_NULL":const n=bp(e.unaryFilter.field);return FieldFilter.create(n,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":const r=bp(e.unaryFilter.field);return FieldFilter.create(r,"!=",{doubleValue:NaN});case"IS_NOT_NULL":const i=bp(e.unaryFilter.field);return FieldFilter.create(i,"!=",{nullValue:"NULL_VALUE"});default:return Wu()}}(e):void 0!==e.fieldFilter?function(e){return FieldFilter.create(bp(e.fieldFilter.field),function(e){switch(e){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";default:return Wu()}}(e.fieldFilter.op),e.fieldFilter.value)}(e):void 0!==e.compositeFilter?function(e){return CompositeFilter.create(e.compositeFilter.filters.map((e=>mp(e))),function(e){switch(e){case"AND":return"and";case"OR":return"or";default:return Wu()}}(e.compositeFilter.op))}(e):Wu()}function gp(e){return Kf[e]}function _p(e){return Gf[e]}function vp(e){return Qf[e]}function yp(e){return{fieldPath:e.canonicalString()}}function bp(e){return FieldPath$1.fromServerFormat(e.fieldPath)}function wp(e){return e instanceof FieldFilter?function(e){if("=="===e.op){if(Ed(e.value))return{unaryFilter:{field:yp(e.field),op:"IS_NAN"}};if(wd(e.value))return{unaryFilter:{field:yp(e.field),op:"IS_NULL"}}}else if("!="===e.op){if(Ed(e.value))return{unaryFilter:{field:yp(e.field),op:"IS_NOT_NAN"}};if(wd(e.value))return{unaryFilter:{field:yp(e.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:yp(e.field),op:_p(e.op),value:e.value}}}(e):e instanceof CompositeFilter?function(e){const t=e.getFilters().map((e=>wp(e)));return 1===t.length?t[0]:{compositeFilter:{op:vp(e.op),filters:t}}}(e):Wu()}function Ep(e){const t=[];return e.fields.forEach((e=>t.push(e.canonicalString()))),{fieldPaths:t}}function Sp(e){return e.length>=4&&"projects"===e.get(0)&&"databases"===e.get(2)}class TargetData{constructor(e,t,n,r,i=SnapshotVersion.min(),s=SnapshotVersion.min(),o=ByteString.EMPTY_BYTE_STRING,a=null){this.target=e,this.targetId=t,this.purpose=n,this.sequenceNumber=r,this.snapshotVersion=i,this.lastLimboFreeSnapshotVersion=s,this.resumeToken=o,this.expectedCount=a}withSequenceNumber(e){return new TargetData(this.target,this.targetId,this.purpose,e,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,this.expectedCount)}withResumeToken(e,t){return new TargetData(this.target,this.targetId,this.purpose,this.sequenceNumber,t,this.lastLimboFreeSnapshotVersion,e,null)}withExpectedCount(e){return new TargetData(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,e)}withLastLimboFreeSnapshotVersion(e){return new TargetData(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,e,this.resumeToken,this.expectedCount)}}class __PRIVATE_LocalSerializer{constructor(e){this.Tt=e}}function Tp(e){const t=pp({parent:e.parent,structuredQuery:e.structuredQuery});return"LAST"===e.limitType?Xd(t,t.limit,"L"):t}class __PRIVATE_FirestoreIndexValueWriter{constructor(){}At(e,t){this.Rt(e,t),t.Vt()}Rt(e,t){if("nullValue"in e)this.ft(t,5);else if("booleanValue"in e)this.ft(t,10),t.gt(e.booleanValue?1:0);else if("integerValue"in e)this.ft(t,15),t.gt(Gh(e.integerValue));else if("doubleValue"in e){const n=Gh(e.doubleValue);isNaN(n)?this.ft(t,13):(this.ft(t,15),ph(n)?t.gt(0):t.gt(n))}else if("timestampValue"in e){let n=e.timestampValue;this.ft(t,20),"string"==typeof n&&(n=Kh(n)),t.yt(`${n.seconds||""}`),t.gt(n.nanos||0)}else if("stringValue"in e)this.wt(e.stringValue,t),this.St(t);else if("bytesValue"in e)this.ft(t,30),t.bt(Qh(e.bytesValue)),this.St(t);else if("referenceValue"in e)this.Dt(e.referenceValue,t);else if("geoPointValue"in e){const n=e.geoPointValue;this.ft(t,45),t.gt(n.latitude||0),t.gt(n.longitude||0)}else"mapValue"in e?xd(e)?this.ft(t,Number.MAX_SAFE_INTEGER):Td(e)?this.vt(e.mapValue,t):(this.Ct(e.mapValue,t),this.St(t)):"arrayValue"in e?(this.Ft(e.arrayValue,t),this.St(t)):Wu()}wt(e,t){this.ft(t,25),this.Mt(e,t)}Mt(e,t){t.yt(e)}Ct(e,t){const n=e.fields||{};
vendor: 5,124 bytes, line 1
1this.ft(t,55);for(const r of Object.keys(n))this.wt(r,t),this.Rt(n[r],t)}vt(e,t){var n,r;const i=e.fields||{};this.ft(t,53);const s=ld,o=(null===(r=null===(n=i[s].arrayValue)||void 0===n?void 0:n.values)||void 0===r?void 0:r.length)||0;this.ft(t,15),t.gt(Gh(o)),this.wt(s,t),this.Rt(i[s],t)}Ft(e,t){const n=e.values||[];this.ft(t,50);for(const r of n)this.Rt(r,t)}Dt(e,t){this.ft(t,37),DocumentKey.fromName(e).path.forEach((e=>{this.ft(t,60),this.Mt(e,t)}))}ft(e,t){e.gt(t)}St(e){e.gt(2)}}__PRIVATE_FirestoreIndexValueWriter.xt=new __PRIVATE_FirestoreIndexValueWriter;class __PRIVATE_MemoryIndexManager{constructor(){this.Tn=new __PRIVATE_MemoryCollectionParentIndex}addToCollectionParentIndex(e,t){return this.Tn.add(t),PersistencePromise.resolve()}getCollectionParents(e,t){return PersistencePromise.resolve(this.Tn.getEntries(t))}addFieldIndex(e,t){return PersistencePromise.resolve()}deleteFieldIndex(e,t){return PersistencePromise.resolve()}deleteAllFieldIndexes(e){return PersistencePromise.resolve()}createTargetIndexes(e,t){return PersistencePromise.resolve()}getDocumentsMatchingTarget(e,t){return PersistencePromise.resolve(null)}getIndexType(e,t){return PersistencePromise.resolve(0)}getFieldIndexes(e,t){return PersistencePromise.resolve([])}getNextCollectionGroupToUpdate(e){return PersistencePromise.resolve(null)}getMinOffset(e,t){return PersistencePromise.resolve(IndexOffset.min())}getMinOffsetFromCollectionGroup(e,t){return PersistencePromise.resolve(IndexOffset.min())}updateCollectionGroup(e,t,n){return PersistencePromise.resolve()}updateIndexEntries(e,t){return PersistencePromise.resolve()}}class __PRIVATE_MemoryCollectionParentIndex{constructor(){this.index={}}add(e){const t=e.lastSegment(),n=e.popLast(),r=this.index[t]||new SortedSet(ResourcePath.comparator),i=!r.has(n);return this.index[t]=r.add(n),i}has(e){const t=e.lastSegment(),n=e.popLast(),r=this.index[t];return r&&r.has(n)}getEntries(e){return(this.index[e]||new SortedSet(ResourcePath.comparator)).toArray()}}new Uint8Array(0);const Cp={didRun:!1,sequenceNumbersCollected:0,targetsRemoved:0,documentsRemoved:0},xp=41943040;class LruParams{static withCacheSize(e){return new LruParams(e,LruParams.DEFAULT_COLLECTION_PERCENTILE,LruParams.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT)}constructor(e,t,n){this.cacheSizeCollectionThreshold=e,this.percentileToCollect=t,this.maximumSequenceNumbersToCollect=n}}LruParams.DEFAULT_COLLECTION_PERCENTILE=10,LruParams.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT=1e3,LruParams.DEFAULT=new LruParams(xp,LruParams.DEFAULT_COLLECTION_PERCENTILE,LruParams.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT),LruParams.DISABLED=new LruParams(-1,0,0);class __PRIVATE_TargetIdGenerator{constructor(e){this.$n=e}next(){return this.$n+=2,this.$n}static Un(){return new __PRIVATE_TargetIdGenerator(0)}static Kn(){return new __PRIVATE_TargetIdGenerator(-1)}}const Ap="LruGarbageCollector",Ip=1048576;function kp([e,t],[n,r]){const i=Yu(e,n);return 0===i?Yu(t,r):i}class __PRIVATE_RollingSequenceNumberBuffer{constructor(e){this.Hn=e,this.buffer=new SortedSet(kp),this.Jn=0}Yn(){return++this.Jn}Zn(e){const t=[e,this.Yn()];if(this.buffer.size<this.Hn)this.buffer=this.buffer.add(t);else{const e=this.buffer.last();kp(t,e)<0&&(this.buffer=this.buffer.delete(e).add(t))}}get maxValue(){return this.buffer.last()[0]}}class __PRIVATE_LruScheduler{constructor(e,t,n){this.garbageCollector=e,this.asyncQueue=t,this.localStore=n,this.Xn=null}start(){-1!==this.garbageCollector.params.cacheSizeCollectionThreshold&&this.er(6e4)}stop(){this.Xn&&(this.Xn.cancel(),this.Xn=null)}get started(){return null!==this.Xn}er(e){Bu(Ap,`Garbage collection scheduled in ${e}ms`),this.Xn=this.asyncQueue.enqueueAfterDelay("lru_garbage_collection",e,(async()=>{this.Xn=null;try{await this.localStore.collectGarbage(this.garbageCollector)}catch(e){hh(e)?Bu(Ap,"Ignoring IndexedDB error during garbage collection: ",e):await ch(e)}await this.er(3e5)}))}}class __PRIVATE_LruGarbageCollectorImpl{constructor(e,t){this.tr=e,this.params=t}calculateTargetCount(e,t){return this.tr.nr(e).next((e=>Math.floor(t/100*e)))}nthSequenceNumber(e,t){if(0===t)return PersistencePromise.resolve(__PRIVATE_ListenSequence.ae);const n=new __PRIVATE_RollingSequenceNumberBuffer(t);return this.tr.forEachTarget(e,(e=>n.Zn(e.sequenceNumber))).next((()=>this.tr.rr(e,(e=>n.Zn(e))))).next((()=>n.maxValue))}removeTargets(e,t,n){return this.tr.removeTargets(e,t,n)}removeOrphanedDocuments(e,t){return this.tr.removeOrphanedDocuments(e,t)}collect(e,t){return-1===this.params.cacheSizeCollectionThreshold?(Bu("LruGarbageCollector","Garbage collection skipped; disabled"),PersistencePromise.resolve(Cp)):this.getCacheSize(e).next((n=>n<this.params.cacheSizeCollectionThreshold?(Bu("LruGarbageCollector",`Garbage collection skipped; Cache size ${n} is lower than threshold ${this.params.cacheSizeCollectionThreshold}`),Cp):this.ir(e,t)))}getCacheSize(e){return this.tr.getCacheSize(e)}ir(e,t){let n,r,i,s,o,a,l;const c=Date.now();return this.calculateTargetCount(e,this.params.percentileToCollect).next((t=>(t>this.params.maximumSequenceNumbersToCollect?(Bu("LruGarbageCollector",`C
1apping sequence numbers to collect down to the maximum of ${this.params.maximumSequenceNumbersToCollect} from ${t}`),r=this.params.maximumSequenceNumbersToCollect):r=t,s=Date.now(),this.nthSequenceNumber(e,r)))).next((r=>(n=r,o=Date.now(),this.removeTargets(e,n,t)))).next((t=>(i=t,a=Date.now(),this.removeOrphanedDocuments(e,n)))).next((e=>(l=Date.now(),Vu()<=_u.DEBUG&&Bu("LruGarbageCollector",`LRU Garbage Collection\n\tCounted targets in ${s-c}ms\n\tDetermined least recently used ${r} in `+(o-s)+"ms\n"+`\tRemoved ${i} targets in `+(a-o)+"ms\n"+`\tRemoved ${e} documents in `+(l-a)+"ms\n"+`Total Duration: ${l-c}ms`),PersistencePromise.resolve({didRun:!0,sequenceNumbersCollected:r,targetsRemoved:i,documentsRemoved:e}))))}}function Pp(e,t){return new __PRIVATE_LruGarbageCollectorImpl(e,t)}class RemoteDocumentChangeBuffer{constructor(){this.changes=new ObjectMap((e=>e.toString()),((e,t)=>e.isEqual(t))),this.changesApplied=!1}addEntry(e){this.assertNotApplied(),this.changes.set(e.key,e)}removeEntry(e,t){this.assertNotApplied(),this.changes.set(e,MutableDocument.newInvalidDocument(e).setReadTime(t))}getEntry(e,t){this.assertNotApplied();const n=this.changes.get(t);return void 0!==n?PersistencePromise.resolve(n):this.getFromCache(e,t)}getEntries(e,t){return this.getAllFromCache(e,t)}apply(e){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(e)}assertNotApplied(){}}class OverlayedDocument{constructor(e,t){this.overlayedDocument=e,this.mutatedFields=t}}class LocalDocumentsView{constructor(e,t,n,r){this.remoteDocumentCache=e,this.mutationQueue=t,this.documentOverlayCache=n,this.indexManager=r}getDocument(e,t){let n=null;return this.documentOverlayCache.getOverlay(e,t).next((r=>(n=r,this.remoteDocumentCache.getEntry(e,t)))).next((e=>(null!==n&&Nf(n.mutation,e,FieldMask.empty(),index_esm2017_Timestamp.now()),e)))}getDocuments(e,t){return this.remoteDocumentCache.getEntries(e,t).next((t=>this.getLocalViewOfDocuments(e,t,mf()).next((()=>t))))}getLocalViewOfDocuments(e,t,n=mf()){const r=uf();return this.populateOverlays(e,r,t).next((()=>this.computeViews(e,t,r,n).next((e=>{let t=lf();return e.forEach(((e,n)=>{t=t.insert(e,n.overlayedDocument)})),t}))))}getOverlayedDocuments(e,t){const n=uf();return this.populateOverlays(e,n,t).next((()=>this.computeViews(e,t,n,mf())))}populateOverlays(e,t,n){const r=[];return n.forEach((e=>{t.has(e)||r.push(e)})),this.documentOverlayCache.getOverlays(e,r).next((e=>{e.forEach(((e,n)=>{t.set(e,n)}))}))}computeViews(e,t,n,r){let i=of();const s=df(),o=df();return t.forEach(((e,t)=>{const o=n.get(t.key);r.has(t.key)&&(void 0===o||o.mutation instanceof __PRIVATE_PatchMutation)?i=i.insert(t.key,t):void 0!==o?(s.set(t.key,o.mutation.getFieldMask()),Nf(o.mutation,t,o.mutation.getFieldMask(),index_esm2017_Timestamp.now())):s.set(t.key,FieldMask.empty())})),this.recalculateAndSaveOverlays(e,i).next((e=>(e.forEach(((e,t)=>s.set(e,t))),t.forEach(((e,t)=>{var n;return o.set(e,new OverlayedDocument(t,null!==(n=s.get(e))&&void 0!==n?n:null))})),o)))}recalculateAndSaveOverlays(e,t){const n=df();let r=new index_esm2017_SortedMap(((e,t)=>e-t)),i=mf();return this.mutationQueue.getAllMutationBatchesAffectingDocumentKeys(e,t).next((e=>{for(const i of e)i.keys().forEach((e=>{const s=t.get(e);if(null===s)return;let o=n.get(e)||FieldMask.empty();o=i.applyToLocalView(s,o),n.set(e,o);const a=(r.get(i.batchId)||mf()).add(e);r=r.insert(i.batchId,a)}))})).next((()=>{const s=[],o=r.getReverseIterator();for(;o.hasNext();){const r=o.getNext(),a=r.key,l=r.value,c=hf();l.forEach((e=>{if(!i.has(e)){const r=kf(t.get(e),n.get(e));null!==r&&c.set(e,r),i=i.add(e)}})),s.push(this.documentOverlayCache.saveOverlays(e,a,c))}return PersistencePromise.waitFor(s)})).next((()=>n))}recalculateAndSaveOverlaysForDocumentKeys(e,t){return this.remoteDocumentCache.getEntries(e,t).next((t=>this.recalculateAndSaveOverlays(e,t)))}getDocumentsMatchingQuery(e,t,n,r){return function(e){return DocumentKey.isDocumentKey(e.path)&&null===e.collectionGroup&&0===e.filters.length}(t)?this.getDocumentsMatchingDocumentQuery(e,t.path):Wd(t)?this.getDocumentsMatchingCollectionGroupQuery(e,t,n,r):this.getDocumentsMatchingCollectionQuery(e,t,n,r)}getNextDocuments(e,t,n,r){return this.remoteDocumentCache.getAllFromCollectionGroup(e,t,n,r).next((i=>{const s=r-i.size>0?this.documentOverlayCache.getOverlaysForCollectionGroup(e,t,n.largestBatchId,r-i.size):PersistencePromise.resolve(uf());let o=ih,a=i;return s.next((t=>
vendor: 19,036 bytes, line 1
1PersistencePromise.forEach(t,((t,n)=>(o<n.largestBatchId&&(o=n.largestBatchId),i.get(t)?PersistencePromise.resolve():this.remoteDocumentCache.getEntry(e,t).next((e=>{a=a.insert(t,e)}))))).next((()=>this.populateOverlays(e,t,i))).next((()=>this.computeViews(e,a,t,mf()))).next((e=>({batchId:o,changes:cf(e)})))))}))}getDocumentsMatchingDocumentQuery(e,t){return this.getDocument(e,new DocumentKey(t)).next((e=>{let t=lf();return e.isFoundDocument()&&(t=t.insert(e.key,e)),t}))}getDocumentsMatchingCollectionGroupQuery(e,t,n,r){const i=t.collectionGroup;let s=lf();return this.indexManager.getCollectionParents(e,i).next((o=>PersistencePromise.forEach(o,(o=>{const a=function(e,t){return new __PRIVATE_QueryImpl(t,null,e.explicitOrderBy.slice(),e.filters.slice(),e.limit,e.limitType,e.startAt,e.endAt)}(t,o.child(i));return this.getDocumentsMatchingCollectionQuery(e,a,n,r).next((e=>{e.forEach(((e,t)=>{s=s.insert(e,t)}))}))})).next((()=>s))))}getDocumentsMatchingCollectionQuery(e,t,n,r){let i;return this.documentOverlayCache.getOverlaysForCollection(e,t.path,n.largestBatchId).next((s=>(i=s,this.remoteDocumentCache.getDocumentsMatchingQuery(e,t,n,i,r)))).next((e=>{i.forEach(((t,n)=>{const r=n.getKey();null===e.get(r)&&(e=e.insert(r,MutableDocument.newInvalidDocument(r)))}));let n=lf();return e.forEach(((e,r)=>{const s=i.get(e);void 0!==s&&Nf(s.mutation,r,FieldMask.empty(),index_esm2017_Timestamp.now()),ef(t,r)&&(n=n.insert(e,r))})),n}))}}class __PRIVATE_MemoryBundleCache{constructor(e){this.serializer=e,this.dr=new Map,this.Ar=new Map}getBundleMetadata(e,t){return PersistencePromise.resolve(this.dr.get(t))}saveBundleMetadata(e,t){return this.dr.set(t.id,function(e){return{id:e.id,version:e.version,createTime:ep(e.createTime)}}(t)),PersistencePromise.resolve()}getNamedQuery(e,t){return PersistencePromise.resolve(this.Ar.get(t))}saveNamedQuery(e,t){return this.Ar.set(t.name,function(e){return{name:e.name,query:Tp(e.bundledQuery),readTime:ep(e.readTime)}}(t)),PersistencePromise.resolve()}}class __PRIVATE_MemoryDocumentOverlayCache{constructor(){this.overlays=new index_esm2017_SortedMap(DocumentKey.comparator),this.Rr=new Map}getOverlay(e,t){return PersistencePromise.resolve(this.overlays.get(t))}getOverlays(e,t){const n=uf();return PersistencePromise.forEach(t,(t=>this.getOverlay(e,t).next((e=>{null!==e&&n.set(t,e)})))).next((()=>n))}saveOverlays(e,t,n){return n.forEach(((n,r)=>{this.Et(e,t,r)})),PersistencePromise.resolve()}removeOverlaysForBatchId(e,t,n){const r=this.Rr.get(n);return void 0!==r&&(r.forEach((e=>this.overlays=this.overlays.remove(e))),this.Rr.delete(n)),PersistencePromise.resolve()}getOverlaysForCollection(e,t,n){const r=uf(),i=t.length+1,s=new DocumentKey(t.child("")),o=this.overlays.getIteratorFrom(s);for(;o.hasNext();){const e=o.getNext().value,s=e.getKey();if(!t.isPrefixOf(s.path))break;s.path.length===i&&e.largestBatchId>n&&r.set(e.getKey(),e)}return PersistencePromise.resolve(r)}getOverlaysForCollectionGroup(e,t,n,r){let i=new index_esm2017_SortedMap(((e,t)=>e-t));const s=this.overlays.getIterator();for(;s.hasNext();){const e=s.getNext().value;if(e.getKey().getCollectionGroup()===t&&e.largestBatchId>n){let t=i.get(e.largestBatchId);null===t&&(t=uf(),i=i.insert(e.largestBatchId,t)),t.set(e.getKey(),e)}}const o=uf(),a=i.getIterator();for(;a.hasNext()&&(a.getNext().value.forEach(((e,t)=>o.set(e,t))),!(o.size()>=r)););return PersistencePromise.resolve(o)}Et(e,t,n){const r=this.overlays.get(n.key);if(null!==r){const e=this.Rr.get(r.largestBatchId).delete(n.key);this.Rr.set(r.largestBatchId,e)}this.overlays=this.overlays.insert(n.key,new Overlay(t,n));let i=this.Rr.get(t);void 0===i&&(i=mf(),this.Rr.set(t,i)),this.Rr.set(t,i.add(n.key))}}class __PRIVATE_MemoryGlobalsCache{constructor(){this.sessionToken=ByteString.EMPTY_BYTE_STRING}getSessionToken(e){return PersistencePromise.resolve(this.sessionToken)}setSessionToken(e,t){return this.sessionToken=t,PersistencePromise.resolve()}}class __PRIVATE_ReferenceSet{constructor(){this.Vr=new SortedSet(__PRIVATE_DocReference.mr),this.gr=new SortedSet(__PRIVATE_DocReference.pr)}isEmpty(){return this.Vr.isEmpty()}addReference(e,t){const n=new __PRIVATE_DocReference(e,t);this.Vr=this.Vr.add(n),this.gr=this.gr.add(n)}yr(e,t){e.forEach((e=>this.addReference(e,t)))}removeReference(e,t){this.wr(new __PRIVATE_DocReference(e,t))}Sr(e,t){e.forEach((e=>this.removeReference(e,t)))}br(e){const t=new DocumentKey(new ResourcePath([])),n=new __PRIVATE_DocReference(t,e),r=new __PRIVATE_DocReference(t,e+1),i=[];return this.gr.forEachInRange([n,r],(e=>{this.wr(e),i.push(e.key)})),i}Dr(){this.Vr.forEach((e=>this.wr(e)))}wr(e){this.Vr=this.Vr.delete(e),this.gr=this.gr.delete(e)}vr(e){const t=new DocumentKey(new ResourcePath([])),n=new __PRIVATE_DocReference(t,e),r=new __PRIVATE_DocReference(t,e+1);let i=mf();return this.gr.forEachInRange([n,r],(e=>{i=i.add(e.key)})),i}containsKey(e){const t=new __PRIVATE_DocReference(e,0),n=this.Vr.firstAfterOrEqual(t);return null!==n&&e.isEqual(n.key)}}class __PRIVATE_DocReference{constructor(e,t){this.key=e,this.Cr=t}static mr(e,t){return DocumentKey.comparator(e.key,t.key)||Yu(e.Cr,t.Cr)}static pr(e,t){return Yu(e.Cr,t.Cr)||DocumentKey.comparator(e.key,t.key)}}class __PRIVATE_MemoryMutationQueue{constructor(e,t){this.indexManager=e,this.referenceDelegate=t,this.mutationQueue=[],this.Fr=1,this.Mr=new SortedSet(__PRIVATE_DocReference.mr)}checkEmpty(e){return PersistencePromise.resolve(0===this.mutationQueue.length)}addMutationBatch(e,t,n,r){const i=this.Fr;this.Fr++,this.mutationQueue.length>0&&this.mutationQueue[this.mutationQueue.length-1];const s=new MutationBatch(i,t,n,r);this.mutationQueue.push(s);for(const o of r)this.Mr=this.Mr.add(new __PRIVATE_DocReference(o.key,i)),this.indexManager.addToCollectionParentIndex(e,o.key.path.popLast());return PersistencePromise.resolve(s)}lookupMutationBatch(e,t){return PersistencePromise.resolve(this.Or(t))}getNextMutationBatchAfterBatchId(e,t){const n=t+1,r=this.Nr(n),i=r<0?0:r;return PersistencePromise.resolve(this.mutationQueue.length>i?this.mutationQueue[i]:null)}getHighestUnacknowledgedBatchId(){return PersistencePromise.resolve(0===this.mutationQueue.length?dh:this.Fr-1)}getAllMutationBatches(e){return PersistencePromise.resolve(this.mutationQueue.slice())}getAllMutationBatchesAffectingDocumentKey(e,t){const n=new __PRIVATE_DocReference(t,0),r=new __PRIVATE_DocReference(t,Number.POSITIVE_INFINITY),i=[];return this.Mr.forEachInRange([n,r],(e=>{const t=this.Or(e.Cr);i.push(t)})),PersistencePromise.resolve(i)}getAllMutationBatchesAffectingDocumentKeys(e,t){let n=new SortedSet(Yu);return t.forEach((e=>{const t=new __PRIVATE_DocReference(e,0),r=new __PRIVATE_DocReference(e,Number.POSITIVE_INFINITY);this.Mr.forEachInRange([t,r],(e=>{n=n.add(e.Cr)}))})),PersistencePromise.resolve(this.Br(n))}getAllMutationBatchesAffectingQuery(e,t){const n=t.path,r=n.length+1;let i=n;DocumentKey.isDocumentKey(i)||(i=i.child(""));const s=new __PRIVATE_DocReference(new DocumentKey(i),0);let o=new SortedSet(Yu);return this.Mr.forEachWhile((e=>{const t=e.key.path;return!!n.isPrefixOf(t)&&(t.length===r&&(o=o.add(e.Cr)),!0)}),s),PersistencePromise.resolve(this.Br(o))}Br(e){const t=[];return e.forEach((e=>{const n=this.Or(e);null!==n&&t.push(n)})),t}removeMutationBatch(e,t){qu(0===this.Lr(t.batchId,"removed")),this.mutationQueue.shift();let n=this.Mr;return PersistencePromise.forEach(t.mutations,(r=>{const i=new __PRIVATE_DocReference(r.key,t.batchId);return n=n.delete(i),this.referenceDelegate.markPotentiallyOrphaned(e,r.key)})).next((()=>{this.Mr=n}))}qn(e){}containsKey(e,t){const n=new __PRIVATE_DocReference(t,0),r=this.Mr.firstAfterOrEqual(n);return PersistencePromise.resolve(t.isEqual(r&&r.key))}performConsistencyCheck(e){return this.mutationQueue.length,PersistencePromise.resolve()}Lr(e,t){return this.Nr(e)}Nr(e){return 0===this.mutationQueue.length?0:e-this.mutationQueue[0].batchId}Or(e){const t=this.Nr(e);return t<0||t>=this.mutationQueue.length?null:this.mutationQueue[t]}}class __PRIVATE_MemoryRemoteDocumentCacheImpl{constructor(e){this.kr=e,this.docs=new index_esm2017_SortedMap(DocumentKey.comparator),this.size=0}setIndexManager(e){this.indexManager=e}addEntry(e,t){const n=t.key,r=this.docs.get(n),i=r?r.size:0,s=this.kr(t);return this.docs=this.docs.insert(n,{document:t.mutableCopy(),size:s}),this.size+=s-i,this.indexManager.addToCollectionParentIndex(e,n.path.popLast())}removeEntry(e){const t=this.docs.get(e);t&&(this.docs=this.docs.remove(e),this.size-=t.size)}getEntry(e,t){const n=this.docs.get(t);return PersistencePromise.resolve(n?n.document.mutableCopy():MutableDocument.newInvalidDocument(t))}getEntries(e,t){let n=of();return t.forEach((e=>{const t=this.docs.get(e);n=n.insert(e,t?t.document.mutableCopy():MutableDocument.newInvalidDocument(e))})),PersistencePromise.resolve(n)}getDocumentsMatchingQuery(e,t,n,r){let i=of();const s=t.path,o=new DocumentKey(s.child("__id-9223372036854775808__")),a=this.docs.getIteratorFrom(o);for(;a.hasNext();){const{key:e,value:{document:o}}=a.getNext();if(!s.isPrefixOf(e.path))break;e.path.length>s.length+1||ah(oh(o),n)<=0||(r.has(o.key)||ef(t,o))&&(i=i.insert(o.key,o.mutableCopy()))}return PersistencePromise.resolve(i)}getAllFromCollectionGroup(e,t,n,r){Wu()}qr(e,t){return PersistencePromise.forEach(this.docs,(e=>t(e)))}newChangeBuffer(e){return new __PRIVATE_MemoryRemoteDocumentChangeBuffer(this)}getSize(e){return PersistencePromise.resolve(this.size)}}class __PRIVATE_MemoryRemoteDocumentChangeBuffer extends RemoteDocumentChangeBuffer{constructor(e){super(),this.Ir=e}applyChanges(e){const t=[];return this.changes.forEach(((n,r)=>{r.isValidDocument()?t.push(this.Ir.addEntry(e,r)):this.Ir.removeEntry(n)})),PersistencePromise.waitFor(t)}getFromCache(e,t){return this.Ir.getEntry(e,t)}getAllFromCache(e,t){return this.Ir.getEntries(e,t)}}class __PRIVATE_MemoryTargetCache{constructor(e){this.persistence=e,this.Qr=new ObjectMap((e=>Ud(e)),Vd),this.lastRemoteSnapshotVersion=SnapshotVersion.min(),this.highestTargetId=0,this.$r=0,this.Ur=new __PRIVATE_ReferenceSet,this.targetCount=0,this.Kr=__PRIVATE_TargetIdGenerator.Un()}forEachTarget(e,t){return this.Qr.forEach(((e,n)=>t(n))),PersistencePromise.resolve()}getLastRemoteSnapshotVersion(e){return PersistencePromise.resolve(this.lastRemoteSnapshotVersion)}getHighestSequenceNumber(e){return PersistencePromise.resolve(this.$r)}allocateTargetId(e){return this.highestTargetId=this.Kr.next(),PersistencePromise.resolve(this.highestTargetId)}setTargetsMetadata(e,t,n){return n&&(this.lastRemoteSnapshotVersion=n),t>this.$r&&(this.$r=t),PersistencePromise.resolve()}zn(e){this.Qr.set(e.target,e);const t=e.targetId;t>this.highestTargetId&&(this.Kr=new __PRIVATE_TargetIdGenerator(t),this.highestTargetId=t),e.sequenceNumber>this.$r&&(this.$r=e.sequenceNumber)}addTargetData(e,t){return this.zn(t),this.targetCount+=1,PersistencePromise.resolve()}updateTargetData(e,t){return this.zn(t),PersistencePromise.resolve()}removeTargetData(e,t){return this.Qr.delete(t.target),this.Ur.br(t.targetId),this.targetCount-=1,PersistencePromise.resolve()}removeTargets(e,t,n){let r=0;const i=[];return this.Qr.forEach(((s,o)=>{o.sequenceNumber<=t&&null===n.get(o.targetId)&&(this.Qr.delete(s),i.push(this.removeMatchingKeysForTargetId(e,o.targetId)),r++)})),PersistencePromise.waitFor(i).next((()=>r))}getTargetCount(e){return PersistencePromise.resolve(this.targetCount)}getTargetData(e,t){const n=this.Qr.get(t)||null;return PersistencePromise.resolve(n)}addMatchingKeys(e,t,n){return this.Ur.yr(t,n),PersistencePromise.resolve()}removeMatchingKeys(e,t,n){this.Ur.Sr(t,n);const r=this.persistence.referenceDelegate,i=[];return r&&t.forEach((t=>{i.push(r.markPotentiallyOrphaned(e,t))})),PersistencePromise.waitFor(i)}removeMatchingKeysForTargetId(e,t){return this.Ur.br(t),PersistencePromise.resolve()}getMatchingKeysForTargetId(e,t){const n=this.Ur.vr(t);return PersistencePromise.resolve(n)}containsKey(e,t){return PersistencePromise.resolve(this.Ur.containsKey(t))}}class __PRIVATE_MemoryPersistence{constructor(e,t){this.Wr={},this.overlays={},this.Gr=new __PRIVATE_ListenSequence(0),this.zr=!1,this.zr=!0,this.jr=new __PRIVATE_MemoryGlobalsCache,this.referenceDelegate=e(this),this.Hr=new __PRIVATE_MemoryTargetCache(this),this.indexManager=new __PRIVATE_MemoryIndexManager,this.remoteDocumentCache=function(e){return new __PRIVATE_MemoryRemoteDocumentCacheImpl(e)}((e=>this.referenceDelegate.Jr(e))),this.serializer=new __PRIVATE_LocalSerializer(t),this.Yr=new __PRIVATE_MemoryBundleCache(this.serializer)}start(){return Promise.resolve()}shutdown(){return this.zr=!1,Promise.resolve()}get started(){return this.zr}setDatabaseDeletedListener(){}setNetworkEnabled(){}getIndexManager(e){return this.indexManager}getDocumentOverlayCache(e){let t=this.overlays[e.toKey()];return t||(t=new __PRIVATE_MemoryDocumentOverlayCache,this.overlays[e.toKey()]=t),t}getMutationQueue(e,t){let n=this.Wr[e.toKey()];return n||(n=new __PRIVATE_MemoryMutationQueue(t,this.referenceDelegate),this.Wr[e.toKey()]=n),n}getGlobalsCache(){return this.jr}getTargetCache(){return this.Hr}getRemoteDocumentCache(){return this.remoteDocumentCache}getBundleCache(){return this.Yr}runTransaction(e,t,n){Bu("MemoryPersistence","Starting transaction:",e);const r=new __PRIVATE_MemoryTransaction(this.Gr.next());return this.referenceDelegate.Zr(),n(r).next((e=>this.referenceDelegate.Xr(r).next((()=>e)))).toPromise().then((e=>(r.raiseOnCommittedEvent(),e)))}ei(e,t){return PersistencePromise.or(Object.values(this.Wr).map((n=>()=>n.containsKey(e,t))))}}class __PRIVATE_MemoryTransaction extends PersistenceTransaction{constructor(e){super(),this.currentSequenceNumber=e}}class __PRIVATE_MemoryEagerDelegate{constructor(e){this.persistence=e,this.ti=new __PRIVATE_ReferenceSet,this.ni=null}static ri(e){return new __PRIVATE_MemoryEagerDelegate(e)}get ii(){if(this.ni)return this.ni;throw Wu()}addReference(e,t,n){return this.ti.addReference(n,t),this.ii.delete(n.toString()),PersistencePromise.resolve()}removeReference(e,t,n){return this.ti.removeReference(n,t),this.ii.add(n.toString()),PersistencePromise.resolve()}markPotentiallyOrphaned(e,t){return this.ii.add(t.toString()),PersistencePromise.resolve()}removeTarget(e,t){this.ti.br(t.targetId).forEach((e=>this.ii.add(e.toString())));const n=this.persistence.getTargetCache();return n.getMatchingKeysForTargetId(e,t.targetId).next((e=>{e.forEach((e=>this.ii.add(e.toString())))})).next((()=>n.removeTargetData(e,t)))}Zr(){this.ni=new Set}Xr(e){const t=this.persistence.getRemoteDocumentCache().newChangeBuffer();return PersistencePromise.forEach(this.ii,(n=>{const r=DocumentKey.fromPath(n);return this.si(e,r).next((e=>{e||t.removeEntry(r,SnapshotVersion.min())}))})).next((()=>(this.ni=null,t.apply(e))))}updateLimboDocument(e,t){return this.si(e,t).next((e=>{e?this.ii.delete(t.toString()):this.ii.add(t.toString())}))}Jr(e){return 0}si(e,t){return PersistencePromise.or([()=>PersistencePromise.resolve(this.ti.containsKey(t)),()=>this.persistence.getTargetCache().containsKey(e,t),()=>this.persistence.ei(e,t)])}}class __PRIVATE_MemoryLruDelegate{constructor(e,t){this.persistence=e,this.oi=new ObjectMap((e=>_h(e.path)),((e,t)=>e.isEqual(t))),this.garbageCollector=Pp(this,t)}static ri(e,t){return new __PRIVATE_MemoryLruDelegate(e,t)}Zr(){}Xr(e){return PersistencePromise.resolve()}forEachTarget(e,t){return this.persistence.getTargetCache().forEachTarget(e,t)}nr(e){const t=this.sr(e);return this.persistence.getTargetCache().getTargetCount(e).next((e=>t.next((t=>e+t))))}sr(e){let t=0;return this.rr(e,(e=>{t++})).next((()=>t))}rr(e,t){return PersistencePromise.forEach(this.oi,((n,r)=>this.ar(e,n,r).next((e=>e?PersistencePromise.resolve():t(r)))))}removeTargets(e,t,n){return this.persistence.getTargetCache().removeTargets(e,t,n)}removeOrphanedDocuments(e,t){let n=0;const r=this.persistence.getRemoteDocumentCache(),i=r.newChangeBuffer();return r.qr(e,(r=>this.ar(e,r,t).next((e=>{e||(n++,i.removeEntry(r,SnapshotVersion.min()))})))).next((()=>i.apply(e))).next((()=>n))}markPotentiallyOrphaned(e,t){return this.oi.set(t,e.currentSequenceNumber),PersistencePromise.resolve()}removeTarget(e,t){const n=t.withSequenceNumber(e.currentSequenceNumber);return this.persistence.getTargetCache().updateTargetData(e,n)}addReference(e,t,n){return this.oi.set(n,e.currentSequenceNumber),PersistencePromise.resolve()}removeReference(e,t,n){return this.oi.set(n,e.currentSequenceNumber),PersistencePromise.resolve()}updateLimboDocument(e,t){return this.oi.set(t,e.currentSequenceNumber),PersistencePromise.resolve()}Jr(e){let t=e.key.toString().length;return e.isFoundDocument()&&(t+=_d(e.data.value)),t}ar(e,t,n){return PersistencePromise.or([()=>this.persistence.ei(e,t),()=>this.persistence.getTargetCache().containsKey(e,t),()=>{const e=this.oi.get(t);return PersistencePromise.resolve(void 0!==e&&e>n)}])}getCacheSize(e){return this.persistence.getRemoteDocumentCache().getSize(e)}}class __PRIVATE_LocalViewChanges{constructor(e,t,n,r){this.targetId=e,this.fromCache=t,this.Hi=n,this.Ji=r}static Yi(e,t){let n=mf(),r=mf();for(const i of t.docChanges)switch(i.type){case 0:n=n.add(i.doc.key);break;case 1:r=r.add(i.doc.key)}return new __PRIVATE_LocalViewChanges(e,t.fromCache,n,r)}}class QueryContext{constructor(){this._documentReadCount=0}get documentReadCount(){return this._documentReadCount}incrementDocumentReadCount(e){this._documentReadCount+=e}}class __PRIVATE_QueryEngine{constructor(){this.Zi=!1,this.Xi=!1,this.es=100,this.ts=fu()?8:uh(du())>0?6:4}initialize(e,t){this.ns=e,this.indexManager=t,this.Zi=!0}getDocumentsMatchingQuery(e,t,n,r){const i={result:null};return this.rs(e,t).next((e=>{i.result=e})).next((()=>{if(!i.result)return this.ss(e,t,r,n).next((e=>{i.result=e}))})).next((()=>{if(i.result)return;const n=new QueryContext;return this._s(e,t,n).next((r=>{if(i.result=r,this.Xi)return this.us(e,t,n,r.size)}))})).next((()=>i.result))}us(e,t,n,r){return n.documentReadCount<this.es?(Vu()<=_u.DEBUG&&Bu("QueryEngine","SDK will not create cache indexes for query:",Zd(t),"since it only creates cache indexes for collection contains","more than or equal to",this.es,"documents"),PersistencePromise.resolve()):(Vu()<=_u.DEBUG&&Bu("QueryEngine","Query:",Zd(t),"scans",n.documentReadCount,"local documents and returns",r,"documents as results."),n.documentReadCount>this.ts*r?(Vu()<=_u.DEBUG&&Bu("QueryEngine","The SDK decides to create cache indexes for query:",Zd(t),"as using cache indexes may help improve performance."),this.indexManager.createTargetIndexes(e,Kd(t))):PersistencePromise.resolve())}rs(e,t){if(Hd(t))return PersistencePromise.resolve(null);let n=Kd(t);return this.indexManager.getIndexType(e,n).next((r=>0===r?null:(null!==t.limit&&1===r&&(t=Xd(t,null,"F"),n=Kd(t)),this.indexManager.getDocumentsMatchingTarget(e,n).next((r=>{const i=mf(...r);return this.ns.getDocuments(e,i).next((r=>this.indexManager.getMinOffset(e,n).next((n=>{const s=this.cs(t,r);return this.ls(t,s,i,n.readTime)?this.rs(e,Xd(t,null,"F")):this.hs(e,s,t,n)}))))}
1)))))}ss(e,t,n,r){return Hd(t)||r.isEqual(SnapshotVersion.min())?PersistencePromise.resolve(null):this.ns.getDocuments(e,n).next((i=>{const s=this.cs(t,i);return this.ls(t,s,n,r)?PersistencePromise.resolve(null):(Vu()<=_u.DEBUG&&Bu("QueryEngine","Re-using previous result from %s to execute query: %s",r.toString(),Zd(t)),this.hs(e,s,t,sh(r,ih)).next((e=>e)))}))}cs(e,t){let n=new SortedSet(nf(e));return t.forEach(((t,r)=>{ef(e,r)&&(n=n.add(r))})),n}ls(e,t,n,r){if(null===e.limit)return!1;if(n.size!==t.size)return!0;const i="F"===e.limitType?t.last():t.first();return!!i&&(i.hasPendingWrites||i.version.compareTo(r)>0)}_s(e,t,n){return Vu()<=_u.DEBUG&&Bu("QueryEngine","Using full collection scan to execute query:",Zd(t)),this.ns.getDocumentsMatchingQuery(e,t,IndexOffset.min(),n)}hs(e,t,n,r){return this.ns.getDocumentsMatchingQuery(e,n,r).next((e=>(t.forEach((t=>{e=e.insert(t.key,t)})),e)))}}const Np="LocalStore";class __PRIVATE_LocalStoreImpl{constructor(e,t,n,r){this.persistence=e,this.Ps=t,this.serializer=r,this.Ts=new index_esm2017_SortedMap(Yu),this.Is=new ObjectMap((e=>Ud(e)),Vd),this.Es=new Map,this.ds=e.getRemoteDocumentCache(),this.Hr=e.getTargetCache(),this.Yr=e.getBundleCache(),this.As(n)}As(e){this.documentOverlayCache=this.persistence.getDocumentOverlayCache(e),this.indexManager=this.persistence.getIndexManager(e),this.mutationQueue=this.persistence.getMutationQueue(e,this.indexManager),this.localDocuments=new LocalDocumentsView(this.ds,this.mutationQueue,this.documentOverlayCache,this.indexManager),this.ds.setIndexManager(this.indexManager),this.Ps.initialize(this.localDocuments,this.indexManager)}collectGarbage(e){return this.persistence.runTransaction("Collect garbage","readwrite-primary",(t=>e.collect(t,this.Ts)))}}function Rp(e,t,n,r){return new __PRIVATE_LocalStoreImpl(e,t,n,r)}async function Op(e,t){const n=Ku(e);return await n.persistence.runTransaction("Handle user change","readonly",(e=>{let r;
1return n.mutationQueue.getAllMutationBatches(e).next((i=>(r=i,n.As(t),n.mutationQueue.getAllMutationBatches(e)))).next((t=>{const i=[],s=[];let o=mf();for(const e of r){i.push(e.batchId);for(const t of e.mutations)o=o.add(t.key)}for(const e of t){s.push(e.batchId);for(const t of e.mutations)o=o.add(t.key)}return n.localDocuments.getDocuments(e,o).next((e=>({Rs:e,removedBatchIds:i,addedBatchIds:s})))}))}))}function Dp(e){const t=Ku(e);return t.persistence.runTransaction("Get last remote snapshot version","readonly",(e=>t.Hr.getLastRemoteSnapshotVersion(e)))}function Fp(e,t,n){let r=mf(),i=mf();return n.forEach((e=>r=r.add(e))),t.getEntries(e,r).next((e=>{let r=of();return n.forEach(((n,s)=>{const o=e.get(n);s.isFoundDocument()!==o.isFoundDocument()&&(i=i.add(n)),s.isNoDocument()&&s.version.isEqual(SnapshotVersion.min())?(t.removeEntry(n,s.readTime),r=r.insert(n,s)):!o.isValidDocument()||s.version.compareTo(o.version)>0||0===s.version.compareTo(o.version)&&o.hasPendingWrites?(t.addEntry(s),r=r.insert(n,s)):Bu(Np,"Ignoring outdated watch update for ",n,". Current version:",o.version," Watch version:",s.version)})),{Vs:r,fs:i}}))}function Lp(e,t){const n=Ku(e);return n.persistence.runTransaction("Get next mutation batch","readonly",(e=>(void 0===t&&(t=dh),n.mutationQueue.getNextMutationBatchAfterBatchId(e,t))))}function jp(e,t){const n=Ku(e);return n.persistence.runTransaction("Allocate target","readwrite",(e=>{let r;return n.Hr.getTargetData(e,t).next((i=>i?(r=i,PersistencePromise.resolve(r)):n.Hr.allocateTargetId(e).next((i=>(r=new TargetData(t,i,"TargetPurposeListen",e.currentSequenceNumber),n.Hr.addTargetData(e,r).next((()=>r)))))))})).then((e=>{const r=n.Ts.get(e.targetId);return(null===r||e.snapshotVersion.compareTo(r.snapshotVersion)>0)&&(n.Ts=n.Ts.insert(e.targetId,e),n.Is.set(t,e.targetId)),e}))}async function Mp(e,t,n){const r=Ku(e),i=r.Ts.get(t),s=n?"readwrite":"readwrite-primary";try{n||await r.persistence.runTransaction("Release target",s,(e=>r.persistence.referenceDelegate.removeTarget(e,i)))}catch(e){if(!hh(e))throw e;Bu(Np,`Failed to update sequence numbers for target ${t}: ${e}`)}r.Ts=r.Ts.remove(t),r.Is.delete(i.target)}function Up(e,t,n){const r=Ku(e);let i=SnapshotVersion.min(),s=mf();return r.persistence.runTransaction("Execute query","readwrite",(e=>function(e,t,n){const r=Ku(e),i=r.Is.get(n);return void 0!==i?PersistencePromise.resolve(r.Ts.get(i)):r.Hr.getTargetData(t,n)}(r,e,Kd(t)).next((t=>{if(t)return i=t.lastLimboFreeSnapshotVersion,r.Hr.getMatchingKeysForTargetId(e,t.targetId).next((e=>{s=e}))})).next((()=>r.Ps.getDocumentsMatchingQuery(e,t,n?i:SnapshotVersion.min(),n?s:mf()))).next((e=>(Vp(r,tf(t),e),{documents:e,gs:s})))))}function Vp(e,t,n){let r=e.Es.get(t)||SnapshotVersion.min();n.forEach(((e,t)=>{t.readTime.compareTo(r)>0&&(r=t.readTime)})),e.Es.set(t,r)}class __PRIVATE_LocalClientState{constructor(){this.activeTargetIds=_f()}Ds(e){this.activeTargetIds=this.activeTargetIds.add(e)}vs(e){this.activeTargetIds=this.activeTargetIds.delete(e)}bs(){const e={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(e)}}class __PRIVATE_MemorySharedClientState{constructor(){this.ho=new __PRIVATE_LocalClientState,this.Po={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}addPendingMutation(e){}updateMutationState(e,t,n){}addLocalQueryTarget(e,t=!0){return t&&this.ho.Ds(e),this.Po[e]||"not-current"}updateQueryState(e,t,n){this.Po[e]=t}removeLocalQueryTarget(e){this.ho.vs(e)}isLocalQueryTarget(e){return this.ho.activeTargetIds.has(e)}clearQueryState(e){delete this.Po[e]}getAllActiveQueryTargets(){return this.ho.activeTargetIds}isActiveQueryTarget(e){return this.ho.activeTargetIds.has(e)}start(){return this.ho=new __PRIVATE_LocalClientState,Promise.resolve()}handleUserChange(e,t,n){}setOnlineState(e){}shutdown(){}writeSequenceNumber(e){}notifyBundleLoaded(e){}}class __PRIVATE_NoopConnectivityMonitor{To(e){}shutdown(){}}const Bp="ConnectivityMonitor";class __PRIVATE_BrowserConnectivityMonitor{constructor(){this.Io=()=>this.Eo(),this.Ao=()=>this.Ro(),this.Vo=[],this.mo()}To(e){this.Vo.push(e)}shutdown(){window.removeEventListener("online",this.Io),window.removeEventListener("offline",this.Ao)}mo(){window.addEventListener("online",this.Io),window.addEventListener("offline",this.Ao)}Eo(){Bu(Bp,"Network connectivity changed: AVAILABLE");for(const e of this.Vo)e(0)}Ro(){Bu(Bp,"Network connectivity changed: UNAVAILABLE");for(const e of this.Vo)e(1)}static D(){return"undefined"!=typeof window&&void 0!==window.addEventListener&&void 0!==window.removeEventListener}}let $p=null;function zp(){return null===$p?$p=268435456+Math.round(2147483648*Math.random()):$p++,"0x"+$p.toString(16)}const Hp="RestConnection",Wp={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregation
1Query:"runAggregationQuery"};class __PRIVATE_RestConnection{get fo(){return!1}constructor(e){this.databaseInfo=e,this.databaseId=e.databaseId;const t=e.ssl?"https":"http",n=encodeURIComponent(this.databaseId.projectId),r=encodeURIComponent(this.databaseId.database);this.po=t+"://"+e.host,this.yo=`projects/${n}/databases/${r}`,this.wo=this.databaseId.database===rd?`project_id=${n}`:`project_id=${n}&database_id=${r}`}So(e,t,n,r,i){const s=zp(),o=this.bo(e,t.toUriEncodedString());Bu(Hp,`Sending RPC '${e}' ${s}:`,o,n);const a={"google-cloud-resource-prefix":this.yo,"x-goog-request-params":this.wo};return this.Do(a,r,i),this.vo(e,o,a,n).then((t=>(Bu(Hp,`Received RPC '${e}' ${s}: `,t),t)),(t=>{throw zu(Hp,`RPC '${e}' ${s} failed with error: `,t,"url: ",o,"request:",n),t}))}Co(e,t,n,r,i,s){return this.So(e,t,n,r,i)}Do(e,t,n){e["X-Goog-Api-Client"]="gl-js/ fire/"+Mu,e["Content-Type"]="text/plain",this.databaseInfo.appId&&(e["X-Firebase-GMPID"]=this.databaseInfo.appId),t&&t.headers.forEach(((t,n)=>e[n]=t)),n&&n.headers.forEach(((t,n)=>e[n]=t))}bo(e,t){const n=Wp[e];return`${this.po}/v1/${t}:${n}`}terminate(){}}class __PRIVATE_StreamBridge{constructor(e){this.Fo=e.Fo,this.Mo=e.Mo}xo(e){this.Oo=e}No(e){this.Bo=e}Lo(e){this.ko=e}onMessage(e){this.qo=e}close(){this.Mo()}send(e){this.Fo(e)}Qo(){this.Oo()}$o(){this.Bo()}Uo(e){this.ko(e)}Ko(e){this.qo(e)}}const qp="WebChannelConnection";class __PRIVATE_WebChannelConnection extends __PRIVATE_RestConnection{constructor(e){super(e),this.forceLongPolling=e.forceLongPolling,this.autoDetectLongPolling=e.autoDetectLongPolling,this.useFetchStreams=e.useFetchStreams,this.longPollingOptions=e.longPollingOptions}vo(e,t,n,r){const i=zp();return new Promise(((s,o)=>{const a=new xu;a.setWithCredentials(!0),a.listenOnce(Iu.COMPLETE,(()=>{try{switch(a.getLastErrorCode()){case ku.NO_ERROR:const t=a.getResponseJson();Bu(qp,`XHR for RPC '${e}' ${i} received:`,JSON.stringify(t)),s(t);break;case ku.TIMEOUT:Bu(qp,`RPC '${e}' ${i} timed out`),o(new FirestoreError(Gu.DEADLINE_EXCEEDED,"Request time out"));break;case ku.HTTP_ERROR:const n=a.getStatus();if(Bu(qp,`RPC '${e}' ${i} failed with status:`,n,"response text:",a.getResponseText()),n>0){let e=a.getResponseJson();Array.isArray(e)&&(e=e[0]);const t=null==e?void 0:e.error;if(t&&t.status&&t.message){const e=function(e){const t=e.toLowerCase().replace(/_/g,"-");return Object.values(Gu).indexOf(t)>=0?t:Gu.UNKNOWN}(t.status);o(new FirestoreError(e,t.message))}else o(new FirestoreError(Gu.UNKNOWN,"Server responded with status "+a.getStatus()))}else o(new FirestoreError(Gu.UNAVAILABLE,"Connection failed."));break;default:Wu()}}finally{Bu(qp,`RPC '${e}' ${i} completed.`)}}));const l=JSON.stringify(r);Bu(qp,`RPC '${e}' ${i} sending request:`,r),a.send(t,"POST",l,n,15)}))}Wo(e,t,n){const r=zp(),i=[this.po,"/","google.firestore.v1.Firestore","/",e,"/channel"],s=Ou(),o=Ru(),a={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},l=this.longPollingOptions.timeoutSeconds;void 0!==l&&(a.longPollingTimeout=Math.round(1e3*l)),this.useFetchStreams&&(a.useFetchStreams=!0),this.Do(a.initMessageHeaders,t,n),a.encodeInitMessageHeaders=!0;const c=i.join("");Bu(qp,`Creating RPC '${e}' stream ${r}: ${c}`,a);const u=s.createWebChannel(c,a);let h=!1,d=!1;const f=new __PRIVATE_StreamBridge({Fo:t=>{d?Bu(qp,`Not sending because RPC '${e}' stream ${r} is closed:`,t):(h||(Bu(qp,`Opening RPC '${e}' stream ${r} transport.`),u.open(),h=!0),Bu(qp,`RPC '${e}' stream ${r} sending:`,t),u.send(t))},Mo:()=>u.close()}),p=(e,t,n)=>{e.listen(t,(e=>{try{n(e)}catch(e){setTimeout((()=>{throw e}),0)}}))};return p(u,Au.EventType.OPEN,(()=>{d||(Bu(qp,`RPC '${e}' stream ${r} transport opened.`),f.Qo())})),p(u,Au.EventType.CLOSE,(()=>{d||(d=!0,Bu(qp,`RPC '${e}' stream ${r} transport closed`),f.Uo())}
1)),p(u,Au.EventType.ERROR,(t=>{d||(d=!0,zu(qp,`RPC '${e}' stream ${r} transport errored:`,t),f.Uo(new FirestoreError(Gu.UNAVAILABLE,"The operation could not be completed")))})),p(u,Au.EventType.MESSAGE,(t=>{var n;if(!d){const i=t.data[0];qu(!!i);const s=i,o=(null==s?void 0:s.error)||(null===(n=s[0])||void 0===n?void 0:n.error);if(o){Bu(qp,`RPC '${e}' stream ${r} received error:`,o);const t=o.status;let n=function(e){const t=jf[e];if(void 0!==t)return Vf(t)}(t),i=o.message;void 0===n&&(n=Gu.INTERNAL,i="Unknown error status: "+t+" with message "+o.message),d=!0,f.Uo(new FirestoreError(n,i)),u.close()}else Bu(qp,`RPC '${e}' stream ${r} received:`,i),f.Ko(i)}})),p(o,Nu.STAT_EVENT,(t=>{t.stat===Pu.PROXY?Bu(qp,`RPC '${e}' stream ${r} detected buffering proxy`):t.stat===Pu.NOPROXY&&Bu(qp,`RPC '${e}' stream ${r} detected no buffering proxy`)})),setTimeout((()=>{f.$o()}),0),f}}function Kp(){return"undefined"!=typeof document?document:null}function Gp(e){return new JsonProtoSerializer(e,!0)}class __PRIVATE_ExponentialBackoff{constructor(e,t,n=1e3,r=1.5,i=6e4){this.Ti=e,this.timerId=t,this.Go=n,this.zo=r,this.jo=i,this.Ho=0,this.Jo=null,this.Yo=Date.now(),this.reset()}reset(){this.Ho=0}Zo(){this.Ho=this.jo}Xo(e){this.cancel();const t=Math.floor(this.Ho+this.e_()),n=Math.max(0,Date.now()-this.Yo),r=Math.max(0,t-n);r>0&&Bu("ExponentialBackoff",`Backing off for ${r} ms (base delay: ${this.Ho} ms, delay with jitter: ${t} ms, last attempt: ${n} ms ago)`),this.Jo=this.Ti.enqueueAfterDelay(this.timerId,r,(()=>(this.Yo=Date.now(),e()))),this.Ho*=this.zo,this.Ho<this.Go&&(this.Ho=this.Go),this.Ho>this.jo&&(this.Ho=this.jo)}t_(){null!==this.Jo&&(this.Jo.skipDelay(),this.Jo=null)}cancel(){null!==this.Jo&&(this.Jo.cancel(),this.Jo=null)}e_(){return(Math.random()-.5)*this.Ho}}const Qp="PersistentStream";class __PRIVATE_PersistentStream{constructor(e,t,n,r,i,s,o,a){this.Ti=e,this.n_=n,this.r_=r,this.connection=i,this.authCredentialsProvider=s,this.appCheckCredentialsProvider=o,this.listener=a,this.state=0,this.i_=0,this.s_=null,this.o_=null,this.stream=null,this.__=0,this.a_=new __PRIVATE_ExponentialBackoff(e,t)}u_(){return 1===this.state||5===this.state||this.c_()}c_(){return 2===this.state||3===this.state}start(){this.__=0,4!==this.state?this.auth():this.l_()}async stop(){this.u_()&&await this.close(0)}h_(){this.state=0,this.a_.reset()}P_(){this.c_()&&null===this.s_&&(this.s_=this.Ti.enqueueAfterDelay(this.n_,6e4,(()=>this.T_())))}I_(e){this.E_(),this.stream.send(e)}async T_(){if(this.c_())return this.close(0)}E_(){this.s_&&(this.s_.cancel(),this.s_=null)}d_(){this.o_&&(this.o_.cancel(),this.o_=null)}async close(e,t){this.E_(),this.d_(),this.a_.cancel(),this.i_++,4!==e?this.a_.reset():t&&t.code===Gu.RESOURCE_EXHAUSTED?($u(t.toString()),$u("Using maximum backoff delay to prevent overloading the backend."),this.a_.Zo()):t&&t.code===Gu.UNAUTHENTICATED&&3!==this.state&&(this.authCredentialsProvider.invalidateToken(),this.appCheckCredentialsProvider.invalidateToken()),null!==this.stream&&(this.A_(),this.stream.close(),this.stream=null),this.state=e,await this.listener.Lo(t)}A_(){}auth(){this.state=1;const e=this.R_(this.i_),t=this.i_;Promise.all([this.authCredentialsProvider.getToken(),this.appCheckCredentialsProvider.getToken()]).then((([e,n])=>{this.i_===t&&this.V_(e,n)}),(t=>{e((()=>{const e=new FirestoreError(Gu.UNKNOWN,"Fetching auth token failed: "+t.message);return this.m_(e)}))}))}V_(e,t){const n=this.R_(this.i_);this.stream=this.f_(e,t),this.stream.xo((()=>{n((()=>this.listener.xo()))})),this.stream.No((()=>{n((()=>(this.state=2,this.o_=this.Ti.enqueueAfterDelay(this.r_,1e4,(()=>(this.c_()&&(this.state=3),Promise.resolve()))),this.listener.No())))})),this.stream.Lo((e=>{n((()=>this.m_(e)))})),this.stream.onMessage((e=>{n((()=>1==++this.__?this.g_(e):this.onNext(e)))}))}l_(){this.state=5,this.a_.Xo((async()=>{this.state=0,this.start()}))}m_(e){return Bu(Qp,`close with error: ${e}`),this.stream=null,this.close(4,e)}R_(e){return t=>{this.Ti.enqueueAndForget((()=>this.i_===e?t():(Bu(Qp,"stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve())))}}}class __PRIVATE_PersistentListenStream extends __PRIVATE_PersistentStream{constructor(e,t,n,r,i,s){super(e,"listen_stream_connection_backoff","listen_stream_idle","health_check_timeout",t,n,r,s
1),this.serializer=i}f_(e,t){return this.connection.Wo("Listen",e,t)}g_(e){return this.onNext(e)}onNext(e){this.a_.reset();const t=function(e,t){let n;if("targetChange"in t){t.targetChange;const r=function(e){return"NO_CHANGE"===e?0:"ADD"===e?1:"REMOVE"===e?2:"CURRENT"===e?3:"RESET"===e?4:Wu()}(t.targetChange.targetChangeType||"NO_CHANGE"),i=t.targetChange.targetIds||[],s=function(e,t){return e.useProto3Json?(qu(void 0===t||"string"==typeof t),ByteString.fromBase64String(t||"")):(qu(void 0===t||t instanceof Buffer||t instanceof Uint8Array),ByteString.fromUint8Array(t||new Uint8Array))}(e,t.targetChange.resumeToken),o=t.targetChange.cause,a=o&&function(e){const t=void 0===e.code?Gu.UNKNOWN:Vf(e.code);return new FirestoreError(t,e.message||"")}(o);n=new __PRIVATE_WatchTargetChange(r,i,s,a||null)}else if("documentChange"in t){t.documentChange;const r=t.documentChange;r.document,r.document.name,r.document.updateTime;const i=sp(e,r.document.name),s=ep(r.document.updateTime),o=r.document.createTime?ep(r.document.createTime):SnapshotVersion.min(),a=new ObjectValue({mapValue:{fields:r.document.fields}}),l=MutableDocument.newFoundDocument(i,s,o,a),c=r.targetIds||[],u=r.removedTargetIds||[];n=new __PRIVATE_DocumentWatchChange(c,u,l.key,l)}else if("documentDelete"in t){t.documentDelete;const r=t.documentDelete;r.document;const i=sp(e,r.document),s=r.readTime?ep(r.readTime):SnapshotVersion.min(),o=MutableDocument.newNoDocument(i,s),a=r.removedTargetIds||[];n=new __PRIVATE_DocumentWatchChange([],a,o.key,o)}else if("documentRemove"in t){t.documentRemove;const r=t.documentRemove;r.document;const i=sp(e,r.document),s=r.removedTargetIds||[];n=new __PRIVATE_DocumentWatchChange([],s,i,null)}else{if(!("filter"in t))return Wu();{t.filter;const e=t.filter;e.targetId;const{count:r=0,unchangedNames:i}=e,s=new ExistenceFilter(r,i),o=e.targetId;n=new __PRIVATE_ExistenceFilterChange(o,s)}}return n}(this.serializer,e),n=function(e){if(!("targetChange"in e))return SnapshotVersion.min();const t=e.targetChange;return t.targetIds&&t.targetIds.length?SnapshotVersion.min():t.readTime?ep(t.readTime):SnapshotVersion.min()}(e);return this.listener.p_(t,n)}y_(e){const t={};t.database=lp(this.serializer),t.addTarget=function(e,t){let n;const r=t.target;if(n=Bd(r)?{documents:dp(e,r)}:{query:fp(e,r).ht},n.targetId=t.targetId,t.resumeToken.approximateByteSize()>0){n.resumeToken=Jf(e,t.resumeToken);const r=Xf(e,t.expectedCount);null!==r&&(n.expectedCount=r)}else if(t.snapshotVersion.compareTo(SnapshotVersion.min())>0){n.readTime=Yf(e,t.snapshotVersion.toTimestamp());const r=Xf(e,t.expectedCount);null!==r&&(n.expectedCount=r)}return n}(this.serializer,e);const n=function(e,t){const n=function(e){switch(e){case"TargetPurposeListen":return null;case"TargetPurposeExistenceFilterMismatch":return"existence-filter-mismatch";case"TargetPurposeExistenceFilterMismatchBloom":return"existence-filter-mismatch-bloom";case"TargetPurposeLimboResolution":return"limbo-document";default:return Wu()}}(t.purpose);return null==n?null:{"goog-listen-tags":n}}(this.serializer,e);n&&(t.labels=n),this.I_(t)}w_(e){const t={};t.database=lp(this.serializer),t.removeTarget=e,this.I_(t)}}class __PRIVATE_PersistentWriteStream extends __PRIVATE_PersistentStream{constructor(e,t,n,r,i,s){super(e,"write_stream_connection_backoff","write_stream_idle","health_check_timeout",t,n,r,s),this.serializer=i}get S_(){return this.__>0}start(){this.lastStreamToken=void 0,super.start()}A_(){this.S_&&this.b_([])}f_(e,t){return this.connection.Wo("Write",e,t)}g_(e){return qu(!!e.streamToken),this.lastStreamToken=e.streamToken,qu(!e.writeResults||0===e.writeResults.length),this.listener.D_()}onNext(e){qu(!!e.streamToken),this.lastStreamToken=e.streamToken,this.a_.reset();const t=function(e,t){return e&&e.length>0?(qu(void 0!==t),e.map((e=>function(e,t){let n=e.updateTime?ep(e.updateTime):ep(t);return n.isEqual(SnapshotVersion.min())&&(n=ep(t)),new MutationResult(n,e.transformResults||[])}(e,t)))):[]}(e.writeResults,e.commitTime),n=ep(e.commitTime);return this.listener.v_(n,t)}C_(){const e={};e.database=lp(this.serializer),this.I_(e)}b_(e){const t={streamToken:this.lastStreamToken,writes:e.map((e=>hp(this.serializer,e)))};this.I_(t)}}class Datastore{}class __PRIVATE_DatastoreImpl extends Datastore{constructor(e,t,n,r){super(),this.authCredentials=e,this.appCheckCredentials=t,this.connection=n,this.serializer
1=r,this.F_=!1}M_(){if(this.F_)throw new FirestoreError(Gu.FAILED_PRECONDITION,"The client has already been terminated.")}So(e,t,n,r){return this.M_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then((([i,s])=>this.connection.So(e,np(t,n),r,i,s))).catch((e=>{throw"FirebaseError"===e.name?(e.code===Gu.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),e):new FirestoreError(Gu.UNKNOWN,e.toString())}))}Co(e,t,n,r,i){return this.M_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then((([s,o])=>this.connection.Co(e,np(t,n),r,s,o,i))).catch((e=>{throw"FirebaseError"===e.name?(e.code===Gu.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),e):new FirestoreError(Gu.UNKNOWN,e.toString())}))}terminate(){this.F_=!0,this.connection.terminate()}}class __PRIVATE_OnlineStateTracker{constructor(e,t){this.asyncQueue=e,this.onlineStateHandler=t,this.state="Unknown",this.x_=0,this.O_=null,this.N_=!0}B_(){0===this.x_&&(this.L_("Unknown"),this.O_=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,(()=>(this.O_=null,this.k_("Backend didn't respond within 10 seconds."),this.L_("Offline"),Promise.resolve()))))}q_(e){"Online"===this.state?this.L_("Unknown"):(this.x_++,this.x_>=1&&(this.Q_(),this.k_(`Connection failed 1 times. Most recent error: ${e.toString()}`),this.L_("Offline")))}set(e){this.Q_(),this.x_=0,"Online"===e&&(this.N_=!1),this.L_(e)}L_(e){e!==this.state&&(this.state=e,this.onlineStateHandler(e))}k_(e){const t=`Could not reach Cloud Firestore backend. ${e}\nThis typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.`;this.N_?($u(t),this.N_=!1):Bu("OnlineStateTracker",t)}Q_(){null!==this.O_&&(this.O_.cancel(),this.O_=null)}}const Xp="RemoteStore";class __PRIVATE_RemoteStoreImpl{constructor(e,t,n,r,i){this.localStore=e,this.datastore=t,this.asyncQueue=n,this.remoteSyncer={},this.U_=[],this.K_=new Map,this.W_=new Set,this.G_=[],this.z_=i,this.z_.To((e=>{n.enqueueAndForget((async()=>{sm(this)&&(Bu(Xp,"Restarting streams for network reachability change."),await async function(e){const t=Ku(e);t.W_.add(4),await Jp(t),t.j_.set("Unknown"),t.W_.delete(4),await Yp(t)}(this))}))})),this.j_=new __PRIVATE_OnlineStateTracker(n,r)}}async function Yp(e){if(sm(e))for(const t of e.G_)await t(!0)}async function Jp(e){for(const t of e.G_)await t(!1)}function Zp(e,t){const n=Ku(e);n.K_.has(t.targetId)||(n.K_.set(t.targetId,t),im(n)?rm(n):Tm(n).c_()&&tm(n,t))}function em(e,t){const n=Ku(e),r=Tm(n);n.K_.delete(t),r.c_()&&nm(n,t),0===n.K_.size&&(r.c_()?r.P_():sm(n)&&n.j_.set("Unknown"))}function tm(e,t){if(e.H_.Ne(t.targetId),t.resumeToken.approximateByteSize()>0||t.snapshotVersion.compareTo(SnapshotVersion.min())>0){const n=e.remoteSyncer.getRemoteKeysForTarget(t.targetId).size;t=t.withExpectedCount(n)}Tm(e).y_(t)}function nm(e,t){e.H_.Ne(t),Tm(e).w_(t)}function rm(e){e.H_=new __PRIVATE_WatchChangeAggregator({getRemoteKeysForTarget:t=>e.remoteSyncer.getRemoteKeysForTarget(t),lt:t=>e.K_.get(t)||null,it:()=>e.datastore.serializer.databaseId}),Tm(e).start(),e.j_.B_()}function im(e){return sm(e)&&!Tm(e).u_()&&e.K_.size>0}function sm(e){return 0===Ku(e).W_.size}function om(e){e.H_=void 0}async function am(e){e.j_.set("Online")}async function lm(e){e.K_.forEach(((t,n)=>{tm(e,t)}))}async function cm(e,t){om(e),im(e)?(e.j_.q_(t),rm(e)):e.j_.set("Unknown")}async function um(e,t,n){if(e.j_.set("Online"),t instanceof __PRIVATE_WatchTargetChange&&2===t.state&&t.cause)try{await async function(e,t){const n=t.cause;for(const r of t.targetIds)e.K_.has(r)&&(await e.remoteSyncer.rejectListen(r,n),e.K_.delete(r),e.H_.removeTarget(r))}(e,t)}catch(n){Bu(Xp,"Failed to remove targets %s: %s ",t.targetIds.join(","),n),await hm(e,n)}else if(t instanceof __PRIVATE_DocumentWatchChange?e.H_.We(t):t instanceof __PRIVATE_ExistenceFilterChange?e.H_.Ze(t):e.H_.je(t),!n.isEqual(SnapshotVersion.min()))try{const t=await Dp(e.localStore);n.compareTo(t)>=0&&await function(e,t){const n=e.H_.ot(t);
vendor: 10,972 bytes, line 1
1return n.targetChanges.forEach(((n,r)=>{if(n.resumeToken.approximateByteSize()>0){const i=e.K_.get(r);i&&e.K_.set(r,i.withResumeToken(n.resumeToken,t))}})),n.targetMismatches.forEach(((t,n)=>{const r=e.K_.get(t);if(!r)return;e.K_.set(t,r.withResumeToken(ByteString.EMPTY_BYTE_STRING,r.snapshotVersion)),nm(e,t);const i=new TargetData(r.target,t,n,r.sequenceNumber);tm(e,i)})),e.remoteSyncer.applyRemoteEvent(n)}(e,n)}catch(t){Bu(Xp,"Failed to raise snapshot:",t),await hm(e,t)}}async function hm(e,t,n){if(!hh(t))throw t;e.W_.add(1),await Jp(e),e.j_.set("Offline"),n||(n=()=>Dp(e.localStore)),e.asyncQueue.enqueueRetryable((async()=>{Bu(Xp,"Retrying IndexedDB access"),await n(),e.W_.delete(1),await Yp(e)}))}function dm(e,t){return t().catch((n=>hm(e,n,t)))}async function fm(e){const t=Ku(e),n=Cm(t);let r=t.U_.length>0?t.U_[t.U_.length-1].batchId:dh;for(;pm(t);)try{const e=await Lp(t.localStore,r);if(null===e){0===t.U_.length&&n.P_();break}r=e.batchId,mm(t,e)}catch(e){await hm(t,e)}gm(t)&&_m(t)}function pm(e){return sm(e)&&e.U_.length<10}function mm(e,t){e.U_.push(t);const n=Cm(e);n.c_()&&n.S_&&n.b_(t.mutations)}function gm(e){return sm(e)&&!Cm(e).u_()&&e.U_.length>0}function _m(e){Cm(e).start()}async function vm(e){Cm(e).C_()}async function ym(e){const t=Cm(e);for(const n of e.U_)t.b_(n.mutations)}async function bm(e,t,n){const r=e.U_.shift(),i=MutationBatchResult.from(r,t,n);await dm(e,(()=>e.remoteSyncer.applySuccessfulWrite(i))),await fm(e)}async function wm(e,t){t&&Cm(e).S_&&await async function(e,t){if(function(e){return Uf(e)&&e!==Gu.ABORTED}(t.code)){const n=e.U_.shift();Cm(e).h_(),await dm(e,(()=>e.remoteSyncer.rejectFailedWrite(n.batchId,t))),await fm(e)}}(e,t),gm(e)&&_m(e)}async function Em(e,t){const n=Ku(e);n.asyncQueue.verifyOperationInProgress(),Bu(Xp,"RemoteStore received new credentials");const r=sm(n);n.W_.add(3),await Jp(n),r&&n.j_.set("Unknown"),await n.remoteSyncer.handleCredentialChange(t),n.W_.delete(3),await Yp(n)}async function Sm(e,t){const n=Ku(e);t?(n.W_.delete(2),await Yp(n)):t||(n.W_.add(2),await Jp(n),n.j_.set("Unknown"))}function Tm(e){return e.J_||(e.J_=function(e,t,n){const r=Ku(e);return r.M_(),new __PRIVATE_PersistentListenStream(t,r.connection,r.authCredentials,r.appCheckCredentials,r.serializer,n)}(e.datastore,e.asyncQueue,{xo:am.bind(null,e),No:lm.bind(null,e),Lo:cm.bind(null,e),p_:um.bind(null,e)}),e.G_.push((async t=>{t?(e.J_.h_(),im(e)?rm(e):e.j_.set("Unknown")):(await e.J_.stop(),om(e))}))),e.J_}function Cm(e){return e.Y_||(e.Y_=function(e,t,n){const r=Ku(e);return r.M_(),new __PRIVATE_PersistentWriteStream(t,r.connection,r.authCredentials,r.appCheckCredentials,r.serializer,n)}(e.datastore,e.asyncQueue,{xo:()=>Promise.resolve(),No:vm.bind(null,e),Lo:wm.bind(null,e),D_:ym.bind(null,e),v_:bm.bind(null,e)}),e.G_.push((async t=>{t?(e.Y_.h_(),await fm(e)):(await e.Y_.stop(),e.U_.length>0&&(Bu(Xp,`Stopping write stream with ${e.U_.length} pending writes`),e.U_=[]))}))),e.Y_}class DelayedOperation{constructor(e,t,n,r,i){this.asyncQueue=e,this.timerId=t,this.targetTimeMs=n,this.op=r,this.removalCallback=i,this.deferred=new __PRIVATE_Deferred,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch((e=>{}))}get promise(){return this.deferred.promise}static createAndSchedule(e,t,n,r,i){const s=Date.now()+n,o=new DelayedOperation(e,t,s,r,i);return o.start(n),o}start(e){this.timerHandle=setTimeout((()=>this.handleDelayElapsed()),e)}skipDelay(){return this.handleDelayElapsed()}cancel(e){null!==this.timerHandle&&(this.clearTimeout(),this.deferred.reject(new FirestoreError(Gu.CANCELLED,"Operation cancelled"+(e?": "+e:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget((()=>null!==this.timerHandle?(this.clearTimeout(),this.op().then((e=>this.deferred.resolve(e)))):Promise.resolve()))}clearTimeout(){null!==this.timerHandle&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}function xm(e,t){if($u("AsyncQueue",`${t}: ${e}`),hh(e))return new FirestoreError(Gu.UNAVAILABLE,`${t}: ${e}`);throw e}class DocumentSet{static emptySet(e){return new DocumentSet(e.comparator)}constructor(e){this.comparator=e?(t,n)=>e(t,n)||DocumentKey.comparator(t.key,n.key):(e,t)=>DocumentKey.comparator(e.key,t.key),this.keyedMap=lf(),this.sortedSet=new index_esm2017_SortedMap(this.comparator)}has(e){return null!=this.keyedMap.get(e)}get(e){return this.keyedMap.get(e)}first(){return this.sortedSet.minKey()}last(){return this.sortedSet.maxKey()}isEmpty(){return this.sortedSet.isEmpty()}indexOf(e){const t=this.keyedMap.get(e);return t?this.sortedSet.indexOf(t):-1}get size(){return this.sortedSet.size}forEach(e){this.sortedSet.inorderTraversal(((t,n)=>(e(t),!1)))}add(e){const t=this.delete(e.key);return t.copy(t.keyedMap.insert(e.key,e),t.sortedSet.insert(e,null))}delete(e){const t=this.get(e);return t?this.copy(this.keyedMap.remove(e),this.sortedSet.remove(t)):this}isEqual(e){if(!(e instanceof DocumentSet))return!1;if(this.size!==e.size)return!1;const t=this.sortedSet.getIterator(),n=e.sortedSet.getIterator();for(;t.hasNext();){const e=t.getNext().key,r=n.getNext().key;if(!e.isEqual(r))return!1}return!0}toString(){const e=[];return this.forEach((t=>{e.push(t.toString())})),0===e.length?"DocumentSet ()":"DocumentSet (\n "+e.join(" \n")+"\n)"}copy(e,t){const n=new DocumentSet;return n.comparator=this.comparator,n.keyedMap=e,n.sortedSet=t,n}}class __PRIVATE_DocumentChangeSet{constructor(){this.Z_=new index_esm2017_SortedMap(DocumentKey.comparator)}track(e){const t=e.doc.key,n=this.Z_.get(t);n?0!==e.type&&3===n.type?this.Z_=this.Z_.insert(t,e):3===e.type&&1!==n.type?this.Z_=this.Z_.insert(t,{type:n.type,doc:e.doc}):2===e.type&&2===n.type?this.Z_=this.Z_.insert(t,{type:2,doc:e.doc}):2===e.type&&0===n.type?this.Z_=this.Z_.insert(t,{type:0,doc:e.doc}):1===e.type&&0===n.type?this.Z_=this.Z_.remove(t):1===e.type&&2===n.type?this.Z_=this.Z_.insert(t,{type:1,doc:n.doc}):0===e.type&&1===n.type?this.Z_=this.Z_.insert(t,{type:2,doc:e.doc}):Wu():this.Z_=this.Z_.insert(t,e)}X_(){const e=[];return this.Z_.inorderTraversal(((t,n)=>{e.push(n)})),e}}class ViewSnapshot{constructor(e,t,n,r,i,s,o,a,l){this.query=e,this.docs=t,this.oldDocs=n,this.docChanges=r,this.mutatedKeys=i,this.fromCache=s,this.syncStateChanged=o,this.excludesMetadataChanges=a,this.hasCachedResults=l}static fromInitialDocuments(e,t,n,r,i){const s=[];return t.forEach((e=>{s.push({type:0,doc:e})})),new ViewSnapshot(e,t,DocumentSet.emptySet(t),s,n,r,!0,!1,i)}get hasPendingWrites(){return!this.mutatedKeys.isEmpty()}isEqual(e){if(!(this.fromCache===e.fromCache&&this.hasCachedResults===e.hasCachedResults&&this.syncStateChanged===e.syncStateChanged&&this.mutatedKeys.isEqual(e.mutatedKeys)&&Yd(this.query,e.query)&&this.docs.isEqual(e.docs)&&this.oldDocs.isEqual(e.oldDocs)))return!1;const t=this.docChanges,n=e.docChanges;if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++)if(t[r].type!==n[r].type||!t[r].doc.isEqual(n[r].doc))return!1;return!0}}class __PRIVATE_QueryListenersInfo{constructor(){this.ea=void 0,this.ta=[]}na(){return this.ta.some((e=>e.ra()))}}class __PRIVATE_EventManagerImpl{constructor(){this.queries=Am(),this.onlineState="Unknown",this.ia=new Set}terminate(){!function(e,t){const n=Ku(e),r=n.queries;n.queries=Am(),r.forEach(((e,n)=>{for(const r of n.ta)r.onError(t)}))}(this,new FirestoreError(Gu.ABORTED,"Firestore shutting down"))}}function Am(){return new ObjectMap((e=>Jd(e)),Yd)}async function Im(e,t){const n=Ku(e);let r=3;const i=t.query;let s=n.queries.get(i);s?!s.na()&&t.ra()&&(r=2):(s=new __PRIVATE_QueryListenersInfo,r=t.ra()?0:1);try{switch(r){case 0:s.ea=await n.onListen(i,!0);break;case 1:s.ea=await n.onListen(i,!1);break;case 2:await n.onFirstRemoteStoreListen(i)}}catch(e){const n=xm(e,`Initialization of query '${Zd(t.query)}' failed`);return void t.onError(n)}n.queries.set(i,s),s.ta.push(t),t.sa(n.onlineState),s.ea&&t.oa(s.ea)&&Rm(n)}async function km(e,t){const n=Ku(e),r=t.query;let i=3;const s=n.queries.get(r);if(s){const e=s.ta.indexOf(t);e>=0&&(s.ta.splice(e,1),0===s.ta.length?i=t.ra()?0:1:!s.na()&&t.ra()&&(i=2))}switch(i){case 0:return n.queries.delete(r),n.onUnlisten(r,!0);case 1:return n.queries.delete(r),n.onUnlisten(r,!1);case 2:return n.onLastRemoteStoreUnlisten(r);default:return}}function Pm(e,t){const n=Ku(e);let r=!1;for(const i of t){const e=i.query,t=n.queries.get(e);if(t){for(const e of t.ta)e.oa(i)&&(r=!0);t.ea=i}}r&&Rm(n)}function Nm(e,t,n){const r=Ku(e),i=r.queries.get(t);if(i)for(const s of i.ta)s.onError(n);r.queries.delete(t)}function Rm(e){e.ia.forEach((e=>{e.next()}))}var Om,Dm;(Dm=Om||(Om={}))._a="default",Dm.Cache="cache";class __PRIVATE_QueryListener{constructor(e,t,n){this.query=e,this.aa=t,this.ua=!1,this.ca=null,this.onlineState="Unknown",this.options=n||{}}oa(e){if(!this.options.includeMetadataChanges){const t=[];for(const n of e.docChanges)3!==n.type&&t.push(n);e=new ViewSnapshot(e.query,e.docs,e.oldDocs,t,e.mutatedKeys,e.fromCache,e.syncStateChanged,!0,e.hasCachedResults)}let t=!1;return this.ua?this.la(e)&&(this.aa.next(e),t=!0):this.ha(e,this.onlineState)&&(this.Pa(e),t=!0),this.ca=e,t}onError(e){this.aa.error(e)}sa(e){this.onlineState=e;let t=!1;return this.ca&&!this.ua&&this.ha(this.ca,e)&&(this.Pa(this.ca),t=!0),t}ha(e,t){if(!e.fromCache)return!0;if(!this.ra())return!0;const n="Offline"!==t;return(!this.options.Ta||!n)&&(!e.docs.isEmpty()||e.hasCachedResults||"Offline"===t)}la(e){if(e.docChanges.length>0)return!0;const t=this.ca&&this.ca.hasPendingWrites!==e.hasPendingWrites;return!(!e.syncStateChanged&&!t)&&!0===this.options.includeMetadataChanges}Pa(e){e=ViewSnapshot.fromInitialDocuments(e.query,e.docs,e.mutatedKeys,e.fromCache,e.hasCachedResults),this.ua=!0,this.aa.next(e)}ra(){return this.options.source!==Om.Cache}}class __PRIVATE_AddedLimboDocument{constructor(e){this.key=e}}class __PRIVATE_RemovedLimboDocument{constructor(e){this.key=e}}class __PRIVATE_View{constructor(e,t){this.query=e,this.fa=t,this.ga=null,this.hasCachedResults=!1,this.current=!1,this.pa=mf(),this.mutatedKeys=mf(),this.ya=nf(e),this.wa=new DocumentSet(this.ya)}get Sa(){return this.fa}ba(e,t){const n=t?t.Da:new __PRIVATE_DocumentChangeSet,r=t?t.wa:this.wa;let i=t?t.mutatedKeys:this.mutatedKeys,s=r,o=!1;const a="F"===this.query.limitType&&r.size===this.query.limit?r.last():null,l="L"===this.query.limitType&&r.size===this.query.limit?r.first():null;if(e.inorderTraversal(((e,t)=>{const c=r.get(e),u=ef(this.query,t)?t:null,h=!!c&&this.mutatedKeys.has(c.key),d=!!u&&(u.hasLocalMutations||this.mutatedKeys.has(u.key)&&u.hasCommittedMutations);let f=!1;c&&u?c.data.isEqual(u.data)?h!==d&&(n.track({type:3,doc:u}),f=!0):this.va(c,u)||(n.track({type:2,doc:u}),f=!0,(a&&this.ya(u,a)>0||l&&this.ya(u,l)<0)&&(o=!0)):!c&&u?(n.track({type:0,doc:u}),f=!0):c&&!u&&(n.track({type:1,doc:c}),f=!0,(a||l)&&(o=!0)),f&&(u?(s=s.add(u),i=d?i.add(e):i.delete(e)):(s=s.delete(e),i=i.delete(e)))})),null!==this.query.limit)for(;s.size>this.query.limit;
1){const e="F"===this.query.limitType?s.last():s.first();s=s.delete(e.key),i=i.delete(e.key),n.track({type:1,doc:e})}return{wa:s,Da:n,ls:o,mutatedKeys:i}}va(e,t){return e.hasLocalMutations&&t.hasCommittedMutations&&!t.hasLocalMutations}applyChanges(e,t,n,r){const i=this.wa;this.wa=e.wa,this.mutatedKeys=e.mutatedKeys;const s=e.Da.X_();s.sort(((e,t)=>function(e,t){const n=e=>{switch(e){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return Wu()}};return n(e)-n(t)}(e.type,t.type)||this.ya(e.doc,t.doc))),this.Ca(n),r=null!=r&&r;const o=t&&!r?this.Fa():[],a=0===this.pa.size&&this.current&&!r?1:0,l=a!==this.ga;return this.ga=a,0!==s.length||l?{snapshot:new ViewSnapshot(this.query,e.wa,i,s,e.mutatedKeys,0===a,l,!1,!!n&&n.resumeToken.approximateByteSize()>0),Ma:o}:{Ma:o}}sa(e){return this.current&&"Offline"===e?(this.current=!1,this.applyChanges({wa:this.wa,Da:new __PRIVATE_DocumentChangeSet,mutatedKeys:this.mutatedKeys,ls:!1},!1)):{Ma:[]}}xa(e){return!this.fa.has(e)&&!!this.wa.has(e)&&!this.wa.get(e).hasLocalMutations}Ca(e){e&&(e.addedDocuments.forEach((e=>this.fa=this.fa.add(e))),e.modifiedDocuments.forEach((e=>{})),e.removedDocuments.forEach((e=>this.fa=this.fa.delete(e))),this.current=e.current)}Fa(){if(!this.current)return[];const e=this.pa;this.pa=mf(),this.wa.forEach((e=>{this.xa(e.key)&&(this.pa=this.pa.add(e.key))}));const t=[];return e.forEach((e=>{this.pa.has(e)||t.push(new __PRIVATE_RemovedLimboDocument(e))}
vendor: 4,411 bytes, line 1
1)),this.pa.forEach((n=>{e.has(n)||t.push(new __PRIVATE_AddedLimboDocument(n))})),t}Oa(e){this.fa=e.gs,this.pa=mf();const t=this.ba(e.documents);return this.applyChanges(t,!0)}Na(){return ViewSnapshot.fromInitialDocuments(this.query,this.wa,this.mutatedKeys,0===this.ga,this.hasCachedResults)}}const Fm="SyncEngine";class __PRIVATE_QueryView{constructor(e,t,n){this.query=e,this.targetId=t,this.view=n}}class LimboResolution{constructor(e){this.key=e,this.Ba=!1}}class __PRIVATE_SyncEngineImpl{constructor(e,t,n,r,i,s){this.localStore=e,this.remoteStore=t,this.eventManager=n,this.sharedClientState=r,this.currentUser=i,this.maxConcurrentLimboResolutions=s,this.La={},this.ka=new ObjectMap((e=>Jd(e)),Yd),this.qa=new Map,this.Qa=new Set,this.$a=new index_esm2017_SortedMap(DocumentKey.comparator),this.Ua=new Map,this.Ka=new __PRIVATE_ReferenceSet,this.Wa={},this.Ga=new Map,this.za=__PRIVATE_TargetIdGenerator.Kn(),this.onlineState="Unknown",this.ja=void 0}get isPrimaryClient(){return!0===this.ja}}async function Lm(e,t,n=!0){const r=rg(e);let i;const s=r.ka.get(t);return s?(r.sharedClientState.addLocalQueryTarget(s.targetId),i=s.view.Na()):i=await Mm(r,t,n,!0),i}async function jm(e,t){const n=rg(e);await Mm(n,t,!0,!1)}async function Mm(e,t,n,r){const i=await jp(e.localStore,Kd(t)),s=i.targetId,o=e.sharedClientState.addLocalQueryTarget(s,n);let a;return r&&(a=await Um(e,t,s,"current"===o,i.resumeToken)),e.isPrimaryClient&&n&&Zp(e.remoteStore,i),a}async function Um(e,t,n,r,i){e.Ha=(t,n,r)=>async function(e,t,n,r){let i=t.view.ba(n);i.ls&&(i=await Up(e.localStore,t.query,!1).then((({documents:e})=>t.view.ba(e,i))));const s=r&&r.targetChanges.get(t.targetId),o=r&&null!=r.targetMismatches.get(t.targetId),a=t.view.applyChanges(i,e.isPrimaryClient,s,o);return Ym(e,t.targetId,a.Ma),a.snapshot}(e,t,n,r);const s=await Up(e.localStore,t,!0),o=new __PRIVATE_View(t,s.gs),a=o.ba(s.documents),l=TargetChange.createSynthesizedTargetChangeForCurrentChange(n,r&&"Offline"!==e.onlineState,i),c=o.applyChanges(a,e.isPrimaryClient,l);Ym(e,n,c.Ma);const u=new __PRIVATE_QueryView(t,n,o);return e.ka.set(t,u),e.qa.has(n)?e.qa.get(n).push(t):e.qa.set(n,[t]),c.snapshot}async function Vm(e,t,n){const r=Ku(e),i=r.ka.get(t),s=r.qa.get(i.targetId);if(s.length>1)return r.qa.set(i.targetId,s.filter((e=>!Yd(e,t)))),void r.ka.delete(t);r.isPrimaryClient?(r.sharedClientState.removeLocalQueryTarget(i.targetId),r.sharedClientState.isActiveQueryTarget(i.targetId)||await Mp(r.localStore,i.targetId,!1).then((()=>{r.sharedClientState.clearQueryState(i.targetId),n&&em(r.remoteStore,i.targetId),Qm(r,i.targetId)})).catch(ch)):(Qm(r,i.targetId),await Mp(r.localStore,i.targetId,!0))}async function Bm(e,t){const n=Ku(e),r=n.ka.get(t),i=n.qa.get(r.targetId);n.isPrimaryClient&&1===i.length&&(n.sharedClientState.removeLocalQueryTarget(r.targetId),em(n.remoteStore,r.targetId))}async function $m(e,t){const n=Ku(e);try{const e=await function(e,t){const n=Ku(e),r=t.snapshotVersion;let i=n.Ts;return n.persistence.runTransaction("Apply remote event","readwrite-primary",(e=>{const s=n.ds.newChangeBuffer({trackRemovals:!0});i=n.Ts;const o=[];t.targetChanges.forEach(((s,a)=>{const l=i.get(a);if(!l)return;o.push(n.Hr.removeMatchingKeys(e,s.removedDocuments,a).next((()=>n.Hr.addMatchingKeys(e,s.addedDocuments,a))));let c=l.withSequenceNumber(e.currentSequenceNumber);null!==t.targetMismatches.get(a)?c=c.withResumeToken(ByteString.EMPTY_BYTE_STRING,SnapshotVersion.min()).withLastLimboFreeSnapshotVersion(SnapshotVersion.min()):s.resumeToken.approximateByteSize()>0&&(c=c.withResumeToken(s.resumeToken,r)),i=i.insert(a,c),function(e,t,n){return 0===e.resumeToken.approximateByteSize()||(t.snapshotVersion.toMicroseconds()-e.snapshotVersion.toMicroseconds()>=3e8||n.addedDocuments.size+n.modifiedDocuments.size+n.removedDocuments.size>0)}(l,c,s)&&o.push(n.Hr.updateTargetData(e,c))}));let a=of(),l=mf();if(t.documentUpdates.forEach((r=>{t.resolvedLimboDocuments.has(r)&&o.push(n.persistence.referenceDelegate.updateLimboDocument(e,r))})),o.push(Fp(e,s,t.documentUpdates).next((e=>{a=e.Vs,l=e.fs}))),!r.isEqual(SnapshotVersion.min())){const t=n.Hr.getLastRemoteSnapshotVersion(e).next((t=>n.Hr.setTargetsMetadata(e,e.currentSequenceNumber,r)));o.push(t)}return PersistencePromise.waitFor(o).next((()=>s.apply(e))).next((()=>n.localDocuments.getLocalViewOfDocuments(e,a,l))).next((()=>a))})).then((e=>(n.Ts=i,e)))}(n.localStore,t);
1t.targetChanges.forEach(((e,t)=>{const r=n.Ua.get(t);r&&(qu(e.addedDocuments.size+e.modifiedDocuments.size+e.removedDocuments.size<=1),e.addedDocuments.size>0?r.Ba=!0:e.modifiedDocuments.size>0?qu(r.Ba):e.removedDocuments.size>0&&(qu(r.Ba),r.Ba=!1))})),await eg(n,e,t)}catch(e){await ch(e)}}function zm(e,t,n){const r=Ku(e);if(r.isPrimaryClient&&0===n||!r.isPrimaryClient&&1===n){const e=[];r.ka.forEach(((n,r)=>{const i=r.view.sa(t);i.snapshot&&e.push(i.snapshot)})),function(e,t){const n=Ku(e);n.onlineState=t;let r=!1;n.queries.forEach(((e,n)=>{for(const i of n.ta)i.sa(t)&&(r=!0)})),r&&Rm(n)}(r.eventManager,t),e.length&&r.La.p_(e),r.onlineState=t,r.isPrimaryClient&&r.sharedClientState.setOnlineState(t)}}async function Hm(e,t,n){const r=Ku(e);r.sharedClientState.updateQueryState(t,"rejected",n);const i=r.Ua.get(t),s=i&&i.key;if(s){let e=new index_esm2017_SortedMap(DocumentKey.comparator);e=e.insert(s,MutableDocument.newNoDocument(s,SnapshotVersion.min()));const n=mf().add(s),i=new RemoteEvent(SnapshotVersion.min(),new Map,new index_esm2017_SortedMap(Yu),e,n);await $m(r,i),r.$a=r.$a.remove(s),r.Ua.delete(t),Zm(r)}else await Mp(r.localStore,t,!1).then((()=>Qm(r,t,n))).catch(ch)}async function Wm(e,t){const n=Ku(e),r=t.batch.batchId;try{const e=await function(e,t){const n=Ku(e);return n.persistence.runTransaction("Acknowledge batch","readwrite-primary",(e=>{const r=t.batch.keys(),i=n.ds.newChangeBuffer({trackRemovals:!0});return function(e,t,n,r){const i=n.batch,s=i.keys();let o=PersistencePromise.resolve();return s.forEach((e=>{o=o.next((()=>r.getEntry(t,e))).next((t=>{const s=n.docVersions.get(e);qu(null!==s),t.version.compareTo(s)<0&&(i.applyToRemoteDocument(t,n),t.isValidDocument()&&(t.setReadTime(n.commitVersion),r.addEntry(t)))}))})),o.next((()=>e.mutationQueue.removeMutationBatch(t,i)))}(n,e,t,i).next((()=>i.apply(e))).next((()=>n.mutationQueue.performConsistencyCheck(e))).next((()=>n.documentOverlayCache.removeOverlaysForBatchId(e,r,t.batch.batchId))).next((()=>n.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(e,function(e){let t=mf();for(let n=0;n<e.mutationResults.length;++n)e.mutationResults[n].transformResults.length>0&&(t=t.add(e.batch.mutations[n].key));return t}(t)))).next((()=>n.localDocuments.getDocuments(e,r)))}))}(n.localStore,t);Gm(n,r,null),Km(n,r),n.sharedClientState.updateMutationState(r,"acknowledged"),await eg(n,e)}catch(e){await ch(e)}}async function qm(e,t,n){const r=Ku(e);try{const e=await function(e,t){const n=Ku(e);return n.persistence.runTransaction("Reject batch","readwrite-primary",(e=>{let r;
1return n.mutationQueue.lookupMutationBatch(e,t).next((t=>(qu(null!==t),r=t.keys(),n.mutationQueue.removeMutationBatch(e,t)))).next((()=>n.mutationQueue.performConsistencyCheck(e))).next((()=>n.documentOverlayCache.removeOverlaysForBatchId(e,r,t))).next((()=>n.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(e,r))).next((()=>n.localDocuments.getDocuments(e,r)))}))}(r.localStore,t);Gm(r,t,n),Km(r,t),r.sharedClientState.updateMutationState(t,"rejected",n),await eg(r,e)}catch(n){await ch(n)}}function Km(e,t){(e.Ga.get(t)||[]).forEach((e=>{e.resolve()})),e.Ga.delete(t)}function Gm(e,t,n){const r=Ku(e);let i=r.Wa[r.currentUser.toKey()];if(i){const e=i.get(t);e&&(n?e.reject(n):e.resolve(),i=i.remove(t)),r.Wa[r.currentUser.toKey()]=i}}function Qm(e,t,n=null){e.sharedClientState.removeLocalQueryTarget(t);for(const r of e.qa.get(t))e.ka.delete(r),n&&e.La.Ja(r,n);e.qa.delete(t),e.isPrimaryClient&&e.Ka.br(t).forEach((t=>{e.Ka.containsKey(t)||Xm(e,t)}))}function Xm(e,t){e.Qa.delete(t.path.canonicalString());const n=e.$a.get(t);null!==n&&(em(e.remoteStore,n),e.$a=e.$a.remove(t),e.Ua.delete(n),Zm(e))}function Ym(e,t,n){for(const r of n)r instanceof __PRIVATE_AddedLimboDocument?(e.Ka.addReference(r.key,t),Jm(e,r)):r instanceof __PRIVATE_RemovedLimboDocument?(Bu(Fm,"Document no longer in limbo: "+r.key),e.Ka.removeReference(r.key,t),e.Ka.containsKey(r.key)||Xm(e,r.key)):Wu()}function Jm(e,t){const n=t.key,r=n.path.canonicalString();e.$a.get(n)||e.Qa.has(r)||(Bu(Fm,"New document in limbo: "+n),e.Qa.add(r),Zm(e))}function Zm(e){for(;e.Qa.size>0&&e.$a.size<e.maxConcurrentLimboResolutions;){const t=e.Qa.values().next().value;e.Qa.delete(t);const n=new DocumentKey(ResourcePath.fromString(t)),r=e.za.next();e.Ua.set(r,new LimboResolution(n)),e.$a=e.$a.insert(n,r),Zp(e.remoteStore,new TargetData(Kd(zd(n.path)),r,"TargetPurposeLimboResolution",__PRIVATE_ListenSequence.ae))}}async function eg(e,t,n){const r=Ku(e),i=[],s=[],o=[];r.ka.isEmpty()||(r.ka.forEach(((e,a)=>{o.push(r.Ha(a,t,n).then((e=>{var t;if((e||n)&&r.isPrimaryClient){const i=e?!e.fromCache:null===(t=null==n?void 0:n.targetChanges.get(a.targetId))||void 0===t?void 0:t.current;
1r.sharedClientState.updateQueryState(a.targetId,i?"current":"not-current")}if(e){i.push(e);const t=__PRIVATE_LocalViewChanges.Yi(a.targetId,e);s.push(t)}})))})),await Promise.all(o),r.La.p_(i),await async function(e,t){const n=Ku(e);try{await n.persistence.runTransaction("notifyLocalViewChanges","readwrite",(e=>PersistencePromise.forEach(t,(t=>PersistencePromise.forEach(t.Hi,(r=>n.persistence.referenceDelegate.addReference(e,t.targetId,r))).next((()=>PersistencePromise.forEach(t.Ji,(r=>n.persistence.referenceDelegate.removeReference(e,t.targetId,r)))))))))}catch(e){if(!hh(e))throw e;Bu(Np,"Failed to update sequence numbers: "+e)}for(const r of t){const e=r.targetId;if(!r.fromCache){const t=n.Ts.get(e),r=t.snapshotVersion,i=t.withLastLimboFreeSnapshotVersion(r);n.Ts=n.Ts.insert(e,i)}}}(r.localStore,s))}async function tg(e,t){const n=Ku(e);if(!n.currentUser.isEqual(t)){Bu(Fm,"User change. New user:",t.toKey());const e=await Op(n.localStore,t);n.currentUser=t,function(e,t){e.Ga.forEach((e=>{e.forEach((e=>{e.reject(new FirestoreError(Gu.CANCELLED,t))}))})),e.Ga.clear()}(n,"'waitForPendingWrites' promise is rejected due to a user change."),n.sharedClientState.handleUserChange(t,e.removedBatchIds,e.addedBatchIds),await eg(n,e.Rs)}}function ng(e,t){const n=Ku(e),r=n.Ua.get(t);if(r&&r.Ba)return mf().add(r.key);{let e=mf();const r=n.qa.get(t);if(!r)return e;for(const t of r){const r=n.ka.get(t);e=e.unionWith(r.view.Sa)}return e}}function rg(e){const t=Ku(e);return t.remoteStore.remoteSyncer.applyRemoteEvent=$m.bind(null,t),t.remoteStore.remoteSyncer.getRemoteKeysForTarget=ng.bind(null,t),t.remoteStore.remoteSyncer.rejectListen=Hm.bind(null,t),t.La.p_=Pm.bind(null,t.eventManager),t.La.Ja=Nm.bind(null,t.eventManager),t}function ig(e){const t=Ku(e);return t.remoteStore.remoteSyncer.applySuccessfulWrite=Wm.bind(null,t),t.remoteStore.remoteSyncer.rejectFailedWrite=qm.bind(null,t),t}class __PRIVATE_MemoryOfflineComponentProvider{constructor(){this.kind="memory",this.synchronizeTabs=!1}async initialize(e){this.serializer=Gp(e.databaseInfo.databaseId),this.sharedClientState=this.Za(e),this.persistence=this.Xa(e),await this.persistence.start(),this.localStore=this.eu(e),this.gcScheduler=this.tu(e,this.localStore),this.indexBackfillerScheduler=this.nu(e,this.localStore)}tu(e,t){return null}nu(e,t){return null}eu(e){return Rp(this.persistence,new __PRIVATE_QueryEngine,e.initialUser,this.serializer)}Xa(e){return new __PRIVATE_MemoryPersistence(__PRIVATE_MemoryEagerDelegate.ri,this.serializer)}Za(e){return new __PRIVATE_MemorySharedClientState}async terminate(){var e,t;null===(e=this.gcScheduler)||void 0===e||e.stop(),null===(t=this.indexBackfillerScheduler)||void 0===t||t.stop(),this.sharedClientState.shutdown(),await this.persistence.shutdown()}}__PRIVATE_MemoryOfflineComponentProvider.provider={build:()=>new __PRIVATE_MemoryOfflineComponentProvider};class __PRIVATE_LruGcMemoryOfflineComponentProvider extends __PRIVATE_MemoryOfflineComponentProvider{constructor(e){super(),this.cacheSizeBytes=e}tu(e,t){qu(this.persistence.referenceDelegate instanceof __PRIVATE_MemoryLruDelegate);const n=this.persistence.referenceDelegate.garbageCollector;return new __PRIVATE_LruScheduler(n,e.asyncQueue,t)}Xa(e){const t=void 0!==this.cacheSizeBytes?LruParams.withCacheSize(this.cacheSizeBytes):LruParams.DEFAULT;return new __PRIVATE_MemoryPersistence((e=>__PRIVATE_MemoryLruDelegate.ri(e,t)),this.serializer)}}class OnlineComponentProvider{async initialize(e,t){this.localStore||(this.localStore=e.localStore,this.sharedClientState=e.sharedClientState,this.datastore=this.createDatastore(t),this.remoteStore=this.createRemoteStore(t),this.eventManager=this.createEventManager(t),this.syncEngine=this.createSyncEngine(t,!e.synchronizeTabs),this.sharedClientState.onlineStateHandler=e=>zm(this.syncEngine,e,1),this.remoteStore.remoteSyncer.handleCredentialChange=tg.bind(null,this.syncEngine),await Sm(this.remoteStore,this.syncEngine.isPrimaryClient))}createEventManager(e){return new __PRIVATE_EventManagerImpl}createDatastore(e){const t=Gp(e.databaseInfo.databaseId),n=function(e){return new __PRIVATE_WebChannelConnection(e)}(e.databaseInfo);return function(e,t,n,r){return new __PRIVATE_DatastoreImpl(e,t,n,r)}(e.authCredentials,e.appCheckCredentials,n,t)}createRemoteStore(e){return function(e,t,n,r,i){return new __PRIVATE_RemoteStoreImpl(e,t,n,r,i)}(this.localStore,this.datastore,e.asyncQueue,(e=>zm(this.syncEngine,e,0)),__PRIVATE_BrowserConnectivityMonitor.D()?new __PRIVATE_BrowserConnectivityMonitor:new __PRIVATE_NoopConnectivityMonitor)}createSyncEngine(e,t){return function(e,t,n,r,i,s,o){const a=new __PRIVATE_SyncEngineImpl(e,t,n,r,i,s);return o&&(a.ja=!0),a}(this.localStore,this.remoteStore,this.eventManager,this.sharedCl
1ientState,e.initialUser,e.maxConcurrentLimboResolutions,t)}async terminate(){var e,t;await async function(e){const t=Ku(e);Bu(Xp,"RemoteStore shutting down."),t.W_.add(5),await Jp(t),t.z_.shutdown(),t.j_.set("Unknown")}(this.remoteStore),null===(e=this.datastore)||void 0===e||e.terminate(),null===(t=this.eventManager)||void 0===t||t.terminate()}}OnlineComponentProvider.provider={build:()=>new OnlineComponentProvider};class __PRIVATE_AsyncObserver{constructor(e){this.observer=e,this.muted=!1}next(e){this.muted||this.observer.next&&this.iu(this.observer.next,e)}error(e){this.muted||(this.observer.error?this.iu(this.observer.error,e):$u("Uncaught Error in snapshot listener:",e.toString()))}su(){this.muted=!0}iu(e,t){setTimeout((()=>{this.muted||e(t)}),0)}}const sg="FirestoreClient";class FirestoreClient{constructor(e,t,n,r,i){this.authCredentials=e,this.appCheckCredentials=t,this.asyncQueue=n,this.databaseInfo=r,this.user=User.UNAUTHENTICATED,this.clientId=__PRIVATE_AutoId.newId(),this.authCredentialListener=()=>Promise.resolve(),this.appCheckCredentialListener=()=>Promise.resolve(),this._uninitializedComponentsProvider=i,this.authCredentials.start(n,(async e=>{Bu(sg,"Received user=",e.uid),await this.authCredentialListener(e),this.user=e})),this.appCheckCredentials.start(n,(e=>(Bu(sg,"Received new app check token=",e),this.appCheckCredentialListener(e,this.user))))}get configuration(){return{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,authCredentials:this.authCredentials,appCheckCredentials:this.appCheckCredentials,initialUser:this.user,maxConcurrentLimboResolutions:100}}setCredentialChangeListener(e){this.authCredentialListener=e}setAppCheckTokenChangeListener(e){this.appCheckCredentialListener=e}terminate(){this.asyncQueue.enterRestrictedMode();const e=new __PRIVATE_Deferred;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted((async()=>{try{this._onlineComponents&&await this._onlineComponents.terminate(),this._offlineComponents&&await this._offlineComponents.terminate(),this.authCredentials.shutdown(),this.appCheckCredentials.shutdown(),e.resolve()}catch(t){const n=xm(t,"Failed to shutdown persistence");e.reject(n)}})),e.promise}}async function og(e,t){e.asyncQueue.verifyOperationInProgress(),Bu(sg,"Initializing OfflineComponentProvider");const n=e.configuration;await t.initialize(n);let r=n.initialUser;e.setCredentialChangeListener((async e=>{r.isEqual(e)||(await Op(t.localStore,e),r=e)})),t.persistence.setDatabaseDeletedListener((()=>e.terminate())),e._offlineComponents=t}async function ag(e,t){e.asyncQueue.verifyOperationInProgress();const n=await lg(e);Bu(sg,"Initializing OnlineComponentProvider"),await t.initialize(n,e.configuration),e.setCredentialChangeListener((e=>Em(t.remoteStore,e))),e.setAppCheckTokenChangeListener(((e,n)=>Em(t.remoteStore,n))),e._onlineComponents=t}async function lg(e){if(!e._offlineComponents)if(e._uninitializedComponentsProvider){Bu(sg,"Using user provided OfflineComponentProvider");try{await og(e,e._uninitializedComponentsProvider._offline)}catch(t){const n=t;if(!function(e){return"FirebaseError"===e.name?e.code===Gu.FAILED_PRECONDITION||e.code===Gu.UNIMPLEMENTED:!("undefined"!=typeof DOMException&&e instanceof DOMException)||22===e.code||20===e.code||11===e.code}(n))throw n;zu("Error using user provided cache. Falling back to memory cache: "+n),await og(e,new __PRIVATE_MemoryOfflineComponentProvider)}}else Bu(sg,"Using default OfflineComponentProvider"),await og(e,new __PRIVATE_LruGcMemoryOfflineComponentProvider(void 0));return e._offlineComponents}async function cg(e){return e._onlineComponents||(e._uninitializedComponentsProvider?(Bu(sg,"Using user provided OnlineComponentProvider"),await ag(e,e._uninitializedComponentsProvider._online)):(Bu(sg,"Using default OnlineComponentProvider"),await ag(e,new OnlineComponentProvider))),e._onlineComponents}function ug(e){return cg(e).then((e=>e.syncEngine))}async function hg(e){const t=await cg(e),n=t.eventManager;return n.onListen=Lm.bind(null,t.syncEngine),n.onUnlisten=Vm.bind(null,t.syncEngine),n.onFirstRemoteStoreListen=jm.bind(null,t.syncEngine),n.onLastRemoteStoreUnlisten=Bm.bind(null,t.syncEngine),n}function dg(e,t,n={}){const r=new __PRIVATE_Deferred;return e.asyncQueue.enqueueAndForget((async()=>function(e,t,n,r,i){const s=new __PRIVATE_AsyncObserver({next:a=>{s.su(),t.enqueueAndForget((()=>km(e,o)));const l=a.docs.has(n);!l&&a.fromCache?i.reject(new FirestoreError(Gu.UNAVAILABLE,"Failed to get document because the client is offline.")):l&&a.fromCache&&r&&"server"===r.source?i.reject(new FirestoreError(Gu.UNAVAILABLE,'Failed to get document from server. (However, this document does exist in the local cache. Run again without setting source to "server" to retrieve the cached document.)')):i.resolve(a)},error:e=>i.reject(e)}),o=new __PRIVATE_QueryListener(zd(n.path),s,{includeMetadataChanges:!0,Ta:!0});return Im(e,o)}(await hg(e),e.asyncQueue,t,n,r))),r.promise}function fg(e){const t={};return void 0!==e.timeoutSeconds&&(t.timeoutSeconds=e.timeoutSeconds),t}const pg=new Map;function mg(e,t,n){if(!n)throw new FirestoreError(Gu.INVALID_ARGUMENT,`Function ${e}() cannot be called with an empty ${t}.`)}function gg(e){if(!DocumentKey.isDocumentKey(e))throw new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid document reference. Document references must have an even number of segments, but ${e} has ${e.length}.`)}function _g(e){if(DocumentKey.isDocumentKey(e))throw new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid collection reference. Collection references must have an odd number of segments, but ${e} has ${e.length}.`)}function vg(e){if(void 0===e)return"undefined";if(null===e)return"null";if("string"==typeof e)return e.length>20&&(e=`${e.substring(0,20)}...`),JSON.stringify(e);if("number"==typeof e||"boolean"==typeof e)return""+e;if("object"==typeof e){if(e instanceof Array)return"an array";{const t=function(e){return e.constructor?e.constructor.name:null}(e);return t?`a custom ${t} object`:"an object"}}return"function"==typeof e?"a function":Wu()}function yg(e,t){if("_delegate"in e&&(e=e._delegate),!(e instanceof t)){if(t.name===e.constructor.name)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const n=vg(e);throw new FirestoreError(Gu.INVALID_ARGUMENT,`Expected type '${t.name}', but it was: ${n}`)}}return e}const bg="firestore.googleapis.com",wg=!0;class FirestoreSettingsImpl{constructor(e){var t,n;if(void 0===e.host){if(void 0!==e.ssl)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host=bg,this.ssl=wg}else this.host=e.host,this.ssl=null!==(t=e.ssl)&&void 0!==t?t:wg;if(this.credentials=e.credentials,this.ignoreUndefinedProperties=!!e.ignoreUndefinedProperties,this.localCache=e.localCache,void 0===e.cacheSizeBytes)this.cacheSizeBytes=xp;else{if(-1!==e.cacheSizeBytes&&e.cacheSizeBytes<Ip)throw new FirestoreError(Gu.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=e.cacheSizeBytes}(function(e,t,n,r){if(!0===t&&!0===r)throw new FirestoreError(Gu.INVALID_ARGUMENT,`${e} and ${n} cannot be used together.`)})("experimentalForceLongPolling",e.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",e.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!e.experimentalForceLongPolling,this.experimentalForceLongPolling?this.experimentalAutoDetectLongPolling=!1:void 0===e.experimentalAutoDetectLongPolling?this.experimentalAutoDetectLongPolling=!0:this.experimentalAutoDetectLongPolling=!!e.experimentalAutoDetectLongPolling,this.experimentalLongPollingOptions=fg(null!==(n=e.experimentalLongPollingOptions)&&void 0!==n?n:{}),function(e){if(void 0!==e.timeoutSeconds){if(isNaN(e.timeoutSeconds))throw new FirestoreError(Gu.INVALID_ARGUMENT,`invalid long polling timeout: ${e.timeoutSeconds} (must not be NaN)`);if(e.timeoutSeconds<5)throw new FirestoreError(Gu.INVALID_ARGUMENT,`invalid long polling timeout: ${e.timeoutSeconds} (minimum allowed value is 5)`);if(e.timeoutSeconds>30)throw new FirestoreError(Gu.INVALID_ARGUMENT,`invalid long polling timeout: ${e.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!e.useFetchStreams}isEqual(e){return this.host===e.host&&this.ssl===e.ssl&&this.credentials===e.credentials&&this.cacheSizeBytes===e.cacheSizeBytes&&this.experimentalForceLongPolling===e.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===e.experimentalAutoDetectLongPolling&&function(e,t){return e.timeoutSeconds===t.timeoutSeconds}(this.experimentalLongPollingOptions,e.experimentalLongPollingOptions)&&this.ignoreUndefinedProperties===e.ignoreUndefinedProperties&&this.useFetchStreams===e.useFetchStreams}}class Firestore$1{constructor(e,t,n,r){this._authCredentials=e,this._appCheckCredentials=t,this._databaseId=n,this._app=r,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new FirestoreSettingsImpl({}),this._settingsFrozen=!1,this._terminateTask="notTerminated"}get app(){if(!this._app)throw new FirestoreError(Gu.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return"notTerminated"!==this._terminateTask}_setSettings(e){if(this._settingsFrozen)throw new FirestoreError(Gu.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new FirestoreSettingsImpl(e),void 0!==e.credentials&&(this._authCredentials=function(e){if(!e)return new __PRIVATE_EmptyAuthCredentialsProvider;switch(e.type){case"firstParty":return new __PRIVATE_FirstPartyAuthCredentialsProvider(e.sessionIndex||"0",e.iamToken||null,e.authTokenFactory||null);case"provider":return e.client;default:throw new FirestoreError(Gu.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invali
1d credential type")}}(e.credentials))}_getSettings(){return this._settings}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return"notTerminated"===this._terminateTask&&(this._terminateTask=this._terminate()),this._terminateTask}async _restart(){"notTerminated"===this._terminateTask?await this._terminate():this._terminateTask="notTerminated"}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(e){const t=pg.get(e);t&&(Bu("ComponentProvider","Removing Datastore"),pg.delete(e),t.terminate())}(this),Promise.resolve()}}function Eg(e,t,n,r={}){var i;const s=(e=yg(e,Firestore$1))._getSettings(),o=`${t}:${n}`;if(s.host!==bg&&s.host!==o&&zu("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used."),e._setSettings(Object.assign(Object.assign({},s),{host:o,ssl:!1})),r.mockUserToken){let t,n;if("string"==typeof r.mockUserToken)t=r.mockUserToken,n=User.MOCK_USER;else{t=function(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const n=t||"demo-project",r=e.iat||0,i=e.sub||e.user_id;if(!i)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const s=Object.assign({iss:`https://securetoken.google.com/${n}`,aud:n,iat:r,exp:r+3600,auth_time:r,sub:i,user_id:i,firebase:{sign_in_provider:"custom",identities:{}}},e);return[au(JSON.stringify({alg:"none",type:"JWT"})),au(JSON.stringify(s)),""].join(".")}(r.mockUserToken,null===(i=e._app)||void 0===i?void 0:i.options.projectId);const s=r.mockUserToken.sub||r.mockUserToken.user_id;if(!s)throw new FirestoreError(Gu.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");n=new User(s)}e._authCredentials=new __PRIVATE_EmulatorAuthCredentialsProvider(new __PRIVATE_OAuthToken(t,n))}}class Query{constructor(e,t,n){this.converter=t,this._query=n,this.type="query",this.firestore=e}withConverter(e){return new Query(this.firestore,e,this._query)}}class DocumentReference{constructor(e,t,n){this.converter=t,this._key=n,this.type="document",this.firestore=e}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new CollectionReference(this.firestore,this.converter,this._key.path.popLast())}withConverter(e){return new DocumentReference(this.firestore,e,this._key)}}class CollectionReference extends Query{constructor(e,t,n){super(e,t,zd(n)),this._path=n,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const e=this._path.popLast();return e.isEmpty()?null:new DocumentReference(this.firestore,null,new DocumentKey(e))}withConverter(e){return new CollectionReference(this.firestore,e,this._path)}}function Sg(e,t,...n){if(e=mu(e),mg("collection","path",t),e instanceof Firestore$1){const r=ResourcePath.fromString(t,...n);return _g(r),new CollectionReference(e,null,r)}{if(!(e instanceof DocumentReference||e instanceof CollectionReference))throw new FirestoreError(Gu.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const r=e._path.child(ResourcePath.fromString(t,...n));return _g(r),new CollectionReference(e.firestore,null,r)}}function Tg(e,t,...n){if(e=mu(e),1===arguments.length&&(t=__PRIVATE_AutoId.newId()),mg("doc","path",t),e instanceof Firestore$1){const r=ResourcePath.fromString(t,...n);return gg(r),new DocumentReference(e,null,new DocumentKey(r))}{if(!(e instanceof DocumentReference||e instanceof CollectionReference))throw new FirestoreError(Gu.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const r=e._path.child(ResourcePath.fromString(t,...n));return gg(r),new DocumentReference(e.firestore,e instanceof CollectionReference?e.converter:null,new DocumentKey(r))}}function Cg(e,t){return e=mu(e),t=mu(t),e instanceof Query&&t instanceof Query&&e.firestore===t.firestore&&Yd(e._query,t._query)&&e.converter===t.converter}const xg="AsyncQueue";class __PRIVATE_AsyncQueueImpl{constructor(e=Promise.resolve()){this.Vu=[],this.mu=!1,this.fu=[],this.gu=null,this.pu=!1,this.yu=!1,this.wu=[],this.a_=new __PRIVATE_ExponentialBackoff(this,"async_queue_retry"),this.Su=()=>{const e=Kp();e&&Bu(xg,"Visibility state changed to "+e.visibilityState),this.a_.t_()},this.bu=e;const t=Kp();t&&"function"==typeof t.addEventListener&&t.addEventListener("visibilitychange",this.Su)}get isShuttingDown(){return this.mu}enqueueAndForget(e){this.enqueue(e)}enqueueAndForgetEvenWhileRestricted(e){this.Du(),this.vu(e)}enterRestrictedMode(e){if(!this.mu){this.mu=!0,this.yu=e||!1;const t=Kp();t&&"function"==typeof t.removeEventListener&&t.removeEventListener("visibilitychange",this.Su)}}enqueue(e){if(this.Du(),this.mu)return new Promise((()=>{}));const t=new __PRIVATE_Deferred;return this.vu((()=>this.mu&&this.yu?Promise.resolve():(e().then(t.resolve,t.reject),t.promise))).then((()=>t.promise))}enqueueRetryable(e){this.enqueueAndForget((()=>
1(this.Vu.push(e),this.Cu())))}async Cu(){if(0!==this.Vu.length){try{await this.Vu[0](),this.Vu.shift(),this.a_.reset()}catch(Pb){if(!hh(Pb))throw Pb;Bu(xg,"Operation failed with retryable error: "+Pb)}this.Vu.length>0&&this.a_.Xo((()=>this.Cu()))}}vu(e){const t=this.bu.then((()=>(this.pu=!0,e().catch((e=>{this.gu=e,this.pu=!1;const t=function(e){let t=e.message||"";return e.stack&&(t=e.stack.includes(e.message)?e.stack:e.message+"\n"+e.stack),t}(e);throw $u("INTERNAL UNHANDLED ERROR: ",t),e})).then((e=>(this.pu=!1,e))))));return this.bu=t,t}enqueueAfterDelay(e,t,n){this.Du(),this.wu.indexOf(e)>-1&&(t=0);const r=DelayedOperation.createAndSchedule(this,e,t,n,(e=>this.Fu(e)));return this.fu.push(r),r}Du(){this.gu&&Wu()}verifyOperationInProgress(){}async Mu(){let e;do{e=this.bu,await e}while(e!==this.bu)}xu(e){for(const t of this.fu)if(t.timerId===e)return!0;return!1}Ou(e){return this.Mu().then((()=>{this.fu.sort(((e,t)=>e.targetTimeMs-t.targetTimeMs));for(const t of this.fu)if(t.skipDelay(),"all"!==e&&t.timerId===e)break;return this.Mu()}))}Nu(e){this.wu.push(e)}Fu(e){const t=this.fu.indexOf(e);this.fu.splice(t,1)}}function Ag(e){return function(e,t){if("object"!=typeof e||null===e)return!1;const n=e;for(const r of t)if(r in n&&"function"==typeof n[r])return!0;return!1}(e,["next","error","complete"])}class Firestore extends Firestore$1{constructor(e,t,n,r){super(e,t,n,r),this.type="firestore",this._queue=new __PRIVATE_AsyncQueueImpl,this._persistenceKey=(null==r?void 0:r.name)||"[DEFAULT]"}async _terminate(){if(this._firestoreClient){const e=this._firestoreClient.terminate();this._queue=new __PRIVATE_AsyncQueueImpl(e),this._firestoreClient=void 0,await e}}}function Ig(e){if(e._terminated)throw new FirestoreError(Gu.FAILED_PRECONDITION,"The client has already been terminated.");return e._firestoreClient||kg(e),e._firestoreClient}function kg(e){var t,n,r;const i=e._freezeSettings(),s=function(e,t,n,r){return new DatabaseInfo(e,t,n,r.host,r.ssl,r.experimentalForceLongPolling,r.experimentalAutoDetectLongPolling,fg(r.experimentalLongPollingOptions),r.useFetchStreams)}(e._databaseId,(null===(t=e._app)||void 0===t?void 0:t.options.appId)||"",e._persistenceKey,i);e._componentsProvider||(null===(n=i.localCache)||void 0===n?void 0:n._offlineComponentProvider)&&(null===(r=i.localCache)||void 0===r?void 0:r._onlineComponentProvider)&&(e._componentsProvider={_offline:i.localCache._offlineComponentProvider,_online:i.localCache._onlineComponentProvider}),e._firestoreClient=new FirestoreClient(e._authCredentials,e._appCheckCredentials,e._queue,s,e._componentsProvider&&function(e){const t=null==e?void 0:e._online.build();return{_offline:null==e?void 0:e._offline.build(t),_online:t}}(e._componentsProvider))}class Bytes{constructor(e){this._byteString=e}static fromBase64String(e){try{return new Bytes(ByteString.fromBase64String(e))}catch(e){throw new FirestoreError(Gu.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+e)}}static fromUint8Array(e){return new Bytes(ByteString.fromUint8Array(e))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(e){return this._byteString.isEqual(e._byteString)}}class FieldPath{constructor(...e){for(let t=0;t<e.length;++t)if(0===e[t].length)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Invalid field name at argument $(i + 1). Field names must not be empty.");this._internalPath=new FieldPath$1(e)}isEqual(e){return this._internalPath.isEqual(e._internalPath)}}class FieldValue{constructor(e){this._methodName=e}}class GeoPoint{constructor(e,t){if(!isFinite(e)||e<-90||e>90)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+e);if(!isFinite(t)||t<-180||t>180)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+t);this._lat=e,this._long=t}get latitude(){return this._lat}get longitude(){return this._long}isEqual(e){return this._lat===e._lat&&this._long===e._long}toJSON(){return{latitude:this._lat,longitude:this._long}}_compareTo(e){return Yu(this._lat,e._lat)||Yu(this._long,e._long)}}class VectorValue{constructor(e){this._values=(e||[]).map((e=>e))}toArray(){return this._values.map((e=>e))}isEqual(e){return function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}(this._values,e._values)}}const Pg=/^__.*__$/;class ParsedSetData{constructor(e,t,n){this.data=e,this.fieldMask=t,this.fieldTransforms=n}toMutation(e,t){return null!==this.fieldMask?new __PRIVATE_PatchMutation(e,this.data,this.fieldMask,t,this.fieldTransforms):new __PRIVATE_SetMutation(e,this.data,t,this.fieldTransforms)}}function Ng(e){switch(e){case 0:case 2:case 1:return!0;case 3:case 4:return!1;default:throw Wu()}}class __PRIVATE_ParseContextImpl{constructor(e,t,n,r,i,s){this.settings=e,this.databaseId=t,this.serializer
1=n,this.ignoreUndefinedProperties=r,void 0===i&&this.Bu(),this.fieldTransforms=i||[],this.fieldMask=s||[]}get path(){return this.settings.path}get Lu(){return this.settings.Lu}ku(e){return new __PRIVATE_ParseContextImpl(Object.assign(Object.assign({},this.settings),e),this.databaseId,this.serializer,this.ignoreUndefinedProperties,this.fieldTransforms,this.fieldMask)}qu(e){var t;const n=null===(t=this.path)||void 0===t?void 0:t.child(e),r=this.ku({path:n,Qu:!1});return r.$u(e),r}Uu(e){var t;const n=null===(t=this.path)||void 0===t?void 0:t.child(e),r=this.ku({path:n,Qu:!1});return r.Bu(),r}Ku(e){return this.ku({path:void 0,Qu:!0})}Wu(e){return $g(e,this.settings.methodName,this.settings.Gu||!1,this.path,this.settings.zu)}contains(e){return void 0!==this.fieldMask.find((t=>e.isPrefixOf(t)))||void 0!==this.fieldTransforms.find((t=>e.isPrefixOf(t.field)))}Bu(){if(this.path)for(let e=0;e<this.path.length;e++)this.$u(this.path.get(e))}$u(e){if(0===e.length)throw this.Wu("Document fields must not be empty");if(Ng(this.Lu)&&Pg.test(e))throw this.Wu('Document fields cannot begin and end with "__"')}}class __PRIVATE_UserDataReader{constructor(e,t,n){this.databaseId=e,this.ignoreUndefinedProperties=t,this.serializer=n||Gp(e)}ju(e,t,n,r=!1){return new __PRIVATE_ParseContextImpl({Lu:e,methodName:t,zu:n,path:FieldPath$1.emptyPath(),Qu:!1,Gu:r},this.databaseId,this.serializer,this.ignoreUndefinedProperties)}}function Rg(e){const t=e._freezeSettings(),n=Gp(e._databaseId);return new __PRIVATE_UserDataReader(e._databaseId,!!t.ignoreUndefinedProperties,n)}function Og(e,t,n,r,i,s={}){const o=e.ju(s.merge||s.mergeFields?2:0,t,n,i);Mg("Data must be an object, but it was:",o,r);const a=Lg(r,o);let l,c;if(s.merge)l=new FieldMask(o.fieldMask),c=o.fieldTransforms;else if(s.mergeFields){const e=[];for(const r of s.mergeFields){const i=Ug(t,r,n);if(!o.contains(i))throw new FirestoreError(Gu.INVALID_ARGUMENT,`Field '${i}' is specified in your field mask but missing from your input data.`);zg(e,i)||e.push(i)}l=new FieldMask(e),c=o.fieldTransforms.filter((e=>l.covers(e.field)))}else l=null,c=o.fieldTransforms;return new ParsedSetData(new ObjectValue(a),l,c)}class __PRIVATE_NumericIncrementFieldValueImpl extends FieldValue{constructor(e,t){super(e),this.Ju=t}_toFieldTransform(e){const t=new __PRIVATE_NumericIncrementTransformOperation(e.serializer,bf(e.serializer,this.Ju));return new FieldTransform(e.path,t)}isEqual(e){return e instanceof __PRIVATE_NumericIncrementFieldValueImpl&&this.Ju===e.Ju}}function Dg(e,t,n,r=!1){return Fg(n,e.ju(r?4:3,t))}function Fg(e,t){if(jg(e=mu(e)))return Mg("Unsupported field value:",t,e),Lg(e,t);if(e instanceof FieldValue)return function(e,t){if(!Ng(t.Lu))throw t.Wu(`${e._methodName}() can only be used with update() and set()`);if(!t.path)throw t.Wu(`${e._methodName}() is not currently supported inside arrays`);const n=e._toFieldTransform(t);n&&t.fieldTransforms.push(n)}(e,t),null;if(void 0===e&&t.ignoreUndefinedProperties)return null;if(t.path&&t.fieldMask.push(t.path),e instanceof Array){if(t.settings.Qu&&4!==t.Lu)throw t.Wu("Nested arrays are not supported");return function(e,t){const n=[];let r=0;for(const i of e){let e=Fg(i,t.Ku(r));null==e&&(e={nullValue:"NULL_VALUE"}),n.push(e),r++}return{arrayValue:{values:n}}}(e,t)}return function(e,t){if(null===(e=mu(e)))return{nullValue:"NULL_VALUE"};if("number"==typeof e)return bf(t.serializer,e);if("boolean"==typeof e)return{booleanValue:e};if("string"==typeof e)return{stringValue:e};if(e instanceof Date){const n=index_esm2017_Timestamp.fromDate(e);return{timestampValue:Yf(t.serializer,n)}}if(e instanceof index_esm2017_Timestamp){const n=new index_esm2017_Timestamp(e.seconds,1e3*Math.floor(e.nanoseconds/1e3));return{timestampValue:Yf(t.serializer,n)}}if(e instanceof GeoPoint)return{geoPointValue:{latitude:e.latitude,longitude:e.longitude}};if(e instanceof Bytes)return{bytesValue:Jf(t.serializer,e._byteString)};if(e instanceof DocumentReference){const n=t.databaseId,r=e.firestore._databaseId;if(!r.isEqual(n))throw t.Wu(`Document reference is for database ${r.projectId}/${r.database} but should be for database ${n.projectId}/${n.database}`);return{referenceValue:tp(e.firestore._databaseId||t.databaseId,e._key.path)}}if(e instanceof VectorValue)return function(e,t){return{mapValue:{fields:{[id]:{stringValue:ad},[ld]:{arrayValue:{values:e.toArray().map((e=>{if("number"!=typeof e)throw t.Wu("VectorValues must only contain numeric values.");return vf(t.serializer,e)}))}}}}}}(e,t);throw t.Wu(`Unsupported field value: ${vg(e)}`)}(e,t)}function Lg(e,t){const n={};return Wh(e)?t.path&&t.path.length>0&&t.fieldMask.push(t.path):Hh(e,((e,r)=>{const i=Fg(r,t.qu(e));null!=i&&(n[e]=i)})),{mapValue:{fields:n}}}function jg(e){return!("object"!=typeof e||null===e||e instanceof Array||e instanceof Date||e instanceof index_esm2017_Timestamp||e instanceof GeoPoint||e instanceof Bytes||e instanceof DocumentReference||e instanceof FieldValue||e instanceof VectorValue)}function Mg(e,t,n){if(!jg(n)||!function(e){return"object"==typeof e&&null!==e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}(n)){const r=vg(n);throw"an object"===r?t.Wu(e+" a custom object"):t.Wu(e+" "+r)}}function Ug(e,t,n){if((t=mu(t))instanceof FieldPath)return t._internalPath;if("string"==typeof t)return Bg(e,t);throw $g("Field path arguments must be of type string or ",e,!1,void 0,n)}
vendor: 13,310 bytes, line 1
1const Vg=new RegExp("[~\\*/\\[\\]]");function Bg(e,t,n){if(t.search(Vg)>=0)throw $g(`Invalid field path (${t}). Paths must not contain '~', '*', '/', '[', or ']'`,e,!1,void 0,n);try{return new FieldPath(...t.split("."))._internalPath}catch(uw){throw $g(`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,e,!1,void 0,n)}}function $g(e,t,n,r,i){const s=r&&!r.isEmpty(),o=void 0!==i;let a=`Function ${t}() called with invalid data`;n&&(a+=" (via `toFirestore()`)"),a+=". ";let l="";return(s||o)&&(l+=" (found",s&&(l+=` in field ${r}`),o&&(l+=` in document ${i}`),l+=")"),new FirestoreError(Gu.INVALID_ARGUMENT,a+e+l)}function zg(e,t){return e.some((e=>e.isEqual(t)))}class DocumentSnapshot$1{constructor(e,t,n,r,i){this._firestore=e,this._userDataWriter=t,this._key=n,this._document=r,this._converter=i}get id(){return this._key.path.lastSegment()}get ref(){return new DocumentReference(this._firestore,this._converter,this._key)}exists(){return null!==this._document}data(){if(this._document){if(this._converter){const e=new QueryDocumentSnapshot$1(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(e)}return this._userDataWriter.convertValue(this._document.data.value)}}get(e){if(this._document){const t=this._document.data.field(Hg("DocumentSnapshot.get",e));if(null!==t)return this._userDataWriter.convertValue(t)}}}class QueryDocumentSnapshot$1 extends DocumentSnapshot$1{data(){return super.data()}}function Hg(e,t){return"string"==typeof t?Bg(e,t):t instanceof FieldPath?t._internalPath:t._delegate._internalPath}function Wg(e){if("L"===e.limitType&&0===e.explicitOrderBy.length)throw new FirestoreError(Gu.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}class AppliableConstraint{}class index_esm2017_QueryConstraint extends AppliableConstraint{}function qg(e,t,...n){let r=[];t instanceof AppliableConstraint&&r.push(t),r=r.concat(n),function(e){const t=e.filter((e=>e instanceof QueryCompositeFilterConstraint)).length,n=e.filter((e=>e instanceof QueryFieldFilterConstraint)).length;if(t>1||t>0&&n>0)throw new FirestoreError(Gu.INVALID_ARGUMENT,"InvalidQuery. When using composite filters, you cannot use more than one filter at the top level. Consider nesting the multiple filters within an `and(...)` statement. For example: change `query(query, where(...), or(...))` to `query(query, and(where(...), or(...)))`.")}(r);for(const i of r)e=i._apply(e);return e}class QueryFieldFilterConstraint extends index_esm2017_QueryConstraint{constructor(e,t,n){super(),this._field=e,this._op=t,this._value=n,this.type="where"}static _create(e,t,n){return new QueryFieldFilterConstraint(e,t,n)}_apply(e){const t=this._parse(e);return Yg(e._query,t),new Query(e.firestore,e.converter,Qd(e._query,t))}_parse(e){const t=Rg(e.firestore),n=function(e,t,n,r,i,s,o){let a;if(i.isKeyField()){if("array-contains"===s||"array-contains-any"===s)throw new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid Query. You can't perform '${s}' queries on documentId().`);if("in"===s||"not-in"===s){Xg(o,s);const t=[];for(const n of o)t.push(Qg(r,e,n));a={arrayValue:{values:t}}}else a=Qg(r,e,o)}else"in"!==s&&"not-in"!==s&&"array-contains-any"!==s||Xg(o,s),a=Dg(n,t,o,"in"===s||"not-in"===s);return FieldFilter.create(i,s,a)}(e._query,"where",t,e.firestore._databaseId,this._field,this._op,this._value);return n}}function Kg(e,t,n){const r=t,i=Hg("where",e);return QueryFieldFilterConstraint._create(i,r,n)}class QueryCompositeFilterConstraint extends AppliableConstraint{constructor(e,t){super(),this.type=e,this._queryConstraints=t}static _create(e,t){return new QueryCompositeFilterConstraint(e,t)}_parse(e){const t=this._queryConstraints.map((t=>t._parse(e))).filter((e=>e.getFilters().length>0));return 1===t.length?t[0]:CompositeFilter.create(t,this._getOperator())}_apply(e){const t=this._parse(e);return 0===t.getFilters().length?e:(function(e,t){let n=e;const r=t.getFlattenedFilters();for(const i of r)Yg(n,i),n=Qd(n,i)}(e._query,t),new Query(e.firestore,e.converter,Qd(e._query,t)))}_getQueryConstraints(){return this._queryConstraints}_getOperator(){return"and"===this.type?"and":"or"}}class QueryOrderByConstraint extends index_esm2017_QueryConstraint{constructor(e,t){super(),this._field=e,this._direction=t,this.type="orderBy"}static _create(e,t){return new QueryOrderByConstraint(e,t)}_apply(e){const t=function(e,t,n){if(null!==e.startAt)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Invalid query. You must not call startAt() or startAfter() before calling orderBy().");if(null!==e.endAt)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Invalid query. You must not call endAt() or endBefore() before calling orderBy().");return new OrderBy(t,n)}(e._query,this._field,this._direction);return new Query(e.firestore,e.converter,function(e,t){const n=e.explicitOrderBy.concat([t]);return new __PRIVATE_QueryImpl(e.path,e.collectionGroup,n,e.filters.slice(),e.limit,e.limitType,e.startAt,e.endAt)}(e._query,t))}}function Gg(e,t="asc"){const n=t,r=Hg("orderBy",e);return QueryOrderByConstraint._create(r,n)}function Qg(e,t,n){if("string"==typeof(n=mu(n))){if(""===n)throw new FirestoreError(Gu.INVALID_ARGUMENT,"Invalid query. When querying with documentId(), you must provide a valid document ID, but it was an empty string.");if(!Wd(t)&&-1!==n.indexOf("/"))throw new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid query. When querying a collection by documentId(), you must provide a plain document ID, but '${n}' contains a '/' character.`);const r=t.path.child(ResourcePath.fromString(n));if(!DocumentKey.isDocumentKey(r))throw new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid query. When querying a collection group by documentId(), the value provided must result in a valid document path, but '${r}' is not because it has an odd number of segments (${r.length}).`);return vd(e,new DocumentKey(r))}if(n instanceof DocumentReference)return vd(e,n._key);throw new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid query. When querying with documentId(), you must provide a valid string or a DocumentReference, but it was: ${vg(n)}.`)}function Xg(e,t){if(!Array.isArray(e)||0===e.length)throw new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid Query. A non-empty array is required for '${t.toString()}' filters.`)}function Yg(e,t){const n=function(e,t){for(const n of e)for(const e of n.getFlattenedFilters())if(t.indexOf(e.op)>=0)return e.op;return null}(e.filters,function(e){switch(e){case"!=":return["!=","not-in"];case"array-contains-any":case"in":return["not-in"];case"not-in":return["array-contains-any","in","not-in","!="];default:return[]}}(t.op));if(null!==n)throw n===t.op?new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid query. You cannot use more than one '${t.op.toString()}' filter.`):new FirestoreError(Gu.INVALID_ARGUMENT,`Invalid query. You cannot use '${t.op.toString()}' filters with '${n.toString()}' filters.`)}class AbstractUserDataWriter{convertValue(e,t="none"){switch(cd(e)){case 0:return null;case 1:return e.booleanValue;case 2:return Gh(e.integerValue||e.doubleValue);case 3:return this.convertTimestamp(e.timestampValue);case 4:return this.convertServerTimestamp(e,t);case 5:return e.stringValue;case 6:return this.convertBytes(Qh(e.bytesValue));case 7:return this.convertReference(e.referenceValue);case 8:return this.convertGeoPoint(e.geoPointValue);case 9:return this.convertArray(e.arrayValue,t);case 11:return this.convertObject(e.mapValue,t);case 10:return this.convertVectorValue(e.mapValue);default:throw Wu()}}convertObject(e,t){return this.convertObjectMap(e.fields,t)}convertObjectMap(e,t="none"){const n={};return Hh(e,((e,r)=>{n[e]=this.convertValue(r,t)})),n}convertVectorValue(e){var t,n,r;const i=null===(r=null===(n=null===(t=e.fields)||void 0===t?void 0:t[ld].arrayValue)||void 0===n?void 0:n.values)||void 0===r?void 0:r.map((e=>Gh(e.doubleValue)));return new VectorValue(i)}convertGeoPoint(e){return new GeoPoint(Gh(e.latitude),Gh(e.longitude))}convertArray(e,t){return(e.values||[]).map((e=>this.convertValue(e,t)))}convertServerTimestamp(e,t){switch(t){case"previous":const n=td(e);return null==n?null:this.convertValue(n,t);case"estimate":return this.convertTimestamp(nd(e));default:return null}}convertTimestamp(e){const t=Kh(e);return new index_esm2017_Timestamp(t.seconds,t.nanos)}convertDocumentKey(e,t){const n=ResourcePath.fromString(e);qu(Sp(n));const r=new DatabaseId(n.get(1),n.get(3)),i=new DocumentKey(n.popFirst(5));return r.isEqual(t)||$u(`Document ${i} contains a document reference within a different database (${r.projectId}/${r.database}) which is not supported. It will be treated as a reference in the current database (${t.projectId}/${t.database}) instead.`),i}}function Jg(e,t,n){let r;return r=e?n&&(n.merge||n.mergeFields)?e.toFirestore(t,n):e.toFirestore(t):t,r}class SnapshotMetadata{constructor(e,t){this.hasPendingWrites=e,this.fromCache=t}isEqual(e){return this.hasPendingWrites===e.hasPendingWrites&&this.fromCache===e.fromCache}}class DocumentSnapshot extends DocumentSnapshot$1{constructor(e,t,n,r,i,s){super(e,t,n,r,s),this._firestore=e,this._firestoreImpl=e,this.metadata=i}exists(){return super.exists()}data(e={}){if(this._document){if(this._converter){const t=new QueryDocumentSnapshot(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(t,e)}return this._userDataWriter.convertValue(this._document.data.value,e.serverTimestamps)}}get(e,t={}){if(this._document){const n=this._document.data.field(Hg("DocumentSnapshot.get",e));if(null!==n)return this._userDataWriter.convertValue(n,t.serverTimestamps)}}}class QueryDocumentSnapshot extends DocumentSnapshot{data(e={}){return super.data(e)}}class QuerySnapshot{constructor(e,t,n,r){this._firestore=e,this._userDataWriter=t,this._snapshot=r,this.metadata=new SnapshotMetadata(r.hasPendingWrites,r.fromCache),this.query=n}get docs(){const e=[];return this.forEach((t=>e.push(t))),e}get size(){return this._snapshot.docs.size}get empty(){return 0===this.size}forEach(e,t){this._snapshot.docs.forEach((n=>{e.call(t,new QueryDocumentSnapshot(this._firestore,this._userDataWriter,n.key,n,new SnapshotMetadata(this._snapshot.mutatedKeys.has(n.key),this._snapshot.fromCache),this.query.converter))}))}docChanges(e={}){const t=!!e.includeMetadataChanges;if(t&&this._snapshot.excludesMetadataChanges)throw new FirestoreError(Gu.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===t||(this._cachedChanges=function(e,t){if(e._snapshot.oldDocs.isEmpty()){let t=0;return e._snapshot.docChanges.map((n=>{const r=new QueryDocumentSnapshot(e._firestore,e._userDataWriter,n.doc.key,n.doc,new SnapshotMetadata(e._snapshot.mutatedKeys.has(n.doc.key),e._snapshot.fromCache),e.query.converter);return n.doc,{type:"added",doc:r,oldIndex:-1,newIndex:t++}}))}{let n=e._snapshot.oldDocs;return e._snapshot.docChanges.filter((e=>t||3!==e.type)).map((t=>{const r=new QueryDocumentSnapshot(e._firestore,e._userDataWriter,t.doc.key,t.doc,new SnapshotMetadata(e._snapshot.mutatedKeys.has(t.doc.key),e._snapshot.fromCache),e.query.converter);let i=-1,s=-1;return 0!==t.type&&(i=n.indexOf(t.doc.key),n=n.delete(t.doc.key)),1!==t.type&&(n=n.add(t.doc),s=n.indexOf(t.doc.key)),{type:Zg(t.type),doc:r,oldIndex:i,newIndex:s}}))}}(this,t),this._cachedChangesIncludeMetadataChanges=t),this._cachedChanges}}function Zg(e){switch(e){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return Wu()}}function e_(e){e=yg(e,DocumentReference);const t=yg(e.firestore,Firestore);return dg(Ig(t),e._key).then((n=>s_(t,e,n)))}class __PRIVATE_ExpUserDataWriter extends AbstractUserDataWriter{constructor(e){super(),this.firestore=e}convertBytes(e){return new Bytes(e)}convertReference(e){const t=this.convertDocumentKey(e,this.firestore._databaseId);return new DocumentReference(this.firestore,null,t)}}function t_(e,t,n){e=yg(e,DocumentReference);const r=yg(e.firestore,Firestore),i=Jg(e.converter,t,n);return i_(r,[Og(Rg(r),"setDoc",e._key,i,null!==e.converter,n).toMutation(e._key,Precondition.none())])}function n_(e){return i_(yg(e.firestore,Firestore),[new __PRIVATE_DeleteMutation(e._key,Precondition.none())])}function r_(e,t){const n=yg(e.firestore,Firestore),r=Tg(e),i=Jg(e.converter,t);return i_(n,[Og(Rg(e.firestore),"addDoc",r._key,i,null!==e.converter,{}).toMutation(r._key,Precondition.exists(!1))]).then((()=>r))}function i_(e,t){return function(e,t){const n=new __PRIVATE_Deferred;return e.asyncQueue.enqueueAndForget((async()=>async function(e,t,n){const r=ig(e);try{const e=await function(e,t){const n=Ku(e),r=index_esm2017_Timestamp.now(),i=t.reduce(((e,t)=>e.add(t.key)),mf());let s,o;return n.persistence.runTransaction("Locally write mutations","readwrite",(e=>{let a=of(),l=mf();return n.ds.getEntries(e,i).next((e=>{a=e,a.forEach(((e,t)=>{t.isValidDocument()||(l=l.add(e))}))})).next((()=>n.localDocuments.getOverlayedDocuments(e,a))).next((i=>{s=i;const o=[];for(const e of t){const t=Rf(e,s.get(e.key).overlayedDocument);null!=t&&o.push(new __PRIVATE_PatchMutation(e.key,t,Ad(t.value.mapValue),Precondition.exists(!0)))}
1return n.mutationQueue.addMutationBatch(e,r,o,t)})).next((t=>{o=t;const r=t.applyToLocalDocumentSet(s,l);return n.documentOverlayCache.saveOverlays(e,t.batchId,r)}))})).then((()=>({batchId:o.batchId,changes:cf(s)})))}(r.localStore,t);r.sharedClientState.addPendingMutation(e.batchId),function(e,t,n){let r=e.Wa[e.currentUser.toKey()];r||(r=new index_esm2017_SortedMap(Yu)),r=r.insert(t,n),e.Wa[e.currentUser.toKey()]=r}(r,e.batchId,n),await eg(r,e.changes),await fm(r.remoteStore)}catch(e){const t=xm(e,"Failed to persist write");n.reject(t)}}(await ug(e),t,n))),n.promise}(Ig(e),t)}function s_(e,t,n){const r=n.docs.get(t._key),i=new __PRIVATE_ExpUserDataWriter(e);return new DocumentSnapshot(e,i,t._key,r,new SnapshotMetadata(n.hasPendingWrites,n.fromCache),t.converter)}function o_(e){return new __PRIVATE_NumericIncrementFieldValueImpl("increment",e)}new WeakMap;!function(e,t=!0){!function(e){Mu=e}(nn),Jt(new component_dist_esm_index_esm2017_Component("firestore",((e,{instanceIdentifier:n,options:r})=>{const i=e.getProvider("app").getImmediate(),s=new Firestore(new __PRIVATE_FirebaseAuthCredentialsProvider(e.getProvider("auth-internal")),new __PRIVATE_FirebaseAppCheckTokenProvider(i,e.getProvider("app-check-internal")),function(e,t){if(!Object.prototype.hasOwnProperty.apply(e.options,["projectId"]))throw new FirestoreError(Gu.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new DatabaseId(e.options.projectId,t)}(i,n),i);return r=Object.assign({useFetchStreams:t},r),s._setSettings(r),s}),"PUBLIC").setMultipleInstances(!0)),on(Lu,ju,e),on(Lu,ju,"esm2017")}();const a_=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t};class _firebase_util_dist_index_esm2017_DecodeBase64StringError extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}Error;class _firebase_component_dist_esm_index_esm2017_Component{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const l_="functions";class ContextProvider{constructor(e,t,n,r){this.app=e,this.auth=null,this.messaging=null,this.appCheck=null,this.serverAppAppCheckToken=null,en(e)&&e.settings.appCheckToken&&(this.serverAppAppCheckToken=e.settings.appCheckToken),this.auth=t.getImmediate({optional:!0}),this.messaging=n.getImmediate({optional:!0}),this.auth||t.get().then((e=>this.auth=e),(()=>{})),this.messaging||n.get().then((e=>this.messaging=e),(()=>{})),this.appCheck||null==r||r.get().then((e=>this.appCheck=e),(()=>{}))}async getAuthToken(){if(this.auth)try{const e=await this.auth.getToken();return null==e?void 0:e.accessToken}catch(Pb){return}}async getMessagingToken(){if(this.messaging&&"Notification"in self&&"granted"===Notification.permission)try{return await this.messaging.getToken()}catch(Pb){return}}async getAppCheckToken(e){if(this.serverAppAppCheckToken)return this.serverAppAppCheckToken;if(this.appCheck){const t=e?await this.appCheck.getLimitedUseToken():await this.appCheck.getToken();return t.error?null:t.token}return null}async getContext(e){return{authToken:await this.getAuthToken(),messagingToken:await this.getMessagingToken(),appCheckToken:await this.getAppCheckToken(e)}}}const c_="us-central1";class FunctionsService{constructor(e,t,n,r,i=c_,s=(...e)=>fetch(...e)){this.app=e,this.fetchImpl=s,this.emulatorOrigin=null,this.contextProvider=new ContextProvider(e,t,n,r),this.cancelAllRequests=new Promise((e=>{this.deleteService=()=>Promise.resolve(e())}));try{const e=new URL(i);this.customDomain=e.origin+("/"===e.pathname?"":e.pathname),this.region=c_}catch(Pb){this.customDomain=null,this.region=i}}_delete(){return this.deleteService()}_url(e){const t=this.app.options.projectId;if(null!==this.emulatorOrigin){return`${this.emulatorOrigin}/${t}/${this.region}/${e}`}return null!==this.customDomain?`${this.customDomain}/${e}`:`https://${this.region}-${t}.cloudfunctions.net/${e}`}}const u_="@firebase/functions",h_="0.12.2";!function(e){Jt(new _firebase_component_dist_esm_index_esm2017_Component(l_,((e,{instanceIdentifier:t})=>{const n=e.getProvider("app").getImmediate(),r=e.getProvider("auth-internal"),i=e.getProvider("messaging-internal"),s=e.getProvider("app-check-internal");return new FunctionsService(n,r,i,s,t)}),"PUBLIC").setMultipleInstances(!0)),on(u_,h_,e),on(u_,h_,"esm2017")}();const d_=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},f_={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i<e.length;i+=3){const t=e[i],s=i+1<e.length,o=s?e[i+1]:0,a=i+2<e.length,l=a?e[i+2]:0,c=t>>2,u=(3&t)<<4|o>>4;let h=(15&o)<<2|l>>6,d=63&l;a||(d=64,s||(h=64)),r.push(n[c],n[u],n[h],n[d])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(d_(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){const t=[];let n=0,r=0;for(;n<e.length;){const i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){const s=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&s)}else if(i>239&&i<365){const s=((7&i)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])-65536;t[r++]=String.fromCharCode(55296+(s>>10)),t[r++]=String.fromCharCode(56320+(1023&s))}else{const s=e[n++],o=e[n++];
1t[r++]=String.fromCharCode((15&i)<<12|(63&s)<<6|63&o)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i<e.length;){const t=n[e.charAt(i++)],s=i<e.length?n[e.charAt(i)]:0;++i;const o=i<e.length?n[e.charAt(i)]:64;++i;const a=i<e.length?n[e.charAt(i)]:64;if(++i,null==t||null==s||null==o||null==a)throw new node_modules_firebase_util_dist_index_esm2017_DecodeBase64StringError;const l=t<<2|s>>4;if(r.push(l),64!==o){const e=s<<4&240|o>>2;if(r.push(e),64!==a){const e=o<<6&192|a;r.push(e)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class node_modules_firebase_util_dist_index_esm2017_DecodeBase64StringError extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const p_=function(e){return function(e){const t=d_(e);return f_.encodeByteArray(t,!0)}(e).replace(/\./g,"")},m_=function(e){try{return f_.decodeString(e,!0)}catch(Pb){console.error("base64Decode failed: ",Pb)}return null};const g_=()=>function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__,__=()=>{try{return g_()||(()=>{if("undefined"==typeof process)return;const e={NX_APP_FIREBASE_API_KEY:"AIzaSyAqrnh278DkaUjuVEBfLGtZwa0cEtP3n1o",NX_APP_FIREBASE_AUTH_DOMAIN:"shift-89fes2024.firebaseapp.com",NX_APP_FIREBASE_PROJECT_ID:"shift-89fes2024",NX_APP_FIREBASE_STORAGE_BUCKET:"shift-89fes2024.appspot.com",NX_APP_FIREBASE_MESSAGING_SENDER_ID:"170484621347",NX_APP_FIREBASE_APP_ID:"1:170484621347:web:0e749d623ded68ff29d196",NX_APP_FIREBASE_MEASUREMENT_ID:"G-0B5PH9DBTL",NX_APP_ENVIRONMENT:"production",NX_CLI_SET:"true",NX_LOAD_DOT_ENV_FILES:"true",NX_WORKSPACE_ROOT:"/Users/phuc.bui/working/bugfes2024-prod/design-form",NX_TERMINAL_OUTPUT_PATH:"/Users/phuc.bui/working/bugfes2024-prod/design-form/node_modules/.cache/nx/terminalOutputs/5379331968827017544",NX_STREAM_OUTPUT:"true",NX_TASK_TARGET_PROJECT:"shift89fes2024-front",NX_TASK_TARGET_TARGET:"build",NX_TASK_TARGET_CONFIGURATION:"production",NX_TASK_HASH:"5379331968827017544"}.__FIREBASE_DEFAULTS__;return e?JSON.parse(e):void 0})()||(()=>{if("undefined"==typeof document)return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(Pb){return}const t=e&&m_(e[1]);return t&&JSON.parse(t)})()}catch(Pb){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${Pb}`)}},v_=e=>{const t=(e=>{var t,n;return null===(n=null===(t=__())||void 0===t?void 0:t.emulatorHosts)||void 0===n?void 0:n[e]})(e);if(!t)return;const n=t.lastIndexOf(":");if(n<=0||n+1===t.length)throw new Error(`Invalid host ${t} with no separate hostname and port!`);const r=parseInt(t.substring(n+1),10);return"["===t[0]?[t.substring(1,n-1),r]:[t.substring(0,n),r]};class storage_node_modules_firebase_util_dist_index_esm2017_FirebaseError extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name="FirebaseError",Object.setPrototypeOf(this,storage_node_modules_firebase_util_dist_index_esm2017_FirebaseError.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,node_modules_firebase_util_dist_index_esm2017_ErrorFactory.prototype.create)}}class node_modules_firebase_util_dist_index_esm2017_ErrorFactory{constructor(e,t,n){this.service=e,this.serviceName=t,this.errors=n}create(e,...t){const n=t[0]||{},r=`${this.service}/${e}`,i=this.errors[e],s=i?function(e,t){return e.replace(y_,((e,n)=>{const r=t[n];return null!=r?String(r):`<${n}?>`}))}(i,n):"Error",o=`${this.serviceName}: ${s} (${r}).`;return new storage_node_modules_firebase_util_dist_index_esm2017_FirebaseError(r,o,n)}}const y_=/\{\$([^}]+)}/g;function b_(e){return e&&e._delegate?e._delegate:e}class node_modules_firebase_component_dist_esm_index_esm2017_Component{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const w_="firebasestorage.googleapis.com",E_="storageBucket";class StorageError extends storage_node_modules_firebase_util_dist_index_esm2017_FirebaseError{constructor(e,t,n=0){super(C_(e),`Firebase Storage: ${t} (${C_(e)})`),this.status_=n,this.customData={serverResponse:null},this._baseMessage=this.message,Object.setPrototypeOf(this,StorageError.prototype)}get status(){return this.status_}set status(e){this.status_=e}_codeEquals(e){return C_(e)===this.code}get serverResponse(){return this.customData.serverResponse}set serverResponse(e){this.customData.serverResponse=e,this.customData.serverResponse?this.message=`${this._baseMessage}\n${this.customData.serverResponse}`:this.message=this._baseMessage}}var S_,T_;function C_(e){return"storage/"+e}function x_(){return new StorageError(S_.UNKNOWN,"An unknown error occurred, please check the error payload for server response.")}
vendor: 9,131 bytes, line 1
1function A_(){return new StorageError(S_.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again.")}function I_(){return new StorageError(S_.CANCELED,"User canceled the upload/download.")}function k_(e){return new StorageError(S_.INVALID_ARGUMENT,e)}function P_(){return new StorageError(S_.APP_DELETED,"The Firebase app was deleted.")}!function(e){e.UNKNOWN="unknown",e.OBJECT_NOT_FOUND="object-not-found",e.BUCKET_NOT_FOUND="bucket-not-found",e.PROJECT_NOT_FOUND="project-not-found",e.QUOTA_EXCEEDED="quota-exceeded",e.UNAUTHENTICATED="unauthenticated",e.UNAUTHORIZED="unauthorized",e.UNAUTHORIZED_APP="unauthorized-app",e.RETRY_LIMIT_EXCEEDED="retry-limit-exceeded",e.INVALID_CHECKSUM="invalid-checksum",e.CANCELED="canceled",e.INVALID_EVENT_NAME="invalid-event-name",e.INVALID_URL="invalid-url",e.INVALID_DEFAULT_BUCKET="invalid-default-bucket",e.NO_DEFAULT_BUCKET="no-default-bucket",e.CANNOT_SLICE_BLOB="cannot-slice-blob",e.SERVER_FILE_WRONG_SIZE="server-file-wrong-size",e.NO_DOWNLOAD_URL="no-download-url",e.INVALID_ARGUMENT="invalid-argument",e.INVALID_ARGUMENT_COUNT="invalid-argument-count",e.APP_DELETED="app-deleted",e.INVALID_ROOT_OPERATION="invalid-root-operation",e.INVALID_FORMAT="invalid-format",e.INTERNAL_ERROR="internal-error",e.UNSUPPORTED_ENVIRONMENT="unsupported-environment"}(S_||(S_={}));class Location{constructor(e,t){this.bucket=e,this.path_=t}get path(){return this.path_}get isRoot(){return 0===this.path.length}fullServerUrl(){const e=encodeURIComponent;return"/b/"+e(this.bucket)+"/o/"+e(this.path)}bucketOnlyServerUrl(){return"/b/"+encodeURIComponent(this.bucket)+"/o"}static makeFromBucketSpec(e,t){let n;try{n=Location.makeFromUrl(e,t)}catch(Pb){return new Location(e,"")}if(""===n.path)return n;throw r=e,new StorageError(S_.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+r+"'.");var r}static makeFromUrl(e,t){let n=null;const r="([A-Za-z0-9.\\-_]+)";const i=new RegExp("^gs://"+r+"(/(.*))?$","i");function s(e){e.path_=decodeURIComponent(e.path)}const o=t.replace(/[.]/g,"\\."),a=[{regex:i,indices:{bucket:1,path:3},postModify:function(e){"/"===e.path.charAt(e.path.length-1)&&(e.path_=e.path_.slice(0,-1))}},{regex:new RegExp(`^https?://${o}/v[A-Za-z0-9_]+/b/${r}/o(/([^?#]*).*)?$`,"i"),indices:{bucket:1,path:3},postModify:s},{regex:new RegExp(`^https?://${t===w_?"(?:storage.googleapis.com|storage.cloud.google.com)":t}/${r}/([^?#]*)`,"i"),indices:{bucket:1,path:2},postModify:s}];for(let l=0;l<a.length;l++){const t=a[l],r=t.regex.exec(e);if(r){const e=r[t.indices.bucket];let i=r[t.indices.path];i||(i=""),n=new Location(e,i),t.postModify(n);break}}if(null==n)throw function(e){return new StorageError(S_.INVALID_URL,"Invalid URL '"+e+"'.")}(e);return n}}class FailRequest{constructor(e){this.promise_=Promise.reject(e)}getPromise(){return this.promise_}cancel(e=!1){}}function N_(e,t,n,r){if(r<t)throw k_(`Invalid value for '${e}'. Expected ${t} or greater.`);if(r>n)throw k_(`Invalid value for '${e}'. Expected ${n} or less.`)}function R_(e){const t=encodeURIComponent;let n="?";for(const r in e)if(e.hasOwnProperty(r)){n=n+(t(r)+"="+t(e[r]))+"&"}return n=n.slice(0,-1),n}function O_(e,t){const n=e>=500&&e<600,r=-1!==[408,429].indexOf(e),i=-1!==t.indexOf(e);return n||r||i}!function(e){e[e.NO_ERROR=0]="NO_ERROR",e[e.NETWORK_ERROR=1]="NETWORK_ERROR",e[e.ABORT=2]="ABORT"}(T_||(T_={}));class NetworkRequest{constructor(e,t,n,r,i,s,o,a,l,c,u,h=!0){this.url_=e,this.method_=t,this.headers_=n,this.body_=r,this.successCodes_=i,this.additionalRetryCodes_=s,this.callback_=o,this.errorCallback_=a,this.timeout_=l,this.progressCallback_=c,this.connectionFactory_=u,this.retry=h,this.pendingConnection_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.promise_=new Promise(((e,t)=>{this.resolve_=e,this.reject_=t,this.start_()}))}start_(){const e=(e,t)=>{if(t)return void e(!1,new RequestEndStatus(!1,null,!0));const n=this.connectionFactory_();this.pendingConnection_=n;const r=e=>{const t=e.loaded,n=e.lengthComputable?e.total:-1;null!==this.progressCallback_&&this.progressCallback_(t,n)};null!==this.progressCallback_&&n.addUploadProgressListener(r),n.send(this.url_,this.method_,this.body_,this.headers_).then((()=>{null!==this.progressCallback_&&n.removeUploadProgressListener(r),this.pendingConnection_=null;const t=n.getErrorCode()===T_.NO_ERROR,i=n.getStatus();if(!t||O_(i,this.additionalRetryCodes_)&&this.retry){const t=n.getErrorCode()===T_.ABORT;return void e(!1,new RequestEndStatus(!1,null,t))}const s=-1!==this.successCodes_.indexOf(i);e(!0,new RequestEndStatus(s,n))}))},t=(e,t)=>{const n=this.resolve_,r=this.reject_,i=t.connection;if(t.wasSuccessCode)try{const e=this.callback_(i,i.getResponse());!function(e){return void 0!==e}(e)?n():n(e)}catch(Pb){r(Pb)}else if(null!==i){const e=x_();e.serverResponse=i.getErrorText(),this.errorCallback_?r(this.errorCallback_(i,e)):r(e)}else if(t.canceled){r(this.appDelete_?P_():I_())}else{r(A_())}};this.canceled_?t(0,new RequestEndStatus(!1,null,!0)):this.backoffId_=function(e,t,n){let r=1,i=null,s=null,o=!1,a=0;function l(){return 2===a}let c=!1;function u(...e){c||(c=!0,t.apply(null,e))}function h(t){i=setTimeout((()=>{i=null,e(f,l())}),t)}function d(){s&&clearTimeout(s)}function f(e,...t){if(c)return void d();if(e)return d(),void u.call(null,e,...t);if(l()||o)return d(),void u.call(null,e,...t);let n;r<64&&(r*=2),1===a?(a=2,n=0):n=1e3*(r+Math.random()),h(n)}let p=!1;function m(e){p||(p=!0,d(),c||(null!==i?(e||(a=2),clearTimeout(i),h(0)):e||(a=1)))}return h(0),s=setTimeout((()=>{o=!0,m(!0)}),n),m}(e,t,this.timeout_)}getPromise(){return this.promise_}cancel(e){this.canceled_=!0,this.appDelete_=e||!1,null!==this.backoffId_&&(0,this.backoffId_)(!1),null!==this.pendingConnection_&&this.pendingConnection_.abort()}}class RequestEndStatus{constructor(e,t,n){this.wasSuccessCode=e,this.connection=t,this.canceled=!!n}}function D_(e){const t=e.lastIndexOf("/",e.length-2);return-1===t?e:e.slice(t+1)}class Reference{constructor(e,t){this._service=e,this._location=t instanceof Location?t:Location.makeFromUrl(t,e.host)}toString(){return"gs://"+this._location.bucket+"/"+this._location.path}_newRef(e,t){return new Reference(e,t)}get root(){const e=new Location(this._location.bucket,"");return this._newRef(this._service,e)}get bucket(){return this._location.bucket}get fullPath(){return this._location.path}get name(){return D_(this._location.path)}get storage(){return this._service}get parent(){const e=function(e){if(0===e.length)return null;const t=e.lastIndexOf("/");return-1===t?"":e.slice(0,t)}(this._location.path);if(null===e)return null;const t=new Location(this._location.bucket,e);return new Reference(this._service,t)}_throwIfRoot(e){if(""===this._location.path)throw function(e){return new StorageError(S_.INVALID_ROOT_OPERATION,"The operation '"+e+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}(e)}}function F_(e,t){const n=null==t?void 0:t[E_];return null==n?null:Location.makeFromBucketSpec(n,e)}function L_(e,t,n,r={}){e.host=`${t}:${n}`,e._protocol="http";const{mockUserToken:i}=r;i&&(e._overrideAuthToken="string"==typeof i?i:function(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const n=t||"demo-project",r=e.iat||0,i=e.sub||e.user_id;if(!i)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const s=Object.assign({iss:`https://securetoken.google.com/${n}`,aud:n,iat:r,exp:r+3600,auth_time:r,sub:i,user_id:i,firebase:{sign_in_provider:"custom",identities:{}}},e);return[p_(JSON.stringify({alg:"none",type:"JWT"})),p_(JSON.stringify(s)),""].join(".")}(i,e.app.options.projectId))}class FirebaseStorageImpl{constructor(e,t,n,r,i){this.app=e,this._authProvider=t,this._appCheckProvider=n,this._url=r,this._firebaseVersion=i,this._bucket=null,this._host=w_,this._protocol="https",this._appId=null,this._deleted=!1,this._maxOperationRetryTime=12e4,this._maxUploadRetryTime=6e5,this._requests=new Set,this._bucket=null!=r?Location.makeFromBucketSpec(r,this._host):F_(this._host,this.app.options)}get host(){return this._host}set host(e){this._host=e,null!=this._url?this._bucket=Location.makeFromBucketSpec(this._url,e):this._bucket=F_(e,this.app.options)}get maxUploadRetryTime(){return this._maxUploadRetryTime}set maxUploadRetryTime(e){N_("time",0,Number.POSITIVE_INFINITY,e),this._maxUploadRetryTime=e}get maxOperationRetryTime(){return this._maxOperationRetryTime}set maxOperationRetryTime(e){N_("time",0,Number.POSITIVE_INFINITY,e),this._maxOperationRetryTime=e}async _getAuthToken(){if(this._overrideAuthToken)return this._overrideAuthToken;const e=this._authProvider.getImmediate({optional:!0});if(e){const t=await e.getToken();if(null!==t)return t.accessToken}return null}async _getAppCheckToken(){if(en(this.app)&&this.app.settings.appCheckToken)return this.app.settings.appCheckToken;const e=this._appCheckProvider.getImmediate({optional:!0});if(e){return(await e.getToken()).token}return null}_delete(){return this._deleted||(this._deleted=!0,this._requests.forEac
1h((e=>e.cancel())),this._requests.clear()),Promise.resolve()}_makeStorageReference(e){return new Reference(this,e)}_makeRequest(e,t,n,r,i=!0){if(this._deleted)return new FailRequest(P_());{const s=function(e,t,n,r,i,s,o=!0){const a=R_(e.urlParams),l=e.url+a,c=Object.assign({},e.headers);return function(e,t){t&&(e["X-Firebase-GMPID"]=t)}(c,t),function(e,t){null!==t&&t.length>0&&(e.Authorization="Firebase "+t)}(c,n),function(e,t){e["X-Firebase-Storage-Version"]="webjs/"+(null!=t?t:"AppManager")}(c,s),function(e,t){null!==t&&(e["X-Firebase-AppCheck"]=t)}(c,r),new NetworkRequest(l,e.method,c,e.body,e.successCodes,e.additionalRetryCodes,e.handler,e.errorHandler,e.timeout,e.progressCallback,i,o)}(e,this._appId,n,r,t,this._firebaseVersion,i);return this._requests.add(s),s.getPromise().then((()=>this._requests.delete(s)),(()=>this._requests.delete(s))),s}}async makeRequestWithTokens(e,t){const[n,r]=await Promise.all([this._getAuthToken(),this._getAppCheckToken()]);return this._makeRequest(e,t,n,r).getPromise()}}const j_="@firebase/storage",M_="0.13.6",U_="storage";function V_(e=sn(),t){const n=Zt(e=b_(e),U_).getImmediate({identifier:t}),r=v_("storage");return r&&function(e,t,n,r={}){L_(e,t,n,r)}(n,...r),n}function B_(e,{instanceIdentifier:t}){const n=e.getProvider("app").getImmediate(),r=e.getProvider("auth-internal"),i=e.getProvider("app-check-internal");return new FirebaseStorageImpl(n,r,i,t,nn)}Jt(new node_modules_firebase_component_dist_esm_index_esm2017_Component(U_,B_,"PUBLIC").setMultipleInstances(!0)),on(j_,M_,""),on(j_,M_,"esm2017");const $_=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t};class remote_config_node_modules_firebase_util_dist_index_esm2017_DecodeBase64StringError extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}class remote_config_node_modules_firebase_util_dist_index_esm2017_FirebaseError extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name="FirebaseError",Object.setPrototypeOf(this,remote_config_node_modules_firebase_util_dist_index_esm2017_FirebaseError.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,remote_config_node_modules_firebase_util_dist_index_esm2017_ErrorFactory.prototype.create)}}class remote_config_node_modules_firebase_util_dist_index_esm2017_ErrorFactory{constructor(e,t,n){this.service=e,this.serviceName=t,this.errors=n}create(e,...t){const n=t[0]||{},r=`${this.service}/${e}`,i=this.errors[e],s=i?function(e,t){return e.replace(z_,((e,n)=>{const r=t[n];return null!=r?String(r):`<${n}?>`}))}(i,n):"Error",o=`${this.serviceName}: ${s} (${r}).`;return new remote_config_node_modules_firebase_util_dist_index_esm2017_FirebaseError(r,o,n)}}const z_=/\{\$([^}]+)}/g;function H_(e,t=1e3,n=2){const r=t*Math.pow(n,e),i=Math.round(.5*r*(Math.random()-.5)*2);return Math.min(144e5,r+i)}class remote_config_node_modules_firebase_component_dist_esm_index_esm2017_Component{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const W_=[];var q_;!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(q_||(q_={}));const K_={debug:q_.DEBUG,verbose:q_.VERBOSE,info:q_.INFO,warn:q_.WARN,error:q_.ERROR,silent:q_.SILENT},G_=q_.INFO,Q_={[q_.DEBUG]:"log",[q_.VERBOSE]:"log",[q_.INFO]:"info",[q_.WARN]:"warn",[q_.ERROR]:"error"},X_=(e,t,...n)=>{if(t<e.logLevel)return;const r=(new Date).toISOString(),i=Q_[t];if(!i)throw new Error(`Attempted to log a message with an invali
1d logType (value: ${t})`);console[i](`[${r}] ${e.name}:`,...n)};class logger_dist_esm_index_esm2017_Logger{constructor(e){this.name=e,this._logLevel=G_,this._logHandler=X_,this._userLogHandler=null,W_.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in q_))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?K_[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,q_.DEBUG,...e),this._logHandler(this,q_.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,q_.VERBOSE,...e),this._logHandler(this,q_.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,q_.INFO,...e),this._logHandler(this,q_.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,q_.WARN,...e),this._logHandler(this,q_.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,q_.ERROR,...e),this._logHandler(this,q_.ERROR,...e)}}const Y_=function(e){const t=[];let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t};class installations_node_modules_firebase_util_dist_index_esm2017_DecodeBase64StringError extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}class installations_node_modules_firebase_util_dist_index_esm2017_FirebaseError extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name="FirebaseError",Object.setPrototypeOf(this,installations_node_modules_firebase_util_dist_index_esm2017_FirebaseError.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,installations_node_modules_firebase_util_dist_index_esm2017_ErrorFactory.prototype.create)}}class installations_node_modules_firebase_util_dist_index_esm2017_ErrorFactory{constructor(e,t,n){this.service=e,this.serviceName=t,this.errors=n}create(e,...t){const n=t[0]||{},r=`${this.service}/${e}`,i=this.errors[e],s=i?function(e,t){return e.replace(J_,((e,n)=>{const r=t[n];return null!=r?String(r):`<${n}?>`}))}(i,n):"Error",o=`${this.serviceName}: ${s} (${r}).`;return new installations_node_modules_firebase_util_dist_index_esm2017_FirebaseError(r,o,n)}}const J_=/\{\$([^}]+)}/g;class installations_node_modules_firebase_component_dist_esm_index_esm2017_Component{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const Z_="@firebase/installations",ev="0.6.12",tv=1e4,nv=`w:${ev}`,rv="FIS_v2",iv=36e5,sv=new installations_node_modules_firebase_util_dist_index_esm2017_ErrorFactory("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function ov(e){return e instanceof installations_node_modules_firebase_util_dist_index_esm2017_FirebaseError&&e.code.includes("request-failed")}function av({projectId:e}){return`https://firebaseinstallations.googleapis.com/v1/projects/${e}/installations`}
vendor: 4,689 bytes, line 1
1function lv(e){return{token:e.token,requestStatus:2,expiresIn:(t=e.expiresIn,Number(t.replace("s","000"))),creationTime:Date.now()};var t}async function cv(e,t){const n=(await t.json()).error;return sv.create("request-failed",{requestName:e,serverCode:n.code,serverMessage:n.message,serverStatus:n.status})}function uv({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function hv(e,{refreshToken:t}){const n=uv(e);return n.append("Authorization",function(e){return`${rv} ${e}`}(t)),n}async function dv(e){const t=await e();return t.status>=500&&t.status<600?e():t}function fv(e){return new Promise((t=>{setTimeout(t,e)}))}const pv=/^[cdef][\w-]{21}$/;function mv(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const t=function(e){const t=function(e){return btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")}(e);return t.substr(0,22)}(e);return pv.test(t)?t:""}catch(e){return""}}function gv(e){return`${e.appName}!${e.appId}`}const _v=new Map;function vv(e,t){const n=gv(e);yv(n,t),function(e,t){const n=wv();n&&n.postMessage({key:e,fid:t});Ev()}(n,t)}function yv(e,t){const n=_v.get(e);if(n)for(const r of n)r(t)}let bv=null;function wv(){return!bv&&"BroadcastChannel"in self&&(bv=new BroadcastChannel("[Firebase] FID Change"),bv.onmessage=e=>{yv(e.data.key,e.data.fid)}),bv}function Ev(){0===_v.size&&bv&&(bv.close(),bv=null)}const Sv="firebase-installations-store";let Tv=null;function Cv(){return Tv||(Tv=dt("firebase-installations-database",1,{upgrade:(e,t)=>{if(0===t)e.createObjectStore(Sv)}})),Tv}async function xv(e,t){const n=gv(e),r=(await Cv()).transaction(Sv,"readwrite"),i=r.objectStore(Sv),s=await i.get(n);return await i.put(t,n),await r.done,s&&s.fid===t.fid||vv(e,t.fid),t}async function Av(e){const t=gv(e),n=(await Cv()).transaction(Sv,"readwrite");await n.objectStore(Sv).delete(t),await n.done}async function Iv(e,t){const n=gv(e),r=(await Cv()).transaction(Sv,"readwrite"),i=r.objectStore(Sv),s=await i.get(n),o=t(s);return void 0===o?await i.delete(n):await i.put(o,n),await r.done,!o||s&&s.fid===o.fid||vv(e,o.fid),o}async function kv(e){let t;const n=await Iv(e.appConfig,(n=>{const r=function(e){const t=e||{fid:mv(),registrationStatus:0};return Rv(t)}(n),i=function(e,t){if(0===t.registrationStatus){if(!navigator.onLine){return{installationEntry:t,registrationPromise:Promise.reject(sv.create("app-offline"))}}const n={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},r=async function(e,t){try{const n=await async function({appConfig:e,heartbeatServiceProvider:t},{fid:n}){const r=av(e),i=uv(e),s=t.getImmediate({optional:!0});if(s){const e=await s.getHeartbeatsHeader();e&&i.append("x-firebase-client",e)}const o={fid:n,authVersion:rv,appId:e.appId,sdkVersion:nv},a={method:"POST",headers:i,body:JSON.stringify(o)},l=await dv((()=>fetch(r,a)));if(l.ok){const e=await l.json();return{fid:e.fid||n,registrationStatus:2,refreshToken:e.refreshToken,authToken:lv(e.authToken)}}throw await cv("Create Installation",l)}(e,t);return xv(e.appConfig,n)}catch(Pb){throw ov(Pb)&&409===Pb.customData.serverCode?await Av(e.appConfig):await xv(e.appConfig,{fid:t.fid,registrationStatus:0}),Pb}}(e,n);return{installationEntry:n,registrationPromise:r}}return 1===t.registrationStatus?{installationEntry:t,registrationPromise:Pv(e)}:{installationEntry:t}}(e,r);return t=i.registrationPromise,i.installationEntry}));return""===n.fid?{installationEntry:await t}:{installationEntry:n,registrationPromise:t}}async function Pv(e){let t=await Nv(e.appConfig);for(;1===t.registrationStatus;)await fv(100),t=await Nv(e.appConfig);if(0===t.registrationStatus){const{installationEntry:t,registrationPromise:n}=await kv(e);return n||t}return t}function Nv(e){return Iv(e,(e=>{if(!e)throw sv.create("installation-not-found");return Rv(e)}))}function Rv(e){return 1===(t=e).registrationStatus&&t.registrationTime+tv<Date.now()?{fid:e.fid,registrationStatus:0}:e;var t}async function Ov({appConfig:e,heartbeatServiceProvider:t},n){const r=function(e,{fid:t}){return`${av(e)}/${t}/authTokens:generate`}(e,n),i=hv(e,n),s=t.getImmediate({optional:!0});if(s){const e=await s.getHeartbeatsHeader();e&&i.append("x-firebase-client",e)}const o={installation:{sdkVersion:nv,appId:e.appId}},a={method:"POST",headers:i,body:JSON.stringify(o)},l=await dv((()=>fetch(r,a)));if(l.ok){return lv(await l.json())}throw await cv("Generate Auth Token",l)}async function Dv(e,t=!1){let n;const r=await Iv(e.appConfig,(r=>{if(!Lv(r))throw sv.create("not-registered");const i=r.authToken;if(!t&&function(e){return 2===e.requestStatus&&!function(e){const t=Date.now();
vendor: 4,267 bytes, line 1
1return t<e.creationTime||e.creationTime+e.expiresIn<t+iv}(e)}(i))return r;if(1===i.requestStatus)return n=async function(e,t){let n=await Fv(e.appConfig);for(;1===n.authToken.requestStatus;)await fv(100),n=await Fv(e.appConfig);const r=n.authToken;return 0===r.requestStatus?Dv(e,t):r}(e,t),r;{if(!navigator.onLine)throw sv.create("app-offline");const t=function(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}(r);return n=async function(e,t){try{const n=await Ov(e,t),r=Object.assign(Object.assign({},t),{authToken:n});return await xv(e.appConfig,r),n}catch(Pb){if(!ov(Pb)||401!==Pb.customData.serverCode&&404!==Pb.customData.serverCode){const n=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await xv(e.appConfig,n)}else await Av(e.appConfig);throw Pb}}(e,t),t}}));return n?await n:r.authToken}function Fv(e){return Iv(e,(e=>{if(!Lv(e))throw sv.create("not-registered");const t=e.authToken;return 1===(n=t).requestStatus&&n.requestTime+tv<Date.now()?Object.assign(Object.assign({},e),{authToken:{requestStatus:0}}):e;var n}))}function Lv(e){return void 0!==e&&2===e.registrationStatus}async function jv(e,t=!1){const n=e;await async function(e){const{registrationPromise:t}=await kv(e);t&&await t}(n);return(await Dv(n,t)).token}function Mv(e){return sv.create("missing-app-config-values",{valueName:e})}const Uv="installations",Vv=e=>{const t=e.getProvider("app").getImmediate(),n=function(e){if(!e||!e.options)throw Mv("App Configuration");if(!e.name)throw Mv("App Name");const t=["projectId","apiKey","appId"];for(const n of t)if(!e.options[n])throw Mv(n);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}(t);return{app:t,appConfig:n,heartbeatServiceProvider:Zt(t,"heartbeat"),_delete:()=>Promise.resolve()}},Bv=e=>{const t=Zt(e.getProvider("app").getImmediate(),Uv).getImmediate();return{getId:()=>async function(e){const t=e,{installationEntry:n,registrationPromise:r}=await kv(t);return r?r.catch(console.error):Dv(t).catch(console.error),n.fid}(t),getToken:e=>jv(t,e)}};Jt(new installations_node_modules_firebase_component_dist_esm_index_esm2017_Component(Uv,Vv,"PUBLIC")),Jt(new installations_node_modules_firebase_component_dist_esm_index_esm2017_Component("installations-internal",Bv,"PRIVATE")),on(Z_,ev),on(Z_,ev,"esm2017");const $v="@firebase/remote-config",zv="0.5.0";const Hv="remote-config",Wv=new remote_config_node_modules_firebase_util_dist_index_esm2017_ErrorFactory("remoteconfig","Remote Config",{"registration-window":"Undefined window object. This SDK only supports usage in a browser environment.","registration-project-id":"Undefined project identifier. Check Firebase app initialization.","registration-api-key":"Undefined API key. Check Firebase app initialization.","registration-app-id":"Undefined app identifier. Check Firebase app initialization.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","storage-delete":"Error thrown when deleting from storage. Original error: {$originalErrorMessage}.","fetch-client-network":"Fetch client failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-timeout":'The config fetch request timed out. Configure timeout using "fetchTimeoutMillis" SDK setting.',"fetch-throttle":'The config fetch request timed out while in an exponential backoff state. Configure timeout using "fetchTimeoutMillis" SDK setting. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.',"fetch-client-parse":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","indexed-db-unavailable":"Indexed DB is not supported by current browser","custom-signal-max-allowed-signals":"Setting more than {$maxSignals} custom signals is not supported."});class CachingClient{constructor(e,t,n,r){this.client=e,this.storage=t,this.storageCache=n,this.logger=r}
1isCachedDataFresh(e,t){if(!t)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const n=Date.now()-t,r=n<=e;return this.logger.debug(`Config fetch cache check. Cache age millis: ${n}. Cache max age millis (minimumFetchIntervalMillis setting): ${e}. Is cache hit: ${r}.`),r}async fetch(e){const[t,n]=await Promise.all([this.storage.getLastSuccessfulFetchTimestampMillis(),this.storage.getLastSuccessfulFetchResponse()]);if(n&&this.isCachedDataFresh(e.cacheMaxAgeMillis,t))return n;e.eTag=n&&n.eTag;const r=await this.client.fetch(e),i=[this.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===r.status&&i.push(this.storage.setLastSuccessfulFetchResponse(r)),await Promise.all(i),r}}function qv(e=navigator){return e.languages&&e.languages[0]||e.language}class RestClient{constructor(e,t,n,r,i,s){this.firebaseInstallations=e,this.sdkVersion=t,this.namespace=n,this.projectId=r,this.apiKey=i,this.appId=s}async fetch(e){const[t,n]=await Promise.all([this.firebaseInstallations.getId(),this.firebaseInstallations.getToken()]),r=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${this.projectId}/namespaces/${this.namespace}:fetch?key=${this.apiKey}`,i={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":e.eTag||"*"},s={sdk_version:this.sdkVersion,app_instance_id:t,app_instance_id_token:n,app_id:this.appId,language_code:qv(),custom_signals:e.customSignals},o={method:"POST",headers:i,body:JSON.stringify(s)},a=fetch(r,o),l=new Promise(((t,n)=>{e.signal.addEventListener((()=>{const e=new Error("The operation was aborted.");e.name="AbortError",n(e)}))}));let c;try{await Promise.race([a,l]),c=await a}catch(p){let e="fetch-client-network";throw"AbortError"===(null==p?void 0:p.name)&&(e="fetch-timeout"),Wv.create(e,{originalErrorMessage:null==p?void 0:p.message})}let u=c.status;const h=c.headers.get("ETag")||void 0;let d,f;if(200===c.status){let e;try{e=await c.json()}catch(p){throw Wv.create("fetch-client-parse",{originalErrorMessage:null==p?void 0:p.message})}d=e.entries,f=e.state}if("INSTANCE_STATE_UNSPECIFIED"===f?u=500:"NO_CHANGE"===f?u=304:"NO_TEMPLATE"!==f&&"EMPTY_CONFIG"!==f||(d={}),304!==u&&200!==u)throw Wv.create("fetch-status",{httpStatus:u});return{status:u,eTag:h,config:d}}}class RetryingClient{constructor(e,t){this.client=e,this.storage=t}async fetch(e){const t=await this.storage.getThrottleMetadata()||{backoffCount:0,throttleEndTimeMillis:Date.now()};return this.attemptFetch(e,t)}async attemptFetch(e,{throttleEndTimeMillis:t,backoffCount:n}){await function(e,t){return new Promise(((n,r)=>{const i=Math.max(t-Date.now(),0),s=setTimeout(n,i);e.addEventListener((()=>{clearTimeout(s),r(Wv.create("fetch-throttle",{throttleEndTimeMillis:t}))}))}))}(e.signal,t);try{const t=await this.client.fetch(e);return await this.storage.deleteThrottleMetadata(),t}catch(Pb){if(!function(e){if(!(e instanceof remote_config_node_modules_firebase_util_dist_index_esm2017_FirebaseError&&e.customData))return!1;const t=Number(e.customData.httpStatus);return 429===t||500===t||503===t||504===t}(Pb))throw Pb;const r={throttleEndTimeMillis:Date.now()+H_(n),backoffCount:n+1};return await this.storage.setThrottleMetadata(r),this.attemptFetch(e,r)}}}class RemoteConfig{get fetchTimeMillis(){return this._storageCache.getLastSuccessfulFetchTimestampMillis()||-1}get lastFetchStatus(){return this._storageCache.getLastFetchStatus()||"no-fetch-yet"}constructor(e,t,n,r,i){this.app=e,this._client=t,this._storageCache=n,this._storage=r,this._logger=i,this._isInitializationComplete=!1,this.settings={fetchTimeoutMillis:6e4,minimumFetchIntervalMillis:432e5},this.defaultConfig={}}}function Kv(e,t){const n=e.target.error||void 0;return Wv.create(t,{originalErrorMessage:n&&(null==n?void 0:n.message)})}const Gv="app_namespace_store";class Storage{constructor(e,t,n,r=function(){return new Promise(((e,t)=>{try{const n=indexedDB.open("firebase_remote_config",1);n.onerror=e=>{t(Kv(e,"storage-open"))},n.onsuccess=t=>{e(t.target.result)},n.onupgradeneeded=e=>{const t=e.target.result;0===e.oldVersion&&t.createObjectStore(Gv,{keyPath:"compositeKey"})}}catch(mo){t(Wv.create("storage-open",{originalErrorMessage:null==mo?void 0:mo.message}))}}))}()){this.appId=e,this.appName=t,this.namespace=n,this.openDbPromise=r}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(e){return this.set("last_fetch_status",e)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(e){return this.set("last_successful_fetch_timestamp_millis",e)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(e){return this.set("last_successful_fetch_response",e)}getActiveConfig(){return this.get("active_config")}setActiveConfig(e){return this.set("active_config",e)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(e){return this.set("active_config_etag",e)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(e){return this.set("throttle_metadata",e)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}getCustomSignals(){return this.get("custom_signals")}async setCustomSignals(e){const t=(await this.openDbPromise).transaction([Gv],"readwrite"),n=await this.getWithTransaction("custom_signals",t),r=Object.assign(Object.assign({},n),e),i=Object.fromEntries(Object.entries(r).filter((([e,t])=>null!==t)).map((([e,t])=>"number"==typeof t?[e,t.toString()]:[e,t])));if(Object.keys(i).length>100)throw Wv.create("custom-signal-max-allowed-signals",{maxSignals:100});return await this.setWithTransaction("custom_signals",i,t),i}async getWithTransaction(e,t){return new Promise(((n,r)=>{const i=t.objectStore(Gv),s=this.createCompositeKey(e);try{const e=i.get(s);e.onerror=e=>{r(Kv(e,"storage-get"))},e.onsuccess=e=>{const t=e.target.result;n(t?t.value:void 0)}}catch(Pb){r(Wv.create("storage-get",{originalErrorMessage:null==Pb?void 0:Pb.message}))}}))}async setWithTransaction(e,t,n){return new Promise(((r,i)=>{const s=n.objectStore(Gv),o=this.createCompositeKey(e);try{const e=s.put({compositeKey:o,value:t});e.onerror=e=>{i(Kv(e,"storage-set"))},e.onsuccess=()=>{r()}}catch(Pb){i(Wv.create("storage-set",{originalErrorMessage:null==Pb?void 0:Pb.message}))}}))}async get(e){const t=(await this.openDbPromise).transaction([Gv],"readonly");return this.getWithTransaction(e,t)}async set(e,t){const n=(await this.openDbPromise).transaction([Gv],"readwrite");return this.setWithTransaction(e,t,n)}async delete(e){const t=await this.openDbPromise;return new Promise(((n,r)=>{const i=t.transaction([Gv],"readwrite").objectStore(Gv),s=this.createCompositeKey(e);try{const e=i.delete(s);e.onerror=e=>{r(Kv(e,"storage-delete"))},e.onsuccess=()=>{n()}}catch(Pb){r(Wv.create("storage-delete",{originalErrorMessage:null==Pb?void 0:Pb.message}))}}))}createCompositeKey(e){return[this.appId,this.appName,this.namespace,e].join()}}class StorageCache{constructor(e){this.storage=e}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}getCustomSignals(){return this.customSignals}async loadFromStorage(){const e=this.storage.getLastFetchStatus(),t=this.storage.getLastSuccessfulFetchTimestampMillis(),n=this.storage.getActiveConfig(),r=this.storage.getCustomSignals(),i=await e;i&&(this.lastFetchStatus=i);const s=await t;s&&(this.lastSuccessfulFetchTimestampMillis=s);const o=await n;o&&(this.activeConfig=o);const a=await r;a&&(this.customSignals=a)}setLastFetchStatus(e){return this.lastFetchStatus=e,this.storage.setLastFetchStatus(e)}setLastSuccessfulFetchTimestampMillis(e){return this.lastSuccessfulFetchTimestampMillis=e,this.storage.setLastSuccessfulFetchTimestampMillis(e)}setActiveConfig(e){return this.activeConfig=e,this.storage.setActiveConfig(e)}async setCustomSignals(e){this.customSignals=await this.storage.setCustomSignals(e)}}Jt(new remote_config_node_modules_firebase_component_dist_esm_index_esm2017_Component(Hv,(function(e,{instanceIdentifier:t}){const n=e.getProvider("app").getImmediate(),r=e.getProvider("installations-internal").getImmediate();if("undefined"==typeof window)throw Wv.create("registration-window");if(!function(){try{return"object"==typeof indexedDB}catch(Pb){return!1}}())throw Wv.create("indexed-db-unavailable");
1const{projectId:i,apiKey:s,appId:o}=n.options;if(!i)throw Wv.create("registration-project-id");if(!s)throw Wv.create("registration-api-key");if(!o)throw Wv.create("registration-app-id");t=t||"firebase";const a=new Storage(o,n.name,t),l=new StorageCache(a),c=new logger_dist_esm_index_esm2017_Logger($v);c.logLevel=q_.ERROR;const u=new RestClient(r,nn,t,i,s,o),h=new RetryingClient(u,a),d=new CachingClient(h,a,l,c),f=new RemoteConfig(n,d,l,a,c);return function(e){const t=(n=e)&&n._delegate?n._delegate:n;var n;t._initializePromise||(t._initializePromise=t._storageCache.loadFromStorage().then((()=>{t._isInitializationComplete=!0}))),t._initializePromise}(f),f}),"PUBLIC").setMultipleInstances(!0)),on($v,zv),on($v,zv,"esm2017");var Qv=function(e,t){return Qv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Qv(e,t)};function Xv(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Qv(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Yv(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{l(r.next(e))}catch(fw){s(fw)}}function a(e){try{l(r.throw(e))}catch(fw){s(fw)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(o,a)}l((r=r.apply(e,t||[])).next())}))}function Jv(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(a){s=[6,a],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}}function Zv(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ey(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o}function ty(e,t,n){if(n||2===arguments.length)for(var r,i=0,s=t.length;i<s;i++)(r||!(i in t))&&(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function ny(e){return this instanceof ny?(this.v=e,this):new ny(e)}function ry(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),s=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){s.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{!function(e){e.value instanceof ny?Promise.resolve(e.value.v).then(l,c):u(s[0][2],e)}(i[e](t))}catch(Lu){u(s[0][3],Lu)}}function l(e){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function iy(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Zv(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function sy(e){return"function"==typeof e}function oy(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var ay=oy((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function ly(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var cy=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=Zv(s),a=o.next();!a.done;a=o.next()){a.value.remove(this)}}catch(_w){e={error:_w}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else s.remove(this);var l=this.initialTeardown;
vendor: 7,309 bytes, line 1
1if(sy(l))try{l()}catch(_w){i=_w instanceof ay?_w.errors:[_w]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=Zv(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{dy(d)}catch(_w){i=null!=i?i:[],_w instanceof ay?i=ty(ty([],ey(i)),ey(_w.errors)):i.push(_w)}}}catch(_w){n={error:_w}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new ay(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)dy(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ly(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&ly(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e;var t}(),uy=cy.EMPTY;function hy(e){return e instanceof cy||e&&"closed"in e&&sy(e.remove)&&sy(e.add)&&sy(e.unsubscribe)}function dy(e){sy(e)?e():e.unsubscribe()}var fy=void 0,py=!1,my=!1,gy={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=gy.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,ty([e,t],ey(n))):setTimeout.apply(void 0,ty([e,t],ey(n)))},clearTimeout:function(e){var t=gy.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function _y(e){gy.setTimeout((function(){throw e}))}function vy(){}var yy=null;function by(e){if(py){var t=!yy;if(t&&(yy={errorThrown:!1,error:null}),e(),t){var n=yy,r=n.errorThrown,i=n.error;if(yy=null,r)throw i}}else e()}var wy=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,hy(t)&&t.add(n)):n.destination=Ay,n}return Xv(t,e),t.create=function(e,t,n){return new Cy(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(cy),Ey=Function.prototype.bind;function Sy(e,t){return Ey.call(e,t)}var Ty=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(uw){xy(uw)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(uw){xy(uw)}else xy(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){xy(t)}},e}(),Cy=function(e){function t(t,n,r){var i,s,o=e.call(this)||this;sy(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&my?((s=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&Sy(t.next,s),error:t.error&&Sy(t.error,s),complete:t.complete&&Sy(t.complete,s)}):i=t;return o.destination=new Ty(i),o}return Xv(t,e),t}(wy);function xy(e){_y(e)}var Ay={closed:!0,next:vy,error:function(e){throw e},complete:vy},Iy="function"==typeof Symbol&&Symbol.observable||"@@observable";function ky(e){return e}var Py=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this,i=function(e){return e&&e instanceof wy||function(e){return e&&sy(e.next)&&sy(e.error)&&sy(e.complete)}(e)&&hy(e)}(e)?e:new Cy(e,t,n);return by((function(){var e=r,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?r._subscribe(i):r._trySubscribe(i))})),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=Ny(t))((function(t,r){var i=new Cy({next:function(t){try{e(t)}catch(n){r(n),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Iy]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(e){return 0===e.length?ky:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Ny(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function Ny(e){var t;return null!==(t=null!=e?e:fy)&&void 0!==t?t:Promise}function Ry(e){return function(t){if(function(e){return sy(null==e?void 0:e.lift)}(t))return t.lift((function(t){try{return e(t,this)}catch(uw){this.error(uw)}}));throw new TypeError("Unable to lift unknown Observable type")}}function Oy(e,t,n,r,i){return new Dy(e,t,n,r,i)}var Dy=function(e){function t(t,n,r,i,s,o){var a=e.call(this,t)||this;return a.onFinalize=s,a.shouldUnsubscribe=o,a._next=n?function(e){try{n(e)}catch(r){t.error(r)}}:e.prototype._next,a._error=i?function(e){try{i(e)}catch(n){t.error(n)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return Xv(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(wy),Fy=oy((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ly=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return Xv(t,e),t.prototype.lift=function(e){var t=new jy(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Fy},t.prototype.next=function(e){var t=this;by((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=Zv(t.currentObservers),s=i.next();!s.done;s=i.next()){s.value.next(e)}}catch(o){n={error:o}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;by((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;by((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}
vendor: 4,088 bytes, line 1
1,enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,s=n.observers;return r||i?uy:(this.currentObservers=null,s.push(e),new cy((function(){t.currentObservers=null,ly(s,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Py;return e.source=this,e},t.create=function(e,t){return new jy(e,t)},t}(Py),jy=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return Xv(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:uy},t}(Ly),My={now:function(){return(My.delegate||Date).now()},delegate:void 0},Uy=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=My);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return Xv(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,s=n._infiniteTimeWindow,o=n._timestampProvider,a=n._windowTime;r||(i.push(t),!s&&i.push(o.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,s=(i?1:2)*t;if(t<1/0&&s<r.length&&r.splice(0,r.length-s),!i){for(var o=n.now(),a=0,l=1;l<r.length&&r[l]<=o;l+=2)a=l;a&&r.splice(0,a+1)}},t}(Ly),Vy=function(e){function t(t,n){return e.call(this)||this}return Xv(t,e),t.prototype.schedule=function(e,t){return this},t}(cy),By={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=By.delegate;return null!=i&&i.setInterval?i.setInterval.apply(i,ty([e,t],ey(n))):setInterval.apply(void 0,ty([e,t],ey(n)))},clearInterval:function(e){var t=By.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},$y=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return Xv(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),By.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;By.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,r=!1;try{this.work(e)}catch(dw){r=!0,n=dw||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,r=n.actions;
1this.work=this.state=this.scheduler=null,this.pending=!1,ly(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Vy),zy=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=My.now,e}(),Hy=function(e){function t(t,n){void 0===n&&(n=zy.now);var r=e.call(this,t,n)||this;return r.actions=[],r._active=!1,r._scheduled=void 0,r}return Xv(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(zy),Wy=(new Hy($y),new Py((function(e){return e.complete()})));function qy(e){return e?function(e){return new Py((function(t){return e.schedule((function(){return t.complete()}))}))}(e):Wy}function Ky(e){return e&&sy(e.schedule)}function Gy(e){return e[e.length-1]}function Qy(e){return Ky(Gy(e))?e.pop():void 0}var Xy=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Yy(e){return sy(null==e?void 0:e.then)}function Jy(e){return sy(e[Iy])}function Zy(e){return Symbol.asyncIterator&&sy(null==e?void 0:e[Symbol.asyncIterator])}function tb(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var nb="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function rb(e){return sy(null==e?void 0:e[nb])}function ib(e){return ry(this,arguments,(function(){var t,n,r;return Jv(this,(function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,ny(t.read())];case 3:return n=i.sent(),r=n.value,n.done?[4,ny(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,ny(r)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}
vendor: 5,520 bytes, line 1
1))}))}function sb(e){return sy(null==e?void 0:e.getReader)}function ob(e){if(e instanceof Py)return e;if(null!=e){if(Jy(e))return function(e){return new Py((function(t){var n=e[Iy]();if(sy(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}(e);if(Xy(e))return function(e){return new Py((function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()}))}(e);if(Yy(e))return function(e){return new Py((function(t){e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,_y)}))}(e);if(Zy(e))return ab(e);if(rb(e))return function(e){return new Py((function(t){var n,r;try{for(var i=Zv(e),s=i.next();!s.done;s=i.next()){var o=s.value;if(t.next(o),t.closed)return}}catch(a){n={error:a}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.complete()}))}(e);if(sb(e))return function(e){return ab(ib(e))}(e)}throw tb(e)}function ab(e){return new Py((function(t){(function(e,t){var n,r,i,s;return Yv(this,void 0,void 0,(function(){var o,a;return Jv(this,(function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=iy(e),l.label=1;case 1:return[4,n.next()];case 2:if((r=l.sent()).done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=l.sent(),i={error:a},[3,11];case 6:return l.trys.push([6,,9,10]),r&&!r.done&&(s=n.return)?[4,s.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}function lb(e,t,n,r,i){void 0===r&&(r=0),void 0===i&&(i=!1);var s=t.schedule((function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()}),r);if(e.add(s),!i)return s}function cb(e,t){return void 0===t&&(t=0),Ry((function(n,r){n.subscribe(Oy(r,(function(n){return lb(r,e,(function(){return r.next(n)}),t)}),(function(){return lb(r,e,(function(){return r.complete()}),t)}),(function(n){return lb(r,e,(function(){return r.error(n)}),t)})))}))}function ub(e,t){return void 0===t&&(t=0),Ry((function(n,r){r.add(e.schedule((function(){return n.subscribe(r)}),t))}))}function hb(e,t){if(!e)throw new Error("Iterable cannot be null");return new Py((function(n){lb(n,t,(function(){var r=e[Symbol.asyncIterator]();lb(n,t,(function(){r.next().then((function(e){e.done?n.complete():n.next(e.value)}))}),0,!0)}))}))}function db(e,t){if(null!=e){if(Jy(e))return function(e,t){return ob(e).pipe(ub(t),cb(t))}(e,t);if(Xy(e))return function(e,t){return new Py((function(n){var r=0;return t.schedule((function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())}))}))}(e,t);if(Yy(e))return function(e,t){return ob(e).pipe(ub(t),cb(t))}(e,t);if(Zy(e))return hb(e,t);if(rb(e))return function(e,t){return new Py((function(n){var r;return lb(n,t,(function(){r=e[nb](),lb(n,t,(function(){var e,t,i;try{t=(e=r.next()).value,i=e.done}catch(s){return void n.error(s)}i?n.complete():n.next(t)}),0,!0)})),function(){return sy(null==r?void 0:r.return)&&r.return()}}))}(e,t);if(sb(e))return function(e,t){return hb(ib(e),t)}(e,t)}throw tb(e)}function fb(e,t){return t?db(e,t):ob(e)}function pb(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fb(e,Qy(e))}oy((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}}));function mb(e,t){return Ry((function(n,r){var i=0;n.subscribe(Oy(r,(function(n){r.next(e.call(t,n,i++))})))}))}function gb(e){return Ry((function(t,n){var r,i=null,s=!1;i=t.subscribe(Oy(n,void 0,void 0,(function(o){r=ob(e(o,gb(e)(t))),i?(i.unsubscribe(),i=null,r.subscribe(n)):s=!0}))),s&&(i.unsubscribe(),i=null,r.subscribe(n))}))}function _b(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(!0!==t){if(!1!==t){var i=new Cy({next:function(){i.unsubscribe(),e()}});return t.apply(void 0,ty([],ey(n))).subscribe(i)}}else e()}function vb(e,t,n){var r,i,s,o,a=!1;return e&&"object"==typeof e?(r=e.bufferSize,o=void 0===r?1/0:r,i=e.windowTime,t=void 0===i?1/0:i,a=void 0!==(s=e.refCount)&&s,n=e.scheduler):o=null!=e?e:1/0,function(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new Ly}:t,r=e.resetOnError,i=void 0===r||r,s=e.resetOnComplete,o=void 0===s||s,a=e.resetOnRefCountZero,l=void 0===a||a;return function(e){var t,r,s,a=0,c=!1,u=!1,h=function(){null==r||r.unsubscribe(),r=void 0},d=function(){h(),t=s=void 0,c=u=!1},f=function(){var e=t;d(),null==e||e.unsubscribe()};return Ry((function(e,p){a++,!u&&!c&&h();var m=s=null!=s?s:n();p.add((function(){0==--a&&!u&&!c&&(r=_b(f,l))})),m.subscribe(p),!t&&a>0&&(t=new Cy({next:function(e){return m.next(e)},error:function(e){u=!0,h(),r=_b(d,i,e),m.error(e)},complete:function(){c=!0,h(),r=_b(d,o),m.complete()}}),ob(e).subscribe(t))}))(e)}}({connector:function(){return new Uy(o,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function yb(e,t){return Ry((function(n,r){var i=null,s=0,o=!1,a=function(){return o&&!i&&r.complete()};n.subscribe(Oy(r,(function(n){null==i||i.unsubscribe();var o=0,l=s++;ob(e(n,l)).subscribe(i=Oy(r,(function(e){return r.next(t?t(n,e,l,o++):e)}),(function(){i=null,a()})))}),(function(){o=!0,a()})))}))}function bb(e){return new Py((function(t){return{unsubscribe:gi(e,t.next.bind(t),t.error.bind(t),t.complete.bind(t))}}))}const wb=i.createContext(void 0),Eb=i.createContext(!1);function Sb(e){const{firebaseConfig:t,appName:n,suspense:r}=e,s=i.useMemo((()=>
1{if(e.firebaseApp)return e.firebaseApp;const r=Array.from(Gt.values()).find((e=>e.name===(n||"[DEFAULT]")));if(r){if(t&&((e,t)=>e===t||[...Object.keys(e),...Object.keys(t)].every((n=>e[n]===t[n])))(r.options,t))return r;throw new Error(`Does not match the options already provided to the ${n||"default"} firebase app instance, give this new instance a different appName.`)}if(!t)throw new Error("No firebaseConfig provided");return on("react",i.version||"unknown"),on("reactfire","4.2.3"),rn(t,n)}),[e.firebaseApp,t,n]);return i.createElement(wb.Provider,{value:s},i.createElement(Eb.Provider,Object.assign({value:null!=r&&r},e)))}function Tb(e){let t=i.useContext(Eb);return void 0!==e?e:t}function Cb(){const e=i.useContext(wb);if(!e)throw new Error("Cannot call useFirebaseApp unless your component is within a FirebaseAppProvider");return e}function xb(e){const t=ow();return Bb(`auth:user:${t.name}`,bb(t),e)}function Ab(e){if((null==e?void 0:e.hasOwnProperty("requiredClaims"))&&(null==e?void 0:e.hasOwnProperty("validateCustomClaims")))throw new Error('Cannot have both "requiredClaims" and "validateCustomClaims". Use one or the other.');const t=ow();let n=`auth:signInCheck:${t.name}::forceRefresh:${!(null==e||!e.forceRefresh)}`;null!=e&&e.forceRefresh&&(n=`${n}:forceRefresh:${e.forceRefresh}`),null!=e&&e.hasOwnProperty("requiredClaims")?n=`${n}:requiredClaims:${JSON.stringify(e.requiredClaims)}`:null!=e&&e.hasOwnProperty("validateCustomClaims")&&(n=`${n}:validateCustomClaims:${JSON.stringify(e.validateCustomClaims)}`);const r=bb(t).pipe(yb((t=>{var n;return t?e&&(e.hasOwnProperty("requiredClaims")||e.hasOwnProperty("validateCustomClaims"))?fb(t.getIdTokenResult(null!==(n=null==e?void 0:e.forceRefresh)&&void 0!==n&&n)).pipe(mb((n=>{let r;r=e.hasOwnProperty("requiredClaims")?function(e){return function(t){const n={};return Object.keys(e).forEach((r=>{e[r]!==t[r]&&(n[r]=[new dist_Me("auth/missing-claim",`Expected "${e[r]}", but user has "${t[r]}" instead`)])})),{hasRequiredClaims:0===Object.keys(n).length,errors:n}}}(e.requiredClaims):e.validateCustomClaims;const{hasRequiredClaims:i,errors:s}=r(n.claims);return{signedIn:!0,hasRequiredClaims:i,errors:s,user:t}}))):pb({signedIn:!0,hasRequiredClaims:!0,errors:{},user:t}):pb({signedIn:!1,hasRequiredClaims:!1,errors:{},user:null})})));return Bb(n,r)}var Ib,kb,Pb;(Pb=kb||(kb={})).added="child_added",Pb.removed="child_removed",Pb.changed="child_changed",Pb.moved="child_moved",Pb.value="value";Object.freeze(((Ib={})[kb.added]=function(e,t,n,r){return eu(e,"child_added",t,n,r)},Ib[kb.removed]=function(e,t,n,r){return eu(e,"child_removed",t,n,r)},Ib[kb.changed]=function(e,t,n,r){return eu(e,"child_changed",t,n,r)},Ib[kb.moved]=function(e,t,n,r){return eu(e,"child_moved",t,n,r)},Ib[kb.value]=tu,Ib));const Nb=globalThis._reactFireDatabaseCachedQueries||[];globalThis._reactFireDatabaseCachedQueries||(globalThis._reactFireDatabaseCachedQueries=Nb);var Rb={includeMetadataChanges:!1};function Ob(e,t){return void 0===t&&(t=Rb),new Py((function(n){var r=function(e,...t){var n,r,i;e=mu(e);let s={includeMetadataChanges:!1,source:"default"},o=0;"object"!=typeof t[o]||Ag(t[o])||(s=t[o],o++);const a={includeMetadataChanges:s.includeMetadataChanges,source:s.source};if(Ag(t[o])){const e=t[o];t[o]=null===(n=e.next)||void 0===n?void 0:n.bind(e),t[o+1]=null===(r=e.error)||void 0===r?void 0:r.bind(e),t[o+2]=null===(i=e.complete)||void 0===i?void 0:i.bind(e)}let l,c,u;if(e instanceof DocumentReference)c=yg(e.firestore,Firestore),u=zd(e._key.path),l={next:n=>{t[o]&&t[o](s_(c,e,n))},error:t[o+1],complete:t[o+2]};else{const n=yg(e,Query);c=yg(n.firestore,Firestore),u=n._query;const r=new __PRIVATE_ExpUserDataWriter(c);l={next:e=>{t[o]&&t[o](new QuerySnapshot(c,r,n,e))},error:t[o+1],complete:t[o+2]},Wg(e._query)}return function(e,t,n,r){const i=new __PRIVATE_AsyncObserver(r),s=new __PRIVATE_QueryListener(t,i,n);return e.asyncQueue.enqueueAndForget((async()=>Im(await hg(e),s))),()=>{i.su(),e.asyncQueue.enqueueAndForget((async()=>km(await hg(e),s)))}}(Ig(c),u,a,l)}(e,t,{next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return{unsubscribe:r}}))}function Db(e){return Ob(e,{includeMetadataChanges:!0})}function Fb(e,t){return void 0===t&&(t={}
1),Db(e).pipe(mb((function(e){return Lb(e,t)})))}function Lb(e,t){void 0===t&&(t={});var n=e.data();return!e.exists()||"object"!=typeof n||null===n||t.idField&&(n[t.idField]=e.id),n}function jb(e,t){return void 0===t&&(t={}),function(e){return Ob(e,{includeMetadataChanges:!0}).pipe(mb((function(e){return e.docs})))}(e).pipe(mb((function(e){return e.map((function(e){return Lb(e,t)}))})))}class br extends Ly{constructor(e,t){super(),this._timeoutWindow=t,this._hasValue=!1,this._error=void 0,this._firstEmission=new Promise((e=>this._resolveFirstEmission=e)),this._innerObservable=e.pipe(function(e,t,n){var r=sy(e)||t||n?{next:e,error:t,complete:n}:e;return r?Ry((function(e,t){var n;null===(n=r.subscribe)||void 0===n||n.call(r);var i=!0;e.subscribe(Oy(t,(function(e){var n;null===(n=r.next)||void 0===n||n.call(r,e),t.next(e)}),(function(){var e;i=!1,null===(e=r.complete)||void 0===e||e.call(r),t.complete()}),(function(e){var n;i=!1,null===(n=r.error)||void 0===n||n.call(r,e),t.error(e)}),(function(){var e,t;i&&(null===(e=r.unsubscribe)||void 0===e||e.call(r)),null===(t=r.finalize)||void 0===t||t.call(r)})))})):ky}({next:e=>{this._next(e)},error:e=>{this._error=e,this._resolveFirstEmission()}}),gb((()=>qy())),vb(1)),this._warmupSubscription=this._innerObservable.subscribe(),this._timeoutHandler=setTimeout(this._reset.bind(this),this._timeoutWindow)}get hasValue(){return this._hasValue||!!this._error}get value(){if(this._error)throw this._error;if(!this.hasValue)throw Error("Can only get value if SuspenseSubject has a value");return this._value}get firstEmission(){return this._firstEmission}_next(e){this._hasValue=!0,this._value=e,this._resolveFirstEmission()}_reset(){this._warmupSubscription&&this._warmupSubscription.unsubscribe(),this._hasValue=!1,this._value=void 0,this._error=void 0,this._firstEmission=new Promise((e=>this._resolveFirstEmission=e))}_subscribe(e){return this._timeoutHandler&&clearTimeout(this._timeoutHandler),this._innerSubscriber=this._innerObservable.subscribe(e),this._innerSubscriber}get ourError(){return this._error}}const Mb=3e4,Ub=globalThis._reactFirePreloadedObservables||new Map;function Vb(e,t){if(Ub.has(t))return Ub.get(t);{const n=new br(e,Mb);return Ub.set(t,n),n}}function Bb(e,t,n={}){var r;if(!e)throw new Error("cannot call useObservable without an observableId");const s=Vb(t,e),o=n.hasOwnProperty("initialData")||n.hasOwnProperty("startWithValue"),a=s.hasValue||o;if(!0===Tb(n.suspense)&&!a)throw s.firstEmission;const l={status:a?"success":"loading",hasEmitted:a,isComplete:!1,data:s.hasValue?s.value:null!==(r=null==n?void 0:n.initialData)&&void 0!==r?r:null==n?void 0:n.startWithValue,error:s.ourError,firstValuePromise:s.firstEmission},[c,u]=i.useReducer(function(e){return function(t,n){const r=Object.assign(Object.assign({},t),{hasEmitted:t.hasEmitted||e.hasValue,error:e.ourError,firstValuePromise:e.firstEmission});switch(e.hasValue&&(r.data=e.value),n){case"value":return r.status="success",r;case"error":return r.status="error",r;case"complete":return r.isComplete=!0,r;default:throw new Error(`invalid action "${n}"`)}}}(s),l);return i.useEffect((()=>{const e=s.subscribe({next:()=>{u("value")},error:e=>{throw u("error"),e},complete:()=>{u("complete")}});return()=>e.unsubscribe()}),[s]),c}globalThis._reactFirePreloadedObservables||(globalThis._reactFirePreloadedObservables=Ub);const $b=globalThis._reactFireFirestoreQueryCache||[];function zb(e){const t=$b.findIndex((t=>Cg(t,e)));return t>-1?t:$b.push(e)-1}function Hb(e,t){const n=t?cw(t):"NO_ID_FIELD";return Bb(`firestore:docData:${e.firestore.app.name}:${e.path}:idField=${n}`,Fb(e,{idField:n}),t)}function Wb(e,t){const n=t?cw(t):"NO_ID_FIELD";return Bb(`firestore:collectionData:${zb(e)}:idField=${n}`,jb(e,{idField:n}),t)}globalThis._reactFireFirestoreQueryCache||(globalThis._reactFireFirestoreQueryCache=$b);const qb=i.createContext(void 0),Kb=i.createContext(void 0),Gb=i.createContext(void 0),Qb=i.createContext(void 0),Xb=i.createContext(void 0),Yb=i.createContext(void 0),Jb=i.createContext(void 0),Zb=i.createContext(void 0),ew=i.createContext(void 0);function tw(e){return function(t){var n,r;if(!t.sdk)throw new Error("no sdk provided");const s=Cb().name;if((null===(r=null===(n=null==t?void 0:t.sdk)||void 0===n?void 0:n.app)||void 0===r?void 0:r.name)!==s)throw new Error("sdk was initialized with a different firebase app");return i.createElement(e.Provider,Object.assign({value:t.sdk},t))}}function nw(e){const t=i.useContext(e);if(!t)throw new Error("SDK not found. useSdk must be called from within a provider");return t}tw(qb);const rw=tw(Kb),iw=(tw(Gb),tw(Qb),tw(Xb)),sw=(tw(Yb),tw(Zb),tw(Jb)),ow=(tw(ew),()=>nw(Kb)),aw=()=>nw(Xb);
1class dist_Me extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name="ReactFireError",Object.setPrototypeOf(this,dist_Me.prototype)}}function lw(e,t){if("idField"===t||"initialData"===t||"suspense"===t)return e?e[t]:void 0;throw new Error(`Field "${t}" is not a valid key in ReactFireOptions`)}function cw(e){return lw(e,"idField")}function uw(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=uw(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const hw=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=uw(e))&&(r&&(r+=" "),r+=t);return r},dw=e=>"number"==typeof e&&!isNaN(e),fw=e=>"string"==typeof e,pw=e=>"function"==typeof e,mw=e=>fw(e)||pw(e)?e:null,gw=e=>(0,i.isValidElement)(e)||fw(e)||pw(e)||dw(e);function _w(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:s=!0,collapseDuration:o=300}=e;return function(e){let{children:a,position:l,preventExitTransition:c,done:u,nodeRef:h,isIn:d}=e;const f=r?`${t}--${l}`:t,p=r?`${n}--${l}`:n,m=(0,i.useRef)(0);return(0,i.useLayoutEffect)((()=>{const e=h.current,t=f.split(" "),n=r=>{r.target===h.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===m.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)}),[]),(0,i.useEffect)((()=>{const e=h.current,t=()=>{e.removeEventListener("animationend",t),s?function(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:i}=e;requestAnimationFrame((()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame((()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)}))}))}(e,u,o):u()};d||(c?t():(m.current=1,e.className+=` ${p}`,e.addEventListener("animationend",t)))}),[d]),i.createElement(i.Fragment,null,a)}}function vw(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const yw={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter((e=>e!==t));return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach((t=>{const n=setTimeout((()=>{t(...[].slice.call(arguments,1))}),0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)}))}},bw=e=>{let{theme:t,type:n,...r}=e;return i.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...r})},ww={info:function(e){return i.createElement(bw,{...e},i.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return i.createElement(bw,{...e},i.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return i.createElement(bw,{...e},i.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return i.createElement(bw,{...e},i.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return i.createElement("div",{className:"Toastify__spinner"})}};function Ew(e){const[,t]=(0,i.useReducer)((e=>e+1),0),[n,r]=(0,i.useState)([]),s=(0,i.useRef)(null),o=(0,i.useRef)(new Map).current,a=e=>-1!==n.indexOf(e),l=(0,i.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:a,getToast:e=>o.get(e)}).current;
1function c(e){let{containerId:t}=e;const{limit:n}=l.props;!n||t&&l.containerId!==t||(l.count-=l.queue.length,l.queue=[])}function u(e){r((t=>null==e?[]:t.filter((t=>t!==e))))}function h(){const{toastContent:e,toastProps:t,staleId:n}=l.queue.shift();f(e,t,n)}function d(e,n){let{delay:r,staleId:a,...c}=n;if(!gw(e)||function(e){return!s.current||l.props.enableMultiContainer&&e.containerId!==l.props.containerId||o.has(e.toastId)&&null==e.updateId}(c))return;const{toastId:d,updateId:p,data:m}=c,{props:g}=l,_=()=>u(d),v=null==p;v&&l.count++;const y={...g,style:g.toastStyle,key:l.toastKey++,...Object.fromEntries(Object.entries(c).filter((e=>{let[t,n]=e;return null!=n}))),toastId:d,updateId:p,data:m,closeToast:_,isIn:!1,className:mw(c.className||g.toastClassName),bodyClassName:mw(c.bodyClassName||g.bodyClassName),progressClassName:mw(c.progressClassName||g.progressClassName),autoClose:!c.isLoading&&(b=c.autoClose,w=g.autoClose,!1===b||dw(b)&&b>0?b:w),deleteToast(){const e=vw(o.get(d),"removed");o.delete(d),yw.emit(4,e);const n=l.queue.length;if(l.count=null==d?l.count-l.displayedToast:l.count-1,l.count<0&&(l.count=0),n>0){const e=null==d?l.props.limit:1;if(1===n||1===e)l.displayedToast++,h();else{const t=e>n?n:e;l.displayedToast=t;for(let e=0;e<t;e++)h()}}else t()}};var b,w;y.iconOut=function(e){let{theme:t,type:n,isLoading:r,icon:s}=e,o=null;const a={theme:t,type:n};return!1===s||(pw(s)?o=s(a):(0,i.isValidElement)(s)?o=(0,i.cloneElement)(s,a):fw(s)||dw(s)?o=s:r?o=ww.spinner():(e=>e in ww)(n)&&(o=ww[n](a))),o}(y),pw(c.onOpen)&&(y.onOpen=c.onOpen),pw(c.onClose)&&(y.onClose=c.onClose),y.closeButton=g.closeButton,!1===c.closeButton||gw(c.closeButton)?y.closeButton=c.closeButton:!0===c.closeButton&&(y.closeButton=!gw(g.closeButton)||g.closeButton);let E=e;(0,i.isValidElement)(e)&&!fw(e.type)?E=(0,i.cloneElement)(e,{closeToast:_,toastProps:y,data:m}):pw(e)&&(E=e({closeToast:_,toastProps:y,data:m})),g.limit&&g.limit>0&&l.count>g.limit&&v?l.queue.push({toastContent:E,toastProps:y,staleId:a}):dw(r)?setTimeout((()=>{f(E,y,a)}),r):f(E,y,a)}function f(e,t,n){const{toastId:i}=t;n&&o.delete(n);const s={content:e,props:t};o.set(i,s),r((e=>[...e,i].filter((e=>e!==n)))),yw.emit(4,vw(s,null==s.props.updateId?"added":"updated"))}return(0,i.useEffect)((()=>(l.containerId=e.containerId,yw.cancelEmit(3).on(0,d).on(1,(e=>s.current&&u(e))).on(5,c).emit(2,l),()=>{o.clear(),yw.emit(3,l)})),[]),(0,i.useEffect)((()=>{l.props=e,l.isToastActive=a,l.displayedToast=n.length})),{getToastToRender:function(t){const n=new Map,r=Array.from(o.values());return e.newestOnTop&&r.reverse(),r.forEach((e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)})),Array.from(n,(e=>t(e[0],e[1])))},containerRef:s,isToastActive:a}}function Sw(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function Tw(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function Cw(e){let{closeToast:t,theme:n,ariaLabel:r="close"}=e;return i.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":r},i.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},i.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function xw(e){let{delay:t,isRunning:n,closeToast:r,type:s="default",hide:o,className:a,style:l,controlledProgress:c,progress:u,rtl:h,isIn:d,theme:f}=e;const p=o||c&&0===u,m={...l,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:p?0:1};c&&(m.transform=`scaleX(${u})`);const g=hw("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${f}`,`Toastify__progress-bar--${s}`,{"Toastify__progress-bar--rtl":h}),_=pw(a)?a({rtl:h,type:s,defaultClassName:g}):hw(g,a);return i.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer",className:_,style:m,[c&&u>=1?"onTransitionEnd":"onAnimationEnd"]:c&&u<1?null:()=>{d&&r()}})}const Aw=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:s}=function(e){const[t,n]=(0,i.useState)(!1),[r,s]=(0,i.useState)(!1),o=(0,i.useRef)(null),a=(0,i.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,l=(0,i.useRef)(e),{autoClose:c,pauseOnHover:u,closeToast:h,onClick:d,closeOnClick:f}=e;function p(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),a.didMove=!1,document.addEventListener("mousemove",v),document.addEventListener("mouseup",y),document.addEventListener("touchmove",v),document.addEventListener("touchend",y);const n=o.current;a.canCloseOnClick=!0,a.canDrag=!0,a.boundingRect=n.getBoundingClientRect(),n.style.transition="",a.x=Sw(t.nativeEvent),a.y=Tw(t.nativeEvent),"x"===e.draggableDirection?(a.start=a.x,a.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(a.start=a.y,a.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function m(t){if(a.boundingRect){const{top:n,bottom:r,left:i,right:s}=a.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&a.x>=i&&a.x<=s&&a.y>=n&&a.y<=r?_():g()}}function g(){n(!0)}function _(){n(!1)}function v(n){const r=o.current;a.canDrag&&r&&(a.didMove=!0,t&&_(),a.x=Sw(n),a.y=Tw(n),a.delta="x"===e.draggableDirection?a.x-a.start:a.y-a.start,a.start!==a.x&&(a.canCloseOnClick=!1),r.style.transform=`translate${e.draggableDirection}(${a.delta}px)`,r.style.opacity=""+(1-Math.abs(a.delta/a.removalDistance)))}function y(){document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",y),document.removeEventListener("touchmove",v),document.removeEventListener("touchend",y);const t=o.current;
1if(a.canDrag&&a.didMove&&t){if(a.canDrag=!1,Math.abs(a.delta)>a.removalDistance)return s(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,i.useEffect)((()=>{l.current=e})),(0,i.useEffect)((()=>(o.current&&o.current.addEventListener("d",g,{once:!0}),pw(e.onOpen)&&e.onOpen((0,i.isValidElement)(e.children)&&e.children.props),()=>{const e=l.current;pw(e.onClose)&&e.onClose((0,i.isValidElement)(e.children)&&e.children.props)})),[]),(0,i.useEffect)((()=>(e.pauseOnFocusLoss&&(document.hasFocus()||_(),window.addEventListener("focus",g),window.addEventListener("blur",_)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",g),window.removeEventListener("blur",_))})),[e.pauseOnFocusLoss]);const b={onMouseDown:p,onTouchStart:p,onMouseUp:m,onTouchEnd:m};return c&&u&&(b.onMouseEnter=_,b.onMouseLeave=g),f&&(b.onClick=e=>{d&&d(e),a.canCloseOnClick&&h()}),{playToast:g,pauseToast:_,isRunning:t,preventExitTransition:r,toastRef:o,eventHandlers:b}}(e),{closeButton:o,children:a,autoClose:l,onClick:c,type:u,hideProgressBar:h,closeToast:d,transition:f,position:p,className:m,style:g,bodyClassName:_,bodyStyle:v,progressClassName:y,progressStyle:b,updateId:w,role:E,progress:S,rtl:T,toastId:C,deleteToast:x,isIn:A,isLoading:I,iconOut:k,closeOnClick:P,theme:N}=e,R=hw("Toastify__toast",`Toastify__toast-theme--${N}`,`Toastify__toast--${u}`,{"Toastify__toast--rtl":T},{"Toastify__toast--close-on-click":P}),O=pw(m)?m({rtl:T,position:p,type:u,defaultClassName:R}):hw(R,m),D=!!S||!l,F={closeToast:d,type:u,theme:N};let L=null;return!1===o||(L=pw(o)?o(F):(0,i.isValidElement)(o)?(0,i.cloneElement)(o,F):Cw(F)),i.createElement(f,{isIn:A,done:x,position:p,preventExitTransition:n,nodeRef:r},i.createElement("div",{id:C,onClick:c,className:O,...s,style:g,ref:r},i.createElement("div",{...A&&{role:E},className:pw(_)?_({type:u}):hw("Toastify__toast-body",_),style:v},null!=k&&i.createElement("div",{className:hw("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!I})},k),i.createElement("div",null,a)),L,i.createElement(xw,{...w&&!D?{key:`pb-${w}`}:{},rtl:T,theme:N,delay:l,isRunning:t,isIn:A,closeToast:d,hide:h,type:u,style:b,className:y,controlledProgress:D,progress:S||0})))}
1,Iw=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},kw=_w(Iw("bounce",!0)),Pw=(_w(Iw("slide",!0)),_w(Iw("zoom")),_w(Iw("flip")),(0,i.forwardRef)(((e,t)=>{const{getToastToRender:n,containerRef:r,isToastActive:s}=Ew(e),{className:o,style:a,rtl:l,containerId:c}=e;function u(e){const t=hw("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":l});return pw(o)?o({position:e,rtl:l,defaultClassName:t}):hw(t,mw(o))}return(0,i.useEffect)((()=>{t&&(t.current=r.current)}),[]),i.createElement("div",{ref:r,className:"Toastify",id:c},n(((e,t)=>{const n=t.length?{...a}:{...a,pointerEvents:"none"};return i.createElement("div",{className:u(e),style:n,key:`container-${e}`},t.map(((e,n)=>{let{content:r,props:o}=e;return i.createElement(Aw,{...o,isIn:s(o.toastId),style:{...o.style,"--nth":n+1,"--len":t.length},key:`toast-${o.key}`},r)})))})))})));Pw.displayName="ToastContainer",Pw.defaultProps={position:"top-right",transition:kw,autoClose:5e3,closeButton:Cw,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let Nw,Rw=new Map,Ow=[],Dw=1;function Fw(){return""+Dw++}function Lw(e){return e&&(fw(e.toastId)||dw(e.toastId))?e.toastId:Fw()}function jw(e,t){return Rw.size>0?yw.emit(0,e,t):Ow.push({content:e,options:t}),t.toastId}function Mw(e,t){return{...t,type:t&&t.type||e,toastId:Lw(t)}}function Uw(e){return(t,n)=>jw(t,Mw(e,n))}function Vw(e,t){return jw(e,Mw("default",t))}Vw.loading=(e,t)=>
1jw(e,Mw("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Vw.promise=function(e,t,n){let r,{pending:i,error:s,success:o}=t;i&&(r=fw(i)?Vw.loading(i,n):Vw.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,i)=>{if(null==t)return void Vw.dismiss(r);const s={type:e,...a,...n,data:i},o=fw(t)?{render:t}:t;return r?Vw.update(r,{...s,...o}):Vw(o.render,{...s,...o}),i},c=pw(e)?e():e;return c.then((e=>l("success",o,e))).catch((e=>l("error",s,e))),c},Vw.success=Uw("success"),Vw.info=Uw("info"),Vw.error=Uw("error"),Vw.warning=Uw("warning"),Vw.warn=Vw.warning,Vw.dark=(e,t)=>jw(e,Mw("default",{theme:"dark",...t})),Vw.dismiss=e=>{Rw.size>0?yw.emit(1,e):Ow=Ow.filter((t=>null!=e&&t.options.toastId!==e))},Vw.clearWaitingQueue=function(e){return void 0===e&&(e={}),yw.emit(5,e)},Vw.isActive=e=>{let t=!1;return Rw.forEach((n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)})),t},Vw.update=function(e,t){void 0===t&&(t={}),setTimeout((()=>{const n=function(e,t){let{containerId:n}=t;const r=Rw.get(n||Nw);return r&&r.getToast(e)}(e,t);if(n){const{props:r,content:i}=n,s={delay:100,...r,...t,toastId:t.toastId||e,updateId:Fw()};s.toastId!==e&&(s.staleId=e);const o=s.render||i;delete s.render,jw(o,s)}}),0)},Vw.done=e=>{Vw.update(e,{progress:1})},Vw.onChange=e=>(yw.on(4,e),()=>{yw.off(4,e)}),Vw.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},Vw.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},yw.on(2,(e=>{Nw=e.containerId||e,Rw.set(Nw,e),Ow.forEach((e=>{yw.emit(0,e.content,e.options)})),Ow=[]})).on(3,(e=>{Rw.delete(e.containerId||e),0===Rw.size&&yw.off(0).off(1).off(5)}));const Bw={registerAccount:async(e,t,n)=>async function(e,t,n){if(en(e.app))return Promise.reject(Gn(e));const r=Br(e),i=Kr(r,{returnSecureToken:!0,email:t,password:n,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",ai,"EMAIL_PASSWORD_PROVIDER"),s=await i.catch((t=>{throw"auth/password-does-not-meet-requirements"===t.code&&mi(e),t})),o=await UserCredentialImpl._fromIdTokenResponse(r,"signIn",s);return await r._updateCurrentUser(o.user),o}(e,t,n),async logout(e){e.signOut()},login:async(e,t,n)=>function(e,t,n){return en(e.app)?Promise.reject(Gn(e)):fi(Pn(e),EmailAuthProvider.credential(t,n)).catch((async t=>{throw"auth/password-does-not-meet-requirements"===t.code&&mi(e),t}))}(e,t,n),sendResetPassword:async(e,t)=>async function(e,t,n){const r=Br(e),i={requestType:"PASSWORD_RESET",email:t,clientType:"CLIENT_TYPE_WEB"};n&&pi(r,i,n),await Kr(r,i,"getOobCode",ri,"EMAIL_PASSWORD_PROVIDER")}(e,t),resetPassword:async(e,t,n)=>async function(e,t,n){await Zr(Pn(e),{oobCode:t,newPassword:n}).catch((async t=>{throw"auth/password-does-not-meet-requirements"===t.code&&mi(e),t}))}(e,t,n)},$w={path:"/profile",collectionRef:(e,t="createdAt")=>qg(Sg(e,$w.path),Gg(t,"desc")),collectionRefNoOrder:e=>Sg(e,$w.path),async upsert(e,t){const n=Tg(e,$w.path,t.email);return delete t.checkPolicy,t.password="***********",await t_(n,Object.assign({},t,{createdAt:index_esm2017_Timestamp.now(),updatedAt:index_esm2017_Timestamp.now()}),{merge:!0})},async updateLogin(e,t,n){const r=Tg(e,$w.path,t);return await t_(r,Object.assign({},n,{updatedAt:index_esm2017_Timestamp.now(),loginTime:o_(1)}),{merge:!0})},async update(e,t,n){const r=Tg(e,$w.path,t);return await t_(r,Object.assign({},n,{updatedAt:index_esm2017_Timestamp.now()}),{merge:!0})},async updateLog(){},async checkUserExist(e,t){const n=Tg(e,$w.path,t);return(await e_(n)).exists()},async upsertAdmin(e,t){const n=Tg(e,$w.path,t.email);return delete t.checkPolicy,t.password="***********",await t_(n,Object.assign({},t,{admin:!0,createdAt:index_esm2017_Timestamp.now(),updatedAt:index_esm2017_Timestamp.now()}),{merge:!0})},getProfileRef:(e,t)=>Tg(e,$w.path,t)},zw={path:"/sessions",getSessionCollectionRef:e=>Sg(e,zw.path),getOrderedSessionQuery:e=>qg(Sg(e,zw.path),Gg("order","asc")),async upsert(e,t){if(t.NO_ID_FIELD){const n=Tg(e,zw.path,t.NO_ID_FIELD);return await t_(n,Object.assign({},t,{createdAt:index_esm2017_Timestamp.now(),updatedAt:index_esm2017_Timestamp.now()}),{merge:!0})}
1return await r_(Sg(e,zw.path),t)},getSession:(e,t)=>Tg(e,zw.path,t)},Hw={path:"/setting/main",getSettingDocumentRef:e=>Tg(e,Hw.path),getEventsCollectionRef:e=>Sg(e,Hw.path+"/events"),async upsert(e,t){const n=Tg(e,Hw.path);return await t_(n,Object.assign({},t,{createdAt:index_esm2017_Timestamp.now(),updatedAt:index_esm2017_Timestamp.now()}),{merge:!0})},async upsertOther(e,t){const n=Tg(e,Hw.path);return await t_(n,Object.assign({},t,{createdAt:index_esm2017_Timestamp.now(),updatedAt:index_esm2017_Timestamp.now()}),{merge:!0})},async upsertTime(e,t){const n=Tg(e,Hw.path);return await t_(n,Object.assign({},t,{createdAt:index_esm2017_Timestamp.now(),updatedAt:index_esm2017_Timestamp.now()}),{merge:!0})},async upsertEvent(e,t){const n=Hw.path+"/events";if(t.NO_ID_FIELD){const r=Tg(e,n,t.NO_ID_FIELD);return await t_(r,Object.assign({},t,{createdAt:index_esm2017_Timestamp.now(),updatedAt:index_esm2017_Timestamp.now()}),{merge:!0})}return await r_(Sg(e,n),t)},async deleteEvent(e,t){const n=Tg(e,Hw.path+"/events",t);return await n_(n)}},Ww={path:"/comment",getCommentDocumentRef:e=>Tg(e,Ww.path),getCommentCollectionRef:e=>Sg(e,Ww.path),getCommentSessionDocumentRef:(e,t)=>qg(Sg(e,Ww.path),Kg("sessionId","==",t),Gg("createdAt","asc")),async addComment(e,t){const n=Sg(e,Ww.path);return await r_(n,Object.assign({},t,{createdAt:index_esm2017_Timestamp.now(),updatedAt:index_esm2017_Timestamp.now()}))},async updateReaction(e,t,n){const r=Tg(e,Ww.path,t);return await t_(r,{reactions:o_(n?1:-1),updatedAt:index_esm2017_Timestamp.now()},{merge:!0})},async deleteComment(e,t){const n=Tg(e,Ww.path,t);return await n_(n)}},qw={path:"/histories",getHistoryCollectionRef:e=>Sg(e,qw.path),getOrderedHistoryQuery:e=>qg(Sg(e,qw.path),Gg("updatedAt","asc")),createHistory:(e,t)=>r_(Sg(e,qw.path),Object.assign({},t,{createdAt:index_esm2017_Timestamp.now(),updatedAt:index_esm2017_Timestamp.now(),userAgent:navigator.userAgent}))},Kw={path:"/qa",upsert:async(e,t)=>r_(Sg(e,Kw.path),Object.assign({},t,{createdAt:index_esm2017_Timestamp.now()}))},Gw={path:e=>`/sessions/${e}/reaction`,getCommentDocumentRef:(e,t,n)=>Tg(e,Gw.path(t),n),countReactionSessionRef:(e,t)=>Sg(e,Gw.path(t)),getCommentSessionDocumentRef:(e,t,n)=>qg(Sg(e,Gw.path(t)),Kg("sessionId","==",t),Kg("userId","==",n),Gg("createdAt","asc")),async upsertEmotion(e,t,n,r){const i=Tg(e,Gw.path(t),n);return await t_(i,{[r]:o_(1),total:o_(1),updatedAt:index_esm2017_Timestamp.now()},{merge:!0})},async addEmotion(e,t,n,r){const i=Tg(e,Gw.path(t),n);return await t_(i,Object.assign({},r,{createdAt:index_esm2017_Timestamp.now(),updatedAt:index_esm2017_Timestamp.now()}))}};var Qw=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Xw}(e)}(e)};var Xw="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Yw(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Zw(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}
1function Jw(e,t,n){return e.concat(t).map((function(e){return Yw(e,n)}))}function Zw(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Jw,n.isMergeableObject=n.isMergeableObject||Qw;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=Yw(e[t],n)})),Object.keys(t).forEach((function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=Zw(e[i],t[i],n):r[i]=Yw(t[i],n)})),r}(e,t,n):Yw(t,n)}Zw.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Zw(e,n,t)}),{})};const eE=Zw;var tE=n(3171);const nE=tE.A.Symbol;var rE=Object.prototype,iE=rE.hasOwnProperty,sE=rE.toString,oE=nE?nE.toStringTag:void 0;const aE=function(e){var t=iE.call(e,oE),n=e[oE];try{e[oE]=void 0;var r=!0}catch(Pb){}var i=sE.call(e);return r&&(t?e[oE]=n:delete e[oE]),i};var lE=Object.prototype.toString;const cE=function(e){return lE.call(e)};var uE=nE?nE.toStringTag:void 0;const hE=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":uE&&uE in Object(e)?aE(e):cE(e)};const dE=function(e,t){return function(n){return e(t(n))}};const fE=dE(Object.getPrototypeOf,Object);const pE=function(e){return null!=e&&"object"==typeof e};var mE=Function.prototype,gE=Object.prototype,_E=mE.toString,vE=gE.hasOwnProperty,yE=_E.call(Object);const bE=function(e){if(!pE(e)||"[object Object]"!=hE(e))return!1;var t=fE(e);if(null===t)return!0;var n=vE.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_E.call(n)==yE};const wE=function(){this.__data__=[],this.size=0};const EE=function(e,t){return e===t||e!=e&&t!=t};const SE=function(e,t){for(var n=e.length;n--;)if(EE(e[n][0],t))return n;return-1};var TE=Array.prototype.splice;const CE=function(e){var t=this.__data__,n=SE(t,e);return!(n<0)&&(n==t.length-1?t.pop():TE.call(t,n,1),--this.size,!0)};const xE=function(e){var t=this.__data__,n=SE(t,e);return n<0?void 0:t[n][1]};const AE=function(e){return SE(this.__data__,e)>-1};const IE=function(e,t){var n=this.__data__,r=SE(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function kE(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}kE.prototype.clear=wE,kE.prototype.delete=CE,kE.prototype.get=xE,kE.prototype.has=AE,kE.prototype.set=IE;const PE=kE;const NE=function(){this.__data__=new PE,this.size=0};const RE=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};const OE=function(e){return this.__data__.get(e)};const DE=function(e){return this.__data__.has(e)};const FE=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const LE=function(e){if(!FE(e))return!1;var t=hE(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const jE=tE.A["__core-js_shared__"];var ME,UE=(ME=/[^.]+$/.exec(jE&&jE.keys&&jE.keys.IE_PROTO||""))?"Symbol(src)_1."+ME:"";const VE=function(e){return!!UE&&UE in e};var BE=Function.prototype.toString;const $E=function(e){if(null!=e){try{return BE.call(e)}catch(Pb){}try{return e+""}catch(Pb){}}return""};var zE=/^\[object .+?Constructor\]$/,HE=Function.prototype,WE=Object.prototype,qE=HE.toString,KE=WE.hasOwnProperty,GE=RegExp("^"+qE.call(KE).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const QE=function(e){return!(!FE(e)||VE(e))&&(LE(e)?GE:zE).test($E(e))};const XE=function(e,t){return null==e?void 0:e[t]};const YE=function(e,t){var n=XE(e,t);return QE(n)?n:void 0};const JE=YE(tE.A,"Map");const ZE=YE(Object,"create");const eS=function(){this.__data__=ZE?ZE(null):{},this.size=0};const tS=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var nS=Object.prototype.hasOwnProperty;const rS=function(e){var t=this.__data__;if(ZE){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return nS.call(t,e)?t[e]:void 0};var iS=Object.prototype.hasOwnProperty;const sS=function(e){var t=this.__data__;return ZE?void 0!==t[e]:iS.call(t,e)};const oS=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ZE&&void 0===t?"__lodash_hash_undefined__":t,this};function aS(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}aS.prototype.clear=eS,aS.prototype.delete=tS,aS.prototype.get=rS,aS.prototype.has=sS,aS.prototype.set=oS;const lS=aS;const cS=function(){this.size=0,this.__data__={hash:new lS,map:new(JE||PE),string:new lS}};const uS=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const hS=function(e,t){var n=e.__data__;return uS(t)?n["string"==typeof t?"string":"hash"]:n.map};const dS=function(e){var t=hS(this,e).delete(e);return this.size-=t?1:0,t};const fS=function(e){return hS(this,e).get(e)};const pS=function(e){return hS(this,e).has(e)};const mS=function(e,t){var n=hS(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function gS(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}gS.prototype.clear=cS,gS.prototype.delete=dS,gS.prototype.get=fS,gS.prototype.has=pS,gS.prototype.set=mS;const _S=gS;const vS=function(e,t){var n=this.__data__;if(n instanceof PE){var r=n.__data__;if(!JE||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new _S(r)}return n.set(e,t),this.size=n.size,this};function yS(e){var t=this.__data__=new PE(e);this.size=t.size}yS.prototype.clear=NE,yS.prototype.delete=RE,yS.prototype.get=OE,yS.prototype.has=DE,yS.prototype.set=vS;const bS=yS;const wS=function(e,t){for(var n=-1,r=null==e?0:e.length;
vendor: 5,508 bytes, line 1
1++n<r&&!1!==t(e[n],n,e););return e};const ES=function(){try{var e=YE(Object,"defineProperty");return e({},"",{}),e}catch(Pb){}}();const SS=function(e,t,n){"__proto__"==t&&ES?ES(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var TS=Object.prototype.hasOwnProperty;const CS=function(e,t,n){var r=e[t];TS.call(e,t)&&EE(r,n)&&(void 0!==n||t in e)||SS(e,t,n)};const xS=function(e,t,n,r){var i=!n;n||(n={});for(var s=-1,o=t.length;++s<o;){var a=t[s],l=r?r(n[a],e[a],a,n,e):void 0;void 0===l&&(l=e[a]),i?SS(n,a,l):CS(n,a,l)}return n};const AS=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};const IS=function(e){return pE(e)&&"[object Arguments]"==hE(e)};var kS=Object.prototype,PS=kS.hasOwnProperty,NS=kS.propertyIsEnumerable;const RS=IS(function(){return arguments}())?IS:function(e){return pE(e)&&PS.call(e,"callee")&&!NS.call(e,"callee")};const OS=Array.isArray;var DS=n(1958),FS=/^(?:0|[1-9]\d*)$/;const LS=function(e,t){var n=typeof e;return!!(t=t??9007199254740991)&&("number"==n||"symbol"!=n&&FS.test(e))&&e>-1&&e%1==0&&e<t};const jS=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var MS={};MS["[object Float32Array]"]=MS["[object Float64Array]"]=MS["[object Int8Array]"]=MS["[object Int16Array]"]=MS["[object Int32Array]"]=MS["[object Uint8Array]"]=MS["[object Uint8ClampedArray]"]=MS["[object Uint16Array]"]=MS["[object Uint32Array]"]=!0,MS["[object Arguments]"]=MS["[object Array]"]=MS["[object ArrayBuffer]"]=MS["[object Boolean]"]=MS["[object DataView]"]=MS["[object Date]"]=MS["[object Error]"]=MS["[object Function]"]=MS["[object Map]"]=MS["[object Number]"]=MS["[object Object]"]=MS["[object RegExp]"]=MS["[object Set]"]=MS["[object String]"]=MS["[object WeakMap]"]=!1;const US=function(e){return pE(e)&&jS(e.length)&&!!MS[hE(e)]};const VS=function(e){return function(t){return e(t)}};var BS=n(3579),$S=BS.A&&BS.A.isTypedArray;const zS=$S?VS($S):US;var HS=Object.prototype.hasOwnProperty;const WS=function(e,t){var n=OS(e),r=!n&&RS(e),i=!n&&!r&&(0,DS.A)(e),s=!n&&!r&&!i&&zS(e),o=n||r||i||s,a=o?AS(e.length,String):[],l=a.length;for(var c in e)!t&&!HS.call(e,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||s&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||LS(c,l))||a.push(c);return a};var qS=Object.prototype;const KS=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||qS)};const GS=dE(Object.keys,Object);var QS=Object.prototype.hasOwnProperty;const XS=function(e){if(!KS(e))return GS(e);var t=[];for(var n in Object(e))QS.call(e,n)&&"constructor"!=n&&t.push(n);return t};const YS=function(e){return null!=e&&jS(e.length)&&!LE(e)};const JS=function(e){return YS(e)?WS(e):XS(e)};const ZS=function(e,t){return e&&xS(t,JS(t),e)};const eT=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var tT=Object.prototype.hasOwnProperty;const nT=function(e){if(!FE(e))return eT(e);var t=KS(e),n=[];for(var r in e)("constructor"!=r||!t&&tT.call(e,r))&&n.push(r);return n};const rT=function(e){return YS(e)?WS(e,!0):nT(e)};const iT=function(e,t){return e&&xS(t,rT(t),e)};var sT=n(8196);const oT=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};const aT=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,s=[];++n<r;){var o=e[n];t(o,n,e)&&(s[i++]=o)}return s};const lT=function(){return[]};var cT=Object.prototype.propertyIsEnumerable,uT=Object.getOwnPropertySymbols,hT=uT?function(e){return null==e?[]:(e=Object(e),aT(uT(e),(function(t){return cT.call(e,t)})))}:lT;const dT=hT;const fT=function(e,t){return xS(e,dT(e),t)};const pT=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e};var mT=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)pT(t,dT(e)),e=fE(e);return t}:lT;const gT=mT;const _T=function(e,t){return xS(e,gT(e),t)};const vT=function(e,t,n){var r=t(e);return OS(e)?r:pT(r,n(e))};const yT=function(e){return vT(e,JS,dT)};const bT=function(e){return vT(e,rT,gT)};const wT=YE(tE.A,"DataView");const ET=YE(tE.A,"Promise");const ST=YE(tE.A,"Set");const TT=YE(tE.A,"WeakMap");var CT="[object Map]",xT="[object Promise]",AT="[object Set]",IT="[object WeakMap]",kT="[object DataView]",PT=$E(wT),NT=$E(JE),RT=$E(ET),OT=$E(ST),DT=$E(TT),FT=hE;(wT&&FT(new wT(new ArrayBuffer(1)))!=kT||JE&&FT(new JE)!=CT||ET&&FT(ET.resolve())!=xT||ST&&FT(new ST)!=AT||TT&&FT(new TT)!=IT)&&(FT=function(e){var t=hE(e),n="[object Object]"==t?e.constructor:void 0,r=n?$E(n):"";if(r)switch(r){case PT:return kT;case NT:return CT;case RT:return xT;case OT:return AT;case DT:return IT}return t});const LT=FT;var jT=Object.prototype.hasOwnProperty;const MT=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&jT.call(e,"index")&&(n.index=e.index,n.input=e.input),n};const UT=tE.A.Uint8Array;const VT=function(e){var t=new e.constructor(e.byteLength);return new UT(t).set(new UT(e)),t};const BT=function(e,t){var n=t?VT(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var $T=/\w*$/;const zT=function(e){var t=new e.constructor(e.source,$T.exec(e));return t.lastIndex=e.lastIndex,t};var HT=nE?nE.prototype:void 0,WT=HT?HT.valueOf:void 0;const qT=function(e){return WT?Object(WT.call(e)):{}};const KT=function(e,t){var n=t?VT(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};const GT=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return VT(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return BT(e,n);
1case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return KT(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return zT(e);case"[object Symbol]":return qT(e)}};var QT=Object.create,XT=function(){function e(){}return function(t){if(!FE(t))return{};if(QT)return QT(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const YT=XT;const JT=function(e){return"function"!=typeof e.constructor||KS(e)?{}:YT(fE(e))};const ZT=function(e){return pE(e)&&"[object Map]"==LT(e)};var eC=BS.A&&BS.A.isMap;const tC=eC?VS(eC):ZT;const nC=function(e){return pE(e)&&"[object Set]"==LT(e)};var rC=BS.A&&BS.A.isSet;const iC=rC?VS(rC):nC;var sC="[object Arguments]",oC="[object Function]",aC="[object Object]",lC={};lC[sC]=lC["[object Array]"]=lC["[object ArrayBuffer]"]=lC["[object DataView]"]=lC["[object Boolean]"]=lC["[object Date]"]=lC["[object Float32Array]"]=lC["[object Float64Array]"]=lC["[object Int8Array]"]=lC["[object Int16Array]"]=lC["[object Int32Array]"]=lC["[object Map]"]=lC["[object Number]"]=lC[aC]=lC["[object RegExp]"]=lC["[object Set]"]=lC["[object String]"]=lC["[object Symbol]"]=lC["[object Uint8Array]"]=lC["[object Uint8ClampedArray]"]=lC["[object Uint16Array]"]=lC["[object Uint32Array]"]=!0,lC["[object Error]"]=lC[oC]=lC["[object WeakMap]"]=!1;const cC=function e(t,n,r,i,s,o){var a,l=1&n,c=2&n,u=4&n;if(r&&(a=s?r(t,i,s,o):r(t)),void 0!==a)return a;if(!FE(t))return t;var h=OS(t);if(h){if(a=MT(t),!l)return oT(t,a)}else{var d=LT(t),f=d==oC||"[object GeneratorFunction]"==d;if((0,DS.A)(t))return(0,sT.A)(t,l);if(d==aC||d==sC||f&&!s){if(a=c||f?{}:JT(t),!l)return c?_T(t,iT(a,t)):fT(t,ZS(a,t))}else{if(!lC[d])return s?t:{};a=GT(t,d,l)}}o||(o=new bS);var p=o.get(t);if(p)return p;o.set(t,a),iC(t)?t.forEach((function(i){a.add(e(i,n,r,i,t,o))})):tC(t)&&t.forEach((function(i,s){a.set(s,e(i,n,r,s,t,o))}));var m=h?void 0:(u?c?bT:yT:c?rT:JS)(t);return wS(m||t,(function(i,s){m&&(i=t[s=i]),CS(a,s,e(i,n,r,s,t,o))})),a};const uC=function(e){return cC(e,5)};var hC=n(9772),dC=n.n(hC);const fC=function(e,t){};const pC=function(e){return cC(e,4)};const mC=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i};const gC=function(e){return"symbol"==typeof e||pE(e)&&"[object Symbol]"==hE(e)};function _C(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var o=e.apply(this,r);return n.cache=s.set(i,o)||s,o};return n.cache=new(_C.Cache||_S),n}_C.Cache=_S;const vC=_C;var yC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bC=/\\(\\)?/g,wC=function(e){var t=vC(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(yC,(function(e,n,r,i){t.push(r?i.replace(bC,"$1"):n||e)})),t}));const EC=wC;const SC=function(e){if("string"==typeof e||gC(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};var TC=nE?nE.prototype:void 0,CC=TC?TC.toString:void 0;const xC=function e(t){if("string"==typeof t)return t;if(OS(t))return mC(t,e)+"";if(gC(t))return CC?CC.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};const AC=function(e){return null==e?"":xC(e)};const IC=function(e){return OS(e)?mC(e,SC):gC(e)?[e]:oT(EC(AC(e)))};n(5985);function kC(){return kC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kC.apply(this,arguments)}function PC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function NC(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function RC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var OC=(0,i.createContext)(void 0);OC.displayName="FormikContext";var DC=OC.Provider;OC.Consumer;function FC(){var e=(0,i.useContext)(OC);return e||fC(!1),e}var LC=function(e){return Array.isArray(e)&&0===e.length},jC=function(e){return"function"==typeof e},MC=function(e){return null!==e&&"object"==typeof e},UC=function(e){return String(Math.floor(Number(e)))===e},VC=function(e){return"[object String]"===Object.prototype.toString.call(e)},BC=function(e){return 0===i.Children.count(e)},$C=function(e){return MC(e)&&jC(e.then)};function zC(e,t,n,r){void 0===r&&(r=0);for(var i=IC(t);e&&r<i.length;)e=e[i[r++]];return r===i.length||e?void 0===e?n:e:n}function HC(e,t,n){for(var r=pC(e),i=r,s=0,o=IC(t);s<o.length-1;s++){var a=o[s],l=zC(e,o.slice(0,s+1));if(l&&(MC(l)||Array.isArray(l)))i=i[a]=pC(l);else{var c=o[s+1];i=i[a]=UC(c)&&Number(c)>=0?[]:{}}}return(0===s?e:i)[o[s]]===n?e:(void 0===n?delete i[o[s]]:i[o[s]]=n,0===s&&void 0===n&&delete r[o[s]],r)}function WC(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var i=0,s=Object.keys(e);i<s.length;i++){var o=s[i],a=e[o];MC(a)?n.get(a)||(n.set(a,!0),r[o]=Array.isArray(a)?[]:{},WC(a,t,n,r[o])):r[o]=t}return r}var qC={},KC={};function GC(e){var t=e.validateOnChange,n=void 0===t||t,r=e.validateOnBlur,s=void 0===r||r,o=e.validateOnMount,a=void 0!==o&&o,l=e.isInitialValid,c=e.enableReinitialize,u=void 0!==c&&c,h=e.onSubmit,d=NC(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),f=kC({validateOnChange:n,validateOnBlur:s,validateOnMount:a,onSubmit:h},d),p=(0,i.useRef)(f.initialValues),m=(0,i.useRef)(f.initialErrors||qC),g=(0,i.useRef)(f.initialTouched||KC),_=(0,i.useRef)(f.initialStatus),v=(0,i.useRef)(!1),y=(0,i.useRef)({});(0,i.useEffect)((function(){return v.current=!0,function(){v.current=!1}}),[]);var b=(0,i.useState)(0)[1],w=(0,i.useRef)({values:uC(f.initialValues),errors:uC(f.initialErrors)||qC,touched:uC(f.initialTouched)||KC,status:uC(f.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),E=w.current,S=(0,i.useCallback)((function(e){var t=w.current;w.current=function(e,t){switch(t.type){case"SET_VALUES":return kC({},e,{values:t.payload});case"SET_TOUCHED":return kC({},e,{touched:t.payload});case"SET_ERRORS":return dC()(e.errors,t.payload)?e:kC({},e,{errors:t.payload});case"SET_STATUS":return kC({},e,{status:t.payload});case"SET_ISSUBMITTING":return kC({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return kC({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return kC({},e,{values:HC(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return kC({},e,{touched:HC(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return kC({},e,{errors:HC(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return kC({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return kC({},e,{touched:WC(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return kC({},e,{isSubmitting:!1});default:return e}}(t,e),t!==w.current&&b((function(e){return e+1}))}),[]),T=(0,i.useCallback)((function(e,t){return new Promise((function(n,r){var i=f.validate(e,t);null==i?n(qC):$C(i)?i.then((function(e){n(e||qC)}),(function(e){r(e)})):n(i)}))}),[f.validate]),C=(0,i.useCallback)((function(e,t){var n=f.validationSchema,r=jC(n)?n(t):n,i=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);var i=QC(e);return t[n?"validateSync":"validate"](i,{abortEarly:!1,context:r||i})}(e,r);return new Promise((function(e,t){i.then((function(){e(qC)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return HC(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var s;if(r){if(i>=n.length)break;s=n[i++]}else{if((i=n.next()).done)break;s=i.value}var o=s;zC(t,o.path)||(t=HC(t,o.path,o.message))}}return t}(n)):t(n)}))}))}),[f.validationSchema]),x=(0,i.useCallback)((function(e,t){return new Promise((function(n){return n(y.current[e].validate(t))}))}),[]),A=(0,i.useCallback)((function(e){var t=Object.keys(y.current).filter((function(e){return jC(y.current[e].validate)})),n=t.length>0?t.map((function(t){return x(t,zC(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=HC(e,t[r],n)),e}),{})}))}),[x]),I=(0,i.useCallback)((function(e){return Promise.all([A(e),f.validationSchema?C(e):{},f.validate?T(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return eE.all([t,n,r],{arrayMerge:XC})}))}),[f.validate,f.validationSchema,A,T,C]),k=JC((function(e){return void 0===e&&(e=E.values),S({type:"SET_ISVALIDATING",payload:!0}),I(e).then((function(e){return v.current&&(S({type:"SET_ISVALIDATING",payload:!1}),S({type:"SET_ERRORS",payload:e})),e}))}));(0,i.useEffect)((function(){a&&!0===v.current&&dC()(p.current,f.initialValues)&&k(p.current)}),[a,k]);var P=(0,i.useCallback)((function(e){var t=e&&e.values?e.values:p.current,n=e&&e.errors?e.errors:m.current?m.current:f.initialErrors||{},r=e&&e.touched?e.touched:g.current?g.current:f.initialTouched||{},i=e&&e.status?e.status:_.current?_.current:f.initialStatus;p.current=t,m.current=n,g.current=r,_.current=i;var s=function(){S({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:i,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(f.onReset){var o=f.onReset(E.values,Q);$C(o)?o.then(s):s()}else s()}),[f.initialErrors,f.initialStatus,f.initialTouched,f.onReset]);(0,i.useEffect)((function(){!0!==v.current||dC()(p.current,f.initialValues)||u&&(p.current=f.initialValues,P(),a&&k(p.current))}),[u,f.initialValues,P,a,k]),(0,i.useEffect)((function(){u&&!0===v.current&&!dC()(m.current,f.initialErrors)&&(m.current=f.initialErrors||qC,S({type:"SET_ERRORS",payload:f.initialErrors||qC}))}),[u,f.initialErrors]),(0,i.useEffect)((function(){u&&!0===v.current&&!dC()(g.current,f.initialTouched)&&(g.current=f.initialTouched||KC,S({type:"SET_TOUCHED",payload:f.initialTouched||KC}))}),[u,f.initialTouched]),(0,i.useEffect)((function(){u&&!0===v.current&&!dC()(_.current,f.initialStatus)&&(_.current=f.initialStatus,S({type:"SET_STATUS",payload:f.initialStatus}))}),[u,f.initialStatus,f.initialTouched]);var N=JC((function(e){if(y.current[e]&&jC(y.current[e].validate)){var t=zC(E.values,e),n=y.current[e].validate(t);return $C(n)?(S({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),S({type:"SET_ISVALIDATING",payload:!1})}))):(S({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return f.validationSchema?(S({type:"SET_ISVALIDATING",payload:!0}),C(E.values,e).then((function(e){return e})).then((function(t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:zC(t,e)}}),S({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),R=(0,i.useCallback)((function(e,t){var n=t.validate;y.current[e]={validate:n}}),[]),O=(0,i.useCallback)((function(e){delete y.current[e]}),[]),D=JC((function(e,t){return S({type:"SET_TOUCHED",payload:e}),(void 0===t?s:t)?k(E.values):Promise.resolve()}
1)),F=(0,i.useCallback)((function(e){S({type:"SET_ERRORS",payload:e})}),[]),L=JC((function(e,t){var r=jC(e)?e(E.values):e;return S({type:"SET_VALUES",payload:r}),(void 0===t?n:t)?k(r):Promise.resolve()})),j=(0,i.useCallback)((function(e,t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),M=JC((function(e,t,r){return S({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?k(HC(E.values,e,t)):Promise.resolve()})),U=(0,i.useCallback)((function(e,t){var n,r=t,i=e;if(!VC(e)){e.persist&&e.persist();var s=e.target?e.target:e.currentTarget,o=s.type,a=s.name,l=s.id,c=s.value,u=s.checked,h=(s.outerHTML,s.options),d=s.multiple;r=t||(a||l),i=/number|range/.test(o)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(o)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],i=!1,s=-1;if(Array.isArray(e))r=e,i=(s=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!i)return r.concat(n);if(!i)return r;return r.slice(0,s).concat(r.slice(s+1))}(zC(E.values,r),u,c):h&&d?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(h):c}r&&M(r,i)}),[M,E.values]),V=JC((function(e){if(VC(e))return function(t){return U(t,e)};U(e)})),B=JC((function(e,t,n){return void 0===t&&(t=!0),S({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?s:n)?k(E.values):Promise.resolve()})),$=(0,i.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,i=n.id,s=(n.outerHTML,t||(r||i));B(s,!0)}),[B]),z=JC((function(e){if(VC(e))return function(t){return $(t,e)};$(e)})),H=(0,i.useCallback)((function(e){jC(e)?S({type:"SET_FORMIK_STATE",payload:e}):S({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),W=(0,i.useCallback)((function(e){S({type:"SET_STATUS",payload:e})}),[]),q=(0,i.useCallback)((function(e){S({type:"SET_ISSUBMITTING",payload:e})}),[]),K=JC((function(){return S({type:"SUBMIT_ATTEMPT"}),k().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=X()))return}catch(mo){throw mo}return Promise.resolve(n).then((function(e){return v.current&&S({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(v.current)throw S({type:"SUBMIT_FAILURE"}),e}))}if(v.current&&(S({type:"SUBMIT_FAILURE"}),t))throw e}))})),G=JC((function(e){e&&e.preventDefault&&jC(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&jC(e.stopPropagation)&&e.stopPropagation(),K().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),Q={resetForm:P,validateForm:k,validateField:N,setErrors:F,setFieldError:j,setFieldTouched:B,setFieldValue:M,setStatus:W,setSubmitting:q,setTouched:D,setValues:L,setFormikState:H,submitForm:K},X=JC((function(){return h(E.values,Q)})),Y=JC((function(e){e&&e.preventDefault&&jC(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&jC(e.stopPropagation)&&e.stopPropagation(),P()})),J=(0,i.useCallback)((function(e){return{value:zC(E.values,e),error:zC(E.errors,e),touched:!!zC(E.touched,e),initialValue:zC(p.current,e),initialTouched:!!zC(g.current,e),initialError:zC(m.current,e)}}),[E.errors,E.touched,E.values]),Z=(0,i.useCallback)((function(e){return{setValue:function(t,n){return M(e,t,n)},setTouched:function(t,n){return B(e,t,n)},setError:function(t){return j(e,t)}}}),[M,B,j]),ee=(0,i.useCallback)((function(e){var t=MC(e),n=t?e.name:e,r=zC(E.values,n),i={name:n,value:r,onChange:V,onBlur:z};if(t){var s=e.type,o=e.value,a=e.as,l=e.multiple;"checkbox"===s?void 0===o?i.checked=!!r:(i.checked=!(!Array.isArray(r)||!~r.indexOf(o)),i.value=o):"radio"===s?(i.checked=r===o,i.value=o):"select"===a&&l&&(i.value=i.value||[],i.multiple=!0)}return i}),[z,V,E.values]),te=(0,i.useMemo)((function(){return!dC()(p.current,E.values)}),[p.current,E.values]),ne=(0,i.useMemo)((function(){return void 0!==l?te?E.errors&&0===Object.keys(E.errors).length:!1!==l&&jC(l)?l(f):l:E.errors&&0===Object.keys(E.errors).length}),[l,te,E.errors,f]);return kC({},E,{initialValues:p.current,initialErrors:m.current,initialTouched:g.current,initialStatus:_.current,handleBlur:z,handleChange:V,handleReset:Y,handleSubmit:G,resetForm:P,setErrors:F,setFormikState:H,setFieldTouched:B,setFieldValue:M,setFieldError:j,setStatus:W,setSubmitting:q,setTouched:D,setValues:L,submitForm:K,validateForm:k,validateField:N,isValid:ne,dirty:te,unregisterField:O,registerField:R,getFieldProps:ee,getFieldMeta:J,getFieldHelpers:Z,validateOnBlur:s,validateOnChange:n,validateOnMount:a})}function QC(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||bE(e)?QC(e):""!==e?e:void 0})):bE(e[r])?t[r]=QC(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function XC(e,t,n){var r=e.slice();return t.forEach((function(t,i){if(void 0===r[i]){var s=!1!==n.clone&&n.isMergeableObject(t);r[i]=s?eE(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[i]=eE(e[i],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var YC="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;function JC(e){var t=(0,i.useRef)(e);return YC((function(){t.current=e})),(0,i.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}var ZC=(0,i.forwardRef)((function(e,t){var n=e.action,r=NC(e,["action"]),s=null!=n?n:"#",o=FC(),a=o.handleReset,l=o.handleSubmit;return(0,i.createElement)("form",kC({onSubmit:l,ref:t,onReset:a,action:s},r))}));ZC.displayName="Form";var ex=function(e,t,n){var r=tx(e);return r.splice(t,0,n),r},tx=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(kC({},e,{length:t+1}))}return[]},nx=function(e,t){var n="function"==typeof e?e:t;return function(e){if(Array.isArray(e)||MC(e)){var t=tx(e);return n(t)}return e}},rx=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var i=n.props,s=i.name;(0,i.formik.setFormikState)((function(n){var i=nx(r,e),o=nx(t,e),a=HC(n.values,s,e(zC(n.values,s))),l=r?i(zC(n.errors,s)):void 0,c=t?o(zC(n.touched,s)):void 0;return LC(l)&&(l=void 0),LC(c)&&(c=void 0),kC({},n,{values:a,errors:r?HC(n.errors,s,l):n.errors,touched:t?HC(n.touched,s,c):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(tx(t),[uC(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=tx(e),i=r[t];return r[t]=r[n],r[n]=i,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=tx(e),i=r[t];return r.splice(t,1),r.splice(n,0,i),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return ex(n,e,t)}),(function(t){return ex(t,e,null)}),(function(t){return ex(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=tx(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t=r.length,r}),(function(e){return e?[null].concat(e):[null]}),(function(e){return e?[null].concat(e):[null]})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(RC(n)),n.pop=n.pop.bind(RC(n)),n}PC(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!dC()(zC(e.formik.values,e.name),zC(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?tx(n):[];return t||(t=r[e]),jC(r.splice)&&r.splice(e,1),jC(r.every)&&r.every((function(e){return void 0===e}))?[]:r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t.slice();return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,s=t.children,o=t.name,a=kC({},e,{form:NC(t.formik,["validate","validationSchema"]),name:o});return n?(0,i.createElement)(n,a):r?r(a):s?"function"==typeof s?s(a):BC(s)?null:i.Children.only(s):null},t}(i.Component);rx.defaultProps={validateOnChange:!0};var ix=n(1293),sx=n(5855),ox=n(2702),ax=n.n(ox);const lx=Object.prototype.toString,cx=Error.prototype.toString,ux=RegExp.prototype.toString,hx="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",dx=/^Symbol\((.*)\)(.*)$/;function fx(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return hx.call(e).replace(dx,"Symbol($1)");const r=lx.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+cx.call(e)+"]":"RegExp"===r?ux.call(e):null}function px(e,t){let n=fx(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){let r=fx(this[e],t);return null!==r?r:n}),2)}function mx(e){return null==e?[]:[].concat(e)}let gx,_x,vx,yx=/\$\{\s*(\w+)\s*\}/g;gx=Symbol.toStringTag;class ValidationErrorNoStack{constructor(e,t,n,r){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[gx]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],mx(e).forEach((e=>{if(ValidationError.isError(e)){this.errors.push(...e.errors);const t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}_x=Symbol.hasInstance,vx=Symbol.toStringTag;
vendor: 28,505 bytes, line 1
1class ValidationError extends Error{static formatError(e,t){const n=t.label||t.path||"this";return t=Object.assign({},t,{path:n,originalPath:t.path}),"string"==typeof e?e.replace(yx,((e,n)=>px(t[n]))):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,i){const s=new ValidationErrorNoStack(e,t,n,r);if(i)return s;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[vx]="Error",this.name=s.name,this.message=s.message,this.type=s.type,this.value=s.value,this.path=s.path,this.errors=s.errors,this.inner=s.inner,Error.captureStackTrace&&Error.captureStackTrace(this,ValidationError)}static[_x](e){return ValidationErrorNoStack[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let bx={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const i=null!=r&&r!==n?` (cast from the value \`${px(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${px(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${px(n,!0)}\``+i}},wx={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Ex={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Sx={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Tx={isValue:"${path} field must be ${value}"},Cx={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},xx={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},Ax={notType:e=>{const{path:t,value:n,spec:r}=e,i=r.types.length;if(Array.isArray(n)){if(n.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${n.length} for value: \`${px(n,!0)}\``;if(n.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${n.length} for value: \`${px(n,!0)}\``}return ValidationError.formatError(bx.notType,e)}};Object.assign(Object.create(null),{mixed:bx,string:wx,number:Ex,date:Sx,object:Cx,array:xx,boolean:Tx,tuple:Ax});const Ix=e=>e&&e.__isYupSchema__;class Condition{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:i}=t,s="function"==typeof n?n:(...e)=>e.every((e=>e===n));return new Condition(e,((e,t)=>{var n;let o=s(...e)?r:i;return null!=(n=null==o?void 0:o(t))?n:t}))}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map((e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context))),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!Ix(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}const kx="$",Px=".";class index_esm_Reference{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===kx,this.isValue=this.key[0]===Px,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?kx:this.isValue?Px:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,ix.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}index_esm_Reference.prototype.__isYupRef=!0;const Nx=e=>null==e;function Rx(e){function t({value:t,path:n="",options:r,originalValue:i,schema:s},o,a){const{name:l,test:c,params:u,message:h,skipAbsent:d}=e;let{parent:f,context:p,abortEarly:m=s.spec.abortEarly,disableStackTrace:g=s.spec.disableStackTrace}=r;function _(e){return index_esm_Reference.isRef(e)?e.getValue(t,f,p):e}function v(e={}){const r=Object.assign({value:t,originalValue:i,label:s.spec.label,path:e.path||n,spec:s.spec,disableStackTrace:e.disableStackTrace||g},u,e.params);for(const t of Object.keys(r))r[t]=_(r[t]);const o=new ValidationError(ValidationError.formatError(e.message||h,r),t,r.path,e.type||l,r.disableStackTrace);return o.params=r,o}const y=m?o:a;let b={path:n,parent:f,type:l,from:r.from,createError:v,resolve:_,options:r,originalValue:i,schema:s};const w=e=>{ValidationError.isError(e)?y(e):e?a(null):y(v())},E=e=>{ValidationError.isError(e)?y(e):o(e)};if(d&&Nx(t))return w(!0);let S;try{var T;if(S=c.call(b,t,b),"function"==typeof(null==(T=S)?void 0:T.then)){if(r.sync)throw new Error(`Validation test of type: "${b.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(S).then(w,E)}}catch(C){return void E(C)}w(S)}return t.OPTIONS=e,t}function Ox(e,t,n,r=n){let i,s,o;return t?((0,ix.forEach)(t,((a,l,c)=>{let u=l?a.slice(1,a.length-1):a,h="tuple"===(e=e.resolve({context:r,parent:i,value:n})).type,d=c?parseInt(u,10):0;if(e.innerType||h){if(h&&!c)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${o}" must contain an index to the tuple element, e.g. "${o}[0]"`);if(n&&d>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[d],e=h?e.spec.types[d]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${o} which is a type: "${e.type}")`);i=n,n=n&&n[u],e=e.fields[u]}s=u,o=l?"["+a+"]":"."+a})),{schema:e,parent:i,parentPath:s}):{parent:i,parentPath:t,schema:e}}class ReferenceSet extends Set{describe(){const e=[];for(const t of this.values())e.push(index_esm_Reference.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(const n of this.values())t.push(e(n));return t}clone(){return new ReferenceSet(this.values())}merge(e,t){const n=this.clone();return e.forEach((e=>n.add(e))),t.forEach((e=>n.delete(e))),n}}function Dx(e,t=new Map){if(Ix(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=Dx(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,i]of e.entries())n.set(r,Dx(i,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(Dx(r,t))}else{if(!(e instanceof Object))throw Error(`Unable to clone ${e}`);n={},t.set(e,n);for(const[r,i]of Object.entries(e))n[r]=Dx(i,t)}return n}class Schema{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new ReferenceSet,this._blacklist=new ReferenceSet,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(bx.notType)})),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation((e=>{e.nonNullable()}))}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=Dx(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=this,n=e.clone();const r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return null==e?!(!this.spec.nullable||null!==e)||!(!this.spec.optional||void 0!==e):this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce(((t,n)=>n.resolve(t,e)),t),t=t.resolve(e)}return t}resolveOptions(e){var t,n,r,i;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(i=e.disableStackTrace)?i:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,i=n._cast(e,t);if(!1!==t.assert&&!n.isType(i)){if(r&&Nx(i))return i;let s=px(e),o=px(i);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". \n\nattempted value: ${s} \n`+(o!==s?`result of cast: ${o}`:""))}return i}_cast(e,t){let n=void 0===e?e:this.transforms.reduce(((t,n)=>n.call(this,t,e,this)),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:i,originalValue:s=e,strict:o=this.spec.strict}=t,a=e;o||(a=this._cast(a,Object.assign({assert:!1},t)));let l=[];for(let c of Object.values(this.internalTests))c&&l.push(c);this.runTests({path:i,value:a,originalValue:s,options:t,tests:l},n,(e=>{if(e.length)return r(e,a);this.runTests({path:i,value:a,originalValue:s,options:t,tests:this.tests},n,r)}))}runTests(e,t,n){let r=!1,{tests:i,value:s,originalValue:o,path:a,options:l}=e,c=e=>{r||(r=!0,t(e,s))},u=e=>{r||(r=!0,n(e,s))},h=i.length,d=[];if(!h)return u([]);let f={value:s,originalValue:o,path:a,options:l,schema:this};for(let p=0;p<i.length;p++){(0,i[p])(f,c,(function(e){e&&(Array.isArray(e)?d.push(...e):d.push(e)),--h<=0&&u(d)}))}}asNestedTest({key:e,index:t,parent:n,parentPath:r,originalParent:i,options:s}){const o=null!=e?e:t;if(null==o)throw TypeError("Must include `key` or `index` for nested validations");const a="number"==typeof o;let l=n[o];const c=Object.assign({},s,{strict:!0,parent:n,value:l,originalValue:i[o],key:void 0,[a?"index":"key"]:o,path:a||o.includes(".")?`${r||""}[${a?o:`"${o}"`}]`:(r?`${r}.`:"")+e});return(e,t,n)=>this.resolve(c)._validate(l,c,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),i=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise(((n,s)=>r._validate(e,t,((e,t)=>{ValidationError.isError(e)&&(e.value=t),s(e)}),((e,t)=>{e.length?s(new ValidationError(e,t,void 0,void 0,i)):n(t)}))))}validateSync(e,t){var n;let r,i=this.resolve(Object.assign({},t,{value:e})),s=null!=(n=null==t?void 0:t.disableStackTrace)?n:i.spec.disableStackTrace;return i._validate(e,Object.assign({},t,{sync:!0}),((e,t)=>{throw ValidationError.isError(e)&&(e.value=t),e}),((t,n)=>{if(t.length)throw new ValidationError(t,e,void 0,void 0,s);r=n})),r}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(ValidationError.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(n){if(ValidationError.isError(n))return!1;throw n}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):Dx(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){if(0===arguments.length)return this._getDefault();return this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){const n=this.clone({nullable:e});return n.internalTests.nullable=Rx({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){const n=this.clone({optional:e});return n.internalTests.optionality=Rx({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=bx.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=bx.notNull){return this.nullability(!1,e)}required(e=bx.required){return this.clone().withMutation((t=>t.nonNullable(e).defined(e)))}notRequired(){return this.clone().withMutation((e=>e.nullable().optional()))}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=bx.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let n=this.clone(),r=Rx(t),i=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter((e=>{if(e.OPTIONS.name===t.name){if(i)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0})),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=mx(e).map((e=>new index_esm_Reference(e)));return r.forEach((e=>{e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new Condition(r,t):Condition.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=Rx({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=bx.oneOf){let n=this.clone();return e.forEach((e=>{n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=Rx({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=bx.notOneOf){let n=this.clone();return e.forEach((e=>{n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=Rx({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){const t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:i,nullable:s}=t.spec,o={meta:r,label:n,optional:i,nullable:s,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((e=>({name:e.OPTIONS.name,params:e.OPTIONS.params}))).filter(((e,t,n)=>n.findIndex((t=>t.name===e.name))===t))};return o}}Schema.prototype.__isYupSchema__=!0;for(const VN of["validate","validateSync"])Schema.prototype[`${VN}At`]=function(e,t,n={}){const{parent:r,parentPath:i,schema:s}=Ox(this,e,t,n.context);return s[VN](r&&r[i],Object.assign({},n,{parent:r,path:e}))};for(const VN of["equals","is"])Schema.prototype[VN]=Schema.prototype.oneOf;for(const VN of["not","nope"])Schema.prototype[VN]=Schema.prototype.notOneOf;const Fx=()=>!0;class MixedSchema extends Schema{constructor(e){super("function"==typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:Fx},e))}}function Lx(){return new BooleanSchema}MixedSchema.prototype;class BooleanSchema extends Schema{constructor(){super({type:"boolean",check:e=>(e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e)}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(n.spec.coerce&&!n.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))}))}isTrue(e=Tx.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:e=>Nx(e)||!0===e})}isFalse(e=Tx.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:e=>Nx(e)||!1===e})}default(e){return super.default(e)}defined(e){return super.defined(e)}optional(){return super.optional()}required(e){return super.required(e)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(e){return super.nonNullable(e)}strip(e){return super.strip(e)}}Lx.prototype=BooleanSchema.prototype;const jx=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function Mx(e){var t,n;const r=jx.exec(e);return r?{year:Ux(r[1]),month:Ux(r[2],1)-1,day:Ux(r[3],1),hour:Ux(r[4]),minute:Ux(r[5]),second:Ux(r[6]),millisecond:r[7]?Ux(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:Ux(r[10]),minuteOffset:Ux(r[11])}:null}function Ux(e,t=0){return Number(e)||t}let Vx=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Bx=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,$x=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,zx=new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),Hx=e=>Nx(e)||e===e.trim(),Wx={}.toString();function qx(){return new StringSchema}class StringSchema extends Schema{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;const r=null!=e&&e.toString?e.toString():e;return r===Wx?e:r}))}))}required(e){return super.required(e).withMutation((t=>t.test({message:e||bx.required,name:"required",skipAbsent:!0,test:e=>!!e.length})))}notRequired(){return super.notRequired().withMutation((e=>(e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e)))}length(e,t=wx.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=wx.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=wx.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,i=!1;return t&&("object"==typeof t?({excludeEmptyString:i=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||wx.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&i||-1!==t.search(e)})}email(e=wx.email){return this.matches(Vx,{name:"email",message:e,excludeEmptyString:!0})}url(e=wx.url){return this.matches(Bx,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=wx.uuid){return this.matches($x,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"==typeof e?({message:r="",allowOffset:t=!1,precision:n}=e):r=e),this.matches(zx,{name:"datetime",message:r||wx.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||wx.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;const n=Mx(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||wx.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||null==n)return!0;const t=Mx(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(e=wx.trim){return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:Hx})}lowercase(e=wx.lowercase){return this.transform((e=>Nx(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>Nx(e)||e===e.toLowerCase()})}uppercase(e=wx.uppercase){return this.transform((e=>Nx(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>Nx(e)||e===e.toUpperCase()})}}qx.prototype=StringSchema.prototype;class NumberSchema extends Schema{constructor(){super({type:"number",check:e=>(e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!(e=>e!=+e)(e))}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce)return e;let r=e;if("string"==typeof r){if(r=r.replace(/\s/g,""),""===r)return NaN;r=+r}return n.isType(r)||null===r?r:parseFloat(r)}))}))}min(e,t=Ex.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t>=this.resolve(e)}})}max(e,t=Ex.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t<=this.resolve(e)}})}lessThan(e,t=Ex.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test(t){return t<this.resolve(e)}})}moreThan(e,t=Ex.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test(t){return t>this.resolve(e)}})}positive(e=Ex.positive){return this.moreThan(0,e)}negative(e=Ex.negative){return this.lessThan(0,e)}integer(e=Ex.integer){return this.test({name:"integer",message:e,skipAbsent:!0,test:e=>Number.isInteger(e)})}truncate(){return this.transform((e=>Nx(e)?e:0|e))}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((t=>Nx(t)?t:Math[e](t)))}}NumberSchema.prototype;let Kx=new Date("");function Gx(){return new DateSchema}class DateSchema extends Schema{constructor(){super({type:"date",check(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),this.withMutation((()=>{this.transform(((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:(e=function(e){const t=Mx(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e),isNaN(e)?DateSchema.INVALID_DATE:new Date(e))))}))}prepareParam(e,t){let n;if(index_esm_Reference.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=Sx.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=Sx.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function Qx(e,t){let n=1/0;return e.some(((e,r)=>{var i;if(null!=(i=t.path)&&i.includes(e))return n=r,!0})),n}function Xx(e){return(t,n)=>Qx(e,t)-Qx(e,n)}DateSchema.INVALID_DATE=Kx,Gx.prototype=DateSchema.prototype,Gx.INVALID_DATE=Kx;const Yx=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(i){}return n.isType(r)?r:e};function Jx(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Jx(r);return e.setFields(t)}if("array"===e.type){const t=e.optional();return t.innerType&&(t.innerType=Jx(t.innerType)),t}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(Jx)}):"optional"in e?e.optional():e}let Zx=e=>"[object Object]"===Object.prototype.toString.call(e);function eA(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===n.indexOf(e)))}const tA=Xx([]);function nA(e){return new ObjectSchema(e)}class ObjectSchema extends Schema{constructor(e){super({type:"object",check:e=>Zx(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=tA,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{e&&this.shape(e)}))}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let i=this.fields,s=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,o=[].concat(this._nodes,Object.keys(r).filter((e=>!this._nodes.includes(e)))),a={},l=Object.assign({},t,{parent:a,__validating:t.__validating||!1}),c=!1;for(const u of o){let e=i[u],n=u in r;if(e){let n,i=r[u];l.path=(t.path?`${t.path}.`:"")+u,e=e.resolve({value:i,context:t.context,parent:a});let s=e instanceof Schema?e.spec:void 0,o=null==s?void 0:s.strict;if(null!=s&&s.strip){c=c||u in r;continue}n=t.__validating&&o?r[u]:e.cast(r[u],l),void 0!==n&&(a[u]=n)}else n&&!s&&(a[u]=r[u]);n===u in a&&a[u]===r[u]||(c=!0)}return c?a:r}_validate(e,t={},n,r){let{from:i=[],originalValue:s=e,recursive:o=this.spec.recursive}=t;t.from=[{schema:this,value:s},...i],t.__validating=!0,t.originalValue=s,super._validate(e,t,n,((e,i)=>{if(!o||!Zx(i))return void r(e,i);s=s||i;let a=[];for(let n of this._nodes){let e=this.fields[n];e&&!index_esm_Reference.isRef(e)&&a.push(e.asNestedTest({options:t,key:n,parent:i,parentPath:t.path,originalParent:s}))}this.runTests({tests:a,value:i,originalValue:s,options:t},n,(t=>{r(t.sort(this._sortErrors).concat(e),i)}))}))}clone(e){const t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[r,i]of Object.entries(this.fields)){const e=n[r];n[r]=void 0===e?i:e}return t.withMutation((t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges])))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};
1return this._nodes.forEach((n=>{var r;const i=this.fields[n];let s=e;null!=(r=s)&&r.value&&(s=Object.assign({},s,{parent:s.value,value:s.value[n]})),t[n]=i&&"getDefault"in i?i.getDefault(s):void 0})),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],r=new Set,i=new Set(t.map((([e,t])=>`${e}-${t}`)));function s(e,t){let s=(0,ix.split)(e)[0];r.add(s),i.has(`${t}-${s}`)||n.push([t,s])}for(const o of Object.keys(e)){let t=e[o];r.add(o),index_esm_Reference.isRef(t)&&t.isSibling?s(t.path,o):Ix(t)&&"deps"in t&&t.deps.forEach((e=>s(e,o)))}return ax().array(Array.from(r),n).reverse()}(e,t),n._sortErrors=Xx(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation((n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)}))}partial(){const e={};for(const[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return Jx(this)}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter((([t,n])=>e.includes(t)&&e.includes(n))))}omit(e){const t=[];for(const n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=(0,ix.getter)(e,!0);return this.transform((i=>{if(!i)return i;let s=i;return((e,t)=>{const n=[...(0,ix.normalizePath)(t)];if(1===n.length)return n[0]in e;let r=n.pop(),i=(0,ix.getter)((0,ix.join)(n),!0)(e);return!(!i||!(r in i))})(i,e)&&(s=Object.assign({},i),n||delete s[e],s[t]=r(i)),s}))}json(){return this.transform(Yx)}exact(e){return this.test({name:"exact",exclusive:!0,message:e||Cx.exact,test(e){if(null==e)return!0;const t=eA(this.schema,e);return 0===t.length||this.createError({params:{properties:t.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(e=!0,t=Cx.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=eA(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=Cx.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>{if(!t)return t;const n={};for(const r of Object.keys(t))n[e(r)]=t[r];return n}))}camelCase(){return this.transformKeys(sx.camelCase)}snakeCase(){return this.transformKeys(sx.snakeCase)}constantCase(){return this.transformKeys((e=>(0,sx.snakeCase)(e).toUpperCase()))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);n.fields={};for(const[i,s]of Object.entries(t.fields)){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[i]})),n.fields[i]=s.describe(t)}return n}}nA.prototype=ObjectSchema.prototype;class ArraySchema extends Schema{constructor(e){super({type:"array",spec:{types:e},check:e=>Array.isArray(e)}),this.innerType=void 0,this.innerType=e}_cast(e,t){const n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1;const i=n.map(((e,n)=>{const i=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${n}]`}));return i!==e&&(r=!0),i}));return r?i:n}_validate(e,t={},n,r){var i;let s=this.innerType,o=null!=(i=t.recursive)?i:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,n,((i,a)=>{var l;if(!o||!s||!this._typeCheck(a))return void r(i,a);let c=new Array(a.length);for(let n=0;n<a.length;n++){var u;c[n]=s.asNestedTest({options:t,index:n,parent:a,parentPath:t.path,originalParent:null!=(u=t.originalValue)?u:e})}this.runTests({value:a,tests:c,originalValue:null!=(l=t.originalValue)?l:e,options:t},n,(e=>r(e.concat(i),a)))}))}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(Yx)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!Ix(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+px(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e,t=xx.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||xx.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||xx.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default((()=>[])).transform(((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t)))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform((e=>null!=e?e.filter(t):e))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);if(t.innerType){var r;let i=e;null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),n.innerType=t.innerType.describe(i)}return n}}ArraySchema.prototype;class TupleSchema extends Schema{constructor(e){super({type:"tuple",spec:{types:e},check(e){const t=this.spec.types;return Array.isArray(e)&&e.length===t.length}}),this.withMutation((()=>{this.typeError(Ax.notType)}))}_cast(e,t){const{types:n}=this.spec,r=super._cast(e,t);if(!this._typeCheck(r))return r;let i=!1;const s=n.map(((e,n)=>{const s=e.cast(r[n],Object.assign({},t,{path:`${t.path||""}[${n}]`}));return s!==r[n]&&(i=!0),s}));return i?s:r}_validate(e,t={},n,r){let i=this.spec.types;super._validate(e,t,n,((s,o)=>{var a;if(!this._typeCheck(o))return void r(s,o);let l=[];for(let[n,r]of i.entries()){var c;l[n]=r.asNestedTest({options:t,index:n,parent:o,parentPath:t.path,originalParent:null!=(c=t.originalValue)?c:e})}this.runTests({value:o,tests:l,originalValue:null!=(a=t.originalValue)?a:e,options:t},n,(e=>r(e.concat(s),o)))}))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);return n.innerType=t.spec.types.map(((t,n)=>{var r;let i=e;return null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[n]})),t.describe(i)})),n}}TupleSchema.prototype;const rA=(e,t)=>
1GC({initialValues:e,enableReinitialize:!0,validateOnBlur:!1,validateOnChange:!1,validationSchema:nA({name:qx().required("\u672a\u5165\u529b\u3067\u3059"),companyName:qx().required("\u672a\u5165\u529b\u3067\u3059"),occupation:qx().required("\u672a\u9078\u629e\u3067\u3059"),jobTitle:qx().required("\u672a\u9078\u629e\u3067\u3059"),phoneNumber:qx().required("\u672a\u5165\u529b\u3067\u3059").matches(/^\d{2,4}\-?\d{2,4}\-?\d{2,4}$/,"\u96fb\u8a71\u756a\u53f7\u5f62\u5f0f\u3067\u306f\u3042\u308a\u307e\u305b\u3093"),email:qx().required("\u672a\u5165\u529b\u3067\u3059").email("\u30e1\u30fc\u30eb\u5f62\u5f0f\u3067\u306f\u3042\u308a\u307e\u305b\u3093"),password:qx().required("\u672a\u5165\u529b\u3067\u3059").min(6,"\u5165\u529b\u306b\u30a8\u30e9\u30fc\u304c\u3042\u308a\u307e\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306f6\u6587\u5b57\u4ee5\u4e0a\u306e\u534a\u89d2\u6587\u5b57\u3067\u3054\u5165\u529b\u304f\u3060\u3055\u3044"),checkPolicy:Lx().oneOf([!0],"\u672a\u9078\u629e\u3067\u3059")}),onSubmit(e){t(e)}});var iA=n(1085);const sA=e=>{const{children:t}=e,n=function(e,t){const n="object"==typeof e?e:sn(),r="string"==typeof e?e:t||rd,i=Zt(n,"firestore").getImmediate({identifier:r});if(!i._initialized){const e=hu("firestore");e&&Eg(i,...e)}return i}(Cb()),r=V_(Cb()),i=bs(Cb());return(0,iA.jsx)(rw,{sdk:i,children:(0,iA.jsx)(iw,{sdk:n,children:(0,iA.jsx)(sw,{sdk:r,children:t})})})},oA=e=>{const{redirectPath:t,children:n,admin:r,redirectFront:i}=e;if(i)return void(window.location.href="https://shift-89fes2024.web.app/");const{status:s,data:o}=Ab(r?{requiredClaims:{admin:!0}}:{}),{status:a,data:l}=xb(),c=ee();return"loading"===s||"loading"===a?(0,iA.jsx)(iA.Fragment,{}):!0==!o.signedIn?(0,iA.jsx)(ve,{to:t,state:{from:c},replace:!0}):null==o||!o.signedIn||null!=o&&o.hasRequiredClaims?n:void(window.location.href="https://shift-89fes2024.web.app/")};var aA=n(3033);const lA=["labelText","requiredText","className","error","width","helperText"],cA={border:"0.2rem solid #d70027"},uA=e=>{const{labelText:t,requiredText:n,className:r,error:i,width:s,helperText:o}=e,a=(0,aA.A)(e,lA);return(0,iA.jsxs)(iA.Fragment,{children:[(0,iA.jsxs)("div",{className:"p-form_formBlock",children:[(0,iA.jsxs)("p",{className:"p-form_formHead",children:[(0,iA.jsx)("span",{className:"p-form_formHeadTxt",children:t}),n&&(0,iA.jsx)("span",{className:"p-form_formHeadTxtRequire",children:n})]}),(0,iA.jsx)("input",Object.assign({className:"p-form_formInput "+r,style:i?Object.assign({},cA,{width:s||"100%"}):{width:s||"100%"}},a))]}),i&&o&&(0,iA.jsx)("div",{style:{display:"flex",justifyContent:"flex-end"},children:(0,iA.jsx)("span",{style:{color:"#d70027"},children:o})})]})},hA=["items","labelText","requiredText","sizeLabel","sizeInput","error","helperText"],dA={border:"0.2rem solid #d70027"},fA=e=>{const{items:t,labelText:n,requiredText:r,error:i,helperText:s}=e,o=(0,aA.A)(e,hA);return(0,iA.jsxs)(iA.Fragment,{children:[(0,iA.jsxs)("div",{className:"p-form_formBlock",children:[(0,iA.jsxs)("p",{className:"p-form_formHead",children:[(0,iA.jsx)("span",{className:"p-form_formHeadTxt",children:n}),r&&(0,iA.jsx)("span",{className:"p-form_formHeadTxtRequire",children:r})]}),(0,iA.jsx)("div",{className:"p-form_formSelect",children:(0,iA.jsx)("select",Object.assign({className:"p-form_formInput"},o,{style:i?dA:void 0,children:t.map((e=>(0,iA.jsx)("option",{value:e.value,children:e.label},e.value)))}))})]}),i&&s&&(0,iA.jsx)("div",{style:{display:"flex",justifyContent:"flex-end"},children:(0,iA.jsx)("span",{style:{color:"#d70027"},children:s})})]})};var pA=n(5250);let mA=function(e){return e.production="production",e.staging="staging",e.development="development",e}({});const gA=[{label:"",value:""},{label:"\u7d4c\u55b6\u8005\u30fb\u5f79\u54e1\u30af\u30e9\u30b9",value:"\u7d4c\u55b6\u8005\u30fb\u5f79\u54e1\u30af\u30e9\u30b9"},{label:"\u672c\u90e8\u9577\u30fb\u90e8\u9577\u30af\u30e9\u30b9",value:"\u672c\u90e8\u9577\u30fb\u90e8\u9577\u30af\u30e9\u30b9"},{label:"\u8ab2\u9577\u30fb\u4fc2\u9577\u30af\u30e9\u30b9",value:"\u8ab2\u9577\u30fb\u4fc2\u9577\u30af\u30e9\u30b9"},{label:"\u4e3b\u4efb\u30af\u30e9\u30b9",value:"\u4e3b\u4efb\u30af\u30e9\u30b9"},{label:"\u4e00\u822c\u793e\u54e1",value:"\u4e00\u822c\u793e\u54e1"},{label:"\u500b\u4eba\u4e8b\u696d\u4e3b",value:"\u500b\u4eba\u4e8b\u696d\u4e3b"},{label:"\u6295\u8cc7\u5bb6",value:"\u6295\u8cc7\u5bb6"},{label:"\u5b66\u751f",value:"\u5b66\u751f"},{label:"\u305d\u306e\u4ed6",value:"\u305d\u306e\u4ed6"}],_A=[{label:"",value:""},{label:"\u7d4c\u55b6\u5168\u822c",value:"\u7d4c\u55b6\u5168\u822c"},{label:"CIO/CTO",value:"CIO/CTO"},{label:"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc",value:"\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc"},{label:"\u30a8\u30f3\u30b8\u30cb\u30a2",value:"\u30a8\u30f3\u30b8\u30cb\u30a2"},{label:"\u30b3\u30f3\u30b5\u30eb\u30bf\u30f3\u30c8",value:"\u30b3\u30f3\u30b5\u30eb\u30bf\u30f3\u30c8"},{label:"\u55b6\u696d",value:"\u55b6\u696d"},{label:"\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0",value:"\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0"},{label:"\u60c5\u5831\u30b7\u30b9\u30c6\u30e0",value:"\u60c5\u5831\u30b7\u30b9\u30c6\u30e0"},{label:"\u30d0\u30c3\u30af\u30aa\u30d5\u30a3\u30b9",value:"\u30d0\u30c3\u30af\u30aa\u30d5\u30a3\u30b9"},{label:"\u500b\u4eba\u4e8b\u696d\u4e3b\u3001\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9",value:"\u500b\u4eba\u4e8b\u696d\u4e3b\u3001\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9"},{label:"\u6295\u8cc7\u5bb6",value:"\u6295\u8cc7\u5bb6"},{label:"\u5b66\u751f",value:"\u5b66\u751f"},{label:"\u305d\u306e\u4ed6",value:"\u305d\u306e\u4ed6"}
1],vA=[{label:"\u54c1\u8cea\u4fdd\u8a3c",value:"quality",className:"quality"},{label:"DX\u652f\u63f4",value:"dx",className:"dx"},{label:"AI",value:"ai",className:"ai"},{label:"\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3",value:"security",className:"security"},{label:"\u958b\u767a/\u904b\u7528/\u79fb\u884c",value:"dev",className:"dev"},{label:"\u30af\u30e9\u30a6\u30c9",value:"cloud",className:"cloud"},{label:"UI/UX\u30fbCS",value:"uiux",className:"uiux"},{label:"\u63a1\u7528\u30fb\u7d44\u7e54\u3065\u304f\u308a",value:"rec",className:"rec"}];let yA=function(e){return e.SESSION_VIEW="session_view",e.DOCUMENT_DOWNLOAD="document_download",e.DOCUMENT_LINK_CLICK="document_link_click",e.REACTION_CLICK="REACTION_CLICK",e}({});const bA=e=>{const{formik:t,hiddenForgot:n}=e;return(0,iA.jsxs)("div",{className:"p-form_content",children:[(0,iA.jsx)("h2",{className:"p-form_ttl",children:"\u30ed\u30b0\u30a4\u30f3"}),(0,iA.jsx)(DC,{value:t,children:(0,iA.jsx)("form",{className:"p-form_form",onSubmit:t.handleSubmit,children:(0,iA.jsxs)("div",{className:"p-form_formInner",children:[(0,iA.jsxs)("div",{className:"p-form_formBlockWrap",children:[(0,iA.jsx)(uA,{fullWidth:!0,labelText:"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9",requiredText:"\u5fc5\u9808",name:"email",value:t.values.email,onChange:t.handleChange,error:t.touched.email&&Boolean(t.errors.email),helperText:t.touched.email&&t.errors.email}),(0,iA.jsx)(uA,{fullWidth:!0,labelText:"\u30d1\u30b9\u30ef\u30fc\u30c9",requiredText:"\u5fc5\u9808",type:"password",name:"password",value:t.values.password,onChange:t.handleChange,error:t.touched.password&&Boolean(t.errors.password),helperText:t.touched.password&&t.errors.password}),n?(0,iA.jsx)(iA.Fragment,{}):(0,iA.jsx)("div",{className:"p-form_formBlock",children:(0,iA.jsx)(Re,{to:"/forgot-password",children:"\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u304a\u5fd8\u308c\u3067\u3059\u304b"})})]}),(0,iA.jsx)("div",{className:"p-form_formBtnWrap",children:(0,iA.jsx)("button",{className:"p-form_formBtn",type:"submit",children:"\u30ed\u30b0\u30a4\u30f3"})})]})})})]})},wA=e=>{const{formik:t}=e,[n,r]=(0,i.useState)(!1),[s,o]=(0,i.useState)(!1);return(0,iA.jsxs)("div",{className:"p-form_content",children:[(0,iA.jsx)("h2",{className:"p-form_ttl",children:"\u8996\u8074\u7533\u3057\u8fbc\u307f"}),(0,iA.jsx)(DC,{value:t,children:(0,iA.jsx)("form",{className:"p-form_form",onSubmit:e=>{t.handleSubmit(),e.preventDefault()},children:(0,iA.jsxs)("div",{className:"p-form_formInner",children:[(0,iA.jsxs)("div",{className:"p-form_formBlockWrap",children:[(0,iA.jsx)(uA,{labelText:"\u6c0f\u540d",requiredText:"\u5fc5\u9808",placeholder:"\u4f8b\uff09\u5c71\u7530\u592a\u90ce",name:"name",value:t.values.name,onChange:t.handleChange,error:t.touched.name&&Boolean(t.errors.name),helperText:t.touched.name&&t.errors.name}),(0,iA.jsx)(uA,{labelText:"\u4f1a\u793e\u540d",requiredText:"\u5fc5\u9808",placeholder:"\u4f8b\uff09\u682a\u5f0f\u4f1a\u793eSHIFT",name:"companyName",value:t.values.companyName,onChange:t.handleChange,error:t.touched.companyName&&Boolean(t.errors.companyName),helperText:t.touched.companyName&&t.errors.companyName}),(0,iA.jsx)(fA,{labelText:"\u5f79\u8077",requiredText:"\u5fc5\u9808",name:"jobTitle",items:gA,onChange:t.handleChange,error:t.touched.jobTitle&&Boolean(t.errors.jobTitle),helperText:t.touched.jobTitle&&t.errors.jobTitle}),(0,iA.jsx)(fA,{labelText:"\u8077\u7a2e",requiredText:"\u5fc5\u9808",name:"occupation",items:_A,onChange:t.handleChange,error:t.touched.occupation&&Boolean(t.errors.occupation),helperText:t.touched.occupation&&t.errors.occupation}),(0,iA.jsx)(uA,{labelText:"\u96fb\u8a71\u756a\u53f7",requiredText:"\u5fc5\u9808",placeholder:"\u4f8b\uff09080-0000-0000",name:"phoneNumber",onChange:t.handleChange,error:t.touched.phoneNumber&&Boolean(t.errors.phoneNumber),helperText:t.touched.phoneNumber&&t.errors.phoneNumber}),(0,iA.jsx)(uA,{className:"p-form_formInput-border",labelText:"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9",requiredText:"\u5fc5\u9808",name:"email",placeholder:"\u4f8b\[email protected]",onChange:t.handleChange,error:t.touched.email&&Boolean(t.errors.email),helperText:t.touched.email&&t.errors.email}),(0,iA.jsx)(uA,{className:"p-form_formInput-border",labelText:"\u30d1\u30b9\u30ef\u30fc\u30c9",requiredText:"\u5fc5\u9808",name:"password",type:"password",onChange:t.handleChange,error:t.touched.password&&Boolean(t.errors.password),helperText:t.touched.password&&t.errors.password}),(0,iA.jsx)("p",{className:"p-form_formComment",children:"\u203b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059"})]}),(0,iA.jsxs)("div",{className:"p-form_formBottomArea",children:[(0,iA.jsxs)("p",{className:"p-form_formCheckbox",children:[(0,iA.jsx)("input",{type:"checkbox",id:"introducer1",name:"introducer1",checked:n,onChange:()=>{r((e=>!e))}}),(0,iA.jsx)("label",{htmlFor:"introducer1",className:"p-form_formHeadTxt p-form_formHeadTxt-checkmark",children:"\u7d39\u4ecb\u8005\u3092\u5165\u529b\u3059\u308b"})]}),(0,iA.jsx)(uA,{labelText:"\u6c0f\u540d",placeholder:"\u4f8b\uff09\u5c71\u7530\u592a\u90ce",n
1ame:"introductionName",value:t.values.introductionName,onChange:t.handleChange}),(0,iA.jsx)(uA,{labelText:"\u4f1a\u793e\u540d",placeholder:"\u4f8b\uff09\u682a\u5f0f\u4f1a\u793eSHIFT",name:"introductionCompanyName",value:t.values.introductionCompanyName,onChange:t.handleChange}),(0,iA.jsxs)("div",{className:"p-form_privacyComment",children:[(0,iA.jsxs)("p",{className:"p-form_privacyCommentUpper",children:["\u5f53\u793e\u306e",(0,iA.jsx)("a",{href:"https://www.shiftinc.jp/privacy/",target:"_blank",children:"\u300c\u500b\u4eba\u60c5\u5831\u306e\u53d6\u308a\u6271\u3044\u306b\u3064\u3044\u3066\u300d"}),"\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002"]}),(0,iA.jsx)("p",{className:"p-form_privacyCommentBottom",children:"\u5f53\u793e\u304c\u4e3b\u50ac\u30fb\u5171\u50ac\u3059\u308b\u30bb\u30df\u30ca\u30fc\u3084\u30a4\u30d9\u30f3\u30c8\u3001\u30b5\u30fc\u30d3\u30b9\u7b49\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u30e1\u30fc\u30eb\u3067\u304a\u5c4a\u3051\u3044\u305f\u3057\u307e\u3059\u3002\u30e1\u30fc\u30eb\u304c\u3054\u4e0d\u8981\u306b\u306a\u308a\u307e\u3057\u305f\u3089\u3001 \u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u304b\u3089\u914d\u4fe1\u505c\u6b62\u3044\u305f\u3060\u3051\u307e\u3059\u3002"})]}),(0,iA.jsx)("p",{className:"p-form_formHeadComment",children:"\u500b\u4eba\u60c5\u5831\u306e\u5229\u7528\u306b\u540c\u610f"}),(0,iA.jsxs)("p",{className:"p-form_formCheckbox p-form_formCheckbox-agree",style:t.touched.checkPolicy&&Boolean(t.errors.checkPolicy)?{border:"0.2rem solid #d70027"}:void 0,children:[(0,iA.jsx)("input",{type:"checkbox",id:"agree",name:"agree",checked:s,onChange:()=>{o((e=>(t.setFieldValue("checkPolicy",!e),!e)))}}),(0,iA.jsx)("label",{htmlFor:"agree",className:"p-form_formHeadTxt p-form_formHeadTxt-checkmark",children:"\u540c\u610f\u3059\u308b"})]}),(0,iA.jsx)("div",{className:"p-form_formBtnWrap",children:(0,iA.jsx)("button",{className:"p-form_formBtn",type:"submit",children:"\u7533\u3057\u8fbc\u3080"})})]})]})})})]})},EA=e=>{const{formik:t}=e;return(0,iA.jsxs)("div",{className:"p-form_content",children:[(0,iA.jsx)("h2",{className:"p-form_ttl",children:"\u30d1\u30b9\u30ef\u30fc\u30c9\u518d\u8a2d\u5b9a"}),(0,iA.jsx)(DC,{value:t,children:(0,iA.jsx)("form",{className:"p-form_form",onSubmit:t.handleSubmit,children:(0,iA.jsxs)("div",{className:"p-form_formInner",children:[(0,iA.jsxs)("div",{className:"p-form_formBlockWrap",children:[(0,iA.jsx)("p",{children:"\u3054\u767b\u9332\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002"}),(0,iA.jsx)("p",{children:"\u30d1\u30b9\u30ef\u30fc\u30c9\u518d\u8a2d\u5b9a\u306e\u30e1\u30fc\u30eb\u3092\u304a\u9001\u308a\u3057\u307e\u3059\u3002"}),(0,iA.jsx)(uA,{labelText:"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9",fullWidth:!0,requiredText:"\u5fc5\u9808",name:"email",value:t.values.email,onChange:t.handleChange,error:t.touched.email&&Boolean(t.errors.email),helperText:t.touched.email&&t.errors.email})]}),(0,iA.jsx)("div",{className:"p-form_formBtnWrap",children:(0,iA.jsx)("button",{className:"p-form_formBtn",type:"submit",children:"\u9001\u4fe1"})})]})})})]})},SA=e=>{const{formik:t}=e,[n,r]=(0,i.useState)("100%");return(0,i.useEffect)((()=>{r(window.innerWidth>767?"60%":"100%"),window.addEventListener("resize",(()=>{r(window.innerWidth>767?"60%":"100%")}))}),[]),(0,iA.jsxs)("div",{className:"p-form_content",children:[(0,iA.jsx)("h2",{className:"p-form_ttl",children:"\u30d1\u30b9\u30ef\u30fc\u30c9\u518d\u8a2d\u5b9a"}),(0,iA.jsx)(DC,{value:t,children:(0,iA.jsx)("form",{className:"p-form_form",onSubmit:t.handleSubmit,children:(0,iA.jsxs)("div",{className:"p-form_formInner",children:[(0,iA.jsxs)("div",{className:"p-form_formBlockWrap",children:[(0,iA.jsx)("p",{children:"\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002"}),(0,iA.jsx)(uA,{width:n,labelText:"\u30d1\u30b9\u30ef\u30fc\u30c9",requiredText:"\u5fc5\u9808",name:"password",type:"password",value:t.values.password,onChange:t.handleChange,error:t.touched.password&&Boolean(t.errors.password),helperText:t.touched.password&&t.errors.password}),(0,iA.jsx)(uA,{width:n,type:"password",labelText:"\u30d1\u30b9\u30ef\u30fc\u30c9\uff08\u78ba\u8a8d\uff09",requiredText:"\u5fc5\u9808",name:"confirmPassword",value:t.values.confirmPassword,onChange:t.handleChange,error:t.touched.confirmPassword&&Boolean(t.errors.confirmPassword),helperText:t.touched.confirmPassword&&t.errors.confirmPassword})]}),(0,iA.jsx)("div",{className:"p-form_formBtnWrap",children:(0,iA.jsx)("button",{className:"p-form_formBtn",type:"submit",children:"\u30ea\u30bb\u30c3\u30c8\u3059\u308b"})})]})})})]})};n(3464);n(1880),n(2320);var TA=n(2150),CA=n(4357),xA=n(28),AA=n(7174),IA=n(3345),kA=n(5584);const PA=function(e){return"string"==typeof e};const NA=function(e,t,n){return void 0===e||PA(e)?t:(0,TA.A)({},t,{ownerState:(0,TA.A)({},t.ownerState,n)})};const RA=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEac
1h((t=>{n[t]=e[t]})),n};const OA=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t};const DA=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:s}=e;if(!t){const e=(0,CA.A)(null==n?void 0:n.className,s,null==i?void 0:i.className,null==r?void 0:r.className),t=(0,TA.A)({},null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),o=(0,TA.A)({},n,i,r);return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}const o=RA((0,TA.A)({},i,r)),a=OA(r),l=OA(i),c=t(o),u=(0,CA.A)(null==c?void 0:c.className,null==n?void 0:n.className,s,null==i?void 0:i.className,null==r?void 0:r.className),h=(0,TA.A)({},null==c?void 0:c.style,null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),d=(0,TA.A)({},c,n,l,a);return u.length>0&&(d.className=u),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:c.ref}};const FA=function(e,t,n){return"function"==typeof e?e(t,n):e},LA=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];const jA=function(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:s=!1}=e,o=(0,aA.A)(e,LA),a=s?{}:FA(r,i),{props:l,internalRef:c}=DA((0,TA.A)({},o,{externalSlotProps:a})),u=(0,kA.A)(c,null==a?void 0:a.ref,null==(t=e.additionalProps)?void 0:t.ref);return NA(n,(0,TA.A)({},l,{ref:u}),i)};function MA(e){var t;return parseInt(i.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}var UA=n(8862);const VA=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function BA(e){const t=[],n=[];return Array.from(e.querySelectorAll(VA)).forEach(((e,r)=>{const i=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==i&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===i?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function $A(){return!0}const zA=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:o=BA,isEnabled:a=$A,open:l}=e,c=i.useRef(!1),u=i.useRef(null),h=i.useRef(null),d=i.useRef(null),f=i.useRef(null),p=i.useRef(!1),m=i.useRef(null),g=(0,kA.A)(MA(t),m),_=i.useRef(null);i.useEffect((()=>{l&&m.current&&(p.current=!n)}),[n,l]),i.useEffect((()=>{if(!l||!m.current)return;const e=(0,UA.A)(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),p.current&&m.current.focus()),()=>{s||(d.current&&d.current.focus&&(c.current=!0,d.current.focus()),d.current=null)}}),[l]),i.useEffect((()=>{if(!l||!m.current)return;const e=(0,UA.A)(m.current),t=t=>{_.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(c.current=!0,h.current&&h.current.focus())},n=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!a()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==u.current&&e.activeElement!==h.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!p.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==h.current||(n=o(m.current)),n.length>0){var i,s;const e=Boolean((null==(i=_.current)?void 0:i.shiftKey)&&"Tab"===(null==(s=_.current)?void 0:s.key)),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}
vendor: 21,667 bytes, line 1
1else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const i=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(i),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,r,s,a,l,o]);const v=e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0};return(0,iA.jsxs)(i.Fragment,{children:[(0,iA.jsx)("div",{tabIndex:l?0:-1,onFocus:v,ref:u,"data-testid":"sentinelStart"}),i.cloneElement(t,{ref:g,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,iA.jsx)("div",{tabIndex:l?0:-1,onFocus:v,ref:h,"data-testid":"sentinelEnd"})]})};var HA=n(4714),WA=n(9374);const qA=i.forwardRef((function(e,t){const{children:n,container:r,disablePortal:s=!1}=e,[o,l]=i.useState(null),c=(0,kA.A)(i.isValidElement(n)?MA(n):null,t);if((0,HA.A)((()=>{s||l(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,s]),(0,HA.A)((()=>{if(o&&!s)return(0,WA.A)(t,o),()=>{(0,WA.A)(t,null)}}),[t,o,s]),s){if(i.isValidElement(n)){const e={ref:c};return i.cloneElement(n,e)}return(0,iA.jsx)(i.Fragment,{children:n})}return(0,iA.jsx)(i.Fragment,{children:o?a.createPortal(n,o):o})}));var KA=n(8768),GA=n(4545);function QA(e,t){return QA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},QA(e,t)}function XA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,QA(e,t)}const YA=!1,JA=i.createContext(null);var ZA="unmounted",eI="exited",tI="entering",nI="entered",rI="exiting",iI=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,s=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?s?(i=eI,r.appearStatus=tI):i=nI:i=t.unmountOnExit||t.mountOnEnter?ZA:eI,r.state={status:i},r.nextCallback=null,r}XA(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===ZA?{status:eI}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==tI&&n!==nI&&(t=tI):n!==tI&&n!==nI||(t=rI)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===tI){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===eI&&this.setState({status:ZA})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[a.findDOMNode(this),r],s=i[0],o=i[1],l=this.getTimeouts(),c=r?l.appear:l.enter;!e&&!n||YA?this.safeSetState({status:nI},(function(){t.props.onEntered(s)})):(this.props.onEnter(s,o),this.safeSetState({status:tI},(function(){t.props.onEntering(s,o),t.onTransitionEnd(c,(function(){t.safeSetState({status:nI},(function(){t.props.onEntered(s,o)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!YA?(this.props.onExit(r),this.safeSetState({status:rI},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:eI},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:eI},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],s=i[0],o=i[1];this.props.addEndListener(s,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===ZA)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,aA.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(JA.Provider,{value:null},"function"==typeof n?n(e,r):i.cloneElement(i.Children.only(n),r))},t}(i.Component);function sI(){}iI.contextType=JA,iI.propTypes={},iI.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:sI,onEntering:sI,onEntered:sI,onExit:sI,onExiting:sI,onExited:sI},iI.UNMOUNTED=ZA,iI.EXITED=eI,iI.ENTERING=tI,iI.ENTERED=nI,iI.EXITING=rI;const oI=iI;var aI=n(9999),lI=n(8539);const cI=function(e=null){const t=i.useContext(lI.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n},uI=(0,aI.A)();const hI=function(e=uI){return cI(e)};var dI=n(2012),fI=n(382);function pI(){const e=hI(dI.A);return e[fI.A]||e}function mI(e,t){var n,r;const{timeout:i,easing:s,style:o={}}=e;return{duration:null!=(n=o.transitionDuration)?n:"number"==typeof i?i:i[t.mode]||0,easing:null!=(r=o.transitionTimingFunction)?r:"object"==typeof s?s[t.mode]:s,delay:o.transitionDelay}}var gI=n(2787);const _I=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],vI={entering:{opacity:1},entered:{opacity:1}},yI=i.forwardRef((function(e,t){const n=pI(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:o=!0,children:a,easing:l,in:c,onEnter:u,onEntered:h,onEntering:d,onExit:f,onExited:p,onExiting:m,style:g,timeout:_=r,TransitionComponent:v=oI}=e,y=(0,aA.A)(e,_I),b=i.useRef(null),w=(0,gI.A)(b,MA(a),t),E=e=>t=>{if(e){const n=b.current;void 0===t?e(n):e(n,t)}},S=E(d),T=E(((e,t)=>{(e=>{e.scrollTop})(e);const r=mI({style:g,timeout:_,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)})),C=E(h),x=E(m),A=E((e=>{const t=mI({style:g,timeout:_,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),f&&f(e)})),I=E(p);return(0,iA.jsx)(v,(0,TA.A)({appear:o,in:c,nodeRef:b,onEnter:T,onEntered:C,onEntering:S,onExit:A,onExited:I,onExiting:x,addEndListener:e=>{s&&s(b.current,e)},timeout:_},y,{children:(e,t)=>i.cloneElement(a,(0,TA.A)({style:(0,TA.A)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},vI[e],g,a.props.style),ref:w},t))}))})),bI=yI;var wI=n(6310),EI=n(8526);function SI(e){return(0,EI.Ay)("MuiBackdrop",e)}(0,wI.A)("MuiBackdrop",["root","invisible"]);const TI=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],CI=(0,KA.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,TA.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),xI=i.forwardRef((function(e,t){var n,r,i;const s=(0,GA.b)({props:e,name:"MuiBackdrop"}),{children:o,className:a,component:l="div",components:c={},componentsProps:u={},invisible:h=!1,open:d,slotProps:f={},slots:p={},TransitionComponent:m=bI,transitionDuration:g}=s,_=(0,aA.A)(s,TI),v=(0,TA.A)({},s,{component:l,invisible:h}),y=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,xA.A)(r,SI,t)})(v),b=null!=(n=f.root)?n:u.root;return(0,iA.jsx)(m,(0,TA.A)({in:d,timeout:g},_,{children:(0,iA.jsx)(CI,(0,TA.A)({"aria-hidden":!0},b,{as:null!=(r=null!=(i=p.root)?i:c.Root)?r:l,className:(0,CA.A)(y.root,a,null==b?void 0:b.className),ownerState:(0,TA.A)({},v,null==b?void 0:b.ownerState),classes:y,ref:t,children:o}))}))})),AI=xI;var II=n(2768),kI=n(6754),PI=n(6710);function NI(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function RI(e){return parseInt((0,PI.A)(e).getComputedStyle(e).paddingRight,10)||0}function OI(e,t,n,r,i){const s=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===s.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&NI(e,i)}))}function DI(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function FI(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,UA.A)(e);return t.body===e?(0,PI.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}((0,UA.A)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${RI(r)+e}px`;const t=(0,UA.A)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${RI(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,UA.A)(r).body;else{const t=r.parentElement,n=(0,PI.A)(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const LI=new class ModalManager{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&NI(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);OI(t,e.mount,e.modalRef,r,!0);const i=DI(this.containers,(e=>e.container===t));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=DI(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=FI(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=DI(this.containers,(t=>-1!==t.modals.indexOf(e))),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&NI(e.modalRef,t),OI(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=i.modals[i.modals.length-1];e.modalRef&&NI(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const jI=function(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:s=LI,closeAfterTransition:o=!1,onTransitionEnter:a,onTransitionExited:l,children:c,onClose:u,open:h,rootRef:d}=e,f=i.useRef({}),p=i.useRef(null),m=i.useRef(null),g=(0,kA.A)(m,d),[_,v]=i.useState(!h),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let b=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(b=!1);const w=()=>(f.current.modalRef=m.current,f.current.mount=p.current,f.current),E=()=>{s.mount(w(),{disableScrollLock:r}),m.current&&(m.current.scrollTop=0)},S=(0,II.A)((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||(0,UA.A)(p.current).body;s.add(w(),e),m.current&&E()})),T=i.useCallback((()=>s.isTopModal(w())),[s]),C=(0,II.A)((e=>{p.current=e,e&&(h&&T()?E():m.current&&NI(m.current,b))})),x=i.useCallback((()=>{s.remove(w(),b)}),[b,s]);i.useEffect((()=>()=>{x()}),[x]),i.useEffect((()=>{h?S():y&&o||x()}),[h,x,y,o,S]);const A=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&T()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},I=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=RA(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=(0,TA.A)({},n,t);return(0,TA.A)({role:"presentation"},r,{onKeyDown:A(r),ref:g})},getBackdropProps:(e={})=>{const t=e;return(0,TA.A)({"aria-hidden":!0},t,{onClick:I(t),open:h})},getTransitionProps:()=>({onEnter:(0,kI.A)((()=>{v(!1),a&&a()}),null==c?void 0:c.props.onEnter),onExited:(0,kI.A)((()=>{v(!0),l&&l(),o&&x()}),null==c?void 0:c.props.onExited)}),rootRef:g,portalRef:C,isTopModal:T,exited:_,hasTransition:y}};function MI(e){return(0,EI.Ay)("MuiModal",e)}(0,wI.A)("MuiModal",["root","hidden","backdrop"]);const UI=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],VI=(0,KA.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,TA.A)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),BI=(0,KA.Ay)(AI,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),$I=i.forwardRef((function(e,t){var n,r,s,o,a,l;const c=(0,GA.b)({name:"MuiModal",props:e}),{BackdropComponent:u=BI,BackdropProps:h,className:d,closeAfterTransition:f=!1,children:p,container:m,component:g,components:_={},componentsProps:v={},disableAutoFocus:y=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:w=!1,disablePortal:E=!1,disableRestoreFocus:S=!1,disableScrollLock:T=!1,hideBackdrop:C=!1,keepMounted:x=!1,onBackdropClick:A,open:I,slotProps:k,slots:P}=c,N=(0,aA.A)(c,UI),R=(0,TA.A)({},c,{closeAfterTransition:f,disableAutoFocus:y,disableEnforceFocus:b,disableEscapeKeyDown:w,disablePortal:E,disableRestoreFocus:S,disableScrollLock:T,hideBackdrop:C,keepMounted:x}),{getRootProps:O,getBackdropProps:D,getTransitionProps:F,portalRef:L,isTopModal:j,exited:M,hasTransition:U}=jI((0,TA.A)({},R,{rootRef:t})),V=(0,TA.A)({},R,{exited:M}),B=(e=>{const{open:t,exited:n,classes:r}=e,i={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,xA.A)(i,MI,r)})(V),$={};if(void 0===p.props.tabIndex&&($.tabIndex="-1"),U){const{onEnter:e,onExited:t}=F();$.onEnter=e,$.onExited=t}const z=null!=(n=null!=(r=null==P?void 0:P.root)?r:_.Root)?n:VI,H=null!=(s=null!=(o=null==P?void 0:P.backdrop)?o:_.Backdrop)?s:u,W=null!=(a=null==k?void 0:k.root)?a:v.root,q=null!=(l=null==k?void 0:k.backdrop)?l:v.backdrop,K=jA({elementType:z,externalSlotProps:W,externalForwardedProps:N,getSlotProps:O,additionalProps:{ref:t,as:g},ownerState:V,className:(0,CA.A)(d,null==W?void 0:W.className,null==B?void 0:B.root,!V.open&&V.exited&&(null==B?void 0:B.hidden))}),G=jA({elementType:H,externalSlotProps:q,additionalProps:h,getSlotProps:e=>D((0,TA.A)({},e,{onClick:t=>{A&&A(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,CA.A)(null==q?void 0:q.className,null==h?void 0:h.className,null==B?void 0:B.backdrop),ownerState:V});return x||I||U&&!M?(0,iA.jsx)(qA,{ref:L,container:m,disablePortal:E,children:(0,iA.jsxs)(z,(0,TA.A)({},K,{children:[!C&&u?(0,iA.jsx)(H,(0,TA.A)({},G)):null,(0,iA.jsx)(zA,{disableEnforceFocus:b,disableAutoFocus:y,disableRestoreFocus:S,isEnabled:j,open:I,children:i.cloneElement(p,$)})]}))}):null})),zI=$I;var HI=n(984);const WI=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function qI(e){return(0,EI.Ay)("MuiPaper",e)}(0,wI.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const KI=["className","component","elevation","square","variant"],GI=(0,KA.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return(0,TA.A)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,TA.A)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,HI.X4)("#fff",WI(t.elevation))}, ${(0,HI.X4)("#fff",WI(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),QI=i.forwardRef((function(e,t){const n=(0,GA.b)({props:e,name:"MuiPaper"}),{className:r,component:i="div",elevation:s=1,square:o=!1,variant:a="elevation"}=n,l=(0,aA.A)(n,KI),c=(0,TA.A)({},n,{component:i,elevation:s,square:o,variant:a}),u=(e=>{const{square:t,elevation:n,variant:r,classes:i}=e,s={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,xA.A)(s,qI,i)})(c);return(0,iA.jsx)(GI,(0,TA.A)({as:i,ownerState:c,className:(0,CA.A)(u.root,r),ref:t},l))})),XI=QI;function YI(e){return(0,EI.Ay)("MuiDialog",e)}const JI=(0,wI.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);const ZI=i.createContext({}),ek=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],tk=(0,KA.Ay)(AI,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),nk=(0,KA.Ay)(zI,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),rk=(0,KA.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${(0,IA.A)(n.scroll)}`]]}})((({ownerState:e})=>(0,TA.A)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),ik=(0,KA.Ay)(XI,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${(0,IA.A)(n.scroll)}`],t[`paperWidth${(0,IA.A)(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((({theme:e,ownerState:t})=>(0,TA.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${JI.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${JI.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${JI.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),sk=i.forwardRef((function(e,t){const n=(0,GA.b)({props:e,name:"MuiDialog"}),r=pI(),s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":o,"aria-labelledby":a,BackdropComponent:l,BackdropProps:c,children:u,className:h,disableEscapeKeyDown:d=!1,fullScreen:f=!1,fullWidth:p=!1,maxWidth:m="sm",onBackdropClick:g,onClick:_,onClose:v,open:y,PaperComponent:b=XI,PaperProps:w={},scroll:E="paper",TransitionComponent:S=bI,transitionDuration:T=s,TransitionProps:C}=n,x=(0,aA.A)(n,ek),A=(0,TA.A)({},n,{disableEscapeKeyDown:d,fullScreen:f,fullWidth:p,maxWidth:m,scroll:E}),I=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:s}
1=e,o={root:["root"],container:["container",`scroll${(0,IA.A)(n)}`],paper:["paper",`paperScroll${(0,IA.A)(n)}`,`paperWidth${(0,IA.A)(String(r))}`,i&&"paperFullWidth",s&&"paperFullScreen"]};return(0,xA.A)(o,YI,t)})(A),k=i.useRef(),P=(0,AA.A)(a),N=i.useMemo((()=>({titleId:P})),[P]);return(0,iA.jsx)(nk,(0,TA.A)({className:(0,CA.A)(I.root,h),closeAfterTransition:!0,components:{Backdrop:tk},componentsProps:{backdrop:(0,TA.A)({transitionDuration:T,as:l},c)},disableEscapeKeyDown:d,onClose:v,open:y,ref:t,onClick:e=>{_&&_(e),k.current&&(k.current=null,g&&g(e),v&&v(e,"backdropClick"))},ownerState:A},x,{children:(0,iA.jsx)(S,(0,TA.A)({appear:!0,in:y,timeout:T,role:"presentation"},C,{children:(0,iA.jsx)(rk,{className:(0,CA.A)(I.container),onMouseDown:e=>{k.current=e.target===e.currentTarget},ownerState:A,children:(0,iA.jsx)(ik,(0,TA.A)({as:b,elevation:24,role:"dialog","aria-describedby":o,"aria-labelledby":P},w,{className:(0,CA.A)(I.paper,w.className),ownerState:A,children:(0,iA.jsx)(ZI.Provider,{value:N,children:u})}))})}))}))})),ok=sk;(0,KA.Ay)(ok)((({theme:e})=>({"& .MuiDialog-paper":{width:"700px",maxWidth:"1000px"},"& .MuiDialogContent-root":{padding:e.spacing(2)},"& .MuiDialogActions-root":{padding:e.spacing(1)}})));n(6885),n(7641);n(2990),n(214);var ak=n(9724);function lk(e){return(0,EI.Ay)("MuiTypography",e)}(0,wI.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const ck=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],uk=(0,KA.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${(0,IA.A)(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>(0,TA.A)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),hk={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},dk={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},fk=i.forwardRef((function(e,t){const n=(0,GA.b)({props:e,name:"MuiTypography"}),r=(e=>dk[e]||e)(n.color),i=(0,ak.A)((0,TA.A)({},n,{color:r})),{align:s="inherit",className:o,component:a,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:h="body1",variantMapping:d=hk}=i,f=(0,aA.A)(i,ck),p=(0,TA.A)({},i,{align:s,color:r,className:o,component:a,gutterBottom:l,noWrap:c,paragraph:u,variant:h,variantMapping:d}),m=a||(u?"p":d[h]||hk[h])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:s,classes:o}=e,a={root:["root",s,"inherit"!==e.align&&`align${(0,IA.A)(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return(0,xA.A)(a,lk,o)})(p);return(0,iA.jsx)(uk,(0,TA.A)({as:m,ref:t,ownerState:p,className:(0,CA.A)(g.root,o)},f))})),pk=fk,mk=e=>{if(e){const t=Vw.onChange((n=>{"removed"===n.status&&(t(),e())}))}},gk=(e,t)=>{mk(t),Vw.success((()=>(0,iA.jsx)(pk,{children:e})))},_k=(e,t)=>{mk(t),Vw.error((()=>(0,iA.jsx)(pk,{fontSize:"1rem",children:e})))};n(2499),n(758);(0,KA.Ay)(XI)((({theme:e})=>Object.assign({backgroundColor:"dark"===e.palette.mode?"#1A2027":"#fff"},e.typography.body2,{padding:e.spacing(1),textAlign:"center",color:e.palette.text.secondary})));
1var vk=n(333);const yk=(0,wI.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var bk=n(1508);const wk={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Ek=({theme:e,ownerState:t})=>{const n=(e=>wk[e]||e)(t.color),r=(0,bk.Yn)(e,`palette.${n}`,!1)||t.color,i=(0,bk.Yn)(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:(0,HI.X4)(r,.4)};(0,KA.Ay)(pk,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${(0,IA.A)(n.underline)}`],"button"===n.component&&t.button]}})((({theme:e,ownerState:t})=>(0,TA.A)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,TA.A)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:Ek({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${yk.focusVisible}`]:{outline:"auto"}})));var Sk=n(2399),Tk=n(1152);function Ck(e){return(0,EI.Ay)("MuiCollapse",e)}(0,wI.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const xk=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Ak=(0,KA.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>(0,TA.A)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,TA.A)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),Ik=(0,KA.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>(0,TA.A)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),kk=(0,KA.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>(0,TA.A)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),Pk=i.forwardRef((function(e,t){const n=(0,GA.b)({props:e,name:"MuiCollapse"}),{addEndListener:r,children:s,className:o,collapsedSize:a="0px",component:l,easing:c,in:u,onEnter:h,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:g,orientation:_="vertical",style:v,timeout:y=Tk.p0.standard,TransitionComponent:b=oI}=n,w=(0,aA.A)(n,xk),E=(0,TA.A)({},n,{orientation:_,collapsedSize:a}),S=(e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,xA.A)(r,Ck,n)})(E),T=pI(),C=(0,Sk.A)(),x=i.useRef(null),A=i.useRef(),I="number"==typeof a?`${a}px`:a,k="horizontal"===_,P=k?"width":"height",N=i.useRef(null),R=(0,gI.A)(t,N),O=e=>t=>{if(e){const n=N.current;void 0===t?e(n):e(n,t)}},D=()=>x.current?x.current[k?"clientWidth":"clientHeight"]:0,F=O(((e,t)=>{x.current&&k&&(x.current.style.position="absolute"),e.style[P]=I,h&&h(e,t)})),L=O(((e,t)=>{const n=D();x.current&&k&&(x.current.style.position="");const{duration:r,easing:i}=mI({style:v,timeout:y,easing:c},{mode:"enter"});if("auto"===y){const t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,A.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[P]=`${n}px`,e.style.transitionTimingFunction=i,f&&f(e,t)})),j=O(((e,t)=>{e.style[P]="auto",d&&d(e,t)})),M=O((e=>{e.style[P]=`${D()}px`,p&&p(e)})),U=O(m),V=O((e=>{const t=D(),{duration:n,easing:r}=mI({style:v,timeout:y,easing:c},{mode:"exit"});if("auto"===y){const n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,A.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[P]=I,e.style.transitionTimingFunction=r,g&&g(e)}));return(0,iA.jsx)(b,(0,TA.A)({in:u,onEnter:F,onEntered:j,onEntering:L,onExit:M,onExited:U,onExiting:V,addEndListener:e=>{"auto"===y&&C.start(A.current||0,e),r&&r(N.current,e)},nodeRef:N,timeout:"auto"===y?null:y},w,{children:(e,t)=>(0,iA.jsx)(Ak,(0,TA.A)({as:l,className:(0,CA.A)(S.root,o,{entered:S.entered,exited:!u&&"0px"===I&&S.hidden}[e]),style:(0,TA.A)({[k?"minWidth":"minHeight"]:I},v),ref:R},t,{ownerState:(0,TA.A)({},E,{state:e}),children:(0,iA.jsx)(Ik,{ownerState:(0,TA.A)({},E,{state:e}),className:S.wrapper,ref:x,children:(0,iA.jsx)(kk,{ownerState:(0,TA.A)({},E,{state:e}),className:S.wrapperInner,children:s})})}))}))}));Pk.muiSupportAuto=!0;n(4066);const Nk=(0,wI.A)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);(0,KA.Ay)(XI,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Nk.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${Nk.expanded}`]:{"&::before":{opacity:0}
1,"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Nk.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${Nk.expanded}`]:{margin:"16px 0"}}}]})));var Rk=n(6113);function Ok(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function Dk(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Fk(e,t,n){var r=Ok(e.children),s=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),s=[];for(var o in e)o in t?s.length&&(i[o]=s,s=[]):s.push(o);var a={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++){var c=i[l][r];a[i[l][r]]=n(c)}a[l]=n(l)}for(r=0;r<s.length;r++)a[s[r]]=n(s[r]);return a}(t,r);return Object.keys(s).forEach((function(o){var a=s[o];if((0,i.isValidElement)(a)){var l=o in t,c=o in r,u=t[o],h=(0,i.isValidElement)(u)&&!u.props.in;!c||l&&!h?c||!l||h?c&&l&&(0,i.isValidElement)(u)&&(s[o]=(0,i.cloneElement)(a,{onExited:n.bind(null,a),in:u.props.in,exit:Dk(a,"exit",e),enter:Dk(a,"enter",e)})):s[o]=(0,i.cloneElement)(a,{in:!1}):s[o]=(0,i.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:Dk(a,"exit",e),enter:Dk(a,"enter",e)})}})),s}var Lk=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},jk=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}XA(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,s=t.children,o=t.handleExited;
vendor: 10,867 bytes, lines 1-74
1return{children:t.firstRender?(n=e,r=o,Ok(n.children,(function(e){return(0,i.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:Dk(e,"appear",n),enter:Dk(e,"enter",n),exit:Dk(e,"exit",n)})}))):Fk(e,s,o),firstRender:!1}},n.handleExited=function(e,t){var n=Ok(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,TA.A)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,aA.A)(e,["component","childFactory"]),s=this.state.contextValue,o=Lk(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i.createElement(JA.Provider,{value:s},o):i.createElement(JA.Provider,{value:s},i.createElement(t,r,o))},t}(i.Component);jk.propTypes={},jk.defaultProps={component:"div",childFactory:function(e){return e}};const Mk=jk;var Uk=n(5428);const Vk=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:o,rippleSize:a,in:l,onExited:c,timeout:u}=e,[h,d]=i.useState(!1),f=(0,CA.A)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:a,height:a,top:-a/2+o,left:-a/2+s},m=(0,CA.A)(n.child,h&&n.childLeaving,r&&n.childPulsate);return l||h||d(!0),i.useEffect((()=>{if(!l&&null!=c){const e=setTimeout(c,u);return()=>{clearTimeout(e)}}}),[c,l,u]),(0,iA.jsx)("span",{className:f,style:p,children:(0,iA.jsx)("span",{className:m})})};const Bk=(0,wI.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),$k=["center","classes","className"];let zk,Hk,Wk,qk,Kk=e=>e;const Gk=(0,Uk.i7)(zk||(zk=Kk` 2 0% { 3 transform: scale(0); 4 opacity: 0.1; 5 } 6 7 100% { 8 transform: scale(1); 9 opacity: 0.3; 10 } 11`)),Qk=(0,Uk.i7)(Hk||(Hk=Kk` 12 0% { 13 opacity: 1; 14 } 15 16 100% { 17 opacity: 0; 18 } 19`)),Xk=(0,Uk.i7)(Wk||(Wk=Kk` 20 0% { 21 transform: scale(1); 22 } 23 24 50% { 25 transform: scale(0.92); 26 } 27 28 100% { 29 transform: scale(1); 30 } 31`)),Yk=(0,KA.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Jk=(0,KA.Ay)(Vk,{name:"MuiTouchRipple",slot:"Ripple"})(qk||(qk=Kk` 32 opacity: 0; 33 position: absolute; 34 35 &.${0} { 36 opacity: 0.3; 37 transform: scale(1); 38 animation-name: ${0}; 39 animation-duration: ${0}ms; 40 animation-timing-function: ${0}; 41 } 42 43 &.${0} { 44 animation-duration: ${0}ms; 45 } 46 47 & .${0} { 48 opacity: 1; 49 display: block; 50 width: 100%; 51 height: 100%; 52 border-radius: 50%; 53 background-color: currentColor; 54 } 55 56 & .${0} { 57 opacity: 0; 58 animation-name: ${0}; 59 animation-duration: ${0}ms; 60 animation-timing-function: ${0}; 61 } 62 63 & .${0} { 64 position: absolute; 65 /* @noflip */ 66 left: 0px; 67 top: 0; 68 animation-name: ${0}; 69 animation-duration: 2500ms; 70 animation-timing-function: ${0}; 71 animation-iteration-count: infinite; 72 animation-delay: 200ms; 73 } 74`),Bk.rippleVisible,Gk,550,(({theme:e})=>e.transitions.easing.easeInOut),Bk.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Bk.child,Bk.childLeaving,Qk,550,(({theme:e})=>e.transitions.easing.easeInOut),Bk.childPulsate,Xk,(({theme:e})=>e.transitions.easing.easeInOut)),Zk=i.forwardRef((function(e,t){const n=(0,GA.b)({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:s={},className:o}=n,a=(0,aA.A)(n,$k),[l,c]=i.useState([]),u=i.useRef(0),h=i.useRef(null);i.useEffect((()=>{h.current&&(h.current(),h.current=null)}),[l]);const d=i.useRef(!1),f=(0,Sk.A)(),p=i.useRef(null),m=i.useRef(null),g=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:o}=e;c((e=>[...e,(0,iA.jsx)(Jk,{classes:{ripple:(0,CA.A)(s.ripple,Bk.ripple),rippleVisible:(0,CA.A)(s.rippleVisible,Bk.rippleVisible),ripplePulsate:(0,CA.A)(s.ripplePulsate,Bk.ripplePulsate),child:(0,CA.A)(s.child,Bk.child),childLeaving:(0,CA.A)(s.childLeaving,Bk.childLeaving),childPulsate:(0,CA.A)(s.childPulsate,Bk.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)])),u.current+=1,h.current=o}),[s]),_=i.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:i=!1,center:s=r||t.pulsate,fakeElement:o=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const a=o?null:m.current,l=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,h;if(s||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(s)h=Math.sqrt((2*l.width**2+l.height**2)/3),h%2==0&&(h+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-u),u)+2;h=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===p.current&&(p.current=()=>{g({pulsate:i,rippleX:c,rippleY:u,rippleSize:h,cb:n})},f.start(80,(()=>{p.current&&(p.current(),p.current=null)}))):g({pulsate:i,rippleX:c,rippleY:u,rippleSize:h,cb:n})}),[r,g,f]),v=i.useCallback((()=>{_({},{pulsate:!0})}),[_]),y=i.useCallback(((e,t)=>{if(f.clear(),"touchend"===(null==e?void 0:e.type)&&p.current)return p.current(),p.current=null,void f.start(0,(()=>{y(e,t)}));p.current=null,c((e=>e.length>0?e.slice(1):e)),h.current=t}),[f]);return i.useImperativeHandle(t,(()=>({pulsate:v,start:_,stop:y})),[v,_,y]),(0,iA.jsx)(Yk,(0,TA.A)({className:(0,CA.A)(Bk.root,s.root,o),ref:m},a,{children:(0,iA.jsx)(Mk,{component:null,exit:!0,children:l})}))})),eP=Zk;function tP(e){return(0,EI.Ay)("MuiButtonBase",e)}const nP=(0,wI.A)("MuiButtonBase",["root","disabled","focusVisible"]),rP=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],iP=(0,KA.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${nP.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),sP=i.forwardRef((function(e,t){const n=(0,GA.b)({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:s=!1,children:o,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:p,onClick:m,onContextMenu:g,onDragLeave:_,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:w,onMouseDown:E,onMouseLeave:S,onMouseUp:T,onTouchEnd:C,onTouchMove:x,onTouchStart:A,tabIndex:I=0,TouchRippleProps:k,touchRippleRef:P,type:N}=n,R=(0,aA.A)(n,rP),O=i.useRef(null),D=i.useRef(null),F=(0,gI.A)(D,P),{isFocusVisibleRef:L,onFocus:j,onBlur:M,ref:U}=(0,vk.A)(),[V,B]=i.useState(!1);c&&V&&B(!1),i.useImperativeHandle(r,(()=>({focusVisible:()=>{B(!0),O.current.focus()}})),[]);const[$,z]=i.useState(!1);i.useEffect((()=>{z(!0)}),[]);const H=$&&!u&&!c;function W(e,t,n=h){return(0,Rk.A)((r=>{t&&t(r);return!n&&D.current&&D.current[e](r),!0}))}i.useEffect((()=>{V&&d&&!u&&$&&D.current.pulsate()}),[u,d,V,$]);const q=W("start",E),K=W("stop",g),G=W("stop",_),Q=W("stop",T),X=W("stop",(e=>{V&&e.preventDefault(),S&&S(e)})),Y=W("start",A),J=W("stop",C),Z=W("stop",x),ee=W("stop",(e=>{M(e),!1===L.current&&B(!1),p&&p(e)}),!1),te=(0,Rk.A)((e=>{O.current||(O.current=e.currentTarget),j(e),!0===L.current&&(B(!0),y&&y(e)),v&&v(e)})),ne=()=>{const e=O.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=i.useRef(!1),ie=(0,Rk.A)((e=>{d&&!re.current&&V&&D.current&&" "===e.key&&(re.current=!0,D.current.stop(e,(()=>{D.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!c&&(e.preventDefault(),m&&m(e))})),se=(0,Rk.A)((e=>{d&&" "===e.key&&D.current&&V&&!e.defaultPrevented&&(re.current=!1,D.current.stop(e,(()=>{D.current.pulsate(e)}))),w&&w(e),m&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let oe=l;"button"===oe&&(R.href||R.to)&&(oe=f);const ae={};"button"===oe?(ae.type=void 0===N?"button":N,ae.disabled=c):(R.href||R.to||(ae.role="button"),c&&(ae["aria-disabled"]=c));const le=(0,gI.A)(t,U,O);const ce=(0,TA.A)({},n,{centerRipple:s,component:l,disabled:c,disableRipple:u,disableTouchRipple:h,focusRipple:d,tabIndex:I,focusVisible:V}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s={root:["root",t&&"disabled",n&&"focusVisible"]},o=(0,xA.A)(s,tP,i);return n&&r&&(o.root+=` ${r}`),o})(ce);return(0,iA.jsxs)(iP,(0,TA.A)({as:oe,className:(0,CA.A)(ue.root,a),ownerState:ce,onBlur:ee,onClick:m,onContextMenu:K,onFocus:te,onKeyDown:ie,onKeyUp:se,onMouseDown:q,onMouseLeave:X,onMouseUp:Q,onDragLeave:G,onTouchEnd:J,onTouchMove:Z,onTouchStart:Y,ref:le,tabIndex:c?-1:I,type:N},ae,R,{children:[o,H?(0,iA.jsx)(eP,(0,TA.A)({ref:F,center:s},k)):null]}))})),oP=sP;const aP=(0,wI.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);(0,KA.Ay)(oP,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${aP.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${aP.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${aP.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${aP.expanded}`]:{minHeight:64}}}]}})),(0,KA.Ay)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${aP.expanded}`]:{margin:"20px 0"}}}]}))),(0,KA.Ay)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${aP.expanded}`]:{transform:"rotate(180deg)"}})));
74(0,wI.A)("MuiAccordionDetails",["root"]),(0,KA.Ay)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)})));(0,wI.A)("MuiTableContainer",["root"]),(0,KA.Ay)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"});(0,wI.A)("MuiTable",["root","stickyHeader"]),(0,KA.Ay)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,TA.A)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,TA.A)({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})));(0,wI.A)("MuiTableBody",["root"]),(0,KA.Ay)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"});const lP=(0,wI.A)("MuiTableRow",["root","selected","hover","head","footer"]);(0,KA.Ay)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${lP.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${lP.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,HI.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,HI.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})));const cP=(0,wI.A)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);(0,KA.Ay)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,IA.A)(n.size)}`],"normal"!==n.padding&&t[`padding${(0,IA.A)(n.padding)}`],"inherit"!==n.align&&t[`align${(0,IA.A)(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,TA.A)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?(0,HI.a)((0,HI.X4)(e.palette.divider,1),.88):(0,HI.e$)((0,HI.X4)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${cP.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})));n(8259);function uP(e,t){var n=t&&t.cache?t.cache:_P,r=t&&t.serializer?t.serializer:mP;return(t&&t.strategy?t.strategy:pP)(e,{cache:n,serializer:r})}function hP(e,t,n,r){var i,s=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),o=t.get(s);return void 0===o&&(o=e.call(this,r),t.set(s,o)),o}function dP(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),s=t.get(i);return void 0===s&&(s=e.apply(this,r),t.set(i,s)),s}function fP(e,t,n,r,i){return n.bind(t,e,r,i)}function pP(e,t){return fP(e,this,1===e.length?hP:dP,t.cache.create(),t.serializer)}var mP=function(){return JSON.stringify(arguments)};function gP(){this.cache=Object.create(null)}gP.prototype.get=function(e){return this.cache[e]},gP.prototype.set=function(e,t){this.cache[e]=t};var _P={create:function(){return new gP}},vP={variadic:function(e,t){return fP(e,this,dP,t.cache.create(),t.serializer)},monadic:function(e,t){return fP(e,this,hP,t.cache.create(),t.serializer)}};uP((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Un([void 0],t,!1)))}),{strategy:vP.variadic}),uP((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Un([void 0],t,!1)))}),{strategy:vP.variadic}),uP((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Un([void 0],t,!1)))}),{strategy:vP.variadic}),uP((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.Locale).bind.apply(e,Un([void 0],t,!1)))}),{strategy:vP.variadic}),uP((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.ListFormat).bind.apply(e,Un([void 0],t,!1)))}),{strategy:vP.variadic});jn(jn({},{formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}}),{textComponent:i.Fragment});var yP="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?i.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=i.createContext(null));yP.Consumer,yP.Provider;window.btoa({NX_APP_FIREBASE_API_KEY:"AIzaSyAqrnh278DkaUjuVEBfLGtZwa0cEtP3n1o",NX_APP_FIREBASE_AUTH_DOMAIN:"shift-89fes2024.firebaseapp.com",NX_APP_FIREBASE_PROJECT_ID:"shift-89fes2024",NX_APP_FIREBASE_STORAGE_BUCKET:"shift-89fes2024.appspot.com",NX_APP_FIREBASE_MESSAGING_SENDER_ID:"170484621347",NX_APP_FIREBASE_APP_ID:"1:170484621347:web:0e749d623ded68ff29d196",NX_APP_FIREBASE_MEASUREMENT_ID:"G-0B5PH9DBTL",NX_APP_ENVIRONMENT:"production",NX_CLI_SET:"true",NX_LOAD_DOT_ENV_FILES:"true",NX_WORKSPACE_ROOT:"/Users/phuc.bui/working/bugfes2024-prod/design-form",NX_TERMINAL_OUTPUT_PATH:"/Users/phuc.bui/working/bugfes2024-prod/design-form/node_modules/.cache/nx/terminalOutputs/5379331968827017544",NX_STREAM_OUTPUT:"true",NX_TASK_TARGET_PROJECT:"shift89fes2024-front",NX_TASK_TARGET_TARGET:"build",NX_TASK_TARGET_CONFIGURATION:"production",NX_TASK_HASH:"5379331968827017544"}.NX_APP_VERIFY_RECAPTCHA_URL||"");const bP={border:"0.1rem solid #d70027"},wP=e=>{const{formik:t}=e,n=ne();return(0,iA.jsx)("section",{className:"p-registerAccount",children:(0,iA.jsx)("div",{className:"p-registerAccount_inner",children:(0,iA.jsxs)("div",{className:"p-registerAccount_content",children:[(0,iA.jsx)("h1",{className:"p-registerAccount_logo",children:(0,iA.jsx)("img",{src:"../assets/img/registerAccount/logo.svg",alt:"89FES \u30d0\u30b0\u796d\u308a2024 SHIFT presents",width:"164",height:"63"})}),(0,iA.jsx)("p",{className:"p-registerAccount_ttl",children:"\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u767b\u9332\u3057\u3066\u304f\u3060\u3055\u3044"}),(0,iA.jsx)(DC,{value:t,children:(0,iA.jsxs)("form",{className:"p-registerAccount_form",onSubmit:t.handleSubmit,children:[(0,iA.jsx)("input",{type:"text",name:"name",id:"name",value:t.values.name,className:"p-registerAccount_input",onChange:t.handleChange,style:t.errors.name?Object.assign({},bP,{width:"100%"}):{width:"100%"}}),t.touched.name&&Boolean(t.errors.name)&&t.errors.name&&(0,iA.jsx)("div",{style:{display:"flex",justifyContent:"flex-start"},children:(0,iA.jsx)("span",{style:{color:"#d70027"},children:t.errors.name})}),(0,iA.jsxs)("p",{className:"p-registerAccount_txt",children:["\u30e6\u30fc\u30b6\u30fc\u540d\u306f\u30b5\u30a4\u30c8\u5185\u3067\u30b3\u30e1\u30f3\u30c8\u3092\u3057\u305f\u969b\u306b\u516c\u958b\u3055\u308c\u307e\u3059\u3002",(0,iA.jsx)("br",{}),"\uff08\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u753b\u9762\u304b\u3089\u3044\u3064\u3067\u3082\u5909\u66f4\u3067\u304d\u307e\u3059\u3002\uff09"]}),(0,iA.jsxs)("ul",{className:"p-registerAccount_btnList",children:[(0,iA.jsx)("li",{className:"p-registerAccount_btnItem",children:(0,iA.jsx)("button",{className:"p-registerAccount_btn",type:"button",onClick:()=>n("/home"),children:"\u30ad\u30e3\u30f3\u30bb\u30eb"})}),(0,iA.jsx)("li",{className:"p-registerAccount_btnItem",children:(0,iA.jsx)("button",{className:"p-registerAccount_btn p-registerAccount_btn-save",type:"submit",children:"\u4fdd\u5b58\u3059\u308b"})})]})]})})]})})})},EP=()=>(0,iA.jsxs)("div",{className:"p-form_content",children:[(0,iA.jsx)("h2",{className:"p-form_ttl",children:"\u9001\u4fe1\u5b8c\u4e86"}),(0,iA.jsx)("div",{className:"p-form_formInner",children:(0,iA.jsx)("div",{className:"p-form_formBlockWrap",children:(0,iA.jsx)("p",{children:"\u30d1\u30b9\u30ef\u30fc\u30c9\u518d\u8a2d\u5b9a\u7528URL\u8a18\u8f09\u306e\u30e1\u30fc\u30eb\u3092\u304a\u9001\u308a\u3057\u307e\u3057\u305f\u306e\u3067 \u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002"})})})]}),SP=()=>(0,iA.jsx)("footer",{className:"l-footer",children:(0,iA.jsxs)("div",{className:"l-footer_inner",children:[(0,iA.jsxs)("picture",{className:"l-footer_logo",children:[(0,iA.jsx)("source",{srcSet:"./assets/img/footer/logo.webp",type:"image/webp"}),(0,iA.jsx)("img",{src:"./assets/img/footer/logo.png",alt:"SHIFT GROUP"})]}),(0,iA.jsx)("nav",{className:"l-footer_nav",children:(0,iA.jsxs)("ul",{className:"l-footer_list",children:[(0,iA.jsx)("li",{className:"l-footer_item",children:(0,iA.jsx)("a",{href:"https://www.shiftinc.jp/",target:"_blank",className:"l-footer_link",children:"\u30b3\u30fc\u30dd\u30ec\u30fc\u30c8\u30b5\u30a4\u30c8"})}),(0,iA.jsx)("li",{className:"l-footer_item",children:(0,iA.jsx)("a",{href:"https://service.shiftinc.jp/",target:"_blank",className:"l-footer_link",children:"\u30b5\u30fc\u30d3\u30b9\u30b5\u30a4\u30c8"})}),(0,iA.jsx)("li",{className:"l-footer_item",children:(0,iA.jsx)("a",{href:"https://recruit.shiftinc.jp/",target:"_blank",className:"l-footer_link",children:"\u63a1\u7528\u30b5\u30a4\u30c8"})}),(0,iA.jsx)("li",{className:"l-footer_item",children:(0,iA.jsx)("a",{href:"https://www.shiftinc.jp/isms/",target:"_blank",className:"l-footer_link",children:"\u60c5\u5831\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30dd\u30ea\u30b7\u30fc"})}),(0,iA.jsx)("li",{className:"l-footer_item",children:(0,iA.jsx)("a",{href:"https://www.shiftinc.jp/privacy/",target:"_blank",className:"l-footer_link",children:"\u500b\u4eba\u60c5\u5831\u306e\u53d6\u308a\u6271\u3044\u306b\u3064\u3044\u3066"})}),(0,iA.jsx)("li",{className:"l-footer_item",children:(0,iA.jsx)("a",{href:"https://www.shiftinc.jp/contact/",target:"_blank",className:"l-footer_link",children:"\u304a\u554f\u3044\u5408\u308f\u305b"})})]})}),(0,iA.jsxs)("div",{className:"l-footer_share",children:[(0,iA.jsx)("p",{className:"l-footer_shareTxt",children:"Share"}),(0,iA.jsxs)("ul",{className:"l-footer_shareList",children:[(0,iA.jsx)("li",{className:"l-footer_shareItem",children:(0,iA.jsx)("a",{href:"https://twitter.com/intent/tweet?url=https%3A%2F%2Fshift-89fes2024.web.app%2F",rel:"nofollow",onClick:e=>(e.preventDefault(),window.open(e.currentTarget.href,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600"),!1),className:"l-footer_shareLink",children:(0,iA.jsxs)("picture",{className:"l-footer_logo",children:[(0,iA.jsx)("source",{srcSet:"./assets/img/footer/icon-x.webp",type:"image/webp"}),(0,iA.jsx)("img",{src:"./assets/img/footer/icon-x.png",alt:"X"})]})})}),(0,iA.jsx)("li",{className:"l-footer_shareItem",children:(0,iA.jsx)("a",{href:"https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fshift-89fes2024.web.app%2F",onClick:e=>(e.preventDefault(),window.open(e.currentTarget.href,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600"),!1),rel:"nofollow",className:"l-footer_shareLink",children:(0,iA.jsxs)("picture",{className:"l-footer_logo",children:[(0,iA.jsx)("source",{srcSet:"./assets/img/footer/icon-fe.webp",type:"image/webp"}),(0,iA.jsx)("img",{src:"./assets/img/footer/icon-fe.png",alt:"Facebook"})]})})})]})]}),(0,iA.jsx)("p",{className:"l-footer_copyright",children:"Copyright SHIFT Inc. All Rights Reserved."})]})});var TP=function(e){return e.OPEN="\u30e1\u30cb\u30e5\u30fc\u9805\u76ee\u3092\u958b\u304f",e.CLOSE="\u30e1\u30cb\u30e5\u30fc\u9805\u76ee\u3092\u9589\u3058\u308b",e}(TP||{});const CP=e=>{const{showMenu:t}=e,n=(ne(),(0,i.useRef)(null)),r=(0,i.useRef)(null),s=(0,i.useRef)(null),[o,a]=(0,i.useState)(!0),[l,c]=(0,i.useState)(!1),[u,h]=(0,i.useState)(TP.OPEN),d=aw(),{data:f}
74=Hb(Hw.getSettingDocumentRef(d)),p=(0,i.useMemo)((()=>s.current?s.current.offsetHeight:0),[s]),m=()=>{var e,t;window.scrollY>p?null==(e=s.current)||e.classList.add("js-active"):null==(t=s.current)||t.classList.remove("js-active")};(0,i.useEffect)((()=>{s.current&&t&&window.addEventListener("scroll",m)}),[s,t]);const g=!!f&&pN.isShowRegister(f),_=!!f&&pN.isShowLogin(f),v=!!f&&pN.isShowInquiry(f);return(0,iA.jsxs)("header",{ref:s,id:"l-header",className:"l-header",children:[(0,iA.jsxs)("div",{className:"l-header_inner",children:[(0,iA.jsx)("nav",{children:(0,iA.jsxs)("ul",{className:"l-header_list",children:[(0,iA.jsx)("li",{className:"l-header_listItem l-header_listItem-logo",children:(0,iA.jsx)("a",{href:"#",children:(0,iA.jsx)("img",{src:"./assets/img/header/header.svg",alt:"SHIFT GROUP 89FES 2024 \u30d0\u30b0\u796d\u308a"})})}),t&&(0,iA.jsx)("li",{className:"l-header_listItem l-header_listItem-nav",children:(0,iA.jsxs)("ul",{className:"l-header_nav",children:[(0,iA.jsx)("li",{className:"l-header_navItem",children:(0,iA.jsx)("a",{href:"#intro",className:"l-header_navLink",children:"Introduction"})}),(0,iA.jsx)("li",{className:"l-header_navItem",children:(0,iA.jsx)("a",{href:"#pickup",className:"l-header_navLink",children:"Pick Up"})}),(0,iA.jsx)("li",{className:"l-header_navItem",children:(0,iA.jsx)("a",{href:"#about",className:"l-header_navLink",children:"About"})}),(0,iA.jsx)("li",{className:"l-header_navItem",children:(0,iA.jsx)("a",{href:"#program",className:"l-header_navLink",children:"Program"})}),(0,iA.jsx)("li",{className:"l-header_navItem",children:(0,iA.jsx)("a",{href:"#outline",className:"l-header_navLink",children:"Outline"})})]})}),t&&(0,iA.jsx)("li",{className:"l-header_listItem l-header_listItem-btn",children:(0,iA.jsxs)("ul",{className:"l-header_btns",children:[v&&(0,iA.jsx)("li",{className:"l-header_btnItem",children:(0,iA.jsx)("a",{href:"https://contents.shiftinc.jp/shift-89fes2024/",target:"_blank",className:"l-header_btnLink l-header_btnLink-signup",children:"\u304a\u554f\u3044\u5408\u308f\u305b"})}),g&&(0,iA.jsx)("li",{className:"l-header_btnItem",children:(0,iA.jsx)("a",{href:"/registration",className:"l-header_btnLink l-header_btnLink-signup",children:"\u8996\u8074\u7533\u3057\u8fbc\u307f"})}),_&&(0,iA.jsx)("li",{className:"l-header_btnItem",children:(0,iA.jsx)("a",{href:"/login",className:"l-header_btnLink l-header_btnLink-signin",children:"\u30ed\u30b0\u30a4\u30f3"})})]})})]})}),t&&(0,iA.jsx)("div",{id:"l-header_hamburgerMenu",children:(0,iA.jsx)("nav",{className:"l-header_hamburgerMenu",children:(0,iA.jsxs)("button",{onClick:()=>{a((e=>!e)),c((e=>!e)),h((e=>e===TP.CLOSE?TP.OPEN:TP.CLOSE))},ref:r,"aria-controls":"l-header_modal","aria-expanded":l,"aria-label":u,id:"l-header_hamburgerMenu_btn",className:"l-header_hamburgerMenu_btn",children:[(0,iA.jsx)("span",{className:"l-header_hamburgerMenu_line"}),(0,iA.jsx)("span",{className:"l-header_hamburgerMenu_line"}),(0,iA.jsx)("span",{className:"l-header_hamburgerMenu_line"})]})})})]}),t&&(0,iA.jsxs)("div",{ref:n,id:"l-header_modal","aria-hidden":o,onClick:()=>{a(!0),c(!1),h(TP.OPEN)},children:[(0,iA.jsx)("div",{className:"l-header_modal",children:(0,iA.jsxs)("ul",{className:"l-header_modalList",children:[(0,iA.jsx)("li",{className:"l-header_modalListItem l-header_modalListItem-nav",children:(0,iA.jsxs)("ul",{className:"l-header_modalNav",children:[(0,iA.jsx)("li",{className:"l-header_modalNavItem",children:(0,iA.jsxs)("a",{href:"#intro",className:"l-header_modalNavLink",children:[(0,iA.jsx)("span",{className:"l-header_modalNavEn",children:"Introduction"}),(0,iA.jsx)("span",{className:"l-header_modalNavJp",children:"\u306f\u3058\u3081\u306b"})]})}),(0,iA.jsx)("li",{className:"l-header_modalNavItem",children:(0,iA.jsxs)("a",{href:"#pickup",className:"l-header_modalNavLink",children:[(0,iA.jsx)("span",{className:"l-header_modalNavEn",children:"Pick Up"}),(0,iA.jsx)("span",{className:"l-header_modalNavJp",children:"\u898b\u3069\u3053\u308d"})]})}),(0,iA.jsx)("li",{className:"l-header_modalNavItem",children:(0,iA.jsxs)("a",{href:"#about",className:"l-header_modalNavLink",children:[(0,iA.jsx)("span",{className:"l-header_modalNavEn",children:"About"}),(0,iA.jsx)("span",{className:"l-header_modalNavJp",children:"89\u796d\uff08\u30d0\u30b0\u307e\u3064\u308a\uff09\u3068\u306f\uff1f"})]})}),(0,iA.jsx)("li",{className:"l-header_modalNavItem",children:(0,iA.jsxs)("a",{href:"#program",className:"l-header_modalNavLink",children:[(0,iA.jsx)("span",{className:"l-header_modalNavEn",children:"Program"}),(0,iA.jsx)("span",{className:"l-header_modalNavJp",children:"\u30d7\u30ed\u30b0\u30e9\u30e0"})]})}),(0,iA.jsx)("li",{className:"l-header_modalNavItem",children:(0,iA.jsxs)("a",{href:"#outline",className:"l-header_modalNavLink",children:[(0,iA.jsx)("span",{className:"l-header_modalNavEn",children:"Outline"}),(0,iA.jsx)("span",{className:"l-header_modalNavJp",children:"\u958b\u50ac\u6982\u8981"})]})})]})}),(0,iA.jsx)("li",{className:"l-header_modalListItem l-header_modalListItem-btn",children:(0,iA.jsxs)("ul",{className:"l-header_modalBtns",children:[v&&(0,iA.jsx)("li",{className:"l-header_modalBtnItem",children:(0,iA.jsx)("a",{href:"https://contents.shiftinc.jp/shift-89fes2024/",target:"_blank",className:"l-header_modalBtnLink",children:"\u304a\u554f\u3044\u5408\u308f\u305b"})}),g&&(0,iA.jsx)("li",{className:"l-header_modalBtnItem",children:(0,iA.jsx)("a",{href:"/registration",className:"l-header_modalBtnLink",children:"\u8996\u8074\u7533\u3057\u8fbc\u307f"})}),_&&(0,iA.jsx)("li",{className:"l-header_modalBtnItem l-header_modalBtnItem-login",children:(0,iA.jsx)("a",{href:"/login",className:"l-header_modalBtnLink l-header_modalBtnLink-login",children:"\u30ed\u30b0\u30a4\u30f3"})})]})})]})}),(0,iA.jsx)("div",{id:"l-header_modal_overlay",className:"l-header_modal_overlay"})]})]})},xP=[{icon:"\ud83d\udc4d",label:"\u3044\u3044\u306d",type:"like"},{icon:"\ud83d\udc4f",label:"\u62cd\u624b",type:"clap"},{icon:"\ud83d\ude32",label:"\u9a5a\u304d\u30fb\u3078\u301c",type:"surprise"},{icon:"\ud83d\ude02",label:"\u7b11\u3044",type:"haha"},{icon:"\ud83d\udcdd",label:"\u30e1\u30e2\u30fb\u53c2\u8003\u306b\u306a\u308b",type:"note"},{icon:"\u2764\ufe0f",label:"\u30b9\u30da\u30b7\u30e3\u30eb\u3044\u3044\u306d",type:"love"}],AP=({icon:e,type:t,onClick:n,times:r})=>(0,iA.jsxs)("span",{className:"reaction",onClick:e=>n(t),children:[e," ",r]}),IP=({onAction:e,sessionId:t,reactions:n})=>{const r=async n=>{if(t)return e(t,n)},s=(0,i.useMemo)((()=>null==n?void 0:n.reduce(((e,t)=>{for(const n in t){const r=n;"number"==typeof t[r]&&(e[r]?e[r]+=t[r]||0:e[r]=t[r])}return e}),{like:0,clap:0,surprise:0,haha:0,note:0,love:0}
74)),[n])||{like:0,clap:0,surprise:0,haha:0,note:0,love:0};return(0,iA.jsx)("div",{className:"emotion",children:(0,iA.jsx)("div",{className:"reaction-like",children:xP.map((e=>(0,iA.jsx)(AP,{icon:e.icon,type:e.type,onClick:r,times:s[e.type]||""},e.type)))})})};const kP=e=>{const{showQa:t}=e,n=ow(),{data:r}=xb(),s=aw(),{data:o}=Hb(Hw.getSettingDocumentRef(s)),{id:a}=ie(),[l,c]=(0,i.useState)(t||!1);(0,i.useEffect)((()=>(document.body.classList.add("afterLogin"),()=>{document.body.classList.remove("afterLogin")})),[]);const u=(0,i.useCallback)((e=>{Bw.logout(n),e.preventDefault()}),[]),h=(0,i.useRef)(null),d=(0,i.useMemo)((()=>h.current?h.current.offsetHeight:0),[h]),f=()=>{var e,t;window.scrollY>d?null==(e=h.current)||e.classList.add("js-active"):null==(t=h.current)||t.classList.remove("js-active")};(0,i.useEffect)((()=>{h.current&&window.addEventListener("scroll",f)}),[h]);return(0,i.useEffect)((()=>{}),[]),"loading"===status?(0,iA.jsx)(iA.Fragment,{children:"loading"}):(0,iA.jsx)("header",{ref:h,id:"l-header",className:"l-header",children:(0,iA.jsx)("div",{className:"l-header_inner",children:(0,iA.jsx)("nav",{children:(0,iA.jsxs)("ul",{className:"l-header_list",children:[(0,iA.jsx)("li",{className:"l-header_listItem l-header_listItem-logo",children:(0,iA.jsx)("a",{href:"#mv",children:(0,iA.jsx)("img",{src:"/assets/img/header/header.svg",alt:"SHIFT GROUP 89FES 2024 \u30d0\u30b0\u796d\u308a"})})}),(0,iA.jsx)("li",{className:"l-header_listItem l-header_listItem-btn",children:(0,iA.jsxs)("ul",{className:"l-header_btns",children:[l&&(0,iA.jsx)("li",{className:"l-header_btnItem",children:(0,iA.jsx)("button",{onClick:()=>{const e=document.getElementById("p-question-content");if(e){const t=e.getBoundingClientRect().top+window.pageYOffset-70;window.scrollTo({top:t,behavior:"smooth"})}const t=document.getElementById("p-view_accordion");if(t){const e=t.getAttribute("aria-hidden");t.setAttribute("aria-hidden",`${!("true"===e)}`)}const n=document.getElementById("questionBtn");if(n){const e=n.getAttribute("aria-expanded");n.setAttribute("aria-expanded",`${!("true"===e)}`)}},className:"p-view_questionBtn","aria-expanded":"true","aria-controls":"p-view_accordion",children:"\u6c17\u8efd\u306b\u8cea\u554f\u3057\u3066\u307f\u308b"})}),o&&o.surveyLink&&(0,iA.jsx)("li",{className:"l-header_btnItem",children:(0,iA.jsx)("a",{href:o.surveyLink,target:"_blank",className:"l-header_btnLink l-header_btnLink-signup",children:"\u30a2\u30f3\u30b1\u30fc\u30c8"})}),(0,iA.jsxs)("li",{className:"l-header_btnItem l-header_btnItem-dropdown",children:[(0,iA.jsx)("a",{className:"l-header_btnLink l-header_btnLink-mypage",children:(0,iA.jsx)("picture",{className:"p-header_btnImg",children:(0,iA.jsx)("img",{src:"/assets/img/afterLogin/logo.png",alt:"MyPage"})})}),(0,iA.jsxs)("ul",{className:"l-header_dropdown",children:[(0,iA.jsx)("li",{className:"l-header_dropdownItem",children:(0,iA.jsx)("a",{className:"l-header_dropdownLink",children:null==r?void 0:r.email})}),(0,iA.jsx)("li",{className:"l-header_dropdownItem",children:(0,iA.jsx)("a",{href:"/profile",className:"l-header_dropdownLink",children:"\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb"})}),(0,iA.jsx)("li",{className:"l-header_dropdownItem",children:(0,iA.jsx)("a",{className:"l-header_dropdownLink",onClick:u,children:"\u30ed\u30b0\u30a2\u30a6\u30c8"})})]})]})]})})]})})})})},PP=e=>{const{NO_ID_FIELD:t,name:n,description:r,thumbnail:i,participant1:s,participant2:o,setting:a,userAuth:l,onOpenModal:c}=e,u=!!l&&pN.isShowVideo(a);return(0,iA.jsxs)("li",{className:"p-specialSession_listItem",children:[(0,iA.jsx)("a",{onClick:c,className:"p-specialSession_listLink","aria-controls":"p-specialSession_modal"}),(0,iA.jsx)("div",{className:"p-specialSession_listPersonWrap u-pcDb",children:(0,iA.jsx)("picture",{className:"p-specialSession_listPerson",style:{backgroundImage:`url(${i})`}})}),(0,iA.jsxs)("div",{className:"p-specialSession_listTxtArea",children:[(0,iA.jsxs)("div",{className:"p-specialSession_listHead",style:{display:u?"grid":"flex"},children:[(0,iA.jsx)("div",{className:"p-specialSession_listHeadBlock",children:(0,iA.jsx)("picture",{className:"p-specialSession_listHeadImg",children:(0,iA.jsx)("img",{src:"./assets/img/specialSession/list_ttl.svg",alt:"Special Session"})})}),u&&(0,iA.jsx)("a",{href:`/session/${t}`,className:"p-specialSession_listHeadLink u-pcDb",children:"\u8996\u8074\u3059\u308b"})]}),(0,iA.jsxs)("div",{className:"p-specialSession_listPersonWrap u-spDb",children:[(0,iA.jsx)("picture",{className:"p-specialSession_listPerson",children:(0,iA.jsx)("img",{src:i,alt:`${null==s?void 0:s.jobTitle} ${null==s?void 0:s.name} \u6c0f`})}),(0,iA.jsx)("a",{onClick:c,className:"p-specialSession_listIcon","aria-controls":"p-specialSession_modal",children:(0,iA.jsxs)("span",{className:"p-specialSession_listIconTxt",children:["Guest",(0,iA.jsx)("br",{}),"Profile"]})})]}),(0,iA.jsxs)("div",{className:"p-specialSession_listNameArea",children:[(0,iA.jsxs)("p",{className:"p-specialSession_listName",children:[(0,iA.jsx)("span",{className:"p-specialSession_listJob",children:null==s?void 0:s.jobTitle}),(0,iA.jsxs)("span",{children:[null==s?void 0:s.name,(0,iA.jsx)("span",{className:"p-specialSession_listMr",children:"\u6c0f"})]})]}),(0,iA.jsxs)("p",{className:"p-specialSession_listCross",children:[(0,iA.jsx)("span",{className:"p-specialSession_listCrossLine"}),(0,iA.jsx)("span",{className:"p-specialSession_listCrossLine"})]}),(0,iA.jsxs)("p",{className:"p-specialSession_listName",children:[(0,iA.jsx)("span",{className:"p-specialSession_listJob",children:null==o?void 0:o.jobTitle}),(0,iA.jsx)("span",{children:null==o?void 0:o.name})]})]}),u&&(0,iA.jsx)("a",{href:`/session/${t}`,className:"p-specialSession_listHeadLink u-spDb",children:"\u8996\u8074\u3059\u308b"}),(0,iA.jsx)("p",{className:"p-specialSession_listTtl",children:n}),(0,iA.jsx)("p",{className:"p-specialSession_listTxt",children:r})]})]})},NP=e=>{const{open:t,onCloseModal:n,data:r}=e,{jobTitle:i,name:s,thumbnail:o,profile:a}=r;return(0,iA.jsxs)("div",{id:"p-specialSession_modal",className:"p-specialSession_modal","aria-hidden":!t,children:[(0,iA.jsxs)("div",{className:"p-specialSession_modalInner",children:[(0,iA.jsxs)("div",{className:"p-specialSession_modalList",children:[(0,iA.jsx)("div",{className:"p-specialSession_listPersonWrap u-pcDb",children:(0,iA.jsx)("picture",{className:"p-specialSession_listPerson",
74style:{backgroundImage:`url(${o})`}})}),(0,iA.jsxs)("div",{className:"p-specialSession_listTxtArea",children:[(0,iA.jsx)("div",{className:"p-specialSession_listHead p-specialSession_listHead-one",children:(0,iA.jsx)("div",{className:"p-specialSession_listHeadBlock",children:(0,iA.jsx)("picture",{className:"p-specialSession_listHeadImg",children:(0,iA.jsx)("img",{src:"./assets/img/specialSession/list_ttl.svg",alt:"Special Session"})})})}),(0,iA.jsx)("div",{className:"p-specialSession_listPersonWrap",children:(0,iA.jsx)("picture",{className:"p-specialSession_listPerson",children:(0,iA.jsx)("img",{src:r.thumbnail,alt:`${i} ${s} \u6c0f`})})}),(0,iA.jsx)("div",{className:"p-specialSession_listNameArea",children:(0,iA.jsxs)("p",{className:"p-specialSession_listName",children:[(0,iA.jsx)("span",{className:"p-specialSession_listJob",children:r.jobTitle}),(0,iA.jsxs)("span",{children:[s,(0,iA.jsx)("span",{className:"p-specialSession_listMr",children:"\u6c0f"})]})]})}),(0,iA.jsx)("p",{className:"p-specialSession_listModalTtl",children:"Guest Profile"}),(0,iA.jsx)("p",{className:"p-specialSession_listTxt",children:a})]})]}),(0,iA.jsxs)("button",{onClick:n,"aria-controls":"p-specialSession_modal","aria-label":"\u30e2\u30fc\u30c0\u30eb\u3092\u9589\u3058\u308b",className:"p-session_modalCross",children:[(0,iA.jsx)("span",{className:"p-session_modalCrossLine"}),(0,iA.jsx)("span",{className:"p-session_modalCrossLine"})]})]}),(0,iA.jsx)("div",{onClick:n,className:"p-session_modalOverlay","aria-controls":"p-specialSession_modal"})]})},RP=e=>{const{sessions:t,setting:n,userAuth:r}=e,[s,o]=(0,i.useState)(void 0),a=(0,pA.orderBy)(t,["order"],["asc"]);return(0,iA.jsxs)("section",{className:r?"p-afterLoginMv":"p-specialSession",children:[r&&(0,iA.jsxs)(iA.Fragment,{children:[(0,iA.jsx)("div",{className:"p-afterLoginMv_bg"}),(0,iA.jsx)("div",{className:"p-afterLoginMv_textArea",children:(0,iA.jsx)("div",{className:"p-afterLoginMv_logoArea",children:(0,iA.jsx)("h1",{className:"logo",children:(0,iA.jsx)("img",{src:"../assets/img/mv/89logo.svg",alt:"89FES \u30d0\u30b0\u796d\u308a2024\u306e\u898b\u3069\u3053\u308d\uff01 SHIFT presents"})})})})]}),(0,iA.jsx)("div",{className:`p-specialSession_inner ${r&&"p-specialSession_inner-afterLogin"}`,children:(0,iA.jsxs)("div",{className:"p-specialSession_content",children:[!r&&(0,iA.jsxs)(iA.Fragment,{children:[(0,iA.jsx)("h2",{className:"p-specialSession_ttl",children:(0,iA.jsx)("picture",{className:"p-specialSession_ttlImg",children:(0,iA.jsx)("img",{src:"./assets/img/specialSession/ttl.svg",alt:"Special Session"})})}),(0,iA.jsx)("p",{className:"p-specialSession_subTtl",children:"\u30b9\u30da\u30b7\u30e3\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3"})]}),(0,iA.jsx)("ul",{className:"p-specialSession_list",children:a.map(((e,t)=>{const i=e.speakers[0]&&e.speakers[0].members[0]&&{jobTitle:e.speakers[0].members[0].jobTitle,name:e.speakers[0].members[0].fullName,thumbnail:e.thumbnail,profile:e.speakers[0].members[0].profile||""},s=e.speakers[0]&&e.speakers[0].members[1]&&{jobTitle:e.speakers[0].members[1].jobTitle,name:e.speakers[0].members[1].fullName,thumbnail:e.thumbnail,profile:e.speakers[0].members[1].profile||""};return(0,iA.jsx)(PP,{NO_ID_FIELD:e.NO_ID_FIELD,name:e.name,description:e.description,thumbnail:e.thumbnail,onOpenModal:()=>o(i),participant1:i,participant2:s,setting:n,userAuth:r},t)}))})]})}),!r&&(0,iA.jsxs)("picture",{className:"p-specialSession_img",children:[(0,iA.jsx)("source",{media:"(min-width:768px)",srcSet:"./assets/img/specialSession/bg_txt.svg"}),(0,iA.jsx)("img",{src:"./assets/img/specialSession/bg_txt_sp.svg",alt:"Program"})]}),s&&(0,iA.jsx)(NP,{open:void 0!==s,onCloseModal:()=>o(void 0),data:s})]})},OP="all",DP=e=>{const{sessions:t,setting:n,userAuth:r}=e,[s,o]=(0,i.useState)([]),[a,l]=(0,i.useState)([]),[c,u]=(0,i.useState)(OP),[h,d]=(0,i.useState)(),[f,p]=(0,i.useState)(!1),m=(0,i.useCallback)((e=>{u(e)}),[]),g=(0,i.useCallback)((e=>{a.includes(e)?l(a.filter((t=>t!==e))):l([...a,e])}),[a]),_=(0,i.useCallback)((e=>{s.includes(e)?o(s.filter((t=>t!==e))):o([...s,e])}),[s]),v=(0,i.useMemo)((()=>
74{if(!t)return[];let e=t;c!==OP&&(e=t.filter((e=>e.categories.includes(c))));let n=e;return(a.length>0||s.length>0)&&(n=e.filter((e=>a.length>0&&s.length>0?a.some((t=>e.tags.includes(t)))||s.some((t=>e.businessTypes.includes(t))):s.length>0?s.some((t=>e.businessTypes.includes(t))):a.some((t=>e.tags.includes(t)))))),n}),[t,c,s,a]),y=(0,i.useMemo)((()=>v.filter((e=>!e.randomSort))),[v]),b=(0,i.useMemo)((()=>(0,pA.shuffle)(v.filter((e=>e.randomSort)))),[v]),w=(0,i.useMemo)((()=>{const e=y.concat(b);return f?e:e.slice(0,15)}),[v,f]),E=(0,i.useCallback)((e=>{const t=c!==OP?c:e.categories[0]||"",n=(0,pA.find)(vA,{value:t});return{categoryName:n?n.label:"OTHER",categoryClassName:n?n.className:""}}),[c]);return(0,iA.jsxs)("div",{className:"p-session",children:[(0,iA.jsxs)("div",{className:"p-session_inner",children:[(0,iA.jsxs)("div",{className:"p-session_catArea",children:[(0,iA.jsx)("p",{className:"p-session_catTtl",children:"\u30ab\u30c6\u30b4\u30ea"}),(0,iA.jsx)("ul",{className:"p-session_catList",children:[{label:"\u3059\u3079\u3066",value:OP,className:OP},...vA].map((e=>(0,iA.jsx)("li",{className:`p-session_catItem p-session_catItem-${e.className} ${c===e.value?"js-active":""}`,children:(0,iA.jsx)("a",{href:"#",className:"p-session_catLink",onClick:t=>{t.preventDefault(),m(e.value)},children:e.label})},e.value)))})]}),(0,iA.jsx)("div",{className:"p-session_selectArea",children:(0,iA.jsxs)("ul",{className:"p-session_selectBlock",children:[(0,iA.jsxs)("li",{className:"p-session_selectBlockItem",children:[(0,iA.jsx)("p",{className:"p-session_selectTtl",children:"\u304a\u5ba2\u69d8\u30e1\u30ea\u30c3\u30c8"}),(0,iA.jsx)("ul",{className:"p-session_selectList",children:n&&n.businessTypes.map(((e,t)=>(0,iA.jsx)("li",{className:"p-session_selectItem "+(s.includes(e)?"js-active":""),children:(0,iA.jsx)("a",{href:"#",className:"p-session_selectLink",onClick:t=>{t.preventDefault(),_(e)},children:e})},t)))})]}),(0,iA.jsxs)("li",{className:"p-session_selectBlockItem",children:[(0,iA.jsx)("p",{className:"p-session_selectTtl",children:"\u95a2\u9023\u6280\u8853\u30c8\u30d4\u30c3\u30af"}),(0,iA.jsx)("ul",{className:"p-session_selectList",children:n&&n.tags.map(((e,t)=>(0,iA.jsx)("li",{className:"p-session_selectItem "+(a.includes(e)?"js-active":""),children:(0,iA.jsx)("a",{href:"#",className:"p-session_selectLink",onClick:t=>{t.preventDefault(),g(e)},children:e})},t)))})]})]})}),(0,iA.jsx)("ul",{className:"p-session_cardList",children:w.map(((e,t)=>(0,iA.jsx)(lN,{userAuth:r,data:e,setting:n,displayCategoryData:E(e),onOpenModal:()=>(e=>{d(e)})(e)},t)))}),!f&&v[15]&&(0,iA.jsx)("div",{className:"p-session_btnArea",children:(0,iA.jsx)("button",{className:"p-session_btn",onClick:()=>p(!0),children:"\u3059\u3079\u3066\u3092\u898b\u308b"})})]}),h&&(0,iA.jsx)(cN,{userAuth:r,setting:n,displayCategoryData:E(h),open:!!h,data:h,onClose:()=>{d(void 0)}})]})};function FP({comment:e,sessionId:t,onComment:n,userName:r,onReaction:s,admin:o,onDelete:a}){var l,c;const[u,h]=(0,i.useState)(!1),[d,f]=((0,i.useRef)(null),(0,i.useState)(!1)),p=(0,i.useMemo)((()=>{var t;return null==e||null==(t=e.createdAt)?void 0:t.toDate().toLocaleString()}),[e.createdAt]),m=async e=>{a&&e&&await a(e)};return(0,iA.jsxs)("li",{className:"p-view_commentItem",children:[(0,iA.jsx)("div",{className:"p-view_commentNameArea",children:(0,iA.jsx)("strong",{className:"p-view_commentName",children:e.userName||e.userId})}),(0,iA.jsx)("div",{className:"p-view_comment",style:{fontSize:"1.2rem"},children:e.content}),(0,iA.jsxs)("div",{className:"p-view_commentNameArea",style:{lineHeight:1.2,marginBottom:"1rem"},children:[(0,iA.jsx)("small",{className:"p-view_commentTime",children:p}),o&&(0,iA.jsx)("button",{className:"p-view_commentTime",style:{paddingLeft:"0.8rem",fontWeight:"500"},onClick:()=>{f(!d)},children:"Reply"}),o&&(0,iA.jsx)("button",{className:"p-view_commentTime",style:{paddingLeft:"0.8rem",fontWeight:"500"},onClick:()=>m((null==e?void 0:e.NO_ID_FIELD)||""),children:"Delete"})]}),(0,iA.jsxs)("div",{className:"p-view_comment",style:{fontSize:"1rem",lineHeight:1.2,display:"flex",marginBottom:"3px"},children:[(0,iA.jsx)("div",{style:{width:"2px",backgroundColor:"#ccc",marginRight:"5px"},"aria-hidden":!u}),!u&&e.children&&(null==(l=e.children)?void 0:l.length)>0&&(0,iA.jsx)("button",{onClick:()=>{h(!u)},children:"see more"}),u&&(0,iA.jsx)("ul",{style:{marginLeft:"5px"},children:null==(c=e.children)?void 0:c.map((e=>{var t;return(0,iA.jsxs)("li",{className:"p-view_commentItem",children:[(0,iA.jsx)("div",{className:"p-view_commentNameArea",children:(0,iA.jsx)("strong",{className:"p-view_commentName",children:e.userName||e.userId})}),(0,iA.jsx)("div",{className:"p-view_comment",style:{fontSize:"1.2rem"},children:e.content}),(0,iA.jsxs)("div",{className:"p-view_commentNameArea",style:{lineHeight:1.2,marginBottom:"1rem"},children:[(0,iA.jsx)("small",{className:"p-view_commentTime",children:null==e||null==(t=e.createdAt)?void 0:t.toDate().toLocaleStr
74ing()}),o&&(0,iA.jsx)("button",{className:"p-view_commentTime",style:{paddingLeft:"0.8rem",fontWeight:"500"},onClick:()=>m((null==e?void 0:e.NO_ID_FIELD)||""),children:"Delete"})]})]},e.NO_ID_FIELD)}))})]}),o&&(0,iA.jsx)("div",{"aria-hidden":!d,children:d&&(0,iA.jsx)(LP,{parentId:e.NO_ID_FIELD||null,sessionId:t,smallVersion:!0,onComment:n,userName:r,reactions:[],onReaction:function(e,t){throw new Error("Function not implemented.")}})})]})}const LP=({userName:e,sessionId:t,parentId:n,smallVersion:r,onComment:s,reactions:o,onReaction:a,admin:l})=>{const[c,u]=(0,i.useState)(""),h=(0,i.useRef)(null);(0,i.useEffect)((()=>{setTimeout((()=>{var e;null==(e=h.current)||e.focus()}))}),[h.current]);const d=async()=>{c&&(await s(c,n),u(""))};return(0,iA.jsxs)("form",{className:"p-view_commentForm",children:[(0,iA.jsx)("div",{className:"p-view_commentFieldBlock",hidden:!l,children:(0,iA.jsx)("div",{className:"p-view_commentFieldLabel",style:{display:"inline-block"},children:(0,iA.jsx)(IP,{sessionId:t,onAction:async(e,t)=>{await a(t,e)},reactions:o})})}),(0,iA.jsxs)("div",{className:"p-view_commentFieldBlock",children:[(0,iA.jsx)("label",{className:"p-view_commentFieldLabel","aria-hidden":r,children:e}),(0,iA.jsx)("div",{className:"p-view_commentFieldInput",children:(0,iA.jsx)("input",{ref:h,type:"text",autoComplete:"on",value:c,placeholder:"\u30b3\u30e1\u30f3\u30c8\u3092\u5165\u529b...",className:"p-view_commentField",onChange:e=>u(e.target.value),onKeyDown:e=>{13==e.keyCode&&(e.preventDefault(),d())}})})]}),(0,iA.jsx)("div",{className:"p-view_commentBtnBlock",children:(0,iA.jsx)("button",{type:"button",className:"p-view_commentBtn",onClick:d,style:r?{padding:"0.3rem 0.5rem"}:{},children:(0,iA.jsx)("span",{className:"p-view_commentBtnTxt",children:"\u30b3\u30e1\u30f3\u30c8"})})})]})},jP=({sessionId:e,onComment:t,data:n,userName:r,onReaction:s,reactions:o,admin:a,onDelete:l})=>{const c=(0,i.useMemo)((()=>n?function(e){const t=[],n={};let r;for(let o=0,a=e.length;o<a;o++){var i,s;r=e[o],n[null!=(i=r.NO_ID_FIELD)?i:""]=r,n[null!=(s=r.NO_ID_FIELD)?s:""].children=[]}for(const o in n)if(n.hasOwnProperty(o)){const e=n[o];if(e.NO_ID_FIELD!==e.parentCommendId&&null!=e.parentCommendId&&n[e.parentCommendId]){const t=[...n[e.parentCommendId].children,e].sort(((e,t)=>{var n,r,i,s;return(null!=(n=null==(r=e.createdAt)?void 0:r.toMillis())?n:0)-(null!=(i=null==(s=t.createdAt)?void 0:s.toMillis())?i:0)}));n[e.parentCommendId].children=t}else t.push(e)}return t}(n):[]),[n]),u=async(e,n)=>{await t(e,n)},h=async e=>{l&&a&&await l(e)};return(0,iA.jsxs)("div",{className:"p-view_commentAreaInner",children:[(0,iA.jsx)("ul",{id:"commentList",className:"p-view_commentList",children:c.map((t=>(0,iA.jsx)(FP,{onDelete:h,admin:a,userName:r,comment:t,sessionId:e,onComment:u,onReaction:s},t.NO_ID_FIELD)))}),(0,iA.jsx)(LP,{userName:r,sessionId:e,parentId:null,onComment:u,reactions:o,onReaction:s})]})},MP=e=>{const{email:t,name:n,onSendQuestion:r,onClose:s,expand:o}=e,[a,l]=(0,i.useState)(""),[c,u]=(0,i.useState)(n||""),[h,d]=(0,i.useState)(!1);(0,i.useEffect)((()=>{n&&u(n)}),[n]);const f=e=>{e.preventDefault(),l(e.target.value)},p=(0,i.useCallback)((async()=>{0!==a.length&&(d(!0),await r(c,a),d(!1),l(""))}),[a]);return(0,iA.jsx)(iA.Fragment,{children:(0,iA.jsx)("section",{id:"p-view_accordion",className:"p-view_accordion","aria-hidden":!0,children:(0,iA.jsxs)("div",{className:"p-view_accordionInner",children:[(0,iA.jsxs)("div",{className:"p-view_accordionUpper",children:[(0,iA.jsxs)("div",{className:"p-view_accordionBlock",children:[(0,iA.jsx)("p",{className:"p-view_accordionBlockTxt",children:"\u6c0f\u540d"}),(0,iA.jsx)("input",{type:"text",name:"displayName",id:"displayName",placeholder:"\u30b2\u30b9\u30c8",className:"p-view_accordionBlockInput",value:c,onChange:e=>{e.preventDefault(),u(e.target.value)}}),(0,iA.jsx)("span",{className:"p-view_accordionBlockItem",children:"\u69d8"})]}),(0,iA.jsxs)("div",{className:"p-view_accordionBlock",children:[(0,iA.jsx)("p",{className:"p-view_accordionBlockTxt",children:"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9"}),(0,iA.jsx)("p",{className:"p-view_accordionBlockMail",children:t})]})]}),(0,iA.jsxs)("div",{className:"p-view_accordionContent",children:[(0,iA.jsx)("p",{className:"p-view_accordionTxt",children:(0,iA.jsx)("span",{className:"p-view_accordionTxtItem",children:"\u304a\u554f\u3044\u5408\u308f\u305b\u5185\u5bb9"})}),(0,iA.jsx)("textarea",{name:"content",id:"content",value:a,className:"p-view_accordionTxtArea",onChange:f,onBlur:f}),(0,iA.jsx)("div",{className:"p-view_accordionBtnArea",children:(0,iA.jsx)("input",{type:"button",value:"\u9001\u4fe1",className:"p-view_accordionBtn",disabled:h,onClick:p})})]}),(0,iA.jsxs)("button",{"aria-controls":"p-view_accordion","aria-label":"\u30e2\u30fc\u30c0\u30eb\u3092\u9589\u3058\u308b",className:"p-view_accordionCross",onClick:s,children:[(0,iA.jsx)("span",{className:"p-view_accordionCrossLine"}),(0,iA.jsx)("span",{className:"p-view_accordionCrossLine"})]})]})})})},UP=(e,t)=>
74e?e.sort(((e,n)=>{const r=t.findIndex((t=>t===e)),i=t.findIndex((e=>e===n));return-1===r?1:-1===i?-1:r>i?1:r<i?-1:0})):[],VP=e=>{const{onDownload:t,data:{name:n,businessTypes:r,tags:s,description:o,speakers:a,documents:l,isSpecialSession:c},displayCategoryData:{categoryName:u,categoryClassName:h},setting:d}=e,f=(0,i.useMemo)((()=>UP(r,null==d?void 0:d.businessTypes)),[r,d]),p=(0,i.useMemo)((()=>UP(s,null==d?void 0:d.tags)),[s,d]);return(0,iA.jsx)("div",{className:"p-view_desc",children:(0,iA.jsx)("div",{className:"p-session_modal",children:(0,iA.jsxs)("div",{className:"p-session_modalInner",children:[(0,iA.jsx)("div",{className:"p-session_modalCat "+(h?"p-session_modalCat-"+h:""),children:(0,iA.jsx)("p",{className:"p-session_modalCatTxt",children:u})}),(0,iA.jsx)("p",{className:"p-session_modalTtl",children:n}),(0,iA.jsx)("ul",{className:"p-session_modalTag",children:f.map(((e,t)=>(0,iA.jsx)("li",{className:"p-session_modalTagItem",children:e},t)))}),(0,iA.jsx)("ul",{className:"p-session_modalTag",children:p.map(((e,t)=>(0,iA.jsx)("li",{className:"p-session_modalTagItem",children:e},t)))}),(0,iA.jsx)("p",{className:"p-session_modalTxt",children:o}),(0,iA.jsx)("div",{className:"p-session_modalCompany",children:(0,iA.jsx)("ul",{className:"p-session_modalCompanyList",children:a.map(((e,t)=>(0,iA.jsxs)("li",{className:"p-session_modalCompanyItem",children:[(0,iA.jsx)("picture",{className:"p-session_modalCompanyLogo",children:(0,iA.jsx)("img",{src:e.companyLogo,alt:e.companyName})}),(0,iA.jsxs)("div",{className:"p-session_modalCompanyTxtArea",children:[(0,iA.jsx)("p",{className:"p-session_modalCompanyName",children:e.companyName}),(0,iA.jsx)("p",{className:"p-session_modalCompanyDepartment",children:e.department}),(0,iA.jsx)("p",{className:"p-session_modalCompanyPerson",children:e.members.map(((e,t)=>(0,iA.jsx)("div",{children:(0,iA.jsxs)("span",{children:[e.fullName," ",c&&0==t?"\u6c0f":""," ",e.jobTitle?"("+e.jobTitle+")":""]})},t)))})]})]},t)))})}),l&&l.length>0&&(0,iA.jsx)("ul",{className:"p-session_modalBtnArea",children:l.map(((e,n)=>(0,iA.jsx)("li",{className:"p-session_modalBtnItem",children:(0,iA.jsx)("a",{href:"#",onClick:n=>{n.preventDefault(),(e=>{t(e)})(e)},className:"p-session_modalBtnLink",children:e.name})},n)))})]})})})};var BP=n(9067),$P=n.n(BP),zP=n(8792),HP=n.n(zP),WP=n(8924),qP=n.n(WP),KP=Object.defineProperty,GP=Object.defineProperties,QP=Object.getOwnPropertyDescriptors,XP=Object.getOwnPropertySymbols,YP=Object.prototype.hasOwnProperty,JP=Object.prototype.propertyIsEnumerable,ZP=(e,t,n)=>t in e?KP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eN=(e,t)=>{for(var n in t||(t={}))YP.call(t,n)&&ZP(e,n,t[n]);if(XP)for(var n of XP(t))JP.call(t,n)&&ZP(e,n,t[n]);return e},tN=(e,t)=>GP(e,QP(t));function nN(e={}){return tN(eN({},e),{height:0,width:0,playerVars:tN(eN({},e.playerVars),{autoplay:0,start:0,end:0})})}var rN={videoId:$P().string,id:$P().string,className:$P().string,iframeClassName:$P().string,style:$P().object,title:$P().string,loading:$P().oneOf(["lazy","eager"]),opts:$P().objectOf($P().any),onReady:$P().func,onError:$P().func,onPlay:$P().func,onPause:$P().func,onEnd:$P().func,onStateChange:$P().func,onPlaybackRateChange:$P().func,onPlaybackQualityChange:$P().func},iN=class extends i.Component{constructor(e){super(e),this.destroyPlayerPromise=void 0,this.onPlayerReady=e=>{var t,n;return null==(n=(t=this.props).onReady)?void 0:n.call(t,e)},this.onPlayerError=e=>{var t,n;return null==(n=(t=this.props).onError)?void 0:n.call(t,e)},this.onPlayerStateChange=e=>{var t,n,r,i,s,o,a,l;switch(null==(n=(t=this.props).onStateChange)||n.call(t,e),e.data){case iN.PlayerState.ENDED:null==(i=(r=this.props).onEnd)||i.call(r,e);break;case iN.PlayerState.PLAYING:null==(o=(s=this.props).onPlay)||o.call(s,e);break;case iN.PlayerState.PAUSED:null==(l=(a=this.props).onPause)||l.call(a,e)}},this.onPlayerPlaybackRateChange=e=>{var t,n;return null==(n=(t=this.props).onPlaybackRateChange)?void 0:n.call(t,e)},this.onPlayerPlaybackQualityChange=e=>{var t,n;return null==(n=(t=this.props).onPlaybackQualityChange)?void 0:n.call(t,e)},this.destroyPlayer=()=>this.internalPlayer?(this.destroyPlayerPromise=this.internalPlayer.destroy().then((()=>this.destroyPlayerPromise=void 0)),this.destroyPlayerPromise):Promise.resolve(),this.createPlayer=()=>{if("undefined"==typeof document)return;if(this.destroyPlayerPromise)return void this.destroyPlayerPromise.then(this.createPlayer);const e=tN(eN({},this.props.opts),{videoId:this.props.videoId});this.internalPlayer=qP()(this.container,e),this.internalPlayer.on("ready",this.onPlayerReady),this.internalPlayer.on("error",this.onPlayerError),this.internalPlayer.on("stateChange",this.onPlayerStateChange),this.internalPlayer.on("playbackRateChange",this.onPlayerPlaybackRateChange),this.internalPlayer.on("playbackQualityChange",this.onPlayerPlaybackQualityChange),(this.props.title||this.props.loading)&&this.internalPlayer.getIframe().then((e=>{this.props.title&&e.setAttribute("title",this.props.title),this.props.loading&&e.setAttribute("loading",this.props.loading)}))},this.resetPlayer=()=>this.destroyPlayer().then(this.createPlayer),this.updatePlayer=()=>{var e;null==(e=this.internalPlayer)||e.getIframe().then((e=>{this.props.id?e.setAttribute("id",this.props.id):e.removeAttribute("id"),this.props.iframeClassName?e.setAttribute("class",this.props.iframeClassName):e.removeAttribute("class"),this.props.opts&&this.props.opts.width?e.setAttribute("width",this.props.opts.width.toString()):e.removeAttribute("width"),this.props.opts&&this.props.opts.height?e.setAttribute("height",this.props.opts.height.toString()):e.removeAttribute("height"),this.props.title?e.setAttribute("title",this.props.title):e.setAttribute("title","YouTube video player"),this.props.loading?e.setAttribute("loading",this.props.loading):e.removeAttribute("loading")}))},this.getInternalPlayer=()=>this.internalPlayer,this.updateVideo=()=>{var e,t,n,r;if(void 0===this.props.videoId||null===this.props.videoId)return void(null==(e=this.internalPlayer)||e.stopVideo());let i=!1;const s={videoId:this.props.videoId};(null==(t=this.props.opts)?void 0:t.playerVars)&&(i=1===this.props.opts.playerVars.autoplay,"start"in this.props.opts.playerVars&&(s.startSeconds=this.props.opts.playerVars.start),"end"in this.props.opts.playerVars&&(s.endSeconds=this.props.opts.playerVars.end)),i?null==(n=this.internalPlayer)||n.loadVideoById(s):null==(r=this.internalPlayer)||r.cueVideoById(s)},this.refContainer=e=>{this.container=e},this.container=null,this.internalPlayer=null}componentDidMount(){this.createPlayer()}componentDidUpdate(e){return t=this,n=null,r=function*(){(function(e,t){var n,r,i,s;return e.id!==t.id||e.className!==t.className||(null==(n=e.opts)?void 0:n.width)!==(null==(r=t.opts)?void 0:r.width)||(null==(i=e.opts)?void 0:i.height)!==(null==(s=t.opts)?void 0:s.height)||e.iframeClassName!==t.iframeClassName||e.title!==t.title})(e,this.props)&&this.updatePlayer(),function(e,t){return e.videoId!==t.videoId||!HP()(nN(e.opts),nN(t.opts))}(e,this.props)&&(yield this.resetPlayer()),function(e,t){var n,r;if(e.videoId!==t.videoId)return!0;const i=(null==(n=e.opts)?void 0:n.playerVars)||{},s=(null==(r=t.opts)?void 0:r.playerVars)||{};return i.start!==s.start||i.end!==s.end}(e,this.props)&&this.updateVideo()},new Promise(((e,i)=>{var s=e=>{try{a(r.next(e))}catch(Pb){i(Pb)}},o=e=>{try{a(r.throw(e))}catch(Pb){i(Pb)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(s,o);a((r=r.apply(t,n)).next())}));var t,n,r}componentWillUnmount(){this.destroyPlayer()}render(){return i.createElement("div",{className:this.props.className,style:this.props.style},i.createElement("div",{id:this.props.id,className:this.props.iframeClassName,ref:this.refContainer}))}},sN=iN;sN.propTypes=rN,sN.defaultProps={videoId:"",id:"",className:"",iframeClassName:"",style:{},title:"",loading:void 0,opts:{},onReady:()=>{},onError:()=>{},onPlay:()=>{},onPause:()=>{},onEnd:()=>{},onStateChange:()=>{},onPlaybackRateChange:()=>{},onPlaybackQualityChange:()=>{}},sN.PlayerState={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5};var oN=sN;const aN=({videoUrl:e,start:t=0,sessionId:n})=>{const r=aw(),{data:s}=xb(),{status:o,data:a}=Hb($w.getProfileRef(r,(null==s?void 0:s.email)||"")),l=(0,i.useMemo)((()=>function(e){const t=e.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return t&&11==t[7].length?t[7]:""}(e)),[e]),[c,u]=(0,i.useState)(0),[h,d]=(0,i.useState)(0),[f,p]=(0,i.useState)(0),[m,g]=(0,i.useState)({height:"100%",width:"100%",playerVars:{modestbranding:1,controls:1}});(0,i.useEffect)((()=>{a&&a.view&&a.view[n]&&u(null==a?void 0:a.view[n])}),[a,n]);const _=(0,i.useRef)(null),v=(0,i.useCallback)((async()=>
74{if(c>0&&s&&s.email&&h&&f){const e={[n]:c},t={type:yA.SESSION_VIEW,userId:(null==s?void 0:s.email)||"",sessionId:n||"",sessionViewStartTime:index_esm2017_Timestamp.fromMillis(f),sessionViewEndTime:index_esm2017_Timestamp.fromMillis(h),sessionViewDuration:c};await qw.createHistory(r,t),await $w.update(r,s.email,{view:e})}}),[r,n,c,s]);return(0,i.useEffect)((()=>{v()}),[v]),(0,iA.jsx)(oN,{id:"ytplayer",style:{position:"absolute",top:"0px",left:"0px",width:"100%",height:"100%"},videoId:l,opts:m,onStateChange:e=>{const t=e.target;let n=0;switch(e.data){case 0:default:break;case 1:t.playVideo(),p(Date.now());break;case 2:t.pauseVideo(),n=Date.now(),d(n),n=Math.round((n-f)/1e3),u((e=>e+n))}},ref:_,onReady:()=>{console.log("ready")}})},lN=e=>{const t=ne(),{data:n,displayCategoryData:r,setting:s,userAuth:o,onOpenModal:a}=e,{name:l,speakers:c,tags:u,businessTypes:h,length:d,NO_ID_FIELD:f}=n||{},{categoryName:p,categoryClassName:m}=r,g=(0,i.useMemo)((()=>UP(h,null==s?void 0:s.businessTypes)),[h,s]),_=(0,i.useMemo)((()=>UP(u,null==s?void 0:s.tags)),[u,s]),v=((0,i.useCallback)((e=>{e.stopPropagation(),t(`/session/${f}`)}),[f]),!!o&&pN.isShowVideo(s));return(0,iA.jsx)("li",{className:"p-session_cardItem "+(m?"p-session_cardItem-"+m:""),children:(0,iA.jsxs)("div",{className:"p-session_cardInner",children:[(0,iA.jsxs)("div",{className:"p-session_cardCat",children:[(0,iA.jsx)("p",{className:"p-session_cardCatTxt",children:p}),(0,iA.jsx)("p",{className:"p-session_cardCatMin",children:d})]}),(0,iA.jsxs)("div",{className:"p-session_cardContent",children:[(0,iA.jsx)("p",{className:"p-session_cardTxt",children:l}),(0,iA.jsx)("ul",{className:"p-session_cardCompany",children:c.map(((e,t)=>(0,iA.jsxs)("li",{className:"p-session_cardCompanyItem",children:[(0,iA.jsx)("picture",{className:"p-session_cardCompanyLogo",children:(0,iA.jsx)("img",{src:e.companyLogo,alt:e.companyName})}),(0,iA.jsx)("p",{className:"p-session_cardCompanyName",children:e.companyName})]},t)))}),(0,iA.jsx)("ul",{className:"p-session_cardTag",children:g.map(((e,t)=>(0,iA.jsx)("li",{className:"p-session_cardTagItem",children:e},t)))}),(0,iA.jsx)("ul",{className:"p-session_cardTag",children:_.map(((e,t)=>(0,iA.jsx)("li",{className:"p-session_cardTagItem",children:e},t)))}),(0,iA.jsxs)("div",{className:"p-session_cardBtnWrap",children:[v&&(0,iA.jsx)("a",{href:`/session/${f}`,className:"p-session_cardBtn p-session_cardBtn-watch",children:"\u8996\u8074\u3059\u308b"}),(0,iA.jsx)("button",{className:"p-session_cardBtn",children:"Read more"})]})]}),(0,iA.jsx)("a",{onClick:a,className:"p-session_cardLink modal_btn","aria-controls":"p-session_modal01"})]})})},cN=e=>{const{open:t,data:n,displayCategoryData:r,setting:s,userAuth:o,onClose:a}=e,{name:l,businessTypes:c,tags:u,description:h,speakers:d,recommendedPoints:f,documents:p}=n,{categoryName:m,categoryClassName:g}=r,_=aw(),v=(0,i.useMemo)((()=>UP(c,null==s?void 0:s.businessTypes)),[c,s]),y=(0,i.useMemo)((()=>UP(u,null==s?void 0:s.tags)),[u,s]),b=!!o&&pN.isShowVideo(s);return(0,iA.jsxs)("div",{id:"p-session_modal01",className:"p-session_modal","aria-hidden":!t,children:[(0,iA.jsxs)("div",{className:"p-session_modalInner",children:[(0,iA.jsx)("div",{className:"p-session_modalCat "+(g?"p-session_modalCat-"+g:""),children:(0,iA.jsx)("p",{className:"p-session_modalCatTxt",children:m})}),(0,iA.jsx)("p",{className:"p-session_modalTtl",children:l}),(0,iA.jsx)("ul",{className:"p-session_modalTag",children:v.map(((e,t)=>(0,iA.jsx)("li",{className:"p-session_modalTagItem",children:e},t)))}),(0,iA.jsx)("ul",{className:"p-session_modalTag",children:y.map(((e,t)=>(0,iA.jsx)("li",{className:"p-session_modalTagItem",children:e},t)))}),(0,iA.jsx)("p",{className:"p-session_modalTxt",children:h}),b&&(0,iA.jsx)("div",{className:"p-session_modalBtnWrap",children:(0,iA.jsx)("a",{href:`/session/${n.NO_ID_FIELD}`,className:"p-session_cardBtn p-session_cardBtn-watch",children:"\u8996\u8074\u3059\u308b"})}),(0,iA.jsx)("div",{className:"p-session_modalCompany",children:(0,iA.jsx)("ul",{className:"p-session_modalCompanyList",children:d.map(((e,t)=>(0,iA.jsxs)("li",{className:"p-session_modalCompanyItem",children:[(0,iA.jsx)("picture",{className:"p-session_modalCompanyLogo",children:(0,iA.jsx)("img",{src:e.companyLogo,alt:e.companyName})}),(0,iA.jsxs)("div",{className:"p-session_modalCompanyTxtArea",children:[(0,iA.jsx)("p",{className:"p-session_modalCompanyName",children:e.companyName}),(0,iA.jsx)("p",{className:"p-session_modalCompanyDepartment",children:e.department}),(0,iA.jsx)("p",{className:"p-session_modalCompanyPerson",children:e.members.map(((e,t)=>(0,iA.jsx)("div",{children:(0,iA.jsxs)("span",{children:[e.fullName," ",e.jobTitle?"("+e.jobTitle+")":""]})},t)))})]})]},t)))})}),f.length>0&&(0,iA.jsxs)("div",{className:"p-session_modalRecommend",children:[(0,iA.jsx)("p",{className:"p-session_modalRecommendTxt",children:"\u304a\u3059\u3059\u3081\u30dd\u30a4\u30f3\u30c8"}),(0,iA.jsx)("ul",{className:"p-session_modalRecommendList",children:f.map(((e,t)=>(0,iA.jsx)("li",{className:"p-session_modalRecommendItem",children:e},t)))})]}),o&&p&&p.length>0&&(0,iA.jsx)("ul",{className:"p-session_modalBtnArea",children:p.map(((e,t)=>(0,iA.jsx)("li",{className:"p-session_modalBtnItem",children:(0,iA.jsx)("a",{href:"#",onClick:t=>{t.preventDefault(),(async e=>
74{const t={type:yA.DOCUMENT_DOWNLOAD,userId:(null==o?void 0:o.email)||"",sessionId:n.NO_ID_FIELD||"",documentName:e.name};if(e.useExternalLink)t.type=yA.DOCUMENT_LINK_CLICK,t.documentLink=e.externalLink;else{const n=e.file;t.documentLink=n?n.downloadUrl:""}await qw.createHistory(_,t),window.open(t.documentLink,"_blank")})(e)},className:"p-session_modalBtnLink",children:e.name})},t)))}),(0,iA.jsxs)("button",{onClick:a,"aria-controls":"p-session_modal01","aria-label":"\u30e2\u30fc\u30c0\u30eb\u3092\u9589\u3058\u308b",className:"p-session_modalCross",children:[(0,iA.jsx)("span",{className:"p-session_modalCrossLine"}),(0,iA.jsx)("span",{className:"p-session_modalCrossLine"})]})]}),(0,iA.jsx)("div",{onClick:a,className:"p-session_modalOverlay","aria-controls":"p-session_modal01"})]})},uN=()=>{const e=aw(),{data:t}=Hb(Hw.getSettingDocumentRef(e));return(0,iA.jsx)(iA.Fragment,{children:(0,iA.jsxs)("div",{className:"p-floating",children:[(0,iA.jsx)("a",{className:"p-floating_banner2025",href:"https://contents.shiftinc.jp/89matsuri_2025/",children:(0,iA.jsx)("img",{className:"p-floating_banner2025img",src:"./assets/img/footer/bugfes2025-banner.png"})}),(0,iA.jsx)("div",{className:"p-floating_txt",dangerouslySetInnerHTML:{__html:t&&pN.getNotificationMessage(t)}})]})})};function hN(e){const{afterAuth:t,showMenu:n,hideFooter:r,showQa:i}=e;return(0,iA.jsxs)(sA,{children:[t?(0,iA.jsx)(kP,{showQa:i}):(0,iA.jsx)(CP,{showMenu:n}),(0,iA.jsx)(uN,{}),(0,iA.jsx)(ye,{}),!r&&(0,iA.jsx)(SP,{})]})}function dN({children:e,tabs:t}){const n=aw(),{status:r,data:i}=Hb(Hw.getSettingDocumentRef(n)),s=!!i&&pN.isShowRegister(i),o=!!i&&pN.isShowLogin(i);return(0,iA.jsx)("section",{className:"p-form",children:(0,iA.jsxs)("div",{className:"p-form_inner",children:[(0,iA.jsx)("ul",{className:"p-form_tabList",children:t.filter((e=>!("/registration"===e.link&&!s)&&!("/login"===e.link&&!o))).map(((e,t)=>(0,iA.jsx)("li",{className:"p-form_tabItem",children:(0,iA.jsx)("a",{href:e.link,className:e.active?"p-form_tabLink":"p-form_tabLink p-form_tabLink-login",children:e.text})})))}),e]})})}function fN(){return(0,iA.jsx)(sA,{children:(0,iA.jsx)(ye,{})})}const pN={getNotificationMessage:e=>mN.isProduction()?e.notificationMessage:e.notificationMessageStaging,isShowVideo:e=>mN.isProduction()?e.showVideo:e.showVideoStaging,isShowLogin:e=>mN.isProduction()?e.showLogin:e.showLoginStaging,isShowRegister:e=>mN.isProduction()?e.showRegister:e.showRegisterStaging,isShowInquiry:e=>mN.isProduction()?e.showInquiry:e.showInquiryStaging,isRedirectHomeToFinish:e=>mN.isProduction()?e.redirectHomeToFinish:e.redirectHomeToFinishStaging,isRedirectHomeToRoot:e=>mN.isProduction()?e.redirectHomeToRoot:e.redirectHomeToRootStaging,isShowSpecialSession:e=>mN.isProduction()?e.showSpecialSession:e.showSpecialSessionStaging},mN={isDevelopment:()=>"production"===mA.development,isStaging:()=>"production"===mA.staging,isProduction:()=>"production"===mA.production},gN=()=>{const[e,t]=(0,i.useState)("login"),{hash:n}=ee(),r=ne(),s=aw(),o=ow(),a=(0,i.useCallback)((async e=>{try{await Bw.registerAccount(o,e.email,e.password),e.password="",await $w.upsert(s,e),await Bw.logout(o),gk("\u8996\u8074\u7533\u3057\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002")}catch(mo){_k(mo.message)}}),[s,o]),l=(rA({name:"",companyName:"",jobTitle:"",occupation:"",phoneNumber:"",email:"",password:"",introductionName:"",introductionCompanyName:"",deactivate:!1},a),(0,i.useCallback)((async e=>{try{await Bw.login(o,e.email,e.password);const t=(await e_($w.getProfileRef(s,e.email))).data(),n=index_esm2017_Timestamp.now();await $w.updateLogin(s,e.email,{firstLogin:(null==t?void 0:t.firstLogin)||n,lastLogin:n}),r("/home")}catch(mo){_k("\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f")}}),[o,r])),c=((e,t)=>GC({initialValues:e,enableReinitialize:!0,validateOnBlur:!1,validateOnChange:!1,validationSchema:nA({email:qx().required("\u672a\u5165\u529b\u3067\u3059").email("\u30e1\u30fc\u30eb\u5f62\u5f0f\u3067\u306f\u3042\u308a\u307e\u305b\u3093"),password:qx().required("\u672a\u5165\u529b\u3067\u3059")}),onSubmit(e){t(e)}}))({email:"",password:""},l);return(0,i.useEffect)((()=>{t(n?n.replace("#",""):"login"),console.log(n)}),[n]),(0,iA.jsx)(bA,{formik:c})},_N=()=>{const e=aw(),t=ow(),n=ne(),r=(0,i.useCallback)((async r=>{try{const i=await Bw.registerAccount(t,r.email,r.password);await $w.upsert(e,Object.assign({},r,{email:i.user.email||r.email})),await Bw.logout(t),gk("\u8996\u8074\u7533\u3057\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f",(()=>{n("/login",{replace:!0})}))}catch(mo){_k("\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f")}}),[e,t]),s=rA({name:"",companyName:"",jobTitle:"",occupation:"",phoneNumber:"",email:"",password:"",introductionName:"",introductionCompanyName:"",checkPolicy:!1,deactivate:!1},r);return(0,iA.jsx)(wA,{formik:s})},vN=()=>{const e=ow(),t=ne(),n=(0,i.useCallback)((async n=>{try{await Bw.sendResetPassword(e,n.email),t("/forgot-password-sent")}catch(mo){_k("\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f")}console.log(n)}),[e,t]),r=((e,t)=>GC({initialValues:e,enableReinitialize:!0,validateOnBlur:!1,validateOnChange:!1,validationSchema:nA({email:qx().required("\u672a\u5165\u529b\u3067\u3059").email("\u30e1\u30fc\u30eb\u5f62\u5f0f\u3067\u306f\u3042\u308a\u307e\u305b\u3093")}),onSubmit(e){t(e)}}))({email:""},n);return(0,iA.jsx)(EA,{formik:r})},yN=()=>(0,iA.jsx)(EP,{}),bN=()=>{const e=ow(),[t]=Fe(),n=ne(),r=(0,i.useCallback)((async r=>{try{const i=t.get("oobCode");i&&await Bw.resetPassword(e,i,r.password),gk("\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u307e\u3057\u305f"),n("/login")}catch(mo){_k("\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f")}}),[e,t,n]),s=((e,t)=>{return GC({initialValues:e,enableReinitialize:!0,validateOnBlur:!1,validateOnChange:!1,validationSchema:nA({password:qx().required("\u672a\u5165\u529b\u3067\u3059").min(6,"\u5165\u529b\u306b\u30a8\u30e9\u30fc\u304c\u3042\u308a\u307e\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306f6\u6587\u5b57\u4ee5\u4e0a\u306e\u534a\u89d2\u6587\u5b57\u3067\u3054\u5165\u529b\u304f\u3060\u3055\u3044"),confirmPassword:qx().oneOf([(n="password",new index_esm_Reference(n,r)),void 0],"\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u4e00\u81f4\u3057\u306a\u3044")}),onSubmit(e){t(e)}});var n,r})({password:"",confirmPassword:""},r);return(0,iA.jsx)(SA,{formik:s})};var wN=n(7222),EN=n(2254);const SN=["className","component"];var TN=n(4636),CN=n(9266);const xN=(0,wI.A)("MuiBox",["root"]),AN=(0,CN.A)(),IN=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:s}=e,o=(0,wN.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(EN.A),a=i.forwardRef((function(e,i){const a=hI(n),l=(0,ak.A)(e),{className:c,component:u="div"}=l,h=(0,aA.A)(l,SN);return(0,iA.jsx)(o,(0,TA.A)({as:u,ref:i,className:(0,CA.A)(c,s?s(r):r),theme:t&&a[t]||a},h))}));return a}({themeId:fI.A,defaultTheme:AN,defaultClassName:xN.root,generateClassName:TN.A.generate}),kN=IN,PN=()=>{const{status:e,data:t}=xb(),n=(0,i.useRef)(null),r=(0,i.useRef)(null),s=(0,i.useRef)(null),o=(0,i.useRef)(null),a=(0,i.useRef)(null),l=aw(),{status:c,data:u}=Hb(Hw.getSettingDocumentRef(l)),{status:h,data:d}=Wb(zw.getOrderedSessionQuery(l)),f=(0,i.useMemo)((()=>d?"production"===mA.staging?d:null==d?void 0:d.filter((e=>e.published)):[]),[d]),p=(0,i.useMemo)((()=>f?null==f?void 0:f.filter((e=>e.isSpecialSession)):[]),[f]),m=(0,i.useMemo)((()=>f?null==f?void 0:f.filter((e=>!e.isSpecialSession)):[]),[f]),g=async()=>{(async()=>{var e,t;await(null==(e=n.current)?void 0:e.animate([{transform:"scale(1.5)",filter:"blur(10px)",opacity:.5},{transform:"scale(0.9)",offset:.3,opacity:1},{transform:"scale(1)",filter:"blur(0)",opacity:1}],{delay:1e3,duration:1e3,easing:"ease-out"}).finished),await(null==(t=n.current)?void 0:t.classList.add("after"))})(),(async()=>{var e;await(null==(e=s.current)?void 0:e.animate([{opacity:1},{opacity:0}
74],{delay:3e3,duration:1e3}).finished),s.current&&[s.current].forEach((e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}))})(),(async()=>{var e,t;await(null==(e=r.current)?void 0:e.animate([{opacity:0},{opacity:1}],{delay:3e3,duration:1e3,easing:"ease-out"}).finished),await(null==(t=r.current)?void 0:t.classList.add("after"))})(),(async()=>{var e,t;await(null==(e=o.current)?void 0:e.animate([{opacity:0},{opacity:1}],{delay:3e3,duration:1e3,easing:"ease-out"}).finished),await(null==(t=o.current)?void 0:t.classList.add("after"))})(),(async()=>{var e,t;await(null==(e=a.current)?void 0:e.animate([{opacity:0},{opacity:1}],{delay:3e3,duration:1e3,easing:"ease-out"}).finished),await(null==(t=a.current)?void 0:t.classList.add("after"))})()};(0,i.useEffect)((()=>{g()}),[]);const _=!!u&&pN.isShowSpecialSession(u);return(0,iA.jsxs)(kN,{display:"flex",flexDirection:"column",children:[(0,iA.jsx)(CP,{showMenu:!0}),(0,iA.jsx)(uN,{}),(0,iA.jsxs)("section",{className:"p-mv",children:[(0,iA.jsx)("div",{className:"p-mv_bg_gradient"}),(0,iA.jsx)("div",{className:"p-mv_bg"}),(0,iA.jsx)("div",{className:"p-mv_clouds"}),(0,iA.jsx)("div",{className:"p-mv_deco"}),(0,iA.jsx)("div",{className:"p-mv_front"}),(0,iA.jsx)("div",{ref:s,className:"p-mv_overlay"}),(0,iA.jsxs)("div",{className:"p-mv_content",id:"particle_stage",children:[(0,iA.jsx)("h1",{ref:n,className:"logo",children:(0,iA.jsx)("img",{src:"./assets/img/mv/89logo.svg",alt:"89FES \u30d0\u30b0\u796d\u308a2024\u306e\u898b\u3069\u3053\u308d\uff01 SHIFT presents"})}),(0,iA.jsx)("div",{ref:r,className:"info",children:(0,iA.jsx)("img",{src:"./assets/img/mv/info.svg",alt:"IT\u30e0\u30fc\u30d6\u30e1\u30f3\u30c8\u306b\u3001\u30c0\u30a4\u30d6\u3057\u3088\u3046\uff01 2024.08.01 THU"})}),(0,iA.jsx)("a",{ref:o,href:"#intro",className:"p-mv_btn btn",children:(0,iA.jsx)("picture",{className:"p-mv_btnImg",children:(0,iA.jsx)("img",{src:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%3e%3cg%20transform='translate(-665%20-567)'%3e%3ccircle%20cx='18'%20cy='18'%20r='18'%20transform='translate(665%20567)'%20fill='%234847ff'%20opacity='0.5'%20style='mix-blend-mode:multiply;isolation:isolate'/%3e%3cpath%20d='M22.031-11.518a13.817,13.817,0,0,1-5.577-1.141,14.816,14.816,0,0,1-4.606-3.127,14.816,14.816,0,0,1-3.127-4.606,13.817,13.817,0,0,1-1.141-5.577,13.817,13.817,0,0,1,1.141-5.577,14.816,14.816,0,0,1,3.127-4.606,14.816,14.816,0,0,1,4.606-3.127,13.817,13.817,0,0,1,5.577-1.141,13.817,13.817,0,0,1,5.577,1.141,14.816,14.816,0,0,1,4.606,3.127,14.816,14.816,0,0,1,3.127,4.606,13.817,13.817,0,0,1,1.141,5.577,13.817,13.817,0,0,1-1.141,5.577,14.816,14.816,0,0,1-3.127,4.606,14.816,14.816,0,0,1-4.606,3.127A13.817,13.817,0,0,1,22.031-11.518Zm0,3.549A17.51,17.51,0,0,0,29-9.363,18.18,18.18,0,0,0,34.75-13.25,18.18,18.18,0,0,0,38.637-19a17.51,17.51,0,0,0,1.394-6.972,17.51,17.51,0,0,0-1.394-6.972,18.18,18.18,0,0,0-3.887-5.746A18.18,18.18,0,0,0,29-42.574a17.51,17.51,0,0,0-6.972-1.394,17.51,17.51,0,0,0-6.972,1.394,18.18,18.18,0,0,0-5.746,3.887,18.18,18.18,0,0,0-3.887,5.746,17.51,17.51,0,0,0-1.394,6.972A17.51,17.51,0,0,0,5.426-19,18.18,18.18,0,0,0,9.313-13.25a18.18,18.18,0,0,0,5.746,3.887A17.51,17.51,0,0,0,22.031-7.969Zm-1.775-18v7.183h3.549v-7.183h5.408l-7.183-7.183-7.183,7.183Z'%20transform='translate(705.031%20559.031)%20rotate(180)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e",alt:"\u30dc\u30bf\u30f3"})})})]})]}),(0,iA.jsx)("section",{id:"intro",className:"p-message",children:(0,iA.jsx)("div",{className:"p-message_container",children:(0,iA.jsxs)("div",{className:"p-message_gradient_text",children:["\u3053\u306e\u590f\u306b\u8ca0\u3051\u306a\u3044\u3001\u71b1\u3044\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u3001\u3042\u306a\u305f\u306b\u3002",(0,iA.jsx)("br",{}),"\u9078\u3070\u308c\u3057IT\u30e0\u30fc\u30d6\u30e1\u30f3\u30c8\u306e\u4ed5\u639b\u3051\u4eba\u305f\u3061\u304c\u7d9a\u3005\u3068\u51fa\u6f14\u3002",(0,iA.jsx)("br",{}),"\u305d\u306e\u3059\u3079\u3066\u306e\u30b9\u30c6\u30fc\u30b8\u304c\u3001\u30e1\u30a4\u30f3\u30b9\u30c6\u30fc\u30b8\u3002",(0,iA.jsx)("br",{}),"AI\u306e\u6d3b\u7528\u3092\u306f\u3058\u3081\u3001DX\u306e\u63a8\u9032\u3084",(0,iA.jsx)("br",{}),"IT\u8ab2\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306e\u6280\u8853\u306a\u3069\u3001",(0,iA.jsx)("br",{}),"\u805e\u3044\u305f\u3089\u6cb8\u304b\u305a\u306b\u306f\u3044\u3089\u308c\u306a\u3044\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u3001",(0,iA.jsx)("br",{}),"\u601d\u3044\u5207\u308a\u71b1\u72c2\u3057\u3066\u304f\u3060\u3055\u3044\u3002"]})})}),(0,iA.jsx)("section",{id:"pickup",className:"p-pickup",children:(0,iA.jsxs)("div",{className:"p-pickup_inner",children:[(0,iA.jsx)("h2",{className:"p-pickup_ttl",children:(0,iA.jsxs)("picture",{className:"p-pickup_ttlTxt",children:[(0,iA.jsx)("source",{media:"(min-width:768px)",srcSet:"./assets/img/pickup/ttl.svg"}),(0,iA.jsx)("img",{src:"./assets/img/pickup/ttl_sp.svg",alt:"89FES \u30d0\u30b0\u796d\u308a2024\u306e\u898b\u3069\u3053\u308d\uff01"})]})}),(0,iA.jsxs)("ul",{className:"p-pickup_list",children:[(0,iA.jsxs)("li",{className:"p-pickup_listItem",children:[(0,iA.jsx)("picture",{className:"p-pickup_number",children:(0,iA.jsx)("img",{src:"./assets/img/pickup/number_01.svg",alt:"01"})}),(0,iA.jsx)("p",{className:"p-pickup_listTxt",children:"\u4f8b\u5e74\u3068\u306f\u6841\u9055\u3044\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\uff01"})]}),(0,iA.jsxs)("li",{className:"p-pickup_listItem",children:[(0,iA.jsx)("picture",{className:"p-pickup_number",children:(0,iA.jsx)("img",{src:"./assets/img/pickup/number_02.svg",alt:"02"})}),(0,iA.jsx)("p",{className:"p-pickup_listTxt",children:"IT\u30e0\u30fc\u30d6\u30e1\u30f3\u30c8\u3092\u4ed5\u639b\u3051\u308b\u3001\u3055\u307e\u3056\u307e\u306a\u6280\u8853\u8005\u304c\u767b\u58c7\uff01"})]}),(0,iA.jsxs)("li",{className:"p-pickup_listItem",children:[(0,iA.jsx)("picture",{className:"p-pickup_number",children:(0,iA.jsx)("img",{src:"./assets/img/pickup/number_03.svg",alt:"03"})}),(0,iA.jsx)("p",{className:"p-pickup_listTxt",children:"AI\u3084DX\u306a\u3069\u3001\u6ce8\u76ee\u306e\u6700\u65b0\u60c5\u5831\u3092\u304a\u5c4a\u3051\uff01"})]}),(0,iA.jsxs)("li",{className:"p-pickup_listItem",children:[(0,iA.jsx)("picture",{className:"p-pickup_number",children:(0,iA.jsx)("img",{src:"./assets/img/pickup/number_04.svg",alt:"04"})}),(0,iA.jsx)("p",{className:"p-pickup_listTxt",children:"IT\u8ab2\u984c\u3092\u89e3\u6c7a\u3059\u308b\u3001\u3042\u3089\u3086\u308b\u30b8\u30e3\u30f3\u30eb\u3092\u7db2\u7f85\uff01"})]}),(0,iA.jsxs)("li",{className:"p-pickup_listItem",children:[(0,iA.jsx)("picture",{className:"p-pickup_number",children:(0,iA.jsx)("img",{src:"./assets/img/pickup/number_05.svg",alt:"05"})}),(0,iA.jsx)("p",{className:"p-pickup_listTxt",children:"SHIFT\u30b0\u30eb\u30fc\u30d7\u306e\u591a\u5f69\u306a\u30b5\u30fc\u30d3\u30b9\u60c5\u5831\u304c\u6e80\u8f09\uff01"})]})]}),(0,iA.jsxs)("picture",{className:"p-pickup_img",children:[(0,iA.jsx)("source",{media:"(min-width:768px)",srcSet:"./assets/img/pickup/bg_txt.png"}),(0,iA.jsx)("img",{src:"./assets/img/pickup/bg_txt_sp.png",alt:"Pick Up"})]})]})}),(0,iA.jsxs)("section",{id:"about",className:"p-about",children:[(0,iA.jsx)("div",{className:"p-about_inner",children:(0,iA.jsxs)("div",{className:"p-about_textArea",children:[(0,iA.jsx)("h2",{className:"p-about_ttl",children:(0,iA.jsxs)("picture",{className:"p-about_ttlTxt",children:[(0,iA.jsx)("source",{media:"(min-width:768px)",srcSet:"./assets/img/about/ttl.svg"}),(0,iA.jsx)("img",{src:"./assets/img/about/ttl_sp.svg",alt:"89FES \u30d0\u30b0\u796d\u308a2024\u306e\u898b\u3069\u3053\u308d\uff01"})]})}),(0,iA.jsxs)("p",{className:"p-about_txt",children:["\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u54c1\u8cea\u4fdd\u8a3c\u30fb\u30c6\u30b9\u30c8\u3092\u8ef8\u306b\u3001\u30d3\u30b8\u30cd\u30b9\u306e\u69cb\u7bc9\u304b\u3089\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u3001",(0,iA.jsx)("br",{}),"\u3055\u3089\u306b\u306fDX\u63a8\u9032\u306a\u3069\u307e\u3067\u3001\u5e45\u5e83\u304f\u3054\u652f\u63f4\u3092\u3057\u3066\u3044\u308bSHIFT\u3002",(0,iA.jsx)("br",{}),"\u305d\u3093\u306aSHIFT\u304c8\u67089\u65e5\u3092\u300c\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30d0\u30b0\u306e\u65e5\u300d\u3068\u3057\u3066",(0,iA.jsx)("br",{}),"\u65e5\u672c\u8a18\u5ff5\u65e5\u5354\u4f1a\u306b\u8a18\u5ff5\u65e5\u767b\u9332\u3057\u3001\u305d\u306e\u65e5\u306b\u5408\u308f\u305b\u3066\u6bce\u5e74\u958b\u50ac\u3057\u3066\u3044\u308b\u306e\u304c",(0,iA.jsx)("br",{}),"\u300c89\u796d\uff0889FES.\uff09\u300d\u3067\u3059\u3002",(0,iA.jsx)("br",{}),"\u591a\u7a2e\u591a\u69d8\u306a\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u3088\u308a\u3001IT\u696d\u754c\u306e\u6700\u65b0\u30c8\u30ec\u30f3\u30c9\u306f\u3082\u3061\u308d\u3093\u3001",(0,iA.jsx)("br",{}),"\u793e\u4f1a\u8ab2\u984c\u306e\u89e3\u6c7a\u306e\u30d2\u30f3\u30c8\u3068\u306a\u308a\u5f97\u308b\u3055\u307e\u3056\u307e\u306a\u60c5\u5831\u3092\u304a\u5c4a\u3051\u3057\u3066\u3044\u304d\u307e\u3059\u3002"]})]})}),(0,iA.jsxs)("picture",{className:"p-about_img",children:[(0,iA.jsx)("source",{media:"(min-width:768px)",srcSet:"./assets/img/about/bg_txt.png"}),(0,iA.jsx)("img",{src:"./assets/img/about/bg_txt_sp.png",alt:"About"})]})]}),(0,iA.jsxs)("div",{id:"program",children:[_&&(0,iA.jsx)(RP,{sessions:p,setting:u,userAuth:t}),(0,iA.jsx)(DP,{sessions:m,setting:u,userAuth:t})]}),(0,iA.jsx)("section",{id:"outline",className:"p-outline",children:(0,iA.jsxs)("div",{className:"p-outline_inner",children:[(0,iA.jsx)("h2",{className:"p-outline_ttl",children:(0,iA.jsx)("span",{className:"p-outline_ttlTxt",children:"\u958b\u50ac\u6982\u8981"})}),(0,iA.jsxs)("dl",{className:"p-outline_list",children:[(0,iA.jsx)("dt",{children:(0,iA.jsx)("span",{children:"\u540d\u79f0"})}),(0,iA.jsx)("dd",{children:"89FES.2024\uff0889\u796d2024\uff09"}),(0,iA.jsx)("dt",{children:(0,iA.jsx)("span",{children:"\u958b\u50ac\u65e5"})}),(0,iA.jsx)("dd",{children:"2024\u5e748\u67081\u65e5\uff08\u6728\uff099:00\u301c20:00"}),(0,iA.jsx)("dt",{children:(0,iA.jsx)("span",{children:"\u4f1a\u5834"})}),(0,iA.jsx)("dd",{children:"online"}),(0,iA.jsx)("dt",{children:(0,iA.jsx)("span",{children:"\u4e3b\u50ac"})}),(0,iA.jsx)("dd",{children:"\u682a\u5f0f\u4f1a\u793eSHIFT"}),(0,iA.jsx)("dt",{children:(0,iA.jsx)("span",{children:"\u53c2\u52a0\u8cbb"})}),(0,iA.jsx)("dd",{children:"\u7121\u6599"})]}),(0,iA.jsx)("div",{className:"p-outline_contactWrap",children:(0,iA.jsxs)("dl",{className:"p-outline_contact",children:[(0,iA.jsx)("dt",{children:"\u304a\u554f\u3044\u5408\u308f\u305b\u5148"}),(0,iA.jsxs)("dd",{children:[(0,iA.jsx)("span",{children:"\u682a\u5f0f\u4f1a\u793eSHIFT 89\u796d \u904b\u55b6\u4e8b\u52d9\u5c40"}),(0,iA.jsx)("span",{children:"Mail\[email protected]"})]})]})})]})}),(0,iA.jsx)(SP,{})]})},NN=()=>{const e=aw(),{data:t}=Hb(Hw.getSettingDocumentRef(e)),{data:n}=Wb(zw.getOrderedSessionQuery(e)),{status:r,data:s}=xb(),o=(0,i.useMemo)((()=>n?"production"===mA.staging?n:null==n?void 0:n.filter((e=>e.published)):[]),[n]),a=(0,i.useMemo)((()=>o?null==o?void 0:o.filter((e=>e.isSpecialSession)):[]),[o]),l=(0,i.useMemo)((()=>o?null==o?void 0:o.filter((e=>!e.isSpecialSession)):[]),[o]);return(0,iA.jsxs)(iA.Fragment,{children:[(0,iA.jsx)(RP,{setting:t,sessions:a,userAuth:s}),(0,iA.jsx)(DP,{setting:t,sessions:l,userAuth:s})]})},RN=()=>{const e=aw(),{data:t}=Hb(Hw.getSettingDocumentRef(e)),n=!!t&&pN.isShowInquiry(t);return(0,iA.jsxs)("html",{lang:"ja",children:[(0,iA.jsxs)("head",{children:[(0,iA.jsx)("meta",{charSet:"UTF-8"}),(0,iA.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,iA.jsx)("title",{children:"\u914d\u4fe1\u30da\u30fc\u30b8-top 89\u796d2024\uff5c\u682a\u5f0f\u4f1a\u793eSHIFT"}),(0,iA.jsx)("meta",{name:"description",content:"8/9 \u6c34 10:00\u304b\u3089\uff0f9\u6642\u959325\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u308f\u305f\u3063\u3066\u304a\u5c4a\u3051\u3057\u307e\u3059\u3002\u591a\u7a2e\u591a\u69d8\u306a\u696d\u754c\u306e\u5b9f\u4f8b\u3092\u516c\u958b\u3059\u308bSHIFT\u4e3b\u50acDX\u30ab\u30f3\u30d5\u30a1\u30ec\u30f3\u30b9\u3002\u300cIT\u3067\u98db\u3073\u7acb\u3068\u3046\u3001\u6b21\u306a\u308b\u4e16\u754c\u3078\u300d\u3092\u30c6\u30fc\u30de\u306b\u3001 SHIFT\u30b0\u30eb\u30fc\u30d7\u3092\u306f\u3058\u3081\u3001\u5404\u696d\u754c\u3092\u30ea\u30fc\u30c9\u3059\u308b\u4f01\u696d\u69d8\u306b\u3054\u767b\u58c7\u3044\u305f\u3060\u304d\u3001\u307f\u306a\u3055\u307e\u306e\u5927\u304d\u306a\u98db\u8e8d\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u65b0\u305f\u306a\u30ce\u30a6\u30cf\u30a6\u3084\u5b66\u3073\u304c\u5f97\u3089\u308c\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u3054\u7528\u610f\u3044\u305f\u3057\u307e\u3057\u305f\u3002"}),(0,iA.jsx)("meta",{name:"keywords",content:"\u682a\u5f0f\u4f1a\u793eSHIFT,2024,\u30d0\u30b0\u796d,89\u796d,IT\u30a4\u30d9\u30f3\u30c8,DX"}),(0,iA.jsx)("meta",{property:"og:title",content:"89\u796d2024\uff5c\u682a\u5f0f\u4f1a\u793eSHIFT"}),(0,iA.jsx)("meta",{property:"og:description",content:"8/9 \u6c34 10:00\u304b\u3089\uff0f9\u6642\u959325\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u308f\u305f\u3063\u3066\u304a\u5c4a\u3051\u3057\u307e\u3059\u3002\u591a\u7a2e\u591a\u69d8\u306a\u696d\u754c\u306e\u5b9f\u4f8b\u3092\u516c\u958b\u3059\u308bSHIFT\u4e3b\u50acDX\u30ab\u30f3\u30d5\u30a1\u30ec\u30f3\u30b9\u3002\u300cIT\u3067\u98db\u3073\u7acb\u3068\u3046\u3001\u6b21\u306a\u308b\u4e16\u754c\u3078\u300d\u3092\u30c6\u30fc\u30de\u306b\u3001 SHIFT\u30b0\u30eb\u30fc\u30d7\u3092\u306f\u3058\u3081\u3001\u5404\u696d\u754c\u3092\u30ea\u30fc\u30c9\u3059\u308b\u4f01\u696d\u69d8\u306b\u3054\u767b\u58c7\u3044\u305f\u3060\u304d\u3001\u307f\u306a\u3055\u307e\u306e\u5927\u304d\u306a\u98db\u8e8d\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u65b0\u305f\u306a\u30ce\u30a6\u30cf\u30a6\u3084\u5b66\u3073\u304c\u5f97\u3089\u308c\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u3054\u7528\u610f\u3044\u305f\u3057\u307e\u3057\u305f\u3002"}),(0,iA.jsx)("meta",{property:"og:url",content:"https://shift-89fes2024.web.app/"}),(0,iA.jsx)("meta",{property:"og:image",content:"https://shift-89fes2024.web.app/assets/ogp.jpg"}),(0,iA.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,iA.jsx)("meta",{name:"twitter:title",content:"89\u796d2024\uff5c\u682a\u5f0f\u4f1a\u793eSHIFT"}),(0,iA.jsx)("meta",{name:"twitter:url",content:"https://shift-89fes2024.web.app/"}),(0,iA.jsx)("meta",{name:"twitter:description",content:"8/9 \u6c34 10:00\u304b\u3089\uff0f9\u6642\u959325\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u308f\u305f\u3063\u3066\u304a\u5c4a\u3051\u3057\u307e\u3059\u3002\u591a\u7a2e\u591a\u69d8\u306a\u696d\u754c\u306e\u5b9f\u4f8b\u3092\u516c\u958b\u3059\u308bSHIFT\u4e3b\u50acDX\u30ab\u30f3\u30d5\u30a1\u30ec\u30f3\u30b9\u3002\u300cIT\u3067\u98db\u3073\u7acb\u3068\u3046\u3001\u6b21\u306a\u308b\u4e16\u754c\u3078\u300d\u3092\u30c6\u30fc\u30de\u306b\u3001 SHIFT\u30b0\u30eb\u30fc\u30d7\u3092\u306f\u3058\u3081\u3001\u5404\u696d\u754c\u3092\u30ea\u30fc\u30c9\u3059\u308b\u4f01\u696d\u69d8\u306b\u3054\u767b\u58c7\u3044\u305f\u3060\u304d\u3001\u307f\u306a\u3055\u307e\u306e\u5927\u304d\u306a\u98db\u8e8d\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u65b0\u305f\u306a\u30ce\u30a6\u30cf\u30a6\u3084\u5b66\u3073\u304c\u5f97\u3089\u308c\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u3054\u7528\u610f\u3044\u305f\u3057\u307e\u3057\u305f\u3002"}),(0,iA.jsx)("meta",{name:"twitter:image",content:"https://shift-89fes2024.web.app/assets/ogp.jpg"}),(0,iA.jsx)("link",{rel:"shortcut icon",type:"image/x-icon",href:"../assets/img/common/favicon.ico"}
74),(0,iA.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,iA.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),(0,iA.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Noto+Sans+JP:[email protected]&display=swap",rel:"stylesheet"})]}),(0,iA.jsxs)("body",{className:"afterLogin",children:[(0,iA.jsx)("header",{id:"l-header",className:"l-header",children:(0,iA.jsx)("div",{className:"l-header_inner",children:(0,iA.jsx)("nav",{children:(0,iA.jsxs)("ul",{className:"l-header_list",children:[(0,iA.jsx)("li",{className:"l-header_listItem l-header_listItem-logo",children:(0,iA.jsx)("a",{href:"#mv",children:(0,iA.jsx)("img",{src:"../assets/img/header/header.svg",alt:"SHIFT GROUP 89FES 2024 \u30d0\u30b0\u796d\u308a"})})}),(0,iA.jsx)("li",{className:"l-header_listItem l-header_listItem-btn",children:(0,iA.jsx)("ul",{className:"l-header_btns",children:n&&(0,iA.jsx)("li",{className:"l-header_btnItem",children:(0,iA.jsx)("a",{target:"_blank",href:"https://contents.shiftinc.jp/shift-89fes2024/",className:"l-header_btnLink l-header_btnLink-signup",children:"\u304a\u554f\u3044\u5408\u308f\u305b"})})})})]})})})}),(0,iA.jsxs)("section",{id:"finish",className:"p-finish",children:[(0,iA.jsx)("div",{className:"p-finish_bg"}),(0,iA.jsxs)("div",{className:"p-finish_block",children:[(0,iA.jsxs)("h1",{className:"p-finish_head",children:[(0,iA.jsx)("span",{className:"p-finish_headItem",children:"\u300c89FES.2024\u300d\u306f\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002"}),(0,iA.jsx)("span",{className:"p-finish_headItem",children:"\u3054\u53c2\u52a0\u3044\u305f\u3060\u304d\u3001\u8aa0\u306b\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002"})]}),(0,iA.jsxs)("div",{className:"p-finish_textArea",children:[(0,iA.jsx)("p",{className:"p-finish_txt",children:"\u672c\u65e5\u306f\u3001100\u30bb\u30c3\u30b7\u30e7\u30f3\u304b\u3089\u660e\u65e5\u306b\u7e4b\u304c\u308b\u30a2\u30a4\u30c7\u30a2\u3084\u696d\u52d9\u306b\u6d3b\u304d\u308b\u60c5\u5831\u306f\u5f97\u3089\u308c\u307e\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002"}),(0,iA.jsxs)("p",{className:"p-finish_txt",children:["\u4eca\u5f8c\u3082SHIFT\u30b0\u30eb\u30fc\u30d7\u306f\u3001\u307f\u306a\u3055\u307e\u306eIT\u8ab2\u984c\u306b\u5bfe\u3057\u3066\u3001\u305d\u306e\u89e3\u6c7a\u3092\u5168\u529b\u3067\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u307e\u3044\u308a\u307e\u3059\u3002",(0,iA.jsx)("br",{}),"\u304a\u56f0\u308a\u3054\u3068\u306f\u4f55\u3067\u3082\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u307e\u305b\u3002"]}),(0,iA.jsx)("p",{className:"p-finish_txt",children:"\u307e\u305f\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u306b\u3064\u3044\u3066\u306f\u5f8c\u65e5\u30e1\u30fc\u30eb\u3067\u304a\u77e5\u3089\u305b\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002\u305c\u3072\u3001\u3054\u89a7\u304f\u3060\u3055\u3044\u3002"}),(0,iA.jsx)("p",{className:"p-finish_txt",children:"\u5f15\u304d\u3064\u3065\u304dSHIFT\u30b0\u30eb\u30fc\u30d7\u3092\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002"})]})]})]}),(0,iA.jsx)("script",{type:"module",src:"../assets/js/main.js"})]})]})},ON=e=>{if(!e)return{categoryName:"",categoryClassName:""};const t=e.categories[0],n=(0,pA.find)(vA,{value:t});return{categoryName:n?n.label:"OTHER",categoryClassName:n?n.className:""}},DN=()=>{const e=aw(),{data:t}=xb(),[n,r]=(0,i.useState)(!1),[s,o]=(0,i.useState)(),{id:a}=ie(),l=a||"",c=(0,i.useRef)(null),{status:u,data:h}=Hb(zw.getSession(e,a||"")),{data:d}=Hb(Hw.getSettingDocumentRef(e)),{data:f}=Wb(zw.getSessionCollectionRef(e)),{data:p}=Hb($w.getProfileRef(e,(null==t?void 0:t.email)||"")),{status:m,data:g}=Wb(Ww.getCommentSessionDocumentRef(e,a||"")),{data:_}=Hb(Gw.getCommentDocumentRef(e,l,(null==t?void 0:t.email)||"")),{data:v}=Wb(Gw.countReactionSessionRef(e,a||"")),y=(0,i.useMemo)((()=>(0,pA.keyBy)(f,"NO_ID_FIELD")),[f]),b=(0,i.useCallback)((e=>{o(e)}),[h]),w=(0,i.useCallback)((()=>{o(void 0)}),[]),E=(0,i.useCallback)((async(n,r)=>{if(!a||!t||null==t||!t.email)return;await Kw.upsert(e,{userId:t.email,userName:n||t.displayName||"",content:r,sessionId:a,sessionTitle:null==h?void 0:h.name});const i={[l]:!0};await $w.update(e,t.email,{qa:i}),gk("\u304a\u554f\u3044\u5408\u308f\u305b\u53d7\u4ed8\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f")}
74),[e,a,t,h]),S=(0,i.useCallback)((()=>{r(!1)}),[]),T=(0,i.useCallback)((()=>{(()=>{if(c&&c.current){const e=c.current.getBoundingClientRect().top+window.pageYOffset-70;window.scrollTo({top:e,behavior:"smooth"})}})();const e=document.getElementById("p-view_accordion");if(e){const t=e.getAttribute("aria-hidden");e.setAttribute("aria-hidden",`${!("true"===t)}`)}const t=document.getElementById("questionBtn");if(t){const e=t.getAttribute("aria-expanded");t.setAttribute("aria-expanded",`${!("true"===e)}`)}r((e=>!e))}),[]),C=(0,i.useMemo)((()=>ON(h)),[h]),x=(0,i.useMemo)((()=>h&&h.relatedSessionIds?h.relatedSessionIds.map((e=>y[e])).filter((e=>e&&e.published)):[]),[h,y]),A=(0,i.useCallback)((()=>{const e=document.getElementById("playerInner"),t=document.getElementById("commentArea"),n=document.getElementById("player");if(null===n||null===e)return;const r=null==n?void 0:n.offsetHeight,i=e.offsetHeight;768>window.innerWidth?t.style.height="calc(100vh - ("+r+"px + 17.8rem ))":t.style.height=i+"px"}),[]),I=(0,i.useCallback)((()=>{const e=document.getElementById("commentList"),t=document.getElementById("playerInner");if(null===t)return;const n=t.offsetHeight;768>window.innerWidth?e.style.height="calc(100% - 11.6rem)":e.style.height="calc("+n+"px - 145.5px)"}),[]),k=(0,i.useCallback)((()=>{const e=document.getElementById("playerInner");null!=document.getElementById("player")&&A(),null!=e&&I()}),[A,I]),P=(0,i.useCallback)((()=>{const e=document.getElementById("playerInner");null!=document.getElementById("player")&&A(),null!=e&&I()}),[A,I]);(0,i.useEffect)((()=>(window.scrollTo(0,0),k(),window.addEventListener("resize",P),()=>{window.removeEventListener("resize",P)})),[]);return(0,iA.jsxs)(iA.Fragment,{children:[(0,iA.jsx)("section",{className:"p-view",children:(0,iA.jsxs)("div",{className:"p-view_inner",children:[(0,iA.jsxs)("div",{id:"video",className:"p-view_video",children:[(0,iA.jsx)("div",{id:"player",className:"p-view_player",children:(0,iA.jsx)("div",{id:"playerInner",className:"p-view_playerInner",children:h&&(0,iA.jsx)(aN,{videoUrl:null==h?void 0:h.url,sessionId:a||""})})}),(0,iA.jsx)("div",{id:"commentArea",className:"p-view_commentArea",children:a&&(0,iA.jsx)(jP,{sessionId:a,onComment:async(t,n)=>{if(!t)return;const r={userId:(null==p?void 0:p.email)||"",userName:p.name,content:t,parentCommendId:n,sessionId:l,reactions:0};await Ww.addComment(e,r)},onReaction:async(n,r)=>{if(_){(null==_?void 0:_.NO_ID_FIELD)&&await Gw.upsertEmotion(e,l,null==_?void 0:_.NO_ID_FIELD,n);const r={type:yA.REACTION_CLICK,userId:(null==t?void 0:t.email)||"",sessionId:h.NO_ID_FIELD||"",reaction:n,totalReaction:_.total+1};await qw.createHistory(e,r)}else{const r={[n]:1,total:1};await Gw.addEmotion(e,l,(null==t?void 0:t.email)||"",r);const i={type:yA.REACTION_CLICK,userId:(null==t?void 0:t.email)||"",sessionId:h.NO_ID_FIELD||"",reaction:n,totalReaction:1};await qw.createHistory(e,i)}},data:g,userName:null==p?void 0:p.name,reactions:v})})]}),(0,iA.jsxs)("div",{ref:c,className:"p-view_content",id:"p-question-content",children:[t&&h&&!h.isSpecialSession&&(0,iA.jsxs)("div",{className:"p-view_question",children:[(0,iA.jsxs)("button",{onClick:T,id:"questionBtn",className:"p-view_questionBtn p-view_questionBtn-accordion","aria-expanded":!1,"aria-controls":"p-view_accordion",children:["\u6c17\u8efd\u306b\u8cea\u554f\u3057\u3066\u307f\u308b",(0,iA.jsx)("span",{className:"p-view_questionBtnPlus"})]}),(0,iA.jsx)("p",{className:"p-view_questionComment",children:"\u203b\u7fcc\u55b6\u696d\u65e5\u4ee5\u964d\u306b\u3054\u8fd4\u4fe1\u3044\u305f\u3057\u307e\u3059"})]}),(0,iA.jsx)(MP,{expand:n,email:null==p?void 0:p.email,name:null==p?void 0:p.name,onSendQuestion:E,onClose:S}),h&&(0,iA.jsx)(VP,{displayCategoryData:C,data:h,onDownload:async n=>{const r={type:yA.DOCUMENT_DOWNLOAD,userId:(null==t?void 0:t.email)||"",sessionId:h.NO_ID_FIELD||"",documentName:n.name};if(n.useExternalLink)r.type=yA.DOCUMENT_LINK_CLICK,r.documentLink=n.externalLink;else{const e=n.file;r.documentLink=e?e.downloadUrl:""}await qw.createHistory(e,r),window.open(r.documentLink,"_blank")},setting:d})]}),x.length>0&&(0,iA.jsx)("div",{className:"p-view_recommend",children:(0,iA.jsxs)("div",{className:"p-view_recommendInner",children:[(0,iA.jsx)("h2",{className:"p-view_recommendTtl",children:"\u304a\u3059\u3059\u3081\u52d5\u753b"}),(0,iA.jsx)("ul",{className:"p-session_cardList",children:x.map(((e,n)=>(0,iA.jsx)(lN,{data:e,setting:d,displayCategoryData:ON(e),userAuth:t,onOpenModal:()=>b(e)},n)))})]})})]})}),s&&(0,iA.jsx)(cN,{userAuth:t,setting:d,displayCategoryData:ON(s),open:!!s,data:s,onClose:w})]})},FN=()=>{const e=aw(),{data:t}=xb(),n=ne(),{status:r,data:s}=Hb($w.getProfileRef(e,(null==t?void 0:t.email)||"")),o=(0,i.useCallback)((async r=>{try{if(!t||!t.email)return;await $w.update(e,t.email,{name:r.name}),n("/home"),gk("\u30e6\u30fc\u30b6\u30fc\u540d\u304c\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f")}catch(mo){_k("\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f")}}),[e,n,t]),a=((e,t)=>GC({initialValues:e,enableReinitialize:!0,validateOnBlur:!1,validateOnChange:!1,validationSchema:nA({name:qx().required("\u672a\u5165\u529b\u3067\u3059")}),onSubmit(e){t(e)}}))({name:(null==s?void 0:s.name)||""},o);return(0,iA.jsxs)(iA.Fragment,{children:[(0,iA.jsx)(uN,{}),(0,iA.jsx)(wP,{formik:a})]})},LN=e=>{const{redirectPath:t,children:n}=e,r=aw(),{status:i,data:s}=Hb(Hw.getSettingDocumentRef(r));return"loading"===i?(0,iA.jsx)(iA.Fragment,{}):pN.isShowVideo(s)?n:(0,iA.jsx)(ve,{to:t})},jN=e=>{const{children:t}=e,n=aw(),{status:r,data:i}=Hb(Hw.getSettingDocumentRef(n));if("loading"===r)return(0,iA.jsx)(iA.Fragment,{});if(pN.isRedirectHomeToRoot(i)){return _i(bs()),(0,iA.jsx)(ve,{to:"/"})}if(pN.isRedirectHomeToFinish(i)){return _i(bs()),(0,iA.jsx)(ve,{to:"/finish"})}return t},MN=e=>{const{redirectPath:t,children:n}=e,{status:r,data:i}=xb();return"loading"===r?(0,iA.jsx)(iA.Fragment,{}):i?(0,iA.jsx)(ve,{to:t}):n};const UN=function(){return(0,iA.jsx)("div",{children:(0,iA.jsxs)(Ee,{children:[(0,iA.jsx)(be,{path:"/registration",element:(0,iA.jsx)(hN,{showMenu:!1}),children:(0,iA.jsx)(be,{index:!0,element:(0,iA.jsx)(dN,{tabs:[{link:"/registration",text:"\u8996\u8074\u7533\u3057\u8fbc\u307f",active:!0},{link:"/login",text:"\u30ed\u30b0\u30a4\u30f3",active:!1}],children:(0,iA.jsx)(_N,{})})})}),(0,iA.jsx)(be,{path:"/login",element:(0,iA.jsx)(hN,{showMenu:!1}),children:(0,iA.jsx)(be,{index:!0,element:(0,iA.jsx)(dN,{tabs:[{link:"/registration",text:"\u8996\u8074\u7533\u3057\u8fbc\u307f",active:!1},{link:"/login",text:"\u30ed\u30b0\u30a4\u30f3",active:!0}],children:(0,iA.jsx)(jN,{children:(0,iA.jsx)(gN,{})})})})}),(0,iA.jsx)(be,{path:"/forgot-password",element:(0,iA.jsx)(hN,{}),children:(0,iA.jsx)(be,{index:!0,element:(0,iA.jsx)(dN,{tabs:[{link:"/registration",text:"\u8996\u8074\u7533\u3057\u8fbc\u307f",active:!0},{link:"/login",text:"\u30ed\u30b0\u30a4\u30f3",active:!1}],children:(0,iA.jsx)(vN,{})})})}),(0,iA.jsx)(be,{path:"/forgot-password-sent",element:(0,iA.jsx)(hN,{}),children:(0,iA.jsx)(be,{index:!0,element:(0,iA.jsx)(dN,{tabs:[{link:"/registration",text:"\u8996\u8074\u7533\u3057\u8fbc\u307f",active:!0},{link:"/login",text:"\u30ed\u30b0\u30a4\u30f3",active:!1}],children:(0,iA.jsx)(yN,{})})})}),(0,iA.jsx)(be,{path:"/reset-password",element:(0,iA.jsx)(hN,{}),children:(0,iA.jsx)(be,{index:!0,element:(0,iA.jsx)(dN,{tabs:[{link:"/registration",text:"\u8996\u8074\u7533\u3057\u8fbc\u307f",active:!0},{link:"/login",text:"\u30ed\u30b0\u30a4\u30f3",active:!1}],children:(0,iA.jsx)(bN,{})})})}),(0,iA.jsx)(be,{path:"/home",element:(0,iA.jsx)(hN,{afterAuth:!0,hideFooter:!0}),children:(0,iA.jsx)(be,{index:!0,element:(0,iA.jsx)(jN,{children:(0,iA.jsx)(oA,{redirectPath:"/login",children:(0,iA.jsx)(NN,{})})})})}),(0,iA.jsx)(be,{path:"/session/:id",element:(0,iA.jsx)(hN,{afterAuth:!0,hideFooter:!0,showQa:!0}),children:(0,iA.jsx)(be,{index:!0,element:(0,iA.jsx)(jN,{children:(0,iA.jsx)(oA,{redirectPath:"/login",children:(0,iA.jsx)(LN,{redirectPath:"/home",children:(0,iA.jsx)(DN,{})})})})})}),(0,iA.jsx)(be,{path:"/profile",element:(0,iA.jsx)(hN,{afterAuth:!0,hideFooter:!0}),children:(0,iA.jsx)(be,{index:!0,element:(0,iA.jsx)(oA,{redirectPath:"/login",children:(0,iA.jsx)(FN,{})})})}),(0,iA.jsx)(be,{path:"/",element:(0,iA.jsx)(fN,{}),children:(0,iA.jsx)(be,{index:!0,element:(0,iA.jsx)(MN,{redirectPath:"/home",children:(0,iA.jsx)(PN,{})})})}),(0,iA.jsx)(be,{path:"/finish",element:(0,iA.jsx)(sA,{children:(0,iA.jsx)(RN,{})})})]})})};
vendor: 4,463 bytes, line 74
74o.H(document.getElementById("root")).render((0,iA.jsx)(i.StrictMode,{children:(0,iA.jsx)(ke,{children:(0,iA.jsxs)(Sb,{firebaseConfig:{apiKey:"AIzaSyAqrnh278DkaUjuVEBfLGtZwa0cEtP3n1o",authDomain:"shift-89fes2024.firebaseapp.com",projectId:"shift-89fes2024",storageBucket:"shift-89fes2024.appspot.com",messagingSenderId:"170484621347",appId:"1:170484621347:web:0e749d623ded68ff29d196",measurementId:"G-0B5PH9DBTL"},children:[(0,iA.jsx)(UN,{}),(0,iA.jsx)(Pw,{})]})})}))},3464:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",s="minute",o="hour",a="day",l="week",c="month",u="quarter",h="year",d="date",f="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+_(r,2,"0")+":"+_(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),s=n-i<0,o=t.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:h,w:l,d:a,D:d,h:o,m:s,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",b={};b[y]=g;var w="$isDayjsObject",E=function(e){return e instanceof x||!(!e||!e[w])},S=function e(t,n,r){var i;if(!t)return y;if("string"==typeof t){var s=t.toLowerCase();b[s]&&(i=s),n&&(b[s]=n,i=s);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var a=t.name;b[a]=t,i=a}return!r&&i&&(y=i),i||!r&&y},T=function(e,t){if(E(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new x(n)},C=v;C.l=S,C.i=E,C.w=function(e,t){return T(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function g(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(C.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return C},_.isValid=function(){return!(this.$d.toString()===f)},_.isSame=function(e,t){var n=T(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return T(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<T(e)},_.$g=function(e,t,n){return C.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!C.u(t)||t,u=C.p(e),f=function(e,t){var i=C.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(a)},p=function(e,t){return C.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,_=this.$D,v="set"+(this.$u?"UTC":"");switch(u){case h:return r?f(1,0):f(31,11);case c:return r?f(1,g):f(0,g+1);case l:var y=this.$locale().weekStart||0,b=(m<y?m+7:m)-y;return f(r?_-b:_+(6-b),g);case a:case d:return p(v+"Hours",0);case o:return p(v+"Minutes",1);case s:return p(v+"Seconds",2);case i:return p(v+"Milliseconds",3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,l=C.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[a]=u+"Date",n[d]=u+"Date",n[c]=u+"Month",n[h]=u+"FullYear",n[o]=u+"Hours",n[s]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],p=l===a?this.$D+(t-this.$W):t;if(l===c||l===h){var m=this.clone().set(d,1);
vendor: 3,421 bytes, line 74
74m.$d[f](p),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[C.p(e)]()},_.add=function(r,u){var d,f=this;r=Number(r);var p=C.p(u),m=function(e){var t=T(f);return C.w(t.date(t.date()+Math.round(e*r)),f)};if(p===c)return this.set(c,this.$M+r);if(p===h)return this.set(h,this.$y+r);if(p===a)return m(1);if(p===l)return m(7);var g=(d={},d[s]=t,d[o]=n,d[i]=e,d)[p]||1,_=this.$d.getTime()+r*g;return C.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=C.z(this),s=this.$H,o=this.$m,a=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,h=function(e,n,i,s){return e&&(e[n]||e(t,r))||i[n].slice(0,s)},d=function(e){return C.s(s%12||12,e,"0")},p=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return C.s(t.$y,4,"0");case"M":return a+1;case"MM":return C.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return t.$D;case"DD":return C.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(n.weekdaysMin,t.$W,l,2);case"ddd":return h(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(s);case"HH":return C.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return p(s,o,!0);case"A":return p(s,o,!1);case"m":return String(o);case"mm":return C.s(o,2,"0");case"s":return String(t.$s);case"ss":return C.s(t.$s,2,"0");case"SSS":return C.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,d,f){var p,m=this,g=C.p(d),_=T(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return C.m(m,_)};switch(g){case h:p=b()/12;break;case c:p=b();break;case u:p=b()/3;break;case l:p=(y-v)/6048e5;break;case a:p=(y-v)/864e5;break;case o:p=y/n;break;case s:p=y/t;break;case i:p=y/e;break;default:p=y}return f?p:C.a(p)},_.daysInMonth=function(){return this.endOf(c).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return C.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),A=x.prototype;return T.prototype=A,[["$ms",r],["$s",i],["$m",s],["$H",o],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(e){A[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),T.extend=function(e,t){return e.$i||(e(t,x,T),e.$i=!0),T},T.locale=S,T.isDayjs=E,T.unix=function(e){return T(1e3*e)},T.en=b[y],T.Ls=b,T.p={},T}()},2990:(e,t,n)=>{"use strict";var r=n(3569),i=n(9942),s=n(9255),o=!1,a=n(3189).rE,l="locals",c=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"],u=c.concat("cache"),h=/^\uFEFF/,d=/^[a-zA-Z_$][0-9a-zA-Z_$]*$/;function f(e,n){var i;if(n.some((function(n){return i=t.resolveInclude(e,n,!0),r.existsSync(i)})))return i}function p(e,n){var r,i=e.filename,s=arguments.length>1;
74if(e.cache){if(!i)throw new Error("cache option requires a filename");if(r=t.cache.get(i))return r;s||(n=m(i).toString().replace(h,""))}else if(!s){if(!i)throw new Error("Internal EJS error: no file name or template provided");n=m(i).toString().replace(h,"")}return r=t.compile(n,e),e.cache&&t.cache.set(i,r),r}function m(e){return t.fileLoader(e)}function g(e,n){var i=s.shallowCopy(s.createNullProtoObjWherePossible(),n);if(i.filename=function(e,n){var i,s,o=n.views,a=/^[A-Za-z]+:\\|^\//.exec(e);if(a&&a.length)e=e.replace(/^\/*/,""),i=Array.isArray(n.root)?f(e,n.root):t.resolveInclude(e,n.root||"/",!0);else if(n.filename&&(s=t.resolveInclude(e,n.filename),r.existsSync(s)&&(i=s)),!i&&Array.isArray(o)&&(i=f(e,o)),!i&&"function"!=typeof n.includer)throw new Error('Could not find the include file "'+n.escapeFunction(e)+'"');return i}(e,i),"function"==typeof n.includer){var o=n.includer(e,i.filename);if(o&&(o.filename&&(i.filename=o.filename),o.template))return p(i,o.template)}return p(i)}function _(e,t,n,r,i){var s=t.split("\n"),o=Math.max(r-3,0),a=Math.min(s.length,r+3),l=i(n),c=s.slice(o,a).map((function(e,t){var n=t+o+1;return(n==r?" >> ":" ")+n+"| "+e})).join("\n");throw e.path=l,e.message=(l||"ejs")+":"+r+"\n"+c+"\n\n"+e.message,e}function v(e){return e.replace(/;(\s*$)/,"$1")}function y(e,n){var r=s.hasOwnOnlyObject(n),i=s.createNullProtoObjWherePossible();this.templateText=e,this.mode=null,this.truncate=!1,this.currentLine=1,this.source="",i.client=r.client||!1,i.escapeFunction=r.escape||r.escapeFunction||s.escapeXML,i.compileDebug=!1!==r.compileDebug,i.debug=!!r.debug,i.filename=r.filename,i.openDelimiter=r.openDelimiter||t.openDelimiter||"<",i.closeDelimiter=r.closeDelimiter||t.closeDelimiter||">",i.delimiter=r.delimiter||t.delimiter||"%",i.strict=r.strict||!1,i.context=r.context,i.cache=r.cache||!1,i.rmWhitespace=r.rmWhitespace,i.root=r.root,i.includer=r.includer,i.outputFunctionName=r.outputFunctionName,i.localsName=r.localsName||t.localsName||l,i.views=r.views,i.async=r.async,i.destructuredLocals=r.de
74structuredLocals,i.legacyInclude=void 0===r.legacyInclude||!!r.legacyInclude,i.strict?i._with=!1:i._with=void 0===r._with||r._with,this.opts=i,this.regex=this.createRegex()}t.cache=s.cache,t.fileLoader=r.readFileSync,t.localsName=l,t.promiseImpl=new Function("return this;")().Promise,t.resolveInclude=function(e,t,n){var r=i.dirname,s=i.extname,o=(0,i.resolve)(n?t:r(t),e);return s(e)||(o+=".ejs"),o},t.compile=function(e,t){return t&&t.scope&&(o||(console.warn("`scope` option is deprecated and will be removed in EJS 3"),o=!0),t.context||(t.context=t.scope),delete t.scope),new y(e,t).compile()},t.render=function(e,t,n){var r=t||s.createNullProtoObjWherePossible(),i=n||s.createNullProtoObjWherePossible();return 2==arguments.length&&s.shallowCopyFromList(i,r,c),p(i,e)(r)},t.renderFile=function(){var e,n,r,i=Array.prototype.slice.call(arguments),o=i.shift(),a={filename:o};return"function"==typeof arguments[arguments.length-1]&&(e=i.pop()),i.length?(n=i.shift(),i.length?s.shallowCopy(a,i.pop()):(n.settings&&(n.settings.views&&(a.views=n.settings.views),n.settings["view cache"]&&(a.cache=!0),(r=n.settings["view options"])&&s.shallowCopy(a,r)),s.shallowCopyFromList(a,n,u)),a.filename=o):n=s.createNullProtoObjWherePossible(),function(e,n,r){var i;if(!r){if("function"==typeof t.promiseImpl)return new t.promiseImpl((function(t,r){try{t(i=p(e)(n))}catch(s){r(s)}}));throw new Error("Please provide a callback function")}try{i=p(e)(n)}catch(s){return r(s)}r(null,i)}(a,n,e)},t.Template=y,t.clearCache=function(){t.cache.reset()},y.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"},y.prototype={createRegex:function(){var e="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",t=s.escapeRegExpChars(this.opts.delimiter),n=s.escapeRegExpChars(this.opts.openDelimiter),r=s.escapeRegExpChars(this.opts.closeDelimiter);return e=e.replace(/%/g,t).replace(/</g,n).replace(/>/g,r),new RegExp(e)},compile:function(){var e,t,n,r=this.opts,o="",a="",l=r.escapeFunction,c=r.filename?JSON.stringify(r.filename):"undefined";if(!this.source){if(this.generateSource(),o+=' var __output = "";\n function __append(s) { if (s !== undefined && s !== null) __output += s }\n',r.outputFunctionName){if(!d.test(r.outputFunctionName))throw new Error("outputFunctionName is not a valid JS identifier.");o+=" var "+r.outputFunctionName+" = __append;\n"}if(r.localsName&&!d.test(r.localsName))throw new Error("localsName is not a valid JS identifier.");if(r.destructuredLocals&&r.destructuredLocals.length){for(var u=" var __locals = ("+r.localsName+" || {}),\n",h=0;h<r.destructuredLocals.length;h++){var f=r.destructuredLocals[h];if(!d.test(f))throw new Error("destructuredLocals["+h+"] is not a valid JS identifier.");h>0&&(u+=",\n "),u+=f+" = __locals."+f}o+=u+";\n"}!1!==r._with&&(o+=" with ("+r.localsName+" || {}) {\n",a+=" }\n"),a+=" return __output;\n",this.source=o+this.source+a}e=r.compileDebug?"var __line = 1\n , __lines = "+JSON.stringify(this.templateText)+"\n , __filename = "+c+";\ntry {\n"+this.source+"} catch (e) {\n rethrow(e, __lines, __filename, __line, escapeFn);\n}\n":this.source,r.client&&(e="escapeFn = escapeFn || "+l.toString()+";\n"+e,r.compileDebug&&(e="rethrow = rethrow || "+_.toString()+";\n"+e)),r.strict&&(e='"use strict";\n'+e),r.debug&&console.log(e),r.compileDebug&&r.filename&&(e=e+"\n//# sourceURL="+c+"\n");try{if(r.async)try{n=new Function("return (async function(){}).constructor;")()}catch(y){throw y instanceof SyntaxError?new Error("This environment does not support async/await"):y}else n=Function;t=new n(r.localsName+", escapeFn, include, rethrow",e)}catch(y){throw y instanceof SyntaxError&&(r.filename&&(y.message+=" in "+r.filename),y.message+=" while compiling ejs\n\n",y.message+="If the above error is not helpful, you may want to try EJS-Lint:\n",y.message+="https://github.com/RyanZim/EJS-Lint",r.async||(y.message+="\n",y.message+="Or, if you meant to create an async function, pass `async: true` as an option.")),y}var p=r.client?t:function(e){return t.apply(r.context,[e||s.createNullProtoObjWherePossible(),l,function(t,n){var i=s.shallowCopy(s.createNullProtoObjWherePossible(),e);return n&&(i=s.shallowCopy(i,n)),g(t,r)(i)},_])};if(r.filename&&"function"==typeof Object.defineProperty){var m=r.filename,v=i.base
74name(m,i.extname(m));try{Object.defineProperty(p,"name",{value:v,writable:!1,enumerable:!1,configurable:!0})}catch(y){}}return p},generateSource:function(){this.opts.rmWhitespace&&(this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"")),this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var e=this,t=this.parseTemplateText(),n=this.opts.delimiter,r=this.opts.openDelimiter,i=this.opts.closeDelimiter;t&&t.length&&t.forEach((function(s,o){var a;if(0===s.indexOf(r+n)&&0!==s.indexOf(r+n+n)&&(a=t[o+2])!=n+i&&a!="-"+n+i&&a!="_"+n+i)throw new Error('Could not find matching close tag for "'+s+'".');e.scanLine(s)}))},parseTemplateText:function(){for(var e,t=this.templateText,n=this.regex,r=n.exec(t),i=[];r;)0!==(e=r.index)&&(i.push(t.substring(0,e)),t=t.slice(e)),i.push(r[0]),t=t.slice(r[0].length),r=n.exec(t);return t&&i.push(t),i},_addOutput:function(e){if(this.truncate&&(e=e.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1),!e)return e;e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/"/g,'\\"'),this.source+=' ; __append("'+e+'")\n'},scanLine:function(e){var t,n=this.opts.delimiter,r=this.opts.openDelimiter,i=this.opts.closeDelimiter;switch(t=e.split("\n").length-1,e){case r+n:case r+n+"_":this.mode=y.modes.EVAL;break;case r+n+"=":this.mode=y.modes.ESCAPED;break;case r+n+"-":this.mode=y.modes.RAW;break;case r+n+"#":this.mode=y.modes.COMMENT;break;case r+n+n:this.mode=y.modes.LITERAL,this.source+=' ; __append("'+e.replace(r+n+n,r+n)+'")\n';break;case n+n+i:this.mode=y.modes.LITERAL,this.source+=' ; __append("'+e.replace(n+n+i,n+i)+'")\n';break;case n+i:case"-"+n+i:case"_"+n+i:this.mode==y.modes.LITERAL&&this._addOutput(e),this.mode=null,this.truncate=0===e.indexOf("-")||0===e.indexOf("_");break;default:if(this.mode){switch(this.mode){case y.modes.EVAL:case y.modes.ESCAPED:case y.modes.RAW:e.lastIndexOf("//")>e.lastIndexOf("\n")&&(e+="\n")}switch(this.mode){case y.modes.EVAL:this.source+=" ; "+e+"\n";break;case y.modes.ESCAPED:this.source+=" ; __append(escapeFn("+v(e)+"))\n";break;case y.modes.RAW:this.source+=" ; __append("+v(e)+")\n";break;case y.modes.COMMENT:break;case y.modes.LITERAL:this._addOutput(e)}}else this._addOutput(e)}this.opts.compileDebug&&t&&(this.currentLine+=t,this.source+=" ; __line = "+this.currentLine+"\n")}},t.escapeXML=s.escapeXML,t.__express=t.renderFile,t.VERSION=a,t.name="ejs","undefined"!=typeof window&&(window.ejs=t)},9255:(e,t)=>{"use strict";var n=/[|\\{}()[\]^$+*?.]/g,r=Object.prototype.hasOwnProperty,i=function(e,t){return r.apply(e,[t])};t.escapeRegExpChars=function(e){return e?String(e).replace(n,"\\$&"):""};var s={"&":"&","<":"<",">":">",'"':""","'":"'"},o=/[&<>'"]/g;function a(e){return s[e]||e}function l(){return Function.prototype.toString.call(this)+';\nvar _ENCODE_HTML_RULES = {\n "&": "&"\n , "<": "<"\n , ">": ">"\n , \'"\': """\n , "\'": "'"\n }\n , _MATCH_HTML = /[&<>\'"]/g;\nfunction encode_char(c) {\n return _ENCODE_HTML_RULES[c] || c;\n};\n'}t.escapeXML=function(e){return null==e?"":String(e).replace(o,a)};try{"function"==typeof Object.defineProperty?Object.defineProperty(t.escapeXML,"toString",{value:l}):t.escapeXML.toString=l}catch(c){console.warn("Unable to set escapeXML.toString (is the Function prototype frozen?)")}t.shallowCopy=function(e,t){if(t=t||{},null!=e)for(var n in t)i(t,n)&&"__proto__"!==n&&"constructor"!==n&&(e[n]=t[n]);return e},t.shallowCopyFromList=function(e,t,n){if(n=n||[],t=t||{},null!=e)for(var r=0;r<n.length;r++){var s=n[r];if(void 0!==t[s]){if(!i(t,s))continue;if("__proto__"===s||"constructor"===s)continue;e[s]=t[s]}}return e},t.cache={_data:{},set:function(e,t){this._data[e]=t},get:function(e){return this._data[e]},remove:function(e){delete this._data[e]},reset:function(){this._data={}}},t.hyphenToCamel=function(e){return e.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))},t.createNullProtoObjWherePossible="function"==typeof Object.create?function(){return Object.create(null)}:{__proto__:null}instanceof Object?function(){return{}}:function(){return{__proto__:null}},t.hasOwnOnlyObject=function(e){var n=t.createNullProtoObjWherePossible();for(var r in e)i(e,r)&&(n[r]=e[r]);return n}},5636:(e,t,n)=>{var r=n(4202),i=n(5826);t.FALLBACK_CHARACTER=63;var s=t.HAS_TYPED="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array,o=!1,a=!1;try{"a"===String.fromCharCode.apply(null,[97])&&(o=!0)}catch(u){}if(s)try{"a"===String.fromCharCode.apply(null,new Uint8Array([97]))&&(a=!0)}catch(u){}t.CAN_CHARCODE_APPLY=o,t.CAN_CHARCODE_APPLY_TYPED=a,t.APPLY_BUFFER_SIZE=65533,t.APPLY_BUFFER_SIZE_OK=null;var l=t.EncodingNames={UTF32:{order:0},UTF32BE:{alias:["UCS4"]},UTF32LE:null,UTF16:{order:1},UTF16BE:{alias:["UCS2"]},UTF16LE:null,BINARY:{order:2},ASCII:{order:3,alias:["ISO646","CP367"]},JIS:{order:4,alias:["ISO2022JP"]}
74,UTF8:{order:5},EUCJP:{order:6},SJIS:{order:7,alias:["CP932","MSKANJI","WINDOWS31J"]},UNICODE:{order:8}},c={};t.EncodingAliases=c,t.EncodingOrders=function(){for(var e,t,n,i,s=c,o=r.objectKeys(l),a=[],u=0,h=o.length;u<h;u++)if(s[e=o[u]]=e,null!=(t=l[e])&&(null!=t.order&&(a[a.length]=e),t.alias))for(n=0,i=t.alias.length;n<i;n++)s[t.alias[n]]=e;return a.sort((function(e,t){return l[e].order-l[t].order})),a}(),t.init_JIS_TO_UTF8_TABLE=function(){if(null===i.JIS_TO_UTF8_TABLE){i.JIS_TO_UTF8_TABLE={};for(var e,t,n=r.objectKeys(i.UTF8_TO_JIS_TABLE),s=0,o=n.length;s<o;s++)e=n[s],(t=i.UTF8_TO_JIS_TABLE[e])>95&&(i.JIS_TO_UTF8_TABLE[t]=0|e);for(i.JISX0212_TO_UTF8_TABLE={},o=(n=r.objectKeys(i.UTF8_TO_JISX0212_TABLE)).length,s=0;s<o;s++)e=n[s],t=i.UTF8_TO_JISX0212_TABLE[e],i.JISX0212_TO_UTF8_TABLE[t]=0|e}}},5765:(e,t,n)=>{var r=n(5636),i=n(4202),s=n(3367),o=n(5826);function a(e){r.init_JIS_TO_UTF8_TABLE();for(var t,n,i,s,a,l,c,u=[],h=0,d=e&&e.length;h<d;h++)(t=e[h])>=161&&t<=223?(s=188|(i=t-64)>>6&3,a=128|63&i,u[u.length]=239,u[u.length]=255&s,u[u.length]=255&a):t>=128?(n=t<<1,(i=e[++h])<159?(n-=n<319?225:97,i-=i>126?32:31):(n-=n<319?224:96,i-=126),l=((n&=255)<<8)+i,void 0===(c=o.JIS_TO_UTF8_TABLE[l])?u[u.length]=r.FALLBACK_CHARACTER:c<65535?(u[u.length]=c>>8&255,u[u.length]=255&c):(u[u.length]=c>>16&255,u[u.length]=c>>8&255,u[u.length]=255&c)):u[u.length]=255&e[h];return u}function l(e){r.init_JIS_TO_UTF8_TABLE();for(var t,n,i,s,a,l,c=[],u=0,h=e&&e.length;u<h;u++)142===(t=e[u])?(i=188|(n=e[++u]-64)>>6&3,s=128|63&n,c[c.length]=239,c[c.length]=255&i,c[c.length]=255&s):143===t?(a=(e[++u]-128<<8)+(e[++u]-128),void 0===(l=o.JISX0212_TO_UTF8_TABLE[a])?c[c.length]=r.FALLBACK_CHARACTER:l<65535?(c[c.length]=l>>8&255,c[c.length]=255&l):(c[c.length]=l>>16&255,c[c.length]=l>>8&255,c[c.length]=255&l)):t>=128?(a=(t-128<<8)+(e[++u]-128),void 0===(l=o.JIS_TO_UTF8_TABLE[a])?c[c.length]=r.FALLBACK_CHARACTER:l<65535?(c[c.length]=l>>8&255,c[c.length]=255&l):(c[c.length]=l>>16&255,c[c.length]=l>>8&255,c[c.length]=255&l)):c[c.length]=255&e[u];return c}function c(e){r.init_JIS_TO_UTF8_TABLE();for(var t,n,i,s,a,l=[],c=0,u=0,h=e&&e.length;u<h;u++){for(;27===e[u];)if(36===e[u+1]&&66===e[u+2]||36===e[u+1]&&64===e[u+2]?c=1:40===e[u+1]&&73===e[u+2]?c=2:36===e[u+1]&&40===e[u+2]&&68===e[u+3]?(c=3,u++):c=0,void 0===e[u+=3])return l;1===c?(s=(e[u]<<8)+e[++u],void 0===(a=o.JIS_TO_UTF8_TABLE[s])?l[l.length]=r.FALLBACK_CHARACTER:a<65535?(l[l.length]=a>>8&255,l[l.length]=255&a):(l[l.length]=a>>16&255,l[l.length]=a>>8&255,l[l.length]=255&a)):2===c?(n=188|(t=e[u]+64)>>6&3,i=128|63&t,l[l.length]=239,l[l.length]=255&n,l[l.length]=255&i):3===c?(s=(e[u]<<8)+e[++u],void 0===(a=o.JISX0212_TO_UTF8_TABLE[s])?l[l.length]=r.FALLBACK_CHARACTER:a<65535?(l[l.length]=a>>8&255,l[l.length]=255&a):(l[l.length]=a>>16&255,l[l.length]=a>>8&255,l[l.length]=255&a)):l[l.length]=255&e[u]}return l}function u(e,t){for(var n,i,s,a,l,c,u=[],h=0,d=e&&e.length,f=t&&t.fallback;h<d;h++)(n=e[h])>=128?(n<=223?(a=[n,e[h+1]],l=(n<<8)+e[++h]):n<=239?(a=[n,e[h+1],e[h+2]],l=(n<<16)+(e[++h]<<8)+(255&e[++h])):(a=[n,e[h+1],e[h+2],e[h+3]],l=(n<<24)+(e[++h]<<16)+(e[++h]<<8)+(255&e[++h])),null==(c=o.UTF8_TO_JIS_TABLE[l])?f?I(u,a,f):u[u.length]=r.FALLBACK_CHARACTER:c<255?u[u.length]=c+128:(c>65536&&(c-=65536),s=255&c,1&(i=c>>8)?((i>>=1)<47?i+=113:i-=79,s+=s>95?32:31):((i>>=1)<=47?i+=112:i-=80,s+=126),u[u.length]=255&i,u[u.length]=255&s)):u[u.length]=255&e[h];return u}function h(e,t){for(var n,i,s,a,l=[],c=0,u=e&&e.length,h=t&&t.fallback;c<u;c++)(n=e[c])>=128?(n<=223?(i=[n,e[c+1]],s=(n<<8)+e[++c]):n<=239?(i=[n,e[c+1],e[c+2]],s=(n<<16)+(e[++c]<<8)+(255&e[++c])):(i=[n,e[c+1],e[c+2],e[c+3]],s=(n<<24)+(e[++c]<<16)+(e[++c]<<8)+(255&e[++c])),null==(a=o.UTF8_TO_JIS_TABLE[s])?null==(a=o.UTF8_TO_JISX0212_TABLE[s])?h?I(l,i,h):l[l.length]=r.FALLBACK_CHARACTER:(l[l.length]=143,l[l.length]=(a>>8)-128&255,l[l.length]=(255&a)-128&255):(a>65536&&(a-=65536),a<255?(l[l.length]=142,l[l.length]=a-128&255):(l[l.length]=(a>>8)-128&255,l[l.length]=(255&a)-128&255))):l[l.length]=255&e[c];return l}function d(e,t){for(var n,i,s,a,l=[],c=0,u=e&&e.length,h=0,d=t&&t.fallback,f=[27,40,66,27,36,66,27,40,73,27,36,40,68];h<u;h++)(n=e[h])<128?(0!==c&&(c=0,l[l.length]=f[0],l[l.length]=f[1],l[l.length]=f[2]),l[l.length]=255&n):(n<=223?(i=[n,e[h+1]],s=(n<<8)+e[++h]):n<=239?(i=[n,e[h+1],e[h+2]],s=(n<<16)+(e[++h]<<8)+(255&e[++h])):(i=[n,e[h+1],e[h+2],e[h+3]],s=(n<<24)+(e[++h]<<16)+(e[++h]<<8)+(255&e[++h])),null==(a=o.UTF8_TO_JIS_TABLE[s])?null==(a=o.UTF8_TO_JISX0212_TABLE[s])?(0!==c&&(c=0,l[l.length]=f[0],l[l.length]=f[1],l[l.length]=f[2]),d?I(l,i,d):l[l.length]=r.FALLBACK_CHARACTER):(3!==c&&(c=3,l[l.length]=f[9],l[l.length]=f[10],l[l.length]=f[11],l[l.length]=f[12]),l[l.length]=a>>8&255,l[l.length]=255&a):(a>65536&&(a-=65536),a<255?(2!==c&&(c=2,l[l.length]=f[6],l[l.length]=f[7],l[l.length]=f[8]),l[l.length]=255&a):(1!==c&&(c=1,l[l.length]=f[3],l[l.length]=f[4],l[l.length]=f[5]),l[l.length]=a>>8&255,l[l.length]=255&a)));return 0!==c&&(l[l.length]=f[0],l[l.length]=f[1],l[l.length]=f[2]),l}function f(e){for(var t,n,r=[],i=0,s=e&&e.length;i<s;i++)(t=e[i])>=55296&&t<=56319&&i+1<s&&(n=e[i+1])>=56320&&n<=57343&&(t=1024*(t-55296)+n-56320+65536,i++),t<128?r[r.length]=t:t<2048?(r[r.length]=192|t>>6&31,r[r.length]=128|63&t):t<65536?(r[r.length]=224|t>>12&15,r[r.length]=128|t>>6&63,r[r.length]=128|63&t):t<2097152&&(r[r.length]=240|t>>18&15,r[r.length]=128|t>>12&63,r[r.length]=128|t>>6&63,r[r.length]=128|63&t);return r}function p(e,t){for(var n,r,i,s=[],o=0,a=e&&e.length,l=t&&t.ignoreSurrogatePair;o<a;)(n=(r=e[o++])>>4)>=0&&n<=7?i=r:12===n||13===n?i=(31&r)<<6|63&e[o++]:14===n?i=(15&r)<<12|(63&e[o++])<<6|63&e[o++]:15===n&&(i=(7&r)<<18|(63&e[o++])<<12|(63&e[o++])<<6|63&e[o++]),i<=65535||l?s[s.length]=i:(i-=6
745536,s[s.length]=55296+(i>>10),s[s.length]=i%1024+56320);return s}function m(e,t){var n;if(t&&t.bom){var r,s,o=t.bom;i.isString(o)||(o="BE"),"B"===o.charAt(0).toUpperCase()?(r=[254,255],s=g(e)):(r=[255,254],s=_(e)),(n=[])[0]=r[0],n[1]=r[1];for(var a=0,l=s.length;a<l;a++)n[n.length]=s[a]}else n=g(e);return n}function g(e){for(var t,n=[],r=0,i=e&&e.length;r<i;)(t=e[r++])<=255?(n[n.length]=0,n[n.length]=t):t<=65535&&(n[n.length]=t>>8&255,n[n.length]=255&t);return n}function _(e){for(var t,n=[],r=0,i=e&&e.length;r<i;)(t=e[r++])<=255?(n[n.length]=t,n[n.length]=0):t<=65535&&(n[n.length]=255&t,n[n.length]=t>>8&255);return n}function v(e){var t,n,r=[],i=0,s=e&&e.length;for(s>=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(i=2);i<s;)t=e[i++],n=e[i++],r[r.length]=0===t?n:(255&t)<<8|255&n;return r}function y(e){var t,n,r=[],i=0,s=e&&e.length;for(s>=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(i=2);i<s;)t=e[i++],n=e[i++],r[r.length]=0===n?t:(255&n)<<8|255&t;return r}function b(e){for(var t,n,r=[],i=0,o=e&&e.length,a=!1,l=!0;i<o;)t=e[i++],n=e[i++],l&&2===i?(l=!1,254===t&&255===n?a=!1:255===t&&254===n?a=!0:(a=s.isUTF16LE(e),i=0)):r[r.length]=a?0===n?t:(255&n)<<8|255&t:0===t?n:(255&t)<<8|255&n;return r}function w(e){var t,n,r=[],i=0,s=e&&e.length;for(s>=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(i=2);i<s;)t=e[i++],n=e[i++],r[r.length]=n,r[r.length]=t;return r}function E(e,t){return m(p(e),t)}function S(e){return f(b(e))}function T(e){return g(p(e))}function C(e){return f(v(e))}function x(e){return _(p(e))}function A(e){return f(y(e))}function I(e,t,n){switch(n){case"html-entity":case"html-entity-hex":var r=p(t,{ignoreSurrogatePair:!0})[0];if(r){e[e.length]=38,e[e.length]=35;var i="hex"===n.slice(-3)?16:10;16===i&&(e[e.length]=120);for(var s=r.toString(i),o=0,a=s.length;o<a;o++)e[e.length]=s.charCodeAt(o);e[e.length]=59}break;case"error":throw new Error("Character cannot be represented: ["+t.join(", ")+"]")}}t.JISToSJIS=function(e){for(var t,n,i=[],s=0,o=0,a=e&&e.length;o<a;o++){for(;27===e[o];)if(36===e[o+1]&&66===e[o+2]||36===e[o+1]&&64===e[o+2]?s=1:40===e[o+1]&&73===e[o+2]?s=2:36===e[o+1]&&40===e[o+2]&&68===e[o+3]?(s=3,o++):s=0,void 0===e[o+=3])return i;1===s?(t=e[o],n=e[++o],1&t?((t>>=1)<47?t+=113:t-=79,n+=n>95?32:31):((t>>=1)<=47?t+=112:t-=80,n+=126),i[i.length]=255&t,i[i.length]=255&n):i[i.length]=2===s?e[o]+128&255:3===s?r.FALLBACK_CHARACTER:255&e[o]}return i},t.JISToEUCJP=function(e){for(var t=[],n=0,r=e&&e.length,i=0;i<r;i++){for(;27===e[i];)if(36===e[i+1]&&66===e[i+2]||36===e[i+1]&&64===e[i+2]?n=1:40===e[i+1]&&73===e[i+2]?n=2:36===e[i+1]&&40===e[i+2]&&68===e[i+3]?(n=3,i++):n=0,void 0===e[i+=3])return t;1===n?(t[t.length]=e[i]+128&255,t[t.length]=e[++i]+128&255):2===n?(t[t.length]=142,t[t.length]=e[i]+128&255):3===n?(t[t.length]=143,t[t.length]=e[i]+128&255,t[t.length]=e[++i]+128&255):t[t.length]=255&e[i]}return t},t.SJISToJIS=function(e){for(var t,n,r=[],i=0,s=e&&e.length,o=0,a=[27,40,66,27,36,66,27,40,73];o<s;o++)(t=e[o])>=161&&t<=223?(2!==i&&(i=2,r[r.length]=a[6],r[r.length]=a[7],r[r.length]=a[8]),r[r.length]=t-128&255):t>=128?(1!==i&&(i=1,r[r.length]=a[3],r[r.length]=a[4],r[r.length]=a[5]),t<<=1,(n=e[++o])<159?(t-=t<319?225:97,n-=n>126?32:31):(t-=t<319?224:96,n-=126),r[r.length]=255&t,r[r.length]=255&n):(0!==i&&(i=0,r[r.length]=a[0],r[r.length]=a[1],r[r.length]=a[2]),r[r.length]=255&t);return 0!==i&&(r[r.length]=a[0],r[r.length]=a[1],r[r.length]=a[2]),r},t.SJISToEUCJP=function(e){for(var t,n,r=[],i=e&&e.length,s=0;s<i;s++)(t=e[s])>=161&&t<=223?(r[r.length]=142,r[r.length]=t):t>=129?(t<<=1,(n=e[++s])<159?(t-=t<319?97:225,n+=n>126?96:97):(t-=t<319?96:224,n+=2),r[r.length]=255&t,r[r.length]=255&n):r[r.length]=255&t;return r},t.EUCJPToJIS=function(e){for(var t,n=[],r=0,i=e&&e.length,s=0,o=[27,40,66,27,36,66,27,40,73,27,36,40,68];s<i;s++)142===(t=e[s])?(2!==r&&(r=2,n[n.length]=o[6],n[n.length]=o[7],n[n.length]=o[8]),n[n.length]=e[++s]-128&255):143===t?(3!==r&&(r=3,n[n.length]=o[9],n[n.length]=o[10],n[n.length]=o[11],n[n.length]=o[12]),n[n.length]=e[++s]-128&255,n[n.length]=e[++s]-128&255):t>142?(1!==r&&(r=1,n[n.length]=o[3],n[n.length]=o[4],n[n.length]=o[5]),n[n.length]=t-128&255,n[n.length]=e[++s]-128&255):(0!==r&&(r=0,n[n.length]=o[0],n[n.length]=o[1],n[n.length]=o[2]),n[n.length]=255&t);return 0!==r&&(n[n.length]=o[0],n[n.length]=o[1],n[n.length]=o[2]),n},t.EUCJPToSJIS=function(e){for(var t,n,i=[],s=e&&e.length,o=0;o<s;o++)143===(t=e[o])?(i[i.length]=r.FALLBACK_CHARACTER,o+=2):t>
74142?(n=e[++o],1&t?(t>>=1,t+=t<111?49:113,n-=n>223?96:97):(t>>=1,t+=t<=111?48:112,n-=2),i[i.length]=255&t,i[i.length]=255&n):i[i.length]=142===t?255&e[++o]:255&t;return i},t.SJISToUTF8=a,t.EUCJPToUTF8=l,t.JISToUTF8=c,t.UTF8ToSJIS=u,t.UTF8ToEUCJP=h,t.UTF8ToJIS=d,t.UNICODEToUTF8=f,t.UTF8ToUNICODE=p,t.UNICODEToUTF16=m,t.UNICODEToUTF16BE=g,t.UNICODEToUTF16LE=_,t.UTF16BEToUNICODE=v,t.UTF16LEToUNICODE=y,t.UTF16ToUNICODE=b,t.UTF16ToUTF16BE=function(e){for(var t,n,r=[],i=0,o=e&&e.length,a=!1,l=!0;i<o;)t=e[i++],n=e[i++],l&&2===i?(l=!1,254===t&&255===n?a=!1:255===t&&254===n?a=!0:(a=s.isUTF16LE(e),i=0)):a?(r[r.length]=n,r[r.length]=t):(r[r.length]=t,r[r.length]=n);return r},t.UTF16BEToUTF16=function(e,t){var n,r=!1;if(t&&t.bom){var s=t.bom;i.isString(s)||(s="BE"),"B"===s.charAt(0).toUpperCase()?n=[254,255]:(n=[255,254],r=!0)}var o,a,l=[],c=e&&e.length,u=0;for(c>=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(u=2),n&&(l[0]=n[0],l[1]=n[1]);u<c;)o=e[u++],a=e[u++],r?(l[l.length]=a,l[l.length]=o):(l[l.length]=o,l[l.length]=a);return l},t.UTF16ToUTF16LE=function(e){for(var t,n,r=[],i=0,o=e&&e.length,a=!1,l=!0;i<o;)t=e[i++],n=e[i++],l&&2===i?(l=!1,254===t&&255===n?a=!1:255===t&&254===n?a=!0:(a=s.isUTF16LE(e),i=0)):a?(r[r.length]=t,r[r.length]=n):(r[r.length]=n,r[r.length]=t);return r},t.UTF16LEToUTF16=function(e,t){var n,r=!1;if(t&&t.bom){var s=t.bom;i.isString(s)||(s="BE"),"B"===s.charAt(0).toUpperCase()?n=[254,255]:(n=[255,254],r=!0)}var o,a,l=[],c=e&&e.length,u=0;for(c>=2&&(254===e[0]&&255===e[1]||255===e[0]&&254===e[1])&&(u=2),n&&(l[0]=n[0],l[1]=n[1]);u<c;)o=e[u++],a=e[u++],r?(l[l.length]=o,l[l.length]=a):(l[l.length]=a,l[l.length]=o);return l},t.UTF16BEToUTF16LE=w,t.UTF16LEToUTF16BE=function(e){return w(e)},t.UNICODEToJIS=function(e,t){return d(f(e),t)},t.JISToUNICODE=function(e){return p(c(e))},t.UNICODEToEUCJP=function(e,t){return h(f(e),t)},t.EUCJPToUNICODE=function(e){return p(l(e))},t.UNICODEToSJIS=function(e,t){return u(f(e),t)},t.SJISToUNICODE=function(e){return p(a(e))},t.UTF8ToUTF16=E,t.UTF16ToUTF8=S,t.UTF8ToUTF16BE=T,t.UTF16BEToUTF8=C,t.UTF8ToUTF16LE=x,t.UTF16LEToUTF8=A,t.JISToUTF16=function(e,t){return E(c(e),t)},t.UTF16ToJIS=function(e,t){return d(S(e),t)},t.JISToUTF16BE=function(e){return T(c(e))},t.UTF16BEToJIS=function(e,t){return d(C(e),t)},t.JISToUTF16LE=function(e){return x(c(e))},t.UTF16LEToJIS=function(e,t){return d(A(e),t)},t.EUCJPToUTF16=function(e,t){return E(l(e),t)},t.UTF16ToEUCJP=function(e,t){return h(S(e),t)},t.EUCJPToUTF16BE=function(e){return T(l(e))},t.UTF16BEToEUCJP=function(e,t){return h(C(e),t)},t.EUCJPToUTF16LE=function(e){return x(l(e))},t.UTF16LEToEUCJP=function(e,t){return h(A(e),t)},t.SJISToUTF16=function(e,t){return E(a(e),t)},t.UTF16ToSJIS=function(e,t){return u(S(e),t)},t.SJISToUTF16BE=function(e){return T(a(e))},t.UTF16BEToSJIS=function(e,t){return u(C(e),t)},t.SJISToUTF16LE=function(e){return x(a(e))},t.UTF16LEToSJIS=function(e,t){return u(A(e),t)}},3367:(e,t)=>{t.isBINARY=function(e){for(var t,n=0,r=e&&e.length;n<r;n++){if((t=e[n])>255)return!1;if(t>=0&&t<=7||255===t)return!0}return!1},t.isASCII=function(e){for(var t,n=0,r=e&&e.length;n<r;n++)if((t=e[n])>255||t>=128&&t<=255||27===t)return!1;return!0},t.isJIS=function(e){for(var t,n,r,i=0,s=e&&e.length;i<s;i++){if((t=e[i])>255||t>=128&&t<=255)return!1;if(27===t){if(i+2>=s)return!1;if(n=e[i+1],r=e[i+2],36===n){if(40===r||64===r||66===r)return!0}else{if(38===n&&64===r)return!0;if(40===n&&(66===r||73===r||74===r))return!0}}}return!1},t.isEUCJP=function(e){for(var t,n=0,r=e&&e.length;n<r;n++)if(!((t=e[n])<128)){if(t>255||t<142)return!1;if(142===t){if(n+1>=r)return!1;if((t=e[++n])<161||223<t)return!1}else if(143===t){if(n+2>=r)return!1;if((t=e[++n])<162||237<t)return!1;if((t=e[++n])<161||254<t)return!1}else{if(!(161<=t&&t<=254))return!1;if(n+1>=r)return!1;if((t=e[++n])<161||254<t)return!1}}return!0},t.isSJIS=function(e){for(var t,n=0,r=e&&e.length;n<r&&e[n]>128;)if(e[n++]>255)return!1;for(;n<r;n++)if(!((t=e[n])<=128||161<=t&&t<=223)){if(160===t||t>239||n+1>=r)return!1;if((t=e[++n])<64||127===t||t>252)return!1}return!0},t.isUTF8=function(e){for(var t,n=0,r=e&&e.length;n<r;n++){if((t=e[n])>255)return!1;if(!(9===t||10===t||13===t||t>=32&&t<=126))if(t>=194&&t<=223){if(n+1>=r||e[n+1]<128||e[n+1]>191)return!1;n++}else if(224===t){if(n+2>=r||e[n+1]<160||e[n+1]>191||e[n+2]<128||e[n+2]>191)return!1;n+=2}else if(t>=225&&t<=236||238===t||239===t){if(n+2>=r||e[n+1]<128||e[n+1]>191||e[n+2]<128||e[n+2]>191)return!1;n+=2}else if(237===t){if(n+2>=r||e[n+1]<128||e[n+1]>159||e[n+2]<128||e[n+2]>191)return!1;n+=2}else if(240===t){if(n+3>=r||e[n+1]<144||e[n+1]>191||e[n+2]<128||e[n+2]>191||e[n+3]<128||e[n+3]>191)return!1;n+=3}else if(t>=241&&t<=243){if(n+3>=r||e[n+1]<128||e[n+1]>191||e[n+2]<128||e[n+2]>191||e[n+3]<128||e[n+3]>191)return!1;n+=3}else{if(244!==t)return!1;if(n+3>=r||e[n+1]<128||e[n+1]>143||e[n+2]<128||e[n+2]>191||e[n+3]<128||e[n+3]>191)return!1;n+=3}}return!0},t.isUTF16=function(e){var t,n,r,i,s=0,o=e&&e.length,a=null;if(o<2){if(e[0]>255)return!1}else{if(t=e[0],n=e[1],255===t&&254===n)return!0;
74if(254===t&&255===n)return!0;for(;s<o;s++){if(0===e[s]){a=s;break}if(e[s]>255)return!1}if(null===a)return!1;if(void 0!==(r=e[a+1])&&r>0&&r<128)return!0;if(void 0!==(i=e[a-1])&&i>0&&i<128)return!0}return!1},t.isUTF16BE=function(e){var t,n,r=0,i=e&&e.length,s=null;if(i<2){if(e[0]>255)return!1}else{if(t=e[0],n=e[1],254===t&&255===n)return!0;for(;r<i;r++){if(0===e[r]){s=r;break}if(e[r]>255)return!1}if(null===s)return!1;if(s%2==0)return!0}return!1},t.isUTF16LE=function(e){var t,n,r=0,i=e&&e.length,s=null;if(i<2){if(e[0]>255)return!1}else{if(t=e[0],n=e[1],255===t&&254===n)return!0;for(;r<i;r++){if(0===e[r]){s=r;break}if(e[r]>255)return!1}if(null===s)return!1;if(s%2!=0)return!0}return!1},t.isUTF32=function(e){var t,n,r,i,s,o,a=0,l=e&&e.length,c=null;if(l<4){for(;a<l;a++)if(e[a]>255)return!1}else{if(t=e[0],n=e[1],r=e[2],i=e[3],0===t&&0===n&&254===r&&255===i)return!0;if(255===t&&254===n&&0===r&&0===i)return!0;for(;a<l;a++){if(0===e[a]&&0===e[a+1]&&0===e[a+2]){c=a;break}if(e[a]>255)return!1}if(null===c)return!1;if(void 0!==(s=e[c+3])&&s>0&&s<=127)return 0===e[c+2]&&0===e[c+1];if(void 0!==(o=e[c-1])&&o>0&&o<=127)return 0===e[c+1]&&0===e[c+2]}return!1},t.isUNICODE=function(e){for(var t,n=0,r=e&&e.length;n<r;n++)if((t=e[n])<0||t>1114111)return!1;return!0}},5826:(e,t,n)=>{t.UTF8_TO_JIS_TABLE=n(4445),t.UTF8_TO_JISX0212_TABLE=n(6250),t.JIS_TO_UTF8_TABLE=n(8001),t.JISX0212_TO_UTF8_TABLE=n(6942)},2320:(e,t,n)=>{var r=n(5636),i=n(4202),s=n(3367),o=n(5765),a=n(3285),l=n(5214).rE,c=Object.prototype.hasOwnProperty,u={version:l,orders:r.EncodingOrders,detect:function(e,t){if(null==e||0===e.length)return!1;i.isObject(t)&&!i.isArray(t)&&(t=t.encoding),i.isString(e)&&(e=i.stringToBuffer(e)),null==t?t=u.orders:i.isString(t)&&(t="AUTO"===(t=t.toUpperCase())?u.orders:~t.indexOf(",")?t.split(/\s*,\s*/):[t]);for(var n,r,o,a=t.length,l=0;l<a;l++)if(n=t[l],r=i.canonicalizeEncodingName(n)){if(o="is"+r,!c.call(s,o))throw new Error("Undefined encoding: "+n);if(s[o](e))return r}return!1},convert:function(e,t,n){var r,s,a;i.isObject(t)?(n=(a=t).from,t=a.to,a.type&&(s=a.type)):a={},i.isString(e)?(s=s||"string",e=i.stringToBuffer(e)):null!=e&&0!==e.length||(e=[]);var l=(null!=n&&i.isString(n)&&"AUTO"!==n.toUpperCase()&&!~n.indexOf(",")?i.canonicalizeEncodingName(n):u.detect(e))+"To"+i.canonicalizeEncodingName(t);switch(r=c.call(o,l)?o[l](e,a):e,(""+s).toLowerCase()){case"string":return i.codeToString_fast(r);case"arraybuffer":return i.codeToBuffer(r);default:return i.bufferToCode(r)}},urlEncode:function(e){i.isString(e)&&(e=i.stringToBuffer(e));for(var t,n=i.stringToCode("0123456789ABCDEF"),r=[],s=0,o=e&&e.length;s<o;s++){if((t=e[s])>255)return encodeURIComponent(i.codeToString_fast(e));t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||33===t||t>=39&&t<=42||45===t||46===t||95===t||126===t?r[r.length]=t:(r[r.length]=37,t<16?(r[r.length]=48,r[r.length]=n[t]):(r[r.length]=n[t>>4&15],r[r.length]=n[15&t]))}return i.codeToString_fast(r)},urlDecode:function(e){for(var t,n=[],r=0,i=e&&e.length;r<i;)t=e.charCodeAt(r++),n[n.length]=37===t?parseInt(e.charAt(r++)+e.charAt(r++),16):t;return n},base64Encode:function(e){return i.isString(e)&&(e=i.stringToBuffer(e)),i.base64encode(e)},base64Decode:function(e){return i.base64decode(e)},codeToString:i.codeToString_fast,stringToCode:i.stringToCode,toHankakuCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var n,r=[],s=e&&e.length,o=0;o<s;)(n=e[o++])>=65281&&n<=65374&&(n-=65248),r[r.length]=n;return t?i.codeToString_fast(r):r},toZenkakuCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var n,r=[],s=e&&e.length,o=0;o<s;)(n=e[o++])>=33&&n<=126&&(n+=65248),r[r.length]=n;return t?i.codeToString_fast(r):r},toHiraganaCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var n,r=[],s=e&&e.length,o=0;o<s;)(n=e[o++])>=12449&&n<=12534?n-=96:12535===n?(r[r.length]=12431,n=12443):12538===n&&(r[r.length]=12434,n=12443),r[r.length]=n;return t?i.codeToString_fast(r):r},toKatakanaCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var n,r=[],s=e&&e.length,o=0;o<s;)(n=e[o++])>=12353&&n<=12438&&((12431===n||12434===n)&&o<s&&12443===e[o]?(n=12431===n?12535:12538,o++):n+=96),r[r.length]=n;
74return t?i.codeToString_fast(r):r},toHankanaCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));for(var n,r,s,o=[],l=e&&e.length,c=0;c<l;)(n=e[c++])>=12289&&n<=12540&&void 0!==(s=a.HANKANA_TABLE[n])?o[o.length]=s:12532===n||12535===n||12538===n?(o[o.length]=a.HANKANA_SONANTS[n],o[o.length]=65438):n>=12459&&n<=12489?(o[o.length]=a.HANKANA_TABLE[n-1],o[o.length]=65438):n>=12495&&n<=12509?(r=n%3,o[o.length]=a.HANKANA_TABLE[n-r],o[o.length]=a.HANKANA_MARKS[r-1]):o[o.length]=n;return t?i.codeToString_fast(o):o},toZenkanaCase:function(e){var t=!1;i.isString(e)&&(t=!0,e=i.stringToBuffer(e));var n,r,s,o=[],l=e&&e.length,c=0;for(c=0;c<l;c++)(n=e[c])>65376&&n<65440&&(r=a.ZENKANA_TABLE[n-65377],c+1<l&&(65438===(s=e[c+1])&&65395===n?(r=12532,c++):65438===s&&65436===n?(r=12535,c++):65438===s&&65382===n?(r=12538,c++):65438===s&&(n>65397&&n<65413||n>65417&&n<65423)?(r++,c++):65439===s&&n>65417&&n<65423&&(r+=2,c++)),n=r),o[o.length]=n;return t?i.codeToString_fast(o):o},toHankakuSpace:function(e){if(i.isString(e))return e.replace(/\u3000/g," ");for(var t,n=[],r=e&&e.length,s=0;s<r;)12288===(t=e[s++])&&(t=32),n[n.length]=t;return n},toZenkakuSpace:function(e){if(i.isString(e))return e.replace(/\u0020/g,"\u3000");for(var t,n=[],r=e&&e.length,s=0;s<r;)32===(t=e[s++])&&(t=12288),n[n.length]=t;return n}};e.exports=u},8001:e=>{e.exports=null},6942:e=>{e.exports=null},3285:(e,t)=>{t.HANKANA_TABLE={12289:65380,12290:65377,12300:65378,12301:65379,12443:65438,12444:65439,12449:65383,12450:65393,12451:65384,12452:65394,12453:65385,12454:65395,12455:65386,12456:65396,12457:65387,12458:65397,12459:65398,12461:65399,12463:65400,12465:65401,12467:65402,12469:65403,12471:65404,12473:65405,12475:65406,12477:65407,12479:65408,12481:65409,12483:65391,12484:65410,12486:65411,12488:65412,12490:65413,12491:65414,12492:65415,12493:65416,12494:65417,12495:65418,12498:65419,12501:65420,12504:65421,12507:65422,12510:65423,12511:65424,12512:65425,12513:65426,12514:65427,12515:65388,12516:65428,12517:65389,12518:65429,12519:65390,12520:65430,12521:65431,12522:65432,12523:65433,12524:65434,12525:65435,12527:65436,12530:65382,12531:65437,12539:65381,12540:65392},t.HANKANA_SONANTS={12532:65395,12535:65436,12538:65382},t.HANKANA_MARKS=[65438,65439],t.ZENKANA_TABLE=[12290,12300,12301,12289,12539,12530,12449,12451,12453,12455,12457,12515,12517,12519,12483,12540,12450,12452,12454,12456,12458,12459,12461,12463,12465,12467,12469,12471,12473,12475,12477,12479,12481,12484,12486,12488,12490,12491,12492,12493,12494,12495,12498,12501,12504,12507,12510,12511,12512,12513,12514,12516,12518,12520,12521,12522,12523,12524,12525,12527,12531,12443,12444]},4445:e=>
vendor: 109,871 bytes, line 74
74{e.exports={15711649:33,15711650:34,15711651:35,15711652:36,15711653:37,15711654:38,15711655:39,15711656:40,15711657:41,15711658:42,15711659:43,15711660:44,15711661:45,15711662:46,15711663:47,15711664:48,15711665:49,15711666:50,15711667:51,15711668:52,15711669:53,15711670:54,15711671:55,15711672:56,15711673:57,15711674:58,15711675:59,15711676:60,15711677:61,15711678:62,15711679:63,15711872:64,15711873:65,15711874:66,15711875:67,15711876:68,15711877:69,15711878:70,15711879:71,15711880:72,15711881:73,15711882:74,15711883:75,15711884:76,15711885:77,15711886:78,15711887:79,15711888:80,15711889:81,15711890:82,15711891:83,15711892:84,15711893:85,15711894:86,15711895:87,15711896:88,15711897:89,15711898:90,15711899:91,15711900:92,15711901:93,15711902:94,15711903:95,14848416:11553,14848417:11554,14848418:11555,14848419:11556,14848420:11557,14848421:11558,14848422:11559,14848423:11560,14848424:11561,14848425:11562,14848426:11563,14848427:11564,14848428:11565,14848429:11566,14848430:11567,14848431:11568,14848432:11569,14848433:11570,14848434:11571,14848435:11572,14845344:11573,14845345:11574,14845346:11575,14845347:11576,14845348:11577,14845349:11578,14845350:11579,14845351:11580,14845352:11581,14845353:11582,14912905:11584,14912660:11585,14912674:11586,14912909:11587,14912664:11588,14912679:11589,14912643:11590,14912694:11591,14912913:11592,14912919:11593,14912653:11594,14912678:11595,14912675:11596,14912683:11597,14912906:11598,14912699:11599,14913180:11600,14913181:11601,14913182:11602,14913166:11603,14913167:11604,14913412:11605,14913185:11606,14912955:11615,14909597:11616,14909599:11617,14845078:11618,14913421:11619,14845089:11620,14912164:11621,14912165:11622,14912166:11623,14912167:11624,14912168:11625,14911665:11626,14911666:11627,14911673:11628,14912958:11629,14912957:11630,14912956:11631,14846126:11635,14846097:11636,14846111:11640,14846655:11641,14909568:8481,14909569:8482,14909570:8483,15711372:8484,15711374:8485,14910395:8486,15711386:8487,15711387:8488,15711391:8489,15711361:8490,14910107:8491,14910108:8492,49844:8493,15711616:8494,49832:8495,15711422:8496,15712163:8497,15711423:8498,14910397:8499,14910398:8500,14910109:8501,14910110:8502,14909571:8503,14990237:8504,14909573:8505,14909574:8506,14909575:8507,14910396:8508,14844053:8509,14844048:8510,15711375:8511,15711420:8512,15711646:8513,14844054:8514,15711644:8515,14844070:8516,14844069:8517,14844056:8518,14844057:8519,14844060:8520,14844061:8521,15711368:8522,15711369:8523,14909588:8524,14909589:8525,15711419:8526,15711421:8527,15711643:8528,15711645:8529,14909576:8530,14909577:8531,14909578:8532,14909579:8533,14909580:8534,14909581:8535,14909582:8536,14909583:8537,14909584:8538,14909585:8539,15711371:8540,15711373:8541,49841:8542,50071:8543,50103:8544,15711389:8545,14846368:8546,15711388:8547,15711390:8548,14846374:8549,14846375:8550,14846110:8551,14846132:8552,14850434:8553,14850432:8554,49840:8555,14844082:8556,14844083:8557,14845059:8558,15712165:8559,15711364:8560,15712160:8561,15712161:8562,15711365:8563,15711363:8564,15711366:8565,15711370:8566,15711392:8567,49831:8568,14850182:8569,14850181:8570,14849931:8571,14849935:8572,14849934:8573,14849927:8574,14849926:8737,14849697:8738,14849696:8739,14849715:8740,14849714:8741,14849725:8742,14849724:8743,14844091:8744,14909586:8745,14845586:8746,14845584:8747,14845585:8748,14845587:8749,14909587:8750,14846088:8762,14846091:8763,14846598:8764,14846599:8765,14846594:8766,14846595:8767,14846122:8768,14846121:8769,14846119:8778,14846120:8779,49836:8780,14845842:8781,14845844:8782,14846080:8783,14846083:8784,14846112:8796,14846629:8797,14847122:8798,14846082:8799,14846087:8800,14846369:8801,14846354:8802,14846378:8803,14846379:8804,14846106:8805,14846141:8806,14846109:8807,14846133:8808,14846123:8809,14846124:8810,14845099:8818,14844080:8819,14850479:8820,14850477:8821,14850474:8822,14844064:8823,14844065:8824,49846:8825,14849967:8830,15711376:9008,15711377:9009,15711378:9010,15711379:9011,15711380:9012,15711381:9013,15711382:9014,15711383:9015,15711384:9016,15711385:9017,15711393:9025,15711394:9026,15711395:9027,15711396:9028,15711397:9029,15711398:9030,15711399:9031,15711400:9032,15711401:9033,15711402:9034,15711403:9035,15711404:9036,15711405:9037,15711406:9038,15711407:9039,15711408:9040,15711409:9041,15711410:9042,15711411:9043,15711412:9044,15711413:9045,15711414:9046,15711415:9047,15711416:9048,15711417:9049,15711418:9050,15711617:9057,15711618:9058,15711619:9059,15711620:9060,15711621:9061,15711622:9062,15711623:9063,15711624:9064,15711625:9065,15711626:9066,15711627:9067,15711628:9068,15711629:9069,15711630:9070,15711631:9071,15711632:9072,15711633:9073,15711634:9074,15711635:9075,15711636:9076,15711637:9077,15711638:9078,15711639:9079,15711640:9080,15711641:9081,15711642:9082,14909825:9249,14909826:9250,14909827:9251,14909828:9252,14909829:9253,14909830:9254,14909831:9255,14909832:9256,14909833:9257,14909834:9258,14909835:9259,14909836:9260,14909837:9261,14909838:9262,14909839:9263,14909840:9264,14909841:9265,14909842:9266,14909843:9267,14909844:9268,14909845:9269,14909846:9270,14909847:9271,14909848:9272,14909849:9273,14909850:9274,14909851:9275,14909852:9276,14909853:9277,14909854:9278,14909855:9279,14909856:9280,14909857:9281,14909858:9282,14909859:9283,14909860:9284,14909861:9285,14909862:9286,14909863:9287,14909864:9288,14909865:9289,14909866:9290,14909867:9291,14909868:9292,14909869:9293,14909870:9294,14909871:9295,14909872:9296,14909873:9297,14909874:9298,14909875:9299,14909876:9300,14909877:9301,14909878:9302,14909879:9303,14909880:9304,14909881:9305,14909882:9306,14909883:9307,14909884:9308,14909885:9309,14909886:9310,14909887:9311,14910080:9312,14910081:9313,14910082:9314,14910083:9315,14910084:9316,14910085:9317,14910086:9318,14910087:9319,14910088:9320,14910089:9321,14910090:9322,14910091:9323,14910092:9324,14910093:9325,14910094:9326,14910095:9327,14910096:9328,14910097:9329,14910098:9330,14910099:9331,14910113:9505,14910114:9506,14910115:9507,14910116:9508,14910117:9509,14910118:9510,14910119:9511,14910120:9512,14910121:9513,14910122:9514,14910123:9515,14910124:9516,14910125:9517,14910126:9518,14910127:9519,14910128:9520,14910129:9521,14910130:9522,14910131:9523,14910132:9524,14910133:9525,14910134:9526,14910135:9527,14910136:9528,14910137:9529,14910138:9530,14910139:9531,14910140:9532,14910141:9533,14910142:9534,14910143:9535,14910336:9536,14910337:9537,14910338:9538,14910339:9539,14910340:9540,14910341:9541,14910342:9542,14910343:9543,14910344:9544,14910345:9545,14910346:9546,14910347:9547,14910348:9548,14910349:9549,14910350:9550,14910351:9551,14910352:9552,14910353:9553,14910354:9554,14910355:9555,14910356:9556,14910357:9557,14910358:9558,14910359:9559,14910360:9560,14910361:9561,14910362:9562,14910363:9563,14910364:9564,14910365:9565,14910366:9566,14910367:9567,14910368:9568,14910369:9569,14910370:9570,14910371:9571,14910372:9572,14910373:9573,14910374:9574,14910375:9575,14910376:9576,14910377:9577,14910378:9578,14910379:9579,14910380:9580,14910381:9581,14910382:9582,14910383:9583,14910384:9584,14910385:9585,14910386:9586,14910387:9587,14910388:9588,14910389:9589,14910390:9590,52881:9761,52882:9762,52883:9763,52884:9764,52885:9765,52886:9766,52887:9767,52888:9768,52889:9769,52890:9770,52891:9771,52892:9772,52893:9773,52894:9774,52895:9775,52896:9776,52897:9777,52899:9778,52900:9779,52901:9780,52902:9781,52903:9782,52904:9783,52905:9784,52913:9793,52914:9794,52915:9795,52916:9796,52917:9797,52918:9798,52919:9799,52920:9800,52921:9801,52922:9802,52923:9803,52924:9804,52925:9805,52926:9806,52927:9807,53120:9808,53121:9809,53123:9810,53124:9811,53125:9812,53126:9813,53127:9814,53128:9815,53129:9816,53392:10017,53393:10018,53394:10019,53395:10020,53396:10021,53397:10022,53377:10023,53398:10024,53399:10025,53400:10026,53401:10027,53402:10028,53403:10029,53404:10030,53405:10031,53406:10032,53407:10033,53408:10034,53409:10035,53410:10036,53411:10037,53412:10038,53413:10039,53414:10040,53415:10041,53416:10042,53417:10043,53418:10044,53419:10045,53420:10046,53421:10047,53422:10048,53423:10049,53424:10065,53425:10066,53426:10067,53427:10068,53428:10069,53429:10070,53649:10071,53430:10072,53431:10073,53432:10074,53433:10075,53434:10076,53435:10077,53436:10078,53437:10079,53438:10080,53439:10081,53632:10082,53633:10083,53634:10084,53635:10085,53636:10086,53637:10087,53638:10088,53639:10089,53640:10090,53641:10091,53642:10092,53643:10093,53644:10094,53645:10095,53646:10096,53647:10097,14849152:10273,14849154:10274,14849164:10275,14849168:10276,14849176:10277,14849172:10278,14849180:10279,14849196:10280,14849188:10281,14849204:10282,14849212:10283,14849153:10284,14849155:10285,14849167:10286,14849171:10287,14849179:10288,14849175:10289,14849187:10290,14849203:10291,14849195:10292,14849211:10293,14849419:10294,14849184:10295,14849199:10296,14849192:10297,14849207:10298,14849215:10299,14849181:10300,14849200:10301,14849189:10302,14849208:10303,14849410:10304,14989980:12321,15045782:12322,15050883:12323,15308991:12324,15045504:12325,15107227:12326,15109288:12327,15050678:12328,15302818:12329,15241653:12330,15240348:12331,15182224:12332,15106730:12333,15110049:12334,15120549:12335,15112109:12336,15241638:12337,15239846:12338,15314869:12339,15114899:12340,15047847:12341,15111841:12342,15108529:12343,15052443:12344,15050640:12345,15243707:12346,15311796:12347,15185314:12348,15185598:12349,15314574:12350,15108246:12351,15184543:12352,15246007:12353,15052425:12354,15055541:12355,15109257:12356,15112855:12357,15114632:12358,15308679:12359,15310477:12360,15113615:12361,14990245:12362,14990474:12363,14990733:12364,14991005:12365,15040905:12366,15047602:12367,15049911:12368,15050644:12369,15050881:12370,15052937:12371,15106975:12372,15107215:12373,15107504:12374,15112339:12375,15115397:12376,15172282:12377,15177103:12378,15177136:12379,15181755:12380,15185581:12381,15185839:12382,15238019:12383,15241358:12384,15245731:12385,15248514:12386,15303061:12387,15303098:12388,15043771:12389,14989973:12390,14989989:12391,15048607:12392,15237810:12393,15303553:12394,15180719:12395,14989440:12396,15049649:12397,15121058:12398,15302840:12399,15182002:12400,15240360:12401,15239819:12402,15315119:12403,15041921:12404,15044016:12405,15045309:12406,15045537:12407,15047584:12408,15050683:12409,15056021:12410,15311794:12411,15120299:12412,15238052:12413,15242413:12414,15309218:12577,15309232:12578,15309472:12579,15310779:12580,15044747:12581,15044531:12582,15052423:12583,15172495:12584,15187645:12585,15253378:12586,15309736:12587,15044015:12588,15316380:12589,15182522:12590,14989457:12591,15180435:12592,15239100:12593,15120550:12594,15046808:12595,15045764:12596,15117469:12597,15242394:12598,15315131:12599,15050661:12600,15044265:12601,15119782:12602,15176604:12603,15308431:12604,15047042:12605,14989969:12606,15303051:12607,15309746:12608,15240591:12609,15312012:12610,15044513:12611,15046326:12612,15051952:12613,15056305:12614,15112352:12615,15113139:12616,15114372:12617,15118520:12618,15119283:12619,15119529:12620,15176091:12621,15178632:12622,15182222:12623,15311028:12624,15240113:12625,15245723:12626,15247776:12627,15305645:12628,15120050:12629,15177387:12630,15178634:12631,15312773:12632,15106726:12633,15248513:12634,15251082:12635,15308466:12636,15115918:12637,15044269:12638,15042182:12639,15047826:12640,15048880:12641,15050116:12642,15052468:12643,15055798:12644,15106216:12645,15109801:12646,15110068:12647,15119039:12648,15121556:12649,15172238:12650,15172756:12651,15173017:12652,15173525:12653,15174847:12654,15186049:12655,15239606:12656,15240081:12657,15242903:12658,15303072:12659,15305115:12660,15316123:12661,15049129:12662,15111868:12663,15118746:12664,15176869:12665,15042489:12666,15049902:12667,15050149:12668,15056512:12669,15056796:12670,15108796:12833,15112122:12834,15116458:12835,15117479:12836,15118004:12837,15175307:12838,15187841:12839,15246742:12840,15316140:12841,15316110:12842,15317892:12843,15053473:12844,15118998:12845,15240635:12846,15041668:12847,15053195:12848,15107766:12849,15239046:12850,15114678:12851,15174049:12852,14989721:12853,14991290:12854,15044024:12855,15106473:12856,15120553:12857,15182223:12858,15310771:12859,14989451:12860,15043734:12861,14990254:12862,14990741:12863,14990525:12864,14991009:12865,14990771:12866,15043232:12867,15044527:12868,15046793:12869,15049871:12870,15051649:12871,15052470:12872,15052705:12873,15181713:12874,15112839:12875,15113884:12876,15113910:12877,15117708:12878,15119027:12879,15172011:12880,15175554:12881,15181453:12882,15181502:12883,15182012:12884,15183495:12885,15239857:12886,15240091:12887,15240324:12888,15240631:12889,15241135:12890,15241107:12891,15244710:12892,15248050:12893,15046825:12894,15250088:12895,15253414:12896,15303054:12897,15309982:12898,15243914:12899,14991236:12900,15053736:12901,15108241:12902,15174041:12903,15176891:12904,15239077:12905,15239869:12906,15244222:12907,15250304:12908,15309701:12909,15312019:12910,15312789:12911,14990219:12912,14990490:12913,15247267:12914,15047582:12915,15049098:12916,15049610:12917,15055803:12918,15056811:12919,15106218:12920,15106708:12921,15106466:12922,15107984:12923,15108242:12924,15109008:12925,15111353:12926,15314305:13089,15112614:13090,15114928:13091,15119799:13092,15172016:13093,15177100:13094,15178374:13095,15185333:13096,15239845:13097,15245241:13098,15308427:13099,15309454:13100,15250077:13101,15042481:13102,15043262:13103,15049878:13104,15045299:13105,15052467:13106,15053974:13107,15107496:13108,15115906:13109,15120047:13110,15180429:13111,15242123:13112,15245719:13113,15247794:13114,15306407:13115,15313592:13116,15119788:13117,15312552:13118,15244185:13119,15048355:13120,15114175:13121,15244174:13122,15304846:13123,15043203:13124,15047303:13125,15044740:13126,15055763:13127,15109025:13128,15110841:13129,15114428:13130,15114424:13131,15118011:13132,15175090:13133,15180474:13134,15182251:13135,15247002:13136,15247250:13137,15250859:13138,15252611:13139,15303597:13140,15308451:13141,15309460:13142,15310249:13143,15052198:13144,15053491:13145,15115709:13146,15311245:13147,15311246:13148,15109787:13149,15183008:13150,15116459:13151,15116735:13152,15114934:13153,15315085:13154,15121823:13155,15042994:13156,15046301:13157,15106480:13158,15109036:13159,15119547:13160,15120519:13161,15121297:13162,15241627:13163,15246480:13164,15252868:13165,14989460:13166,15315129:13167,15044534:13168,15115419:13169,15116474:13170,15310468:13171,15114410:13172,15041948:13173,15182723:13174,15241906:13175,15304604:13176,15306380:13177,15047067:13178,15316136:13179,15114402:13180,15240325:13181,15241393:13182,15184549:13345,15042696:13346,15240069:13347,15176614:13348,14989758:13349,14990979:13350,15042208:13351,15052690:13352,15042698:13353,15043480:13354,15043495:13355,15054779:13356,15046298:13357,15048874:13358,15050662:13359,15052428:13360,15052440:13361,15052699:13362,15055282:13363,15055289:13364,15106723:13365,15107231:13366,15107491:13367,15107774:13368,15110043:13369,15111586:13370,15114129:13371,15114643:13372,15115194:13373,15117502:13374,15117715:13375,15118743:13376,15121570:13377,15122071:13378,15121797:13379,15176368:13380,15176856:13381,15178659:13382,15178891:13383,15182783:13384,15183521:13385,15184033:13386,15185833:13387,15187126:13388,15187888:13389,15237789:13390,15239590:13391,15240862:13392,15247027:13393,15248268:13394,15250091:13395,15303300:13396,15307153:13397,15308435:13398,15308433:13399,15308450:13400,15309221:13401,15310739:13402,15312040:13403,15239320:13404,14989496:13405,15044779:13406,15053496:13407,15054732:13408,15175337:13409,15178124:13410,15178940:13411,15053481:13412,15187883:13413,15250571:13414,15309697:13415,15310993:13416,15311252:13417,15311256:13418,14990465:13419,14990478:13420,15044017:13421,15046300:13422,15047080:13423,15048634:13424,15050119:13425,15051913:13426,15052676:13427,15053456:13428,15054988:13429,15055294:13430,15056780:13431,15110062:13432,15113402:13433,15112087:13434,15112098:13435,15113375:13436,15115147:13437,15115140:13438,15116703:13601,15055024:13602,15118213:13603,15118487:13604,15118781:13605,15177151:13606,15181192:13607,15052195:13608,15181952:13609,15185024:13610,15056573:13611,15246991:13612,15247512:13613,15250100:13614,15250871:13615,15252364:13616,15252637:13617,15311778:13618,15313038:13619,15314108:13620,14989952:13621,15040957:13622,15041664:13623,15050387:13624,15052444:13625,15108271:13626,15108736:13627,15111084:13628,15117498:13629,15174304:13630,15177361:13631,15181191:13632,15187625:13633,15245243:13634,15248060:13635,15248816:13636,15109804:13637,15241098:13638,15310496:13639,15044745:13640,15044739:13641,15046315:13642,15114644:13643,15116696:13644,15247792:13645,15179943:13646,15113653:13647,15317901:13648,15044020:13649,15052450:13650,15238298:13651,15243664:13652,15302790:13653,14989464:13654,14989701:13655,14990215:13656,14990481:13657,15044490:13658,15044792:13659,15052462:13660,15056019:13661,15106213:13662,15111569:13663,15113405:13664,15118722:13665,15118770:13666,15119267:13667,15172024:13668,15175811:13669,15182262:13670,15182510:13671,15182984:13672,15185050:13673,15184830:13674,15185318:13675,15112103:13676,15174043:13677,15044283:13678,15053189:13679,15054760:13680,15109010:13681,15109024:13682,15109273:13683,15120544:13684,15243674:13685,15247537:13686,15251357:13687,15305656:13688,15121537:13689,15181478:13690,15314330:13691,14989992:13692,14989995:13693,14989996:13694,14991003:13857,14991008:13858,15041425:13859,15041927:13860,15182774:13861,15041969:13862,15042486:13863,15043988:13864,15043745:13865,15044031:13866,15044523:13867,15046316:13868,15049347:13869,15053729:13870,15056055:13871,15056266:13872,15106223:13873,15106448:13874,15106477:13875,15109279:13876,15111577:13877,15116683:13878,15119233:13879,15174530:13880,15174573:13881,15179695:13882,15238072:13883,15238277:13884,15239304:13885,15242638:13886,15303607:13887,15306657:13888,15310783:13889,15312279:13890,15313306:13891,14990256:13892,15042461:13893,15052973:13894,15112833:13895,15115693:13896,15053184:13897,15113138:13898,15115701:13899,15175305:13900,15114640:13901,15184513:13902,15041413:13903,15043492:13904,15048071:13905,15054782:13906,15305894:13907,15111844:13908,15117475:13909,15117501:13910,15175860:13911,15181441:13912,15181501:13913,15183243:13914,15185802:13915,15239865:13916,15241100:13917,15245759:13918,15246751:13919,15248569:13920,15253393:13921,15304593:13922,15044767:13923,15305344:13924,14989725:13925,15040694:13926,15044517:13927,15043770:13928,15174551:13929,15175318:13930,15179689:13931,15240102:13932,15252143:13933,15312774:13934,15312776:13935,15312786:13936,15041975:13937,15107226:13938,15243678:13939,15046320:13940,15182266:13941,15040950:13942,15052691:13943,15303047:13944,15309445:13945,14989490:13946,15117211:13947,15304615:13948,15053201:13949,15053192:13950,15109784:14113,15182495:14114,15118995:14115,15310260:14116,15252897:14117,15182506:14118,15173258:14119,15309448:14120,15184514:14121,15114391:14122,15186352:14123,15114641:14124,15306156:14125,15043506:14126,15044763:14127,15242923:14128,15247507:14129,15187620:14130,15252365:14131,15303585:14132,15044006:14133,15245960:14134,15181185:14135,14991234:14136,15041214:14137,15042705:14138,15041924:14139,15046035:14140,15047853:14141,15175594:14142,15048331:14143,15050129:14144,15056290:14145,15056516:14146,15106485:14147,15107510:14148,15107495:14149,15107753:14150,15109810:14151,15110330:14152,15111596:14153,15112623:14154,15114626:14155,15120531:14156,15177126:14157,15182013:14158,15184827:14159,15185292:14160,15185561:14161,15186315:14162,15187371:14163,15240334:14164,15240586:14165,15244173:14166,15247496:14167,15247779:14168,15248806:14169,15252413:14170,15311002:14171,15316623:14172,15239864:14173,15253390:14174,15314856:14175,15043207:14176,15108255:14177,15110787:14178,15122304:14179,15309465:14180,15114625:14181,15041169:14182,15117472:14183,15118778:14184,15121812:14185,15182260:14186,15185296:14187,15245696:14188,15247523:14189,15113352:14190,14990262:14191,15040697:14192,15040678:14193,15040933:14194,15041980:14195,15042744:14196,15042979:14197,15046311:14198,15047823:14199,15048837:14200,15051660:14201,15055802:14202,15107762:14203,15108024:14204,15109043:14205,15109554:14206,15115420:14369,15116457:14370,15174077:14371,15174316:14372,15174830:14373,15179924:14374,15180207:14375,15185337:14376,15178892:14377,15237801:14378,15246987:14379,15248537:14380,15250338:14381,15252370:14382,15303075:14383,15306165:14384,15309242:14385,15311253:14386,15313043:14387,15317432:14388,15041923:14389,15044255:14390,15044275:14391,15055291:14392,15056038:14393,15120539:14394,15121040:14395,15175300:14396,15175614:14397,15185283:14398,15239351:14399,15247488:14400,15248314:14401,15309200:14402,14989710:14403,15040651:14404,15044516:14405,15045052:14406,15047610:14407,15050641:14408,15052196:14409,15054769:14410,15055531:14411,15056039:14412,15108280:14413,15111557:14414,15113903:14415,15120790:14416,15174544:14417,15184778:14418,15246004:14419,15237793:14420,15238049:14421,15241136:14422,15243662:14423,15248007:14424,15251368:14425,15304887:14426,15309703:14427,15311271:14428,15318163:14429,14989972:14430,14989970:14431,14990477:14432,15043976:14433,15045001:14434,15044798:14435,15050927:14436,15056524:14437,15056545:14438,15106719:14439,15114919:14440,15116942:14441,15176090:14442,15180417:14443,15248030:14444,15248036:14445,15248823:14446,15304336:14447,14989726:14448,15314825:14449,14989988:14450,14990780:14451,14991023:14452,15040665:14453,15040662:14454,15041929:14455,15041964:14456,15043231:14457,15043257:14458,15043518:14459,15044250:14460,15044515:14461,15044753:14462,15044750:14625,15046281:14626,15048081:14627,15048354:14628,15050173:14629,15052180:14630,15052189:14631,15052431:14632,15054757:14633,15054759:14634,15054775:14635,15055288:14636,15055491:14637,15055514:14638,15055543:14639,15056024:14640,15106450:14641,15107468:14642,15108759:14643,15109016:14644,15109799:14645,15111355:14646,15112322:14647,15112579:14648,15113140:14649,15113645:14650,15114401:14651,15114903:14652,15116171:14653,15118751:14654,15119530:14655,15119785:14656,15120559:14657,15121053:14658,15176882:14659,15178375:14660,15180204:14661,15182015:14662,15184800:14663,15185029:14664,15185048:14665,15185310:14666,15185585:14667,15237269:14668,15237251:14669,15237807:14670,15237809:14671,15238548:14672,15238799:14673,15239338:14674,15240594:14675,15245708:14676,15245729:14677,15248539:14678,15250082:14679,15250364:14680,15303562:14681,15304117:14682,15305137:14683,15179967:14684,15305660:14685,15308452:14686,15309197:14687,15310981:14688,15312537:14689,15313816:14690,15316155:14691,15042971:14692,15043243:14693,15044535:14694,15044744:14695,15049621:14696,15109047:14697,15122336:14698,15249834:14699,15252895:14700,15317689:14701,15041931:14702,15042747:14703,15045002:14704,15047613:14705,15182208:14706,15304119:14707,15316384:14708,15317906:14709,15175044:14710,15121545:14711,15238576:14712,15176849:14713,15056829:14714,15106970:14715,15313576:14716,15174555:14717,15253180:14718,15117732:14881,15310979:14882,14990218:14883,15047600:14884,15048100:14885,15049406:14886,15051162:14887,15106472:14888,15107975:14889,15112335:14890,15112326:14891,15114425:14892,15114929:14893,15120311:14894,15177621:14895,15185082:14896,15239598:14897,15314306:14898,14989979:14899,14990736:14900,15044489:14901,15045766:14902,15054255:14903,15054758:14904,15054766:14905,15114171:14906,15119001:14907,15176115:14908,15179906:14909,15247760:14910,15306390:14911,15246239:14912,15048080:14913,15055527:14914,15109291:14915,15041205:14916,15041196:14917,15042189:14918,15113344:14919,15045513:14920,15049118:14921,15050427:14922,15052464:14923,15056297:14924,15108493:14925,15109793:14926,15114429:14927,15117747:14928,15120520:14929,15172029:14930,15304583:14931,15174272:14932,15179925:14933,15179942:14934,15181229:14935,15111822:14936,15185072:14937,15241116:14938,15246209:14939,15252617:14940,15309467:14941,15042980:14942,15047848:14943,15113616:14944,15187370:14945,15250081:14946,15042228:14947,15048066:14948,15308970:14949,15048890:14950,15115914:14951,15237812:14952,15045298:14953,15053966:14954,15048636:14955,15180437:14956,15316922:14957,14990748:14958,15042954:14959,15045259:14960,15110334:14961,15112360:14962,15113364:14963,15114165:14964,15182468:14965,15183254:14966,15185058:14967,15305903:14968,15114652:14969,15314605:14970,15183033:14971,15043737:14972,15042186:14973,15042743:14974,15052703:15137,15109046:15138,15110830:15139,15111078:15140,15113389:15141,15118010:15142,15242921:15143,15309713:15144,15178384:15145,15314838:15146,15109516:15147,15305862:15148,15314603:15149,15178431:15150,15112594:15151,14989449:15152,15041176:15153,15044482:15154,15053233:15155,15106984:15156,15110802:15157,15111587:15158,15114655:15159,15173542:15160,15175562:15161,15176867:15162,15183511:15163,15186562:15164,15243925:15165,15249027:15166,15250331:15167,15304120:15168,15312016:15169,15111852:15170,15112875:15171,15117963:15172,14990229:15173,14990228:15174,14990522:15175,14990783:15176,15042746:15177,15044536:15178,15044530:15179,15046563:15180,15047579:15181,15049643:15182,15050635:15183,15050633:15184,15050687:15185,15052176:15186,15053197:15187,15054978:15188,15055019:15189,15056791:15190,15106205:15191,15109255:15192,15111343:15193,15052188:15194,15111855:15195,15111869:15196,15112104:15197,15113885:15198,15117730:15199,15117755:15200,15118479:15201,15175045:15202,15181193:15203,15181697:15204,15184824:15205,15185049:15206,15185067:15207,15237794:15208,15238274:15209,15239091:15210,15246998:15211,15247774:15212,15247785:15213,15247782:15214,15248012:15215,15248302:15216,15250311:15217,15250332:15218,15309708:15219,15311804:15220,15117743:15221,14989963:15222,14990524:15223,14990989:15224,15041936:15225,15052183:15226,15052730:15227,15107464:15228,15109249:15229,15112578:15230,15117473:15393,15121291:15394,15119035:15395,15173822:15396,15176381:15397,15177620:15398,15180673:15399,15180986:15400,15237260:15401,15237299:15402,15239082:15403,15241876:15404,15253150:15405,15118736:15406,15317439:15407,15056015:15408,15248792:15409,15316139:15410,15182778:15411,15252408:15412,15052429:15413,15309739:15414,14989443:15415,15044529:15416,15048631:15417,15049905:15418,15051657:15419,15052452:15420,15106697:15421,15120831:15422,15121542:15423,15177406:15424,15250346:15425,15052447:15426,15242368:15427,15183776:15428,15040946:15429,15114164:15430,15239837:15431,15053217:15432,15242634:15433,15186078:15434,15239310:15435,15042201:15436,15052932:15437,15109544:15438,15250854:15439,15111836:15440,15173038:15441,15180990:15442,15185047:15443,15237253:15444,15248541:15445,15252362:15446,15303086:15447,15244167:15448,15303338:15449,15040671:15450,15043514:15451,15052986:15452,15113619:15453,15172028:15454,15173813:15455,15304076:15456,15304584:15457,15305899:15458,15240101:15459,15052674:15460,15056049:15461,15107001:15462,14989499:15463,15044502:15464,15052424:15465,15108491:15466,15113393:15467,15117962:15468,15174569:15469,15175584:15470,15181998:15471,15238571:15472,15251107:15473,15304082:15474,15312534:15475,15041682:15476,15044503:15477,15045034:15478,15052735:15479,15109768:15480,15116473:15481,15185580:15482,15309952:15483,15047578:15484,15044494:15485,15045032:15486,15052439:15649,15052977:15650,15054750:15651,14991278:15652,15107201:15653,15109054:15654,15119538:15655,15181696:15656,15181707:15657,15185282:15658,15186317:15659,15187858:15660,15239085:15661,15239327:15662,15241872:15663,15245702:15664,15246770:15665,15249040:15666,15251892:15667,15252655:15668,15302833:15669,15304075:15670,15304108:15671,15309702:15672,15304348:15673,14990208:15674,14990735:15675,15041925:15676,15043969:15677,15056531:15678,15108238:15679,15114132:15680,15118721:15681,15120523:15682,15175075:15683,15186086:15684,15304589:15685,15305347:15686,15044500:15687,15049881:15688,15052479:15689,15120273:15690,15181213:15691,15186094:15692,15184539:15693,15049150:15694,15173279:15695,15042490:15696,15245715:15697,15253424:15698,14991242:15699,15053755:15700,15112357:15701,15179436:15702,15182755:15703,15239324:15704,15312831:15705,15042438:15706,15056554:15707,15112108:15708,15115695:15709,15117961:15710,15120307:15711,15121046:15712,15121828:15713,15178686:15714,15185044:15715,15054753:15716,15303093:15717,15304327:15718,15310982:15719,15042470:15720,15042717:15721,15108480:15722,15112849:15723,15113113:15724,15120538:15725,15055542:15726,15185810:15727,15187378:15728,15113144:15729,15242927:15730,15243191:15731,15248312:15732,15043241:15733,15044505:15734,15050163:15735,15055503:15736,15056528:15737,15106453:15738,15305636:15739,15309220:15740,15041207:15741,15041695:15742,15043485:15905,15043744:15906,15043975:15907,15044524:15908,15045544:15909,15046022:15910,15045809:15911,15046807:15912,15050152:15913,15050430:15914,15050940:15915,15052469:15916,15052934:15917,15052943:15918,15052945:15919,15052954:15920,15055492:15921,15055498:15922,15055776:15923,15056304:15924,15108543:15925,15108740:15926,15109019:15927,15109772:15928,15109559:15929,15112327:15930,15112332:15931,15112365:15932,15112630:15933,15113662:15934,15114914:15935,15116447:15936,15116469:15937,15119036:15938,15120008:15939,15120521:15940,15120792:15941,15172796:15942,15172774:15943,15173031:15944,15177607:15945,15178881:15946,15180189:15947,15180929:15948,15181221:15949,15181744:15950,15182752:15951,15182993:15952,15184551:15953,15185081:15954,15237782:15955,15241110:15956,15241867:15957,15242633:15958,15245725:15959,15246259:15960,15247519:15961,15247548:15962,15247764:15963,15247795:15964,15249825:15965,15250334:15966,15304356:15967,15305126:15968,15306174:15969,15306904:15970,15309468:15971,15310488:15972,14989450:15973,14989448:15974,14989470:15975,14989719:15976,15042199:15977,15042992:15978,15048590:15979,15048884:15980,15049612:15981,15051938:15982,15055032:15983,15106949:15984,15111102:15985,15113633:15986,15113622:15987,15119748:15988,15174326:15989,15177139:15990,15182243:15991,15241912:15992,15248818:15993,15304376:15994,15305888:15995,15046833:15996,15048628:15997,15311806:15998,15109037:16161,15115405:16162,15117974:16163,15173549:16164,15186324:16165,15237559:16166,15239602:16167,15247270:16168,15311775:16169,15244693:16170,15253169:16171,15052987:16172,14990520:16173,14991265:16174,14991029:16175,15045767:16176,15050912:16177,15052701:16178,15052713:16179,15056771:16180,15107470:16181,15109295:16182,15111856:16183,15112587:16184,15115182:16185,15115931:16186,15119800:16187,15120305:16188,15176883:16189,15177401:16190,15178911:16191,15181214:16192,15181734:16193,15185075:16194,15239075:16195,15239855:16196,15242922:16197,15247018:16198,15247546:16199,15252139:16200,15253147:16201,15302834:16202,15304605:16203,15309959:16204,14990010:16205,14990209:16206,15042691:16207,15049141:16208,15049644:16209,15052939:16210,15176858:16211,15052989:16212,15238542:16213,15247498:16214,15253381:16215,15309219:16216,15310253:16217,15183013:16218,15248271:16219,15310984:16220,15304098:16221,15047603:16222,15044264:16223,15302807:16224,15044793:16225,15048322:16226,15055013:16227,15109800:16228,15118516:16229,15172234:16230,15179169:16231,15184523:16232,15187872:16233,15245744:16234,15303042:16235,15304084:16236,15305872:16237,15305880:16238,15309455:16239,15176094:16240,15313796:16241,15053959:16242,15054249:16243,15111600:16244,15113890:16245,15251112:16246,15309723:16247,15109550:16248,15113609:16249,15115417:16250,15241093:16251,15310999:16252,15309696:16253,15246270:16254,15122052:16417,15110586:16418,15052728:16419,14989462:16420,15171756:16421,15177117:16422,15112367:16423,15042436:16424,15042742:16425,15043490:16426,15050643:16427,15056513:16428,15106215:16429,15108240:16430,15111359:16431,15111604:16432,15112351:16433,15112628:16434,15115186:16435,15114390:16436,15117731:16437,15120517:16438,15174066:16439,15176863:16440,15178651:16441,15184574:16442,15237526:16443,15049648:16444,15246269:16445,15246783:16446,15248032:16447,15248019:16448,15248267:16449,15302813:16450,15304338:16451,15310226:16452,15310233:16453,15111817:16454,15181966:16455,15238278:16456,15309499:16457,15055021:16458,15106972:16459,15108250:16460,15111845:16461,15112340:16462,15113872:16463,15179699:16464,15182221:16465,15184269:16466,15186110:16467,15238282:16468,15250092:16469,15250852:16470,15251361:16471,15251871:16472,15180457:16473,15042695:16474,15109017:16475,15109797:16476,15110530:16477,15108760:16478,15247533:16479,15182467:16480,15183744:16481,15248044:16482,15309738:16483,15185334:16484,15239308:16485,15244681:16486,14990233:16487,15041928:16488,15043971:16489,15044e3:16490,15052451:16491,15052930:16492,15052950:16493,15054749:16494,15108262:16495,15108487:16496,15110832:16497,15114387:16498,15114420:16499,15119241:16500,15119749:16501,15119511:16502,15114131:16503,15121820:16504,15173006:16505,15173053:16506,15112075:16507,15182271:16508,15183533:16509,15185818:16510,15186314:16673,15187624:16674,15238586:16675,15239323:16676,15239353:16677,15242918:16678,15247790:16679,15250318:16680,15251381:16681,15303096:16682,15303095:16683,15305389:16684,15305361:16685,15308419:16686,15314606:16687,15042957:16688,15046276:16689,15121592:16690,15172790:16691,15041960:16692,15181445:16693,15186325:16694,15238835:16695,15184782:16696,15047052:16697,15049105:16698,15053480:16699,15109802:16700,15113150:16701,15113149:16702,15115674:16703,15174553:16704,15177359:16705,15177358:16706,15180942:16707,15181206:16708,15181727:16709,15184535:16710,15185056:16711,15185284:16712,15243399:16713,15247540:16714,15308987:16715,15303073:16716,15318176:16717,15041447:16718,15042997:16719,15044492:16720,15044514:16721,15040649:16722,15046314:16723,15049646:16724,15050127:16725,15173821:16726,15052427:16727,15053220:16728,15043741:16729,15106979:16730,15106995:16731,15109532:16732,15109763:16733,15109311:16734,15109819:16735,15111053:16736,15112105:16737,15113145:16738,15054755:16739,15116173:16740,15116221:16741,15121557:16742,15173541:16743,14989961:16744,15177641:16745,15178680:16746,15182483:16747,15184799:16748,15185807:16749,15185564:16750,15237537:16751,15240585:16752,15240600:16753,15241644:16754,15241916:16755,15243195:16756,15246213:16757,15250864:16758,15302785:16759,15303085:16760,15306391:16761,15309980:16762,15313042:16763,15041423:16764,15049367:16765,15107726:16766,15239059:16929,15242421:16930,15250568:16931,15302816:16932,14991235:16933,15040948:16934,15042951:16935,15044019:16936,15106479:16937,15109513:16938,15113631:16939,15120556:16940,15251123:16941,15302815:16942,14991255:16943,15053214:16944,15250314:16945,15112079:16946,15185562:16947,15043986:16948,15245974:16949,15041974:16950,15110019:16951,15052184:16952,15052203:16953,15052938:16954,15110285:16955,15113617:16956,15303068:16957,14990230:16958,15049882:16959,15049898:16960,15118768:16961,15247761:16962,15045822:16963,15048853:16964,15050405:16965,15106992:16966,15108499:16967,15114113:16968,15239349:16969,15115669:16970,15309184:16971,15312772:16972,15313064:16973,14990739:16974,15048838:16975,15052734:16976,15237264:16977,15053489:16978,15055023:16979,15056517:16980,15106208:16981,15107467:16982,15108276:16983,15113151:16984,15119280:16985,15121310:16986,15238030:16987,15238591:16988,15240084:16989,15245963:16990,15250104:16991,15302784:16992,15302830:16993,15309450:16994,15317915:16995,15314843:16996,14990243:16997,15044528:16998,15049895:16999,15183020:17e3,15304333:17001,15311244:17002,15316921:17003,15121309:17004,15171751:17005,15043987:17006,15046020:17007,15052421:17008,15108504:17009,15108766:17010,15109011:17011,15119010:17012,15122351:17013,15175842:17014,15247511:17015,15306936:17016,15122305:17017,15248318:17018,15240376:17019,15042471:17020,15244216:17021,15044522:17022,15044521:17185,14990726:17186,15303060:17187,15253168:17188,15050154:17189,15238321:17190,15054781:17191,15182762:17192,15253183:17193,15115162:17194,15249591:17195,15174584:17196,15315336:17197,15116477:17198,15248048:17199,14989497:17200,15043992:17201,15046790:17202,15048102:17203,15108997:17204,15109794:17205,15112102:17206,15117710:17207,15120289:17208,15120795:17209,15172269:17210,15179693:17211,15182767:17212,15183530:17213,15185595:17214,15237309:17215,15238022:17216,15244171:17217,15248021:17218,15306139:17219,15047587:17220,15049607:17221,15056062:17222,15111853:17223,15112854:17224,15116928:17225,15118005:17226,15176887:17227,15248263:17228,15040676:17229,15179685:17230,15047856:17231,15056027:17232,15106469:17233,15112634:17234,15118752:17235,15177652:17236,15181978:17237,15187374:17238,15239092:17239,15244440:17240,15303045:17241,15312563:17242,15183753:17243,15177116:17244,15182777:17245,15183249:17246,15242116:17247,15302800:17248,15181737:17249,15182482:17250,15240374:17251,15051681:17252,15179136:17253,14989485:17254,14990258:17255,15052441:17256,15056800:17257,15108797:17258,15112380:17259,15114161:17260,15119272:17261,15243691:17262,15245751:17263,15247547:17264,15304078:17265,15305651:17266,15312784:17267,15116439:17268,15171750:17269,15174826:17270,15240103:17271,15241623:17272,15250095:17273,14989441:17274,15041926:17275,15042443:17276,15046283:17277,15052725:17278,15054998:17441,15055027:17442,15055489:17443,15056020:17444,15056053:17445,15056299:17446,15056564:17447,15108018:17448,15109265:17449,15112866:17450,15113373:17451,15121838:17452,15174034:17453,15176890:17454,15178938:17455,15237556:17456,15238329:17457,15238584:17458,15244726:17459,15248063:17460,15248284:17461,15251077:17462,15251379:17463,15305370:17464,15308215:17465,15310978:17466,15315877:17467,15043461:17468,15109527:17469,15178676:17470,15113365:17471,15118984:17472,15175565:17473,15250307:17474,15306414:17475,15309235:17476,15119525:17477,15049372:17478,15115406:17479,15116172:17480,15253437:17481,15306394:17482,15177627:17483,15302810:17484,15049114:17485,15114370:17486,15109812:17487,15116219:17488,14990723:17489,15121580:17490,15114136:17491,15253179:17492,15242406:17493,15185588:17494,15306132:17495,15115455:17496,15121840:17497,15048106:17498,15049655:17499,15051948:17500,15185068:17501,15173802:17502,15044746:17503,15304611:17504,15316660:17505,14989997:17506,14990734:17507,15040924:17508,15040949:17509,15042947:17510,15250078:17511,15045e3:17512,15048868:17513,15052442:17514,15055005:17515,15055509:17516,15055533:17517,15055799:17518,15056031:17519,15106700:17520,15108789:17521,15109306:17522,15110032:17523,15114927:17524,15118720:17525,15180423:17526,15181454:17527,15181963:17528,15185824:17529,15239559:17530,15247490:17531,15248294:17532,15251844:17533,15302803:17534,15303352:17697,15303853:17698,15304600:17699,15318158:17700,15119269:17701,15110552:17702,15111074:17703,15111605:17704,15121332:17705,15178372:17706,15183003:17707,15303081:17708,15306641:17709,15121082:17710,15045554:17711,15056569:17712,15110820:17713,15252877:17714,15253421:17715,15305092:17716,15041976:17717,15049131:17718,15049897:17719,15053205:17720,15055511:17721,15120315:17722,15186575:17723,15176860:17724,15250108:17725,15252386:17726,15311259:17727,15172281:17728,14990493:17729,15118015:17730,15122097:17731,15176880:17732,15309755:17733,15041934:17734,15044752:17735,15048885:17736,15049111:17737,15050412:17738,15053216:17739,15056530:17740,15111831:17741,15113628:17742,15120545:17743,15178171:17744,15241119:17745,15250349:17746,15302804:17747,15303613:17748,15306125:17749,15179941:17750,15179962:17751,15043242:17752,15055526:17753,15047839:17754,15050164:17755,15106194:17756,15040658:17757,15041946:17758,15042220:17759,15042445:17760,15042688:17761,15045776:17762,15049108:17763,15049112:17764,15050135:17765,15052437:17766,15053750:17767,15054475:17768,15106748:17769,15108757:17770,15110317:17771,15113649:17772,15114627:17773,15114940:17774,15115167:17775,15178647:17776,15120280:17777,15120815:17778,15120027:17779,15172015:17780,15173512:17781,15056275:17782,15177624:17783,15181239:17784,15183241:17785,15183252:17786,15183250:17787,15184790:17788,15185329:17789,15042736:17790,15241635:17953,15242665:17954,15243172:17955,15247502:17956,15248516:17957,15249798:17958,15251599:17959,15302787:17960,15302799:17961,15306905:17962,15309238:17963,15311021:17964,15313072:17965,15308696:17966,15041421:17967,15043477:17968,15044748:17969,15048834:17970,15052942:17971,15107751:17972,15110814:17973,15119518:17974,15179443:17975,15182757:17976,15238068:17977,15241348:17978,15303059:17979,15305349:17980,15053728:17981,15316103:17982,15043775:17983,15056535:17984,15056563:17985,15120028:17986,15174073:17987,15179171:17988,15181503:17989,15183780:17990,15118226:17991,15174572:17992,15248045:17993,15114371:17994,15116705:17995,15042488:17996,15182465:17997,15115444:17998,15053194:17999,15315894:18e3,15240107:18001,15052677:18002,15304073:18003,15171742:18004,15047096:18005,15053231:18006,15106951:18007,15111590:18008,15118988:18009,15249818:18010,15303041:18011,15310995:18012,15045009:18013,15113095:18014,15304845:18015,15050120:18016,15303331:18017,15042181:18018,14989709:18019,15042474:18020,15242905:18021,15248526:18022,15171992:18023,15109562:18024,15306123:18025,15115682:18026,15312564:18027,15186052:18028,15177143:18029,15043991:18030,15115680:18031,15252383:18032,15309731:18033,15118749:18034,14989964:18035,15052988:18036,15056016:18037,15253417:18038,15043714:18039,15250321:18040,15237769:18041,15243705:18042,15055807:18043,15112101:18044,14989747:18045,15041957:18046,15050370:18209,15052991:18210,15310766:18211,14990267:18212,15050378:18213,15056781:18214,15248013:18215,15122337:18216,15181488:18217,15181218:18218,15052711:18219,15241649:18220,15174827:18221,15173297:18222,15055284:18223,15056821:18224,15109563:18225,15110810:18226,15173507:18227,15184536:18228,14989699:18229,15055804:18230,14989707:18231,15048604:18232,15047330:18233,15106729:18234,15122307:18235,15185037:18236,15238077:18237,15238323:18238,15238847:18239,15253170:18240,15246999:18241,15243940:18242,15054772:18243,15108746:18244,15110829:18245,15246983:18246,15113655:18247,15119266:18248,15119550:18249,15175862:18250,15179956:18251,15051142:18252,15187381:18253,15239853:18254,15312556:18255,14991283:18256,15055747:18257,15109021:18258,15109778:18259,15111575:18260,15113647:18261,15178627:18262,15174028:18263,15238028:18264,15237818:18265,15252649:18266,15304077:18267,15040653:18268,15048633:18269,15051410:18270,15114885:18271,15115699:18272,15173028:18273,15174589:18274,15250103:18275,15049650:18276,15250336:18277,15309226:18278,15302809:18279,15244735:18280,15181732:18281,15179687:18282,15241385:18283,14990511:18284,15042981:18285,15043994:18286,15109005:18287,15114127:18288,15119242:18289,15178173:18290,15183508:18291,15184533:18292,15239350:18293,15242884:18294,15253419:18295,15113117:18296,15121568:18297,15173766:18298,15186075:18299,15240875:18300,15312769:18301,15317670:18302,15042493:18465,15183537:18466,15180210:18467,15183544:18468,15237767:18469,15183240:18470,15117224:18471,15055265:18472,15237772:18473,15177105:18474,15177120:18475,15041963:18476,15305122:18477,15121036:18478,15178170:18479,15304343:18480,15313834:18481,14990480:18482,15187376:18483,15108764:18484,15183247:18485,15308453:18486,15315881:18487,15047098:18488,15049113:18489,15244196:18490,15309500:18491,14990516:18492,15042724:18493,15043978:18494,15044493:18495,15044507:18496,15054982:18497,15110316:18498,15111825:18499,15113663:18500,15118526:18501,15118734:18502,15174024:18503,15174319:18504,15175597:18505,15177108:18506,15186305:18507,15239340:18508,15243177:18509,15250089:18510,15183748:18511,15304582:18512,15173033:18513,15310994:18514,15311791:18515,15109309:18516,15112617:18517,15177130:18518,15178660:18519,15180688:18520,15242627:18521,15244206:18522,15043754:18523,15043985:18524,15044774:18525,15050371:18526,15055495:18527,15056316:18528,15106738:18529,15108489:18530,15108537:18531,15108779:18532,15111824:18533,15118228:18534,15119244:18535,15177394:18536,15178414:18537,15180433:18538,15181720:18539,15185803:18540,15187383:18541,15237797:18542,15245995:18543,15248057:18544,15250107:18545,15303103:18546,15310238:18547,15311771:18548,15116427:18549,15184056:18550,15041177:18551,15052990:18552,15056558:18553,15113863:18554,15118232:18555,15175861:18556,15178889:18557,15187598:18558,15318203:18721,15114122:18722,15181975:18723,15043769:18724,15177355:18725,15313837:18726,15056294:18727,15238813:18728,15241137:18729,15237784:18730,15056060:18731,15056773:18732,15177122:18733,15183238:18734,15302844:18735,15114663:18736,15050667:18737,15051419:18738,15185040:18739,15178174:18740,15248556:18741,14991285:18742,15056298:18743,15116441:18744,15118519:18745,15121538:18746,15176610:18747,15181224:18748,15245736:18749,15247765:18750,15249849:18751,15055775:18752,15110031:18753,15177605:18754,15181714:18755,15240087:18756,15305896:18757,15305650:18758,15241884:18759,15244205:18760,15315117:18761,15045505:18762,15056300:18763,15111820:18764,15119772:18765,15171733:18766,15250087:18767,15250323:18768,15311035:18769,15111567:18770,15176630:18771,14989453:18772,14990232:18773,15048608:18774,15049899:18775,15051174:18776,15052684:18777,15042216:18778,15054979:18779,15055516:18780,15106198:18781,15108534:18782,15111607:18783,15111847:18784,15112622:18785,15119790:18786,15173814:18787,15183014:18788,15238544:18789,15238810:18790,15239833:18791,15248796:18792,15250080:18793,15250342:18794,15250868:18795,15308956:18796,15309188:18797,14991022:18798,15110827:18799,15117734:18800,15239326:18801,15241633:18802,15242666:18803,15303592:18804,15052929:18805,15115667:18806,15311528:18807,15241658:18808,15242647:18809,14990479:18810,15042991:18811,15056553:18812,15055237:18813,15113357:18814,15181455:18977,15238585:18978,15246471:18979,15246982:18980,15120309:18981,15056023:18982,15108501:18983,15119032:18984,14990223:18985,15174057:18986,15314578:18987,15042694:18988,15044795:18989,15047092:18990,15049395:18991,15107748:18992,15108526:18993,15172762:18994,15050158:18995,15184521:18996,15184798:18997,15185051:18998,15309744:18999,15111815:19e3,15237534:19001,14989465:19002,14990773:19003,15041973:19004,15049088:19005,15055267:19006,15055283:19007,15056010:19008,15114116:19009,14989478:19010,15242429:19011,15308425:19012,15309211:19013,15184307:19014,15310977:19015,15041467:19016,15049601:19017,15178134:19018,15180455:19019,15042725:19020,15179429:19021,15242385:19022,15183494:19023,15040911:19024,15049865:19025,15174023:19026,15183751:19027,15185832:19028,15253178:19029,15253396:19030,15303053:19031,14991039:19032,15043465:19033,15050921:19034,15056001:19035,15310509:19036,14991261:19037,15239319:19038,15305642:19039,15047811:19040,15109525:19041,15117737:19042,15176875:19043,15246236:19044,15252628:19045,15182210:19046,15043487:19047,15049363:19048,15107477:19049,15108234:19050,15112878:19051,15118221:19052,15184063:19053,15241129:19054,15040675:19055,14991288:19056,15043717:19057,15044998:19058,15048881:19059,15050121:19060,15052445:19061,15053744:19062,15053743:19063,15053993:19064,15055510:19065,15108785:19066,15109543:19067,15111358:19068,15111865:19069,15113355:19070,15119253:19233,15119265:19234,15172537:19235,15179954:19236,15186091:19237,15238046:19238,15239859:19239,15241356:19240,15242156:19241,15244418:19242,15246482:19243,15247530:19244,15249802:19245,15303334:19246,15305618:19247,15311805:19248,15315891:19249,15316396:19250,14989711:19251,14989985:19252,15041165:19253,15042966:19254,15048074:19255,15050408:19256,15055037:19257,15056792:19258,15056793:19259,15108287:19260,15112884:19261,15113371:19262,15114128:19263,15115154:19264,15042194:19265,15185057:19266,15237802:19267,15238824:19268,15248512:19269,15250060:19270,15250111:19271,15305150:19272,15308978:19273,15044768:19274,15311020:19275,15043735:19276,15041429:19277,15043996:19278,15049384:19279,15110834:19280,15113396:19281,15174055:19282,15179174:19283,15182214:19284,15304614:19285,15043459:19286,15119009:19287,15117958:19288,15048832:19289,15055244:19290,15050132:19291,15113388:19292,15187899:19293,15042465:19294,15178630:19295,15110569:19296,15180712:19297,15314324:19298,15317691:19299,15048587:19300,15050425:19301,15112359:19302,15113882:19303,15118222:19304,15045545:19305,15116185:19306,15055253:19307,15238812:19308,15113877:19309,15314602:19310,15114174:19311,15315346:19312,15114653:19313,14989990:19314,14991267:19315,15044488:19316,15108793:19317,15113387:19318,15119019:19319,15253380:19320,14991021:19321,15186349:19322,15317695:19323,14989447:19324,15107490:19325,15121024:19326,15121579:19489,15242387:19490,15045043:19491,15113386:19492,15314309:19493,15054771:19494,15183509:19495,15053484:19496,15052678:19497,15244444:19498,15120778:19499,15242129:19500,15181972:19501,15238280:19502,15050393:19503,15184525:19504,15118481:19505,15178912:19506,15043481:19507,15049890:19508,15172769:19509,15174047:19510,15179675:19511,15309991:19512,15316385:19513,15115403:19514,15051199:19515,15050904:19516,15042213:19517,15044749:19518,15045053:19519,15112334:19520,15178655:19521,15253431:19522,15305368:19523,15315892:19524,15050666:19525,15174045:19526,15121285:19527,15041933:19528,15115145:19529,15185599:19530,15185836:19531,15310242:19532,15317690:19533,15110584:19534,15116449:19535,15240322:19536,15050372:19537,15052191:19538,15118235:19539,15174811:19540,15178674:19541,15185586:19542,15237271:19543,15241881:19544,15041714:19545,15113384:19546,15317913:19547,15178670:19548,15113634:19549,15043519:19550,15312005:19551,15052964:19552,15108283:19553,15184318:19554,15250096:19555,15046031:19556,15106742:19557,15185035:19558,15308416:19559,15043713:19560,14989727:19561,15042230:19562,15049884:19563,15173818:19564,15237302:19565,15304590:19566,15056037:19567,15179682:19568,15044228:19569,15056313:19570,15185028:19571,15242924:19572,15247539:19573,15252109:19574,15310230:19575,15114163:19576,15242926:19577,15307155:19578,15107209:19579,15107208:19580,15119033:19581,15178130:19582,15248301:19745,15252664:19746,15045807:19747,14990737:19748,15041706:19749,15043463:19750,15044491:19751,15052453:19752,15055293:19753,15106720:19754,15107714:19755,15110038:19756,15113353:19757,15114138:19758,15120807:19759,15120012:19760,15174838:19761,15174839:19762,15176881:19763,15181200:19764,15246229:19765,15248024:19766,15303050:19767,15303313:19768,15303605:19769,15309700:19770,15244941:19771,15049877:19772,14989960:19773,14990745:19774,14989454:19775,15248009:19776,15252671:19777,15310992:19778,15041197:19779,15055292:19780,15050390:19781,15052473:19782,15055544:19783,15110042:19784,15110074:19785,15111041:19786,15113116:19787,15115658:19788,15116184:19789,15119499:19790,15121078:19791,15173268:19792,15176872:19793,15182511:19794,15187594:19795,15237248:19796,15241609:19797,15242121:19798,15246977:19799,15248545:19800,15251594:19801,15303077:19802,15309245:19803,15312010:19804,15107518:19805,15108753:19806,15117490:19807,15118979:19808,15119796:19809,15187852:19810,15187900:19811,15120256:19812,15187589:19813,15244986:19814,15246264:19815,15113637:19816,15240881:19817,15311036:19818,15309751:19819,15119515:19820,15185313:19821,15241405:19822,15304106:19823,14989745:19824,15044021:19825,15054224:19826,15117444:19827,15122347:19828,15243149:19829,15243437:19830,15247015:19831,15042729:19832,15044751:19833,15053221:19834,15113614:19835,15114920:19836,15175814:19837,15176323:19838,15177634:20001,15246223:20002,15246241:20003,15304588:20004,15309730:20005,15309240:20006,15056523:20007,15175303:20008,15182731:20009,15241614:20010,15109792:20011,15177125:20012,15043209:20013,15119745:20014,15121052:20015,15175817:20016,15177113:20017,15180203:20018,15184530:20019,15309446:20020,15182748:20021,15318669:20022,14991030:20023,15107502:20024,15112069:20025,15243676:20026,14989958:20027,14989998:20028,15041434:20029,14989473:20030,15042444:20031,15052718:20032,15111833:20033,15114881:20034,15120060:20035,15174815:20036,15178114:20037,15179437:20038,15181980:20039,15184807:20040,15239599:20041,15248274:20042,15303100:20043,15304591:20044,15309237:20045,15311e3:20046,15043227:20047,15185809:20048,15040683:20049,15044248:20050,15113879:20051,15120267:20052,15173520:20053,15175859:20054,15239080:20055,15252650:20056,15309475:20057,15315351:20058,15317663:20059,15176096:20060,15049089:20061,15120025:20062,15185071:20063,15311262:20064,14990244:20065,14990518:20066,14990987:20067,15042231:20068,15043249:20069,15054522:20070,15106204:20071,15175346:20072,15180988:20073,15240083:20074,15304884:20075,15309495:20076,15309750:20077,15309962:20078,15317655:20079,15318434:20080,15112870:20081,15117748:20082,15042711:20083,15043235:20084,15172488:20085,15246210:20086,15055753:20087,15106443:20088,15107728:20089,15121571:20090,15173001:20091,15184062:20092,15185844:20093,15237551:20094,15242158:20257,15302819:20258,15305900:20259,15044994:20260,15314351:20261,15117203:20262,15172233:20263,15250306:20264,15251375:20265,15310002:20266,15043252:20267,15051137:20268,15055754:20269,15056004:20270,15113367:20271,15115708:20272,15115924:20273,15119786:20274,15121551:20275,15174050:20276,15174588:20277,15183789:20278,15237249:20279,15237566:20280,15244683:20281,15303566:20282,15041965:20283,15317651:20284,15181444:20285,15237771:20286,15305906:20287,15248278:20288,15040685:20289,15045260:20290,15247793:20291,15117738:20292,15250308:20293,15238279:20294,15106961:20295,15113888:20296,15316914:20297,14989977:20298,14989976:20299,15315088:20300,15247787:20301,15243137:20302,15242664:20303,15115392:20304,15120830:20305,15180439:20306,15238549:20307,15056012:20513,14989456:20514,14989461:20515,14989482:20516,14989489:20517,14989494:20518,14989500:20519,14989503:20520,14989698:20521,14989718:20522,14989720:20523,14989954:20524,14989957:20525,15249835:20526,14989962:20527,15239314:20528,15056013:20529,14989966:20530,14989982:20531,14989983:20532,14989984:20533,14989986:20534,1499e4:20535,14990003:20536,14990006:20537,14990222:20538,14990221:20539,14990212:20540,14990214:20541,14990210:20542,14990231:20543,14990238:20544,14990253:20545,14990239:20546,14990263:20547,14990473:20548,14990746:20549,14990512:20550,14990747:20551,14990749:20552,14990743:20553,14990727:20554,14990774:20555,14990984:20556,14990991:20557,14991e3:20558,14990779:20559,14990761:20560,14990768:20561,14990993:20562,14990767:20563,14990982:20564,14990998:20565,15041688:20566,14991252:20567,14991263:20568,14991246:20569,14991256:20570,14991259:20571,14991249:20572,14991258:20573,14991248:20574,14991268:20575,14991269:20576,15040666:20577,15040680:20578,15040660:20579,15040682:20580,15040677:20581,15040645:20582,14990492:20583,14991286:20584,15040673:20585,15040681:20586,15040684:20587,14991294:20588,14991279:20589,15040657:20590,15040646:20591,15040899:20592,15040903:20593,15113347:20594,15040917:20595,15040912:20596,15040904:20597,15040922:20598,15040918:20599,15040940:20600,15040952:20601,15041152:20602,15041178:20603,15041157:20604,15041204:20605,15041202:20606,15041417:20769,15041418:20770,15041203:20771,15041410:20772,15041430:20773,15041438:20774,15041445:20775,15041453:20776,15041443:20777,15041454:20778,15041465:20779,15041461:20780,15041673:20781,15041665:20782,15041666:20783,15041686:20784,15041685:20785,15041684:20786,15041690:20787,15041697:20788,15041722:20789,15041719:20790,15041724:20791,15041723:20792,15041727:20793,15041920:20794,15041938:20795,15041932:20796,15041940:20797,15041954:20798,15182776:20799,15041961:20800,15041962:20801,15041966:20802,15042176:20803,15042178:20804,15047576:20805,15042188:20806,15042185:20807,15042191:20808,15042193:20809,15042195:20810,15042197:20811,15042198:20812,15042212:20813,15042214:20814,15042210:20815,15042217:20816,15042218:20817,15042219:20818,15042227:20819,15042225:20820,15042226:20821,15042224:20822,15042229:20823,15042237:20824,15042437:20825,15042441:20826,15042459:20827,15042464:20828,15243669:20829,15042473:20830,15042477:20831,15042480:20832,15042485:20833,15042494:20834,15042692:20835,15042699:20836,15042708:20837,15042702:20838,15042727:20839,15042730:20840,15042734:20841,15042739:20842,15042745:20843,15042959:20844,15042948:20845,15042955:20846,15042956:20847,15042974:20848,15042964:20849,15042986:20850,15042996:20851,15042985:20852,15042995:20853,15043007:20854,15043005:20855,15043213:20856,15043220:20857,15043218:20858,15042993:20859,15043208:20860,15043217:20861,15253160:20862,15253159:21025,15043244:21026,15043245:21027,15043260:21028,15043253:21029,15043457:21030,15043469:21031,15043479:21032,15043486:21033,15043491:21034,15043494:21035,15311789:21036,15043488:21037,15043507:21038,15043509:21039,15043512:21040,15043513:21041,15043718:21042,15043720:21043,15176888:21044,15043725:21045,15043728:21046,15043727:21047,15043733:21048,15043738:21049,15043747:21050,15043759:21051,15043761:21052,15043763:21053,15043768:21054,15043968:21055,15043974:21056,15043973:21057,14989463:21058,15043977:21059,15043981:21060,15042454:21061,15043998:21062,15044009:21063,15044014:21064,15049880:21065,15044027:21066,15044023:21067,15044226:21068,15044246:21069,15044256:21070,15044262:21071,15044261:21072,15044270:21073,15044272:21074,15044278:21075,15044483:21076,15184018:21077,15309721:21078,15044511:21079,15113148:21080,15173550:21081,15044526:21082,15044520:21083,15044525:21084,15044538:21085,15044737:21086,15044797:21087,15044992:21088,15044780:21089,15044781:21090,15044796:21091,15044782:21092,15044790:21093,15044777:21094,15044765:21095,15045006:21096,15045263:21097,15045045:21098,15045262:21099,15045023:21100,15045041:21101,15045047:21102,15045040:21103,15045266:21104,15045051:21105,15045248:21106,15045046:21107,15045252:21108,15045264:21109,15045254:21110,15045511:21111,15045282:21112,15045304:21113,15045285:21114,15045292:21115,15045508:21116,15045512:21117,15045288:21118,15045291:21281,15045506:21282,15045284:21283,15045310:21284,15045308:21285,15045528:21286,15045541:21287,15045542:21288,15045775:21289,15045780:21290,15045565:21291,15045550:21292,15045549:21293,15045562:21294,15045538:21295,15045817:21296,15046016:21297,15046051:21298,15046028:21299,15045806:21300,15046044:21301,15046021:21302,15046038:21303,15046039:21304,15045816:21305,15045811:21306,15046045:21307,15046297:21308,15046272:21309,15045295:21310,15046282:21311,15046303:21312,15046075:21313,15046078:21314,15046296:21315,15046302:21316,15046318:21317,15046076:21318,15046275:21319,15046313:21320,15046279:21321,15046312:21322,15046554:21323,15046533:21324,15046559:21325,15046532:21326,15046556:21327,15046564:21328,15046548:21329,15046804:21330,15046583:21331,15046806:21332,15046590:21333,15046589:21334,15046811:21335,15046585:21336,15047054:21337,15047056:21338,15173535:21339,15046836:21340,15046838:21341,15046834:21342,15046840:21343,15047083:21344,15047076:21345,15046831:21346,15047084:21347,15047082:21348,15047302:21349,15047296:21350,15047306:21351,15047328:21352,15047316:21353,15047311:21354,15047333:21355,15047342:21356,15047350:21357,15047348:21358,15047554:21359,15047356:21360,15047553:21361,15047555:21362,15047552:21363,15047560:21364,15047566:21365,15047569:21366,15047571:21367,15047575:21368,15047598:21369,15047609:21370,15047808:21371,15047615:21372,15047812:21373,15047817:21374,15047816:21537,15047819:21538,15047821:21539,15047827:21540,15047832:21541,15047830:21542,15046535:21543,15047836:21544,15047846:21545,15047863:21546,15047864:21547,15048078:21548,15047867:21549,15048064:21550,15048079:21551,15048105:21552,15048576:21553,15048328:21554,15048097:21555,15048127:21556,15048329:21557,15048339:21558,15048352:21559,15048371:21560,15048356:21561,15048362:21562,15048368:21563,15048579:21564,15048582:21565,15048596:21566,15048594:21567,15048595:21568,15048842:21569,15048598:21570,15048611:21571,15048843:21572,15048857:21573,15048861:21574,15049138:21575,15048865:21576,15049122:21577,15049099:21578,15049136:21579,15118208:21580,15049106:21581,15048893:21582,15049145:21583,15049349:21584,15049401:21585,15049375:21586,15049387:21587,15049402:21588,15049630:21589,15049403:21590,15049400:21591,15049390:21592,15049605:21593,15049619:21594,15049617:21595,15049623:21596,15049625:21597,15049624:21598,15049637:21599,15049628:21600,15049636:21601,15049631:21602,15049647:21603,15049658:21604,15049657:21605,15049659:21606,15049660:21607,15049661:21608,15049858:21609,15049866:21610,15049872:21611,15049883:21612,15114918:21613,15049893:21614,15049900:21615,15049901:21616,15049906:21617,15049912:21618,15049918:21619,15182738:21620,15050133:21621,15050128:21622,15050126:21623,15050138:21624,15050136:21625,15050146:21626,15050144:21627,15050151:21628,15050156:21629,15050153:21630,15050168:21793,15050369:21794,15050397:21795,14990750:21796,14991019:21797,15050403:21798,15050418:21799,15050630:21800,15050664:21801,15050652:21802,15050381:21803,15050649:21804,15050650:21805,15050917:21806,15050911:21807,15050897:21808,15050908:21809,15050889:21810,15050906:21811,15051136:21812,15051180:21813,15051145:21814,15050933:21815,15050934:21816,15051170:21817,15051178:21818,15051418:21819,15051452:21820,15051454:21821,15051659:21822,15051650:21823,15051453:21824,15051683:21825,15051671:21826,15051686:21827,15051689:21828,15051670:21829,15051706:21830,15051707:21831,15051916:21832,15051915:21833,15051926:21834,15051954:21835,15051664:21836,15051946:21837,15051958:21838,15051966:21839,15052163:21840,15052165:21841,15052160:21842,15052177:21843,15052181:21844,15052186:21845,15052187:21846,15052197:21847,15052201:21848,15052208:21849,15052211:21850,15052213:21851,15052216:21852,15111816:21853,15052218:21854,15052416:21855,15052419:21856,15052454:21857,15052472:21858,15052675:21859,15052679:21860,15052681:21861,15052692:21862,15052688:21863,15052708:21864,15052710:21865,15052706:21866,15052702:21867,15052709:21868,15052715:21869,15052720:21870,15052726:21871,15052723:21872,15052933:21873,15052935:21874,15052936:21875,15052941:21876,15052947:21877,15052960:21878,15052962:21879,15052968:21880,15052984:21881,15052985:21882,15053185:21883,15053190:21884,15053198:21885,15053203:21886,15053200:22049,15053199:22050,15052209:22051,15053228:22052,15053230:22053,14989730:22054,15053238:22055,15053241:22056,15053452:22057,15053457:22058,15053460:22059,15050395:22060,15053483:22061,15053499:22062,15053494:22063,15053500:22064,15053495:22065,15053701:22066,15053502:22067,15053703:22068,15053721:22069,15053737:22070,15053757:22071,15053754:22072,15053741:22073,15054476:22074,15053738:22075,15053963:22076,15053973:22077,15053975:22078,15054236:22079,15053983:22080,15053979:22081,15053969:22082,15053972:22083,15053986:22084,15053978:22085,15053977:22086,15053976:22087,15054220:22088,15054226:22089,15054222:22090,15054219:22091,15054252:22092,15054259:22093,15054262:22094,15054471:22095,15054468:22096,15054466:22097,15054498:22098,15054493:22099,15054508:22100,15054510:22101,15054525:22102,15054480:22103,15054519:22104,15054524:22105,15054729:22106,15054733:22107,15054739:22108,15054738:22109,15054742:22110,15054747:22111,15054763:22112,15054770:22113,15054773:22114,15054987:22115,15055002:22116,15055001:22117,15054993:22118,15055003:22119,15055030:22120,15055031:22121,15055236:22122,15055235:22123,15055232:22124,15055246:22125,15055255:22126,15055252:22127,15055263:22128,15055266:22129,15055268:22130,15055239:22131,15055285:22132,15055286:22133,15055290:22134,15317692:22135,15055295:22136,15055520:22137,15055745:22138,15055746:22139,15055752:22140,15055760:22141,15055759:22142,15055766:22305,15055779:22306,15055773:22307,15055770:22308,15055771:22309,15055778:22310,15055777:22311,15055784:22312,15055785:22313,15055788:22314,15055793:22315,15055795:22316,15055792:22317,15055796:22318,15055800:22319,15055806:22320,15056003:22321,15056009:22322,15056285:22323,15056284:22324,15056011:22325,15056017:22326,15056022:22327,15056041:22328,15056045:22329,15056056:22330,15056257:22331,15056264:22332,15056268:22333,15056270:22334,15056047:22335,15056273:22336,15056278:22337,15056279:22338,15056281:22339,15056289:22340,15056301:22341,15056307:22342,15056311:22343,15056515:22344,15056514:22345,15056319:22346,15056522:22347,15056520:22348,15056529:22349,15056519:22350,15056542:22351,15056537:22352,15056536:22353,15056544:22354,15056552:22355,15056557:22356,15056572:22357,15056790:22358,15056827:22359,15056804:22360,15056824:22361,15056817:22362,15056797:22363,15106739:22364,15056831:22365,15106209:22366,15106464:22367,15106201:22368,15106192:22369,15106217:22370,15106190:22371,15106225:22372,15106203:22373,15106197:22374,15106219:22375,15106214:22376,15106191:22377,15106234:22378,15106458:22379,15106433:22380,15106474:22381,15106487:22382,15106463:22383,15106442:22384,15106438:22385,15106445:22386,15106467:22387,15106435:22388,15106468:22389,15106434:22390,15106476:22391,15106475:22392,15106457:22393,15106689:22394,15106701:22395,15106983:22396,15106691:22397,15106714:22398,15106692:22561,15106715:22562,15106710:22563,15106711:22564,15106706:22565,15106727:22566,15106699:22567,15106977:22568,15106744:22569,15106976:22570,15106963:22571,15106740:22572,15056816:22573,15106749:22574,15106950:22575,15106741:22576,15106968:22577,15107469:22578,15107221:22579,15107206:22580,15106998:22581,15106999:22582,15107200:22583,15106996:22584,15107002:22585,15107203:22586,15107233:22587,15107003:22588,15106993:22589,15107213:22590,15107214:22591,15107463:22592,15107262:22593,15107240:22594,15107239:22595,15107466:22596,15107263:22597,15107260:22598,15107244:22599,15107252:22600,15107261:22601,15107458:22602,15107460:22603,15107507:22604,15107511:22605,15107480:22606,15107481:22607,15107482:22608,15107499:22609,15107508:22610,15107503:22611,15107493:22612,15107505:22613,15107487:22614,15107485:22615,15107475:22616,15107509:22617,15107737:22618,15107734:22619,15107719:22620,15107756:22621,15107732:22622,15107738:22623,15107722:22624,15107729:22625,15107755:22626,15107758:22627,15107980:22628,15107978:22629,15107977:22630,15108023:22631,15107976:22632,15107971:22633,15107974:22634,15107770:22635,15107979:22636,15187385:22637,15107981:22638,15108006:22639,15108003:22640,15108022:22641,15108026:22642,15108020:22643,15108031:22644,15108029:22645,15108028:22646,15108030:22647,15108224:22648,15108232:22649,15108233:22650,15108237:22651,15108236:22652,15108244:22653,15108251:22654,15108254:22817,15108257:22818,15108266:22819,15108270:22820,15108272:22821,15108274:22822,15108275:22823,15108481:22824,15108494:22825,15108510:22826,15108515:22827,15108507:22828,15108512:22829,15108520:22830,15108540:22831,15108738:22832,15108745:22833,15108542:22834,15108754:22835,15108755:22836,15108758:22837,15109012:22838,15108739:22839,15108756:22840,15109015:22841,15109009:22842,15108795:22843,15109007:22844,15109055:22845,15108998:22846,15111060:22847,15109e3:22848,15109020:22849,15109004:22850,15109002:22851,15108994:22852,15108999:22853,15108763:22854,15109001:22855,15109260:22856,15109038:22857,15109041:22858,15109287:22859,15109250:22860,15109256:22861,15109039:22862,15109045:22863,15109520:22864,15109310:22865,15109517:22866,15110300:22867,15109519:22868,15109782:22869,15109774:22870,15109760:22871,15109803:22872,15109558:22873,15109795:22874,15109775:22875,15109769:22876,15109791:22877,15109813:22878,15109547:22879,15109545:22880,15109822:22881,15110057:22882,15110016:22883,15110022:22884,15110051:22885,15110025:22886,15110034:22887,15110070:22888,15110020:22889,15110294:22890,15110324:22891,15110278:22892,15110291:22893,15110310:22894,15110326:22895,15111325:22896,15110295:22897,15110312:22898,15110287:22899,15110567:22900,15110575:22901,15110582:22902,15110542:22903,15111338:22904,15110805:22905,15110803:22906,15110821:22907,15110825:22908,15110792:22909,15110844:22910,15111066:23073,15111058:23074,15111045:23075,15111047:23076,15110843:23077,15111064:23078,15111042:23079,15111089:23080,15111079:23081,15239305:23082,15111072:23083,15111073:23084,15108780:23085,15111075:23086,15111087:23087,15111340:23088,15111094:23089,15111092:23090,15111090:23091,15111098:23092,15111296:23093,15111101:23094,15111320:23095,15111324:23096,15111301:23097,15111332:23098,15111331:23099,15111339:23100,15111348:23101,15111349:23102,15111351:23103,15111350:23104,15111352:23105,15177099:23106,15111560:23107,15111574:23108,15111573:23109,15111565:23110,15111576:23111,15111582:23112,15111581:23113,15111602:23114,15111608:23115,15111810:23116,15111811:23117,15249034:23118,15111835:23119,15111839:23120,15111851:23121,15111863:23122,15112067:23123,15112070:23124,15112065:23125,15112068:23126,15112076:23127,15112082:23128,15112091:23129,15112089:23130,15112096:23131,15112097:23132,15112113:23133,15113650:23134,15112330:23135,15112323:23136,15112123:23137,15113651:23138,15112373:23139,15112374:23140,15112372:23141,15112348:23142,15112591:23143,15112580:23144,15112585:23145,15112577:23146,15112606:23147,15112605:23148,15112612:23149,15112615:23150,15112616:23151,15112607:23152,15112610:23153,15112624:23154,15112835:23155,15112840:23156,15112846:23157,15112841:23158,15112836:23159,15112856:23160,15112861:23161,15113089:23162,15112889:23163,15113097:23164,15112894:23165,15112892:23166,15113092:23329,15112888:23330,15113110:23331,15113114:23332,15113120:23333,15112383:23334,15113126:23335,15113129:23336,15113136:23337,15113141:23338,15113143:23339,15113359:23340,15113366:23341,15113374:23342,15113382:23343,15113383:23344,15310008:23345,15113390:23346,15113407:23347,15113398:23348,15113601:23349,15113400:23350,15113399:23351,15113606:23352,15113630:23353,15113632:23354,15113625:23355,15113635:23356,15113636:23357,15113865:23358,15113648:23359,15113897:23360,15113660:23361,15113642:23362,15113868:23363,15113867:23364,15113894:23365,15113889:23366,15113861:23367,15113911:23368,15114159:23369,15113908:23370,15114156:23371,15113907:23372,15114153:23373,15113912:23374,15114148:23375,15114142:23376,15114141:23377,15114146:23378,15114158:23379,15113913:23380,15114126:23381,15114118:23382,15114151:23383,15116956:23384,15114398:23385,15114630:23386,15114409:23387,15114624:23388,15114637:23389,15114418:23390,15114638:23391,15114931:23392,15114411:23393,15114649:23394,15114659:23395,15114679:23396,15114687:23397,15114911:23398,15114895:23399,15114925:23400,15114900:23401,15114909:23402,15114907:23403,15114883:23404,15116974:23405,15114937:23406,15114676:23407,15114933:23408,15114912:23409,15114938:23410,15115407:23411,15114893:23412,15114686:23413,15115393:23414,15115146:23415,15115400:23416,15115160:23417,15115426:23418,15115430:23419,15115169:23420,15115404:23421,15115149:23422,15115156:23585,15115175:23586,15115157:23587,15115446:23588,15115410:23589,15115396:23590,15115159:23591,15115171:23592,15115429:23593,15115193:23594,15115168:23595,15115183:23596,15115432:23597,15115434:23598,15115418:23599,15115427:23600,15115425:23601,15115142:23602,15115705:23603,15115703:23604,15115676:23605,15115704:23606,15115691:23607,15115668:23608,15115710:23609,15115694:23610,15115449:23611,15115700:23612,15115453:23613,15115673:23614,15115440:23615,15115681:23616,15115678:23617,15115677:23618,15115905:23619,15115690:23620,15115954:23621,15115950:23622,15116176:23623,15115967:23624,15116161:23625,15116179:23626,15115966:23627,15116174:23628,15052712:23629,15116170:23630,15116189:23631,15115963:23632,15116163:23633,15115943:23634,15116462:23635,15115921:23636,15115936:23637,15115932:23638,15115925:23639,15115956:23640,15116190:23641,15116200:23642,15116418:23643,15116443:23644,15116223:23645,15117450:23646,15116217:23647,15116210:23648,15116199:23649,15116421:23650,15115953:23651,15116446:23652,15116205:23653,15116436:23654,15116203:23655,15116426:23656,15116434:23657,15117185:23658,15116451:23659,15116435:23660,15116676:23661,15116428:23662,15116722:23663,15116470:23664,15116728:23665,15116679:23666,15116706:23667,15116697:23668,15116710:23669,15116680:23670,15116472:23671,15116450:23672,15116944:23673,15116941:23674,15116960:23675,15116932:23676,15116962:23677,15116963:23678,15116951:23841,15243415:23842,15116987:23843,15117187:23844,15117186:23845,15116984:23846,15116979:23847,15116972:23848,15117214:23849,15117201:23850,15117215:23851,15116970:23852,15117210:23853,15117226:23854,15117243:23855,15117445:23856,15243414:23857,15117242:23858,15117458:23859,15117462:23860,15314097:23861,15117471:23862,15117496:23863,15117495:23864,15178652:23865,15117497:23866,15311790:23867,15117703:23868,15117699:23869,15117705:23870,15117712:23871,15117721:23872,15117716:23873,15117723:23874,15117727:23875,15117729:23876,15117752:23877,15117753:23878,15117759:23879,15117952:23880,15117956:23881,15117955:23882,15117965:23883,15117976:23884,15117973:23885,15117982:23886,15117988:23887,15117994:23888,15117995:23889,15117999:23890,15118002:23891,15118001:23892,15118003:23893,15118007:23894,15118012:23895,15118214:23896,15118219:23897,15118227:23898,15118239:23899,15118252:23900,15118251:23901,15118259:23902,15118255:23903,15317694:23904,15118472:23905,15118483:23906,15118484:23907,15118491:23908,15118500:23909,15118499:23910,15118750:23911,15118741:23912,15118754:23913,15118762:23914,15118978:23915,15118989:23916,15119002:23917,15118977:23918,15119003:23919,15118782:23920,15118760:23921,15118771:23922,15118994:23923,15118992:23924,15119236:23925,15119281:23926,15119251:23927,15119037:23928,15119255:23929,15119237:23930,15119261:23931,15119022:23932,15119025:23933,15119038:23934,15119034:24097,15119259:24098,15119279:24099,15119257:24100,15119274:24101,15119519:24102,15245709:24103,15119542:24104,15119531:24105,15119549:24106,15119544:24107,15119513:24108,15119541:24109,15119539:24110,15119506:24111,15119500:24112,15119779:24113,15120019:24114,15119780:24115,15119770:24116,15119801:24117,15119769:24118,15120014:24119,15120021:24120,15122340:24121,15120005:24122,15120313:24123,15120533:24124,15120522:24125,15120053:24126,15120263:24127,15120294:24128,15120056:24129,15120262:24130,15120300:24131,15120286:24132,15120268:24133,15120296:24134,15120274:24135,15120261:24136,15120314:24137,15120281:24138,15120292:24139,15120277:24140,15120298:24141,15120302:24142,15120557:24143,15120814:24144,15120558:24145,15120537:24146,15120818:24147,15120799:24148,15120574:24149,15120547:24150,15120811:24151,15120555:24152,15120822:24153,15120781:24154,15120543:24155,15120771:24156,15120570:24157,15120782:24158,15120548:24159,15121343:24160,15120541:24161,15120568:24162,15121026:24163,15121066:24164,15121048:24165,15121289:24166,15121079:24167,15121299:24168,15121085:24169,15121071:24170,15121284:24171,15121074:24172,15121300:24173,15121301:24174,15121039:24175,15121061:24176,15121282:24177,15121055:24178,15121793:24179,15121553:24180,15171980:24181,15121324:24182,15121336:24183,15121342:24184,15121599:24185,15121330:24186,15121585:24187,15121327:24188,15121586:24189,15121292:24190,15121598:24353,15121555:24354,15121335:24355,15122054:24356,15121850:24357,15121848:24358,15122049:24359,15122048:24360,15121839:24361,15121819:24362,15122355:24363,15121837:24364,15122050:24365,15121852:24366,15121816:24367,15122062:24368,15122065:24369,15122306:24370,15121830:24371,15122099:24372,15122083:24373,15122081:24374,15122084:24375,15122105:24376,15122310:24377,15122090:24378,15122335:24379,15122325:24380,15122348:24381,15122324:24382,15122328:24383,15122353:24384,15122350:24385,15122331:24386,15171721:24387,15171723:24388,15122362:24389,15171729:24390,15171713:24391,15171727:24392,15122366:24393,15171739:24394,15171738:24395,15121844:24396,15171741:24397,15171736:24398,15171743:24399,15171760:24400,15171774:24401,15171762:24402,15171985:24403,15172003:24404,15172249:24405,15172242:24406,15172271:24407,15172529:24408,15172268:24409,15172280:24410,15172275:24411,15172270:24412,15172511:24413,15172491:24414,15172509:24415,15172505:24416,15172745:24417,15172541:24418,15172764:24419,15172761:24420,15173029:24421,15173013:24422,15173256:24423,15173030:24424,15173026:24425,15173004:24426,15173014:24427,15173036:24428,15173263:24429,15173563:24430,15173252:24431,15173269:24432,15173288:24433,15173292:24434,15173527:24435,15173305:24436,15173310:24437,15173522:24438,15173513:24439,15173524:24440,15173518:24441,15173536:24442,15173548:24443,15173543:24444,15173557:24445,15173564:24446,15173561:24609,15173567:24610,15173773:24611,15173776:24612,15173787:24613,15173800:24614,15173805:24615,15173804:24616,15173808:24617,15173810:24618,15173819:24619,15173820:24620,15173823:24621,15174016:24622,15174022:24623,15174027:24624,15174040:24625,15174068:24626,15174078:24627,15174274:24628,15174273:24629,15174279:24630,15174290:24631,15174294:24632,15174306:24633,15174311:24634,15174329:24635,15174322:24636,15174531:24637,15174534:24638,15174532:24639,15174542:24640,15174546:24641,15174562:24642,15174560:24643,15174561:24644,15174585:24645,15174583:24646,15040655:24647,15174807:24648,15174794:24649,15174812:24650,15174806:24651,15174813:24652,15174836:24653,15174831:24654,15174825:24655,15174821:24656,15174846:24657,15175054:24658,15175055:24659,15317912:24660,15175063:24661,15175082:24662,15175080:24663,15175088:24664,15175096:24665,15175093:24666,15175099:24667,15175098:24668,15175560:24669,15175347:24670,15175566:24671,15175355:24672,15175552:24673,15175589:24674,15175598:24675,15175582:24676,15176354:24677,15175813:24678,15176111:24679,15175845:24680,15175608:24681,15175858:24682,15175866:24683,15176085:24684,15175871:24685,15176095:24686,15176089:24687,15176065:24688,15176092:24689,15176105:24690,15176112:24691,15176099:24692,15176106:24693,15176118:24694,15176126:24695,15176331:24696,15176350:24697,15176359:24698,15176586:24699,15176591:24700,15176596:24701,15175601:24702,15176608:24865,15176611:24866,15176615:24867,15176617:24868,15176622:24869,15176626:24870,15176624:24871,15176625:24872,15176632:24873,15176631:24874,15176836:24875,15176835:24876,15176837:24877,15176844:24878,15176846:24879,15176845:24880,15176853:24881,15176851:24882,15176862:24883,15176870:24884,15176876:24885,15176892:24886,15177092:24887,15177101:24888,15177098:24889,15177097:24890,15177115:24891,15177094:24892,15177114:24893,15177129:24894,15177124:24895,15177127:24896,15177131:24897,15177133:24898,15177144:24899,15177142:24900,15177350:24901,15177351:24902,15177140:24903,15177354:24904,15177353:24905,15177346:24906,15177364:24907,15177370:24908,15177373:24909,15177381:24910,15177379:24911,15177602:24912,15177395:24913,15177603:24914,15177397:24915,15177405:24916,15177400:24917,15177404:24918,15177393:24919,15177613:24920,15177610:24921,15177618:24922,15177625:24923,15177635:24924,15177630:24925,15177662:24926,15177663:24927,15177660:24928,15177857:24929,15177648:24930,15177658:24931,15177650:24932,15177651:24933,15177867:24934,15177869:24935,15177865:24936,15177887:24937,15177895:24938,15177888:24939,15177889:24940,15177890:24941,15177892:24942,15177908:24943,15177904:24944,15177915:24945,15178119:24946,15178120:24947,15178118:24948,15178140:24949,15178136:24950,15178145:24951,15178146:24952,15178152:24953,15178153:24954,15178154:24955,15178151:24956,15178156:24957,15178160:24958,15178162:25121,15178166:25122,15178168:25123,15178172:25124,15178368:25125,15178371:25126,15178376:25127,15178379:25128,15178382:25129,15178390:25130,15178387:25131,15178393:25132,15178394:25133,15178416:25134,15178420:25135,15178424:25136,15178425:25137,15178426:25138,15178626:25139,15178637:25140,15178646:25141,15178642:25142,15178654:25143,15178657:25144,15178661:25145,15178663:25146,15178666:25147,15243439:25148,15178683:25149,15178888:25150,15178887:25151,15178884:25152,15178921:25153,15178916:25154,15178910:25155,15178917:25156,15178918:25157,15178907:25158,15178935:25159,15178936:25160,15179143:25161,15179162:25162,15179176:25163,15179179:25164,15179163:25165,15179173:25166,15179199:25167,15179198:25168,15179193:25169,15179406:25170,15179403:25171,15179409:25172,15179424:25173,15179422:25174,15179440:25175,15179446:25176,15179449:25177,15179455:25178,15179452:25179,15179453:25180,15179451:25181,15179655:25182,15179661:25183,15179671:25184,15179674:25185,15179676:25186,15179683:25187,15179694:25188,15179708:25189,15179916:25190,15179922:25191,15180966:25192,15179936:25193,15180970:25194,15180165:25195,15180430:25196,15180212:25197,15180422:25198,15180220:25199,15180442:25200,15180428:25201,15180451:25202,15180469:25203,15180458:25204,15180463:25205,15180689:25206,15180678:25207,15180683:25208,15180692:25209,15180478:25210,15180476:25211,15180677:25212,15180682:25213,15180716:25214,15180711:25377,15180698:25378,15180733:25379,15180724:25380,15180935:25381,15180946:25382,15180945:25383,15180953:25384,15180972:25385,15180971:25386,15181184:25387,15181216:25388,15181207:25389,15181215:25390,15181210:25391,15181205:25392,15181203:25393,15181242:25394,15181247:25395,15181450:25396,15181469:25397,15181479:25398,15318411:25399,15181482:25400,15181486:25401,15181491:25402,15181497:25403,15181498:25404,15181705:25405,15181717:25406,15181735:25407,15181740:25408,15181729:25409,15181731:25410,15181960:25411,15181965:25412,15181976:25413,15181977:25414,15181984:25415,15181983:25416,15181440:25417,15182001:25418,15182011:25419,15182014:25420,15182007:25421,15182211:25422,15182231:25423,15182217:25424,15182241:25425,15182242:25426,15182249:25427,15318685:25428,15182256:25429,15182265:25430,15182269:25431,15182472:25432,15182487:25433,15182485:25434,15182488:25435,15182486:25436,15182505:25437,15182728:25438,15182512:25439,15182518:25440,15182725:25441,15182724:25442,15182527:25443,15303299:25444,15182727:25445,15182730:25446,15182733:25447,15182735:25448,15182741:25449,15182739:25450,15182745:25451,15182746:25452,15182749:25453,15182753:25454,15182754:25455,15182758:25456,15182765:25457,15182768:25458,15182978:25459,15182991:25460,15182986:25461,15182982:25462,15183027:25463,15183e3:25464,15183001:25465,15183006:25466,15183029:25467,15183016:25468,15183030:25469,15183248:25470,15183290:25633,15182980:25634,15183245:25635,15182987:25636,15183244:25637,15183237:25638,15183285:25639,15183269:25640,15183284:25641,15183271:25642,15183280:25643,15183281:25644,15183276:25645,15183278:25646,15183517:25647,15183512:25648,15183519:25649,15183501:25650,15183516:25651,15183514:25652,15183499:25653,15183506:25654,15183503:25655,15183261:25656,15183513:25657,15183755:25658,15183745:25659,15183756:25660,15183759:25661,15183540:25662,15183750:25663,15183773:25664,15183785:25665,15184017:25666,15184020:25667,15183782:25668,15183781:25669,15184288:25670,15184e3:25671,15184007:25672,15184019:25673,15183795:25674,15183799:25675,15184023:25676,15184013:25677,15183798:25678,15184035:25679,15184039:25680,15184042:25681,15184031:25682,15184055:25683,15184043:25684,15184061:25685,15184268:25686,15184259:25687,15184276:25688,15184271:25689,15184256:25690,15184272:25691,15184280:25692,15184287:25693,15184292:25694,15184278:25695,15184293:25696,15184300:25697,15184309:25698,15184515:25699,15184528:25700,15184548:25701,15184557:25702,15184546:25703,15184555:25704,15184545:25705,15184552:25706,15184563:25707,15184562:25708,15184561:25709,15184558:25710,15184569:25711,15184573:25712,15184768:25713,15184773:25714,15184770:25715,15184792:25716,15184786:25717,15184796:25718,15184802:25719,15314107:25720,15184815:25721,15184818:25722,15184820:25723,15184822:25724,15184826:25725,15185030:25726,15185026:25889,15185052:25890,15185045:25891,15185034:25892,15185285:25893,15185291:25894,15185070:25895,15185074:25896,15185087:25897,15185077:25898,15185286:25899,15185331:25900,15185302:25901,15185294:25902,15185330:25903,15185320:25904,15185326:25905,15185295:25906,15185315:25907,15185555:25908,15185545:25909,15185307:25910,15185551:25911,15185341:25912,15185563:25913,15185594:25914,15185582:25915,15185571:25916,15185589:25917,15185799:25918,15185597:25919,15185579:25920,15186109:25921,15185570:25922,15185583:25923,15185820:25924,15185592:25925,15185567:25926,15185584:25927,15185816:25928,15185821:25929,15185828:25930,15185822:25931,15185851:25932,15185842:25933,15185825:25934,15186053:25935,15186058:25936,15186083:25937,15186081:25938,15186066:25939,15186097:25940,15186079:25941,15186057:25942,15186059:25943,15186082:25944,15186310:25945,15186342:25946,15186107:25947,15186101:25948,15186105:25949,15186307:25950,15186103:25951,15186098:25952,15186106:25953,15186343:25954,15186333:25955,15186326:25956,15186334:25957,15186329:25958,15186330:25959,15186361:25960,15186346:25961,15186345:25962,15186364:25963,15186363:25964,15186563:25965,15185813:25966,15186365:25967,15253166:25968,15186367:25969,15186568:25970,15186569:25971,15186572:25972,15186578:25973,15186576:25974,15186579:25975,15186580:25976,15186582:25977,15186574:25978,15186587:25979,15186588:25980,15187128:25981,15187130:25982,15187333:26145,15187340:26146,15187341:26147,15187342:26148,15187344:26149,15187345:26150,15187349:26151,15187348:26152,15187352:26153,15187359:26154,15187360:26155,15187368:26156,15187369:26157,15187367:26158,15187384:26159,15187586:26160,15187590:26161,15187587:26162,15187592:26163,15187591:26164,15187596:26165,15187604:26166,15187614:26167,15187613:26168,15187610:26169,15187619:26170,15187631:26171,15187634:26172,15187641:26173,15187630:26174,15187638:26175,15187640:26176,15248817:26177,15187845:26178,15187846:26179,15187850:26180,15187861:26181,15187860:26182,15187873:26183,15187878:26184,15187881:26185,15187891:26186,15187897:26187,15311772:26188,15237254:26189,15237252:26190,15237259:26191,15237266:26192,15237272:26193,15237273:26194,15237276:26195,15237281:26196,15237288:26197,15237311:26198,15237307:26199,15237514:26200,15237510:26201,15237522:26202,15237528:26203,15237530:26204,15237535:26205,15237538:26206,15237544:26207,15237555:26208,15237554:26209,15237552:26210,15237558:26211,15237561:26212,15237565:26213,15237567:26214,15237764:26215,15237766:26216,15237765:26217,15237787:26218,15237779:26219,15237786:26220,15237805:26221,15042192:26222,15237804:26223,15238043:26224,15238053:26225,15238041:26226,15238045:26227,15238020:26228,15238042:26229,15238038:26230,15238281:26231,15238063:26232,15238065:26233,15238299:26234,15238313:26235,15238307:26236,15238319:26237,15238539:26238,15309451:26401,15238534:26402,15238334:26403,15238547:26404,15238545:26405,15238076:26406,15238577:26407,15238574:26408,15238565:26409,15238566:26410,15238580:26411,15238787:26412,15238792:26413,15238794:26414,15238784:26415,15238786:26416,15238816:26417,15238805:26418,15238820:26419,15238819:26420,15238559:26421,15238803:26422,15238825:26423,15238832:26424,15238837:26425,15238846:26426,15238840:26427,15238845:26428,15239040:26429,15239042:26430,15238842:26431,15239049:26432,15239053:26433,15239057:26434,15239065:26435,15239064:26436,15239048:26437,15239066:26438,15239071:26439,15239072:26440,15239079:26441,15239098:26442,15239099:26443,15239102:26444,15239297:26445,15239298:26446,15239301:26447,15239303:26448,15239306:26449,15239309:26450,15239312:26451,15239318:26452,15239337:26453,15239339:26454,15239352:26455,15239347:26456,15239552:26457,15239577:26458,15239576:26459,15239581:26460,15239578:26461,15239583:26462,15239588:26463,15239586:26464,15239592:26465,15239594:26466,15239595:26467,15239342:26468,15239601:26469,15239607:26470,15239608:26471,15239614:26472,15239821:26473,15239826:26474,15239851:26475,15239839:26476,15239867:26477,15239852:26478,15240097:26479,15240099:26480,15240095:26481,15240082:26482,15240116:26483,15240115:26484,15240122:26485,15240851:26486,15240323:26487,15240123:26488,15240121:26489,15240094:26490,15240326:26491,15240092:26492,15240329:26493,15240089:26494,15240373:26657,15240372:26658,15240342:26659,15240370:26660,15240369:26661,15240576:26662,15240377:26663,15240592:26664,15240581:26665,15240367:26666,15240363:26667,15240343:26668,15240344:26669,15240837:26670,15240858:26671,15240874:26672,15240863:26673,15240866:26674,15240854:26675,15240355:26676,15240846:26677,15240839:26678,15240842:26679,15240636:26680,15240885:26681,15240627:26682,15240629:26683,15240864:26684,15240841:26685,15240872:26686,15241140:26687,15241363:26688,15241131:26689,15241102:26690,15241149:26691,15241347:26692,15241112:26693,15241355:26694,15241089:26695,15241143:26696,15241351:26697,15241120:26698,15241138:26699,15241357:26700,15241378:26701,15241376:26702,15240893:26703,15241400:26704,15242374:26705,15241147:26706,15241645:26707,15241386:26708,15241404:26709,15242650:26710,15241860:26711,15241655:26712,15241643:26713,15241901:26714,15241646:26715,15241858:26716,15241641:26717,15241606:26718,15241388:26719,15241647:26720,15241657:26721,15241397:26722,15242122:26723,15241634:26724,15241913:26725,15241919:26726,15241887:26727,15242137:26728,15242125:26729,15241915:26730,15242138:26731,15242128:26732,15242113:26733,15242118:26734,15242134:26735,15241889:26736,15242401:26737,15242175:26738,15242164:26739,15242391:26740,15242392:26741,15242412:26742,15242399:26743,15242389:26744,15242388:26745,15242172:26746,15242624:26747,15242659:26748,15242648:26749,15242632:26750,15242625:26913,15243394:26914,15242635:26915,15242645:26916,15242880:26917,15242916:26918,15242888:26919,15242897:26920,15242890:26921,15242920:26922,15242669:26923,15242900:26924,15242907:26925,15243178:26926,15242887:26927,15242908:26928,15242679:26929,15242686:26930,15242896:26931,15243145:26932,15242938:26933,15243151:26934,15242937:26935,15243152:26936,15243157:26937,15243165:26938,15243173:26939,15243164:26940,15243193:26941,15243402:26942,15243411:26943,15243403:26944,15243198:26945,15243194:26946,15243398:26947,15243426:26948,15243418:26949,15243440:26950,15243455:26951,15243661:26952,14989717:26953,15243668:26954,15243679:26955,15243687:26956,15243697:26957,15243923:26958,15243939:26959,15243945:26960,15243946:26961,15243915:26962,15243916:26963,15243958:26964,15243951:26965,15244164:26966,15244166:26967,15243952:26968,15244169:26969,15245475:26970,15243947:26971,15244180:26972,15244190:26973,15244201:26974,15244204:26975,15244191:26976,15244187:26977,15244207:26978,15244434:26979,15244422:26980,15244424:26981,15244416:26982,15244419:26983,15244219:26984,15244433:26985,15244425:26986,15244429:26987,15244217:26988,15244426:26989,15244468:26990,15244479:26991,15244471:26992,15244475:26993,15244453:26994,15244457:26995,15244442:26996,15244704:26997,15244703:26998,15244728:26999,15244684:27e3,15244686:27001,15244724:27002,15244695:27003,15244712:27004,15244718:27005,15244697:27006,15244691:27169,15244707:27170,15244714:27171,15245445:27172,15244962:27173,15244959:27174,15244930:27175,15244975:27176,15245195:27177,15244989:27178,15245184:27179,15245200:27180,15309718:27181,15244971:27182,15245188:27183,15244979:27184,15245191:27185,15245190:27186,15244987:27187,15245231:27188,15245234:27189,15245216:27190,15245455:27191,15245453:27192,15245246:27193,15245238:27194,15245239:27195,15245454:27196,15245202:27197,15245457:27198,15245462:27199,15245461:27200,15245474:27201,15245473:27202,15245489:27203,15245494:27204,15245497:27205,15245479:27206,15245499:27207,15245700:27208,15245698:27209,15245714:27210,15245721:27211,15245726:27212,15245730:27213,15245739:27214,15245953:27215,15245758:27216,15245982:27217,15245749:27218,15245757:27219,15246005:27220,15245746:27221,15245954:27222,15245975:27223,15245970:27224,15245998:27225,15245977:27226,15245986:27227,15245965:27228,15245988:27229,15246e3:27230,15246015:27231,15246001:27232,15246211:27233,15246212:27234,15246228:27235,15246232:27236,15246233:27237,15246237:27238,15246265:27239,15246466:27240,15246268:27241,15246260:27242,15246248:27243,15246258:27244,15246468:27245,15246476:27246,15246474:27247,15246483:27248,15246723:27249,15246494:27250,15246501:27251,15246506:27252,15246507:27253,15246721:27254,15246724:27255,15246523:27256,15246518:27257,15246520:27258,15246732:27259,15246493:27260,15246752:27261,15246750:27262,15246758:27425,15246756:27426,15246765:27427,15246762:27428,15246767:27429,15246772:27430,15246775:27431,15246782:27432,15246979:27433,15246984:27434,15246986:27435,15246995:27436,15247e3:27437,15247009:27438,15247017:27439,15247014:27440,15247020:27441,15247023:27442,15247026:27443,15247034:27444,15247037:27445,15247039:27446,15247232:27447,15247258:27448,15247260:27449,15247261:27450,15247271:27451,15247284:27452,15247288:27453,15247491:27454,15247510:27455,15247504:27456,15247500:27457,15247515:27458,15247517:27459,15247525:27460,15247542:27461,15247745:27462,15247771:27463,15247762:27464,15247750:27465,15247752:27466,15247804:27467,15247789:27468,15247788:27469,15247778:27470,15248005:27471,15248002:27472,15248004:27473,15248040:27474,15248033:27475,15248017:27476,15248037:27477,15248038:27478,15248026:27479,15248035:27480,15248260:27481,15248269:27482,15248258:27483,15248282:27484,15248299:27485,15248307:27486,15248295:27487,15248292:27488,15248305:27489,15248532:27490,15248288:27491,15248290:27492,15248311:27493,15248286:27494,15248283:27495,15248524:27496,15248519:27497,15248538:27498,15248289:27499,15248534:27500,15248528:27501,15248535:27502,15248544:27503,15248563:27504,15310507:27505,15248550:27506,15248555:27507,15248574:27508,15248552:27509,15248769:27510,15248780:27511,15248783:27512,15248782:27513,15248777:27514,15248790:27515,15248795:27516,15248794:27517,15248811:27518,15248799:27681,15248812:27682,15248815:27683,15248820:27684,15248829:27685,15249024:27686,15249036:27687,15249038:27688,15249042:27689,15249043:27690,15249046:27691,15249049:27692,15249050:27693,15249594:27694,15249793:27695,15249599:27696,15249800:27697,15249804:27698,15249806:27699,15249808:27700,15249813:27701,15249826:27702,15249836:27703,15249848:27704,15249850:27705,15250050:27706,15250057:27707,15250053:27708,15250058:27709,15250061:27710,15250062:27711,15250068:27712,15249852:27713,15250072:27714,15108253:27715,15250093:27716,15250090:27717,15250109:27718,15250098:27719,15250099:27720,15250094:27721,15250102:27722,15250312:27723,15250305:27724,15250340:27725,15250339:27726,15250330:27727,15250365:27728,15250362:27729,15250363:27730,15250564:27731,15250565:27732,15250570:27733,15250567:27734,15250575:27735,15250573:27736,15250576:27737,15318414:27738,15250579:27739,15250317:27740,15250580:27741,15250582:27742,15250855:27743,15250861:27744,15250865:27745,15250867:27746,15251073:27747,15251097:27748,15251330:27749,15251134:27750,15251130:27751,15251343:27752,15251354:27753,15251350:27754,15251340:27755,15251355:27756,15251339:27757,15251370:27758,15251371:27759,15251359:27760,15251363:27761,15251388:27762,15251592:27763,15251593:27764,15251391:27765,15251613:27766,15251614:27767,15251600:27768,15251615:27769,15251842:27770,15251637:27771,15251632:27772,15251636:27773,15251850:27774,15251847:27937,15251849:27938,15251852:27939,15251856:27940,15251848:27941,15251865:27942,15251876:27943,15251872:27944,15251626:27945,15251875:27946,15251861:27947,15251894:27948,15251890:27949,15251900:27950,15252097:27951,15252103:27952,15252101:27953,15252100:27954,15252107:27955,15252106:27956,15252115:27957,15252113:27958,15252116:27959,15252121:27960,15252138:27961,15252129:27962,15252140:27963,15252144:27964,15252358:27965,15252145:27966,15252158:27967,15252357:27968,15252360:27969,15252363:27970,15252379:27971,15252387:27972,15252412:27973,15252411:27974,15252395:27975,15252414:27976,15252618:27977,15252613:27978,15252629:27979,15252626:27980,15252633:27981,15252627:27982,15252636:27983,15252639:27984,15252635:27985,15252620:27986,15252646:27987,15252659:27988,15252667:27989,15252665:27990,15252869:27991,15252866:27992,15252670:27993,15252876:27994,15252873:27995,15252870:27996,15252878:27997,15252887:27998,15252892:27999,15252898:28e3,15252899:28001,15252900:28002,15253148:28003,15253151:28004,15253155:28005,15253165:28006,15253167:28007,15253175:28008,15253402:28009,15253413:28010,15253410:28011,15253418:28012,15253423:28013,15303303:28014,15253428:28015,15302789:28016,15253433:28017,15253434:28018,15302801:28019,15302805:28020,15302817:28021,15302797:28022,15302814:28023,15302806:28024,15302795:28025,15302823:28026,15302838:28027,15302837:28028,15302841:28029,15253432:28030,15303055:28193,15303056:28194,15303057:28195,15303058:28196,15302798:28197,15303049:28198,15302846:28199,15303062:28200,15303064:28201,15303070:28202,15303080:28203,15303087:28204,15303094:28205,15309480:28206,15303090:28207,15303298:28208,15303101:28209,15303297:28210,15303296:28211,15303306:28212,15303305:28213,15303311:28214,15303336:28215,15303343:28216,15303345:28217,15303349:28218,15303586:28219,15303588:28220,15108488:28221,15303579:28222,15303810:28223,15303826:28224,15303833:28225,15303858:28226,15303856:28227,15304074:28228,15304086:28229,15304088:28230,15304099:28231,15304101:28232,15304105:28233,15304115:28234,15304114:28235,15304331:28236,15304329:28237,15304322:28238,15304354:28239,15304363:28240,15304367:28241,15304362:28242,15304373:28243,15304372:28244,15304378:28245,15304576:28246,15304577:28247,15304585:28248,15304587:28249,15304592:28250,15304598:28251,15304607:28252,15304609:28253,15304603:28254,15304636:28255,15304629:28256,15304630:28257,15304862:28258,15304639:28259,15304852:28260,15304876:28261,15304853:28262,15304849:28263,15305118:28264,15305111:28265,15305093:28266,15305097:28267,15305124:28268,15305096:28269,15305365:28270,15304895:28271,15305099:28272,15305104:28273,15305372:28274,15305366:28275,15305363:28276,15305371:28277,15305114:28278,15305615:28279,15305401:28280,15305399:28281,15305641:28282,15305871:28283,15305658:28284,15306116:28285,15305902:28286,15305881:28449,15305890:28450,15305882:28451,15305891:28452,15305914:28453,15305909:28454,15305915:28455,15306140:28456,15306144:28457,15306172:28458,15306158:28459,15306134:28460,15306416:28461,15306412:28462,15306413:28463,15306388:28464,15306425:28465,15306646:28466,15306647:28467,15306664:28468,15306661:28469,15306648:28470,15306627:28471,15306653:28472,15306640:28473,15306632:28474,15306660:28475,15306906:28476,15306900:28477,15306899:28478,15306883:28479,15306887:28480,15306896:28481,15306934:28482,15306923:28483,15306933:28484,15306913:28485,15306938:28486,15307137:28487,15307154:28488,15307140:28489,15307163:28490,15307168:28491,15307170:28492,15307166:28493,15307178:28494,15304873:28495,15307184:28496,15307189:28497,15307191:28498,15307197:28499,15307162:28500,15307196:28501,15307198:28502,15307393:28503,15307199:28504,15308418:28505,15308423:28506,15308426:28507,15308436:28508,15308438:28509,15308440:28510,15308441:28511,15308448:28512,15308456:28513,15308455:28514,15308461:28515,15308476:28516,15308475:28517,15308473:28518,15308478:28519,15308682:28520,15122358:28521,15308675:28522,15308685:28523,15308684:28524,15308693:28525,15308692:28526,15308694:28527,15308700:28528,15308705:28529,15308709:28530,15308706:28531,15308961:28532,15308968:28533,15308974:28534,15308975:28535,15309186:28536,15309196:28537,15309199:28538,15309195:28539,15309239:28540,15309212:28541,15309214:28542,15309213:28705,15309215:28706,15309222:28707,15309234:28708,15309228:28709,15309453:28710,15309464:28711,15309461:28712,15309463:28713,15309482:28714,15309479:28715,15309489:28716,15309490:28717,15309488:28718,15309492:28719,15309494:28720,15309496:28721,15309497:28722,15309710:28723,15309707:28724,15309705:28725,15309709:28726,15246733:28727,15309724:28728,15309965:28729,15309717:28730,15309753:28731,15309956:28732,15309958:28733,15309960:28734,15309971:28735,15309966:28736,15309969:28737,15309967:28738,15309974:28739,15309977:28740,15309988:28741,15309994:28742,1531e4:28743,15310009:28744,15310013:28745,15310014:28746,15310212:28747,15310214:28748,15310216:28749,15310210:28750,15310217:28751,15310236:28752,15310240:28753,15310244:28754,15310246:28755,15310248:28756,15043474:28757,15310251:28758,15310257:28759,15310265:28760,15310469:28761,15310268:28762,15310465:28763,15310266:28764,15310470:28765,15310475:28766,15310479:28767,15310480:28768,15310492:28769,15310504:28770,15310502:28771,15310499:28772,15310515:28773,15310516:28774,15310723:28775,15310726:28776,15310728:28777,15310731:28778,15310748:28779,15310765:28780,15318415:28781,15310770:28782,15182751:28783,15310774:28784,15310773:28785,15310991:28786,15310988:28787,15311032:28788,15311012:28789,15311009:28790,15311031:28791,15311037:28792,15311238:28793,15311247:28794,15311243:28795,15311275:28796,15311279:28797,15311280:28798,15311281:28961,15311284:28962,15311283:28963,15311530:28964,15311535:28965,15311537:28966,15311542:28967,15311748:28968,15311747:28969,15311750:28970,15311785:28971,15311787:28972,15312003:28973,15312009:28974,15312018:28975,15312020:28976,15312024:28977,15312033:28978,15312029:28979,15312030:28980,15312036:28981,15312032:28982,15312044:28983,15312046:28984,15312061:28985,15312062:28986,15312258:28987,15312265:28988,15312261:28989,15312272:28990,15312267:28991,15312273:28992,15312274:28993,15312268:28994,15312277:28995,15312535:28996,15312536:28997,15312549:28998,15312557:28999,15312558:29e3,15312572:29001,15312799:29002,15312795:29003,15312797:29004,15312792:29005,15312785:29006,15312813:29007,15312814:29008,15312817:29009,15312818:29010,15312827:29011,15312824:29012,15313025:29013,15313039:29014,15313029:29015,15312802:29016,15313049:29017,15313067:29018,15313079:29019,15313285:29020,15313282:29021,15313280:29022,15313283:29023,15313086:29024,15313301:29025,15313293:29026,15313307:29027,15313303:29028,15313311:29029,15313314:29030,15313317:29031,15313316:29032,15313321:29033,15313323:29034,15313322:29035,15313581:29036,15313584:29037,15313596:29038,15313792:29039,15313807:29040,15313809:29041,15313811:29042,15313812:29043,15313822:29044,15313823:29045,15313826:29046,15313827:29047,15313830:29048,15313839:29049,15313835:29050,15313838:29051,15313844:29052,15313841:29053,15313847:29054,15313851:29217,15314054:29218,15314072:29219,15314074:29220,15314079:29221,15314082:29222,15314083:29223,15314085:29224,15314087:29225,15314088:29226,15314089:29227,15314090:29228,15314094:29229,15314095:29230,15314098:29231,15314308:29232,15314307:29233,15314319:29234,15314317:29235,15314318:29236,15314321:29237,15314328:29238,15314356:29239,15314579:29240,15314563:29241,15314577:29242,15314582:29243,15314583:29244,15314591:29245,15314592:29246,15314600:29247,15314612:29248,15314816:29249,15314826:29250,15314617:29251,15314822:29252,15314831:29253,15314833:29254,15314834:29255,15314851:29256,15314850:29257,15314852:29258,15314836:29259,15314849:29260,15315130:29261,15314866:29262,15314865:29263,15314864:29264,15315093:29265,15315092:29266,15315081:29267,15315091:29268,15315084:29269,15315078:29270,15315080:29271,15315090:29272,15315082:29273,15315076:29274,15315118:29275,15315099:29276,15315109:29277,15315108:29278,15315105:29279,15315120:29280,15315335:29281,15315122:29282,15315334:29283,15315134:29284,15315354:29285,15315360:29286,15315367:29287,15315382:29288,15315384:29289,15315879:29290,15315884:29291,15315888:29292,15316105:29293,15316104:29294,15315883:29295,15316099:29296,15316102:29297,15316138:29298,15316134:29299,15316655:29300,15316131:29301,15316127:29302,15316356:29303,15316117:29304,15316114:29305,15316353:29306,15316159:29307,15316158:29308,15316358:29309,15316360:29310,15316381:29473,15316382:29474,15316388:29475,15316369:29476,15316368:29477,15316377:29478,15316402:29479,15316617:29480,15316615:29481,15316651:29482,15316399:29483,15316410:29484,15316634:29485,15316644:29486,15316649:29487,15316658:29488,15316868:29489,15316865:29490,15316667:29491,15316664:29492,15316666:29493,15316870:29494,15316879:29495,15316866:29496,15316889:29497,15316883:29498,15316920:29499,15316902:29500,15316909:29501,15316911:29502,15316925:29503,15317146:29504,15317147:29505,15317150:29506,15317429:29507,15317433:29508,15317437:29509,15317633:29510,15317640:29511,15317643:29512,15317644:29513,15317650:29514,15317653:29515,15317649:29516,15317661:29517,15317669:29518,15317673:29519,15317688:29520,15317674:29521,15317677:29522,15310241:29523,15317900:29524,15317902:29525,15317903:29526,15317904:29527,15317908:29528,15317916:29529,15317918:29530,15317917:29531,15317920:29532,15317925:29533,15317928:29534,15317935:29535,15317940:29536,15317942:29537,15317943:29538,15317945:29539,15317947:29540,15317948:29541,15317949:29542,15318151:29543,15318152:29544,15178423:29545,15318165:29546,15318177:29547,15318188:29548,15318206:29549,15318410:29550,15318418:29551,15318420:29552,15318435:29553,15318431:29554,15318432:29555,15318433:29556,15318438:29557,15318439:29558,15318444:29559,15318442:29560,15318455:29561,15318450:29562,15318454:29563,15318677:29564,15318684:29565,15318688:29566,15048879:29729,15116167:29730,15303065:29731,15176100:29732,15042460:29733,15173273:29734,15186570:31009,15246492:31010,15306120:31011,15305352:31012,15242140:31013,14991241:31014,15172283:31015,15112369:31016,15115144:31017,15305657:31018,15113147:31019,15056261:31020,14989480:31021,14990241:31022,14990268:31023,14990464:31024,14990467:31025,14990521:31026,14990742:31027,14990994:31028,14990986:31029,14991002:31030,14990996:31031,14991245:31032,15040896:31033,15040674:31034,14991295:31035,15040670:31036,15040902:31037,15040944:31038,15040898:31039,15041172:31040,15041460:31041,15041432:31042,15041930:31043,15041956:31044,15042205:31045,15042238:31046,15042476:31047,15042709:31048,15043228:31049,15043238:31050,15043456:31051,15043483:31052,15043712:31053,15043719:31054,15043748:31055,15044018:31056,15044243:31057,15044274:31058,15044509:31059,15706254:31060,15045276:31061,15045258:31062,15045289:31063,15045567:31064,15046278:31065,15048089:31066,15048101:31067,15048364:31068,15048584:31069,15048583:31070,15706255:31071,15706256:31072,15049374:31073,15049394:31074,15049867:31075,15050131:31076,15050139:31077,15050141:31078,15050147:31079,15050404:31080,15050426:31081,15052182:31082,15052672:31083,15176879:31084,15052696:31085,15052716:31086,15052958:31087,15053478:31088,15053498:31089,15053749:31090,15053991:31091,15054227:31092,15706257:31093,15054210:31094,15054253:31095,15054520:31096,15054521:31097,15054736:31098,15056033:31099,15056052:31100,15056295:31101,15056567:31102,15056798:31265,15106461:31266,15106693:31267,15106698:31268,15106974:31269,15106965:31270,15107232:31271,15106994:31272,15107217:31273,15107255:31274,15107248:31275,15107736:31276,15108243:31277,15108774:31278,15110069:31279,15110560:31280,15110813:31281,15111054:31282,15111566:31283,15112320:31284,15112341:31285,15112379:31286,15112329:31287,15112366:31288,15112350:31289,15112356:31290,15112613:31291,15112599:31292,15112601:31293,15706258:31294,15112627:31295,15112857:31296,15112864:31297,15112882:31298,15112895:31299,15113146:31300,15113358:31301,15705257:31302,15113638:31303,15113915:31304,15114642:31305,15114112:31306,15114369:31307,15114628:31308,15115151:31309,15706259:31310,15115688:31311,15706260:31312,15115928:31313,15116194:31314,15116464:31315,15116715:31316,15116678:31317,15116723:31318,15116734:31319,15117218:31320,15117220:31321,15118230:31322,15118527:31323,15118748:31324,15118982:31325,15118767:31326,15119258:31327,15119492:31328,15120007:31329,15119791:31330,15120022:31331,15120044:31332,15120271:31333,15120312:31334,15120306:31335,15120316:31336,15120569:31337,15120796:31338,15120551:31339,15120572:31340,15121087:31341,15122056:31342,15122101:31343,15122357:31344,15171717:31345,15171719:31346,15171752:31347,15172229:31348,15172267:31349,15172751:31350,15172740:31351,15173020:31352,15172998:31353,15172999:31354,15706261:31355,15173505:31356,15173566:31357,15174321:31358,15174334:31521,15174820:31522,15706262:31523,15175095:31524,15175357:31525,15175561:31526,15175574:31527,15175587:31528,15175570:31529,15175815:31530,15175605:31531,15175846:31532,15175850:31533,15175849:31534,15175854:31535,15176098:31536,15176329:31537,15176351:31538,15176833:31539,15177135:31540,15178370:31541,15178396:31542,15178398:31543,15178395:31544,15178406:31545,15706263:31546,15179142:31547,15043247:31548,15179937:31549,15180174:31550,15180196:31551,15180218:31552,15180976:31553,15706264:31554,15706265:31555,15706266:31556,15181460:31557,15706267:31558,15181467:31559,15182737:31560,15182759:31561,15706268:31562,15182763:31563,15183518:31564,15706269:31565,15185288:31566,15185308:31567,15185591:31568,15185568:31569,15185814:31570,15186322:31571,15187335:31572,15187617:31573,15706270:31574,15240321:31575,15240610:31576,15240639:31577,15241095:31578,15241142:31579,15241608:31580,15241908:31581,15242643:31582,15242649:31583,15242667:31584,15706271:31585,15242928:31586,15706272:31587,15706273:31588,15245447:31589,15246261:31590,15247506:31591,15247543:31592,15247801:31593,15248039:31594,15248062:31595,15248287:31596,15706274:31597,15248310:31598,15248787:31599,15248831:31600,15250352:31601,15250356:31602,15250578:31603,15250870:31604,15706275:31605,15252367:31606,15706276:31607,15706277:31608,15303079:31609,15303582:31610,15706278:31611,15303829:31612,15303847:31613,15304602:31614,15304599:31777,15304606:31778,15304621:31779,15304622:31780,15304612:31781,15304613:31782,15304838:31783,15304848:31784,15304842:31785,15304890:31786,15305088:31787,15304892:31788,15305102:31789,15305113:31790,15305105:31791,15304889:31792,15305127:31793,15305383:31794,15305143:31795,15305144:31796,15305639:31797,15305623:31798,15305625:31799,15305616:31800,15706279:31801,15305621:31802,15305632:31803,15305619:31804,15305893:31805,15305889:31806,15305659:31807,15706280:31808,15305886:31809,15305663:31810,15305885:31811,15305858:31812,15306160:31813,15306135:31814,15306404:31815,15306630:31816,15306654:31817,15306680:31818,15306929:31819,15307141:31820,15307144:31821,15308434:31822,15706012:31823,15706281:31824,15309469:31825,15309487:31826,15310003:31827,15310011:31828,15310211:31829,15310221:31830,15310223:31831,15310225:31832,15310229:31833,15311255:31834,15311269:31835,15706282:31836,15706283:31837,15312039:31838,15706284:31839,15312542:31840,15313294:31841,15313817:31842,15313820:31843,15314357:31844,15314354:31845,15314575:31846,15314609:31847,15314619:31848,15315072:31849,15316400:31850,15316395:31851,15706285:31852,15317145:31853,15317905:31854,14845360:31857,14845361:31858,14845362:31859,14845363:31860,14845364:31861,14845365:31862,14845366:31863,14845367:31864,14845368:31865,14845369:31866,15712164:31868,15711367:31869,15711362:31870,14846117:8514,15712162:8780
74,14846098:74077}},6250:e=>
vendor: 90,168 bytes, line 74
74{e.exports={52120:8751,52103:8752,49848:8753,52121:8754,52125:8755,49839:8756,52123:8757,52122:8758,126:8759,52868:8760,52869:8761,49825:8770,49830:8771,49855:8772,49850:8811,49834:8812,49833:8813,49838:8814,14845090:8815,49828:8816,14845078:8817,52870:9825,52872:9826,52873:9827,52874:9828,52906:9829,52876:9831,52878:9833,52907:9834,52879:9836,52908:9841,52909:9842,52910:9843,52911:9844,53130:9845,52880:9846,53132:9847,53122:9848,53133:9849,53131:9850,52912:9851,53134:9852,53378:10050,53379:10051,53380:10052,53381:10053,53382:10054,53383:10055,53384:10056,53385:10057,53386:10058,53387:10059,53388:10060,53390:10061,53391:10062,53650:10098,53651:10099,53652:10100,53653:10101,53654:10102,53655:10103,53656:10104,53657:10105,53658:10106,53659:10107,53660:10108,53662:10109,53663:10110,50054:10529,50320:10530,50342:10532,50354:10534,50561:10536,50367:10537,50570:10539,50072:10540,50578:10541,50598:10543,50078:10544,50086:10561,50321:10562,50096:10563,50343:10564,50353:10565,50355:10566,50360:10567,50562:10568,50560:10569,50569:10570,50571:10571,50104:10572,50579:10573,50079:10574,50599:10575,50110:10576,50049:10785,50048:10786,50052:10787,50050:10788,50306:10789,51085:10790,50304:10791,50308:10792,50053:10793,50051:10794,50310:10795,50312:10796,50316:10797,50055:10798,50314:10799,50318:10800,50057:10801,50056:10802,50059:10803,50058:10804,50330:10805,50326:10806,50322:10807,50328:10808,50332:10810,50334:10811,50338:10812,50336:10813,50340:10814,50061:10815,50060:10816,50063:10817,50062:10818,51087:10819,50352:10820,50346:10821,50350:10822,50344:10823,50356:10824,50358:10825,50361:10826,50365:10827,50363:10828,50563:10829,50567:10830,50565:10831,50065:10832,50067:10833,50066:10834,50070:10835,50068:10836,51089:10837,50576:10838,50572:10839,50069:10840,50580:10841,50584:10842,50582:10843,50586:10844,50588:10845,50592:10846,50590:10847,50596:10848,50594:10849,50074:10850,50073:10851,50076:10852,50075:10853,50604:10854,51091:10855,50608:10856,50602:10857,50610:10858,50606:10859,50600:10860,51095:10861,51099:10862,51097:10863,51093:10864,50612:10865,50077:10866,50616:10867,50614:10868,50617:10869,50621:10870,50619:10871,50081:11041,50080:11042,50084:11043,50082:11044,50307:11045,51086:11046,50305:11047,50309:11048,50085:11049,50083:11050,50311:11051,50313:11052,50317:11053,50087:11054,50315:11055,50319:11056,50089:11057,50088:11058,50091:11059,50090:11060,50331:11061,50327:11062,50323:11063,50329:11064,51125:11065,50333:11066,50335:11067,50337:11069,50341:11070,50093:11071,50092:11072,50095:11073,50094:11074,51088:11075,50347:11077,50351:11078,50345:11079,50357:11080,50359:11081,50362:11082,50366:11083,50364:11084,50564:11085,50568:11086,50566:11087,50097:11088,50099:11089,50098:11090,50102:11091,50100:11092,51090:11093,50577:11094,50573:11095,50101:11096,50581:11097,50585:11098,50583:11099,50587:11100,50589:11101,50593:11102,50591:11103,50597:11104,50595:11105,50106:11106,50105:11107,50108:11108,50107:11109,50605:11110,51092:11111,50609:11112,50603:11113,50611:11114,50607:11115,50601:11116,51096:11117,51100:11118,51098:11119,51094:11120,50613:11121,50109:11122,50111:11123,50615:11124,50618:11125,50622:11126,50620:11127,14989442:12321,14989444:12322,14989445:12323,14989452:12324,14989458:12325,14989471:12326,14989475:12327,14989476:12328,14989480:12329,14989483:12330,14989486:12331,14989487:12332,14989488:12333,14989493:12334,14989696:12335,14989697:12336,14989700:12337,14989703:12338,14989713:12339,14989722:12340,14989724:12341,14989731:12342,14989736:12343,14989737:12344,14989748:12345,14989749:12346,14989753:12347,14989759:12348,14989965:12349,14989974:12350,14989975:12351,14989981:12352,14989999:12353,14990009:12354,14990211:12355,14990224:12356,14990234:12357,14990235:12358,14990240:12359,14990241:12360,14990242:12361,14990248:12362,14990255:12363,14990257:12364,14990259:12365,14990261:12366,14990269:12367,14990270:12368,14990271:12369,14990464:12370,14990466:12371,14990467:12372,14990472:12373,14990475:12374,14990476:12375,14990482:12376,14990485:12377,14990486:12378,14990487:12379,14990489:12380,14990510:12381,14990513:12382,14990752:12383,14990515:12384,14990517:12385,14990519:12386,14990521:12387,14990523:12388,14990526:12389,14990720:12390,14990722:12391,14990728:12392,14990729:12393,14990731:12394,14990732:12395,14990738:12396,14990740:12397,14990742:12398,14990744:12399,14990751:12400,14990755:12401,14990762:12402,14990764:12403,14990766:12404,14990769:12405,14990775:12406,14990776:12407,14990777:12408,14990778:12409,14990781:12410,14990782:12411,14990977:12412,14990978:12413,14990980:12414,14990981:12577,14990985:12578,14990986:12579,14990988:12580,14990990:12581,14990992:12582,14990994:12583,14990995:12584,14990996:12585,14990999:12586,14991001:12587,14991002:12588,14991006:12589,14991007:12590,14991026:12591,14991031:12592,14991033:12593,14991035:12594,14991036:12595,14991037:12596,14991038:12597,14991232:12598,14991233:12599,14991237:12600,14991238:12601,14991240:12602,14991241:12603,14991243:12604,14991244:12605,14991245:12606,14991247:12607,14991250:12608,14991260:12609,14991264:12610,14991266:12611,14991280:12612,14991282:12613,14991292:12614,14991293:12615,14991295:12616,15040640:12617,15040641:12618,15040644:12619,15040647:12620,15040650:12621,15040652:12622,15040654:12623,15040656:12624,15040659:12625,15040663:12626,15040664:12627,15040667:12628,15040668:12629,15040669:12630,15040670:12631,15040674:12632,15040679:12633,15040686:12634,15040688:12635,15040690:12636,15040691:12637,15040693:12638,15040896:12639,15040897:12640,15040898:12641,15040901:12642,15040902:12643,15040906:12644,15040908:12645,15040910:12646,15040913:12647,15040914:12648,15040915:12649,15040919:12650,15040921:12651,15040927:12652,15040928:12653,15040930:12654,15040931:12655,15040934:12656,15040935:12657,15040938:12658,15040941:12659,15040944:12660,15040945:12661,15040699:12662,15041153:12663,15041155:12664,15041156:12665,15041158:12666,15041162:12667,15041166:12668,15041167:12669,15041168:12670,15041170:12833,15041171:12834,15041172:12835,15041174:12836,15041179:12837,15041180:12838,15041182:12839,15041183:12840,15041184:12841,15041185:12842,15041186:12843,15041194:12844,15041199:12845,15041200:12846,15041209:12847,15041210:12848,15041213:12849,15041408:12850,15041411:12851,15041412:12852,15041415:12853,15041420:12854,15041422:12855,15041424:12856,15041427:12857,15041428:12858,15041432:12859,15041436:12860,15041437:12861,15041439:12862,15041442:12863,15041444:12864,15041446:12865,15041448:12866,15041449:12867,15041455:12868,15041457:12869,15041462:12870,15041466:12871,15041470:12872,15041667:12873,15041670:12874,15041671:12875,15041672:12876,15041675:12877,15041676:12878,15041677:12879,15041678:12880,15041458:12881,15041680:12882,15041687:12883,15041689:12884,15041691:12885,15041692:12886,15041693:12887,15041694:12888,15041699:12889,15041703:12890,15041704:12891,15041708:12892,15041709:12893,15041711:12894,15041713:12895,15041715:12896,15041716:12897,15041717:12898,15041720:12899,15041721:12900,15041922:12901,15041930:12902,15041935:12903,15041939:12904,15041941:12905,15041943:12906,15041944:12907,15041951:12908,15041956:12909,15041958:12910,15041982:12911,15042179:12912,15042180:12913,15042187:12914,15042190:12915,15042200:12916,15042205:12917,15042209:12918,15042211:12919,15042221:12920,15042232:12921,15042234:12922,15042236:12923,15042238:12924,15042239:12925,15042434:12926,15042440:13089,15042447:13090,15042449:13091,15042450:13092,15042451:13093,15042453:13094,15042456:13095,15042462:13096,15042466:13097,15042469:13098,15042478:13099,15042482:13100,15042483:13101,15042484:13102,15042487:13103,15042689:13104,15042690:13105,15042693:13106,15042706:13107,15042707:13108,15042709:13109,15042710:13110,15042712:13111,15042722:13112,15042728:13113,15042737:13114,15042738:13115,15042741:13116,15042748:13117,15042949:13118,15042953:13119,15042965:13120,15042967:13121,15042968:13122,15042970:13123,15042972:13124,15042975:13125,15042976:13126,15042977:13127,15042982:13128,15042990:13129,15042999:13130,15043e3:13131,15043001:13132,15043200:13133,15043202:13134,15043205:13135,15043210:13136,15043212:13137,15043219:13138,15043221:13139,15043222:13140,15043223:13141,15043224:13142,15043226:13143,15043228:13144,15043236:13145,15043237:13146,15043238:13147,15043239:13148,15043247:13149,15043248:13150,15043254:13151,15043255:13152,15043256:13153,15043258:13154,15043259:13155,15043261:13156,15043456:13157,15043460:13158,15043462:13159,15043464:13160,15043468:13161,15043471:13162,15043473:13163,15043476:13164,15043478:13165,15043483:13166,15043484:13167,15043489:13168,15043493:13169,15043496:13170,15043497:13171,15043498:13172,15043500:13173,15043504:13174,15043505:13175,15043508:13176,15043510:13177,15043511:13178,15043712:13179,15043715:13180,15043722:13181,15043723:13182,15043724:13345,15043729:13346,15043731:13347,15043736:13348,15043739:13349,15043740:13350,15043742:13351,15043743:13352,15043749:13353,15043751:13354,15043752:13355,15043753:13356,15043755:13357,15043756:13358,15043757:13359,15043760:13360,15043762:13361,15043765:13362,15043772:13363,15043773:13364,15043774:13365,15043970:13366,15043980:13367,15043979:13368,15043993:13369,15043995:13370,15044001:13371,15044003:13372,15044005:13373,15044012:13374,15044013:13375,15044018:13376,15044025:13377,15044030:13378,15044227:13379,15044231:13380,15044232:13381,15044238:13382,15044243:13383,15044244:13384,15044249:13385,15044253:13386,15044257:13387,15044260:13388,15044266:13389,15044267:13390,15044271:13391,15044274:13392,15044276:13393,15044277:13394,15044279:13395,15044280:13396,15044282:13397,15044285:13398,15044480:13399,15044485:13400,15044495:13401,15044498:13402,15044499:13403,15044501:13404,15044506:13405,15044509:13406,15044510:13407,15044512:13408,15044518:13409,15044519:13410,15044533:13411,15044738:13412,15044755:13413,15044762:13414,15044769:13415,15044775:13416,15044776:13417,15044778:13418,15044783:13419,15044785:13420,15044788:13421,15044789:13422,15044995:13423,15044996:13424,15044999:13425,15045005:13426,15045007:13427,15045022:13428,15045026:13429,15045028:13430,15045030:13431,15045031:13432,15045033:13433,15045035:13434,15045037:13435,15045038:13436,15045044:13437,15045055:13438,15045249:13601,15045251:13602,15045253:13603,15045256:13604,15045257:13605,15045261:13606,15045265:13607,15045269:13608,15045270:13609,15045276:13610,15045279:13611,15045281:13612,15045286:13613,15045287:13614,15045289:13615,15045290:13616,15045293:13617,15045294:13618,15045297:13619,15045303:13620,15045305:13621,15045306:13622,15045307:13623,15045311:13624,15045510:13625,15045514:13626,15045517:13627,15045518:13628,15045536:13629,15045546:13630,15045548:13631,15045551:13632,15045558:13633,15045564:13634,15045566:13635,15045567:13636,15045760:13637,15045761:13638,15045765:13639,15045768:13640,15045769:13641,15045772:13642,15045773:13643,15045774:13644,15045781:13645,15045802:13646,15045803:13647,15045810:13648,15045813:13649,15045814:13650,15045819:13651,15045820:13652,15045821:13653,15046017:13654,15046023:13655,15046025:13656,15046026:13657,15046029:13658,15046032:13659,15046033:13660,15046040:13661,15046042:13662,15046043:13663,15046046:13664,15046048:13665,15046049:13666,15046052:13667,15046054:13668,15046079:13669,15046273:13670,15046274:13671,15046278:13672,15046280:13673,15046286:13674,15046287:13675,15046289:13676,15046290:13677,15046291:13678,15046292:13679,15046295:13680,15046307:13681,15046308:13682,15046317:13683,15046322:13684,15046335:13685,15046529:13686,15046531:13687,15046534:13688,15046537:13689,15046539:13690,15046540:13691,15046542:13692,15046545:13693,15046546:13694,15046547:13857,15046551:13858,15046552:13859,15046555:13860,15046558:13861,15046562:13862,15046569:13863,15046582:13864,15046591:13865,15046789:13866,15046792:13867,15046794:13868,15046797:13869,15046798:13870,15046799:13871,15046800:13872,15046801:13873,15046802:13874,15046809:13875,15046828:13876,15046832:13877,15046835:13878,15046837:13879,15046839:13880,15046841:13881,15046843:13882,15046844:13883,15046845:13884,15046847:13885,15047040:13886,15047041:13887,15047043:13888,15047044:13889,15047046:13890,15047049:13891,15047051:13892,15047053:13893,15047055:13894,15047060:13895,15047070:13896,15047072:13897,15047073:13898,15047074:13899,15047075:13900,15047078:13901,15047081:13902,15047085:13903,15047087:13904,15047089:13905,15047090:13906,15047093:13907,15047300:13908,15047301:13909,15047304:13910,15047307:13911,15047308:13912,15047317:13913,15047321:13914,15047322:13915,15047325:13916,15047326:13917,15047327:13918,15047334:13919,15047335:13920,15047336:13921,15047337:13922,15047339:13923,15047340:13924,15047341:13925,15047345:13926,15047347:13927,15047351:13928,15047358:13929,15047557:13930,15047561:13931,15047562:13932,15047563:13933,15047567:13934,15047568:13935,15047564:13936,15047565:13937,15047577:13938,15047580:13939,15047581:13940,15047583:13941,15047585:13942,15047588:13943,15047589:13944,15047590:13945,15047591:13946,15047592:13947,15047601:13948,15047595:13949,15047597:13950,15047606:14113,15047607:14114,15047809:14115,15047810:14116,15047815:14117,15047818:14118,15047820:14119,15047825:14120,15047829:14121,15047834:14122,15047835:14123,15047837:14124,15047840:14125,15047842:14126,15047843:14127,15047844:14128,15047845:14129,15047849:14130,15047850:14131,15047852:14132,15047854:14133,15047855:14134,15047859:14135,15047860:14136,15047869:14137,15047870:14138,15047871:14139,15048069:14140,15048070:14141,15048076:14142,15048077:14143,15048082:14144,15048098:14145,15048101:14146,15048103:14147,15048104:14148,15048107:14149,15048109:14150,15048110:14151,15048111:14152,15048112:14153,15048113:14154,15048115:14155,15048116:14156,15048117:14157,15048119:14158,15048121:14159,15048122:14160,15048123:14161,15048124:14162,15048126:14163,15048321:14164,15048323:14165,15048332:14166,15048340:14167,15048343:14168,15048345:14169,15048346:14170,15048348:14171,15048349:14172,15048350:14173,15048351:14174,15048353:14175,15048341:14176,15048359:14177,15048360:14178,15048361:14179,15048364:14180,15048376:14181,15048381:14182,15048583:14183,15048584:14184,15048588:14185,15048591:14186,15048597:14187,15048605:14188,15048606:14189,15048612:14190,15048614:14191,15048615:14192,15048617:14193,15048621:14194,15048624:14195,15048629:14196,15048630:14197,15048632:14198,15048637:14199,15048638:14200,15048639:14201,15048835:14202,15048836:14203,15048840:14204,15048841:14205,15048609:14206,15048844:14369,15048845:14370,15048859:14371,15048862:14372,15048863:14373,15048864:14374,15048870:14375,15048871:14376,15048877:14377,15048882:14378,15048889:14379,15048895:14380,15049097:14381,15049100:14382,15049101:14383,15049103:14384,15049104:14385,15049109:14386,15049119:14387,15049121:14388,15049124:14389,15049127:14390,15049128:14391,15049144:14392,15049148:14393,15049151:14394,15049344:14395,15049345:14396,15049351:14397,15049352:14398,15049353:14399,15049354:14400,15049356:14401,15049357:14402,15049359:14403,15049360:14404,15049364:14405,15049366:14406,15049373:14407,15049376:14408,15049377:14409,15049378:14410,15049382:14411,15049385:14412,15049393:14413,15049394:14414,15049604:14415,15049404:14416,15049602:14417,15049608:14418,15049613:14419,15049614:14420,15049616:14421,15049618:14422,15049620:14423,15049622:14424,15049626:14425,15049629:14426,15049633:14427,15049634:14428,15049641:14429,15049651:14430,15049861:14431,15049862:14432,15049867:14433,15049868:14434,15049874:14435,15049875:14436,15049876:14437,15243649:14438,15049885:14439,15049889:14440,15049891:14441,15049892:14442,15049896:14443,15049903:14444,15049904:14445,15049907:14446,15049909:14447,15049910:14448,15049919:14449,15050115:14450,15050118:14451,15050130:14452,15050131:14453,15050137:14454,15050139:14455,15050141:14456,15050142:14457,15050143:14458,15050145:14459,15050147:14460,15050155:14461,15050157:14462,15050159:14625,15050162:14626,15050165:14627,15050166:14628,15050169:14629,15050171:14630,15050172:14631,15050379:14632,15050380:14633,15050382:14634,15050386:14635,15050389:14636,15050391:14637,15050399:14638,15050404:14639,15050407:14640,15050413:14641,15050414:14642,15050415:14643,15050416:14644,15050419:14645,15050423:14646,15050426:14647,15050428:14648,15050625:14649,15050627:14650,15050628:14651,15050632:14652,15050634:14653,15050637:14654,15050642:14655,15050653:14656,15050654:14657,15050655:14658,15050659:14659,15050660:14660,15050663:14661,15050670:14662,15050671:14663,15050673:14664,15050674:14665,15050676:14666,15050679:14667,15050880:14668,15050884:14669,15050892:14670,15050893:14671,15050894:14672,15050898:14673,15050899:14674,15050910:14675,15050915:14676,15050916:14677,15050919:14678,15050920:14679,15050922:14680,15050925:14681,15050928:14682,15051140:14683,15051141:14684,15051143:14685,15051144:14686,15051148:14687,15051152:14688,15051157:14689,15051166:14690,15051171:14691,15051173:14692,15051175:14693,15051181:14694,15051191:14695,15051194:14696,15051195:14697,15051198:14698,15051403:14699,15051408:14700,15051411:14701,15051414:14702,15051417:14703,15051420:14704,15051422:14705,15051423:14706,15051424:14707,15051426:14708,15051431:14709,15051436:14710,15051441:14711,15051442:14712,15051443:14713,15051445:14714,15051448:14715,15051450:14716,15051451:14717,15051455:14718,15051652:14881,15051654:14882,15051656:14883,15051663:14884,15051674:14885,15051676:14886,15051680:14887,15051685:14888,15051690:14889,15051694:14890,15051701:14891,15051702:14892,15051709:14893,15051904:14894,15051905:14895,15051912:14896,15051927:14897,15051956:14898,15051929:14899,15051931:14900,15051933:14901,15051937:14902,15051941:14903,15051949:14904,15051960:14905,15052161:14906,15052171:14907,15052172:14908,15052178:14909,15052182:14910,15052190:14911,15052200:14912,15052206:14913,15052207:14914,15052220:14915,15052221:14916,15052222:14917,15052223:14918,15052417:14919,15052420:14920,15052422:14921,15052426:14922,15052430:14923,15052432:14924,15052433:14925,15052435:14926,15052436:14927,15052438:14928,15052456:14929,15052457:14930,15052460:14931,15052461:14932,15052463:14933,15052465:14934,15052466:14935,15052471:14936,15052474:14937,15052476:14938,15052672:14939,15052673:14940,15052685:14941,15052687:14942,15052694:14943,15052695:14944,15052696:14945,15052697:14946,15052698:14947,15052704:14948,15052719:14949,15052721:14950,15052724:14951,15052733:14952,15052940:14953,15052951:14954,15052958:14955,15052959:14956,15052963:14957,15052966:14958,15052969:14959,15052971:14960,15052972:14961,15052974:14962,15052976:14963,15052978:14964,15052981:14965,15052982:14966,15053209:14967,15053210:14968,15053212:14969,15053218:14970,15053219:14971,15053223:14972,15053224:14973,15053225:14974,15053229:15137,15053232:15138,15053236:15139,15053237:15140,15053242:15141,15053243:15142,15053244:15143,15053245:15144,15053447:15145,15053448:15146,15053450:15147,15053455:15148,15053458:15149,15053469:15150,15053471:15151,15053472:15152,15053474:15153,15053475:15154,15053478:15155,15053482:15156,15053490:15157,15053492:15158,15053493:15159,15053498:15160,15053705:15161,15053707:15162,15053714:15163,15053725:15164,15053719:15165,15053742:15166,15053745:15167,15053746:15168,15053748:15169,15053953:15170,15053958:15171,15053965:15172,15053970:15173,15053995:15174,15053987:15175,15053988:15176,15053990:15177,15053991:15178,15054001:15179,15054004:15180,15054009:15181,15054013:15182,15054015:15183,15054210:15184,15054211:15185,15054214:15186,15054216:15187,15054229:15188,15054225:15189,15054233:15190,15054218:15191,15054239:15192,15054240:15193,15054241:15194,15054242:15195,15054244:15196,15054250:15197,15054253:15198,15054256:15199,15054265:15200,15054266:15201,15054270:15202,15054271:15203,15054465:15204,15054467:15205,15054472:15206,15054474:15207,15054482:15208,15054483:15209,15054484:15210,15054485:15211,15054489:15212,15054491:15213,15054495:15214,15054496:15215,15054503:15216,15054507:15217,15054512:15218,15054516:15219,15054520:15220,15054521:15221,15054723:15222,15054727:15223,15054731:15224,15054736:15225,15054734:15226,15054744:15227,15054745:15228,15054752:15229,15054756:15230,15054761:15393,15054776:15394,15054777:15395,15054976:15396,15054983:15397,15054989:15398,15054994:15399,15054996:15400,15054997:15401,15055e3:15402,15055007:15403,15055008:15404,15055022:15405,15055016:15406,15055026:15407,15055029:15408,15055038:15409,15055243:15410,15055248:15411,15055241:15412,15055249:15413,15055254:15414,15055256:15415,15055259:15416,15055260:15417,15055262:15418,15055272:15419,15055274:15420,15055275:15421,15055276:15422,15055277:15423,15055278:15424,15055280:15425,15055488:15426,15055499:15427,15055502:15428,15055522:15429,15055524:15430,15055525:15431,15055528:15432,15055530:15433,15055532:15434,15055537:15435,15055539:15436,15055549:15437,15055550:15438,15055551:15439,15055750:15440,15055756:15441,15055755:15442,15055758:15443,15055761:15444,15055762:15445,15055764:15446,15055765:15447,15055772:15448,15055774:15449,15055781:15450,15055787:15451,15056002:15452,15056006:15453,15056007:15454,15056008:15455,15056014:15456,15056025:15457,15056028:15458,15056029:15459,15056033:15460,15056034:15461,15056035:15462,15056036:15463,15056040:15464,15056043:15465,15056044:15466,15056046:15467,15056048:15468,15056052:15469,15056054:15470,15056059:15471,15056061:15472,15056063:15473,15056256:15474,15056260:15475,15056261:15476,15056263:15477,15056269:15478,15056272:15479,15056276:15480,15056280:15481,15056283:15482,15056288:15483,15056291:15484,15056292:15485,15056295:15486,15056303:15649,15056306:15650,15056308:15651,15056309:15652,15056312:15653,15056314:15654,15056317:15655,15056318:15656,15056521:15657,15056525:15658,15056527:15659,15056534:15660,15056540:15661,15056541:15662,15056546:15663,15056551:15664,15056555:15665,15056548:15666,15056556:15667,15056559:15668,15056560:15669,15056561:15670,15056568:15671,15056772:15672,15056775:15673,15056776:15674,15056777:15675,15056779:15676,15056784:15677,15056785:15678,15056786:15679,15056787:15680,15056788:15681,15056798:15682,15056801:15683,15056802:15684,15056808:15685,15056809:15686,15056810:15687,15056812:15688,15056813:15689,15056814:15690,15056815:15691,15056818:15692,15056819:15693,15056822:15694,15056826:15695,15056828:15696,15106183:15697,15106186:15698,15106189:15699,15106195:15700,15106196:15701,15106199:15702,15106200:15703,15106202:15704,15106207:15705,15106212:15706,15106221:15707,15106227:15708,15106229:15709,15106432:15710,15106439:15711,15106440:15712,15106441:15713,15106444:15714,15106449:15715,15106452:15716,15106454:15717,15106455:15718,15106461:15719,15106465:15720,15106471:15721,15106481:15722,15106494:15723,15106495:15724,15106690:15725,15106694:15726,15106696:15727,15106698:15728,15106702:15729,15106705:15730,15106707:15731,15106709:15732,15106712:15733,15106717:15734,15106718:15735,15106722:15736,15106724:15737,15106725:15738,15106728:15739,15106736:15740,15106737:15741,15106743:15742,15106747:15905,15106750:15906,15106946:15907,15106948:15908,15106952:15909,15106953:15910,15106954:15911,15106955:15912,15106958:15913,15106959:15914,15106964:15915,15106965:15916,15106969:15917,15106971:15918,15106973:15919,15106974:15920,15106978:15921,15106981:15922,15106994:15923,15106997:15924,15107e3:15925,15107004:15926,15107005:15927,15107202:15928,15107207:15929,15107210:15930,15107212:15931,15107216:15932,15107217:15933,15107218:15934,15107219:15935,15107220:15936,15107222:15937,15107223:15938,15107225:15939,15107228:15940,15107230:15941,15107234:15942,15107242:15943,15107243:15944,15107248:15945,15107249:15946,15107253:15947,15107254:15948,15107255:15949,15107257:15950,15107457:15951,15107461:15952,15107462:15953,15107465:15954,15107486:15955,15107488:15956,15107500:15957,15107506:15958,15107512:15959,15107515:15960,15107516:15961,15107519:15962,15107712:15963,15107713:15964,15107715:15965,15107716:15966,15107723:15967,15107725:15968,15107730:15969,15107731:15970,15107735:15971,15107736:15972,15107740:15973,15107741:15974,15107743:15975,15107744:15976,15107749:15977,15107752:15978,15107754:15979,15107757:15980,15107768:15981,15107769:15982,15107772:15983,15107968:15984,15107969:15985,15107970:15986,15107982:15987,15107983:15988,15107989:15989,15107996:15990,15107997:15991,15107998:15992,15107999:15993,15108001:15994,15108002:15995,15108007:15996,15108009:15997,15108005:15998,15108012:16161,15108013:16162,15108015:16163,15108225:16164,15108227:16165,15108228:16166,15108231:16167,15108243:16168,15108245:16169,15108252:16170,15108256:16171,15108258:16172,15108259:16173,15108263:16174,15108265:16175,15108267:16176,15108281:16177,15108285:16178,15108482:16179,15108483:16180,15108484:16181,15108486:16182,15108492:16183,15108496:16184,15108497:16185,15108498:16186,15108500:16187,15108502:16188,15108506:16189,15108508:16190,15108516:16191,15108525:16192,15108527:16193,15108531:16194,15108538:16195,15108541:16196,15108749:16197,15108750:16198,15108751:16199,15108752:16200,15108774:16201,15108776:16202,15108787:16203,15108790:16204,15108791:16205,15108794:16206,15108798:16207,15108799:16208,15108996:16209,15109006:16210,15109013:16211,15109014:16212,15109018:16213,15109034:16214,15109042:16215,15109044:16216,15109052:16217,15109053:16218,15109251:16219,15109252:16220,15109258:16221,15109259:16222,15109261:16223,15109264:16224,15109267:16225,15109270:16226,15109272:16227,15109289:16228,15109290:16229,15109293:16230,15109301:16231,15109302:16232,15109305:16233,15109308:16234,15109505:16235,15109506:16236,15109507:16237,15109508:16238,15109510:16239,15109514:16240,15109515:16241,15109518:16242,15109522:16243,15109523:16244,15109524:16245,15109528:16246,15109531:16247,15109541:16248,15109542:16249,15109548:16250,15109549:16251,15109553:16252,15109556:16253,15109557:16254,15109560:16417,15109564:16418,15109565:16419,15109567:16420,15109762:16421,15109764:16422,15109767:16423,15109770:16424,15109776:16425,15109780:16426,15109781:16427,15109785:16428,15109786:16429,15109790:16430,15109796:16431,15109798:16432,15109805:16433,15109806:16434,15109807:16435,15109821:16436,15110017:16437,15110021:16438,15110024:16439,15110030:16440,15110033:16441,15110035:16442,15110036:16443,15110037:16444,15110044:16445,15110048:16446,15110053:16447,15110058:16448,15110060:16449,15110066:16450,15110067:16451,15110069:16452,15110072:16453,15110073:16454,15110281:16455,15110282:16456,15110288:16457,15110290:16458,15110292:16459,15110296:16460,15110302:16461,15110304:16462,15110306:16463,15110308:16464,15110309:16465,15110313:16466,15110314:16467,15110319:16468,15110320:16469,15110325:16470,15110333:16471,15110335:16472,15110539:16473,15110543:16474,15110545:16475,15110546:16476,15110547:16477,15110548:16478,15110554:16479,15110555:16480,15110556:16481,15110557:16482,15110559:16483,15110560:16484,15110561:16485,15110563:16486,15110573:16487,15110579:16488,15110580:16489,15110587:16490,15110589:16491,15110789:16492,15110791:16493,15110799:16494,15110800:16495,15110801:16496,15110808:16497,15110809:16498,15110811:16499,15110813:16500,15110815:16501,15110817:16502,15110819:16503,15110822:16504,15110824:16505,15110828:16506,15110835:16507,15110845:16508,15110846:16509,15110847:16510,15111044:16673,15111049:16674,15111050:16675,15111051:16676,15111052:16677,15111054:16678,15111056:16679,15111057:16680,15111061:16681,15111063:16682,15111076:16683,15111077:16684,15111081:16685,15111082:16686,15111085:16687,15111088:16688,15111093:16689,15111095:16690,15111099:16691,15111103:16692,15111297:16693,15111300:16694,15111304:16695,15111305:16696,15111306:16697,15111311:16698,15111315:16699,15111316:16700,15111318:16701,15111321:16702,15111323:16703,15111326:16704,15111327:16705,15111330:16706,15111334:16707,15111337:16708,15111342:16709,15111345:16710,15111354:16711,15111356:16712,15111357:16713,15111555:16714,15111559:16715,15111561:16716,15111568:16717,15111570:16718,15111572:16719,15111583:16720,15111584:16721,15111591:16722,15111595:16723,15111610:16724,15111613:16725,15111809:16726,15111813:16727,15111818:16728,15111826:16729,15111829:16730,15111832:16731,15111837:16732,15111840:16733,15111843:16734,15111846:16735,15111854:16736,15111858:16737,15111859:16738,15111860:16739,15111871:16740,15112066:16741,15112072:16742,15112073:16743,15112078:16744,15112080:16745,15112084:16746,15112086:16747,15112088:16748,15112095:16749,15112112:16750,15112114:16751,15112116:16752,15112117:16753,15112121:16754,15112126:16755,15112127:16756,15112320:16757,15112324:16758,15112328:16759,15112329:16760,15112333:16761,15112337:16762,15112338:16763,15112341:16764,15112342:16765,15112349:16766,15112350:16929,15112353:16930,15112354:16931,15112355:16932,15112356:16933,15112358:16934,15112361:16935,15112362:16936,15112363:16937,15112364:16938,15112366:16939,15112368:16940,15112369:16941,15112371:16942,15112377:16943,15112375:16944,15112576:16945,15112581:16946,15112582:16947,15112586:16948,15112588:16949,15112593:16950,15112590:16951,15112599:16952,15112600:16953,15112601:16954,15112603:16955,15112604:16956,15112608:16957,15112609:16958,15113147:16959,15112618:16960,15112619:16961,15112620:16962,15112638:16963,15112627:16964,15112629:16965,15112639:16966,15112631:16967,15112632:16968,15112633:16969,15112635:16970,15112832:16971,15112636:16972,15112843:16973,15112844:16974,15112845:16975,15112848:16976,15112850:16977,15112857:16978,15112858:16979,15112859:16980,15112860:16981,15112863:16982,15112864:16983,15112868:16984,15112877:16985,15112881:16986,15112882:16987,15112885:16988,15112891:16989,15112895:16990,15113088:16991,15113090:16992,15113091:16993,15113096:16994,15113100:16995,15113102:16996,15113103:16997,15113108:16998,15113115:16999,15113119:17e3,15113128:17001,15113131:17002,15113132:17003,15113134:17004,15113146:17005,15113349:17006,15113351:17007,15113358:17008,15113363:17009,15113369:17010,15113372:17011,15113376:17012,15113378:17013,15113395:17014,15113406:17015,15113605:17016,15113607:17017,15113608:17018,15113612:17019,15113620:17020,15113621:17021,15113629:17022,15113638:17185,15113644:17186,15113646:17187,15113652:17188,15113654:17189,15113659:17190,15113857:17191,15113860:17192,15113870:17193,15113871:17194,15113873:17195,15113875:17196,15113878:17197,15113880:17198,15113881:17199,15113883:17200,15113904:17201,15113905:17202,15113906:17203,15113909:17204,15113915:17205,15113916:17206,15113917:17207,15114169:17208,15114112:17209,15114114:17210,15114115:17211,15114117:17212,15114120:17213,15114121:17214,15114130:17215,15114135:17216,15114137:17217,15114140:17218,15114145:17219,15114150:17220,15114160:17221,15114162:17222,15114166:17223,15114167:17224,15114642:17225,15114388:17226,15114393:17227,15114397:17228,15114399:17229,15114408:17230,15114407:17231,15114412:17232,15114413:17233,15114415:17234,15114416:17235,15114417:17236,15114419:17237,15114427:17238,15114431:17239,15114628:17240,15114629:17241,15114634:17242,15114636:17243,15114645:17244,15114647:17245,15114648:17246,15114651:17247,15114667:17248,15114670:17249,15114671:17250,15114672:17251,15114673:17252,15114674:17253,15114677:17254,15114681:17255,15114682:17256,15114683:17257,15114684:17258,15114882:17259,15114884:17260,15114886:17261,15114888:17262,15114902:17263,15114904:17264,15114906:17265,15114908:17266,15114913:17267,15114915:17268,15114917:17269,15114921:17270,15114922:17271,15114926:17272,15114930:17273,15114939:17274,15115141:17275,15115144:17276,15115148:17277,15115151:17278,15115152:17441,15115153:17442,15115155:17443,15115158:17444,15115161:17445,15115164:17446,15115165:17447,15115173:17448,15115176:17449,15115178:17450,15115179:17451,15115180:17452,15115181:17453,15115184:17454,15115185:17455,15115189:17456,15115190:17457,15115195:17458,15115196:17459,15115197:17460,15115398:17461,15115401:17462,15115402:17463,15115408:17464,15115409:17465,15115411:17466,15115414:17467,15115415:17468,15115441:17469,15115443:17470,15115445:17471,15115448:17472,15115451:17473,15115650:17474,15115653:17475,15115657:17476,15115662:17477,15115671:17478,15115675:17479,15115683:17480,15115684:17481,15115685:17482,15115686:17483,15115688:17484,15115689:17485,15115692:17486,15115696:17487,15115697:17488,15115698:17489,15115706:17490,15115707:17491,15115711:17492,15115904:17493,15115917:17494,15115922:17495,15115926:17496,15115928:17497,15115937:17498,15115941:17499,15115942:17500,15115944:17501,15115947:17502,15115949:17503,15115951:17504,15115959:17505,15115960:17506,15115962:17507,15115964:17508,15116165:17509,15116168:17510,15116177:17511,15116182:17512,15116183:17513,15116194:17514,15116197:17515,15116206:17516,15116207:17517,15116209:17518,15116211:17519,15116213:17520,15116222:17521,15116416:17522,15116417:17523,15116419:17524,15116431:17525,15116433:17526,15116437:17527,15116442:17528,15116445:17529,15116448:17530,15116452:17531,15116456:17532,15116464:17533,15116466:17534,15116468:17697,15116471:17698,15116475:17699,15116478:17700,15116479:17701,15116677:17702,15116678:17703,15116681:17704,15116682:17705,15116686:17706,15116688:17707,15116689:17708,15116690:17709,15116693:17710,15116694:17711,15116699:17712,15116708:17713,15116711:17714,15116714:17715,15116721:17716,15116723:17717,15116734:17718,15116929:17719,15116931:17720,15116934:17721,15116935:17722,15116937:17723,15116939:17724,15116945:17725,15116955:17726,15116957:17727,15116958:17728,15116959:17729,15116965:17730,15116971:17731,15116975:17732,15116976:17733,15116977:17734,15116980:17735,15116989:17736,15116990:17737,15116991:17738,15117190:17739,15117193:17740,15117192:17741,15117196:17742,15117200:17743,15117204:17744,15117205:17745,15117206:17746,15117212:17747,15117213:17748,15117220:17749,15117223:17750,15117228:17751,15117232:17752,15117233:17753,15117234:17754,15117244:17755,15117245:17756,15117442:17757,15117443:17758,15117446:17759,15117447:17760,15117449:17761,15117455:17762,15117456:17763,15117457:17764,15117463:17765,15117467:17766,15117470:17767,15117476:17768,15117480:17769,15117483:17770,15117484:17771,15117487:17772,15117493:17773,15117494:17774,15117499:17775,15117503:17776,15117702:17777,15117706:17778,15117709:17779,15117714:17780,15117718:17781,15117720:17782,15117725:17783,15117728:17784,15117735:17785,15117739:17786,15117742:17787,15117744:17788,15117749:17789,15117757:17790,15117758:17953,15117954:17954,15117957:17955,15117975:17956,15117979:17957,15117983:17958,15117984:17959,15117986:17960,15117987:17961,15117992:17962,15117993:17963,15117996:17964,15117997:17965,15117998:17966,15118e3:17967,15118008:17968,15118009:17969,15118013:17970,15118014:17971,15118211:17972,15118212:17973,15118217:17974,15118220:17975,15118230:17976,15118234:17977,15118241:17978,15118243:17979,15118246:17980,15118247:17981,15118254:17982,15118257:17983,15118263:17984,15118265:17985,15118271:17986,15118466:17987,15118468:17988,15118469:17989,15118473:17990,15118477:17991,15118478:17992,15118480:17993,15118482:17994,15118489:17995,15118495:17996,15118502:17997,15118503:17998,15118504:17999,15118508:18e3,15118510:18001,15118515:18002,15118517:18003,15118518:18004,15118522:18005,15118523:18006,15118527:18007,15118730:18008,15118731:18009,15118733:18010,15118735:18011,15118738:18012,15118740:18013,15118745:18014,15118747:18015,15118748:18016,15118763:18017,15118765:18018,15118767:18019,15118772:18020,15118774:18021,15118776:18022,15118777:18023,15118779:18024,15118981:18025,15118982:18026,15118983:18027,15118985:18028,15118996:18029,15118997:18030,15118999:18031,15119e3:18032,15119004:18033,15119007:18034,15119024:18035,15119026:18036,15119028:18037,15119234:18038,15119238:18039,15119245:18040,15119247:18041,15119248:18042,15119249:18043,15119250:18044,15119252:18045,15119254:18046,15119258:18209,15119260:18210,15119264:18211,15119271:18212,15119273:18213,15119275:18214,15119276:18215,15119278:18216,15119282:18217,15119284:18218,15119492:18219,15119495:18220,15119498:18221,15119502:18222,15119503:18223,15119505:18224,15119507:18225,15119514:18226,15119526:18227,15119527:18228,15119528:18229,15118759:18230,15119534:18231,15119535:18232,15119537:18233,15119545:18234,15119548:18235,15119551:18236,15119767:18237,15119774:18238,15119775:18239,15119777:18240,15119781:18241,15119783:18242,15119791:18243,15119792:18244,15119804:18245,15120002:18246,15120007:18247,15120017:18248,15120018:18249,15120020:18250,15120022:18251,15120023:18252,15120024:18253,15120042:18254,15120044:18255,15120052:18256,15120055:18257,15120057:18258,15120061:18259,15120063:18260,15120260:18261,15120264:18262,15120266:18263,15120270:18264,15120271:18265,15120278:18266,15120283:18267,15120285:18268,15120287:18269,15120288:18270,15120290:18271,15120293:18272,15120297:18273,15120303:18274,15120304:18275,15120308:18276,15120310:18277,15120316:18278,15120512:18279,15120516:18280,15120542:18281,15120546:18282,15120551:18283,15120562:18284,15120566:18285,15120569:18286,15120571:18287,15120572:18288,15120772:18289,15120773:18290,15120776:18291,15120777:18292,15120779:18293,15120783:18294,15120785:18295,15120786:18296,15120787:18297,15120788:18298,15120791:18299,15120796:18300,15120797:18301,15120798:18302,15120802:18465,15120803:18466,15120808:18467,15120819:18468,15120827:18469,15120829:18470,15121037:18471,15121043:18472,15121049:18473,15121056:18474,15121063:18475,15121069:18476,15121070:18477,15121073:18478,15121075:18479,15121083:18480,15121087:18481,15121280:18482,15121281:18483,15121283:18484,15121287:18485,15121288:18486,15121290:18487,15121293:18488,15121294:18489,15121295:18490,15121323:18491,15121325:18492,15121326:18493,15121337:18494,15121339:18495,15121341:18496,15121540:18497,15121544:18498,15121546:18499,15121548:18500,15121549:18501,15121558:18502,15121560:18503,15121562:18504,15121563:18505,15121574:18506,15121577:18507,15121578:18508,15121583:18509,15121584:18510,15121587:18511,15121590:18512,15121595:18513,15121596:18514,15121581:18515,15121807:18516,15121809:18517,15121810:18518,15121811:18519,15121815:18520,15121817:18521,15121818:18522,15121821:18523,15121822:18524,15121825:18525,15121826:18526,15121832:18527,15121836:18528,15121853:18529,15121854:18530,15122051:18531,15122055:18532,15122056:18533,15122059:18534,15122060:18535,15122061:18536,15122064:18537,15122066:18538,15122067:18539,15122068:18540,15122070:18541,15122074:18542,15122079:18543,15122080:18544,15122085:18545,15122086:18546,15122087:18547,15122088:18548,15122094:18549,15122095:18550,15122096:18551,15122101:18552,15122102:18553,15122108:18554,15122309:18555,15122311:18556,15122312:18557,15122314:18558,15122330:18721,15122334:18722,15122344:18723,15122345:18724,15122352:18725,15122357:18726,15122361:18727,15122364:18728,15122365:18729,15171712:18730,15171717:18731,15171718:18732,15171719:18733,15171725:18734,15171735:18735,15171744:18736,15171747:18737,15171759:18738,15171764:18739,15171767:18740,15171769:18741,15171772:18742,15171971:18743,15171972:18744,15171976:18745,15171977:18746,15171978:18747,15171979:18748,15171988:18749,15171989:18750,15171997:18751,15171998:18752,15171982:18753,15172004:18754,15172005:18755,15172012:18756,15172014:18757,15172021:18758,15172022:18759,15172030:18760,15172225:18761,15172229:18762,15172230:18763,15172244:18764,15172245:18765,15172246:18766,15172247:18767,15172248:18768,15172251:18769,15172260:18770,15172267:18771,15172272:18772,15172273:18773,15172276:18774,15172279:18775,15172490:18776,15172497:18777,15172499:18778,15172500:18779,15172501:18780,15172502:18781,15172504:18782,15172508:18783,15172516:18784,15172538:18785,15172739:18786,15172740:18787,15172741:18788,15172742:18789,15172743:18790,15172747:18791,15172748:18792,15172751:18793,15172766:18794,15172768:18795,15172779:18796,15172781:18797,15172783:18798,15172784:18799,15172785:18800,15172792:18801,15172993:18802,15172997:18803,15172998:18804,15172999:18805,15173002:18806,15173003:18807,15173008:18808,15173010:18809,15173015:18810,15173018:18811,15173020:18812,15173022:18813,15173024:18814,15173032:18977,15173049:18978,15173248:18979,15173253:18980,15173255:18981,15173260:18982,15173266:18983,15173274:18984,15173275:18985,15173280:18986,15173282:18987,15173295:18988,15173296:18989,15173298:18990,15173299:18991,15173306:18992,15173311:18993,15173504:18994,15173505:18995,15173508:18996,15173515:18997,15173516:18998,15173523:18999,15173526:19e3,15173529:19001,15173530:19002,15173532:19003,15173560:19004,15173566:19005,15173760:19006,15173767:19007,15173768:19008,15173769:19009,15173779:19010,15173783:19011,15173786:19012,15173789:19013,15173791:19014,15173796:19015,15173803:19016,15173807:19017,15173812:19018,15173816:19019,15173817:19020,15174017:19021,15174018:19022,15174019:19023,15174021:19024,15174030:19025,15174031:19026,15174032:19027,15174035:19028,15174037:19029,15174038:19030,15174042:19031,15174044:19032,15174046:19033,15174048:19034,15174051:19035,15174056:19036,15174059:19037,15174062:19038,15174063:19039,15174065:19040,15174071:19041,15174072:19042,15174075:19043,15174076:19044,15174079:19045,15174276:19046,15174281:19047,15174285:19048,15174286:19049,15174291:19050,15174299:19051,15174312:19052,15174317:19053,15174318:19054,15174321:19055,15174324:19056,15174334:19057,15174529:19058,15174535:19059,15174537:19060,15174540:19061,15174549:19062,15174550:19063,15174552:19064,15174559:19065,15174565:19066,15174579:19067,15174580:19068,15174586:19069,15174587:19070,15174590:19233,15174786:19234,15174788:19235,15174789:19236,15174791:19237,15174795:19238,15174797:19239,15174802:19240,15174803:19241,15174808:19242,15174809:19243,15174814:19244,15174818:19245,15174820:19246,15174823:19247,15174824:19248,15174828:19249,15174833:19250,15174834:19251,15174837:19252,15174842:19253,15174843:19254,15174845:19255,15175043:19256,15175053:19257,15175056:19258,15175058:19259,15175062:19260,15175064:19261,15175069:19262,15175070:19263,15175071:19264,15175072:19265,15175078:19266,15175079:19267,15175081:19268,15175083:19269,15175084:19270,15175086:19271,15175087:19272,15175089:19273,15175095:19274,15175097:19275,15175100:19276,15175296:19277,15175297:19278,15175299:19279,15175301:19280,15175302:19281,15175310:19282,15175312:19283,15175315:19284,15175317:19285,15175319:19286,15175320:19287,15175324:19288,15175326:19289,15175327:19290,15175328:19291,15175330:19292,15175333:19293,15175334:19294,15175338:19295,15175339:19296,15175341:19297,15175349:19298,15175351:19299,15175353:19300,15175356:19301,15175357:19302,15175359:19303,15175557:19304,15175558:19305,15175561:19306,15175563:19307,15175564:19308,15175567:19309,15175570:19310,15175571:19311,15175574:19312,15175577:19313,15175581:19314,15175585:19315,15175587:19316,15175590:19317,15175591:19318,15175593:19319,15175604:19320,15175605:19321,15175607:19322,15175609:19323,15175610:19324,15175611:19325,15175613:19326,15175615:19489,15175808:19490,15175809:19491,15175812:19492,15175815:19493,15175818:19494,15175825:19495,15175834:19496,15175835:19497,15175844:19498,15175846:19499,15175848:19500,15175849:19501,15175850:19502,15175851:19503,15175852:19504,15175853:19505,15175854:19506,15175855:19507,15175856:19508,15175857:19509,15175865:19510,15176064:19511,15176067:19512,15176068:19513,15176070:19514,15176071:19515,15176075:19516,15176077:19517,15176081:19518,15176082:19519,15176087:19520,15176093:19521,15176098:19522,15176102:19523,15176103:19524,15176104:19525,15176107:19526,15176109:19527,15176110:19528,15176113:19529,15176114:19530,15176320:19531,15176321:19532,15176325:19533,15176326:19534,15176327:19535,15176329:19536,15176335:19537,15176336:19538,15176337:19539,15176338:19540,15176344:19541,15176345:19542,15176346:19543,15176348:19544,15176351:19545,15176352:19546,15176353:19547,15176355:19548,15176358:19549,15176360:19550,15176361:19551,15176362:19552,15176363:19553,15176366:19554,15176367:19555,15176369:19556,15176370:19557,15176373:19558,15176377:19559,15176379:19560,15176383:19561,15176584:19562,15176585:19563,15176588:19564,15176592:19565,15176595:19566,15176600:19567,15176602:19568,15176603:19569,15176606:19570,15176607:19571,15176612:19572,15176616:19573,15176618:19574,15176619:19575,15176623:19576,15176628:19577,15176634:19578,15176635:19579,15176636:19580,15176639:19581,15176838:19582,15176850:19745,15176854:19746,15176855:19747,15176864:19748,15176865:19749,15176868:19750,15176871:19751,15176873:19752,15176874:19753,15176879:19754,15176886:19755,15176889:19756,15176893:19757,15176894:19758,15176895:19759,15177088:19760,15177091:19761,15177095:19762,15177096:19763,15177102:19764,15177104:19765,15177106:19766,15177111:19767,15177118:19768,15177119:19769,15177121:19770,15177135:19771,15177137:19772,15177145:19773,15177146:19774,15177147:19775,15177148:19776,15177149:19777,15177150:19778,15177345:19779,15177349:19780,15177360:19781,15177362:19782,15177363:19783,15177365:19784,15177369:19785,15177372:19786,15177378:19787,15177380:19788,15177396:19789,15177402:19790,15177407:19791,15177600:19792,15177601:19793,15177604:19794,15177606:19795,15177612:19796,15177614:19797,15177615:19798,15177623:19799,15177628:19800,15177631:19801,15177632:19802,15177633:19803,15177636:19804,15177639:19805,15177644:19806,15177646:19807,15177647:19808,15177649:19809,15177657:19810,15177856:19811,15177858:19812,15177859:19813,15177860:19814,15177863:19815,15177864:19816,15177866:19817,15177868:19818,15177871:19819,15177874:19820,15177875:19821,15177877:19822,15177878:19823,15177881:19824,15177883:19825,15177884:19826,15177885:19827,15177886:19828,15177891:19829,15177893:19830,15177894:19831,15177897:19832,15177901:19833,15177906:19834,15177907:19835,15177909:19836,15177912:19837,15177913:19838,15177914:20001,15177916:20002,15178122:20003,15178112:20004,15178113:20005,15178115:20006,15178116:20007,15178117:20008,15178121:20009,15178123:20010,15178133:20011,15178137:20012,15178143:20013,15178148:20014,15178149:20015,15178157:20016,15178158:20017,15178159:20018,15178161:20019,15178164:20020,15178369:20021,15178373:20022,15178380:20023,15178381:20024,15178389:20025,15178395:20026,15178396:20027,15178397:20028,15178399:20029,15178400:20030,15178402:20031,15178403:20032,15178404:20033,15178405:20034,15178406:20035,15178407:20036,15178408:20037,15178410:20038,15178413:20039,15178429:20040,15178625:20041,15178629:20042,15178633:20043,15178635:20044,15178636:20045,15178638:20046,15178644:20047,15178649:20048,15178656:20049,15178662:20050,15178664:20051,15178668:20052,15178672:20053,15178673:20054,15178678:20055,15178681:20056,15178684:20057,15178880:20058,15178886:20059,15178890:20060,15178894:20061,15178898:20062,15178900:20063,15178901:20064,15178903:20065,15178905:20066,15178906:20067,15178908:20068,15178914:20069,15178920:20070,15178925:20071,15178926:20072,15178927:20073,15178932:20074,15178933:20075,15178934:20076,15178937:20077,15178941:20078,15178942:20079,15179138:20080,15179141:20081,15179142:20082,15179146:20083,15179149:20084,15179150:20085,15179151:20086,15179154:20087,15179158:20088,15179159:20089,15179164:20090,15179166:20091,15179167:20092,15179168:20093,15179170:20094,15179172:20257,15179175:20258,15179178:20259,15179180:20260,15179184:20261,15179186:20262,15179187:20263,15179188:20264,15179194:20265,15179197:20266,15179392:20267,15179396:20268,15179404:20269,15179405:20270,15179412:20271,15179413:20272,15179414:20273,15179418:20274,15179423:20275,15179426:20276,15179431:20277,15179434:20278,15179438:20279,15179439:20280,15179441:20281,15179445:20282,15179454:20283,15179651:20284,15179657:20285,15179665:20286,15179666:20287,15179669:20288,15179673:20289,15179678:20290,15179679:20291,15179680:20292,15179684:20293,15179686:20294,15179690:20295,15179692:20296,15179696:20297,15179697:20298,15179700:20299,15179704:20300,15179707:20301,15179909:20302,15179910:20303,15179913:20304,15179917:20305,15179918:20306,15179921:20307,15179933:20308,15179937:20309,15179938:20310,15179939:20311,15179949:20312,15179950:20313,15179952:20314,15179957:20315,15179959:20316,15180163:20317,15180164:20318,15180167:20319,15180168:20320,15180172:20321,15180174:20322,15180178:20323,15180188:20324,15180190:20325,15180192:20326,15180193:20327,15180195:20328,15180196:20329,15180200:20330,15180202:20331,15180206:20332,15180218:20333,15180222:20334,15180426:20335,15180431:20336,15180436:20337,15180440:20338,15180449:20339,15180445:20340,15180446:20341,15180447:20342,15180452:20343,15180456:20344,15180460:20345,15180461:20346,15180464:20347,15180465:20348,15180466:20349,15180467:20350,15180475:20513,15180477:20514,15180479:20515,15180679:20516,15180680:20517,15180681:20518,15180684:20519,15180686:20520,15180690:20521,15180691:20522,15180693:20523,15180694:20524,15180708:20525,15180699:20526,15180703:20527,15180704:20528,15180705:20529,15180710:20530,15180714:20531,15180722:20532,15180723:20533,15180928:20534,15180726:20535,15180727:20536,15180730:20537,15180731:20538,15180735:20539,15180934:20540,15180940:20541,15180944:20542,15180954:20543,15180956:20544,15180958:20545,15180959:20546,15180960:20547,15180965:20548,15180967:20549,15180969:20550,15180973:20551,15180977:20552,15180980:20553,15180981:20554,15180987:20555,15180989:20556,15180991:20557,15181188:20558,15181189:20559,15181190:20560,15181194:20561,15181195:20562,15181199:20563,15181201:20564,15181204:20565,15181208:20566,15181211:20567,15181212:20568,15181223:20569,15181225:20570,15181227:20571,15181234:20572,15181241:20573,15181243:20574,15181244:20575,15181246:20576,15181451:20577,15181452:20578,15181457:20579,15181459:20580,15181460:20581,15181461:20582,15181462:20583,15181464:20584,15181467:20585,15181468:20586,15181473:20587,15181480:20588,15181481:20589,15181483:20590,15181487:20591,15181489:20592,15181492:20593,15181496:20594,15181499:20595,15181698:20596,15181700:20597,15181703:20598,15181704:20599,15181706:20600,15181711:20601,15181716:20602,15181718:20603,15181722:20604,15181725:20605,15181726:20606,15181728:20769,15181730:20770,15181733:20771,15181738:20772,15181739:20773,15181741:20774,15181745:20775,15181752:20776,15181756:20777,15181954:20778,15181955:20779,15181959:20780,15181961:20781,15181962:20782,15181964:20783,15181969:20784,15181973:20785,15181979:20786,15181982:20787,15181985:20788,15181991:20789,15181995:20790,15181997:20791,15181999:20792,15182e3:20793,15182004:20794,15182005:20795,15182008:20796,15182009:20797,15182010:20798,15182212:20799,15182213:20800,15182215:20801,15182216:20802,15182220:20803,15182229:20804,15182230:20805,15182233:20806,15182236:20807,15182237:20808,15182239:20809,15182240:20810,15182245:20811,15182247:20812,15182250:20813,15182253:20814,15182261:20815,15182264:20816,15182270:20817,15182464:20818,15182466:20819,15182469:20820,15182470:20821,15182474:20822,15182475:20823,15182480:20824,15182481:20825,15182484:20826,15182494:20827,15182496:20828,15182499:20829,15182508:20830,15182515:20831,15182517:20832,15182521:20833,15182523:20834,15182524:20835,15182726:20836,15182729:20837,15182732:20838,15182734:20839,15182737:20840,15182747:20841,15182760:20842,15182761:20843,15182763:20844,15182764:20845,15182769:20846,15182772:20847,15182779:20848,15182781:20849,15182782:20850,15182983:20851,15182996:20852,15183007:20853,15183011:20854,15183015:20855,15183017:20856,15183018:20857,15183019:20858,15183021:20859,15183022:20860,15183023:20861,15183024:20862,15183025:21025,15183028:21026,15183037:21027,15183039:21028,15183232:21029,15183233:21030,15183239:21031,15183246:21032,15183253:21033,15183264:21034,15183268:21035,15183270:21036,15183273:21037,15183274:21038,15183277:21039,15183279:21040,15183282:21041,15183283:21042,15183287:21043,15183492:21044,15183497:21045,15183502:21046,15183504:21047,15183505:21048,15183510:21049,15183515:21050,15183518:21051,15183520:21052,15183525:21053,15183532:21054,15183535:21055,15183536:21056,15183538:21057,15183541:21058,15183542:21059,15183546:21060,15183547:21061,15183548:21062,15183549:21063,15183746:21064,15183749:21065,15183752:21066,15183754:21067,15183764:21068,15183766:21069,15183767:21070,15183769:21071,15183770:21072,15183771:21073,15183784:21074,15183786:21075,15183794:21076,15183796:21077,15183797:21078,15183800:21079,15183801:21080,15183802:21081,15183804:21082,15183806:21083,15184001:21084,15184002:21085,15184003:21086,15184004:21087,15184006:21088,15184009:21089,15184011:21090,15184012:21091,15184014:21092,15184015:21093,15184025:21094,15184027:21095,15184032:21096,15184037:21097,15184038:21098,15184040:21099,15184044:21100,15184049:21101,15184051:21102,15184052:21103,15184054:21104,15184057:21105,15184058:21106,15184262:21107,15184266:21108,15184277:21109,15184273:21110,15184274:21111,15184275:21112,15184281:21113,15184282:21114,15184283:21115,15184284:21116,15184285:21117,15184286:21118,15184289:21281,15184291:21282,15184295:21283,15184297:21284,15184301:21285,15184302:21286,15184304:21287,15184306:21288,15184313:21289,15184316:21290,15184317:21291,15184518:21292,15184519:21293,15184527:21294,15184532:21295,15184542:21296,15184544:21297,15184550:21298,15184560:21299,15184566:21300,15184567:21301,15184570:21302,15184571:21303,15184572:21304,15184575:21305,15184772:21306,15184775:21307,15184776:21308,15184777:21309,15184781:21310,15184783:21311,15184787:21312,15184788:21313,15184789:21314,15184791:21315,15184793:21316,15184794:21317,15184797:21318,15184806:21319,15184809:21320,15184811:21321,15184821:21322,15185027:21323,15185031:21324,15185032:21325,15185033:21326,15185039:21327,15185041:21328,15185042:21329,15185043:21330,15185046:21331,15185053:21332,15185054:21333,15185059:21334,15185062:21335,15185066:21336,15185069:21337,15185073:21338,15185084:21339,15185085:21340,15185086:21341,15185280:21342,15185281:21343,15185287:21344,15185288:21345,15185293:21346,15185297:21347,15185299:21348,15185303:21349,15185305:21350,15185306:21351,15185308:21352,15185309:21353,15185317:21354,15185319:21355,15185322:21356,15185328:21357,15185336:21358,15185338:21359,15185339:21360,15185343:21361,15185537:21362,15185538:21363,15185539:21364,15185541:21365,15185542:21366,15185544:21367,15185547:21368,15185548:21369,15185549:21370,15185553:21371,15185558:21372,15185559:21373,15185565:21374,15185566:21537,15185574:21538,15185575:21539,15185578:21540,15185587:21541,15185590:21542,15185591:21543,15185593:21544,15185794:21545,15185795:21546,15185796:21547,15185797:21548,15185798:21549,15185804:21550,15185805:21551,15185806:21552,15185815:21553,15185817:21554,15186048:21555,15185826:21556,15185829:21557,15185830:21558,15185834:21559,15185835:21560,15185837:21561,15185841:21562,15185845:21563,15185846:21564,15185849:21565,15185850:21566,15186056:21567,15186064:21568,15186065:21569,15186069:21570,15186071:21571,15186076:21572,15186077:21573,15186080:21574,15186087:21575,15186088:21576,15186092:21577,15186093:21578,15186095:21579,15186099:21580,15186102:21581,15186111:21582,15186308:21583,15186309:21584,15186311:21585,15186318:21586,15186320:21587,15186322:21588,15186328:21589,15186335:21590,15186337:21591,15186338:21592,15186341:21593,15186347:21594,15186350:21595,15186351:21596,15186355:21597,15186360:21598,15186366:21599,15186561:21600,15186566:21601,15186567:21602,15186570:21603,15186573:21604,15186577:21605,15186581:21606,15186584:21607,15186586:21608,15186589:21609,15186590:21610,15187132:21611,15187131:21612,15187133:21613,15187134:21614,15187135:21615,15187331:21616,15187332:21617,15187335:21618,15187343:21619,15187346:21620,15187347:21621,15187355:21622,15187356:21623,15187357:21624,15187361:21625,15187363:21626,15187364:21627,15187365:21628,15187366:21629,15187373:21630,15187377:21793,15187389:21794,15187390:21795,15187391:21796,15187584:21797,15187595:21798,15187597:21799,15187599:21800,15187600:21801,15187601:21802,15187606:21803,15187607:21804,15187612:21805,15187617:21806,15187618:21807,15187622:21808,15187626:21809,15187629:21810,15187636:21811,15187644:21812,15187647:21813,15187840:21814,15187843:21815,15187848:21816,15187854:21817,15187855:21818,15187867:21819,15187871:21820,15187875:21821,15187877:21822,15187880:21823,15187884:21824,15187886:21825,15187887:21826,15187890:21827,15187898:21828,15187901:21829,15187902:21830,15187903:21831,15237255:21832,15237256:21833,15237258:21834,15237261:21835,15237262:21836,15237263:21837,15237265:21838,15237267:21839,15237268:21840,15237270:21841,15237277:21842,15237278:21843,15237279:21844,15237280:21845,15237284:21846,15237286:21847,15237292:21848,15237294:21849,15237296:21850,15237300:21851,15237301:21852,15237303:21853,15237305:21854,15237306:21855,15237308:21856,15237310:21857,15237504:21858,15237508:21859,15237536:21860,15237540:21861,15237542:21862,15237549:21863,15237553:21864,15237557:21865,15237761:21866,15237768:21867,15237774:21868,15237788:21869,15237790:21870,15237798:21871,15237799:21872,15237803:21873,15237816:21874,15237817:21875,15238024:21876,15238029:21877,15238031:21878,15238034:21879,15238036:21880,15238037:21881,15238039:21882,15238040:21883,15238048:21884,15238061:21885,15238062:21886,15238064:22049,15238066:22050,15238067:22051,15238070:22052,15238073:22053,15238074:22054,15238078:22055,15238275:22056,15238283:22057,15238294:22058,15238295:22059,15238296:22060,15238300:22061,15238302:22062,15238304:22063,15238308:22064,15238311:22065,15238316:22066,15238320:22067,15238325:22068,15238330:22069,15238332:22070,15238533:22071,15238535:22072,15238538:22073,15238540:22074,15238546:22075,15238551:22076,15238560:22077,15238561:22078,15238567:22079,15238568:22080,15238569:22081,15238573:22082,15238575:22083,15238583:22084,15238785:22085,15238800:22086,15238788:22087,15238789:22088,15238790:22089,15238795:22090,15238798:22091,15238806:22092,15238808:22093,15238811:22094,15238814:22095,15238818:22096,15238830:22097,15238834:22098,15238836:22099,15238843:22100,15239051:22101,15239043:22102,15239045:22103,15239050:22104,15239054:22105,15239055:22106,15239061:22107,15239063:22108,15239067:22109,15239069:22110,15239070:22111,15239073:22112,15239076:22113,15239083:22114,15239084:22115,15239088:22116,15239089:22117,15239090:22118,15239093:22119,15239094:22120,15239096:22121,15239097:22122,15239101:22123,15239103:22124,15239296:22125,15239299:22126,15239311:22127,15239315:22128,15239316:22129,15239321:22130,15239322:22131,15239325:22132,15239329:22133,15239330:22134,15239336:22135,15239346:22136,15239348:22137,15239354:22138,15239555:22139,15239556:22140,15239557:22141,15239558:22142,15239563:22305,15239566:22306,15239567:22307,15239569:22308,15239574:22309,15239580:22310,15239584:22311,15239587:22312,15239591:22313,15239597:22314,15239604:22315,15239611:22316,15239613:22317,15239615:22318,15239808:22319,15239809:22320,15239811:22321,15239812:22322,15239815:22323,15239817:22324,15239818:22325,15239822:22326,15239825:22327,15239828:22328,15239830:22329,15239832:22330,15239834:22331,15239835:22332,15239840:22333,15239841:22334,15239843:22335,15239844:22336,15239847:22337,15239848:22338,15239849:22339,15239850:22340,15239854:22341,15239856:22342,15239858:22343,15239860:22344,15239863:22345,15239866:22346,15239868:22347,15239870:22348,15239871:22349,15240070:22350,15240080:22351,15240085:22352,15240090:22353,15240096:22354,15240098:22355,15240100:22356,15240104:22357,15240106:22358,15240109:22359,15240111:22360,15240118:22361,15240119:22362,15240125:22363,15240126:22364,15240320:22365,15240321:22366,15240327:22367,15240328:22368,15240330:22369,15240331:22370,15240596:22371,15240347:22372,15240349:22373,15240350:22374,15240351:22375,15240353:22376,15240354:22377,15240364:22378,15240365:22379,15240366:22380,15240368:22381,15240371:22382,15240375:22383,15240378:22384,15240380:22385,15240381:22386,15240578:22387,15240579:22388,15240580:22389,15240583:22390,15240589:22391,15240590:22392,15240593:22393,15240597:22394,15240598:22395,15240599:22396,15240624:22397,15240632:22398,15240637:22561,15240639:22562,15240832:22563,15240834:22564,15240836:22565,15240838:22566,15240845:22567,15240850:22568,15240852:22569,15240853:22570,15240856:22571,15240857:22572,15240859:22573,15240860:22574,15240861:22575,15240870:22576,15240871:22577,15240873:22578,15240876:22579,15240894:22580,15240895:22581,15241088:22582,15241095:22583,15241097:22584,15241103:22585,15241104:22586,15241105:22587,15241108:22588,15241117:22589,15240595:22590,15241128:22591,15241130:22592,15241142:22593,15241144:22594,15241145:22595,15241148:22596,15241345:22597,15241350:22598,15241354:22599,15241359:22600,15241361:22601,15241365:22602,15241369:22603,15240877:22604,15241391:22605,15241401:22606,15241605:22607,15241607:22608,15241608:22609,15241610:22610,15241613:22611,15241615:22612,15241617:22613,15241618:22614,15241622:22615,15241624:22616,15241625:22617,15241626:22618,15241628:22619,15241632:22620,15241636:22621,15241637:22622,15241639:22623,15241642:22624,15241648:22625,15241651:22626,15241652:22627,15241654:22628,15241656:22629,15241660:22630,15241661:22631,15241857:22632,15241861:22633,15241874:22634,15241875:22635,15241877:22636,15241886:22637,15241894:22638,15241896:22639,15241897:22640,15241898:22641,15241903:22642,15241905:22643,15241908:22644,15241914:22645,15241917:22646,15241918:22647,15242112:22648,15242114:22649,15242119:22650,15242120:22651,15242124:22652,15242127:22653,15242131:22654,15242140:22817,15242151:22818,15242154:22819,15242159:22820,15242160:22821,15242161:22822,15242162:22823,15242167:22824,15242418:22825,15242170:22826,15242171:22827,15242173:22828,15242370:22829,15242371:22830,15242375:22831,15242380:22832,15242382:22833,15242384:22834,15242396:22835,15242398:22836,15242402:22837,15242403:22838,15242404:22839,15242405:22840,15242407:22841,15242410:22842,15242411:22843,15242415:22844,15242419:22845,15242420:22846,15242422:22847,15242431:22848,15242630:22849,15242639:22850,15242640:22851,15242641:22852,15242642:22853,15242643:22854,15242646:22855,15242649:22856,15242652:22857,15242653:22858,15242654:22859,15242655:22860,15242656:22861,15242657:22862,15242658:22863,15242660:22864,15242667:22865,15242671:22866,15242681:22867,15242682:22868,15242683:22869,15242685:22870,15242687:22871,15242881:22872,15242885:22873,15242886:22874,15242889:22875,15242891:22876,15242892:22877,15242895:22878,15242899:22879,15242904:22880,15242909:22881,15242911:22882,15242912:22883,15242914:22884,15242917:22885,15242919:22886,15242932:22887,15242934:22888,15242935:22889,15242936:22890,15242940:22891,15242941:22892,15242942:22893,15242943:22894,15243138:22895,15243143:22896,15243146:22897,15243147:22898,15243150:22899,15242925:22900,15243160:22901,15243162:22902,15243167:22903,15243168:22904,15243174:22905,15243176:22906,15243181:22907,15243187:22908,15243190:22909,15243196:22910,15243199:23073,15243392:23074,15243396:23075,15243397:23076,15243405:23077,15243406:23078,15243408:23079,15243409:23080,15243410:23081,15243416:23082,15243417:23083,15243419:23084,15243422:23085,15243425:23086,15243431:23087,15243433:23088,15243446:23089,15243448:23090,15243450:23091,15243452:23092,15243453:23093,15243648:23094,15243650:23095,15243654:23096,15243666:23097,15243667:23098,15243670:23099,15243671:23100,15243672:23101,15243673:23102,15243677:23103,15243680:23104,15243681:23105,15243682:23106,15243683:23107,15243684:23108,15243689:23109,15243692:23110,15243695:23111,15243701:23112,15243702:23113,15243703:23114,15243706:23115,15243917:23116,15243921:23117,15243926:23118,15243928:23119,15243930:23120,15243932:23121,15243937:23122,15243942:23123,15243943:23124,15243944:23125,15243949:23126,15243953:23127,15243955:23128,15243956:23129,15243957:23130,15243959:23131,15243960:23132,15243961:23133,15243967:23134,15244160:23135,15244161:23136,15244163:23137,15244165:23138,15244177:23139,15244178:23140,15244181:23141,15244183:23142,15244186:23143,15244188:23144,15244192:23145,15244195:23146,15244197:23147,15244199:23148,15243912:23149,15244218:23150,15244220:23151,15244221:23152,15244420:23153,15244421:23154,15244423:23155,15244427:23156,15244430:23157,15244431:23158,15244432:23159,15244435:23160,15244436:23161,15244441:23162,15244446:23163,15244447:23164,15244449:23165,15244451:23166,15244456:23329,15244462:23330,15244463:23331,15244465:23332,15244466:23333,15244473:23334,15244474:23335,15244476:23336,15244477:23337,15244478:23338,15244672:23339,15244675:23340,15244677:23341,15244685:23342,15244696:23343,15244701:23344,15244705:23345,15244708:23346,15244709:23347,15244719:23348,15244721:23349,15244722:23350,15244731:23351,15244931:23352,15244932:23353,15244933:23354,15244934:23355,15244935:23356,15244936:23357,15244937:23358,15244939:23359,15244940:23360,15244944:23361,15244947:23362,15244949:23363,15244951:23364,15244952:23365,15244953:23366,15244958:23367,15244960:23368,15244963:23369,15244967:23370,15244972:23371,15244973:23372,15244974:23373,15244977:23374,15244981:23375,15244990:23376,15244991:23377,15245185:23378,15245192:23379,15245193:23380,15245194:23381,15245198:23382,15245205:23383,15245206:23384,15245209:23385,15245210:23386,15245212:23387,15245215:23388,15245218:23389,15245219:23390,15245220:23391,15245226:23392,15245227:23393,15245229:23394,15245233:23395,15245235:23396,15245240:23397,15245242:23398,15245247:23399,15245441:23400,15245443:23401,15245446:23402,15245449:23403,15245450:23404,15245451:23405,15245456:23406,15245465:23407,15245458:23408,15245459:23409,15245460:23410,15245464:23411,15245466:23412,15245467:23413,15245468:23414,15245470:23415,15245471:23416,15245480:23417,15245485:23418,15245486:23419,15245488:23420,15245490:23421,15245493:23422,15245498:23585,15245500:23586,15245697:23587,15245699:23588,15245701:23589,15245704:23590,15245705:23591,15245706:23592,15245707:23593,15245710:23594,15245713:23595,15245717:23596,15245718:23597,15245720:23598,15245722:23599,15245724:23600,15245727:23601,15245728:23602,15245732:23603,15245737:23604,15245745:23605,15245753:23606,15245755:23607,15245952:23608,15245976:23609,15245978:23610,15245979:23611,15245980:23612,15245983:23613,15245984:23614,15245992:23615,15245994:23616,15246010:23617,15246013:23618,15246014:23619,15246208:23620,15246218:23621,15246219:23622,15246220:23623,15246221:23624,15246222:23625,15246225:23626,15246226:23627,15246227:23628,15246235:23629,15246238:23630,15246247:23631,15246255:23632,15246256:23633,15246257:23634,15246261:23635,15246263:23636,15246465:23637,15246470:23638,15246477:23639,15246478:23640,15246479:23641,15246485:23642,15246486:23643,15246488:23644,15246489:23645,15246490:23646,15246492:23647,15246496:23648,15246502:23649,15246503:23650,15246504:23651,15246512:23652,15246513:23653,15246514:23654,15246517:23655,15246521:23656,15246522:23657,15246526:23658,15246720:23659,15246722:23660,15246725:23661,15246726:23662,15246729:23663,15246735:23664,15246738:23665,15246743:23666,15246746:23667,15246747:23668,15246748:23669,15246753:23670,15246754:23671,15246755:23672,15246763:23673,15246766:23674,15246768:23675,15246771:23676,15246773:23677,15246778:23678,15246779:23841,15246780:23842,15246781:23843,15246985:23844,15246989:23845,15246992:23846,15246996:23847,15246997:23848,15247003:23849,15247004:23850,15247007:23851,15247008:23852,15247013:23853,15247024:23854,15247028:23855,15247029:23856,15247030:23857,15247031:23858,15247036:23859,15247252:23860,15247253:23861,15247254:23862,15247255:23863,15247256:23864,15247269:23865,15247273:23866,15247275:23867,15247277:23868,15247281:23869,15247283:23870,15247286:23871,15247289:23872,15247293:23873,15247295:23874,15247492:23875,15247493:23876,15247495:23877,15247503:23878,15247505:23879,15247506:23880,15247508:23881,15247509:23882,15247518:23883,15247520:23884,15247522:23885,15247524:23886,15247526:23887,15247531:23888,15247532:23889,15247535:23890,15247541:23891,15247543:23892,15247549:23893,15247550:23894,15247744:23895,15247747:23896,15247749:23897,15247751:23898,15247753:23899,15247757:23900,15247758:23901,15247763:23902,15247766:23903,15247767:23904,15247768:23905,15247772:23906,15247773:23907,15247777:23908,15247781:23909,15247783:23910,15247797:23911,15247798:23912,15247799:23913,15247801:23914,15247802:23915,15247803:23916,15247806:23917,15247807:23918,15248e3:23919,15248003:23920,15248006:23921,15248011:23922,15248015:23923,15248016:23924,15248018:23925,15248022:23926,15248023:23927,15248025:23928,15248031:23929,15248039:23930,15248041:23931,15248046:23932,15248047:23933,15248051:23934,15248054:24097,15248055:24098,15248059:24099,15248062:24100,15248259:24101,15248262:24102,15248264:24103,15248265:24104,15248266:24105,15248273:24106,15248275:24107,15248276:24108,15248277:24109,15248279:24110,15248285:24111,15248287:24112,15248300:24113,15248304:24114,15248308:24115,15248309:24116,15248310:24117,15248316:24118,15248319:24119,15248517:24120,15248518:24121,15248523:24122,15248529:24123,15248540:24124,15248542:24125,15248543:24126,15248522:24127,15248557:24128,15248560:24129,15248567:24130,15248572:24131,15248770:24132,15248771:24133,15248772:24134,15248773:24135,15248774:24136,15248776:24137,15248786:24138,15248787:24139,15248788:24140,15248793:24141,15248781:24142,15248798:24143,15248803:24144,15248813:24145,15248822:24146,15248824:24147,15248825:24148,15248828:24149,15248830:24150,15249025:24151,15249028:24152,15249029:24153,15249035:24154,15249037:24155,15249039:24156,15249044:24157,15249045:24158,15249052:24159,15249054:24160,15249055:24161,15249592:24162,15249593:24163,15249597:24164,15249598:24165,15249797:24166,15249799:24167,15249801:24168,15249803:24169,15249807:24170,15249809:24171,15249811:24172,15249812:24173,15249815:24174,15249816:24175,15249819:24176,15249821:24177,15249817:24178,15249827:24179,15249828:24180,15249830:24181,15249832:24182,15249833:24183,15249837:24184,15249843:24185,15249845:24186,15249846:24187,15249851:24188,15249854:24189,15250054:24190,15250055:24353,15250059:24354,15250064:24355,15250066:24356,15250067:24357,15250073:24358,15250075:24359,15250076:24360,15250084:24361,15250105:24362,15250106:24363,15250309:24364,15250310:24365,15250313:24366,15250315:24367,15250319:24368,15250326:24369,15250325:24370,15250329:24371,15250333:24372,15250337:24373,15250344:24374,15250348:24375,15250351:24376,15250352:24377,15250354:24378,15250357:24379,15250359:24380,15250360:24381,15250366:24382,15250367:24383,15250561:24384,15250563:24385,15250569:24386,15250578:24387,15250583:24388,15250587:24389,15250853:24390,15250857:24391,15250860:24392,15250862:24393,15250879:24394,15251074:24395,15251076:24396,15251080:24397,15251085:24398,15251088:24399,15251089:24400,15251093:24401,15251102:24402,15251103:24403,15251104:24404,15251110:24405,15251115:24406,15251116:24407,15251119:24408,15251122:24409,15251125:24410,15251127:24411,15251129:24412,15251131:24413,15251328:24414,15251333:24415,15251334:24416,15251335:24417,15251336:24418,15251338:24419,15251342:24420,15251345:24421,15251348:24422,15251349:24423,15251351:24424,15251353:24425,15251364:24426,15251365:24427,15251367:24428,15251372:24429,15251376:24430,15251132:24431,15251377:24432,15251378:24433,15251380:24434,15251389:24435,15251585:24436,15251588:24437,15251589:24438,15251590:24439,15251595:24440,15251601:24441,15251604:24442,15251606:24443,15251616:24444,15251617:24445,15251618:24446,15251619:24609,15251622:24610,15251623:24611,15251633:24612,15251635:24613,15251638:24614,15251639:24615,15251640:24616,15251641:24617,15251645:24618,15251840:24619,15251841:24620,15251851:24621,15251853:24622,15251854:24623,15251855:24624,15251860:24625,15251867:24626,15251868:24627,15251869:24628,15251870:24629,15251873:24630,15251874:24631,15251881:24632,15251884:24633,15251885:24634,15251887:24635,15251888:24636,15251889:24637,15251897:24638,15251898:24639,15251899:24640,15252098:24641,15252099:24642,15252105:24643,15252112:24644,15252114:24645,15252117:24646,15252122:24647,15252123:24648,15252125:24649,15252126:24650,15252130:24651,15252135:24652,15252137:24653,15252141:24654,15252142:24655,15252147:24656,15252149:24657,15252154:24658,15252155:24659,15252352:24660,15252353:24661,15252355:24662,15252356:24663,15252359:24664,15252367:24665,15252369:24666,15252372:24667,15252380:24668,15252392:24669,15252398:24670,15252400:24671,15252401:24672,15252407:24673,15252409:24674,15252410:24675,15252397:24676,15252608:24677,15252610:24678,15252615:24679,15252616:24680,15252623:24681,15252624:24682,15252630:24683,15252631:24684,15252632:24685,15252638:24686,15252640:24687,15252641:24688,15252643:24689,15252645:24690,15252647:24691,15252648:24692,15252652:24693,15252653:24694,15252654:24695,15252660:24696,15252661:24697,15252662:24698,15252663:24699,15252666:24700,15252864:24701,15252865:24702,15252867:24865,15252871:24866,15252879:24867,15252881:24868,15252882:24869,15252883:24870,15252884:24871,15252885:24872,15252888:24873,15252893:24874,15252894:24875,15252901:24876,15253149:24877,15253152:24878,15253153:24879,15253156:24880,15253157:24881,15253158:24882,15253173:24883,15253174:24884,15253176:24885,15253182:24886,15253376:24887,15253377:24888,15253382:24889,15253386:24890,15253387:24891,15253389:24892,15253392:24893,15253394:24894,15253395:24895,15253397:24896,15253408:24897,15253411:24898,15253412:24899,15253416:24900,15253422:24901,15253425:24902,15253429:24903,15253430:24904,15253435:24905,15253438:24906,15302786:24907,15302788:24908,15302792:24909,15302796:24910,15302808:24911,15302811:24912,15302824:24913,15302825:24914,15302831:24915,15302826:24916,15302828:24917,15302829:24918,15302835:24919,15302836:24920,15302839:24921,15302847:24922,15303043:24923,15303044:24924,15303052:24925,15303067:24926,15303069:24927,15303074:24928,15303078:24929,15303079:24930,15303084:24931,15303088:24932,15303092:24933,15303097:24934,15303301:24935,15303304:24936,15303307:24937,15303308:24938,15303310:24939,15303312:24940,15303317:24941,15303319:24942,15303320:24943,15303321:24944,15303323:24945,15303328:24946,15303329:24947,15303330:24948,15303333:24949,15303344:24950,15303346:24951,15303347:24952,15303348:24953,15303350:24954,15303357:24955,15303564:24956,15303358:24957,15303555:24958,15303556:25121,15303557:25122,15303559:25123,15303560:25124,15303573:25125,15303575:25126,15303576:25127,15303577:25128,15303580:25129,15303581:25130,15303583:25131,15303589:25132,15303570:25133,15303606:25134,15303595:25135,15303599:25136,15303600:25137,15303604:25138,15303614:25139,15303615:25140,15303808:25141,15303812:25142,15303813:25143,15303814:25144,15303816:25145,15303821:25146,15303824:25147,15303828:25148,15303830:25149,15303831:25150,15303832:25151,15303834:25152,15303836:25153,15303838:25154,15303840:25155,15303845:25156,15303842:25157,15303843:25158,15303847:25159,15303849:25160,15303854:25161,15303855:25162,15303857:25163,15303860:25164,15303862:25165,15303863:25166,15303865:25167,15303866:25168,15303868:25169,15303869:25170,15304067:25171,15304071:25172,15304072:25173,15304079:25174,15304083:25175,15304087:25176,15304089:25177,15304090:25178,15304091:25179,15304097:25180,15304100:25181,15304103:25182,15304109:25183,15304116:25184,15304121:25185,15304122:25186,15304123:25187,15304321:25188,15304323:25189,15304325:25190,15304326:25191,15304330:25192,15304334:25193,15304337:25194,15304339:25195,15304340:25196,15304341:25197,15304344:25198,15304350:25199,15304353:25200,15304358:25201,15304360:25202,15304364:25203,15304365:25204,15304366:25205,15304368:25206,15304369:25207,15304370:25208,15304371:25209,15304374:25210,15304379:25211,15304380:25212,15304381:25213,15304383:25214,15304578:25377,15304579:25378,15304581:25379,15304595:25380,15304596:25381,15304599:25382,15304601:25383,15304602:25384,15304606:25385,15304612:25386,15304613:25387,15304617:25388,15304618:25389,15304620:25390,15304621:25391,15304622:25392,15304623:25393,15304624:25394,15304625:25395,15304631:25396,15304633:25397,15304635:25398,15304637:25399,15304832:25400,15304833:25401,15304836:25402,15304837:25403,15304838:25404,15304839:25405,15304841:25406,15304842:25407,15304844:25408,15304848:25409,15304850:25410,15304851:25411,15304854:25412,15304856:25413,15304860:25414,15304861:25415,15304867:25416,15304868:25417,15304869:25418,15304870:25419,15304872:25420,15304878:25421,15304879:25422,15304880:25423,15304883:25424,15304885:25425,15304886:25426,15304888:25427,15304889:25428,15304890:25429,15304892:25430,15304894:25431,15305088:25432,15305090:25433,15305091:25434,15305094:25435,15305095:25436,15305098:25437,15305101:25438,15305102:25439,15305103:25440,15305105:25441,15305112:25442,15305113:25443,15305116:25444,15305117:25445,15305120:25446,15305121:25447,15305125:25448,15305127:25449,15305128:25450,15305129:25451,15305134:25452,15305135:25453,15305136:25454,15305141:25455,15305142:25456,15305143:25457,15305144:25458,15305145:25459,15305147:25460,15305148:25461,15305149:25462,15305151:25463,15305352:25464,15305353:25465,15305354:25466,15305357:25467,15305358:25468,15305362:25469,15305367:25470,15305369:25633,15305375:25634,15305376:25635,15305380:25636,15305381:25637,15305383:25638,15305384:25639,15305387:25640,15305391:25641,15305394:25642,15305398:25643,15305400:25644,15305402:25645,15305403:25646,15305404:25647,15305405:25648,15305407:25649,15305600:25650,15305601:25651,15305602:25652,15305603:25653,15305605:25654,15305606:25655,15305607:25656,15305608:25657,15305611:25658,15305612:25659,15305613:25660,15305614:25661,15305616:25662,15305619:25663,15305621:25664,15305623:25665,15305624:25666,15305625:25667,15305628:25668,15305629:25669,15305631:25670,15305632:25671,15305633:25672,15305635:25673,15305637:25674,15305639:25675,15305640:25676,15305644:25677,15305646:25678,15305648:25679,15305657:25680,15305659:25681,15305663:25682,15305856:25683,15305858:25684,15305864:25685,15305869:25686,15305873:25687,15305876:25688,15305877:25689,15305884:25690,15305885:25691,15305886:25692,15305887:25693,15305889:25694,15305892:25695,15305893:25696,15305895:25697,15305897:25698,15305898:25699,15305907:25700,15305908:25701,15305910:25702,15305911:25703,15306119:25704,15306120:25705,15306121:25706,15306128:25707,15306129:25708,15306130:25709,15306133:25710,15306135:25711,15306136:25712,15306138:25713,15306142:25714,15306148:25715,15306149:25716,15306151:25717,15306153:25718,15306154:25719,15306157:25720,15306159:25721,15306160:25722,15306161:25723,15306163:25724,15306164:25725,15306166:25726,15306170:25889,15306173:25890,15306175:25891,15306368:25892,15306369:25893,15306370:25894,15306376:25895,15306378:25896,15306379:25897,15306381:25898,15306383:25899,15306386:25900,15306389:25901,15306392:25902,15306395:25903,15306398:25904,15306401:25905,15306403:25906,15306404:25907,15306406:25908,15306408:25909,15306411:25910,15306420:25911,15306421:25912,15306422:25913,15306426:25914,15306409:25915,15306625:25916,15306628:25917,15306629:25918,15306630:25919,15306631:25920,15306633:25921,15306634:25922,15306635:25923,15306636:25924,15306637:25925,15306643:25926,15306649:25927,15306652:25928,15306654:25929,15306655:25930,15306658:25931,15306662:25932,15306663:25933,15306681:25934,15306679:25935,15306680:25936,15306682:25937,15306683:25938,15306685:25939,15306881:25940,15306882:25941,15306884:25942,15306888:25943,15306889:25944,15306893:25945,15306894:25946,15306895:25947,15306901:25948,15306902:25949,15306903:25950,15306911:25951,15306926:25952,15306927:25953,15306929:25954,15306930:25955,15306931:25956,15306932:25957,15306939:25958,15306943:25959,15306941:25960,15307139:25961,15307141:25962,15307144:25963,15307146:25964,15307148:25965,15307157:25966,15307161:25967,15307164:25968,15307167:25969,15307169:25970,15307171:25971,15307176:25972,15307179:25973,15307181:25974,15307182:25975,15307183:25976,15307185:25977,15307186:25978,15307396:25979,15307395:25980,15308216:25981,15308217:25982,15308222:26145,15308420:26146,15308424:26147,15308428:26148,15308429:26149,15308430:26150,15308445:26151,15308446:26152,15308447:26153,15308449:26154,15308454:26155,15308457:26156,15308459:26157,15308460:26158,15308468:26159,15308470:26160,15308474:26161,15308477:26162,15308479:26163,15308678:26164,15308680:26165,15308681:26166,15308683:26167,15308688:26168,15308689:26169,15308690:26170,15308691:26171,15308697:26172,15308698:26173,15308701:26174,15308702:26175,15308703:26176,15308704:26177,15308708:26178,15308710:26179,15308957:26180,15308958:26181,15308962:26182,15308964:26183,15308965:26184,15308966:26185,15308972:26186,15308977:26187,15308979:26188,15308983:26189,15308984:26190,15308985:26191,15308986:26192,15308988:26193,15308989:26194,15309185:26195,15309202:26196,15309204:26197,15309206:26198,15309207:26199,15309208:26200,15309217:26201,15309230:26202,15309236:26203,15309243:26204,15309244:26205,15309246:26206,15309247:26207,15309441:26208,15309442:26209,15309443:26210,15309444:26211,15309449:26212,15309457:26213,15309462:26214,15309466:26215,15309469:26216,15309471:26217,15309476:26218,15309477:26219,15309478:26220,15309481:26221,15309486:26222,15309487:26223,15309491:26224,15309498:26225,15309706:26226,15309714:26227,15054514:26228,15309720:26229,15309722:26230,15309725:26231,15309726:26232,15309727:26233,15309737:26234,15309743:26235,15309745:26236,15309754:26237,15309954:26238,15309955:26401,15309957:26402,15309961:26403,15309978:26404,15309979:26405,15309981:26406,15309985:26407,15309986:26408,15309987:26409,15309992:26410,15310001:26411,15310003:26412,15310209:26413,15310211:26414,15310218:26415,15310222:26416,15310223:26417,15310229:26418,15310231:26419,15310232:26420,15310234:26421,15310235:26422,15310243:26423,15310247:26424,15310250:26425,15310254:26426,15310259:26427,15310262:26428,15310263:26429,15310264:26430,15310267:26431,15310269:26432,15310271:26433,15310464:26434,15310473:26435,15310485:26436,15310486:26437,15310487:26438,15310489:26439,15310490:26440,15310494:26441,15310495:26442,15310498:26443,15310508:26444,15310510:26445,15310513:26446,15310514:26447,15310517:26448,15310518:26449,15310520:26450,15310521:26451,15310522:26452,15310524:26453,15310526:26454,15310527:26455,15310721:26456,15310724:26457,15310725:26458,15310727:26459,15310729:26460,15310730:26461,15310732:26462,15310733:26463,15310734:26464,15310736:26465,15310737:26466,15310740:26467,15310743:26468,15310744:26469,15310745:26470,15310749:26471,15310750:26472,15310752:26473,15310747:26474,15310753:26475,15310756:26476,15310767:26477,15310769:26478,15310772:26479,15310775:26480,15310776:26481,15310778:26482,15310983:26483,15310986:26484,15311001:26485,15310989:26486,15310990:26487,15310996:26488,15310998:26489,15311004:26490,15311006:26491,15311008:26492,15311011:26493,15311014:26494,15311019:26657,15311022:26658,15311023:26659,15311024:26660,15311026:26661,15311027:26662,15311029:26663,15311013:26664,15311038:26665,15311236:26666,15311239:26667,15311242:26668,15311249:26669,15311250:26670,15311251:26671,15311254:26672,15311255:26673,15311257:26674,15311258:26675,15311266:26676,15311267:26677,15311269:26678,15311270:26679,15311274:26680,15311276:26681,15311531:26682,15311533:26683,15311534:26684,15311536:26685,15311540:26686,15311543:26687,15311544:26688,15311546:26689,15311547:26690,15311551:26691,15311746:26692,15311749:26693,15311752:26694,15311756:26695,15311777:26696,15311779:26697,15311781:26698,15311782:26699,15311783:26700,15311786:26701,15311795:26702,15311798:26703,15312002:26704,15312007:26705,15312008:26706,15312017:26707,15312021:26708,15312022:26709,15312023:26710,15312026:26711,15312027:26712,15312028:26713,15312031:26714,15312034:26715,15312038:26716,15312039:26717,15312043:26718,15312049:26719,15312050:26720,15312051:26721,15312052:26722,15312053:26723,15312057:26724,15312058:26725,15312059:26726,15312060:26727,15312256:26728,15312257:26729,15312262:26730,15312263:26731,15312264:26732,15312269:26733,15312270:26734,15312276:26735,15312280:26736,15312281:26737,15312283:26738,15312284:26739,15312286:26740,15312287:26741,15312288:26742,15312539:26743,15312541:26744,15312543:26745,15312550:26746,15312560:26747,15312561:26748,15312562:26749,15312565:26750,15312569:26913,15312570:26914,15312573:26915,15312575:26916,15312771:26917,15312777:26918,15312787:26919,15312788:26920,15312793:26921,15312794:26922,15312796:26923,15312798:26924,15312807:26925,15312810:26926,15312811:26927,15312812:26928,15312816:26929,15312820:26930,15312821:26931,15312825:26932,15312829:26933,15312830:26934,15313026:26935,15313027:26936,15313028:26937,15313035:26938,15313036:26939,15313040:26940,15313041:26941,15313046:26942,15313054:26943,15313056:26944,15313058:26945,15313059:26946,15313060:26947,15313063:26948,15313069:26949,15313070:26950,15313075:26951,15313077:26952,15313078:26953,15313080:26954,15313287:26955,15313281:26956,15313284:26957,15313290:26958,15313291:26959,15313292:26960,15313294:26961,15313297:26962,15313300:26963,15313302:26964,15313309:26965,15313578:26966,15313580:26967,15313582:26968,15313583:26969,15313586:26970,15313588:26971,15313589:26972,15313590:26973,15313593:26974,15313595:26975,15313598:26976,15313599:26977,15313793:26978,15313795:26979,15313798:26980,15313800:26981,15313806:26982,15313808:26983,15313810:26984,15313813:26985,15313814:26986,15313815:26987,15313819:26988,15313820:26989,15313824:26990,15313828:26991,15313829:26992,15313831:26993,15313833:26994,15313836:26995,15313842:26996,15313843:26997,15313845:26998,15313849:26999,15313850:27e3,15313853:27001,15313855:27002,15314048:27003,15314049:27004,15314050:27005,15314051:27006,15314052:27169,15314053:27170,15314056:27171,15314057:27172,15314059:27173,15314060:27174,15314061:27175,15314062:27176,15314064:27177,15314066:27178,15314070:27179,15314073:27180,15314075:27181,15314076:27182,15314080:27183,15314086:27184,15314091:27185,15314093:27186,15314099:27187,15314100:27188,15314101:27189,15314103:27190,15314105:27191,15314106:27192,15314109:27193,15314312:27194,15314315:27195,15314316:27196,15314325:27197,15314326:27198,15314327:27199,15314331:27200,15314334:27201,15314337:27202,15314339:27203,15314341:27204,15314342:27205,15314344:27206,15314346:27207,15314347:27208,15314348:27209,15314349:27210,15314350:27211,15314355:27212,15314357:27213,15314359:27214,15314360:27215,15314361:27216,15314367:27217,15314560:27218,15314564:27219,15314565:27220,15314566:27221,15314567:27222,15314569:27223,15314570:27224,15314571:27225,15314573:27226,15314575:27227,15314576:27228,15314580:27229,15314586:27230,15314589:27231,15314590:27232,15314598:27233,15314599:27234,15314601:27235,15314604:27236,15314608:27237,15314609:27238,15314610:27239,15314615:27240,15314616:27241,15314619:27242,15314620:27243,15314622:27244,15314623:27245,15314817:27246,15314823:27247,15314824:27248,15314830:27249,15314832:27250,15314839:27251,15314840:27252,15314845:27253,15314847:27254,15314853:27255,15314855:27256,15314858:27257,15314859:27258,15314863:27259,15314867:27260,15314871:27261,15314872:27262,15314873:27425,15314874:27426,15314877:27427,15314879:27428,15315072:27429,15315074:27430,15315083:27431,15315087:27432,15315089:27433,15315094:27434,15315096:27435,15315097:27436,15315098:27437,15315100:27438,15315102:27439,15315106:27440,15315107:27441,15315110:27442,15315111:27443,15315112:27444,15315113:27445,15315114:27446,15315121:27447,15315125:27448,15315126:27449,15315127:27450,15315133:27451,15315329:27452,15315331:27453,15315332:27454,15315333:27455,15315337:27456,15315338:27457,15315342:27458,15315343:27459,15315344:27460,15315347:27461,15315348:27462,15315350:27463,15315352:27464,15315355:27465,15315357:27466,15315358:27467,15315359:27468,15315363:27469,15315369:27470,15315370:27471,15315356:27472,15315371:27473,15315368:27474,15315374:27475,15315376:27476,15315378:27477,15315381:27478,15315383:27479,15315387:27480,15315878:27481,15315890:27482,15315895:27483,15315897:27484,15316107:27485,15316098:27486,15316113:27487,15316119:27488,15316120:27489,15316124:27490,15316125:27491,15316126:27492,15316143:27493,15316144:27494,15316146:27495,15316147:27496,15316148:27497,15316154:27498,15316156:27499,15316357:27500,15316157:27501,15316354:27502,15316355:27503,15316359:27504,15316362:27505,15316371:27506,15316372:27507,15316383:27508,15316387:27509,15316386:27510,15316389:27511,15316393:27512,15316394:27513,15316395:27514,15316400:27515,15316406:27516,15316407:27517,15316411:27518,15316412:27681,15316414:27682,15316611:27683,15316612:27684,15316614:27685,15316618:27686,15316621:27687,15316622:27688,15316626:27689,15316627:27690,15316629:27691,15316630:27692,15316631:27693,15316632:27694,15316641:27695,15316650:27696,15316652:27697,15316654:27698,15316657:27699,15316661:27700,15316665:27701,15316668:27702,15316671:27703,15316867:27704,15316871:27705,15316873:27706,15316874:27707,15316884:27708,15316885:27709,15316886:27710,15316887:27711,15316890:27712,15316894:27713,15316895:27714,15316896:27715,15316901:27716,15316903:27717,15316905:27718,15316907:27719,15316910:27720,15316912:27721,15316915:27722,15316916:27723,15316926:27724,15317130:27725,15317122:27726,15317127:27727,15317134:27728,15317136:27729,15317137:27730,15317138:27731,15317141:27732,15317142:27733,15317145:27734,15317148:27735,15317149:27736,15317434:27737,15317435:27738,15317436:27739,15317632:27740,15317634:27741,15317635:27742,15317636:27743,15317637:27744,15317639:27745,15317646:27746,15317647:27747,15317654:27748,15317656:27749,15317659:27750,15317662:27751,15317668:27752,15317672:27753,15317676:27754,15317678:27755,15317679:27756,15317680:27757,15317683:27758,15317684:27759,15317685:27760,15317894:27761,15317896:27762,15317899:27763,15317909:27764,15317919:27765,15317924:27766,15317927:27767,15317932:27768,15317933:27769,15317934:27770,15317936:27771,15317937:27772,15317938:27773,15317941:27774,15317944:27937,15317951:27938,15318146:27939,15318147:27940,15318153:27941,15318159:27942,15318160:27943,15318161:27944,15318162:27945,15318164:27946,15318166:27947,15318167:27948,15318169:27949,15318170:27950,15318171:27951,15318175:27952,15318178:27953,15318182:27954,15318186:27955,15318187:27956,15318191:27957,15318193:27958,15318194:27959,15318196:27960,15318199:27961,15318201:27962,15318202:27963,15318204:27964,15318205:27965,15318207:27966,15318401:27967,15318403:27968,15318404:27969,15318405:27970,15318406:27971,15318407:27972,15318419:27973,15318421:27974,15318422:27975,15318423:27976,15318424:27977,15318426:27978,15318429:27979,15318430:27980,15318440:27981,15318441:27982,15318445:27983,15318446:27984,15318447:27985,15318448:27986,15318449:27987,15318451:27988,15318453:27989,15318458:27990,15318461:27991,15318671:27992,15318672:27993,15318673:27994,15318674:27995,15318676:27996,15318678:27997,15318679:27998,15318686:27999,15318689:28e3,15318690:28001,15318691:28002,15318693:28003
74,14909596:8513}}
74,4202:(e,t,n)=>{var r=n(5636),i=String.fromCharCode,s=Array.prototype.slice,o=Object.prototype.toString,a=Object.prototype.hasOwnProperty,l=Array.isArray,c=Object.keys;function u(e){return l?l(e):"[object Array]"===o.call(e)}function h(e){if(c)return c(e);var t=[];for(var n in e)a.call(e,n)&&(t[t.length]=n);return t}function d(e,t){if(r.HAS_TYPED)switch(e){case 8:return new Uint8Array(t);case 16:return new Uint16Array(t)}return new Array(t)}function f(e){if(r.CAN_CHARCODE_APPLY&&r.CAN_CHARCODE_APPLY_TYPED){var t=e&&e.length;if(t<r.APPLY_BUFFER_SIZE&&r.APPLY_BUFFER_SIZE_OK)return i.apply(null,e);if(null===r.APPLY_BUFFER_SIZE_OK)try{var n=i.apply(null,e);return t>r.APPLY_BUFFER_SIZE&&(r.APPLY_BUFFER_SIZE_OK=!0),n}catch(s){r.APPLY_BUFFER_SIZE_OK=!1}}return p(e)}function p(e){for(var t,n="",s=e&&e.length,o=0;o<s;){if(t=e.subarray?e.subarray(o,o+r.APPLY_BUFFER_SIZE):e.slice(o,o+r.APPLY_BUFFER_SIZE),o+=r.APPLY_BUFFER_SIZE,!r.APPLY_BUFFER_SIZE_OK){if(null===r.APPLY_BUFFER_SIZE_OK)try{n+=i.apply(null,t),t.length>r.APPLY_BUFFER_SIZE&&(r.APPLY_BUFFER_SIZE_OK=!0);continue}catch(a){r.APPLY_BUFFER_SIZE_OK=!1}return m(e)}n+=i.apply(null,t)}return n}function m(e){for(var t="",n=e&&e.length,r=0;r<n;r++)t+=i(e[r]);return t}t.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},t.isArray=u,t.isString=function(e){return"string"==typeof e||"[object String]"===o.call(e)},t.objectKeys=h,t.createBuffer=d,t.stringToBuffer=function(e){for(var t=e.length,n=d(16,t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},t.codeToString_fast=f,t.codeToString_chunked=p,t.codeToString_slow=m,t.stringToCode=function(e){for(var t=[],n=e&&e.length,r=0;r<n;r++)t[r]=e.charCodeAt(r);return t},t.codeToBuffer=function(e){if(r.HAS_TYPED)return new Uint16Array(e);if(u(e))return e;for(var t=e&&e.length,n=[],i=0;i<t;i++)n[i]=e[i];return n},t.bufferToCode=function(e){return u(e)?e:s.call(e)},t.canonicalizeEncodingName=function(e){for(var t,n,i,s="",o=(""+e).toUpperCase().replace(/[^A-Z0-9]+/g,""),l=h(r.EncodingAliases),c=l.length,u=0,d=0;d<c;d++){if((t=l[d])===o){s=t;break}for(n=t.length,i=u;i<n;i++)t.slice(0,i)!==o.slice(0,i)&&t.slice(-i)!==o.slice(-i)||(s=t,u=i)}return a.call(r.EncodingAliases,s)?r.EncodingAliases[s]:s};var g=[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57,43,47],_=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],v="=".charCodeAt(0);t.base64encode=function(e){var t,n,r,i,s,o;for(r=e&&e.length,n=0,t=[];n<r;){if(i=e[n++],n==r){t[t.length]=g[i>>2],t[t.length]=g[(3&i)<<4],t[t.length]=v,t[t.length]=v;break}if(s=e[n++],n==r){t[t.length]=g[i>>2],t[t.length]=g[(3&i)<<4|(240&s)>>4],t[t.length]=g[(15&s)<<2],t[t.length]=v;break}o=e[n++],t[t.length]=g[i>>2],t[t.length]=g[(3&i)<<4|(240&s)>>4],t[t.length]=g[(15&s)<<2|(192&o)>>6],t[t.length]=g[63&o]}return f(t)},t.base64decode=function(e){var t,n,r,i,s,o,a;for(o=e&&e.length,s=0,a=[];s<o;){do{t=_[255&e.charCodeAt(s++)]}while(s<o&&-1==t);if(-1==t)break;do{n=_[255&e.charCodeAt(s++)]}while(s<o&&-1==n);if(-1==n)break;a[a.length]=t<<2|(48&n)>>4;do{if(61==(r=255&e.charCodeAt(s++)))return a;r=_[r]}while(s<o&&-1==r);if(-1==r)break;a[a.length]=(15&n)<<4|(60&r)>>2;do{if(61==(i=255&e.charCodeAt(s++)))return a;i=_[i]}while(s<o&&-1==i);if(-1==i)break;a[a.length]=(3&r)<<6|i}return a}},8792:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,s;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(s=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,s[i]))return!1;for(i=r;0!=i--;){var o=s[i];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}},5985:(e,t,n)=>{"use strict";var r=n(5521),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return r.isMemo(e)?o:a[e.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=f(n);i&&i!==p&&e(t,i,r)}var o=u(n);
74h&&(o=o.concat(h(n)));for(var a=l(t),m=l(n),g=0;g<o.length;++g){var _=o[g];if(!(s[_]||r&&r[_]||m&&m[_]||a&&a[_])){var v=d(n,_);try{c(t,_,v)}catch(y){}}}}return t}},6685:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,_=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case h:case s:case a:case o:case f:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case m:case l:return e;default:return t}}case i:return t}}}function E(e){return w(e)===h}t.AsyncMode=u,t.ConcurrentMode=h,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=s,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=f,t.isAsyncMode=function(e){return E(e)||w(e)===u},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===s},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===a},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===h||e===a||e===o||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_)},t.typeOf=w},5521:(e,t,n)=>{"use strict";e.exports=n(6685)},214:(e,t,n)=>{const r=n(6776),{mergeAttributesWithElements:i}=n(5964);e.exports=(e,t={})=>{const n=i(e);return r(n,t)}},6776:e=>{e.exports=(e,t={})=>{const n=t.char||" ",r=t.count||2;let i=0;const s=[];return e.reverse().reduce(((e,t)=>{s.length&&i&&s[i]&&s[i]===t.substring(1,s[i].length+1)&&(s.splice(i,1),i--);const o=[`${n.repeat(i?i*r:0)}${t}`,...e];return"</"===t.substring(0,2)&&(i++,s[i]=t.substring(2,t.length-1)),o}),[]).join("\n")}},5964:e=>{const t=e=>e.trim().replace(/(^(\s|\t)+|(( |\t)+)$)/gm,"");e.exports={mergeAttributesWithElements:e=>{const n=t(e).split("\n"),r=[];let i="";for(let t=0;t<n.length;t+=1){const e=n[t];e.endsWith("/>")?(r.push(`${i}${e.slice(0,-2)} />`),i=""):e.endsWith(">")?(r.push(`${i}${e.startsWith(">")||e.startsWith("<")?"":" "}${e}`),i=""):i+=i.length?` ${e}`:e}return r},removeEmptyLines:t}},9938:e=>{function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,i){var s=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");"function"==typeof r&&(i=r,r={}),r=r||{},i=i||function(){},o.type=r.type||"text/javascript",o.charset=r.charset||"utf8",o.async=!("async"in r)||!!r.async,o.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(o,r.attrs),r.text&&(o.text=""+r.text),("onload"in o?t:n)(o,i),o.onload||t(o,i),s.appendChild(o)}},8196:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(3171);e=n.hmd(e);var i="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=i&&e&&!e.nodeType&&e,o=s&&s.exports===i?r.A.Buffer:void 0,a=o?o.allocUnsafe:void 0;const l=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}},1230:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g},3579:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1230);e=n.hmd(e);var i="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=i&&e&&!e.nodeType&&e,o=s&&s.exports===i&&r.A.process;
74const a=function(){try{var e=s&&s.require&&s.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(t){}}()},3171:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1230),i="object"==typeof self&&self&&self.Object===Object&&self;const s=r.A||i||Function("return this")()},1958:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(3171);const i=function(){return!1};e=n.hmd(e);var s="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=s&&e&&!e.nodeType&&e,a=o&&o.exports===s?r.A.Buffer:void 0;const l=(a?a.isBuffer:void 0)||i},5250:function(e,t,n){var r;e=n.nmd(e),(function(){var i,s="Expected a function",o="__lodash_hash_undefined__",a="__lodash_placeholder__",l=16,c=32,u=64,h=128,d=256,f=1/0,p=9007199254740991,m=NaN,g=4294967295,_=[["ary",h],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",d]],v="[object Arguments]",y="[object Array]",b="[object Boolean]",w="[object Date]",E="[object Error]",S="[object Function]",T="[object GeneratorFunction]",C="[object Map]",x="[object Number]",A="[object Object]",I="[object Promise]",k="[object RegExp]",P="[object Set]",N="[object String]",R="[object Symbol]",O="[object WeakMap]",D="[object ArrayBuffer]",F="[object DataView]",L="[object Float32Array]",j="[object Float64Array]",M="[object Int8Array]",U="[object Int16Array]",V="[object Int32Array]",B="[object Uint8Array]",$="[object Uint8ClampedArray]",z="[object Uint16Array]",H="[object Uint32Array]",W=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,Q=/[&<>"']/g,X=RegExp(G.source),Y=RegExp(Q.source),J=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,se=RegExp(ie.source),oe=/^\s+/,ae=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,he=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,_e=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 6,064 bytes, line 74
747f]/g,Ee=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,Te="\\ud800-\\udfff",Ce="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Ae="a-z\\xdf-\\xf6\\xf8-\\xff",Ie="A-Z\\xc0-\\xd6\\xd8-\\xde",ke="\\ufe0e\\ufe0f",Pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ne="['\u2019]",Re="["+Te+"]",Oe="["+Pe+"]",De="["+Ce+"]",Fe="\\d+",Le="["+xe+"]",je="["+Ae+"]",Me="[^"+Te+Pe+Fe+xe+Ae+Ie+"]",Ue="\\ud83c[\\udffb-\\udfff]",Ve="[^"+Te+"]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Ie+"]",He="\\u200d",We="(?:"+je+"|"+Me+")",qe="(?:"+ze+"|"+Me+")",Ke="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ge="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Qe="(?:"+De+"|"+Ue+")"+"?",Xe="["+ke+"]?",Ye=Xe+Qe+("(?:"+He+"(?:"+[Ve,Be,$e].join("|")+")"+Xe+Qe+")*"),Je="(?:"+[Le,Be,$e].join("|")+")"+Ye,Ze="(?:"+[Ve+De+"?",De,Be,$e,Re].join("|")+")",et=RegExp(Ne,"g"),tt=RegExp(De,"g"),nt=RegExp(Ue+"(?="+Ue+")|"+Ze+Ye,"g"),rt=RegExp([ze+"?"+je+"+"+Ke+"(?="+[Oe,ze,"$"].join("|")+")",qe+"+"+Ge+"(?="+[Oe,ze+We,"$"].join("|")+")",ze+"?"+We+"+"+Ke,ze+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fe,Je].join("|"),"g"),it=RegExp("["+He+Te+Ce+ke+"]"),st=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,lt={};lt[L]=lt[j]=lt[M]=lt[U]=lt[V]=lt[B]=lt[$]=lt[z]=lt[H]=!0,lt[v]=lt[y]=lt[D]=lt[b]=lt[F]=lt[w]=lt[E]=lt[S]=lt[C]=lt[x]=lt[A]=lt[k]=lt[P]=lt[N]=lt[O]=!1;var ct={};ct[v]=ct[y]=ct[D]=ct[F]=ct[b]=ct[w]=ct[L]=ct[j]=ct[M]=ct[U]=ct[V]=ct[C]=ct[x]=ct[A]=ct[k]=ct[P]=ct[N]=ct[R]=ct[B]=ct[$]=ct[z]=ct[H]=!0,ct[E]=ct[S]=ct[O]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ht=parseFloat,dt=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,mt=ft||pt||Function("return this")(),gt=t&&!t.nodeType&&t,_t=gt&&e&&!e.nodeType&&e,vt=_t&&_t.exports===gt,yt=vt&&ft.process,bt=function(){try{var e=_t&&_t.require&&_t.require("util").types;return e||yt&&yt.binding&&yt.binding("util")}catch(t){}}(),wt=bt&&bt.isArrayBuffer,Et=bt&&bt.isDate,St=bt&&bt.isMap,Tt=bt&&bt.isRegExp,Ct=bt&&bt.isSet,xt=bt&&bt.isTypedArray;function At(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function It(e,t,n,r){for(var i=-1,s=null==e?0:e.length;++i<s;){var o=e[i];t(r,o,n(o),e)}return r}function kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Nt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,i=0,s=[];++n<r;){var o=e[n];t(o,n,e)&&(s[i++]=o)}return s}function Ot(e,t){return!!(null==e?0:e.length)&&zt(e,t,0)>-1}function Dt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Ft(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Lt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function jt(e,t,n,r){var i=-1,s=null==e?0:e.length;for(r&&s&&(n=e[++i]);++i<s;)n=t(n,e[i],i,e);return n}function Mt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Ut(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Vt=Kt("length");function Bt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function $t(e,t,n,r){for(var i=e.length,s=n+(r?1:-1);r?s--:++s<i;)if(t(e[s],s,e))return s;return-1}function zt(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):$t(e,Wt,n)}function Ht(e,t,n,r){for(var i=n-1,s=e.length;++i<s;)if(r(e[i],t))return i;return-1}function Wt(e){return e!=e}function qt(e,t){var n=null==e?0:e.length;return n?Xt(e,t)/n:m}function Kt(e){return function(t){return null==t?i:t[e]}}function Gt(e){return function(t){return null==e?i:e[t]}}function Qt(e,t,n,r,i){return i(e,(function(e,i,s){n=r?(r=!1,e):t(n,e,i,s)})),n}function Xt(e,t){for(var n,r=-1,s=e.length;++r<s;){var o=t(e[r]);o!==i&&(n=n===i?o:n+o)}return n}function Yt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Jt(e){return e?e.slice(0,gn(e)+1).replace(oe,""):e}function Zt(e){return function(t){return e(t)}}function en(e,t){return Ft(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&zt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&zt(t,e[n],0)>-1;);return n}var sn=Gt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"
74c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),on=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+ut[e]}function ln(e){return it.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function hn(e,t){for(var n=-1,r=e.length,i=0,s=[];++n<r;){var o=e[n];o!==t&&o!==a||(e[n]=a,s[i++]=n)}return s}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function fn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return ln(e)?function(e){var t=nt.lastIndex=0;for(;nt.test(e);)++t;return t}(e):Vt(e)}function mn(e){return ln(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function gn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var _n=Gt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var n,r=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,ot))).Array,ae=t.Date,Te=t.Error,Ce=t.Function,xe=t.Math,Ae=t.Object,Ie=t.RegExp,ke=t.String,Pe=t.TypeError,Ne=r.prototype,Re=Ce.prototype,Oe=Ae.prototype,De=t["__core-js_shared__"],Fe=Re.toString,Le=Oe.hasOwnProperty,je=0,Me=(n=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ue=Oe.toString,Ve=Fe.call(Ae),Be=mt._,$e=Ie("^"+Fe.call(Le).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=vt?t.Buffer:i,He=t.Symbol,We=t.Uint8Array,qe=ze?ze.allocUnsafe:i,Ke=un(Ae.getPrototypeOf,Ae),Ge=Ae.create,Qe=Oe.propertyIsEnumerable,Xe=Ne.splice,Ye=He?He.isConcatSpreadable:i,Je=He?He.iterator:i,Ze=He?He.toStringTag:i,nt=function(){try{var e=fs(Ae,"defineProperty");return e({},"",{}),e}catch(t){}}(),it=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ut=ae&&ae.now!==mt.Date.now&&ae.now,ft=t.setTimeout!==mt.setTimeout&&t.setTimeout,pt=xe.ceil,gt=xe.floor,_t=Ae.getOwnPropertySymbols,yt=ze?ze.isBuffer:i,bt=t.isFinite,Vt=Ne.join,Gt=un(Ae.keys,Ae),yn=xe.max,bn=xe.min,wn=ae.now,En=t.parseInt,Sn=xe.random,Tn=Ne.reverse,Cn=fs(t,"DataView"),xn=fs(t,"Map"),An=fs(t,"Promise"),In=fs(t,"Set"),kn=fs(t,"WeakMap"),Pn=fs(Ae,"create"),Nn=kn&&new kn,Rn={},On=Us(Cn),Dn=Us(xn),Fn=Us(An),Ln=Us(In),jn=Us(kn),Mn=He?He.prototype:i,Un=Mn?Mn.valueOf:i,Vn=Mn?Mn.toString:i;function Bn(e){if(ia(e)&&!qo(e)&&!(e instanceof Wn)){if(e instanceof Hn)return e;if(Le.call(e,"__wrapped__"))return Vs(e)}return new Hn(e)}var $n=function(){function e(){}return function(t){if(!ra(t))return{};if(Ge)return Ge(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function zn(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Wn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Qn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Gn;++t<n;)this.add(e[t])}function Xn(e){var t=this.__data__=new Kn(e);this.size=t.size}function Yn(e,t){var n=qo(e),r=!n&&Wo(e),i=!n&&!r&&Xo(e),s=!n&&!r&&!i&&da(e),o=n||r||i||s,a=o?Yt(e.length,ke):[],l=a.length;for(var c in e)!t&&!Le.call(e,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||s&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||bs(c,l))||a.push(c);return a}function Jn(e){var t=e.length;return t?e[Xr(0,t-1)]:i}function Zn(e,t){return Ls(Ni(e),lr(t,0,e.length))}function er(e){return Ls(Ni(e))}function tr(e,t,n){(n!==i&&!$o(e[t],n)||n===i&&!(t in e))&&or(e,t,n)}function nr(e,t,n){var r=e[t];Le.call(e,t)&&$o(r,n)&&(n!==i||t in e)||or(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if($o(e[n][0],t))return n;return-1}function ir(e,t,n,r){return fr(e,(function(e,i,s){t(r,e,n(e),s)})),r}function sr(e,t){return e&&Ri(t,La(t),e)}
vendor: 7,008 bytes, line 74
74function or(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ar(e,t){for(var n=-1,s=t.length,o=r(s),a=null==e;++n<s;)o[n]=a?i:Na(e,t[n]);return o}function lr(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function cr(e,t,n,r,s,o){var a,l=1&t,c=2&t,u=4&t;if(n&&(a=s?n(e,r,s,o):n(e)),a!==i)return a;if(!ra(e))return e;var h=qo(e);if(h){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Ni(e,a)}else{var d=gs(e),f=d==S||d==T;if(Xo(e))return Ci(e,l);if(d==A||d==v||f&&!s){if(a=c||f?{}:vs(e),!l)return c?function(e,t){return Ri(e,ms(e),t)}(e,function(e,t){return e&&Ri(t,ja(t),e)}(a,e)):function(e,t){return Ri(e,ps(e),t)}(e,sr(a,e))}else{if(!ct[d])return s?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case D:return xi(e);case b:case w:return new r(+e);case F:return function(e,t){var n=t?xi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case j:case M:case U:case V:case B:case $:case z:case H:return Ai(e,n);case C:return new r;case x:case N:return new r(e);case k:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case P:return new r;case R:return i=e,Un?Ae(Un.call(i)):{}}var i}(e,d,l)}}o||(o=new Xn);var p=o.get(e);if(p)return p;o.set(e,a),ca(e)?e.forEach((function(r){a.add(cr(r,t,n,r,e,o))})):sa(e)&&e.forEach((function(r,i){a.set(i,cr(r,t,n,i,e,o))}));var m=h?i:(u?c?os:ss:c?ja:La)(e);return kt(m||e,(function(r,i){m&&(r=e[i=r]),nr(a,i,cr(r,t,n,i,e,o))})),a}function ur(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ae(e);r--;){var s=n[r],o=t[s],a=e[s];if(a===i&&!(s in e)||!o(a))return!1}return!0}function hr(e,t,n){if("function"!=typeof e)throw new Pe(s);return Rs((function(){e.apply(i,n)}),t)}function dr(e,t,n,r){var i=-1,s=Ot,o=!0,a=e.length,l=[],c=t.length;if(!a)return l;n&&(t=Ft(t,Zt(n))),r?(s=Dt,o=!1):t.length>=200&&(s=tn,o=!1,t=new Qn(t));e:for(;++i<a;){var u=e[i],h=null==n?u:n(u);if(u=r||0!==u?u:0,o&&h==h){for(var d=c;d--;)if(t[d]===h)continue e;l.push(u)}else s(t,h,r)||l.push(u)}return l}Bn.templateSettings={escape:J,evaluate:Z,interpolate:ee,variable:"",imports:{_:Bn}},Bn.prototype=zn.prototype,Bn.prototype.constructor=Bn,Hn.prototype=$n(zn.prototype),Hn.prototype.constructor=Hn,Wn.prototype=$n(zn.prototype),Wn.prototype.constructor=Wn,qn.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0},qn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},qn.prototype.get=function(e){var t=this.__data__;if(Pn){var n=t[e];return n===o?i:n}return Le.call(t,e)?t[e]:i},qn.prototype.has=function(e){var t=this.__data__;return Pn?t[e]!==i:Le.call(t,e)},qn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Pn&&t===i?o:t,this},Kn.prototype.clear=function(){this.__data__=[],this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Xe.call(t,n,1),--this.size,!0)},Kn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?i:t[n][1]},Kn.prototype.has=function(e){return rr(this.__data__,e)>-1},Kn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new qn,map:new(xn||Kn),string:new qn}},Gn.prototype.delete=function(e){var t=hs(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return hs(this,e).get(e)},Gn.prototype.has=function(e){return hs(this,e).has(e)},Gn.prototype.set=function(e,t){var n=hs(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Qn.prototype.add=Qn.prototype.push=function(e){return this.__data__.set(e,o),this},Qn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.clear=function(){this.__data__=new Kn,this.size=0},Xn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xn.prototype.get=function(e){return this.__data__.get(e)},Xn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Kn){var r=n.__data__;if(!xn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(r)}return n.set(e,t),this.size=n.size,this};var fr=Fi(Er),pr=Fi(Sr,!0);function mr(e,t){var n=!0;return fr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function gr(e,t,n){for(var r=-1,s=e.length;++r<s;){var o=e[r],a=t(o);if(null!=a&&(l===i?a==a&&!ha(a):n(a,l)))var l=a,c=o}return c}function _r(e,t){var n=[];return fr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function vr(e,t,n,r,i){var s=-1,o=e.length;for(n||(n=ys),i||(i=[]);++s<o;){var a=e[s];t>0&&n(a)?t>1?vr(a,t-1,n,r,i):Lt(i,a):r||(i[i.length]=a)}return i}var yr=Li(),wr=Li(!0);function Er(e,t){return e&&yr(e,t,La)}function Sr(e,t){return e&&wr(e,t,La)}function Tr(e,t){return Rt(t,(function(t){return Zo(e[t])}))}function Cr(e,t){for(var n=0,r=(t=wi(t,e)).length;null!=e&&n<r;)e=e[Ms(t[n++])];return n&&n==r?e:i}function xr(e,t,n){var r=t(e);return qo(e)?r:Lt(r,n(e))}function Ar(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in Ae(e)?function(e){var t=Le.call(e,Ze),n=e[Ze];try{e[Ze]=i;var r=!0}catch(o){}var s=Ue.call(e);r&&(t?e[Ze]=n:delete e[Ze]);return s}(e):function(e){return Ue.call(e)}(e)}function Ir(e,t){return e>t}function kr(e,t){return null!=e&&Le.call(e,t)}function Pr(e,t){return null!=e&&t in Ae(e)}function Nr(e,t,n){for(var s=n?Dt:Ot,o=e[0].length,a=e.length,l=a,c=r(a),u=1/0,h=[];l--;){var d=e[l];l&&t&&(d=Ft(d,Zt(t))),u=bn(d.length,u),c[l]=!n&&(t||o>=120&&d.length>=120)?new Qn(l&&d):i}d=e[0];var f=-1,p=c[0];e:for(;++f<o&&h.length<u;){var m=d[f],g=t?t(m):m;if(m=n||0!==m?m:0,!(p?tn(p,g):s(h,g,n))){for(l=a;--l;){var _=c[l];if(!(_?tn(_,g):s(e[l],g,n)))continue e}p&&p.push(g),h.push(m)}}return h}function Rr(e,t,n){var r=null==(e=ks(e,t=wi(t,e)))?e:e[Ms(Ys(t))];return null==r?i:At(r,e,n)}function Or(e){return ia(e)&&Ar(e)==v}function Dr(e,t,n,r,s){return e===t||(null==e||null==t||!ia(e)&&!ia(t)?e!=e&&t!=t:function(e,t,n,r,s,o){var a=qo(e),l=qo(t),c=a?y:gs(e),u=l?y:gs(t),h=(c=c==v?A:c)==A,d=(u=u==v?A:u)==A,f=c==u;if(f&&Xo(e)){if(!Xo(t))return!1;a=!0,h=!1}if(f&&!h)return o||(o=new Xn),a||da(e)?rs(e,t,n,r,s,o):function(e,t,n,r,i,s,o){switch(n){case F:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case D:return!(e.byteLength!=t.byteLength||!s(new We(e),new We(t)));case b:case w:case x:return $o(+e,+t);case E:return e.name==t.name&&e.message==t.message;case k:case N:return e==t+"";case C:var a=cn;case P:var l=1&r;if(a||(a=dn),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;r|=2,o.set(e,t);var u=rs(a(e),a(t),r,i,s,o);return o.delete(e),u;case R:if(Un)return Un.call(e)==Un.call(t)}return!1}(e,t,c,n,r,s,o);if(!(1&n)){var p=h&&Le.call(e,"__wrapped__"),m=d&&Le.call(t,"__wrapped__");
vendor: 4,636 bytes, line 74
74if(p||m){var g=p?e.value():e,_=m?t.value():t;return o||(o=new Xn),s(g,_,n,r,o)}}if(!f)return!1;return o||(o=new Xn),function(e,t,n,r,s,o){var a=1&n,l=ss(e),c=l.length,u=ss(t),h=u.length;if(c!=h&&!a)return!1;var d=c;for(;d--;){var f=l[d];if(!(a?f in t:Le.call(t,f)))return!1}var p=o.get(e),m=o.get(t);if(p&&m)return p==t&&m==e;var g=!0;o.set(e,t),o.set(t,e);var _=a;for(;++d<c;){var v=e[f=l[d]],y=t[f];if(r)var b=a?r(y,v,f,t,e,o):r(v,y,f,e,t,o);if(!(b===i?v===y||s(v,y,n,r,o):b)){g=!1;break}_||(_="constructor"==f)}if(g&&!_){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(g=!1)}return o.delete(e),o.delete(t),g}(e,t,n,r,s,o)}(e,t,n,r,Dr,s))}function Fr(e,t,n,r){var s=n.length,o=s,a=!r;if(null==e)return!o;for(e=Ae(e);s--;){var l=n[s];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++s<o;){var c=(l=n[s])[0],u=e[c],h=l[1];if(a&&l[2]){if(u===i&&!(c in e))return!1}else{var d=new Xn;if(r)var f=r(u,h,c,e,t,d);if(!(f===i?Dr(h,u,3,r,d):f))return!1}}return!0}function Lr(e){return!(!ra(e)||(t=e,Me&&Me in t))&&(Zo(e)?$e:ve).test(Us(e));var t}function jr(e){return"function"==typeof e?e:null==e?ll:"object"==typeof e?qo(e)?zr(e[0],e[1]):$r(e):_l(e)}function Mr(e){if(!Cs(e))return Gt(e);var t=[];for(var n in Ae(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Ur(e){if(!ra(e))return function(e){var t=[];if(null!=e)for(var n in Ae(e))t.push(n);return t}(e);var t=Cs(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}function Vr(e,t){return e<t}function Br(e,t){var n=-1,i=Go(e)?r(e.length):[];return fr(e,(function(e,r,s){i[++n]=t(e,r,s)})),i}function $r(e){var t=ds(e);return 1==t.length&&t[0][2]?As(t[0][0],t[0][1]):function(n){return n===e||Fr(n,e,t)}}function zr(e,t){return Es(e)&&xs(t)?As(Ms(e),t):function(n){var r=Na(n,e);return r===i&&r===t?Ra(n,e):Dr(t,r,3)}}function Hr(e,t,n,r,s){e!==t&&yr(t,(function(o,a){if(s||(s=new Xn),ra(o))!function(e,t,n,r,s,o,a){var l=Ps(e,n),c=Ps(t,n),u=a.get(c);if(u)return void tr(e,n,u);var h=o?o(l,c,n+"",e,t,a):i,d=h===i;if(d){var f=qo(c),p=!f&&Xo(c),m=!f&&!p&&da(c);h=c,f||p||m?qo(l)?h=l:Qo(l)?h=Ni(l):p?(d=!1,h=Ci(c,!0)):m?(d=!1,h=Ai(c,!0)):h=[]:aa(c)||Wo(c)?(h=l,Wo(l)?h=ba(l):ra(l)&&!Zo(l)||(h=vs(c))):d=!1}d&&(a.set(c,h),s(h,c,r,o,a),a.delete(c));tr(e,n,h)}(e,t,a,n,Hr,r,s);else{var l=r?r(Ps(e,a),o,a+"",e,t,s):i;l===i&&(l=o),tr(e,a,l)}}),ja)}function Wr(e,t){var n=e.length;if(n)return bs(t+=t<0?n:0,n)?e[t]:i}function qr(e,t,n){t=t.length?Ft(t,(function(e){return qo(e)?function(t){return Cr(t,1===e.length?e[0]:e)}:e})):[ll];var r=-1;t=Ft(t,Zt(us()));var i=Br(e,(function(e,n,i){var s=Ft(t,(function(t){return t(e)}));return{criteria:s,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,s=t.criteria,o=i.length,a=n.length;for(;++r<o;){var l=Ii(i[r],s[r]);if(l)return r>=a?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Kr(e,t,n){for(var r=-1,i=t.length,s={};++r<i;){var o=t[r],a=Cr(e,o);n(a,o)&&ti(s,wi(o,e),a)}return s}function Gr(e,t,n,r){var i=r?Ht:zt,s=-1,o=t.length,a=e;for(e===t&&(t=Ni(t)),n&&(a=Ft(e,Zt(n)));++s<o;)for(var l=0,c=t[s],u=n?n(c):c;(l=i(a,u,l,r))>-1;)a!==e&&Xe.call(a,l,1),Xe.call(e,l,1);return e}function Qr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==s){var s=i;bs(i)?Xe.call(e,i,1):fi(e,i)}}return e}function Xr(e,t){return e+gt(Sn()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Jr(e,t){return Os(Is(e,t,ll),e+"")}function Zr(e){return Jn(Wa(e))}function ei(e,t){var n=Wa(e);return Ls(n,lr(t,0,n.length))}function ti(e,t,n,r){if(!ra(e))return e;for(var s=-1,o=(t=wi(t,e)).length,a=o-1,l=e;null!=l&&++s<o;){var c=Ms(t[s]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(s!=a){var h=l[c];(u=r?r(h,c,l):i)===i&&(u=ra(h)?h:bs(t[s+1])?[]:{})}nr(l,c,u),l=l[c]}return e}var ni=Nn?function(e,t){return Nn.set(e,t),e}:ll,ri=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:sl(t),writable:!0})}:ll;function ii(e){return Ls(Wa(e))}function si(e,t,n){var i=-1,s=e.length;t<0&&(t=-t>s?0:s+t),(n=n>s?s:n)<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var o=r(s);++i<s;)o[i]=e[i+t];return o}function oi(e,t){var n;return fr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function ai(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var s=r+i>>>1,o=e[s];null!==o&&!ha(o)&&(n?o<=t:o<t)?r=s+1:i=s}return i}
vendor: 5,860 bytes, line 74
74return li(e,t,ll,n)}function li(e,t,n,r){var s=0,o=null==e?0:e.length;if(0===o)return 0;for(var a=(t=n(t))!=t,l=null===t,c=ha(t),u=t===i;s<o;){var h=gt((s+o)/2),d=n(e[h]),f=d!==i,p=null===d,m=d==d,g=ha(d);if(a)var _=r||m;else _=u?m&&(r||f):l?m&&f&&(r||!p):c?m&&f&&!p&&(r||!g):!p&&!g&&(r?d<=t:d<t);_?s=h+1:o=h}return bn(o,4294967294)}function ci(e,t){for(var n=-1,r=e.length,i=0,s=[];++n<r;){var o=e[n],a=t?t(o):o;if(!n||!$o(a,l)){var l=a;s[i++]=0===o?0:o}}return s}function ui(e){return"number"==typeof e?e:ha(e)?m:+e}function hi(e){if("string"==typeof e)return e;if(qo(e))return Ft(e,hi)+"";if(ha(e))return Vn?Vn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function di(e,t,n){var r=-1,i=Ot,s=e.length,o=!0,a=[],l=a;if(n)o=!1,i=Dt;else if(s>=200){var c=t?null:Yi(e);if(c)return dn(c);o=!1,i=tn,l=new Qn}else l=t?[]:a;e:for(;++r<s;){var u=e[r],h=t?t(u):u;if(u=n||0!==u?u:0,o&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue e;t&&l.push(h),a.push(u)}else i(l,h,n)||(l!==a&&l.push(h),a.push(u))}return a}function fi(e,t){return null==(e=ks(e,t=wi(t,e)))||delete e[Ms(Ys(t))]}function pi(e,t,n,r){return ti(e,t,n(Cr(e,t)),r)}function mi(e,t,n,r){for(var i=e.length,s=r?i:-1;(r?s--:++s<i)&&t(e[s],s,e););return n?si(e,r?0:s,r?s+1:i):si(e,r?s+1:0,r?i:s)}function gi(e,t){var n=e;return n instanceof Wn&&(n=n.value()),jt(t,(function(e,t){return t.func.apply(t.thisArg,Lt([e],t.args))}),n)}function _i(e,t,n){var i=e.length;if(i<2)return i?di(e[0]):[];for(var s=-1,o=r(i);++s<i;)for(var a=e[s],l=-1;++l<i;)l!=s&&(o[s]=dr(o[s]||a,e[l],t,n));return di(vr(o,1),t,n)}function vi(e,t,n){for(var r=-1,s=e.length,o=t.length,a={};++r<s;){var l=r<o?t[r]:i;n(a,e[r],l)}return a}function yi(e){return Qo(e)?e:[]}function bi(e){return"function"==typeof e?e:ll}function wi(e,t){return qo(e)?e:Es(e,t)?[e]:js(wa(e))}var Ei=Jr;function Si(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:si(e,t,n)}var Ti=it||function(e){return mt.clearTimeout(e)};function Ci(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function xi(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function Ai(e,t){var n=t?xi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ii(e,t){if(e!==t){var n=e!==i,r=null===e,s=e==e,o=ha(e),a=t!==i,l=null===t,c=t==t,u=ha(t);if(!l&&!u&&!o&&e>t||o&&a&&c&&!l&&!u||r&&a&&c||!n&&c||!s)return 1;if(!r&&!o&&!u&&e<t||u&&n&&s&&!r&&!o||l&&n&&s||!a&&s||!c)return-1}return 0}function ki(e,t,n,i){for(var s=-1,o=e.length,a=n.length,l=-1,c=t.length,u=yn(o-a,0),h=r(c+u),d=!i;++l<c;)h[l]=t[l];for(;++s<a;)(d||s<o)&&(h[n[s]]=e[s]);for(;u--;)h[l++]=e[s++];return h}function Pi(e,t,n,i){for(var s=-1,o=e.length,a=-1,l=n.length,c=-1,u=t.length,h=yn(o-l,0),d=r(h+u),f=!i;++s<h;)d[s]=e[s];for(var p=s;++c<u;)d[p+c]=t[c];for(;++a<l;)(f||s<o)&&(d[p+n[a]]=e[s++]);return d}function Ni(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Ri(e,t,n,r){var s=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var l=t[o],c=r?r(n[l],e[l],l,n,e):i;c===i&&(c=e[l]),s?or(n,l,c):nr(n,l,c)}return n}function Oi(e,t){return function(n,r){var i=qo(n)?It:ir,s=t?t():{};return i(n,e,us(r,2),s)}}function Di(e){return Jr((function(t,n){var r=-1,s=n.length,o=s>1?n[s-1]:i,a=s>2?n[2]:i;for(o=e.length>3&&"function"==typeof o?(s--,o):i,a&&ws(n[0],n[1],a)&&(o=s<3?i:o,s=1),t=Ae(t);++r<s;){var l=n[r];l&&e(t,l,r,o)}return t}))}function Fi(e,t){return function(n,r){if(null==n)return n;if(!Go(n))return e(n,r);for(var i=n.length,s=t?i:-1,o=Ae(n);(t?s--:++s<i)&&!1!==r(o[s],s,o););return n}}function Li(e){return function(t,n,r){for(var i=-1,s=Ae(t),o=r(t),a=o.length;a--;){var l=o[e?a:++i];if(!1===n(s[l],l,s))break}return t}}function ji(e){return function(t){var n=ln(t=wa(t))?mn(t):i,r=n?n[0]:t.charAt(0),s=n?Si(n,1).join(""):t.slice(1);return r[e]()+s}}function Mi(e){return function(t){return jt(nl(Ga(t).replace(et,"")),e,"")}}function Ui(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=$n(e.prototype),r=e.apply(n,t);return ra(r)?r:n}}function Vi(e){return function(t,n,r){var s=Ae(t);if(!Go(t)){var o=us(n,3);t=La(t),n=function(e){return o(s[e],e,s)}}var a=e(t,n,r);return a>-1?s[o?t[a]:a]:i}}function Bi(e){return is((function(t){var n=t.length,r=n,o=Hn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Pe(s);if(o&&!l&&"wrapper"==ls(a))var l=new Hn([],!0)}for(r=l?r:n;++r<n;){var c=ls(a=t[r]),u="wrapper"==c?as(a):i;l=u&&Ss(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ls(u[0])].apply(l,u[3]):1==a.length&&Ss(a)?l[c]():l.thru(a)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&qo(r))return l.plant(r).value();for(var i=0,s=n?t[i].apply(this,e):r;++i<n;)s=t[i].call(this,s);return s}}))}function $i(e,t,n,s,o,a,l,c,u,d){var f=t&h,p=1&t,m=2&t,g=24&t,_=512&t,v=m?i:Ui(e);return function h(){for(var y=arguments.length,b=r(y),w=y;w--;)b[w]=arguments[w];if(g)var E=cs(h),S=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,E);if(s&&(b=ki(b,s,o,g)),a&&(b=Pi(b,a,l,g)),y-=S,g&&y<d){var T=hn(b,E);return Qi(e,t,$i,h.placeholder,n,b,T,c,u,d-y)}var C=p?n:this,x=m?C[e]:e;return y=b.length,c?b=function(e,t){var n=e.length,r=bn(t.length,n),s=Ni(e);for(;r--;){var o=t[r];e[r]=bs(o,n)?s[o]:i}return e}(b,c):_&&y>1&&b.reverse(),f&&u<y&&(b.length=u),this&&this!==mt&&this instanceof h&&(x=v||Ui(x)),x.apply(C,b)}}function zi(e,t){return function(n,r){return function(e,t,n,r){return Er(e,(function(e,i,s){t(r,n(e),i,s)})),r}(n,e,t(r),{})}}function Hi(e,t){return function(n,r){var s;if(n===i&&r===i)return t;
vendor: 4,534 bytes, line 74
74if(n!==i&&(s=n),r!==i){if(s===i)return r;"string"==typeof n||"string"==typeof r?(n=hi(n),r=hi(r)):(n=ui(n),r=ui(r)),s=e(n,r)}return s}}function Wi(e){return is((function(t){return t=Ft(t,Zt(us())),Jr((function(n){var r=this;return e(t,(function(e){return At(e,r,n)}))}))}))}function qi(e,t){var n=(t=t===i?" ":hi(t)).length;if(n<2)return n?Yr(t,e):t;var r=Yr(t,pt(e/pn(t)));return ln(t)?Si(mn(r),0,e).join(""):r.slice(0,e)}function Ki(e){return function(t,n,s){return s&&"number"!=typeof s&&ws(t,n,s)&&(n=s=i),t=ga(t),n===i?(n=t,t=0):n=ga(n),function(e,t,n,i){for(var s=-1,o=yn(pt((t-e)/(n||1)),0),a=r(o);o--;)a[i?o:++s]=e,e+=n;return a}(t,n,s=s===i?t<n?1:-1:ga(s),e)}}function Gi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ya(t),n=ya(n)),e(t,n)}}function Qi(e,t,n,r,s,o,a,l,h,d){var f=8&t;t|=f?c:u,4&(t&=~(f?u:c))||(t&=-4);var p=[e,t,s,f?o:i,f?a:i,f?i:o,f?i:a,l,h,d],m=n.apply(i,p);return Ss(e)&&Ns(m,p),m.placeholder=r,Ds(m,e,t)}function Xi(e){var t=xe[e];return function(e,n){if(e=ya(e),(n=null==n?0:bn(_a(n),292))&&bt(e)){var r=(wa(e)+"e").split("e");return+((r=(wa(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Yi=In&&1/dn(new In([,-0]))[1]==f?function(e){return new In(e)}:fl;function Ji(e){return function(t){var n=gs(t);return n==C?cn(t):n==P?fn(t):function(e,t){return Ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Zi(e,t,n,o,f,p,m,g){var _=2&t;if(!_&&"function"!=typeof e)throw new Pe(s);var v=o?o.length:0;if(v||(t&=-97,o=f=i),m=m===i?m:yn(_a(m),0),g=g===i?g:_a(g),v-=f?f.length:0,t&u){var y=o,b=f;o=f=i}var w=_?i:as(e),E=[e,t,n,o,f,y,b,p,m,g];if(w&&function(e,t){var n=e[1],r=t[1],i=n|r,s=i<131,o=r==h&&8==n||r==h&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!s&&!o)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?ki(c,l,t[4]):l,e[4]=c?hn(e[3],a):t[4]}(l=t[5])&&(c=e[5],e[5]=c?Pi(c,l,t[6]):l,e[6]=c?hn(e[5],a):t[6]);(l=t[7])&&(e[7]=l);r&h&&(e[8]=null==e[8]?t[8]:bn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(E,w),e=E[0],t=E[1],n=E[2],o=E[3],f=E[4],!(g=E[9]=E[9]===i?_?0:e.length:yn(E[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)S=8==t||t==l?function(e,t,n){var s=Ui(e);return function o(){for(var a=arguments.length,l=r(a),c=a,u=cs(o);c--;)l[c]=arguments[c];var h=a<3&&l[0]!==u&&l[a-1]!==u?[]:hn(l,u);return(a-=h.length)<n?Qi(e,t,$i,o.placeholder,i,l,h,i,i,n-a):At(this&&this!==mt&&this instanceof o?s:e,this,l)}}(e,t,g):t!=c&&33!=t||f.length?$i.apply(i,E):function(e,t,n,i){var s=1&t,o=Ui(e);return function t(){for(var a=-1,l=arguments.length,c=-1,u=i.length,h=r(u+l),d=this&&this!==mt&&this instanceof t?o:e;++c<u;)h[c]=i[c];for(;l--;)h[c++]=arguments[++a];return At(d,s?n:this,h)}}(e,t,n,o);else var S=function(e,t,n){var r=1&t,i=Ui(e);return function t(){return(this&&this!==mt&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return Ds((w?ni:Ns)(S,E),e,t)}function es(e,t,n,r){return e===i||$o(e,Oe[n])&&!Le.call(r,n)?t:e}function ts(e,t,n,r,s,o){return ra(e)&&ra(t)&&(o.set(t,e),Hr(e,t,i,ts,o),o.delete(t)),e}function ns(e){return aa(e)?i:e}function rs(e,t,n,r,s,o){var a=1&n,l=e.length,c=t.length;if(l!=c&&!(a&&c>l))return!1;var u=o.get(e),h=o.get(t);if(u&&h)return u==t&&h==e;var d=-1,f=!0,p=2&n?new Qn:i;for(o.set(e,t),o.set(t,e);++d<l;){var m=e[d],g=t[d];if(r)var _=a?r(g,m,d,t,e,o):r(m,g,d,e,t,o);if(_!==i){if(_)continue;f=!1;break}if(p){if(!Ut(t,(function(e,t){if(!tn(p,t)&&(m===e||s(m,e,n,r,o)))return p.push(t)}))){f=!1;break}}else if(m!==g&&!s(m,g,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function is(e){return Os(Is(e,i,qs),e+"")}function ss(e){return xr(e,La,ps)}function os(e){return xr(e,ja,ms)}var as=Nn?function(e){return Nn.get(e)}:fl;function ls(e){for(var t=e.name+"",n=Rn[t],r=Le.call(Rn,t)?n.length:0;r--;){var i=n[r],s=i.func;if(null==s||s==e)return i.name}return t}function cs(e){return(Le.call(Bn,"placeholder")?Bn:e).placeholder}function us(){var e=Bn.iteratee||cl;return e=e===cl?jr:e,arguments.length?e(arguments[0],arguments[1]):e}function hs(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ds(e){for(var t=La(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,xs(i)]}return t}function fs(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Lr(n)?n:i}var ps=_t?function(e){return null==e?[]:(e=Ae(e),Rt(_t(e),(function(t){return Qe.call(e,t)})))}:bl,ms=_t?function(e){for(var t=[];e;)Lt(t,ps(e)),e=Ke(e);return t}:bl,gs=Ar;
vendor: 14,294 bytes, line 74
74function _s(e,t,n){for(var r=-1,i=(t=wi(t,e)).length,s=!1;++r<i;){var o=Ms(t[r]);if(!(s=null!=e&&n(e,o)))break;e=e[o]}return s||++r!=i?s:!!(i=null==e?0:e.length)&&ta(i)&&bs(o,i)&&(qo(e)||Wo(e))}function vs(e){return"function"!=typeof e.constructor||Cs(e)?{}:$n(Ke(e))}function ys(e){return qo(e)||Wo(e)||!!(Ye&&e&&e[Ye])}function bs(e,t){var n=typeof e;return!!(t=t??p)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function ws(e,t,n){if(!ra(n))return!1;var r=typeof t;return!!("number"==r?Go(n)&&bs(t,n.length):"string"==r&&t in n)&&$o(n[t],e)}function Es(e,t){if(qo(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ha(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ae(t))}function Ss(e){var t=ls(e),n=Bn[t];if("function"!=typeof n||!(t in Wn.prototype))return!1;if(e===n)return!0;var r=as(n);return!!r&&e===r[0]}(Cn&&gs(new Cn(new ArrayBuffer(1)))!=F||xn&&gs(new xn)!=C||An&&gs(An.resolve())!=I||In&&gs(new In)!=P||kn&&gs(new kn)!=O)&&(gs=function(e){var t=Ar(e),n=t==A?e.constructor:i,r=n?Us(n):"";if(r)switch(r){case On:return F;case Dn:return C;case Fn:return I;case Ln:return P;case jn:return O}return t});var Ts=De?Zo:wl;function Cs(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Oe)}function xs(e){return e==e&&!ra(e)}function As(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==i||e in Ae(n)))}}function Is(e,t,n){return t=yn(t===i?e.length-1:t,0),function(){for(var i=arguments,s=-1,o=yn(i.length-t,0),a=r(o);++s<o;)a[s]=i[t+s];s=-1;for(var l=r(t+1);++s<t;)l[s]=i[s];return l[t]=n(a),At(e,this,l)}}function ks(e,t){return t.length<2?e:Cr(e,si(t,0,-1))}function Ps(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ns=Fs(ni),Rs=ft||function(e,t){return mt.setTimeout(e,t)},Os=Fs(ri);function Ds(e,t,n){var r=t+"";return Os(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return kt(_,(function(n){var r="_."+n[0];t&n[1]&&!Ot(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(r),n)))}function Fs(e){var t=0,n=0;return function(){var r=wn(),s=16-(r-n);if(n=r,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ls(e,t){var n=-1,r=e.length,s=r-1;for(t=t===i?r:t;++n<t;){var o=Xr(n,s),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}var js=function(e){var t=Lo(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,i){t.push(r?i.replace(fe,"$1"):n||e)})),t}));function Ms(e){if("string"==typeof e||ha(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Us(e){if(null!=e){try{return Fe.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Vs(e){if(e instanceof Wn)return e.clone();var t=new Hn(e.__wrapped__,e.__chain__);return t.__actions__=Ni(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Bs=Jr((function(e,t){return Qo(e)?dr(e,vr(t,1,Qo,!0)):[]})),$s=Jr((function(e,t){var n=Ys(t);return Qo(n)&&(n=i),Qo(e)?dr(e,vr(t,1,Qo,!0),us(n,2)):[]})),zs=Jr((function(e,t){var n=Ys(t);return Qo(n)&&(n=i),Qo(e)?dr(e,vr(t,1,Qo,!0),i,n):[]}));function Hs(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:_a(n);return i<0&&(i=yn(r+i,0)),$t(e,us(t,3),i)}function Ws(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var s=r-1;return n!==i&&(s=_a(n),s=n<0?yn(r+s,0):bn(s,r-1)),$t(e,us(t,3),s,!0)}function qs(e){return(null==e?0:e.length)?vr(e,1):[]}function Ks(e){return e&&e.length?e[0]:i}var Gs=Jr((function(e){var t=Ft(e,yi);return t.length&&t[0]===e[0]?Nr(t):[]})),Qs=Jr((function(e){var t=Ys(e),n=Ft(e,yi);return t===Ys(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Nr(n,us(t,2)):[]})),Xs=Jr((function(e){var t=Ys(e),n=Ft(e,yi);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Nr(n,i,t):[]}));function Ys(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Js=Jr(Zs);function Zs(e,t){return e&&e.length&&t&&t.length?Gr(e,t):e}var eo=is((function(e,t){var n=null==e?0:e.length,r=ar(e,t);return Qr(e,Ft(t,(function(e){return bs(e,n)?+e:e})).sort(Ii)),r}));function to(e){return null==e?e:Tn.call(e)}var no=Jr((function(e){return di(vr(e,1,Qo,!0))})),ro=Jr((function(e){var t=Ys(e);return Qo(t)&&(t=i),di(vr(e,1,Qo,!0),us(t,2))})),io=Jr((function(e){var t=Ys(e);return t="function"==typeof t?t:i,di(vr(e,1,Qo,!0),i,t)}));function so(e){if(!e||!e.length)return[];var t=0;return e=Rt(e,(function(e){if(Qo(e))return t=yn(e.length,t),!0})),Yt(t,(function(t){return Ft(e,Kt(t))}))}function oo(e,t){if(!e||!e.length)return[];var n=so(e);return null==t?n:Ft(n,(function(e){return At(t,i,e)}))}var ao=Jr((function(e,t){return Qo(e)?dr(e,t):[]})),lo=Jr((function(e){return _i(Rt(e,Qo))})),co=Jr((function(e){var t=Ys(e);return Qo(t)&&(t=i),_i(Rt(e,Qo),us(t,2))})),uo=Jr((function(e){var t=Ys(e);return t="function"==typeof t?t:i,_i(Rt(e,Qo),i,t)})),ho=Jr(so);var fo=Jr((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,oo(e,n)}));function po(e){var t=Bn(e);return t.__chain__=!0,t}function mo(e,t){return t(e)}var go=is((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,s=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Wn&&bs(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:mo,args:[s],thisArg:i}),new Hn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(s)}));var _o=Oi((function(e,t,n){Le.call(e,n)?++e[n]:or(e,n,1)}));var vo=Vi(Hs),yo=Vi(Ws);function bo(e,t){return(qo(e)?kt:fr)(e,us(t,3))}function wo(e,t){return(qo(e)?Pt:pr)(e,us(t,3))}var Eo=Oi((function(e,t,n){Le.call(e,n)?e[n].push(t):or(e,n,[t])}));var So=Jr((function(e,t,n){var i=-1,s="function"==typeof t,o=Go(e)?r(e.length):[];return fr(e,(function(e){o[++i]=s?At(t,e,n):Rr(e,t,n)})),o})),To=Oi((function(e,t,n){or(e,n,t)}));function Co(e,t){return(qo(e)?Ft:Br)(e,us(t,3))}var xo=Oi((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ao=Jr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ws(e,t[0],t[1])?t=[]:n>2&&ws(t[0],t[1],t[2])&&(t=[t[0]]),qr(e,vr(t,1),[])})),Io=ut||function(){return mt.Date.now()};function ko(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Zi(e,h,i,i,i,i,t)}function Po(e,t){var n;if("function"!=typeof t)throw new Pe(s);return e=_a(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var No=Jr((function(e,t,n){var r=1;if(n.length){var i=hn(n,cs(No));r|=c}return Zi(e,r,t,n,i)})),Ro=Jr((function(e,t,n){var r=3;if(n.length){var i=hn(n,cs(Ro));r|=c}return Zi(t,r,e,n,i)}));function Oo(e,t,n){var r,o,a,l,c,u,h=0,d=!1,f=!1,p=!0;if("function"!=typeof e)throw new Pe(s);function m(t){var n=r,s=o;return r=o=i,h=t,l=e.apply(s,n)}function g(e){var n=e-u;return u===i||n>=t||n<0||f&&e-h>=a}function _(){var e=Io();if(g(e))return v(e);c=Rs(_,function(e){var n=t-(e-u);return f?bn(n,a-(e-h)):n}(e))}function v(e){return c=i,p&&r?m(e):(r=o=i,l)}function y(){var e=Io(),n=g(e);if(r=arguments,o=this,u=e,n){if(c===i)return function(e){return h=e,c=Rs(_,t),d?m(e):l}(u);if(f)return Ti(c),c=Rs(_,t),m(u)}return c===i&&(c=Rs(_,t)),l}return t=ya(t)||0,ra(n)&&(d=!!n.leading,a=(f="maxWait"in n)?yn(ya(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){c!==i&&Ti(c),h=0,r=u=o=c=i},y.flush=function(){return c===i?l:v(Io())},y}var Do=Jr((function(e,t){return hr(e,1,t)})),Fo=Jr((function(e,t,n){return hr(e,ya(t)||0,n)}));function Lo(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Pe(s);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var o=e.apply(this,r);return n.cache=s.set(i,o)||s,o};return n.cache=new(Lo.Cache||Gn),n}function jo(e){if("function"!=typeof e)throw new Pe(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Lo.Cache=Gn;var Mo=Ei((function(e,t){var n=(t=1==t.length&&qo(t[0])?Ft(t[0],Zt(us())):Ft(vr(t,1),Zt(us()))).length;return Jr((function(r){for(var i=-1,s=bn(r.length,n);++i<s;)r[i]=t[i].call(this,r[i]);return At(e,this,r)}))})),Uo=Jr((function(e,t){var n=hn(t,cs(Uo));return Zi(e,c,i,t,n)})),Vo=Jr((function(e,t){var n=hn(t,cs(Vo));return Zi(e,u,i,t,n)})),Bo=is((function(e,t){return Zi(e,d,i,i,i,t)}));function $o(e,t){return e===t||e!=e&&t!=t}var zo=Gi(Ir),Ho=Gi((function(e,t){return e>=t})),Wo=Or(function(){return arguments}())?Or:function(e){return ia(e)&&Le.call(e,"callee")&&!Qe.call(e,"callee")},qo=r.isArray,Ko=wt?Zt(wt):function(e){return ia(e)&&Ar(e)==D};function Go(e){return null!=e&&ta(e.length)&&!Zo(e)}function Qo(e){return ia(e)&&Go(e)}var Xo=yt||wl,Yo=Et?Zt(Et):function(e){return ia(e)&&Ar(e)==w};function Jo(e){if(!ia(e))return!1;var t=Ar(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!aa(e)}function Zo(e){if(!ra(e))return!1;var t=Ar(e);return t==S||t==T||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ea(e){return"number"==typeof e&&e==_a(e)}function ta(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ra(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ia(e){return null!=e&&"object"==typeof e}var sa=St?Zt(St):function(e){return ia(e)&&gs(e)==C};function oa(e){return"number"==typeof e||ia(e)&&Ar(e)==x}function aa(e){if(!ia(e)||Ar(e)!=A)return!1;var t=Ke(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Fe.call(n)==Ve}var la=Tt?Zt(Tt):function(e){return ia(e)&&Ar(e)==k};var ca=Ct?Zt(Ct):function(e){return ia(e)&&gs(e)==P};function ua(e){return"string"==typeof e||!qo(e)&&ia(e)&&Ar(e)==N}function ha(e){return"symbol"==typeof e||ia(e)&&Ar(e)==R}var da=xt?Zt(xt):function(e){return ia(e)&&ta(e.length)&&!!lt[Ar(e)]};var fa=Gi(Vr),pa=Gi((function(e,t){return e<=t}));function ma(e){if(!e)return[];if(Go(e))return ua(e)?mn(e):Ni(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=gs(e);return(t==C?cn:t==P?dn:Wa)(e)}function ga(e){return e?(e=ya(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function _a(e){var t=ga(e),n=t%1;return t==t?n?t-n:t:0}function va(e){return e?lr(_a(e),0,g):0}function ya(e){if("number"==typeof e)return e;if(ha(e))return m;if(ra(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ra(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Jt(e);var n=_e.test(e);return n||ye.test(e)?dt(e.slice(2),n?2:8):ge.test(e)?m:+e}function ba(e){return Ri(e,ja(e))}function wa(e){return null==e?"":hi(e)}var Ea=Di((function(e,t){if(Cs(t)||Go(t))Ri(t,La(t),e);else for(var n in t)Le.call(t,n)&&nr(e,n,t[n])})),Sa=Di((function(e,t){Ri(t,ja(t),e)})),Ta=Di((function(e,t,n,r){Ri(t,ja(t),e,r)})),xa=Di((function(e,t,n,r){Ri(t,La(t),e,r)})),Ia=is(ar);var ka=Jr((function(e,t){e=Ae(e);var n=-1,r=t.length,s=r>2?t[2]:i;for(s&&ws(t[0],t[1],s)&&(r=1);++n<r;)for(var o=t[n],a=ja(o),l=-1,c=a.length;++l<c;){var u=a[l],h=e[u];(h===i||$o(h,Oe[u])&&!Le.call(e,u))&&(e[u]=o[u])}return e})),Pa=Jr((function(e){return e.push(i,ts),At(Ua,i,e)}));function Na(e,t,n){var r=null==e?i:Cr(e,t);return r===i?n:r}function Ra(e,t){return null!=e&&_s(e,t,Pr)}var Oa=zi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ue.call(t)),e[t]=n}),sl(ll)),Da=zi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ue.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),us),Fa=Jr(Rr);function La(e){return Go(e)?Yn(e):Mr(e)}function ja(e){return Go(e)?Yn(e,!0):Ur(e)}var Ma=Di((function(e,t,n){Hr(e,t,n)})),Ua=Di((function(e,t,n,r){Hr(e,t,n,r)})),Va=is((function(e,t){var n={};if(null==e)return n;var r=!1;t=Ft(t,(function(t){return t=wi(t,e),r||(r=t.length>1),t})),Ri(e,os(e),n),r&&(n=cr(n,7,ns));for(var i=t.length;i--;)fi(n,t[i]);return n}));var Ba=is((function(e,t){return null==e?{}:function(e,t){return Kr(e,t,(function(t,n){return Ra(e,n)}))}(e,t)}));function $a(e,t){if(null==e)return{};var n=Ft(os(e),(function(e){return[e]}));return t=us(t),Kr(e,n,(function(e,n){return t(e,n[0])}))}var za=Ji(La),Ha=Ji(ja);function Wa(e){return null==e?[]:en(e,La(e))}var qa=Mi((function(e,t,n){return t=t.toLowerCase(),e+(n?Ka(t):t)}));function Ka(e){return tl(wa(e).toLowerCase())}function Ga(e){return(e=wa(e))&&e.replace(we,sn).replace(tt,"")}var Qa=Mi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Xa=Mi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ya=ji("toLowerCase");var Ja=Mi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Za=Mi((function(e,t,n){return e+(n?" ":"")+tl(t)}));var el=Mi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),tl=ji("toUpperCase");function nl(e,t,n){return e=wa(e),(t=n?i:t)===i?function(e){return st.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(he)||[]}(e):e.match(t)||[]}var rl=Jr((function(e,t){try{return At(e,i,t)}catch(n){return Jo(n)?n:new Te(n)}})),il=is((function(e,t){return kt(t,(function(t){t=Ms(t),or(e,t,No(e[t],e))})),e}));function sl(e){return function(){return e}}var ol=Bi(),al=Bi(!0);function ll(e){return e}function cl(e){return jr("function"==typeof e?e:cr(e,1))}var ul=Jr((function(e,t){return function(n){return Rr(n,e,t)}})),hl=Jr((function(e,t){return function(n){return Rr(e,n,t)}}));function dl(e,t,n){var r=La(t),i=Tr(t,r);null!=n||ra(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Tr(t,La(t)));var s=!(ra(n)&&"chain"in n&&!n.chain),o=Zo(e);return kt(i,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(s||t){var n=e(this.__wrapped__);return(n.__actions__=Ni(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Lt([this.value()],arguments))})})),e}function fl(){}var pl=Wi(Ft),ml=Wi(Nt),gl=Wi(Ut);function _l(e){return Es(e)?Kt(Ms(e)):function(e){return function(t){return Cr(t,e)}}(e)}var vl=Ki(),yl=Ki(!0);function bl(){return[]}function wl(){return!1}var El=Hi((function(e,t){return e+t}),0),Sl=Xi("ceil"),Tl=Hi((function(e,t){return e/t}),1),Cl=Xi("floor");var xl,Al=Hi((function(e,t){return e*t}),1),Il=Xi("round"),kl=Hi((function(e,t){return e-t}
vendor: 4,653 bytes, line 74
74),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new Pe(s);return e=_a(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=ko,Bn.assign=Ea,Bn.assignIn=Sa,Bn.assignInWith=Ta,Bn.assignWith=xa,Bn.at=Ia,Bn.before=Po,Bn.bind=No,Bn.bindAll=il,Bn.bindKey=Ro,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return qo(e)?e:[e]},Bn.chain=po,Bn.chunk=function(e,t,n){t=(n?ws(e,t,n):t===i)?1:yn(_a(t),0);var s=null==e?0:e.length;if(!s||t<1)return[];for(var o=0,a=0,l=r(pt(s/t));o<s;)l[a++]=si(e,o,o+=t);return l},Bn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var s=e[t];s&&(i[r++]=s)}return i},Bn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Lt(qo(n)?Ni(n):[n],vr(t,1))},Bn.cond=function(e){var t=null==e?0:e.length,n=us();return e=t?Ft(e,(function(e){if("function"!=typeof e[1])throw new Pe(s);return[n(e[0]),e[1]]})):[],Jr((function(n){for(var r=-1;++r<t;){var i=e[r];if(At(i[0],this,n))return At(i[1],this,n)}}))},Bn.conforms=function(e){return function(e){var t=La(e);return function(n){return ur(n,e,t)}}(cr(e,1))},Bn.constant=sl,Bn.countBy=_o,Bn.create=function(e,t){var n=$n(e);return null==t?n:sr(n,t)},Bn.curry=function e(t,n,r){var s=Zi(t,8,i,i,i,i,i,n=r?i:n);return s.placeholder=e.placeholder,s},Bn.curryRight=function e(t,n,r){var s=Zi(t,l,i,i,i,i,i,n=r?i:n);return s.placeholder=e.placeholder,s},Bn.debounce=Oo,Bn.defaults=ka,Bn.defaultsDeep=Pa,Bn.defer=Do,Bn.delay=Fo,Bn.difference=Bs,Bn.differenceBy=$s,Bn.differenceWith=zs,Bn.drop=function(e,t,n){var r=null==e?0:e.length;return r?si(e,(t=n||t===i?1:_a(t))<0?0:t,r):[]},Bn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?si(e,0,(t=r-(t=n||t===i?1:_a(t)))<0?0:t):[]},Bn.dropRightWhile=function(e,t){return e&&e.length?mi(e,us(t,3),!0,!0):[]},Bn.dropWhile=function(e,t){return e&&e.length?mi(e,us(t,3),!0):[]},Bn.fill=function(e,t,n,r){var s=null==e?0:e.length;return s?(n&&"number"!=typeof n&&ws(e,t,n)&&(n=0,r=s),function(e,t,n,r){var s=e.length;for((n=_a(n))<0&&(n=-n>s?0:s+n),(r=r===i||r>s?s:_a(r))<0&&(r+=s),r=n>r?0:va(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Bn.filter=function(e,t){return(qo(e)?Rt:_r)(e,us(t,3))},Bn.flatMap=function(e,t){return vr(Co(e,t),1)},Bn.flatMapDeep=function(e,t){return vr(Co(e,t),f)},Bn.flatMapDepth=function(e,t,n){return n=n===i?1:_a(n),vr(Co(e,t),n)},Bn.flatten=qs,Bn.flattenDeep=function(e){return(null==e?0:e.length)?vr(e,f):[]},Bn.flattenDepth=function(e,t){return(null==e?0:e.length)?vr(e,t=t===i?1:_a(t)):[]},Bn.flip=function(e){return Zi(e,512)},Bn.flow=ol,Bn.flowRight=al,Bn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Bn.functions=function(e){return null==e?[]:Tr(e,La(e))},Bn.functionsIn=function(e){return null==e?[]:Tr(e,ja(e))},Bn.groupBy=Eo,Bn.initial=function(e){return(null==e?0:e.length)?si(e,0,-1):[]},Bn.intersection=Gs,Bn.intersectionBy=Qs,Bn.intersectionWith=Xs,Bn.invert=Oa,Bn.invertBy=Da,Bn.invokeMap=So,Bn.iteratee=cl,Bn.keyBy=To,Bn.keys=La,Bn.keysIn=ja,Bn.map=Co,Bn.mapKeys=function(e,t){var n={};return t=us(t,3),Er(e,(function(e,r,i){or(n,t(e,r,i),e)})),n},Bn.mapValues=function(e,t){var n={};return t=us(t,3),Er(e,(function(e,r,i){or(n,r,t(e,r,i))})),n},Bn.matches=function(e){return $r(cr(e,1))},Bn.matchesProperty=function(e,t){return zr(e,cr(t,1))},Bn.memoize=Lo,Bn.merge=Ma,Bn.mergeWith=Ua,Bn.method=ul,Bn.methodOf=hl,Bn.mixin=dl,Bn.negate=jo,Bn.nthArg=function(e){return e=_a(e),Jr((function(t){return Wr(t,e)}))},Bn.omit=Va,Bn.omitBy=function(e,t){return $a(e,jo(us(t)))},Bn.once=function(e){return Po(2,e)},Bn.orderBy=function(e,t,n,r){return null==e?[]:(qo(t)||(t=null==t?[]:[t]),qo(n=r?i:n)||(n=null==n?[]:[n]),qr(e,t,n))},Bn.over=pl,Bn.overArgs=Mo,Bn.overEvery=ml,Bn.overSome=gl,Bn.partial=Uo,Bn.partialRight=Vo,Bn.partition=xo,Bn.pick=Ba,Bn.pickBy=$a,Bn.property=_l,Bn.propertyOf=function(e){return function(t){return null==e?i:Cr(e,t)}},Bn.pull=Js,Bn.pullAll=Zs,Bn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,us(n,2)):e},Bn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,i,n):e},Bn.pullAt=eo,Bn.range=vl,Bn.rangeRight=yl,Bn.rearg=Bo,Bn.reject=function(e,t){return(qo(e)?Rt:_r)(e,jo(us(t,3)))},Bn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],s=e.length;for(t=us(t,3);++r<s;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return Qr(e,i),n},Bn.rest=function(e,t){if("function"!=typeof e)throw new Pe(s);return Jr(e,t=t===i?t:_a(t))},Bn.reverse=to,Bn.sampleSize=function(e,t,n){return t=(n?ws(e,t,n):t===i)?1:_a(t),(qo(e)?Zn:ei)(e,t)}
vendor: 4,872 bytes, line 74
74,Bn.set=function(e,t,n){return null==e?e:ti(e,t,n)},Bn.setWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:ti(e,t,n,r)},Bn.shuffle=function(e){return(qo(e)?er:ii)(e)},Bn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ws(e,t,n)?(t=0,n=r):(t=null==t?0:_a(t),n=n===i?r:_a(n)),si(e,t,n)):[]},Bn.sortBy=Ao,Bn.sortedUniq=function(e){return e&&e.length?ci(e):[]},Bn.sortedUniqBy=function(e,t){return e&&e.length?ci(e,us(t,2)):[]},Bn.split=function(e,t,n){return n&&"number"!=typeof n&&ws(e,t,n)&&(t=n=i),(n=n===i?g:n>>>0)?(e=wa(e))&&("string"==typeof t||null!=t&&!la(t))&&!(t=hi(t))&&ln(e)?Si(mn(e),0,n):e.split(t,n):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new Pe(s);return t=null==t?0:yn(_a(t),0),Jr((function(n){var r=n[t],i=Si(n,0,t);return r&&Lt(i,r),At(e,this,i)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?si(e,1,t):[]},Bn.take=function(e,t,n){return e&&e.length?si(e,0,(t=n||t===i?1:_a(t))<0?0:t):[]},Bn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?si(e,(t=r-(t=n||t===i?1:_a(t)))<0?0:t,r):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?mi(e,us(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?mi(e,us(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Pe(s);return ra(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Oo(e,t,{leading:r,maxWait:t,trailing:i})},Bn.thru=mo,Bn.toArray=ma,Bn.toPairs=za,Bn.toPairsIn=Ha,Bn.toPath=function(e){return qo(e)?Ft(e,Ms):ha(e)?[e]:Ni(js(wa(e)))},Bn.toPlainObject=ba,Bn.transform=function(e,t,n){var r=qo(e),i=r||Xo(e)||da(e);if(t=us(t,4),null==n){var s=e&&e.constructor;n=i?r?new s:[]:ra(e)&&Zo(s)?$n(Ke(e)):{}}return(i?kt:Er)(e,(function(e,r,i){return t(n,e,r,i)})),n},Bn.unary=function(e){return ko(e,1)},Bn.union=no,Bn.unionBy=ro,Bn.unionWith=io,Bn.uniq=function(e){return e&&e.length?di(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?di(e,us(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?di(e,i,t):[]},Bn.unset=function(e,t){return null==e||fi(e,t)},Bn.unzip=so,Bn.unzipWith=oo,Bn.update=function(e,t,n){return null==e?e:pi(e,t,bi(n))},Bn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:pi(e,t,bi(n),r)},Bn.values=Wa,Bn.valuesIn=function(e){return null==e?[]:en(e,ja(e))},Bn.without=ao,Bn.words=nl,Bn.wrap=function(e,t){return Uo(bi(t),e)},Bn.xor=lo,Bn.xorBy=co,Bn.xorWith=uo,Bn.zip=ho,Bn.zipObject=function(e,t){return vi(e||[],t||[],nr)},Bn.zipObjectDeep=function(e,t){return vi(e||[],t||[],ti)},Bn.zipWith=fo,Bn.entries=za,Bn.entriesIn=Ha,Bn.extend=Sa,Bn.extendWith=Ta,dl(Bn,Bn),Bn.add=El,Bn.attempt=rl,Bn.camelCase=qa,Bn.capitalize=Ka,Bn.ceil=Sl,Bn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=ya(n))==n?n:0),t!==i&&(t=(t=ya(t))==t?t:0),lr(ya(e),t,n)},Bn.clone=function(e){return cr(e,4)},Bn.cloneDeep=function(e){return cr(e,5)},Bn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:i)},Bn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:i)},Bn.conformsTo=function(e,t){return null==t||ur(e,t,La(t))},Bn.deburr=Ga,Bn.defaultTo=function(e,t){return null==e||e!=e?t:e},Bn.divide=Tl,Bn.endsWith=function(e,t,n){e=wa(e),t=hi(t);var r=e.length,s=n=n===i?r:lr(_a(n),0,r);return(n-=t.length)>=0&&e.slice(n,s)==t},Bn.eq=$o,Bn.escape=function(e){return(e=wa(e))&&Y.test(e)?e.replace(Q,on):e},Bn.escapeRegExp=function(e){return(e=wa(e))&&se.test(e)?e.replace(ie,"\\$&"):e},Bn.every=function(e,t,n){var r=qo(e)?Nt:mr;return n&&ws(e,t,n)&&(t=i),r(e,us(t,3))},Bn.find=vo,Bn.findIndex=Hs,Bn.findKey=function(e,t){return Bt(e,us(t,3),Er)},Bn.findLast=yo,Bn.findLastIndex=Ws,Bn.findLastKey=function(e,t){return Bt(e,us(t,3),Sr)},Bn.floor=Cl,Bn.forEach=bo,Bn.forEachRight=wo,Bn.forIn=function(e,t){return null==e?e:yr(e,us(t,3),ja)},Bn.forInRight=function(e,t){return null==e?e:wr(e,us(t,3),ja)},Bn.forOwn=function(e,t){return e&&Er(e,us(t,3))},Bn.forOwnRight=function(e,t){return e&&Sr(e,us(t,3))},Bn.get=Na,Bn.gt=zo,Bn.gte=Ho,Bn.has=function(e,t){return null!=e&&_s(e,t,kr)},Bn.hasIn=Ra,Bn.head=Ks,Bn.identity=ll,Bn.includes=function(e,t,n,r){e=Go(e)?e:Wa(e),n=n&&!r?_a(n):0;var i=e.length;return n<0&&(n=yn(i+n,0)),ua(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&zt(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:_a(n);return i<0&&(i=yn(r+i,0)),zt(e,t,i)},Bn.inRange=function(e,t,n){return t=ga(t),n===i?(n=t,t=0):n=ga(n),function(e,t,n){return e>=bn(t,n)&&e<yn(t,n)}(e=ya(e),t,n)},Bn.invoke=Fa,Bn.isArguments=Wo,Bn.isArray=qo,Bn.isArrayBuffer=Ko,Bn.isArrayLike=Go,Bn.isArrayLikeObject=Qo,Bn.isBoolean=function(e){return!0===e||!1===e||ia(e)&&Ar(e)==b},Bn.isBuffer=Xo,Bn.isDate=Yo,Bn.isElement=function(e){return ia(e)&&1===e.nodeType&&!aa(e)},Bn.isEmpty=function(e){if(null==e)return!0;
vendor: 5,500 bytes, line 74
74if(Go(e)&&(qo(e)||"string"==typeof e||"function"==typeof e.splice||Xo(e)||da(e)||Wo(e)))return!e.length;var t=gs(e);if(t==C||t==P)return!e.size;if(Cs(e))return!Mr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Bn.isEqual=function(e,t){return Dr(e,t)},Bn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?Dr(e,t,i,n):!!r},Bn.isError=Jo,Bn.isFinite=function(e){return"number"==typeof e&&bt(e)},Bn.isFunction=Zo,Bn.isInteger=ea,Bn.isLength=ta,Bn.isMap=sa,Bn.isMatch=function(e,t){return e===t||Fr(e,t,ds(t))},Bn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Fr(e,t,ds(t),n)},Bn.isNaN=function(e){return oa(e)&&e!=+e},Bn.isNative=function(e){if(Ts(e))throw new Te("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Lr(e)},Bn.isNil=function(e){return null==e},Bn.isNull=function(e){return null===e},Bn.isNumber=oa,Bn.isObject=ra,Bn.isObjectLike=ia,Bn.isPlainObject=aa,Bn.isRegExp=la,Bn.isSafeInteger=function(e){return ea(e)&&e>=-9007199254740991&&e<=p},Bn.isSet=ca,Bn.isString=ua,Bn.isSymbol=ha,Bn.isTypedArray=da,Bn.isUndefined=function(e){return e===i},Bn.isWeakMap=function(e){return ia(e)&&gs(e)==O},Bn.isWeakSet=function(e){return ia(e)&&"[object WeakSet]"==Ar(e)},Bn.join=function(e,t){return null==e?"":Vt.call(e,t)},Bn.kebabCase=Qa,Bn.last=Ys,Bn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var s=r;return n!==i&&(s=(s=_a(n))<0?yn(r+s,0):bn(s,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,s):$t(e,Wt,s,!0)},Bn.lowerCase=Xa,Bn.lowerFirst=Ya,Bn.lt=fa,Bn.lte=pa,Bn.max=function(e){return e&&e.length?gr(e,ll,Ir):i},Bn.maxBy=function(e,t){return e&&e.length?gr(e,us(t,2),Ir):i},Bn.mean=function(e){return qt(e,ll)},Bn.meanBy=function(e,t){return qt(e,us(t,2))},Bn.min=function(e){return e&&e.length?gr(e,ll,Vr):i},Bn.minBy=function(e,t){return e&&e.length?gr(e,us(t,2),Vr):i},Bn.stubArray=bl,Bn.stubFalse=wl,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=Al,Bn.nth=function(e,t){return e&&e.length?Wr(e,_a(t)):i},Bn.noConflict=function(){return mt._===this&&(mt._=Be),this},Bn.noop=fl,Bn.now=Io,Bn.pad=function(e,t,n){e=wa(e);var r=(t=_a(t))?pn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return qi(gt(i),n)+e+qi(pt(i),n)},Bn.padEnd=function(e,t,n){e=wa(e);var r=(t=_a(t))?pn(e):0;return t&&r<t?e+qi(t-r,n):e},Bn.padStart=function(e,t,n){e=wa(e);var r=(t=_a(t))?pn(e):0;return t&&r<t?qi(t-r,n)+e:e},Bn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),En(wa(e).replace(oe,""),t||0)},Bn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ws(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=ga(e),t===i?(t=e,e=0):t=ga(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var s=Sn();return bn(e+s*(t-e+ht("1e-"+((s+"").length-1))),t)}return Xr(e,t)},Bn.reduce=function(e,t,n){var r=qo(e)?jt:Qt,i=arguments.length<3;return r(e,us(t,4),n,i,fr)},Bn.reduceRight=function(e,t,n){var r=qo(e)?Mt:Qt,i=arguments.length<3;return r(e,us(t,4),n,i,pr)},Bn.repeat=function(e,t,n){return t=(n?ws(e,t,n):t===i)?1:_a(t),Yr(wa(e),t)},Bn.replace=function(){var e=arguments,t=wa(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,n){var r=-1,s=(t=wi(t,e)).length;for(s||(s=1,e=i);++r<s;){var o=null==e?i:e[Ms(t[r])];o===i&&(r=s,o=n),e=Zo(o)?o.call(e):o}return e},Bn.round=Il,Bn.runInContext=e,Bn.sample=function(e){return(qo(e)?Jn:Zr)(e)},Bn.size=function(e){if(null==e)return 0;if(Go(e))return ua(e)?pn(e):e.length;var t=gs(e);return t==C||t==P?e.size:Mr(e).length},Bn.snakeCase=Ja,Bn.some=function(e,t,n){var r=qo(e)?Ut:oi;return n&&ws(e,t,n)&&(t=i),r(e,us(t,3))},Bn.sortedIndex=function(e,t){return ai(e,t)},Bn.sortedIndexBy=function(e,t,n){return li(e,t,us(n,2))},Bn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ai(e,t);if(r<n&&$o(e[r],t))return r}return-1},Bn.sortedLastIndex=function(e,t){return ai(e,t,!0)},Bn.sortedLastIndexBy=function(e,t,n){return li(e,t,us(n,2),!0)},Bn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=ai(e,t,!0)-1;if($o(e[n],t))return n}return-1},Bn.startCase=Za,Bn.startsWith=function(e,t,n){return e=wa(e),n=null==n?0:lr(_a(n),0,e.length),t=hi(t),e.slice(n,n+t.length)==t},Bn.subtract=kl,Bn.sum=function(e){return e&&e.length?Xt(e,ll):0},Bn.sumBy=function(e,t){return e&&e.length?Xt(e,us(t,2)):0},Bn.template=function(e,t,n){var r=Bn.templateSettings;n&&ws(e,t,n)&&(t=i),e=wa(e),t=Ta({},t,r,es);var s,o,a=Ta({},t.imports,r.imports,es),l=La(a),c=en(a,l),u=0,h=t.interpolate||Ee,d="__p += '",f=Ie((t.escape||Ee).source+"|"+h.source+"|"+(h===ee?pe:Ee).source+"|"+(t.evaluate||Ee).source+"|$","g"),p="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++at+"]")+"\n";e.replace(f,(function(t,n,r,i,a,l){return r||(r=i),d+=e.slice(u,l).replace(Se,an),n&&(s=!0,d+="' +\n__e("+n+") +\n'"),a&&(o=!0,d+="';\n"+a+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),d+="';\n";var m=Le.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new Te("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(o?d.replace(W,""):d).replace(q,"$1").replace(K,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
74\n")+d+"return __p\n}";var g=rl((function(){return Ce(l,p+"return "+d).apply(i,c)}));if(g.source=d,Jo(g))throw g;return g},Bn.times=function(e,t){if((e=_a(e))<1||e>p)return[];var n=g,r=bn(e,g);t=us(t),e-=g;for(var i=Yt(r,t);++n<e;)t(n);return i},Bn.toFinite=ga,Bn.toInteger=_a,Bn.toLength=va,Bn.toLower=function(e){return wa(e).toLowerCase()},Bn.toNumber=ya,Bn.toSafeInteger=function(e){return e?lr(_a(e),-9007199254740991,p):0===e?e:0},Bn.toString=wa,Bn.toUpper=function(e){return wa(e).toUpperCase()},Bn.trim=function(e,t,n){if((e=wa(e))&&(n||t===i))return Jt(e);if(!e||!(t=hi(t)))return e;var r=mn(e),s=mn(t);return Si(r,nn(r,s),rn(r,s)+1).join("")},Bn.trimEnd=function(e,t,n){if((e=wa(e))&&(n||t===i))return e.slice(0,gn(e)+1);if(!e||!(t=hi(t)))return e;var r=mn(e);return Si(r,0,rn(r,mn(t))+1).join("")},Bn.trimStart=function(e,t,n){if((e=wa(e))&&(n||t===i))return e.replace(oe,"");if(!e||!(t=hi(t)))return e;var r=mn(e);return Si(r,nn(r,mn(t))).join("")},Bn.truncate=function(e,t){var n=30,r="...";if(ra(t)){var s="separator"in t?t.separator:s;n="length"in t?_a(t.length):n,r="omission"in t?hi(t.omission):r}var o=(e=wa(e)).length;if(ln(e)){var a=mn(e);o=a.length}if(n>=o)return e;var l=n-pn(r);if(l<1)return r;var c=a?Si(a,0,l).join(""):e.slice(0,l);if(s===i)return c+r;if(a&&(l+=c.length-l),la(s)){if(e.slice(l).search(s)){var u,h=c;for(s.global||(s=Ie(s.source,wa(me.exec(s))+"g")),s.lastIndex=0;u=s.exec(h);)var d=u.index;c=c.slice(0,d===i?l:d)}}else if(e.indexOf(hi(s),l)!=l){var f=c.lastIndexOf(s);f>-1&&(c=c.slice(0,f))}return c+r},Bn.unescape=function(e){return(e=wa(e))&&X.test(e)?e.replace(G,_n):e},Bn.uniqueId=function(e){var t=++je;return wa(e)+t},Bn.upperCase=el,Bn.upperFirst=tl,Bn.each=bo,Bn.eachRight=wo,Bn.first=Ks,dl(Bn,(xl={},Er(Bn,(function(e,t){Le.call(Bn.prototype,t)||(xl[t]=e)})),xl),{chain:!1}),Bn.VERSION="4.17.21",kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),kt(["drop","take"],(function(e,t){Wn.prototype[e]=function(n){n=n===i?1:yn(_a(n),0);var r=this.__filtered__&&!t?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=bn(n,r.__takeCount__):r.__views__.push({size:bn(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Wn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),kt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Wn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:us(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),kt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}})),kt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Wn.prototype[e]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(ll)},Wn.prototype.find=function(e){return this.filter(e).head()},Wn.prototype.findLast=function(e){return this.reverse().find(e)},Wn.prototype.invokeMap=Jr((function(e,t){return"function"==typeof e?new Wn(this):this.map((function(n){return Rr(n,e,t)}))})),Wn.prototype.reject=function(e){return this.filter(jo(us(e)))},Wn.prototype.slice=function(e,t){e=_a(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Wn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=_a(t))<0?n.dropRight(-t):n.take(t-e)),n)},Wn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wn.prototype.toArray=function(){return this.take(g)},Er(Wn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),s=Bn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);s&&(Bn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,l=t instanceof Wn,c=a[0],u=l||qo(t),h=function(e){var t=s.apply(Bn,Lt([e],a));return r&&d?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,f=!!this.__actions__.length,p=o&&!d,m=l&&!f;if(!o&&u){t=m?t:new Wn(this);var g=e.apply(t,a);return g.__actions__.push({func:mo,args:[h],thisArg:i}),new Hn(g,d)}return p&&m?e.apply(this,a):(g=this.thru(h),p?r?g.value()[0]:g.value():g)})}
74)),kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ne[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(qo(i)?i:[],e)}return this[n]((function(n){return t.apply(qo(n)?n:[],e)}))}})),Er(Wn.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";Le.call(Rn,r)||(Rn[r]=[]),Rn[r].push({name:t,func:n})}})),Rn[$i(i,2).name]=[{name:"wrapper",func:i}],Wn.prototype.clone=function(){var e=new Wn(this.__wrapped__);return e.__actions__=Ni(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ni(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ni(this.__views__),e},Wn.prototype.reverse=function(){if(this.__filtered__){var e=new Wn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=qo(e),r=t<0,i=n?e.length:0,s=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var s=n[r],o=s.size;switch(s.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=bn(t,e+o);break;case"takeRight":e=yn(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=s.start,a=s.end,l=a-o,c=r?a:o-1,u=this.__iteratees__,h=u.length,d=0,f=bn(l,this.__takeCount__);if(!n||!r&&i==l&&f==l)return gi(e,this.__actions__);var p=[];e:for(;l--&&d<f;){for(var m=-1,g=e[c+=t];++m<h;){var _=u[m],v=_.iteratee,y=_.type,b=v(g);if(2==y)g=b;else if(!b){if(1==y)continue e;break e}}p[d++]=g}return p},Bn.prototype.at=go,Bn.prototype.chain=function(){return po(this)},Bn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===i&&(this.__values__=ma(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,n=this;n instanceof zn;){var r=Vs(n);r.__index__=0,r.__values__=i,t?s.__wrapped__=r:t=r;var s=r;n=n.__wrapped__}return s.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wn){var t=e;return this.__actions__.length&&(t=new Wn(this)),(t=t.reverse()).__actions__.push({func:mo,args:[to],thisArg:i}),new Hn(t,this.__chain__)}return this.thru(to)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return gi(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Je&&(Bn.prototype[Je]=function(){return this}),Bn}();mt._=vn,(r=(function(){return vn}).call(t,n,t,e))===i||(e.exports=r)}).call(this)},1880:function(e,t){var n,r,i;r=[],n=function e(){var t,n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:{},r=!n.document&&!!n.postMessage,i=n.IS_PAPA_WORKER||!1,s={},o=0,a={};function l(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(e){var t=y(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new f(t),(this._handle.streamer=this)._config=t}).call(this,e),this.parseChunk=function(e,t){var r=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<r){let t=this._config.newline;t||(s=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,s)),e=[...e.split(t).slice(r)].join(t)}this.isFirstChunk&&w(this._config.beforeFirstChunk)&&void 0!==(s=this._config.beforeFirstChunk(e))&&(e=s),this.isFirstChunk=!1,this._halted=!1,r=this._partialLine+e;var s=(this._partialLine="",this._handle.parse(r,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=s.meta.cursor,this._finished||(this._partialLine=r.substring(e-this._baseIndex),this._baseIndex=e),s&&s.data&&(this._rowCount+=s.data.length),r=this._finished||this._config.preview&&this._rowCount>=this._config.preview,i)n.postMessage({results:s,workerId:a.WORKER_ID,finished:r});else if(w(this._config.chunk)&&!t){if(this._config.chunk(s,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=s=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(s.data),this._completeResults.errors=this._completeResults.errors.concat(s.errors),this._completeResults.meta=s.meta),this._completed||!r||!w(this._config.complete)||s&&s.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),r||s&&s.meta.paused||this._nextChunk(),s}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):i&&this._config.error&&n.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),l.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadRequestHeaders){var e,n=this._config.downloadRequestHeaders;for(e in n)t.setRequestHeader(e,n[e])}var i;this._config.chunkSize&&(i=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+i));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(e=>null!==(e=e.getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1)(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(new Error(e))}}function u(e){(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),l.call(this,e);var t,n,r="undefined"!=typeof FileReader;
vendor: 6,735 bytes, line 74
74this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,i=(this._config.chunkSize&&(i=Math.min(this._start+this._config.chunkSize,this._input.size),e=n.call(e,this._start,i)),t.readAsText(e,this._config.encoding));r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function h(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,n;if(!this._finished)return e=this._config.chunkSize,t=e?(n=t.substring(0,e),t.substring(e)):(n=t,""),this._finished=!t,this.parseChunk(n)}}function d(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=b((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=b((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=b((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=b((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,i,s=Math.pow(2,53),o=-s,l=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,c=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,u=this,h=0,d=0,f=!1,g=!1,_=[],v={data:[],errors:[],meta:{}};function b(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function E(){if(v&&r&&(T("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(v.data=v.data.filter((function(e){return!b(e)}))),S()){if(v)if(Array.isArray(v.data[0])){for(var t=0;S()&&t<v.data.length;t++)v.data[t].forEach(n);v.data.splice(0,1)}else v.data.forEach(n);function n(t,n){w(e.transformHeader)&&(t=e.transformHeader(t,n)),_.push(t)}}function i(t,n){for(var r=e.header?{}:[],i=0;i<t.length;i++){var a=i,u=t[i];u=((t,n)=>(t=>(e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping)))(t)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&((e=>{if(l.test(e)&&(e=parseFloat(e),o<e&&e<s))return 1})(n)?parseFloat(n):c.test(n)?new Date(n):""===n?null:n):n)(a=e.header?i>=_.length?"__parsed_extra":_[i]:a,u=e.transform?e.transform(u,a):u),"__parsed_extra"===a?(r[a]=r[a]||[],r[a].push(u)):r[a]=u}return e.header&&(i>_.length?T("FieldMismatch","TooManyFields","Too many fields: expected "+_.length+" fields but parsed "+i,d+n):i<_.length&&T("FieldMismatch","TooFewFields","Too few fields: expected "+_.length+" fields but parsed "+i,d+n)),r}var u;v&&(e.header||e.dynamicTyping||e.transform)&&(u=1,!v.data.length||Array.isArray(v.data[0])?(v.data=v.data.map(i),u=v.data.length):v.data=i(v.data,0),e.header&&v.meta&&(v.meta.fields=_),d+=u)}function S(){return e.header&&0===_.length}function T(e,t,n,r){e={type:e,code:t,message:n},void 0!==r&&(e.row=r),v.errors.push(e)}w(e.step)&&(i=e.step,e.step=function(t){v=t,S()?E():(E(),0!==v.data.length&&(h+=t.data.length,e.preview&&h>e.preview?n.abort():(v.data=v.data[0],i(v,u))))}),this.parse=function(i,s,o){var l=e.quoteChar||'"';return e.newline||(e.newline=this.guessLineEndings(i,l)),r=!1,e.delimiter?w(e.delimiter)&&(e.delimiter=e.delimiter(i),v.meta.delimiter=e.delimiter):((l=((t,n,r,i,s)=>{var o,l,c,u;s=s||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var h=0;h<s.length;h++){for(var d,f=s[h],p=0,g=0,_=0,v=(c=void 0,new m({comments:i,delimiter:f,newline:n,preview:10}).parse(t)),y=0;y<v.data.length;y++)r&&b(v.data[y])?_++:(g+=d=v.data[y].length,void 0===c?c=d:0<d&&(p+=Math.abs(d-c),c=d));0<v.data.length&&(g/=v.data.length-_),(void 0===l||p<=l)&&(void 0===u||u<g)&&1.99<g&&(l=p,o=f,u=g)}return{successful:!!(e.delimiter=o),bestDelimiter:o}})(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=l.bestDelimiter:(r=!0,e.delimiter=a.DefaultDelimiter),v.meta.delimiter=e.delimiter),l=y(e),e.preview&&e.header&&l.preview++,t=i,n=new m(l),v=n.parse(t,s,o),E(),f?{meta:{paused:!0}}:v||{meta:{paused:!1}}},this.paused=function(){return f},this.pause=function(){f=!0,n.abort(),t=w(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){u.streamer._halted?(f=!1,u.streamer.parseChunk(t,!0)):setTimeout(u.resume,3)},this.aborted=function(){return g},this.abort=function(){g=!0,n.abort(),v.meta.aborted=!0,w(e.complete)&&e.complete(v),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576),t=new RegExp(p(t)+"([^]*?)"+p(t),"gm");var n=(e=e.replace(t,"")).split("\r");if(e=1<(t=e.split("\n")).length&&t[0].length<n[0].length,1===n.length||e)return"\n";for(var r=0,i=0;i<n.length;i++)"\n"===n[i][0]&&r++;return r>=n.length/2?"\r\n":"\r"}}function p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){var t=(e=e||{}).delimiter,n=e.newline,r=e.comments,i=e.step,s=e.preview,o=e.fastMode,l=null,c=!1,u=null==e.quoteChar?'"':e.quoteChar,h=u;if(void 0!==e.escapeChar&&(h=e.escapeChar),("string"!=typeof t||-1<a.BAD_DELIMITERS.indexOf(t))&&(t=","),r===t)throw new Error("Comment character same as delimiter");!0===r?r="#":("string"!=typeof r||-1<a.BAD_DELIMITERS.indexOf(r))&&(r=!1),"\n"!==n&&"\r"!==n&&"\r\n"!==n&&(n="\n");var d=0,f=!1;this.parse=function(a,m,g){if("string"!=typeof a)throw new Error("Input must be a string");var _=a.length,v=t.length,y=n.length,b=r.length,E=w(i),S=[],T=[],C=[],x=d=0;if(!a)return M();if(o||!1!==o&&-1===a.indexOf(u)){for(var A=a.split(n),I=0;I<A.length;
vendor: 4,381 bytes, line 74
74I++){if(C=A[I],d+=C.length,I!==A.length-1)d+=n.length;else if(g)return M();if(!r||C.substring(0,b)!==r){if(E){if(S=[],D(C.split(t)),U(),f)return M()}else D(C.split(t));if(s&&s<=I)return S=S.slice(0,s),M(!0)}}return M()}for(var k=a.indexOf(t,d),P=a.indexOf(n,d),N=new RegExp(p(h)+p(u),"g"),R=a.indexOf(u,d);;)if(a[d]===u)for(R=d,d++;;){if(-1===(R=a.indexOf(u,R+1)))return g||T.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:S.length,index:d}),L();if(R===_-1)return L(a.substring(d,R).replace(N,u));if(u===h&&a[R+1]===h)R++;else if(u===h||0===R||a[R-1]!==h){-1!==k&&k<R+1&&(k=a.indexOf(t,R+1));var O=F(-1===(P=-1!==P&&P<R+1?a.indexOf(n,R+1):P)?k:Math.min(k,P));if(a.substr(R+1+O,v)===t){C.push(a.substring(d,R).replace(N,u)),a[d=R+1+O+v]!==u&&(R=a.indexOf(u,d)),k=a.indexOf(t,d),P=a.indexOf(n,d);break}if(O=F(P),a.substring(R+1+O,R+1+O+y)===n){if(C.push(a.substring(d,R).replace(N,u)),j(R+1+O+y),k=a.indexOf(t,d),R=a.indexOf(u,d),E&&(U(),f))return M();if(s&&S.length>=s)return M(!0);break}T.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:S.length,index:d}),R++}}else if(r&&0===C.length&&a.substring(d,d+b)===r){if(-1===P)return M();d=P+y,P=a.indexOf(n,d),k=a.indexOf(t,d)}else if(-1!==k&&(k<P||-1===P))C.push(a.substring(d,k)),d=k+v,k=a.indexOf(t,d);else{if(-1===P)break;if(C.push(a.substring(d,P)),j(P+y),E&&(U(),f))return M();if(s&&S.length>=s)return M(!0)}return L();function D(e){S.push(e),x=d}function F(e){var t=0;return-1!==e&&(e=a.substring(R+1,e))&&""===e.trim()?e.length:t}function L(e){return g||(void 0===e&&(e=a.substring(d)),C.push(e),d=_,D(C),E&&U()),M()}function j(e){d=e,D(C),C=[],P=a.indexOf(n,d)}function M(r){if(e.header&&!m&&S.length&&!c){var i=S[0],s={},o=new Set(i);let t=!1;for(let n=0;n<i.length;n++){let r=i[n];if(s[r=w(e.transformHeader)?e.transformHeader(r,n):r]){let e,a=s[r];for(;e=r+"_"+a,a++,o.has(e););o.add(e),i[n]=e,s[r]++,t=!0,(l=null===l?{}:l)[e]=r}else s[r]=1,i[n]=r;o.add(r)}t&&console.warn("Duplicate headers found and renamed."),c=!0}return{data:S,errors:T,meta:{delimiter:t,linebreak:n,aborted:f,truncated:!!r,cursor:x+(m||0),renamedHeaders:l}}}function U(){i(M()),S=[],T=[]}},this.abort=function(){f=!0},this.getCharIndex=function(){return d}}function g(e){var t=e.data,n=s[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,_(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(w(n.userStep)){for(var o=0;o<t.results.data.length&&(n.userStep({data:t.results.data[o],errors:t.results.errors,meta:t.results.meta},i),!r);o++);delete t.results}else w(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&_(t.workerId,t.results)}function _(e,t){var n=s[e];w(n.userComplete)&&n.userComplete(t),n.terminate(),delete s[e]}function v(){throw new Error("Not implemented.")}function y(e){if("object"!=typeof e||null===e)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=y(e[t]);return n}function b(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return a.parse=function(t,r){var i=(r=r||{}).dynamicTyping||!1;if(w(i)&&(r.dynamicTypingFunction=i,i={}),r.dynamicTyping=i,r.transform=!!w(r.transform)&&r.transform,!r.worker||!a.WORKERS_SUPPORTED)return i=null,a.NODE_STREAM_INPUT,"string"==typeof t?(t=(e=>65279!==e.charCodeAt(0)?e:e.slice(1))(t),i=new(r.download?c:h)(r)):!0===t.readable&&w(t.read)&&w(t.on)?i=new d(r):(n.File&&t instanceof File||t instanceof Object)&&(i=new u(r)),i.stream(t);(i=(()=>{var t;return!!a.WORKERS_SUPPORTED&&(t=(()=>{var t=n.URL||n.webkitURL||null,r=e.toString();return a.BLOB_URL||(a.BLOB_URL=t.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))})(),(t=new n.Worker(t)).onmessage=g,t.id=o++,s[t.id]=t)})()).userStep=r.step,i.userChunk=r.chunk,i.userComplete=r.complete,i.userError=r.error,r.step=w(r.step),r.chunk=w(r.chunk),r.complete=w(r.complete),r.error=w(r.error),delete r.worker,i.postMessage({input:t,config:r,workerId:i.id})},a.unparse=function(e,t){var n=!1,r=!0,i=",",s="\r\n",o='"',l=o+o,c=!1,u=null,h=!1,d=((()=>
74{if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(i=t.delimiter),"boolean"!=typeof t.quotes&&"function"!=typeof t.quotes&&!Array.isArray(t.quotes)||(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(s=t.newline),"string"==typeof t.quoteChar&&(o=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+o),t.escapeFormulae instanceof RegExp?h=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(h=/^[=+\-@\t\r].*$/)}})(),new RegExp(p(o),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var o="",a=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),l=!Array.isArray(t[0]);if(a&&r){for(var c=0;c<e.length;c++)0<c&&(o+=i),o+=m(e[c],c);0<t.length&&(o+=s)}for(var u=0;u<t.length;u++){var h=(a?e:t[u]).length,d=!1,f=a?0===Object.keys(t[u]).length:0===t[u].length;if(n&&!a&&(d="greedy"===n?""===t[u].join("").trim():1===t[u].length&&0===t[u][0].length),"greedy"===n&&a){for(var p=[],g=0;g<h;g++){var _=l?e[g]:g;p.push(t[u][_])}d=""===p.join("").trim()}if(!d){for(var v=0;v<h;v++){0<v&&!f&&(o+=i);var y=a&&l?e[v]:v;o+=m(t[u][y],v)}u<t.length-1&&(!n||0<h&&!f)&&(o+=s)}}return o}function m(e,t){var r,s;return null==e?"":e.constructor===Date?JSON.stringify(e).slice(1,25):(s=!1,h&&"string"==typeof e&&h.test(e)&&(e="'"+e,s=!0),r=e.toString().replace(d,l),(s=s||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||((e,t)=>{for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1})(r,a.BAD_DELIMITERS)||-1<r.indexOf(i)||" "===r.charAt(0)||" "===r.charAt(r.length-1))?o+r+o:r)}},a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!r&&!!n.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=m,a.ParserHandle=f,a.NetworkStreamer=c,a.FileStreamer=u,a.StringStreamer=h,a.ReadableStreamStreamer=d,n.jQuery&&((t=n.jQuery).fn.parse=function(e){var r=e.config||{},i=[];return this.each((function(e){if("INPUT"!==t(this).prop("tagName").toUpperCase()||"file"!==t(this).attr("type").toLowerCase()||!n.FileReader||!this.files||0===this.files.length)return!0;for(var s=0;s<this.files.length;s++)i.push({file:this.files[s],inputElem:this,instanceConfig:t.extend({},r)})})),s(),this;function s(){if(0===i.length)w(e.complete)&&e.complete();else{var n,r,s,l,c=i[0];if(w(e.before)){var u=e.before(c.file,c.inputElem);if("object"==typeof u){if("abort"===u.action)return n="AbortError",r=c.file,s=c.inputElem,l=u.reason,void(w(e.error)&&e.error({name:n},r,s,l));if("skip"===u.action)return void o();"object"==typeof u.config&&(c.instanceConfig=t.extend(c.instanceConfig,u.config))}else if("skip"===u)return void o()}var h=c.instanceConfig.complete;c.instanceConfig.complete=function(e){w(h)&&h(e,c.file,c.inputElem),o()},a.parse(c.file,c.instanceConfig)}}function o(){i.splice(0,1),s()}}),i&&(n.onmessage=function(e){e=e.data,void 0===a.WORKER_ID&&e&&(a.WORKER_ID=e.workerId),"string"==typeof e.input?n.postMessage({workerId:a.WORKER_ID,results:a.parse(e.input,e.config),finished:!0}):(n.File&&e.input instanceof File||e.input instanceof Object)&&(e=a.parse(e.input,e.config))&&n.postMessage({workerId:a.WORKER_ID,results:e,finished:!0})}),(c.prototype=Object.create(l.prototype)).constructor=c,(u.prototype=Object.create(l.prototype)).constructor=u,(h.prototype=Object.create(h.prototype)).constructor=h,(d.prototype=Object.create(l.prototype)).constructor=d,a},void 0===(i="function"==typeof n?n.apply(t,r):n)||(e.exports=i)},9942:e=>{"use strict";function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,s=-1,o=0,a=0;a<=e.length;++a){if(a<e.length)n=e.charCodeAt(a);else{if(47===n)break;n=47}if(47===n){if(s===a-1||1===o);else if(s!==a-1&&2===o){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),s=a,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,s=a,o=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(s+1,a):r=e.slice(s+1,a),i=a-s-1;s=a,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var o;s>=0?o=arguments[s]:(void 0===e&&(e=process.cwd()),o=e),t(o),0!==o.length&&(r=o+"/"+r,i=47===o.charCo
74deAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var i=arguments[n];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var s=e.length,o=s-i,a=1;a<n.length&&47===n.charCodeAt(a);++a);for(var l=n.length-a,c=o<l?o:l,u=-1,h=0;h<=c;++h){if(h===c){if(l>c){if(47===n.charCodeAt(a+h))return n.slice(a+h+1);if(0===h)return n.slice(a+h)}else o>c&&(47===e.charCodeAt(i+h)?u=h:0===h&&(u=0));break}var d=e.charCodeAt(i+h);if(d!==n.charCodeAt(a+h))break;47===d&&(u=h)}var f="";for(h=i+u+1;h<=s;++h)h!==s&&47!==e.charCodeAt(h)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(a+u):(a+=u,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,s=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!s){i=o;break}}else s=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,s=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!o){i=r+1;break}}else-1===l&&(o=!1,l=r+1),a>=0&&(c===n.charCodeAt(a)?-1==--a&&(s=r):(a=-1,s=l))}return i===s?s=l:-1===s&&(s=e.length),e.slice(i,s)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else-1===s&&(o=!1,s=r+1);return-1===s?"":e.slice(i,s)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,s=!0,o=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(s=!1,i=a+1),46===l?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1);else if(!s){r=a+1;break}}return-1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),s=47===i;s?(n.root="/",r=1):r=0;for(var o=-1,a=0,l=-1,c=!0,u=e.length-1,h=0;u>=r;--u)if(47!==(i=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===i?-1===o?o=u:1!==h&&(h=1):-1!==o&&(h=-1);else if(!c){a=u+1;break}return-1===o||-1===l||0===h||1===h&&o===l-1&&o===a+1?-1!==l&&(n.base=n.name=0===a&&s?e.slice(1,l):e.slice(a,l)):(0===a&&s?(n.name=e.slice(1,o),n.base=e.slice(1,l)):(n.name=e.slice(a,o),n.base=e.slice(a,l)),n.ext=e.slice(o,l)),a>0?n.dir=e.slice(0,a-1):s&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},2499:()=>{Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},758:()=>{Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?
74:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},7641:(e,t,n)=>{var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof s?new s(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,s;switch(n=n||{},i.util.type(t)){case"Object":if(s=i.util.objId(t),n[s])return n[s];for(var o in r={},n[s]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case"Array":return s=i.util.objId(t),n[s]?n[s]:(r=[],n[s]=r,t.forEach((function(t,i){r[i]=e(t,n)}
vendor: 5,025 bytes, line 74
74)),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var s=(r=r||i.languages)[e],o={};for(var a in s)if(s.hasOwnProperty(a)){if(a==t)for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l]);n.hasOwnProperty(a)||(o[a]=s[a])}var c=r[e];return r[e]=o,i.languages.DFS(i.languages,(function(t,n){n===c&&t!=e&&(this[t]=o)})),o},DFS:function e(t,n,r,s){s=s||{};var o=i.util.objId;for(var a in t)if(t.hasOwnProperty(a)){n.call(t,a,t[a],r||a);var l=t[a],c=i.util.type(l);"Object"!==c||s[o(l)]?"Array"!==c||s[o(l)]||(s[o(l)]=!0,e(l,n,a,s)):(s[o(l)]=!0,e(l,n,null,s))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var s,o=0;s=r.elements[o++];)i.highlightElement(s,!0===t,r.callback)},highlightElement:function(t,n,r){var s=i.util.getLanguage(t),o=i.languages[s];i.util.setLanguage(t,s);var a=t.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&i.util.setLanguage(a,s);var l={element:t,language:s,grammar:o,code:t.textContent};function c(e){l.highlightedCode=e,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),r&&r.call(l.element)}if(i.hooks.run("before-sanity-check",l),(a=l.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!l.code)return i.hooks.run("complete",l),void(r&&r.call(l.element));if(i.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(i.highlight(l.code,l.grammar,l.language));else c(i.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),s.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new l;return c(i,i.head,e),a(e,i,t,i.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,s=0;r=n[s++];)r(t)}},Token:s};function s(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var s=i[1].length;i.index+=s,i[0]=i[0].slice(s)}return i}function a(e,t,n,r,l,h){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var f=n[d];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(h&&h.cause==d+","+p)return;var m=f[p],g=m.inside,_=!!m.lookbehind,v=!!m.greedy,y=m.alias;if(v&&!m.pattern.global){var b=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,b+"g")}for(var w=m.pattern||m,E=r.next,S=l;E!==t.tail&&!(h&&S>=h.reach);S+=E.value.length,E=E.next){var T=E.value;if(t.length>e.length)return;if(!(T instanceof s)){var C,x=1;if(v){if(!(C=o(w,S,e,_))||C.index>=e.length)break;var A=C.index,I=C.index+C[0].length,k=S;for(k+=E.value.length;A>=k;)k+=(E=E.next).value.length;if(S=k-=E.value.length,E.value instanceof s)continue;for(var P=E;P!==t.tail&&(k<I||"string"==typeof P.value);P=P.next)x++,k+=P.value.length;x--,T=e.slice(S,k),C.index-=S}else if(!(C=o(w,0,T,_)))continue;A=C.index;var N=C[0],R=T.slice(0,A),O=T.slice(A+N.length),D=S+T.length;h&&D>h.reach&&(h.reach=D);var F=E.prev;if(R&&(F=c(t,F,R),S+=R.length),u(t,F,x),E=c(t,F,new s(d,g?i.tokenize(N,g):N,y,N)),O&&c(t,E,O),x>1){var L={cause:d+","+p,reach:D};a(e,t,n,E.prev,S,L),h&&L.reach>h.reach&&(h.reach=L.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}
vendor: 3,506 bytes, line 74
74function c(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function u(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=i,s.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var s={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(s.classes,o):s.classes.push(o)),i.hooks.run("wrap",s);var a="";for(var l in s.attributes)a+=" "+l+'="'+(s.attributes[l]||"").replace(/"/g,""")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'"'+a+">"+s.content+"</"+s.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,s=n.code,o=n.immediateClose;e.postMessage(i.highlight(s,i.languages[r],r)),o&&e.close()}),!1),i):i;var h=i.util.currentScript();function d(){i.manual||i.highlightAll()}if(h&&(i.filename=h.src,h.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var f=document.readyState;"loading"===f||"interactive"===f&&h&&h.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};i["language-"+t]={pattern:/[\s\S]+/,inside:r.languages[t]};var s={};s[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:i},r.languages.insertBefore("markup","cdata",s
vendor: 7,708 bytes, line 74
74)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(e,t){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:r.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(void 0!==r&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",
vendor: 1,814 bytes, line 74
74i="loaded",s="pre[data-src]:not(["+t+'="'+i+'"]):not(['+t+'="'+n+'"])';r.hooks.add("before-highlightall",(function(e){e.selector+=", "+s})),r.hooks.add("before-sanity-check",(function(o){var a=o.element;if(a.matches(s)){o.code="",a.setAttribute(t,n);var l=a.appendChild(document.createElement("CODE"));l.textContent="Loading\u2026";var c=a.getAttribute("data-src"),u=o.language;if("none"===u){var h=(/\.(\w+)$/.exec(c)||[,"none"])[1];u=e[h]||h}r.util.setLanguage(l,u),r.util.setLanguage(a,u);var d=r.plugins.autoloader;d&&d.loadLanguages(u),function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status<400&&r.responseText?t(r.responseText):r.status>=400?n(function(e,t){return"\u2716 Error "+e+" while fetching file: "+t}(r.status,r.statusText)):n("\u2716 Error: File does not exist or is empty"))},r.send(null)}(c,(function(e){a.setAttribute(t,i);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}(a.getAttribute("data-range"));if(n){var s=e.split(/\r\n?|\n/g),o=n[0],c=null==n[1]?s.length:n[1];o<0&&(o+=s.length),o=Math.max(0,Math.min(o-1,s.length)),c<0&&(c+=s.length),c=Math.max(0,Math.min(c,s.length)),e=s.slice(o,c).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(o+1))}l.textContent=e,r.highlightElement(l)}),(function(e){a.setAttribute(t,"failed"),l.textContent=e}))}})),r.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(s),i=0;t=n[i++];)r.highlightElement(t)}};var o=!1;r.fileHighlight=function(){o||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),o=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}
74,6999:(e,t,n)=>{"use strict";var r=n(6848);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,s,o){if(o!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i};return n.PropTypes=n,n}},9067:(e,t,n)=>{e.exports=n(6999)()},6848:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1293:e=>{"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,i=/^\d/,s=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,o=/^\s*(['"]?)(.*?)(\1)\s*$/,a=new t(512),l=new t(512),c=new t(512);function u(e){return a.get(e)||a.set(e,h(e).map((function(e){return e.replace(o,"$2")})))}function h(e){return e.match(n)||[""]}function d(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function f(e){return!d(e)&&(function(e){return e.match(i)&&!e.match(r)}(e)||function(e){return s.test(e)}(e))}e.exports={Cache:t,split:h,normalizePath:u,setter:function(e){var t=u(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,i=t.length,s=e;r<i-1;){var o=t[r];if("__proto__"===o||"constructor"===o||"prototype"===o)return e;s=s[t[r++]]}s[t[r]]=n}))},getter:function(e,t){var n=u(e);return c.get(e)||c.set(e,(function(e){for(var r=0,i=n.length;r<i;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(d(t)||r.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,i,s,o,a=e.length;for(i=0;i<a;i++)(r=e[i])&&(f(r)&&(r='"'+r+'"'),s=!(o=d(r))&&/^\d+$/.test(r),t.call(n,r,o,s,i,e))}(Array.isArray(e)?e:h(e),t,n)}}},7400:(e,t,n)=>{"use strict";var r=n(4041),i=n(7967);function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,a={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(a[e]=t,e=0;e<t.length;e++)o.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),h=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},p={};function m(e,t,n,r,i,s,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)}
vendor: 10,280 bytes, line 74
74)),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var _=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function y(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!h.call(p,e)||!h.call(f,e)&&(d.test(e)?p[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(_,v);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(_,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(_,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),E=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),A=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var O=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var D=Symbol.iterator;function F(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=D&&e[D]||e["@@iterator"])?e:null}var L,j=Object.assign;function M(e){if(void 0===L)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var U=!1;function V(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(var i=c.stack.split("\n"),s=r.stack.split("\n"),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(1!==o||1!==a)do{if(o--,0>--a||i[o]!==s[a]){var l="\n"+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=o&&0<=a);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?M(e):""}function B(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case E:return"Portal";case C:return"Profiler";case T:return"StrictMode";case k:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case x:return(e._context.displayName||"Context")+".Provider";case I:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return $(e(t))}catch(n){}}return null}function z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===T?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,s.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return j({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function J(e,t){Y(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(s(91));return j({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(s(92));
vendor: 3,311 bytes, line 74
74if(te(n)){if(1<n.length)throw Error(s(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function se(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ae(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ae(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,he=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(fe).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var _e=j({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(_e[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(s(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(s(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(s(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var be=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 5,926 bytes, line 74
74odeType?e.parentNode:e}var Ee=null,Se=null,Te=null;function Ce(e){if(e=bi(e)){if("function"!=typeof Ee)throw Error(s(280));var t=e.stateNode;t&&(t=Ei(t),Ee(e.stateNode,e.type,t))}}function xe(e){Se?Te?Te.push(e):Te=[e]:Se=e}function Ae(){if(Se){var e=Se,t=Te;if(Te=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Ie(e,t){return e(t)}function ke(){}var Pe=!1;function Ne(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Ie(e,t,n)}finally{Pe=!1,(null!==Se||null!==Te)&&(ke(),Ae())}}function Re(e,t){var n=e.stateNode;if(null===n)return null;var r=Ei(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(s(231,t,typeof n));return n}var Oe=!1;if(u)try{var De={};Object.defineProperty(De,"passive",{get:function(){Oe=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(ue){Oe=!1}function Fe(e,t,n,r,i,s,o,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Le=!1,je=null,Me=!1,Ue=null,Ve={onError:function(e){Le=!0,je=e}};function Be(e,t,n,r,i,s,o,a,l){Le=!1,je=null,Fe.apply(Ve,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if($e(e)!==e)throw Error(s(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(s(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return He(i),e;if(o===r)return He(i),t;o=o.sibling}throw Error(s(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(3!==n.tag)throw Error(s(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ke=i.unstable_scheduleCallback,Ge=i.unstable_cancelCallback,Qe=i.unstable_shouldYield,Xe=i.unstable_requestPaint,Ye=i.unstable_now,Je=i.unstable_getCurrentPriorityLevel,Ze=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,st=null;var ot=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(at(e)/lt|0)|0},at=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function ht(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=268435455&n;if(0!==o){var a=o&~i;0!==a?r=ht(a):0!==(s&=o)&&(r=ht(s))}else 0!==(o=n&~i)?r=ht(o):0!==s&&(r=ht(s));if(0===r)return 0;if(0!==t&&t!==r&&!(t&i)&&((i=r&-r)>=(s=t&-t)||16===i&&4194240&s))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-ot(t)),r|=e[n],t&=~i;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function _t(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var yt=0;function bt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,Et,St,Tt,Ct,xt=!1,At=[],It=null,kt=null,Pt=null,Nt=new Map,Rt=new Map,Ot=[],Dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ft(e,t){switch(e){case"focusin":case"focusout":It=null;break;case"dragenter":case"dragleave":kt=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function Lt(e,t,n,r,i,s){return null===e||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},null!==t&&(null!==(t=bi(t))&&Et(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function jt(e){var t=yi(e.target);if(null!==t){var n=$e(t);
vendor: 5,370 bytes, line 74
74if(null!==n)if(13===(t=n.tag)){if(null!==(t=ze(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&Et(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function Ut(e,t,n){Mt(e)&&n.delete(t)}function Vt(){xt=!1,null!==It&&Mt(It)&&(It=null),null!==kt&&Mt(kt)&&(kt=null),null!==Pt&&Mt(Pt)&&(Pt=null),Nt.forEach(Ut),Rt.forEach(Ut)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,xt||(xt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Vt)))}function $t(e){function t(t){return Bt(t,e)}if(0<At.length){Bt(At[0],e);for(var n=1;n<At.length;n++){var r=At[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==It&&Bt(It,e),null!==kt&&Bt(kt,e),null!==Pt&&Bt(Pt,e),Nt.forEach(t),Rt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)jt(n),null===n.blockedOn&&Ot.shift()}var zt=b.ReactCurrentBatchConfig,Ht=!0;function Wt(e,t,n,r){var i=yt,s=zt.transition;zt.transition=null;try{yt=1,Kt(e,t,n,r)}finally{yt=i,zt.transition=s}}function qt(e,t,n,r){var i=yt,s=zt.transition;zt.transition=null;try{yt=4,Kt(e,t,n,r)}finally{yt=i,zt.transition=s}}function Kt(e,t,n,r){if(Ht){var i=Qt(e,t,n,r);if(null===i)Wr(e,t,r,Gt,n),Ft(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return It=Lt(It,e,t,n,r,i),!0;case"dragenter":return kt=Lt(kt,e,t,n,r,i),!0;case"mouseover":return Pt=Lt(Pt,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Nt.set(s,Lt(Nt.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,Rt.set(s,Lt(Rt.get(s)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Ft(e,r),4&t&&-1<Dt.indexOf(e)){for(;null!==i;){var s=bi(i);if(null!==s&&wt(s),null===(s=Qt(e,t,n,r))&&Wr(e,t,r,Gt,n),s===i)break;i=s}null!==i&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Gt=null;function Qt(e,t,n,r){if(Gt=null,null!==(e=yi(e=we(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ze(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,i="value"in Yt?Yt.value:Yt.textContent,s=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[s-t];t++);return Zt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function sn(e){function t(t,n,r,i,s){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=s,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return j(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,an,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=sn(cn),hn=j({},cn,{view:0,detail:0}),dn=sn(hn),fn=j({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,346 bytes, line 74
74Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,an=e.screenY-ln.screenY):an=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:an}}),pn=sn(fn),mn=sn(j({},fn,{dataTransfer:0})),gn=sn(j({},hn,{relatedTarget:0})),_n=sn(j({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=j({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=sn(vn),bn=sn(j({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={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"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return Tn}var xn=j({},hn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=sn(xn),In=sn(j({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),kn=sn(j({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Pn=sn(j({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=j({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rn=sn(Nn),On=[9,13,27,32],Dn=u&&"CompositionEvent"in window,Fn=null;u&&"documentMode"in document&&(Fn=document.documentMode);var Ln=u&&"TextEvent"in window&&!Fn,jn=u&&(!Dn||Fn&&8<Fn&&11>=Fn),Mn=String.fromCharCode(32),Un=!1;function Vn(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var zn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!zn[e.type]:"textarea"===t}function Wn(e,t,n,r){xe(r),0<(t=Kr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Kn=null;function Gn(e){Ur(e,0)}function Qn(e){if(K(wi(e)))return e}function Xn(e,t){if("change"===e)return t}var Yn=!1;if(u){var Jn;if(u){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;Yn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Kn=qn=null)}function nr(e){if("value"===e.propertyName&&Qn(Kn)){var t=[];Wn(t,Kn,e,we(e)),Ne(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Kn)}function sr(e,t){if("click"===e)return Qn(t)}function or(e,t){if("input"===e||"change"===e)return Qn(t)}var ar="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(ar(e,t))return!0;
vendor: 4,828 bytes, line 74
74if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!h.call(t,i)||!ar(e[i],t[i]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&hr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=void 0===r.end?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=ur(n,s);var o=ur(n,r);i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,_r=null,vr=null,yr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==G(r)||("selectionStart"in(r=gr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=Kr(_r,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function Er(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:Er("Animation","AnimationEnd"),animationiteration:Er("Animation","AnimationIteration"),animationstart:Er("Animation","AnimationStart"),transitionend:Er("Transition","TransitionEnd")},Tr={},Cr={};function xr(e){if(Tr[e])return Tr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Cr)return Tr[e]=n[t];return e}u&&(Cr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Ar=xr("animationend"),Ir=xr("animationiteration"),kr=xr("animationstart"),Pr=xr("transitionend"),Nr=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Or(e,t){Nr.set(e,t),l(t,[e])}for(var Dr=0;Dr<Rr.length;Dr++){var Fr=Rr[Dr];Or(Fr.toLowerCase(),"on"+(Fr[0].toUpperCase()+Fr.slice(1)))}Or(Ar,"onAnimationEnd"),Or(Ir,"onAnimationIteration"),Or(kr,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(Pr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focu
74sin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="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(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,a,l,c){if(Be.apply(this,arguments),Le){if(!Le)throw Error(s(198));var u=je;Le=!1,je=null,Me||(Me=!0,Ue=u)}}(r,t,void 0,e),e.currentTarget=null}function Ur(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;Mr(i,a,c),s=l}else for(o=0;o<r.length;o++){if(l=(a=r[o]).instance,c=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;Mr(i,a,c),s=l}}}if(Me)throw e=Ue,Me=!1,Ue=null,e}function Vr(e,t){var n=t[gi];void 0===n&&(n=t[gi]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function zr(e){if(!e[$r]){e[$r]=!0,o.forEach((function(t){"selectionchange"!==t&&(jr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Br("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Xt(t)){case 1:var i=Wt;break;case 4:i=qt;break;default:i=Kt}n=i.bind(null,t,n,e),i=void 0,!Oe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,i){var s=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var a=r.stateNode.containerInfo;if(a===i||8===a.nodeType&&a.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;o=o.return}for(;null!==a;){if(null===(o=yi(a)))return;if(5===(l=o.tag)||6===l){r=s=o;continue e}a=a.parentNode}}r=r.return}Ne((function(){var r=s,i=we(n),o=[];e:{var a=Nr.get(e);if(void 0!==a){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=An;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=kn;break;case Ar:case Ir:case kr:l=_n;break;case Pr:l=Pn;break;case"scroll":l=dn;break;case"wheel":l=Rn;break;case"copy":case"cut":case"paste":l=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=In}var u=!!(4&t),h=!u&&"scroll"===e,d=u?null!==a?a+"Capture":null:a;u=[];for(var f,p=r;null!==p;){var m=(f=p).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==d&&(null!=(m=Re(p,d))&&u.push(qr(p,m,f)))),h)break;p=p.return}0<u.length&&(a=new l(a,c,null,n,i),o.push({event:a,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(a="mouseover"===e||"pointerover"===e)||n===be||!(c=n.relatedTarget||n.fromElement)||!yi(c)&&!c[mi])&&(l||a)&&(a=i.window===i?i:(a=i.ownerDocument)?a.defaultView||a.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?yi(c):null)&&(c!==(h=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=pn,m="onMouseLeave",d="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=In,m="onPointerLeave",d="onPointerEnter",p="pointer"),h=null==l?a:wi(l),f=null==c?a:wi(c),(a=new u(m,p+"leave",l,n,i)).target=h,a.relatedTarget=f,m=null,yi(i)===r&&((u=new u(d,p+"enter",c,n,i)).target=f,u.relatedTarget=h,m=u),h=m,l&&c)e:{for(d=c,p=0,f=u=l;f;f=Gr(f))p++;for(f=0,m=d;m;m=Gr(m))f++;for(;0<p-f;)u=Gr(u),p--;for(;0<f-p;)d=Gr(d),f--;for(;p--;){if(u===d||null!==d&&u===d.alternate)break e;u=Gr(u),d=Gr(d)}u=null}else u=null;null!==l&&Qr(o,a,l,u,!1),null!==c&&null!==h&&Qr(o,h,c,u,!0)}if("select"===(l=(a=r?wi(r):window).nodeName&&a.nodeName.toLowerCase())||"input"===l&&"file"===a.type)var g=Xn;else if(Hn(a))if(Yn)g=or;else{g=ir;var _=rr}else(l=a.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(g=sr);switch(g&&(g=g(e,r))?Wn(o,g,n,i):(_&&_(e,a,r),"focusout"===e&&(_=a._wrapperState)&&_.controlled&&"number"===a.type&&ee(a,"number",a.value)),_=r?wi(r):window,e){case"focusin":(Hn(_)||"true"===_.contentEditable)&&(gr=_,_r=r,vr=null);break;case"focusout":vr=_r=gr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,wr(o,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(o,n,i)}var v;if(Dn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else $n?Vn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");
vendor: 4,688 bytes, line 74
74y&&(jn&&"ko"!==n.locale&&($n||"onCompositionStart"!==y?"onCompositionEnd"===y&&$n&&(v=en()):(Jt="value"in(Yt=i)?Yt.value:Yt.textContent,$n=!0)),0<(_=Kr(r,y)).length&&(y=new bn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:null!==(v=Bn(n))&&(y.data=v))),(v=Ln?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Un=!0,Mn);case"textInput":return(e=t.data)===Mn&&Un?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!Dn&&Vn(e,t)?(e=en(),Zt=Jt=Yt=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Kr(r,"onBeforeInput")).length&&(i=new bn("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=v))}Ur(o,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,s=i.stateNode;5===i.tag&&null!==s&&(i=s,null!=(s=Re(e,n))&&r.unshift(qr(e,s,i)),null!=(s=Re(e,t))&&r.push(qr(e,s,i))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,i){for(var s=t._reactName,o=[];null!==n&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(null!==l&&l===r)break;5===a.tag&&null!==c&&(a=c,i?null!=(l=Re(n,s))&&o.unshift(qr(n,l,a)):i||null!=(l=Re(n,s))&&o.push(qr(n,l,a))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Xr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Jr(e){return("string"==typeof e?e:""+e).replace(Xr,"\n").replace(Yr,"")}function Zr(e,t,n){if(t=Jr(t),Jr(e)!==t&&n)throw Error(s(425))}function ei(){}var ti=null,ni=null;function ri(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ii="function"==typeof setTimeout?setTimeout:void 0,si="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,ai="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(li)}:ii;function li(e){setTimeout((function(){throw e}))}function ci(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);$t(t)}function ui(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function hi(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var di=Math.random().toString(36).slice(2),fi="__reactFiber$"+di,pi="__reactProps$"+di,mi="__reactContainer$"+di,gi="__reactEvents$"+di,_i="__reactListeners$"+di,vi="__reactHandles$"+di;function yi(e){var t=e[fi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mi]||n[fi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=hi(e);null!==e;){if(n=e[fi])return n;e=hi(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[fi]||e[mi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(s(33))}function Ei(e){return e[pi]||null}var Si=[],Ti=-1;function Ci(e){return{current:e}}function xi(e){0>Ti||(e.current=Si[Ti],Si[Ti]=null,Ti--)}function Ai(e,t){Ti++,Si[Ti]=e.current,e.current=t}var Ii={},ki=Ci(Ii),Pi=Ci(!1),Ni=Ii;function Ri(e,t){var n=e.type.contextTypes;if(!n)return Ii;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,s={};for(i in n)s[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Oi(e){return null!=(e=e.childContextTypes)}function Di(){xi(Pi),xi(ki)}function Fi(e,t,n){if(ki.current!==Ii)throw Error(s(168));Ai(ki,t),Ai(Pi,n)}function Li(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(s(108,z(e)||"Unknown",i));return j({},n,r)}function ji(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ii,Ni=ki.current,Ai(ki,e),Ai(Pi,Pi.current),!0}function Mi(e,t,n){var r=e.stateNode;if(!r)throw Error(s(169));
vendor: 16,428 bytes, line 74
74n?(e=Li(e,t,Ni),r.__reactInternalMemoizedMergedChildContext=e,xi(Pi),xi(ki),Ai(ki,e)):xi(Pi),Ai(Pi,n)}var Ui=null,Vi=!1,Bi=!1;function $i(e){null===Ui?Ui=[e]:Ui.push(e)}function zi(){if(!Bi&&null!==Ui){Bi=!0;var e=0,t=yt;try{var n=Ui;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ui=null,Vi=!1}catch(i){throw null!==Ui&&(Ui=Ui.slice(e+1)),Ke(Ze,zi),i}finally{yt=t,Bi=!1}}return null}var Hi=[],Wi=0,qi=null,Ki=0,Gi=[],Qi=0,Xi=null,Yi=1,Ji="";function Zi(e,t){Hi[Wi++]=Ki,Hi[Wi++]=qi,qi=e,Ki=t}function es(e,t,n){Gi[Qi++]=Yi,Gi[Qi++]=Ji,Gi[Qi++]=Xi,Xi=e;var r=Yi;e=Ji;var i=32-ot(r)-1;r&=~(1<<i),n+=1;var s=32-ot(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Yi=1<<32-ot(t)+i|n<<i|r,Ji=s+e}else Yi=1<<s|n<<i|r,Ji=e}function ts(e){null!==e.return&&(Zi(e,1),es(e,1,0))}function ns(e){for(;e===qi;)qi=Hi[--Wi],Hi[Wi]=null,Ki=Hi[--Wi],Hi[Wi]=null;for(;e===Xi;)Xi=Gi[--Qi],Gi[Qi]=null,Ji=Gi[--Qi],Gi[Qi]=null,Yi=Gi[--Qi],Gi[Qi]=null}var rs=null,is=null,ss=!1,os=null;function as(e,t){var n=Lc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ls(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,rs=e,is=ui(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,rs=e,is=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xi?{id:Yi,overflow:Ji}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,rs=e,is=null,!0);default:return!1}}function cs(e){return!(!(1&e.mode)||128&e.flags)}function us(e){if(ss){var t=is;if(t){var n=t;if(!ls(e,t)){if(cs(e))throw Error(s(418));t=ui(n.nextSibling);var r=rs;t&&ls(e,t)?as(r,n):(e.flags=-4097&e.flags|2,ss=!1,rs=e)}}else{if(cs(e))throw Error(s(418));e.flags=-4097&e.flags|2,ss=!1,rs=e}}}function hs(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;rs=e}function ds(e){if(e!==rs)return!1;if(!ss)return hs(e),ss=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ri(e.type,e.memoizedProps)),t&&(t=is)){if(cs(e))throw fs(),Error(s(418));for(;t;)as(e,t),t=ui(t.nextSibling)}if(hs(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){is=ui(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}is=null}}else is=rs?ui(e.stateNode.nextSibling):null;return!0}function fs(){for(var e=is;e;)e=ui(e.nextSibling)}function ps(){is=rs=null,ss=!1}function ms(e){null===os?os=[e]:os.push(e)}var gs=b.ReactCurrentBatchConfig;function _s(e,t){if(e&&e.defaultProps){for(var n in t=j({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var vs=Ci(null),ys=null,bs=null,ws=null;function Es(){ws=bs=ys=null}function Ss(e){var t=vs.current;xi(vs),e._currentValue=t}function Ts(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Cs(e,t){ys=e,ws=bs=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(Ea=!0),e.firstContext=null)}function xs(e){var t=e._currentValue;if(ws!==e)if(e={context:e,memoizedValue:t,next:null},null===bs){if(null===ys)throw Error(s(308));bs=e,ys.dependencies={lanes:0,firstContext:e}}else bs=bs.next=e;return t}var As=null;function Is(e){null===As?As=[e]:As.push(e)}function ks(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Is(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ps(e,r)}function Ps(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ns=!1;function Rs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Os(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ds(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fs(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ol){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ps(e,n)}return null===(i=r.interleaved)?(t.next=t,Is(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ps(e,n)}function Ls(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function js(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,s=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===s?i=s=o:s=s.next=o,n=n.next}while(null!==n);null===s?i=s=t:s=s.next=t}else i=s=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ms(e,t,n,r){var i=e.updateQueue;Ns=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(null!==a){i.shared.pending=null;var l=a,c=l.next;l.next=null,null===o?s=c:o.next=c,o=l;var u=e.alternate;null!==u&&((a=(u=u.updateQueue).lastBaseUpdate)!==o&&(null===a?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(null!==s){var h=i.baseState;for(o=0,u=c=l=null,a=s;;){var d=a.lane,f=a.eventTime;if((r&d)===d){null!==u&&(u=u.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,m=a;switch(d=t,f=n,m.tag){case 1:if("function"==typeof(p=m.payload)){h=p.call(f,h,d);break e}h=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(d="function"==typeof(p=m.payload)?p.call(f,h,d):p))break e;h=j({},h,d);break e;case 2:Ns=!0}}null!==a.callback&&0!==a.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[a]:d.push(a))}else f={eventTime:f,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===u?(c=u=f,l=h):u=u.next=f,o|=d;if(null===(a=a.next)){if(null===(a=i.shared.pending))break;a=(d=a).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===u&&(l=h),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t;do{o|=i.lane,i=i.next}while(i!==t)}else null===s&&(i.shared.lanes=0);Bl|=o,e.lanes=o,e.memoizedState=h}}function Us(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(s(191,i));i.call(r)}}}var Vs=(new r.Component).refs;function Bs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:j({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $s={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=sc(),i=oc(e),s=Ds(r,i);s.payload=t,null!=n&&(s.callback=n),null!==(t=Fs(e,s,i))&&(ac(t,e,i,r),Ls(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=sc(),i=oc(e),s=Ds(r,i);s.tag=1,s.payload=t,null!=n&&(s.callback=n),null!==(t=Fs(e,s,i))&&(ac(t,e,i,r),Ls(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=sc(),r=oc(e),i=Ds(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=Fs(e,i,r))&&(ac(t,e,r,n),Ls(t,e,r))}};function zs(e,t,n,r,i,s,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,s,o):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(i,s))}function Hs(e,t,n){var r=!1,i=Ii,s=t.contextType;return"object"==typeof s&&null!==s?s=xs(s):(i=Oi(t)?Ni:ki.current,s=(r=null!=(r=t.contextTypes))?Ri(e,i):Ii),t=new t(n,s),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$s,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function Ws(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$s.enqueueReplaceState(t,t.state,null)}function qs(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Vs,Rs(e);var s=t.contextType;"object"==typeof s&&null!==s?i.context=xs(s):(s=Oi(t)?Ni:ki.current,i.context=Ri(e,s)),i.state=e.memoizedState,"function"==typeof(s=t.getDerivedStateFromProps)&&(Bs(e,t,s,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&$s.enqueueReplaceState(i,i.state,null),Ms(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function Ks(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(s(309));var r=n.stateNode}if(!r)throw Error(s(147,e));var i=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs;t===Vs&&(t=i.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(s(284));if(!n._owner)throw Error(s(290,e))}return e}function Gs(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Qs(e){return(0,e._init)(e._payload)}function Xs(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Mc(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=$c(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var s=n.type;return s===S?h(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===R&&Qs(s)===t.type)?((r=i(t,n.props)).ref=Ks(e,t,n),r.return=e,r):((r=Uc(n.type,n.key,n.props,null,e.mode,r)).ref=Ks(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function h(e,t,n,r,s){return null===t||7!==t.tag?((t=Vc(n,e.mode,r,s)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=$c(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Uc(t.type,t.key,t.props,null,e.mode,n)).ref=Ks(e,null,t),n.return=e,n;case E:return(t=zc(t,e.mode,n)).return=e,t;case R:return d(e,(0,t._init)(t._payload),n)}if(te(t)||F(t))return(t=Vc(t,e.mode,n,null)).return=e,t;Gs(e,t)}return null}function f(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===i?c(e,t,n,r):null;case E:return n.key===i?u(e,t,n,r):null;case R:return f(e,t,(i=n._init)(n._payload),r)}if(te(n)||F(n))return null!==i?null:h(e,t,n,r,null);Gs(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case E:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case R:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||F(r))return h(t,e=e.get(n)||null,r,i,null);Gs(t,r)}return null}function m(i,s,a,l){for(var c=null,u=null,h=s,m=s=0,g=null;null!==h&&m<a.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var _=f(i,h,a[m],l);if(null===_){null===h&&(h=g);break}e&&h&&null===_.alternate&&t(i,h),s=o(_,s,m),null===u?c=_:u.sibling=_,u=_,h=g}if(m===a.length)return n(i,h),ss&&Zi(i,m),c;if(null===h){for(;m<a.length;m++)null!==(h=d(i,a[m],l))&&(s=o(h,s,m),null===u?c=h:u.sibling=h,u=h);return ss&&Zi(i,m),c}for(h=r(i,h);m<a.length;m++)null!==(g=p(h,i,m,a[m],l))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),s=o(g,s,m),null===u?c=g:u.sibling=g,u=g);return e&&h.forEach((function(e){return t(i,e)})),ss&&Zi(i,m),c}function g(i,a,l,c){var u=F(l);if("function"!=typeof u)throw Error(s(150));if(null==(l=u.call(l)))throw Error(s(151));for(var h=u=null,m=a,g=a=0,_=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(_=m,m=null):_=m.sibling;var y=f(i,m,v.value,c);if(null===y){null===m&&(m=_);break}e&&m&&null===y.alternate&&t(i,m),a=o(y,a,g),null===h?u=y:h.sibling=y,h=y,m=_}if(v.done)return n(i,m),ss&&Zi(i,g),u;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=d(i,v.value,c))&&(a=o(v,a,g),null===h?u=v:h.sibling=v,h=v);return ss&&Zi(i,g),u}for(m=r(i,m);!v.done;g++,v=l.next())null!==(v=p(m,i,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),a=o(v,a,g),null===h?u=v:h.sibling=v,h=v);return e&&m.forEach((function(e){return t(i,e)})),ss&&Zi(i,g),u}return function e(r,s,o,l){if("object"==typeof o&&null!==o&&o.type===S&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case w:e:{for(var c=o.key,u=s;null!==u;){if(u.key===c){if((c=o.type)===S){if(7===u.tag){n(r,u.sibling),(s=i(u,o.props.children)).return=r,r=s;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===R&&Qs(c)===u.type){n(r,u.sibling),(s=i(u,o.props)).ref=Ks(r,u,o),s.return=r,r=s;break e}n(r,u);break}t(r,u),u=u.sibling}o.type===S?((s=Vc(o.props.children,r.mode,l,o.key)).return=r,r=s):((l=Uc(o.type,o.key,o.props,null,r.mode,l)).ref=Ks(r,s,o),l.return=r,r=l)}return a(r);case E:e:{for(u=o.key;null!==s;){if(s.key===u){if(4===s.tag&&s.stateNode.containerInfo===o.containerInfo&&s.stateNode.implementation===o.implementation){n(r,s.sibling),(s=i(s,o.children||[])).return=r,r=s;break e}n(r,s);break}t(r,s),s=s.sibling}(s=zc(o,r.mode,l)).return=r,r=s}return a(r);case R:return e(r,s,(u=o._init)(o._payload),l)}if(te(o))return m(r,s,o,l);if(F(o))return g(r,s,o,l);Gs(r,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==s&&6===s.tag?(n(r,s.sibling),(s=i(s,o)).return=r,r=s):(n(r,s),(s=$c(o,r.mode,l)).return=r,r=s),a(r)):n(r,s)}}var Ys=Xs(!0),Js=Xs(!1),Zs={},eo=Ci(Zs),to=Ci(Zs),no=Ci(Zs);function ro(e){if(e===Zs)throw Error(s(174));return e}function io(e,t){switch(Ai(no,t),Ai(to,e),Ai(eo,Zs),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}xi(eo),Ai(eo,t)}function so(){xi(eo),xi(to),xi(no)}function oo(e){ro(no.current);var t=ro(eo.current),n=le(t,e.type);t!==n&&(Ai(to,e),Ai(eo,n))}function ao(e){to.current===e&&(xi(eo),xi(to))}var lo=Ci(0);function co(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var uo=[];function ho(){for(var e=0;e<uo.length;e++)uo[e]._workInProgressVersionPrimary=null;uo.length=0}var fo=b.ReactCurrentDispatcher,po=b.ReactCurrentBatchConfig,mo=0,go=null,_o=null,vo=null,yo=!1,bo=!1,wo=0,Eo=0;function So(){throw Error(s(321))}function To(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ar(e[n],t[n]))return!1;return!0}function Co(e,t,n,r,i,o){if(mo=o,go=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fo.current=null===e||null===e.memoizedState?ca:ua,e=n(r,i),bo){o=0;
vendor: 11,500 bytes, line 74
74do{if(bo=!1,wo=0,25<=o)throw Error(s(301));o+=1,vo=_o=null,t.updateQueue=null,fo.current=ha,e=n(r,i)}while(bo)}if(fo.current=la,t=null!==_o&&null!==_o.next,mo=0,vo=_o=go=null,yo=!1,t)throw Error(s(300));return e}function xo(){var e=0!==wo;return wo=0,e}function Ao(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===vo?go.memoizedState=vo=e:vo=vo.next=e,vo}function Io(){if(null===_o){var e=go.alternate;e=null!==e?e.memoizedState:null}else e=_o.next;var t=null===vo?go.memoizedState:vo.next;if(null!==t)vo=t,_o=e;else{if(null===e)throw Error(s(310));e={memoizedState:(_o=e).memoizedState,baseState:_o.baseState,baseQueue:_o.baseQueue,queue:_o.queue,next:null},null===vo?go.memoizedState=vo=e:vo=vo.next=e}return vo}function ko(e,t){return"function"==typeof t?t(e):t}function Po(e){var t=Io(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var r=_o,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(null!==i){o=i.next,r=r.baseState;var l=a=null,c=null,u=o;do{var h=u.lane;if((mo&h)===h)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:h,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=d,a=r):c=c.next=d,go.lanes|=h,Bl|=h}u=u.next}while(null!==u&&u!==o);null===c?a=r:c.next=l,ar(r,t.memoizedState)||(Ea=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{o=i.lane,go.lanes|=o,Bl|=o,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function No(e){var t=Io(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do{o=e(o,a.action),a=a.next}while(a!==i);ar(o,t.memoizedState)||(Ea=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Ro(){}function Oo(e,t){var n=go,r=Io(),i=t(),o=!ar(r.memoizedState,i);if(o&&(r.memoizedState=i,Ea=!0),r=r.queue,Wo(Lo.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==vo&&1&vo.memoizedState.tag){if(n.flags|=2048,Vo(9,Fo.bind(null,n,r,i,t),void 0,null),null===Dl)throw Error(s(349));30&mo||Do(n,t,i)}return i}function Do(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=go.updateQueue)?(t={lastEffect:null,stores:null},go.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Fo(e,t,n,r){t.value=n,t.getSnapshot=r,jo(t)&&Mo(e)}function Lo(e,t,n){return n((function(){jo(t)&&Mo(e)}))}function jo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ar(e,n)}catch(r){return!0}}function Mo(e){var t=Ps(e,1);null!==t&&ac(t,e,1,-1)}function Uo(e){var t=Ao();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ko,lastRenderedState:e},t.queue=e,e=e.dispatch=ia.bind(null,go,e),[t.memoizedState,e]}function Vo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=go.updateQueue)?(t={lastEffect:null,stores:null},go.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bo(){return Io().memoizedState}function $o(e,t,n,r){var i=Ao();go.flags|=e,i.memoizedState=Vo(1|t,n,void 0,void 0===r?null:r)}function zo(e,t,n,r){var i=Io();r=void 0===r?null:r;var s=void 0;if(null!==_o){var o=_o.memoizedState;if(s=o.destroy,null!==r&&To(r,o.deps))return void(i.memoizedState=Vo(t,n,s,r))}go.flags|=e,i.memoizedState=Vo(1|t,n,s,r)}function Ho(e,t){return $o(8390656,8,e,t)}function Wo(e,t){return zo(2048,8,e,t)}function qo(e,t){return zo(4,2,e,t)}function Ko(e,t){return zo(4,4,e,t)}function Go(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Qo(e,t,n){return n=null!=n?n.concat([e]):null,zo(4,4,Go.bind(null,t,e),n)}function Xo(){}function Yo(e,t){var n=Io();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&To(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Jo(e,t){var n=Io();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&To(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Zo(e,t,n){return 21&mo?(ar(n,t)||(n=mt(),go.lanes|=n,Bl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ea=!0),e.memoizedState=n)}function ea(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=po.transition;po.transition={};try{e(!1),t()}finally{yt=n,po.transition=r}}function ta(){return Io().memoizedState}function ra(e,t,n){var r=oc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sa(e))oa(t,n);else if(null!==(n=ks(e,t,n,r))){ac(n,e,r,sc()),aa(n,t,r)}}function ia(e,t,n){var r=oc(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sa(e))oa(t,i);else{var s=e.alternate;if(0===e.lanes&&(null===s||0===s.lanes)&&null!==(s=t.lastRenderedReducer))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,ar(a,o)){var l=t.interleaved;return null===l?(i.next=i,Is(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(c){}null!==(n=ks(e,t,i,r))&&(ac(n,e,r,i=sc()),aa(n,t,r))}}function sa(e){var t=e.alternate;return e===go||null!==t&&t===go}function oa(e,t){bo=yo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function aa(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var la={readContext:xs,useCallback:So,useContext:So,useEffect:So,useImperativeHandle:So,useInsertionEffect:So,useLayoutEffect:So,useMemo:So,useReducer:So,useRef:So,useState:So,useDebugValue:So,useDeferredValue:So,useTransition:So,useMutableSource:So,useSyncExternalStore:So,useId:So,unstable_isNewReconciler:!1},ca={readContext:xs,useCallback:function(e,t){return Ao().memoizedState=[e,void 0===t?null:t],e},useContext:xs,useEffect:Ho,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,$o(4194308,4,Go.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $o(4194308,4,e,t)},useInsertionEffect:function(e,t){return $o(4,2,e,t)},useMemo:function(e,t){var n=Ao();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ao();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ra.bind(null,go,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ao().memoizedState=e},useState:Uo,useDebugValue:Xo,useDeferredValue:function(e){return Ao().memoizedState=e},useTransition:function(){var e=Uo(!1),t=e[0];return e=ea.bind(null,e[1]),Ao().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=go,i=Ao();if(ss){if(void 0===n)throw Error(s(407));n=n()}else{if(n=t(),null===Dl)throw Error(s(349));30&mo||Do(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Ho(Lo.bind(null,r,o,e),[e]),r.flags|=2048,Vo(9,Fo.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ao(),t=Dl.identifierPrefix;if(ss){var n=Ji;t=":"+t+"R"+(n=(Yi&~(1<<32-ot(Yi)-1)).toString(32)+n),0<(n=wo++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Eo++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ua={readContext:xs,useCallback:Yo,useContext:xs,useEffect:Wo,useImperativeHandle:Qo,useInsertionEffect:qo,useLayoutEffect:Ko,useMemo:Jo,useReducer:Po,useRef:Bo,useState:function(){return Po(ko)},useDebugValue:Xo,useDeferredValue:function(e){return Zo(Io(),_o.memoizedState,e)},useTransition:function(){return[Po(ko)[0],Io().memoizedState]},useMutableSource:Ro,useSyncExternalStore:Oo,useId:ta,unstable_isNewReconciler:!1},ha={readContext:xs,useCallback:Yo,useContext:xs,useEffect:Wo,useImperativeHandle:Qo,useInsertionEffect:qo,useLayoutEffect:Ko,useMemo:Jo,useReducer:No,useRef:Bo,useState:function(){return No(ko)},useDebugValue:Xo,useDeferredValue:function(e){var t=Io();return null===_o?t.memoizedState=e:Zo(t,_o.memoizedState,e)},useTransition:function(){return[No(ko)[0],Io().memoizedState]},useMutableSource:Ro,useSyncExternalStore:Oo,useId:ta,unstable_isNewReconciler:!1};function da(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var i=n}catch(s){i="\nError generating stack: "+s.message+"\n"+s.stack}return{value:e,source:t,stack:i,digest:null}}function fa(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function pa(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ma="function"==typeof WeakMap?WeakMap:Map;function ga(e,t,n){(n=Ds(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ql||(Ql=!0,Xl=r),pa(0,t)},n}function _a(e,t,n){(n=Ds(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){pa(0,t)}}var s=e.stateNode;return null!==s&&"function"==typeof s.componentDidCatch&&(n.callback=function(){pa(0,t),"function"!=typeof r&&(null===Yl?Yl=new Set([this]):Yl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function va(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ma;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Pc.bind(null,e,t,n),t.then(e,e))}function ya(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ba(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ds(-1,1)).tag=2,Fs(n,t,1))),n.lanes|=1),e)}var wa=b.ReactCurrentOwner,Ea=!1;function Sa(e,t,n,r){t.child=null===e?Js(t,null,n,r):Ys(t,e.child,n,r)}function Ta(e,t,n,r,i){n=n.render;var s=t.ref;return Cs(t,i),r=Co(e,t,n,r,s,i),n=xo(),null===e||Ea?(ss&&n&&ts(t),t.flags|=1,Sa(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qa(e,t,i))}function xa(e,t,n,r,i){if(null===e){var s=n.type;return"function"!=typeof s||jc(s)||void 0!==s.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Uc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=s,Ia(e,t,s,r,i))}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(o,r)&&e.ref===t.ref)return Qa(e,t,i)}return t.flags|=1,(e=Mc(s,r)).ref=t.ref,e.return=t,t.child=e}function Ia(e,t,n,r,i){if(null!==e){var s=e.memoizedProps;if(lr(s,r)&&e.ref===t.ref){if(Ea=!1,t.pendingProps=r=s,!(e.lanes&i))return t.lanes=e.lanes,Qa(e,t,i);131072&e.flags&&(Ea=!0)}}return Na(e,t,n,r,i)}function ka(e,t,n){var r=t.pendingProps,i=r.children,s=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==s?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ai(Ml,jl),jl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==s?s.baseLanes:n,Ai(Ml,jl),jl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ai(Ml,jl),jl|=n;else null!==s?(r=s.baseLanes|n,t.memoizedState=null):r=n,Ai(Ml,jl),jl|=r;return Sa(e,t,i,n),t.child}function Pa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 22,513 bytes, line 74
74function Na(e,t,n,r,i){var s=Oi(n)?Ni:ki.current;return s=Ri(t,s),Cs(t,i),n=Co(e,t,n,r,s,i),r=xo(),null===e||Ea?(ss&&r&&ts(t),t.flags|=1,Sa(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qa(e,t,i))}function Ra(e,t,n,r,i){if(Oi(n)){var s=!0;ji(t)}else s=!1;if(Cs(t,i),null===t.stateNode)Ga(e,t),Hs(t,n,r),qs(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,c=n.contextType;"object"==typeof c&&null!==c?c=xs(c):c=Ri(t,c=Oi(n)?Ni:ki.current);var u=n.getDerivedStateFromProps,h="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;h||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==r||l!==c)&&Ws(t,o,r,c),Ns=!1;var d=t.memoizedState;o.state=d,Ms(t,r,o,i),l=t.memoizedState,a!==r||d!==l||Pi.current||Ns?("function"==typeof u&&(Bs(t,n,u,r),l=t.memoizedState),(a=Ns||zs(t,n,a,r,d,l,c))?(h||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=c,r=a):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Os(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:_s(t.type,a),o.props=c,h=t.pendingProps,d=o.context,"object"==typeof(l=n.contextType)&&null!==l?l=xs(l):l=Ri(t,l=Oi(n)?Ni:ki.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==h||d!==l)&&Ws(t,o,r,l),Ns=!1,d=t.memoizedState,o.state=d,Ms(t,r,o,i);var p=t.memoizedState;a!==h||d!==p||Pi.current||Ns?("function"==typeof f&&(Bs(t,n,f,r),p=t.memoizedState),(c=Ns||zs(t,n,c,r,d,p,l)||!1)?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=l,r=c):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Oa(e,t,n,r,s,i)}function Oa(e,t,n,r,i,s){Pa(e,t);var o=!!(128&t.flags);if(!r&&!o)return i&&Mi(t,n,!1),Qa(e,t,s);r=t.stateNode,wa.current=t;var a=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Ys(t,e.child,null,s),t.child=Ys(t,null,a,s)):Sa(e,t,a,s),t.memoizedState=r.state,i&&Mi(t,n,!0),t.child}function Da(e){var t=e.stateNode;t.pendingContext?Fi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Fi(0,t.context,!1),io(e,t.containerInfo)}function Fa(e,t,n,r,i){return ps(),ms(i),t.flags|=256,Sa(e,t,n,r),t.child}var La,ja,Ma,Ua,Va={dehydrated:null,treeContext:null,retryLane:0};function Ba(e){return{baseLanes:e,cachePool:null,transitions:null}}function $a(e,t,n){var r,i=t.pendingProps,o=lo.current,a=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&o)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Ai(lo,1&o),null===e)return us(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=i.children,e=i.fallback,a?(i=t.mode,a=t.child,l={mode:"hidden",children:l},1&i||null===a?a=Bc(l,i,0,null):(a.childLanes=0,a.pendingProps=l),e=Vc(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Ba(n),t.memoizedState=Va,e):za(t,l));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,i,o,a){if(n)return 256&t.flags?(t.flags&=-257,Ha(e,t,a,r=fa(Error(s(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Bc({mode:"visible",children:r.children},i,0,null),(o=Vc(o,i,a,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,1&t.mode&&Ys(t,e.child,null,a),t.child.memoizedState=Ba(a),t.memoizedState=Va,o);if(!(1&t.mode))return Ha(e,t,a,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,Ha(e,t,a,r=fa(o=Error(s(419)),r,void 0))}if(l=!!(a&e.childLanes),Ea||l){if(null!==(r=Dl)){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=i&(r.suspendedLanes|a)?0:i)&&i!==o.retryLane&&(o.retryLane=i,Ps(e,i),ac(r,e,i,-1))}return bc(),Ha(e,t,a,r=fa(Error(s(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Rc.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,is=ui(i.nextSibling),rs=t,ss=!0,os=null,null!==e&&(Gi[Qi++]=Yi,Gi[Qi++]=Ji,Gi[Qi++]=Xi,Yi=e.id,Ji=e.overflow,Xi=t),t=za(t,r.children),t.flags|=4096,t)}(e,t,l,i,r,o,n);if(a){a=i.fallback,l=t.mode,r=(o=e.child).sibling;var c={mode:"hidden",children:i.children};return 1&l||t.child===o?(i=Mc(o,c)).subtreeFlags=14680064&o.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null),null!==r?a=Mc(r,a):(a=Vc(a,l,n,null)).flags|=2,a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,l=null===(l=e.child.memoizedState)?Ba(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~n,t.memoizedState=Va,i}return e=(a=e.child).sibling,i=Mc(a,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function za(e,t){return(t=Bc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ha(e,t,n,r){return null!==r&&ms(r),Ys(t,e.child,null,n),(e=za(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Wa(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ts(e.return,t,n)}function qa(e,t,n,r,i){var s=e.memoizedState;null===s?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function Ka(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Sa(e,t,r.children,n),2&(r=lo.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Wa(e,n,t);else if(19===e.tag)Wa(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ai(lo,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===co(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),qa(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===co(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}qa(t,!0,n,null,s);break;case"together":qa(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ga(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Qa(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bl|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(s(153));if(null!==t.child){for(n=Mc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Xa(e,t){if(!ss)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ya(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ja(e,t,n){var r=t.pendingProps;switch(ns(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ya(t),null;case 1:case 17:return Oi(t.type)&&Di(),Ya(t),null;case 3:return r=t.stateNode,so(),xi(Pi),xi(ki),ho(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(ds(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==os&&(hc(os),os=null))),ja(e,t),Ya(t),null;case 5:ao(t);var i=ro(no.current);if(n=t.type,null!==e&&null!=t.stateNode)Ma(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(s(166));return Ya(t),null}if(e=ro(eo.current),ds(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[fi]=t,r[pi]=o,e=!!(1&t.mode),n){case"dialog":Vr("cancel",r),Vr("close",r);break;case"iframe":case"object":case"embed":Vr("load",r);break;case"video":case"audio":for(i=0;i<Lr.length;i++)Vr(Lr[i],r);break;case"source":Vr("error",r);break;case"img":case"image":case"link":Vr("error",r),Vr("load",r);break;case"details":Vr("toggle",r);break;case"input":X(r,o),Vr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Vr("invalid",r);break;case"textarea":ie(r,o),Vr("invalid",r)}for(var l in ve(n,o),i=null,o)if(o.hasOwnProperty(l)){var c=o[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==o.suppressHydrationWarning&&Zr(r.textContent,c,e),i=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==o.suppressHydrationWarning&&Zr(r.textContent,c,e),i=["children",""+c]):a.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Vr("scroll",r)}switch(n){case"input":q(r),Z(r,o,!0);break;case"textarea":q(r),oe(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=ei)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ae(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[fi]=t,e[pi]=r,La(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(n,r),n){case"dialog":Vr("cancel",e),Vr("close",e),i=r;break;case"iframe":case"object":case"embed":Vr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Lr.length;i++)Vr(Lr[i],e);i=r;break;case"source":Vr("error",e),i=r;break;case"img":case"image":case"link":Vr("error",e),Vr("load",e),i=r;break;case"details":Vr("toggle",e),i=r;break;case"input":X(e,r),i=Q(e,r),Vr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=j({},r,{value:void 0}),Vr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Vr("invalid",e)}for(o in ve(n,i),c=i)if(c.hasOwnProperty(o)){var u=c[o];"style"===o?ge(e,u):"dangerouslySetInnerHTML"===o?null!=(u=u?u.__html:void 0)&&he(e,u):"children"===o?"string"==typeof u?("textarea"!==n||""!==u)&&de(e,u):"number"==typeof u&&de(e,""+u):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(a.hasOwnProperty(o)?null!=u&&"onScroll"===o&&Vr("scroll",e):null!=u&&y(e,o,u,l))}switch(n){case"input":q(e),Z(e,r,!1);break;case"textarea":q(e),oe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?ne(e,!!r.multiple,o,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=ei)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ya(t),null;case 6:if(e&&null!=t.stateNode)Ua(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(s(166));if(n=ro(no.current),ro(eo.current),ds(t)){if(r=t.stateNode,n=t.memoizedProps,r[fi]=t,(o=r.nodeValue!==n)&&null!==(e=rs))switch(e.tag){case 3:Zr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,!!(1&e.mode))}o&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fi]=t,t.stateNode=r}return Ya(t),null;case 13:if(xi(lo),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ss&&null!==is&&1&t.mode&&!(128&t.flags))fs(),ps(),t.flags|=98560,o=!1;else if(o=ds(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(s(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(s(317));o[fi]=t}else ps(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ya(t),o=!1}else null!==os&&(hc(os),os=null),o=!0;if(!o)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&lo.current?0===Ul&&(Ul=3):bc())),null!==t.updateQueue&&(t.flags|=4),Ya(t),null);case 4:return so(),ja(e,t),null===e&&zr(t.stateNode.containerInfo),Ya(t),null;case 10:return Ss(t.type._context),Ya(t),null;case 19:if(xi(lo),null===(o=t.memoizedState))return Ya(t),null;if(r=!!(128&t.flags),null===(l=o.rendering))if(r)Xa(o,!1);else{if(0!==Ul||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=co(e))){for(t.flags|=128,Xa(o,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=14680066,null===(l=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ai(lo,1&lo.current|2),t.child}e=e.sibling}null!==o.tail&&Ye()>Kl&&(t.flags|=128,r=!0,Xa(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=co(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Xa(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!ss)return Ya(t),null}else 2*Ye()-o.renderingStartTime>Kl&&1073741824!==n&&(t.flags|=128,r=!0,Xa(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=o.last)?n.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ye(),t.sibling=null,n=lo.current,Ai(lo,r?1&n|2:1&n),t):(Ya(t),null);case 22:case 23:return gc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&jl)&&(Ya(t),6&t.subtreeFlags&&(t.flags|=8192)):Ya(t),null;case 24:case 25:return null}throw Error(s(156,t.tag))}function Za(e,t){switch(ns(t),t.tag){case 1:return Oi(t.type)&&Di(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return so(),xi(Pi),xi(ki),ho(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ao(t),null;case 13:if(xi(lo),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(s(340));ps()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return xi(lo),null;case 4:return so(),null;case 10:return Ss(t.type._context),null;case 22:case 23:return gc(),null;default:return null}}La=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ja=function(){},Ma=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ro(eo.current);var s,o=null;switch(n){case"input":i=Q(e,i),r=Q(e,r),o=[];break;case"select":i=j({},i,{value:void 0}),r=j({},r,{value:void 0}),o=[];break;case"textarea":i=re(e,i),r=re(e,r),o=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=ei)}for(u in ve(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var l=i[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(a.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(s in l)!l.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in c)c.hasOwnProperty(s)&&l[s]!==c[s]&&(n||(n={}),n[s]=c[s])}else n||(o||(o=[]),o.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(o=o||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(o=o||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(a.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Vr("scroll",e),o||l===c||(o=[])):(o=o||[]).push(u,c))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},Ua=function(e,t,n,r){n!==r&&(t.flags|=4)};var el=!1,tl=!1,nl="function"==typeof WeakSet?WeakSet:Set,rl=null;function il(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){kc(e,t,r)}else n.current=null}function sl(e,t,n){try{n()}catch(r){kc(e,t,r)}}var ol=!1;function al(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,void 0!==s&&sl(t,n,s)}i=i.next}while(i!==r)}}function ll(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function cl(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ul(e){var t=e.alternate;null!==t&&(e.alternate=null,ul(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fi],delete t[pi],delete t[gi],delete t[_i],delete t[vi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function hl(e){return 5===e.tag||3===e.tag||4===e.tag}function dl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||hl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function fl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ei));else if(4!==r&&null!==(e=e.child))for(fl(e,t,n),e=e.sibling;null!==e;)fl(e,t,n),e=e.sibling}function pl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(pl(e,t,n),e=e.sibling;null!==e;)pl(e,t,n),e=e.sibling}var ml=null,gl=!1;function _l(e,t,n){for(n=n.child;null!==n;)vl(e,t,n),n=n.sibling}function vl(e,t,n){if(st&&"function"==typeof st.onCommitFiberUnmount)try{st.onCommitFiberUnmount(it,n)}catch(a){}switch(n.tag){case 5:tl||il(n,t);case 6:var r=ml,i=gl;ml=null,_l(e,t,n),gl=i,null!==(ml=r)&&(gl?(e=ml,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ml.removeChild(n.stateNode));break;case 18:null!==ml&&(gl?(e=ml,n=n.stateNode,8===e.nodeType?ci(e.parentNode,n):1===e.nodeType&&ci(e,n),$t(e)):ci(ml,n.stateNode));break;case 4:r=ml,i=gl,ml=n.stateNode.containerInfo,gl=!0,_l(e,t,n),ml=r,gl=i;break;case 0:case 11:case 14:case 15:if(!tl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,void 0!==o&&(2&s||4&s)&&sl(n,t,o),i=i.next}while(i!==r)}_l(e,t,n);break;case 1:if(!tl&&(il(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){kc(n,t,a)}_l(e,t,n);break;case 21:_l(e,t,n);break;case 22:1&n.mode?(tl=(r=tl)||null!==n.memoizedState,_l(e,t,n),tl=r):_l(e,t,n);break;default:_l(e,t,n)}}function yl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new nl),t.forEach((function(t){var r=Oc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function bl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,a=t,l=a;e:for(;null!==l;){switch(l.tag){case 5:ml=l.stateNode,gl=!1;break e;case 3:case 4:ml=l.stateNode.containerInfo,gl=!0;break e}l=l.return}if(null===ml)throw Error(s(160));vl(o,a,i),ml=null,gl=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(u){kc(i,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)wl(t,e),t=t.sibling}function wl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(bl(t,e),El(e),4&r){try{al(3,e,e.return),ll(3,e)}catch(g){kc(e,e.return,g)}try{al(5,e,e.return)}catch(g){kc(e,e.return,g)}}break;case 1:bl(t,e),El(e),512&r&&null!==n&&il(n,n.return);break;case 5:if(bl(t,e),El(e),512&r&&null!==n&&il(n,n.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(g){kc(e,e.return,g)}}if(4&r&&null!=(i=e.stateNode)){var o=e.memoizedProps,a=null!==n?n.memoizedProps:o,l=e.type,c=e.updateQueue;
vendor: 16,945 bytes, line 74
74if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===o.type&&null!=o.name&&Y(i,o),ye(l,a);var u=ye(l,o);for(a=0;a<c.length;a+=2){var h=c[a],d=c[a+1];"style"===h?ge(i,d):"dangerouslySetInnerHTML"===h?he(i,d):"children"===h?de(i,d):y(i,h,d,u)}switch(l){case"input":J(i,o);break;case"textarea":se(i,o);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;null!=p?ne(i,!!o.multiple,p,!1):f!==!!o.multiple&&(null!=o.defaultValue?ne(i,!!o.multiple,o.defaultValue,!0):ne(i,!!o.multiple,o.multiple?[]:"",!1))}i[pi]=o}catch(g){kc(e,e.return,g)}}break;case 6:if(bl(t,e),El(e),4&r){if(null===e.stateNode)throw Error(s(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(g){kc(e,e.return,g)}}break;case 3:if(bl(t,e),El(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(g){kc(e,e.return,g)}break;case 4:default:bl(t,e),El(e);break;case 13:bl(t,e),El(e),8192&(i=e.child).flags&&(o=null!==i.memoizedState,i.stateNode.isHidden=o,!o||null!==i.alternate&&null!==i.alternate.memoizedState||(ql=Ye())),4&r&&yl(e);break;case 22:if(h=null!==n&&null!==n.memoizedState,1&e.mode?(tl=(u=tl)||h,bl(t,e),tl=u):bl(t,e),El(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!h&&1&e.mode)for(rl=e,h=e.child;null!==h;){for(d=rl=h;null!==rl;){switch(p=(f=rl).child,f.tag){case 0:case 11:case 14:case 15:al(4,f,f.return);break;case 1:il(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){r=f,n=f.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){kc(r,n,g)}}break;case 5:il(f,f.return);break;case 22:if(null!==f.memoizedState){xl(d);continue}}null!==p?(p.return=f,rl=p):xl(d)}h=h.sibling}e:for(h=null,d=e;;){if(5===d.tag){if(null===h){h=d;try{i=d.stateNode,u?"function"==typeof(o=i.style).setProperty?o.setProperty("display","none","important"):o.display="none":(l=d.stateNode,a=null!=(c=d.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",a))}catch(g){kc(e,e.return,g)}}}else if(6===d.tag){if(null===h)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){kc(e,e.return,g)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;h===d&&(h=null),d=d.return}h===d&&(h=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:bl(t,e),El(e),4&r&&yl(e);case 21:}}function El(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(hl(n)){var r=n;break e}n=n.return}throw Error(s(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(de(i,""),r.flags&=-33),pl(e,dl(e),i);break;case 3:case 4:var o=r.stateNode.containerInfo;fl(e,dl(e),o);break;default:throw Error(s(161))}}catch(a){kc(e,e.return,a)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Sl(e,t,n){rl=e,Tl(e,t,n)}function Tl(e,t,n){for(var r=!!(1&e.mode);null!==rl;){var i=rl,s=i.child;if(22===i.tag&&r){var o=null!==i.memoizedState||el;if(!o){var a=i.alternate,l=null!==a&&null!==a.memoizedState||tl;a=el;var c=tl;if(el=o,(tl=l)&&!c)for(rl=i;null!==rl;)l=(o=rl).child,22===o.tag&&null!==o.memoizedState?Al(i):null!==l?(l.return=o,rl=l):Al(i);for(;null!==s;)rl=s,Tl(s,t,n),s=s.sibling;rl=i,el=a,tl=c}Cl(e)}else 8772&i.subtreeFlags&&null!==s?(s.return=i,rl=s):Cl(e)}}function Cl(e){for(;null!==rl;){var t=rl;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:tl||ll(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!tl)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:_s(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Us(t,o,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Us(t,a,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var h=u.memoizedState;if(null!==h){var d=h.dehydrated;null!==d&&$t(d)}}}break;default:throw Error(s(163))}tl||512&t.flags&&cl(t)}catch(f){kc(t,t.return,f)}}if(t===e){rl=null;break}if(null!==(n=t.sibling)){n.return=t.return,rl=n;break}rl=t.return}}function xl(e){for(;null!==rl;){var t=rl;if(t===e){rl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,rl=n;break}rl=t.return}}function Al(e){for(;null!==rl;){var t=rl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ll(4,t)}catch(l){kc(t,n,l)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(l){kc(t,i,l)}}var s=t.return;try{cl(t)}catch(l){kc(t,s,l)}break;case 5:var o=t.return;try{cl(t)}catch(l){kc(t,o,l)}}}catch(l){kc(t,t.return,l)}if(t===e){rl=null;break}var a=t.sibling;if(null!==a){a.return=t.return,rl=a;break}rl=t.return}}var Il,kl=Math.ceil,Pl=b.ReactCurrentDispatcher,Nl=b.ReactCurrentOwner,Rl=b.ReactCurrentBatchConfig,Ol=0,Dl=null,Fl=null,Ll=0,jl=0,Ml=Ci(0),Ul=0,Vl=null,Bl=0,$l=0,zl=0,Hl=null,Wl=null,ql=0,Kl=1/0,Gl=null,Ql=!1,Xl=null,Yl=null,Jl=!1,Zl=null,ec=0,tc=0,nc=null,rc=-1,ic=0;function sc(){return 6&Ol?Ye():-1!==rc?rc:rc=Ye()}function oc(e){return 1&e.mode?2&Ol&&0!==Ll?Ll&-Ll:null!==gs.transition?(0===ic&&(ic=mt()),ic):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Xt(e.type):1}function ac(e,t,n,r){if(50<tc)throw tc=0,nc=null,Error(s(185));_t(e,n,r),2&Ol&&e===Dl||(e===Dl&&(!(2&Ol)&&($l|=n),4===Ul&&dc(e,Ll)),lc(e,r),1===n&&0===Ol&&!(1&t.mode)&&(Kl=Ye()+500,Vi&&zi()))}function lc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-ot(s),a=1<<o,l=i[o];-1===l?a&n&&!(a&r)||(i[o]=ft(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}(e,t);var r=dt(e,e===Dl?Ll:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Vi=!0,$i(e)}(fc.bind(null,e)):$i(fc.bind(null,e)),ai((function(){!(6&Ol)&&zi()})),n=null;else{switch(bt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Dc(n,cc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function cc(e,t){if(rc=-1,ic=0,6&Ol)throw Error(s(327));var n=e.callbackNode;if(Ac()&&e.callbackNode!==n)return null;var r=dt(e,e===Dl?Ll:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=wc(e,r);else{t=r;var i=Ol;Ol|=2;var o=yc();for(Dl===e&&Ll===t||(Gl=null,Kl=Ye()+500,_c(e,t));;)try{Sc();break}catch(l){vc(e,l)}Es(),Pl.current=o,Ol=i,null!==Fl?t=0:(Dl=null,Ll=0,t=Ul)}if(0!==t){if(2===t&&(0!==(i=pt(e))&&(r=i,t=uc(e,i))),1===t)throw n=Vl,_c(e,0),dc(e,r),lc(e,Ye()),n;if(6===t)dc(e,r);else{if(i=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!ar(s(),i))return!1}catch(a){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=wc(e,r),2===t&&(o=pt(e),0!==o&&(r=o,t=uc(e,o))),1!==t)))throw n=Vl,_c(e,0),dc(e,r),lc(e,Ye()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(s(345));case 2:case 5:xc(e,Wl,Gl);break;case 3:if(dc(e,r),(130023424&r)===r&&10<(t=ql+500-Ye())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){sc(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ii(xc.bind(null,e,Wl,Gl),t);break}xc(e,Wl,Gl);break;case 4:if(dc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var a=31-ot(r);o=1<<a,(a=t[a])>i&&(i=a),r&=~o}if(r=i,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*kl(r/1960))-r)){e.timeoutHandle=ii(xc.bind(null,e,Wl,Gl),r);break}xc(e,Wl,Gl);break;default:throw Error(s(329))}}}return lc(e,Ye()),e.callbackNode===n?cc.bind(null,e):null}function uc(e,t){var n=Hl;return e.current.memoizedState.isDehydrated&&(_c(e,t).flags|=256),2!==(e=wc(e,t))&&(t=Wl,Wl=n,null!==t&&hc(t)),e}function hc(e){null===Wl?Wl=e:Wl.push.apply(Wl,e)}function dc(e,t){for(t&=~zl,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function fc(e){if(6&Ol)throw Error(s(327));Ac();var t=dt(e,0);if(!(1&t))return lc(e,Ye()),null;var n=wc(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=uc(e,r))}if(1===n)throw n=Vl,_c(e,0),dc(e,t),lc(e,Ye()),n;if(6===n)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,Wl,Gl),lc(e,Ye()),null}function pc(e,t){var n=Ol;Ol|=1;try{return e(t)}finally{0===(Ol=n)&&(Kl=Ye()+500,Vi&&zi())}}function mc(e){null!==Zl&&0===Zl.tag&&!(6&Ol)&&Ac();var t=Ol;Ol|=1;var n=Rl.transition,r=yt;try{if(Rl.transition=null,yt=1,e)return e()}finally{yt=r,Rl.transition=n,!(6&(Ol=t))&&zi()}}function gc(){jl=Ml.current,xi(Ml)}function _c(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,si(n)),null!==Fl)for(n=Fl.return;null!==n;){var r=n;switch(ns(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Di();break;case 3:so(),xi(Pi),xi(ki),ho();break;case 5:ao(r);break;case 4:so();break;case 13:case 19:xi(lo);break;case 10:Ss(r.type._context);break;case 22:case 23:gc()}n=n.return}if(Dl=e,Fl=e=Mc(e.current,null),Ll=jl=t,Ul=0,Vl=null,zl=$l=Bl=0,Wl=Hl=null,null!==As){for(t=0;t<As.length;t++)if(null!==(r=(n=As[t]).interleaved)){n.interleaved=null;var i=r.next,s=n.pending;if(null!==s){var o=s.next;s.next=i,r.next=o}n.pending=r}As=null}return e}function vc(e,t){for(;;){var n=Fl;try{if(Es(),fo.current=la,yo){for(var r=go.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}yo=!1}if(mo=0,vo=_o=go=null,bo=!1,wo=0,Nl.current=null,null===n||null===n.return){Ul=1,Vl=t,Fl=null;break}e:{var o=e,a=n.return,l=n,c=t;if(t=Ll,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,h=l,d=h.tag;if(!(1&h.mode||0!==d&&11!==d&&15!==d)){var f=h.alternate;f?(h.updateQueue=f.updateQueue,h.memoizedState=f.memoizedState,h.lanes=f.lanes):(h.updateQueue=null,h.memoizedState=null)}var p=ya(a);if(null!==p){p.flags&=-257,ba(p,a,l,0,t),1&p.mode&&va(o,u,t),c=u;var m=(t=p).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(!(1&t)){va(o,u,t),bc();break e}c=Error(s(426))}else if(ss&&1&l.mode){var _=ya(a);if(null!==_){!(65536&_.flags)&&(_.flags|=256),ba(_,a,l,0,t),ms(da(c,l));break e}}o=c=da(c,l),4!==Ul&&(Ul=2),null===Hl?Hl=[o]:Hl.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,js(o,ga(0,c,t));break e;case 1:l=c;var v=o.type,y=o.stateNode;if(!(128&o.flags||"function"!=typeof v.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==Yl&&Yl.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t,js(o,_a(o,l,t));break e}}o=o.return}while(null!==o)}Cc(n)}catch(b){t=b,Fl===n&&null!==n&&(Fl=n=n.return);continue}break}}function yc(){var e=Pl.current;return Pl.current=la,null===e?la:e}function bc(){0!==Ul&&3!==Ul&&2!==Ul||(Ul=4),null===Dl||!(268435455&Bl)&&!(268435455&$l)||dc(Dl,Ll)}function wc(e,t){var n=Ol;Ol|=2;var r=yc();for(Dl===e&&Ll===t||(Gl=null,_c(e,t));;)try{Ec();break}catch(i){vc(e,i)}if(Es(),Ol=n,Pl.current=r,null!==Fl)throw Error(s(261));return Dl=null,Ll=0,Ul}function Ec(){for(;null!==Fl;)Tc(Fl)}function Sc(){for(;null!==Fl&&!Qe();)Tc(Fl)}function Tc(e){var t=Il(e.alternate,e,jl);e.memoizedProps=e.pendingProps,null===t?Cc(e):Fl=t,Nl.current=null}function Cc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Za(n,t)))return n.flags&=32767,void(Fl=n);if(null===e)return Ul=6,void(Fl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ja(n,t,jl)))return void(Fl=n);if(null!==(t=t.sibling))return void(Fl=t);Fl=t=e}while(null!==t);0===Ul&&(Ul=5)}function xc(e,t,n){var r=yt,i=Rl.transition;try{Rl.transition=null,yt=1,function(e,t,n,r){do{Ac()}while(null!==Zl);if(6&Ol)throw Error(s(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ot(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}(e,o),e===Dl&&(Fl=Dl=null,Ll=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Jl||(Jl=!0,Dc(tt,(function(){return Ac(),null}))),o=!!(15990&n.flags),!!(15990&n.subtreeFlags)||o){o=Rl.transition,Rl.transition=null;var a=yt;yt=1;var l=Ol;Ol|=4,Nl.current=null,function(e,t){if(ti=Ht,fr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(w){n=null;break e}var a=0,l=-1,c=-1,u=0,h=0,d=e,f=null;t:for(;;){for(var p;d!==n||0!==i&&3!==d.nodeType||(l=a+i),d!==o||0!==r&&3!==d.nodeType||(c=a+r),3===d.nodeType&&(a+=d.nodeValue.length),null!==(p=d.firstChild);)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===i&&(l=a),f===o&&++h===r&&(c=a),null!==(p=d.nextSibling))break;f=(d=f).parentNode}d=p}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ni={focusedElem:e,selectionRange:n},Ht=!1,rl=t;null!==rl;)if(e=(t=rl).child,1028&t.subtreeFlags&&null!==e)e.return=t,rl=e;else for(;null!==rl;){t=rl;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,_=m.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:_s(t.type,g),_);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(s(163))}}catch(w){kc(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,rl=e;break}rl=t.return}m=ol,ol=!1}(e,n),wl(n,e),pr(ni),Ht=!!ti,ni=ti=null,e.current=n,Sl(n,e,i),Xe(),Ol=l,yt=a,Rl.transition=o}else e.current=n;if(Jl&&(Jl=!1,Zl=e,ec=i),o=e.pendingLanes,0===o&&(Yl=null),function(e){if(st&&"function"==typeof st.onCommitFiberRoot)try{st.onCommitFiberRoot(it,e,void 0,!(128&~e.current.flags))}catch(t){}}(n.stateNode),lc(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Ql)throw Ql=!1,e=Xl,Xl=null,e;!!(1&ec)&&0!==e.tag&&Ac(),o=e.pendingLanes,1&o?e===nc?tc++:(tc=0,nc=e):tc=0,zi()}(e,t,n,r)}finally{Rl.transition=i,yt=r}return null}function Ac(){if(null!==Zl){var e=bt(ec),t=Rl.transition,n=yt;try{if(Rl.transition=null,yt=16>e?16:e,null===Zl)var r=!1;else{if(e=Zl,Zl=null,ec=0,6&Ol)throw Error(s(331));var i=Ol;for(Ol|=4,rl=e.current;null!==rl;){var o=rl,a=o.child;if(16&rl.flags){var l=o.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(rl=u;null!==rl;){var h=rl;switch(h.tag){case 0:case 11:case 15:al(8,h,o)}var d=h.child;if(null!==d)d.return=h,rl=d;else for(;null!==rl;){var f=(h=rl).sibling,p=h.return;if(ul(h),h===u){rl=null;break}if(null!==f){f.return=p,rl=f;break}rl=p}}}var m=o.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(null!==g)}}rl=o}}if(2064&o.subtreeFlags&&null!==a)a.return=o,rl=a;else e:for(;null!==rl;){if(2048&(o=rl).flags)switch(o.tag){case 0:case 11:case 15:al(9,o,o.return)}var v=o.sibling;if(null!==v){v.return=o.return,rl=v;break e}rl=o.return}}var y=e.current;for(rl=y;null!==rl;){var b=(a=rl).child;if(2064&a.subtreeFlags&&null!==b)b.return=a,rl=b;else e:for(a=y;null!==rl;){if(2048&(l=rl).flags)try{switch(l.tag){case 0:case 11:case 15:ll(9,l)}}catch(E){kc(l,l.return,E)}if(l===a){rl=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,rl=w;break e}rl=l.return}}if(Ol=i,zi(),st&&"function"==typeof st.onPostCommitFiberRoot)try{st.onPostCommitFiberRoot(it,e)}catch(E){}r=!0}return r}finally{yt=n,Rl.transition=t}}return!1}function Ic(e,t,n){e=Fs(e,t=ga(0,t=da(n,t),1),1),t=sc(),null!==e&&(_t(e,1,t),lc(e,t))}function kc(e,t,n){if(3===e.tag)Ic(e,e,n);else for(;null!==t;){if(3===t.tag){Ic(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Yl||!Yl.has(r))){t=Fs(t,e=_a(t,e=da(n,e),1),1),e=sc(),null!==t&&(_t(t,1,e),lc(t,e));break}}t=t.return}}
vendor: 12,729 bytes, line 74
74function Pc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=sc(),e.pingedLanes|=e.suspendedLanes&n,Dl===e&&(Ll&n)===n&&(4===Ul||3===Ul&&(130023424&Ll)===Ll&&500>Ye()-ql?_c(e,0):zl|=n),lc(e,t)}function Nc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=sc();null!==(e=Ps(e,t))&&(_t(e,t,n),lc(e,n))}function Rc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Nc(e,n)}function Oc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(s(314))}null!==r&&r.delete(t),Nc(e,n)}function Dc(e,t){return Ke(e,t)}function Fc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lc(e,t,n,r){return new Fc(e,t,n,r)}function jc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mc(e,t){var n=e.alternate;return null===n?((n=Lc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Uc(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)jc(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case S:return Vc(n.children,i,o,t);case T:a=8,i|=8;break;case C:return(e=Lc(12,n,t,2|i)).elementType=C,e.lanes=o,e;case k:return(e=Lc(13,n,t,i)).elementType=k,e.lanes=o,e;case P:return(e=Lc(19,n,t,i)).elementType=P,e.lanes=o,e;case O:return Bc(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case x:a=10;break e;case A:a=9;break e;case I:a=11;break e;case N:a=14;break e;case R:a=16,r=null;break e}throw Error(s(130,null==e?e:typeof e,""))}return(t=Lc(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Vc(e,t,n,r){return(e=Lc(7,e,r,t)).lanes=n,e}function Bc(e,t,n,r){return(e=Lc(22,e,r,t)).elementType=O,e.lanes=n,e.stateNode={isHidden:!1},e}function $c(e,t,n){return(e=Lc(6,e,null,t)).lanes=n,e}function zc(e,t,n){return(t=Lc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Wc(e,t,n,r,i,s,o,a,l){return e=new Hc(e,t,n,a,l),1===t?(t=1,!0===s&&(t|=8)):t=0,s=Lc(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rs(s),e}function qc(e){if(!e)return Ii;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(s(171))}if(1===e.tag){var n=e.type;if(Oi(n))return Li(e,n,t)}return t}function Kc(e,t,n,r,i,s,o,a,l){return(e=Wc(n,r,!0,e,0,s,0,a,l)).context=qc(null),n=e.current,(s=Ds(r=sc(),i=oc(n))).callback=null!=t?t:null,Fs(n,s,i),e.current.lanes=i,_t(e,i,r),lc(e,r),e}function Gc(e,t,n,r){var i=t.current,s=sc(),o=oc(i);return n=qc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ds(s,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Fs(i,t,o))&&(ac(e,i,o,s),Ls(e,i,o)),o}function Qc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Xc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Yc(e,t){Xc(e,t),(e=e.alternate)&&Xc(e,t)}Il=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pi.current)Ea=!0;else{if(!(e.lanes&n||128&t.flags))return Ea=!1,function(e,t,n){switch(t.tag){case 3:Da(t),ps();break;case 5:oo(t);break;case 1:Oi(t.type)&&ji(t);break;case 4:io(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ai(vs,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ai(lo,1&lo.current),t.flags|=128,null):n&t.child.childLanes?$a(e,t,n):(Ai(lo,1&lo.current),null!==(e=Qa(e,t,n))?e.sibling:null);Ai(lo,1&lo.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Ka(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ai(lo,lo.current),r)break;return null;case 22:case 23:return t.lanes=0,ka(e,t,n)}return Qa(e,t,n)}(e,t,n);Ea=!!(131072&e.flags)}else Ea=!1,ss&&1048576&t.flags&&es(t,Ki,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ga(e,t),e=t.pendingProps;var i=Ri(t,ki.current);Cs(t,n),i=Co(null,t,r,e,i,n);var o=xo();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oi(r)?(o=!0,ji(t)):o=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Rs(t),i.updater=$s,t.stateNode=i,i._reactInternals=t,qs(t,r,e,n),t=Oa(null,t,r,!0,o,n)):(t.tag=0,ss&&o&&ts(t),Sa(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ga(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return jc(e)?1:0;if(null!=e){if((e=e.$$typeof)===I)return 11;if(e===N)return 14}return 2}(r),e=_s(r,e),i){case 0:t=Na(null,t,r,e,n);break e;case 1:t=Ra(null,t,r,e,n);break e;case 11:t=Ta(null,t,r,e,n);break e;case 14:t=xa(null,t,r,_s(r.type,e),n);break e}throw Error(s(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Na(e,t,r,i=t.elementType===r?i:_s(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ra(e,t,r,i=t.elementType===r?i:_s(r,i),n);case 3:e:{if(Da(t),null===e)throw Error(s(387));r=t.pendingProps,i=(o=t.memoizedState).element,Os(e,t),Ms(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Fa(e,t,r,n,i=da(Error(s(423)),t));break e}if(r!==i){t=Fa(e,t,r,n,i=da(Error(s(424)),t));break e}for(is=ui(t.stateNode.containerInfo.firstChild),rs=t,ss=!0,os=null,n=Js(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ps(),r===i){t=Qa(e,t,n);break e}Sa(e,t,r,n)}t=t.child}return t;case 5:return oo(t),null===e&&us(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,a=i.children,ri(r,i)?a=null:null!==o&&ri(r,o)&&(t.flags|=32),Pa(e,t),Sa(e,t,a,n),t.child;case 6:return null===e&&us(t),null;case 13:return $a(e,t,n);case 4:return io(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ys(t,null,r,n):Sa(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ta(e,t,r,i=t.elementType===r?i:_s(r,i),n);case 7:return Sa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Sa(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Ai(vs,r._currentValue),r._currentValue=a,null!==o)if(ar(o.value,a)){if(o.children===i.children&&!Pi.current){t=Qa(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){a=o.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===o.tag){(c=Ds(-1,n&-n)).tag=2;var u=o.updateQueue;if(null!==u){var h=(u=u.shared).pending;null===h?c.next=c:(c.next=h.next,h.next=c),u.pending=c}}o.lanes|=n,null!==(c=o.alternate)&&(c.lanes|=n),Ts(o.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===o.tag)a=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(a=o.return))throw Error(s(341));a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Ts(a,n,t),a=o.sibling}else a=o.child;if(null!==a)a.return=o;else for(a=o;null!==a;){if(a===t){a=null;break}if(null!==(o=a.sibling)){o.return=a.return,a=o;break}a=a.return}o=a}Sa(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Cs(t,n),r=r(i=xs(i)),t.flags|=1,Sa(e,t,r,n),t.child;case 14:return i=_s(r=t.type,t.pendingProps),xa(e,t,r,i=_s(r.type,i),n);case 15:return Ia(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:_s(r,i),Ga(e,t),t.tag=1,Oi(r)?(e=!0,ji(t)):e=!1,Cs(t,n),Hs(t,r,i),qs(t,r,i,n),Oa(null,t,r,!0,e,n);case 19:return Ka(e,t,n);case 22:return ka(e,t,n)}throw Error(s(156,t.tag))};var Jc="function"==typeof reportError?reportError:function(e){console.error(e)};function Zc(e){this._internalRoot=e}function eu(e){this._internalRoot=e}function tu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function nu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ru(){}function iu(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if("function"==typeof i){var a=i;i=function(){var e=Qc(o);a.call(e)}}Gc(t,o,e,i)}else o=function(e,t,n,r,i){if(i){if("function"==typeof r){var s=r;r=function(){var e=Qc(o);s.call(e)}}var o=Kc(t,r,e,0,null,!1,0,"",ru);return e._reactRootContainer=o,e[mi]=o.current,zr(8===e.nodeType?e.parentNode:e),mc(),o}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var a=r;r=function(){var e=Qc(l);a.call(e)}}var l=Wc(e,0,!1,null,0,!1,0,"",ru);return e._reactRootContainer=l,e[mi]=l.current,zr(8===e.nodeType?e.parentNode:e),mc((function(){Gc(t,l,n,r)})),l}(n,t,e,i,r);return Qc(o)}eu.prototype.render=Zc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(s(409));Gc(e,t,null,null)},eu.prototype.unmount=Zc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;mc((function(){Gc(null,e,null,null)})),t[mi]=null}},eu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Tt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ot.length&&0!==t&&t<Ot[n].priority;n++);Ot.splice(n,0,e),0===n&&jt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ht(t.pendingLanes);0!==n&&(vt(t,1|n),lc(t,Ye()),!(6&Ol)&&(Kl=Ye()+500,zi()))}break;case 13:mc((function(){var t=Ps(e,1);if(null!==t){var n=sc();ac(t,e,1,n)}})),Yc(e,1)}},Et=function(e){if(13===e.tag){var t=Ps(e,134217728);if(null!==t)ac(t,e,134217728,sc());Yc(e,134217728)}},St=function(e){if(13===e.tag){var t=oc(e),n=Ps(e,t);if(null!==n)ac(n,e,t,sc());Yc(e,t)}},Tt=function(){return yt},Ct=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},Ee=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Ei(r);if(!i)throw Error(s(90));K(r),J(r,i)}}}break;case"textarea":se(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ie=pc,ke=mc;var su={usingClientEntryPoint:!1,Events:[bi,wi,Ei,xe,Ae,pc]},ou={findFiberByHostInstance:yi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},au={bundleType:ou.bundleType,version:ou.version,rendererPackageName:ou.rendererPackageName,rendererConfig:ou.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:ou.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lu.isDisabled&&lu.supportsFiber)try{it=lu.inject(au),st=lu}catch(ue){}}
74t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=su,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!tu(t))throw Error(s(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!tu(e))throw Error(s(299));var n=!1,r="",i=Jc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Wc(e,1,!1,null,0,n,0,r,i),e[mi]=t.current,zr(8===e.nodeType?e.parentNode:e),new Zc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(s(188));throw e=Object.keys(e).join(","),Error(s(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return mc(e)},t.hydrate=function(e,t,n){if(!nu(t))throw Error(s(200));return iu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!tu(e))throw Error(s(405));var r=null!=n&&n.hydratedSources||null,i=!1,o="",a=Jc;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=Kc(t,null,e,1,null!=n?n:null,i,0,o,a),e[mi]=t.current,zr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new eu(t)},t.render=function(e,t,n){if(!nu(t))throw Error(s(200));return iu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nu(e))throw Error(s(40));return!!e._reactRootContainer&&(mc((function(){iu(null,null,e,!1,(function(){e._reactRootContainer=null,e[mi]=null}))})),!0)},t.unstable_batchedUpdates=pc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nu(n))throw Error(s(200));if(null==e||void 0===e._reactInternals)throw Error(s(38));return iu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},5873:(e,t,n)=>{"use strict";var r=n(3144);t.H=r.createRoot,r.hydrateRoot},3144:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(7400)},9772:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,i="undefined"!=typeof Element;function s(e,o){if(e===o)return!0;if(e&&o&&"object"==typeof e&&"object"==typeof o){var a,l,c,u=t(e),h=t(o);if(u&&h){if((l=e.length)!=o.length)return!1;for(a=l;0!=a--;)if(!s(e[a],o[a]))return!1;return!0}if(u!=h)return!1;var d=e instanceof Date,f=o instanceof Date;if(d!=f)return!1;if(d&&f)return e.getTime()==o.getTime();var p=e instanceof RegExp,m=o instanceof RegExp;if(p!=m)return!1;if(p&&m)return e.toString()==o.toString();var g=n(e);if((l=g.length)!==n(o).length)return!1;for(a=l;0!=a--;)if(!r.call(o,g[a]))return!1;if(i&&e instanceof Element&&o instanceof Element)return e===o;for(a=l;0!=a--;)if(!("_owner"===(c=g[a])&&e.$$typeof||s(e[c],o[c])))return!1;return!0}return e!=e&&o!=o}e.exports=function(e,t){try{return s(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},7038:(e,t)=>{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler");Symbol.for("react.provider");var a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case o:case s:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case c:case f:case d:case a:return e;default:return t}}case r:return t}}}t.vM=c,t.lD=d},6885:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
74i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return s(t,e),t},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l=o(n(4041)),c="undefined"!=typeof window&&"navigator"in window&&/Win/i.test(navigator.platform),u="undefined"!=typeof window&&"navigator"in window&&/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform),h="npm__react-simple-code-editor__textarea",d="\n/**\n * Reset the text fill color so that placeholder is visible\n */\n.".concat(h,":empty {\n -webkit-text-fill-color: inherit !important;\n}\n\n/**\n * Hack to apply on some CSS on IE10 and IE11\n */\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n /**\n * IE doesn't support '-webkit-text-fill-color'\n * So we use 'color: transparent' to make the text transparent on IE\n * Unlike other browsers, it doesn't affect caret color in IE\n */\n .").concat(h," {\n color: transparent !important;\n }\n\n .").concat(h,"::selection {\n background-color: #accef7 !important;\n color: transparent !important;\n }\n}\n"),f=l.forwardRef((function(e,t){var n=e.autoFocus,i=e.disabled,s=e.form,o=e.highlight,f=e.ignoreTabKey,m=void 0!==f&&f,g=e.insertSpaces,_=void 0===g||g,v=e.maxLength,y=e.minLength,b=e.name,w=e.onBlur,E=e.onClick,S=e.onFocus,T=e.onKeyDown,C=e.onKeyUp,x=e.onValueChange,A=e.padding,I=void 0===A?0:A,k=e.placeholder,P=e.preClassName,N=e.readOnly,R=e.required,O=e.style,D=e.tabSize,F=void 0===D?2:D,L=e.textareaClassName,j=e.textareaId,M=e.value,U=a(e,["autoFocus","disabled","form","highlight","ignoreTabKey","insertSpaces","maxLength","minLength","name","onBlur","onClick","onFocus","onKeyDown","onKeyUp","onValueChange","padding","placeholder","preClassName","readOnly","required","style","tabSize","textareaClassName","textareaId","value"]),V=l.useRef({stack:[],offset:-1}),B=l.useRef(null),$=l.useState(!0),z=$[0],H=$[1],W={paddingTop:"object"==typeof I?I.top:I,paddingRight:"object"==typeof I?I.right:I,paddingBottom:"object"==typeof I?I.bottom:I,paddingLeft:"object"==typeof I?I.left:I},q=o(M),K=function(e,t){return e.substring(0,t).split("\n")},G=l.useCallback((function(e,t){var n,i,s;void 0===t&&(t=!1);var o=V.current,a=o.stack,l=o.offset;if(a.length&&l>-1){V.current.stack=a.slice(0,l+1);var c=V.current.stack.length;if(c>100){var u=c-100;V.current.stack=a.slice(u,c),V.current.offset=Math.max(V.current.offset-u,0)}}var h=Date.now();if(t){var d=V.current.stack[V.current.offset];if(d&&h-d.timestamp<3e3){var f=/[^a-z0-9]([a-z0-9]+)$/i,p=null===(n=K(d.value,d.selectionStart).pop())||void 0===n?void 0:n.match(f),m=null===(i=K(e.value,e.selectionStart).pop())||void 0===i?void 0:i.match(f);if((null==p?void 0:p[1])&&(null===(s=null==m?void 0:m[1])||void 0===s?void 0:s.startsWith(p[1])))return void(V.current.stack[V.current.offset]=r(r({},e),{timestamp:h}))}}V.current.stack.push(r(r({},e),{timestamp:h})),V.current.offset++}),[]),Q=l.useCallback((function(){var e=B.current;if(e){var t=e.value,n=e.selectionStart,r=e.selectionEnd;G({value:t,selectionStart:n,selectionEnd:r})}}),[G]),X=function(e){var t=B.current;t&&(t.value=e.value,t.selectionStart=e.selectionStart,t.selectionEnd=e.selectionEnd,null==x||x(e.value))},Y=function(e){var t=B.current,n=V.current.stack[V.current.offset];n&&t&&(V.current.stack[V.current.offset]=r(r({},n),{selectionStart:t.selectionStart,selectionEnd:t.selectionEnd})),G(e),X(e)};return l.useEffect((function(){Q()}),[Q]),l.useImperativeHandle(t,(function(){return{get session(){return{history:V.current}},set session(e){V.current=e.history}}}),[]),l.createElement("div",r({},U,{style:r(r({},p.container),O)}),l.createElement("pre",r({className:P,"aria-hidden":"true",style:r(r(r({},p.editor),p.highlight),W)},"string"==typeof q?{dangerouslySetInnerHTML:{__html:q+"<br />"}}:{children:q})),l.createElement("textarea",{ref:function(e){return B.current=e},style:r(r(r({},p.editor),p.textarea),W),className:h+(L?" ".concat(L):""),id:j,value:M,onChange:function(e){var t=e.currentTarget,n=t.value,r=t.selectionStart,i=t.selectionEnd;G({value:n,selectionStart:r,selectionEnd:i},!0),x(n)},onKeyDown:function(e){if(!T||(T(e),!e.defaultPrevented)){"Escape"===e.key&&e.currentTarget.blur();var t=e.currentTarget,n=t.value,r=t.selectionStart,i=t.selectionEnd,s=(_?" ":"\t").repeat(F);if("Tab"===e.key&&!m&&z)if(e.preventDefault(),e.shiftKey){var o=(d=K(n,r)).length-1,a=K(n,i).length-1,l=n.split("\n").map((function(e,t){return t>=o&&t<=a&&e.startsWith(s)?e.substring(s.length):e})).join("\n");if(n!==l){var h=d[o];Y({value:l,selectionStart:(null==h?void 0:h.startsWith(s))?r-s.length:r,selectionEnd:i-(n.length-l.length)})}}else if(r!==i){var d,f=(d=K(n,r)).length-1,p=K(n,i).length-1;h=d[f];Y({value:n.split("\n").map((function(e,t){return t>=f&&t<=p?s+e:e})).join("\n"),selectionStart:h&&/\S/.test(h)?r+s.length:r,selectionEnd:i+s.length*(p-f+1)})}else{var g=r+s.length;Y({value:n.substring(0,r)+s+n.substring(i),selectionStart:g,selectionEnd:g})}else if("Backspace"===e.key){var v=r!==i;if(n.substring(0,r).endsWith(s)&&!v){e.preventDefault();g=r-s.length;Y({value:n.substring(0,r-s.length)+n.substring(i),selectionStart:g,selectionEnd:g})}}else if("Enter"===e.key){if(r===i){var y=K(n,r).pop(),b=null==y?void 0:y.match(/^\s+/);if(null==b?void 0:b[0]){e.preventDefault();var w="\n"+b[0];g=r+w.length;Y({value:n.substring(0,r)+w+n.substring(i),selectionStart:g,selectionEnd:g})}}}else if(57===e.keyCode||219===e.keyCode||222===e.keyCode||192===e.keyCode){var E=void 0;57===e.keyCode&&e.shiftKey?E=["(",")"]:219===e.keyCode?E=e.shiftKey?["{","}"]:["[","]"]:222===e.keyCode?E=e.shiftKey?['"','"']:["'","'"]:192!==e.keyCode||e.shiftKey||(E=["`","`"]),r!==i&&E&&(e.preventDefault(),Y({value:n.substring(0,r)+E[0]+n.substring(r,i)+E[1]+n.substring(i),selectionStart:r,selectionEnd:i+2}))}else!(u?e.metaKey&&90===e.keyCode:e.ctrlKey&&90===e.keyCode)||e.shiftKey||e.altKey?(u?e.metaKey&&90===e.keyCode&&e.shiftKey:c?e.ctrlKey&&89===e.keyCode:e.ctrlKey&&90===e.keyCode&&e.shiftKey)&&!e.altKey?(e.preventDefault(),function(){var e=V.current,t=e.stack,n=e.offset,r=t[n+1];r&&(X(r),V.current.offset=Math.min(n+1,t.length-1))}
74()):77!==e.keyCode||!e.ctrlKey||u&&!e.shiftKey||(e.preventDefault(),H((function(e){return!e}))):(e.preventDefault(),function(){var e=V.current,t=e.stack,n=e.offset,r=t[n-1];r&&(X(r),V.current.offset=Math.max(n-1,0))}())}},onClick:E,onKeyUp:C,onFocus:S,onBlur:w,disabled:i,form:s,maxLength:v,minLength:y,name:b,placeholder:k,readOnly:N,required:R,autoFocus:n,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"data-gramm":!1}),l.createElement("style",{dangerouslySetInnerHTML:{__html:d}}))})),p={container:{position:"relative",textAlign:"left",boxSizing:"border-box",padding:0,overflow:"hidden"},textarea:{position:"absolute",top:0,left:0,height:"100%",width:"100%",resize:"none",color:"inherit",overflow:"hidden",MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",WebkitTextFillColor:"transparent"},highlight:{position:"relative",pointerEvents:"none"},editor:{margin:0,border:0,background:"none",boxSizing:"inherit",display:"inherit",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontVariantLigatures:"inherit",fontWeight:"inherit",letterSpacing:"inherit",lineHeight:"inherit",tabSize:"inherit",textIndent:"inherit",textRendering:"inherit",textTransform:"inherit",whiteSpace:"pre-wrap",wordBreak:"keep-all",overflowWrap:"break-word"}};t.default=f},3335:(e,t,n)=>{"use strict";var r=n(4041),i=Symbol.for("react.element"),s=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,s={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,r)&&!l.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===s[r]&&(s[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:s,_owner:a.current}}t.Fragment=s,t.jsx=c,t.jsxs=c},4304:(e,t)=>
vendor: 10,418 bytes, line 74
74{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=_.prototype;var b=y.prototype=new v;b.constructor=y,m(b,_.prototype),b.isPureReactComponent=!0;var w=Array.isArray,E=Object.prototype.hasOwnProperty,S={current:null},T={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var i,s={},o=null,a=null;if(null!=t)for(i in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)E.call(t,i)&&!T.hasOwnProperty(i)&&(s[i]=t[i]);var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===s[i]&&(s[i]=l[i]);return{$$typeof:n,type:e,key:o,ref:a,props:s,_owner:S.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var A=/\/+/g;function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function k(e,t,i,s,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return o=o(l=e),e=""===s?"."+I(l,0):s,w(o)?(i="",null!=e&&(i=e.replace(A,"$&/")+"/"),k(o,t,i,"",(function(e){return e}))):null!=o&&(x(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,i+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(A,"$&/")+"/")+e)),t.push(o)),1;if(l=0,s=""===s?".":s+":",w(e))for(var c=0;c<e.length;c++){var u=s+I(a=e[c],c);l+=k(a,t,i,u,o)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(a=e.next()).done;)l+=k(a=a.value,t,i,u=s+I(a,c++),o);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function P(e,t,n){if(null==e)return e;var r=[],i=0;return k(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},O={transition:null},D={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:O,ReactCurrentOwner:S};t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=_,t.Fragment=i,t.Profiler=o,t.PureComponent=y,t.StrictMode=s,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),s=e.key,o=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,a=S.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)E.call(t,c)&&!T.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}return{$$typeof:n,type:e.type,key:s,ref:o,props:i,_owner:a}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return R.current.useCallback(e,t)},t.useContext=function(e){return R.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return R.current.useDeferredValue(e)},t.useEffect=function(e,t){return R.current.useEffect(e,t)},t.useId=function(){return R.current.useId()},t.useImperativeHandle=function(e,t,n){return R.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return R.current.useMemo(e,t)},t.useReducer=function(e,t,n){return R.current.useReducer(e,t,n)},t.useRef=function(e){return R.current.useRef(e)},t.useState=function(e){return R.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return R.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return R.current.useTransition()},t.version="18.2.0"},4041:(e,t,n)=>{"use strict";e.exports=n(4304)},1085:(e,t,n)=>{"use strict";e.exports=n(3335)},2568:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<s(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var a=2*(r+1)-1,l=e[a],c=a+1,u=e[c];if(0>s(l,n))c<i&&0>s(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[a]=n,r=a);else{if(!(c<i&&0>s(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function s(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();t.unstable_now=function(){return a.now()-l}}var c=[],u=[],h=1,d=null,f=3,p=!1,m=!1,g=!1,_="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var t=r(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(g=!1,b(e),!m)if(null!==r(c))m=!0,O(E);else{var t=r(u);null!==t&&D(w,t.startTime-e)}}function E(e,n){m=!1,g&&(g=!1,v(x),x=-1),p=!0;var s=f;try{for(b(n),d=r(c);null!==d&&(!(d.expirationTime>n)||e&&!k());){var o=d.callback;if("function"==typeof o){d.callback=null,f=d.priorityLevel;var a=o(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof a?d.callback=a:d===r(c)&&i(c),b(n)}else i(c);d=r(c)}if(null!==d)var l=!0;else{var h=r(u);null!==h&&D(w,h.startTime-n),l=!1}return l}finally{d=null,f=s,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,T=!1,C=null,x=-1,A=5,I=-1;function k(){return!(t.unstable_now()-I<A)}function P(){if(null!==C){var e=t.unstable_now();I=e;var n=!0;try{n=C(!0,e)}finally{n?S():(T=!1,C=null)}}else T=!1}if("function"==typeof y)S=function(){y(P)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,R=N.port2;N.port1.onmessage=P,S=function(){R.postMessage(null)}}else S=function(){_(P,0)};function O(e){C=e,T||(T=!0,S())}function D(e,n){x=_((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,O(E))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,i,s){var o=t.unstable_now();switch("object"==typeof s&&null!==s?s="number"==typeof(s=s.delay)&&0<s?o+s:o:s=o,e){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return e={id:h++,callback:i,priorityLevel:e,startTime:s,expirationTime:a=s+a,sortIndex:-1},s>o?(e.sortIndex=s,n(u,e),null===r(c)&&e===r(u)&&(g?(v(x),x=-1):g=!0,D(w,s-o))):(e.sortIndex=a,n(c,e),m||p||(m=!0,O(E))),e},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},7967:(e,t,n)=>{"use strict";e.exports=n(2568)},5171:e=>{"use strict";var t;t=function(){var e={},t={};
74return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!==n&&t[e.name].splice(n,1)},e.trigger=function(e,n){var r,i=t[e];if(i)for(r=i.length;r--;)i[r].handler(n)},e},e.exports=t},5855:e=>{const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=e=>e.match(t)||[],r=e=>e[0].toUpperCase()+e.slice(1),i=(e,t)=>n(e).join(t).toLowerCase(),s=e=>n(e).reduce(((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`),"");e.exports={words:n,upperFirst:r,camelCase:s,pascalCase:e=>r(s(e)),snakeCase:e=>i(e,"_"),kebabCase:e=>i(e,"-"),sentenceCase:e=>r(i(e," ")),titleCase:e=>n(e).map(r).join(" ")}},2702:e=>{function t(e,t){var n=e.length,r=new Array(n),i={},s=n,o=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!a.has(e[0])||!a.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));s--;)i[s]||l(e[s],s,new Set);return r;function l(e,t,s){if(s.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch(d){c=""}throw new Error("Cyclic dependency"+c)}if(!a.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!i[t]){i[t]=!0;var u=o.get(e)||new Set;if(t=(u=Array.from(u)).length){s.add(e);do{var h=u[--t];l(h,a.get(h),s)}while(t);s.delete(e)}r[--n]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=t},5143:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(211),s=(r=i)&&r.__esModule?r:{default:r};t.default={pauseVideo:{acceptableStates:[s.default.ENDED,s.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[s.default.ENDED,s.default.PLAYING],stateChangeRequired:!1}
74,seekTo:{acceptableStates:[s.default.ENDED,s.default.PLAYING,s.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},6976:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(7263)),i=a(n(2996)),s=a(n(906)),o=a(n(5143));function a(e){return e&&e.__esModule?e:{default:e}}var l=(0,r.default)("youtube-player"),c={proxyEvents:function(e){var t={},n=function(n){var r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=function(t){l('event "%s"',r,t),e.trigger(n,t)}},r=!0,i=!1,o=void 0;try{for(var a,c=s.default[Symbol.iterator]();!(r=(a=c.next()).done);r=!0){n(a.value)}}catch(u){i=!0,o=u}finally{try{!r&&c.return&&c.return()}finally{if(i)throw o}}return t},promisifyPlayer:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=function(r){t&&o.default[r]?n[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.then((function(e){var t=o.default[r],i=e.getPlayerState(),s=e[r].apply(e,n);return t.stateChangeRequired||Array.isArray(t.acceptableStates)&&-1===t.acceptableStates.indexOf(i)?new Promise((function(n){e.addEventListener("onStateChange",(function r(){var i=e.getPlayerState(),s=void 0;"number"==typeof t.timeout&&(s=setTimeout((function(){e.removeEventListener("onStateChange",r),n()}),t.timeout)),Array.isArray(t.acceptableStates)&&-1!==t.acceptableStates.indexOf(i)&&(e.removeEventListener("onStateChange",r),clearTimeout(s),n())}))})).then((function(){return s})):s}))}:n[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.then((function(e){return e[r].apply(e,n)}))}},s=!0,a=!1,l=void 0;try{for(var c,u=i.default[Symbol.iterator]();!(s=(c=u.next()).done);s=!0){r(c.value)}}catch(h){a=!0,l=h}finally{try{!s&&u.return&&u.return()}finally{if(a)throw l}}return n}};t.default=c,e.exports=t.default},211:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},906:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},2996:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","
74setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},8924:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=a(n(5171)),s=a(n(8397)),o=a(n(6976));function a(e){return e&&e.__esModule?e:{default:e}}var l=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=(0,i.default)();if(l||(l=(0,s.default)(a)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=o.default.proxyEvents(a);var c=new Promise((function(n){"object"===(void 0===e?"undefined":r(e))&&e.playVideo instanceof Function?n(e):l.then((function(r){var i=new r.Player(e,t);return a.on("ready",(function(){n(i)})),null}))})),u=o.default.promisifyPlayer(c,n);return u.on=a.on,u.off=a.off,u},e.exports=t.default},8397:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(9938),s=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return new Promise((function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)t(window.YT);else{var n="http:"===window.location.protocol?"http:":"https:";(0,s.default)(n+"//www.youtube.com/iframe_api",(function(t){t&&e.trigger("error",t)}));var r=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){r&&r(),t(window.YT)}}}))},e.exports=t.default},7263:(e,t,n)=>{function r(){var e;try{e=t.storage.debug}catch(n){}return!e&&"undefined"!=typeof process&&"env"in process&&(e={NX_APP_FIREBASE_API_KEY:"AIzaSyAqrnh278DkaUjuVEBfLGtZwa0cEtP3n1o",NX_APP_FIREBASE_AUTH_DOMAIN:"shift-89fes2024.firebaseapp.com",NX_APP_FIREBASE_PROJECT_ID:"shift-89fes2024",NX_APP_FIREBASE_STORAGE_BUCKET:"shift-89fes2024.appspot.com",NX_APP_FIREBASE_MESSAGING_SENDER_ID:"170484621347",NX_APP_FIREBASE_APP_ID:"1:170484621347:web:0e749d623ded68ff29d196",NX_APP_FIREBASE_MEASUREMENT_ID:"G-0B5PH9DBTL",NX_APP_ENVIRONMENT:"production",NX_CLI_SET:"true",NX_LOAD_DOT_ENV_FILES:"true",NX_WORKSPACE_ROOT:"/Users/phuc.bui/working/bugfes2024-prod/design-form",NX_TERMINAL_OUTPUT_PATH:"/Users/phuc.bui/working/bugfes2024-prod/design-form/node_modules/.cache/nx/terminalOutputs/5379331968827017544",NX_STREAM_OUTPUT:"true",NX_TASK_TARGET_PROJECT:"shift89fes2024-front",NX_TASK_TARGET_TARGET:"build",NX_TASK_TARGET_CONFIGURATION:"production",NX_TASK_HASH:"5379331968827017544"}.DEBUG),e}(t=e.exports=n(9028)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,s=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(i++,"%c"===e&&(s=i))})),e.splice(s,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(r())}
74,9028:(e,t,n)=>{var r;function i(e){function n(){if(n.enabled){var e=n,i=+new Date,s=i-(r||i);e.diff=s,e.prev=r,e.curr=i,r=i;for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];o[0]=t.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var l=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;l++;var i=t.formatters[r];if("function"==typeof i){var s=o[l];n=i.call(e,s),o.splice(l,1),l--}return n})),t.formatArgs.call(e,o),(n.log||t.log||console.log.bind(console)).apply(e,o)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"==typeof t.init&&t.init(n),n}(t=e.exports=i.debug=i.default=i).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length,i=0;i<r;i++)n[i]&&("-"===(e=n[i].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(4659),t.names=[],t.skips=[],t.formatters={}},4659:e=>{var t=1e3,n=60*t,r=60*n,i=24*r,s=365.25*i;function o(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,a){a=a||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var o=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!o)return;var a=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===c&&!1===isNaN(e))return a.long?o(l=e,i,"day")||o(l,r,"hour")||o(l,n,"minute")||o(l,t,"second")||l+" ms":function(e){if(e>=i)return Math.round(e/i)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},3569:()=>{},4357:(e,t,n)=>{"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}n.d(t,{A:()=>i});const i=function(){for(var e,t,n=0,i="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}},3189:e=>{"use strict";e.exports={rE:"3.1.10"}},5214:e=>{"use strict";e.exports={rE:"2.2.0"}}},e=>{var t;t=9809,e(e.s=t)}]);
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.