PageSourceSearch

https://rockflow.ai/_next/static/chunks/pages/_app-976b0e3f8720f37b.js

js rockflow.ai collected 2026-10-02 09:56:04 UTC 2,040,990 bytes, 20 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b23f05e2-0c1c-488b-bc90-2653efa854be",e._sentryDebugIdIdentifier="sentry-dbid-b23f05e2-0c1c-488b-bc90-2653efa854be")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{90172:function(e,t,r){var n;!function(o){"use strict";var i,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,u=Math.floor,l="[BigNumber Error] ",d=l+"Number primitive has more than 15 significant digits: ",c=1e14,p=14,h=0x1fffffffffffff,f=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],m=1e7,g=1e9;function y(e){var t,r,n,o=R.prototype={constructor:R,toString:null,valueOf:null},i=new R(1),E=20,P=4,k=-7,D=21,A=-1e7,O=1e7,N=!1,C=1,$=0,M={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},I="0123456789abcdefghijklmnopqrstuvwxyz",L=!0;function R(e,t){var o,i,s,l,c,f,m,g,y=this;if(!(y instanceof R))return new R(e,t);if(null==t){if(e&&!0===e._isBigNumber){y.s=e.s,!e.c||e.e>O?y.c=y.e=null:e.e<A?y.c=[y.e=0]:(y.e=e.e,y.c=e.c.slice());return}if((f="number"==typeof e)&&0*e==0){if(y.s=1/e<0?(e=-e,-1):1,e===~~e){for(l=0,c=e;c>=10;c/=10,l++);l>O?y.c=y.e=null:(y.e=l,y.c=[e]);return}g=String(e)}else{if(!a.test(g=String(e)))return n(y,g,f);y.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(l=g.indexOf("."))>-1&&(g=g.replace(".","")),(c=g.search(/e/i))>0?(l<0&&(l=c),l+=+g.slice(c+1),g=g.substring(0,c)):l<0&&(l=g.length)}else{if(_(t,2,I.length,"Base"),10==t&&L)return j(y=new R(e),E+y.e+1,P);if(g=String(e),f="number"==typeof e){if(0*e!=0)return n(y,g,f,t);if(y.s=1/e<0?(g=g.slice(1),-1):1,R.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(d+e)}else y.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(o=I.slice(0,t),l=c=0,m=g.length;c<m;c++)if(0>o.indexOf(i=g.charAt(c))){if("."==i){if(c>l){l=m;continue}}else if(!s&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){s=!0,c=-1,l=0;continue}return n(y,String(e),f,t)}f=!1,(l=(g=r(g,t,10,y.s)).indexOf("."))>-1?g=g.replace(".",""):l=g.length}for(c=0;48===g.charCodeAt(c);c++);for(m=g.length;48===g.charCodeAt(--m););if(g=g.slice(c,++m)){if(m-=c,f&&R.DEBUG&&m>15&&(e>h||e!==u(e)))throw Error(d+y.s*e);if((l=l-c-1)>O)y.c=y.e=null;else if(l<A)y.c=[y.e=0];else{if(y.e=l,y.c=[],c=(l+1)%p,l<0&&(c+=p),c<m){for(c&&y.c.push(+g.slice(0,c)),m-=p;c<m;)y.c.push(+g.slice(c,c+=p));c=p-(g=g.slice(c)).length}else c-=m;for(;c--;g+="0");y.c.push(+g)}}else y.c=[y.e=0]}function F(e,t,r,n){var o,i,a,s,u;if(null==r?r=P:_(r,0,8),!e.c)return e.toString();if(o=e.c[0],a=e.e,null==t)u=v(e.c),u=1==n||2==n&&(a<=k||a>=D)?x(u,a):T(u,a,"0");else if(i=(e=j(new R(e),t,r)).e,s=(u=v(e.c)).length,1==n||2==n&&(t<=i||i<=k)){for(;s<t;u+="0",s++);u=x(u,i)}else if(t-=a+(2===n&&i>a),u=T(u,i,"0"),i+1>s){if(--t>0)for(u+=".";t--;u+="0");}else if((t+=i-s)>0)for(i+1==s&&(u+=".");t--;u+="0");return e.s<0&&o?"-"+u:u}function B(e,t){for(var r,n,o=1,i=new R(e[0]);o<e.length;o++)(n=new R(e[o])).s&&(r=S(i,n))!==t&&(0!==r||i.s!==t)||(i=n);return i}function U(e,t,r){for(var n=1,o=t.length;!t[--o];t.pop());for(o=t[0];o>=10;o/=10,n++);return(r=n+r*p-1)>O?e.c=e.e=null:r<A?e.c=[e.e=0]:(e.e=r,e.c=t),e}function j(e,t,r,n){var o,i,a,l,d,h,m,g=e.c,y=f;if(g){e:{for(o=1,l=g[0];l>=10;l/=10,o++);if((i=t-o)<0)i+=p,a=t,m=u((d=g[h=0])/y[o-a-1]%10);else if((h=s((i+1)/p))>=g.length){if(n){for(;g.length<=h;g.push(0));d=m=0,o=1,i%=p,a=i-p+1}else break e}else{for(o=1,d=l=g[h];l>=10;l/=10,o++);i%=p,m=(a=i-p+o)<0?0:u(d/y[o-a-1]%10)}if(n=n||t<0||null!=g[h+1]||(a<0?d:d%y[o-a-1]),n=r<4?(m||n)&&(0==r||r==(e.s<0?3:2)):m>5||5==m&&(4==r||n||6==r&&(i>0?a>0?d/y[o-a]:0:g[h-1])%10&1||r==(e.s<0?8:7)),t<1||!g[0])return g.length=0,n?(t-=e.e+1,g[0]=y[(p-t%p)%p],e.e=-t||0):g[0]=e.e=0,e;if(0==i?(g.length=h,l=1,h--):(g.length=h+1,l=y[p-i],g[h]=a>0?u(d/y[o-a]%y[a])*l:0),n)for(;;){if(0==h){for(i=1,a=g[0];a>=10;a/=10,i++);for(a=g[0]+=l,l=1;a>=10;a/=10,l++);i!=l&&(e.e++,g[0]==c&&(g[0]=1));break}if(g[h]+=l,g[h]!=c)break;g[h--]=0,l=1}for(i=g.length;0===g[--i];g.pop());}e.e>O?e.c=e.e=null:e.e<A&&(e.c=[e.e=0])}return e}function V(e){var t,r=e.e;return null===r?e.toString():(t=v(e.c),t=r<=k||r>=D?x(t,r):T(t,r,"0"),e.s<0?"-"+t:t)}return R.clone=y,R.ROUND_UP=0,R.ROUND_DOWN=1,R.ROUND_CEIL=2,R.ROUND_FLOOR=3,R.ROUND_HALF_UP=4,R.ROUND_HALF_DOWN=5,R.ROUND_HALF_EVEN=6,R.ROUND_HALF_CEIL=7,R.ROUND_HALF_FLOOR=8,R.EUCLID=9,R.config=R.set=function(e){var t,r;if(null!=e){if("object"==typeof e){if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(_(r=e[t],0,g,t),E=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(_(r=e[t],0,8,t),P=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(_(r[0],-g,0,t),_(r[1],0,g,t),k=r[0],D=r[1]):(_(r,-g,g,t),k=-(D=r<0?-r:r))),e.hasOwnProperty(t="RANGE")){if((r=e[t])&&r.pop)_(r[0],-g,-1,t),_(r[1],1,g,t),A=r[0],O=r[1];else if(_(r,-g,g,t),r)A=-(O=r<0?-r:r);else throw Error(l+t+" cannot be zero: "+r)}if(e.hasOwnProperty(t="CRYPTO")){if(!!(r=e[t])===r){if(r){if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))N=r;else throw N=!r,Error(l+"crypto unavailable")}else N=r}else throw Error(l+t+" not true or false: "+r)}if(e.hasOwnProperty(t="MODULO_MODE")&&(_(r=e[t],0,9,t),C=r),e.hasOwnProperty(t="POW_PRECISION")&&(_(r=e[t],0,g,t),$=r),e.hasOwnProperty(t="FORMAT")){if("object"==typeof(r=e[t]))M=r;else throw Error(l+t+" not an object: "+r)}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.?$|[+\-.\
vendor: 5,546 bytes, line 1
1s]|(.).*\1/.test(r))throw Error(l+t+" invalid: "+r);L="0123456789"==r.slice(0,10),I=r}}else throw Error(l+"Object expected: "+e)}return{DECIMAL_PLACES:E,ROUNDING_MODE:P,EXPONENTIAL_AT:[k,D],RANGE:[A,O],CRYPTO:N,MODULO_MODE:C,POW_PRECISION:$,FORMAT:M,ALPHABET:I}},R.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!R.DEBUG)return!0;var t,r,n=e.c,o=e.e,i=e.s;e:if("[object Array]"==({}).toString.call(n)){if((1===i||-1===i)&&o>=-g&&o<=g&&o===u(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break e}if((t=(o+1)%p)<1&&(t+=p),String(n[0]).length==t){for(t=0;t<n.length;t++)if((r=n[t])<0||r>=c||r!==u(r))break e;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===i||1===i||-1===i))return!0;throw Error(l+"Invalid BigNumber: "+e)},R.maximum=R.max=function(){return B(arguments,-1)},R.minimum=R.min=function(){return B(arguments,1)},R.random=function(){var e=0x20000000000000,t=0x20000000000000*Math.random()&2097151?function(){return u(Math.random()*e)}:function(){return(0x40000000*Math.random()|0)*8388608+(8388608*Math.random()|0)};return function(e){var r,n,o,a,d,c=0,h=[],m=new R(i);if(null==e?e=E:_(e,0,g),a=s(e/p),N){if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(a*=2));c<a;)(d=131072*r[c]+(r[c+1]>>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[c]=n[0],r[c+1]=n[1]):(h.push(d%1e14),c+=2);c=a/2}else if(crypto.randomBytes){for(r=crypto.randomBytes(a*=7);c<a;)(d=(31&r[c])*0x1000000000000+0x10000000000*r[c+1]+0x100000000*r[c+2]+0x1000000*r[c+3]+(r[c+4]<<16)+(r[c+5]<<8)+r[c+6])>=9e15?crypto.randomBytes(7).copy(r,c):(h.push(d%1e14),c+=7);c=a/7}else throw N=!1,Error(l+"crypto unavailable")}if(!N)for(;c<a;)(d=t())<9e15&&(h[c++]=d%1e14);for(a=h[--c],e%=p,a&&e&&(d=f[p-e],h[c]=u(a/d)*d);0===h[c];h.pop(),c--);if(c<0)h=[o=0];else{for(o=-1;0===h[0];h.splice(0,1),o-=p);for(c=1,d=h[0];d>=10;d/=10,c++);c<p&&(o-=p-c)}return m.e=o,m.c=h,m}}(),R.sum=function(){for(var e=1,t=arguments,r=new R(t[0]);e<t.length;)r=r.plus(t[e++]);return r},r=function(){var e="0123456789";function r(e,t,r,n){for(var o,i,a=[0],s=0,u=e.length;s<u;){for(i=a.length;i--;a[i]*=t);for(a[0]+=n.indexOf(e.charAt(s++)),o=0;o<a.length;o++)a[o]>r-1&&(null==a[o+1]&&(a[o+1]=0),a[o+1]+=a[o]/r|0,a[o]%=r)}return a.reverse()}return function(n,o,i,a,s){var u,l,d,c,p,h,f,m,g=n.indexOf("."),y=E,b=P;for(g>=0&&(c=$,$=0,n=n.replace(".",""),h=(m=new R(o)).pow(n.length-g),$=c,m.c=r(T(v(h.c),h.e,"0"),10,i,e),m.e=m.c.length),d=c=(f=r(n,o,i,s?(u=I,e):(u=e,I))).length;0==f[--c];f.pop());if(!f[0])return u.charAt(0);if(g<0?--d:(h.c=f,h.e=d,h.s=a,f=(h=t(h,m,y,b,i)).c,p=h.r,d=h.e),g=f[l=d+y+1],c=i/2,p=p||l<0||null!=f[l+1],p=b<4?(null!=g||p)&&(0==b||b==(h.s<0?3:2)):g>c||g==c&&(4==b||p||6==b&&1&f[l-1]||b==(h.s<0?8:7)),l<1||!f[0])n=p?T(u.charAt(1),-y,u.charAt(0)):u.charAt(0);else{if(f.length=l,p)for(--i;++f[--l]>i;)f[l]=0,l||(++d,f=[1].concat(f));for(c=f.length;!f[--c];);for(g=0,n="";g<=c;n+=u.charAt(f[g++]));n=T(n,d,u.charAt(0))}return n}}(),t=function(){function e(e,t,r){var n,o,i,a,s=0,u=e.length,l=t%m,d=t/m|0;for(e=e.slice();u--;)n=d*(i=e[u]%m)+(a=e[u]/m|0)*l,s=((o=l*i+n%m*m+s)/r|0)+(n/m|0)+d*a,e[u]=o%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function r(e,t,r,n){for(var o=0;r--;)e[r]-=o,o=e[r]<t[r]?1:0,e[r]=o*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,o,i,a,s){var l,d,h,f,m,g,y,v,S,_,w,x,T,E,P,k,D,A=n.s==o.s?1:-1,O=n.c,N=o.c;if(!O||!O[0]||!N||!N[0])return new R(n.s&&o.s&&(O?!N||O[0]!=N[0]:N)?O&&0==O[0]||!N?0*A:A/0:NaN);for(S=(v=new R(A)).c=[],A=i+(d=n.e-o.e)+1,s||(s=c,d=b(n.e/p)-b(o.e/p),A=A/p|0),h=0;N[h]==(O[h]||0);h++);if(N[h]>(O[h]||0)&&d--,A<0)S.push(1),f=!0;else{for(E=O.length,k=N.length,h=0,A+=2,(m=u(s/(N[0]+1)))>1&&(N=e(N,m,s),O=e(O,m,s),k=N.length,E=O.length),T=k,w=(_=O.slice(0,k)).length;w<k;_[w++]=0);D=[0].concat(D=N.slice()),P=N[0],N[1]>=s/2&&P++;do{if(m=0,(l=t(N,_,k,w))<0){if(x=_[0],k!=w&&(x=x*s+(_[1]||0)),(m=u(x/P))>1)for(m>=s&&(m=s-1),y=(g=e(N,m,s)).length,w=_.length;1==t(g,_,y,w);)m--,r(g,k<y?D:N,y,s),y=g.length,l=1;else 0==m&&(l=m=1),y=(g=N.slice()).length;if(y<w&&(g=[0].concat(g)),r(_,g,w,s),w=_.length,-1==l)for(;1>t(N,_,k,w);)m++,r(_,k<w?D:N,w,s),w=_.length}else 0===l&&(m++,_=[0]);S[h++]=m,_[0]?_[w++]=O[T]||0:(_=[O[T]],w=1)}while((T++<E||null!=_[0])&&A--);f=null!=_[0],S[0]||S.splice(0,1)}if(s==c){for(h=1,A=S[0];A>=10;A/=10,h++);j(v,i+(v.e=h+d*p-1)+1,a,f)}else v.e=d,v.r=+f;return v}}(),n=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,o=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(i,a,s,u){var d,c=s?a:a.replace(o,"");if(n.test(c))i.s=isNaN(c)?null:c<0?-1:1;else{if(!s&&(c=c.replace(e,function(e,t,r){return d="x"==(r=r.toLowerCase())?16:"b"==r?2:8,u&&u!=d?e:t}),u&&(d=u,c=c.replace(t,"$1").replace(r,"0.$1")),a!=c))return new R(c,d);if(R.DEBUG)throw Error(l+"Not a"+(u?" base "+u:"")+" number: "+a);i.s=null}i.c=i.e=null}}(),o.absoluteValue=o.abs=function(){var e=new R(this);return e.s<0&&(e.s=1),e},o.comparedTo=function(e,t){return S(this,new R(e,t))},o.decimalPlaces=o.dp=function(e,t){var r,n,o,i=this;if(null!=e)return _(e,0,g),null==t?t=P:_(t,0,8),j(new R(i),e+i.e+1,t);if(!(r=i.c))return null;if(n=((o=r.length-1)-b(this.e/p))*p,o=r[o])for(;o%10==0;o/=10,n--);return n<0&&(n=0),n},o.dividedBy=o.div=function(e,r){return t(this,new R(e,r),E,P)},o.dividedToIntegerBy=o.idiv=function(e,r){return t(this,new R(e,r),0,1)},o.exponentiatedBy=o.pow=function(e,t){var r,n,o,a,d,c,h,f,m,g=this;
vendor: 4,115 bytes, line 1
1if((e=new R(e)).c&&!e.isInteger())throw Error(l+"Exponent not an integer: "+V(e));if(null!=t&&(t=new R(t)),c=e.e>14,!g.c||!g.c[0]||1==g.c[0]&&!g.e&&1==g.c.length||!e.c||!e.c[0])return m=new R(Math.pow(+V(g),c?e.s*(2-w(e)):+V(e))),t?m.mod(t):m;if(h=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new R(NaN);(n=!h&&g.isInteger()&&t.isInteger())&&(g=g.mod(t))}else{if(e.e>9&&(g.e>0||g.e<-1||(0==g.e?g.c[0]>1||c&&g.c[1]>=24e7:g.c[0]<8e13||c&&g.c[0]<=9999975e7)))return a=g.s<0&&w(e)?-0:0,g.e>-1&&(a=1/a),new R(h?1/a:a);$&&(a=s($/p+2))}for(c?(r=new R(.5),h&&(e.s=1),f=w(e)):f=(o=Math.abs(+V(e)))%2,m=new R(i);;){if(f){if(!(m=m.times(g)).c)break;a?m.c.length>a&&(m.c.length=a):n&&(m=m.mod(t))}if(o){if(0===(o=u(o/2)))break;f=o%2}else if(j(e=e.times(r),e.e+1,1),e.e>14)f=w(e);else{if(0==(o=+V(e)))break;f=o%2}g=g.times(g),a?g.c&&g.c.length>a&&(g.c.length=a):n&&(g=g.mod(t))}return n?m:(h&&(m=i.div(m)),t?m.mod(t):a?j(m,$,P,d):m)},o.integerValue=function(e){var t=new R(this);return null==e?e=P:_(e,0,8),j(t,t.e+1,e)},o.isEqualTo=o.eq=function(e,t){return 0===S(this,new R(e,t))},o.isFinite=function(){return!!this.c},o.isGreaterThan=o.gt=function(e,t){return S(this,new R(e,t))>0},o.isGreaterThanOrEqualTo=o.gte=function(e,t){return 1===(t=S(this,new R(e,t)))||0===t},o.isInteger=function(){return!!this.c&&b(this.e/p)>this.c.length-2},o.isLessThan=o.lt=function(e,t){return 0>S(this,new R(e,t))},o.isLessThanOrEqualTo=o.lte=function(e,t){return -1===(t=S(this,new R(e,t)))||0===t},o.isNaN=function(){return!this.s},o.isNegative=function(){return this.s<0},o.isPositive=function(){return this.s>0},o.isZero=function(){return!!this.c&&0==this.c[0]},o.minus=function(e,t){var r,n,o,i,a=this,s=a.s;if(t=(e=new R(e,t)).s,!s||!t)return new R(NaN);if(s!=t)return e.s=-t,a.plus(e);var u=a.e/p,l=e.e/p,d=a.c,h=e.c;if(!u||!l){if(!d||!h)return d?(e.s=-t,e):new R(h?a:NaN);if(!d[0]||!h[0])return h[0]?(e.s=-t,e):new R(d[0]?a:3==P?-0:0)}if(u=b(u),l=b(l),d=d.slice(),s=u-l){for((i=s<0)?(s=-s,o=d):(l=u,o=h),o.reverse(),t=s;t--;o.push(0));o.reverse()}else for(n=(i=(s=d.length)<(t=h.length))?s:t,s=t=0;t<n;t++)if(d[t]!=h[t]){i=d[t]<h[t];break}if(i&&(o=d,d=h,h=o,e.s=-e.s),(t=(n=h.length)-(r=d.length))>0)for(;t--;d[r++]=0);for(t=c-1;n>s;){if(d[--n]<h[n]){for(r=n;r&&!d[--r];d[r]=t);--d[r],d[n]+=c}d[n]-=h[n]}for(;0==d[0];d.splice(0,1),--l);return d[0]?U(e,d,l):(e.s=3==P?-1:1,e.c=[e.e=0],e)},o.modulo=o.mod=function(e,r){var n,o,i=this;return(e=new R(e,r),i.c&&e.s&&(!e.c||e.c[0]))?e.c&&(!i.c||i.c[0])?(9==C?(o=e.s,e.s=1,n=t(i,e,0,3),e.s=o,n.s*=o):n=t(i,e,0,C),(e=i.minus(n.times(e))).c[0]||1!=C||(e.s=i.s),e):new R(i):new R(NaN)},o.multipliedBy=o.times=function(e,t){var r,n,o,i,a,s,u,l,d,h,f,g,y,v,S,_=this,w=_.c,x=(e=new R(e,t)).c;if(!w||!x||!w[0]||!x[0])return _.s&&e.s&&(!w||w[0]||x)&&(!x||x[0]||w)?(e.s*=_.s,w&&x?(e.c=[0],e.e=0):e.c=e.e=null):e.c=e.e=e.s=null,e;for(n=b(_.e/p)+b(e.e/p),e.s*=_.s,(u=w.length)<(h=x.length)&&(y=w,w=x,x=y,o=u,u=h,h=o),o=u+h,y=[];o--;y.push(0));for(v=c,S=m,o=h;--o>=0;){for(r=0,f=x[o]%S,g=x[o]/S|0,i=o+(a=u);i>o;)s=g*(l=w[--a]%S)+(d=w[a]/S|0)*f,r=((l=f*l+s%S*S+y[i]+r)/v|0)+(s/S|0)+g*d,y[i--]=l%v;y[i]=r}return r?++n:y.splice(0,1),U(e,y,n)},o.negated=function(){var e=new R(this);return e.s=-e.s||null,e},o.plus=function(e,t){var r,n=this,o=n.s;if(t=(e=new R(e,t)).s,!o||!t)return new R(NaN);if(o!=t)return e.s=-t,n.minus(e);var i=n.e/p,a=e.e/p,s=n.c,u=e.c;if(!i||!a){if(!s||!u)return new R(o/0);if(!s[0]||!u[0])return u[0]?e:new R(s[0]?n:0*o)}if(i=b(i),a=b(a),s=s.slice(),o=i-a){for(o>0?(a=i,r=u):(o=-o,r=s),r.reverse();o--;r.push(0));r.reverse()}for((o=s.length)-(t=u.length)<0&&(r=u,u=s,s=r,t=o),o=0;t;)o=(s[--t]=s[t]+u[t]+o)/c|0,s[t]=c===s[t]?0:s[t]%c;return o&&(s=[o].concat(s),++a),U(e,s,a)},o.precision=o.sd=function(e,t){var r,n,o,i=this;if(null!=e&&!!e!==e)return _(e,1,g),null==t?t=P:_(t,0,8),j(new R(i),e,t);if(!(r=i.c))return null;if(n=(o=r.length-1)*p+1,o=r[o]){for(;o%10==0;o/=10,n--);for(o=r[0];o>=10;o/=10,n++);}return e&&i.e+1>n&&(n=i.e+1),n},o.shiftedBy=function(e){return _(e,-h,h),this.times("1e"+e)},o.squareRoot=o.sqrt=function(){var e,r,n,o,i,a=this,s=a.c,u=a.s,l=a.e,d=E+4,c=new R("0.5");
1if(1!==u||!s||!s[0])return new R(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(u=Math.sqrt(+V(a)))||u==1/0?(((r=v(s)).length+l)%2==0&&(r+="0"),u=Math.sqrt(+r),l=b((l+1)/2)-(l<0||l%2),n=new R(r=u==1/0?"5e"+l:(r=u.toExponential()).slice(0,r.indexOf("e")+1)+l)):n=new R(u+""),n.c[0]){for((u=(l=n.e)+d)<3&&(u=0);;)if(i=n,n=c.times(i.plus(t(a,i,d,1))),v(i.c).slice(0,u)===(r=v(n.c)).slice(0,u)){if(n.e<l&&--u,"9999"!=(r=r.slice(u-3,u+1))&&(o||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(j(n,n.e+E+2,1),e=!n.times(n).eq(a));break}if(!o&&(j(i,i.e+E+2,0),i.times(i).eq(a))){n=i;break}d+=4,u+=4,o=1}}return j(n,n.e+E+1,P,e)},o.toExponential=function(e,t){return null!=e&&(_(e,0,g),e++),F(this,e,t,1)},o.toFixed=function(e,t){return null!=e&&(_(e,0,g),e=e+this.e+1),F(this,e,t)},o.toFormat=function(e,t,r){var n,o=this;if(null==r)null!=e&&t&&"object"==typeof t?(r=t,t=null):e&&"object"==typeof e?(r=e,e=t=null):r=M;else if("object"!=typeof r)throw Error(l+"Argument not an object: "+r);if(n=o.toFixed(e,t),o.c){var i,a=n.split("."),s=+r.groupSize,u=+r.secondaryGroupSize,d=r.groupSeparator||"",c=a[0],p=a[1],h=o.s<0,f=h?c.slice(1):c,m=f.length;if(u&&(i=s,s=u,u=i,m-=i),s>0&&m>0){for(i=m%s||s,c=f.substr(0,i);i<m;i+=s)c+=d+f.substr(i,s);u>0&&(c+=d+f.slice(i)),h&&(c="-"+c)}n=p?c+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?p.replace(RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):p):c}return(r.prefix||"")+n+(r.suffix||"")},o.toFraction=function(e){var r,n,o,a,s,u,d,c,h,m,g,y,b=this,S=b.c;if(null!=e&&(!(d=new R(e)).isInteger()&&(d.c||1!==d.s)||d.lt(i)))throw Error(l+"Argument "+(d.isInteger()?"out of range: ":"not an integer: ")+V(d));if(!S)return new R(b);for(r=new R(i),h=n=new R(i),o=c=new R(i),y=v(S),s=r.e=y.length-b.e-1,r.c[0]=f[(u=s%p)<0?p+u:u],e=!e||d.comparedTo(r)>0?s>0?r:h:d,u=O,O=1/0,d=new R(y),c.c[0]=0;m=t(d,r,0,1),1!=(a=n.plus(m.times(o))).comparedTo(e);)n=o,o=a,h=c.plus(m.times(a=h)),c=a,r=d.minus(m.times(a=r)),d=a;return a=t(e.minus(n),o,0,1),c=c.plus(a.times(h)),n=n.plus(a.times(o)),c.s=h.s=b.s,s*=2,g=1>t(h,o,s,P).minus(b).abs().comparedTo(t(c,n,s,P).minus(b).abs())?[h,o]:[c,n],O=u,g},o.toNumber=function(){return+V(this)},o.toPrecision=function(e,t){return null!=e&&_(e,1,g),F(this,e,t,2)},o.toString=function(e){var t,n=this,o=n.s,i=n.e;return null===i?o?(t="Infinity",o<0&&(t="-"+t)):t="NaN":(null==e?t=i<=k||i>=D?x(v(n.c),i):T(v(n.c),i,"0"):10===e&&L?t=T(v((n=j(new R(n),E+i+1,P)).c),n.e,"0"):(_(e,2,I.length,"Base"),t=r(T(v(n.c),i,"0"),10,e,o,!0)),o<0&&n.c[0]&&(t="-"+t)),t},o.valueOf=o.toJSON=function(){return V(this)},o._isBigNumber=!0,null!=e&&R.set(e),R}function b(e){var t=0|e;return e>0||e===t?t:t-1}function v(e){for(var t,r,n=1,o=e.length,i=e[0]+"";n<o;){for(r=p-(t=e[n++]+"").length;r--;t="0"+t);i+=t}for(o=i.length;48===i.charCodeAt(--o););return i.slice(0,o+1||1)}function S(e,t){var r,n,o=e.c,i=t.c,a=e.s,s=t.s,u=e.e,l=t.e;if(!a||!s)return null;if(r=o&&!o[0],n=i&&!i[0],r||n)return r?n?0:-s:a;if(a!=s)return a;if(r=a<0,n=u==l,!o||!i)return n?0:!o^r?1:-1;if(!n)return u>l^r?1:-1;for(a=0,s=(u=o.length)<(l=i.length)?u:l;a<s;a++)if(o[a]!=i[a])return o[a]>i[a]^r?1:-1;return u==l?0:u>l^r?1:-1}function _(e,t,r,n){if(e<t||e>r||e!==u(e))throw Error(l+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function w(e){var t=e.c.length-1;return b(e.e/p)==t&&e.c[t]%2!=0}function x(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function T(e,t,r){var n,o;if(t<0){for(o=r+".";++t;o+=r);e=o+e}else if(n=e.length,++t>n){for(o=r,t-=n;--t;o+=r);e+=o}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}(i=y()).default=i.BigNumber=i,void 0!==(n=(function(){return i}).call(t,r,t,e))&&(e.exports=n)}(0)},59585:(e,t,r)=>{"use strict";var n=r(39687),o={"text/plain":"Text","text/html":"Url",default:"Text"},i="Copy to clipboard: #{key}, Enter";function a(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function s(e,t){var r,s,u,l,d,c,p=!1;t||(t={}),r=t.debug||!1;try{if(u=n(),l=document.createRange(),d=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(c),l.selectNodeContents(c),d.addRange(l),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n
1),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),s=a("message"in t?t.message:i),window.prompt(s,e)}}finally{d&&("function"==typeof d.removeRange?d.removeRange(l):d.removeAllRanges()),c&&document.body.removeChild(c),u()}return p}e.exports=s},70129:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(81716),r(35478),r(35516),r(59947))}(0,function(e){return function(){var t=e,r=t.lib.BlockCipher,n=t.algo,o=[],i=[],a=[],s=[],u=[],l=[],d=[],c=[],p=[],h=[];!function(){for(var e=[],t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var r=0,n=0,t=0;t<256;t++){var f=n^n<<1^n<<2^n<<3^n<<4;f=f>>>8^255&f^99,o[r]=f,i[f]=r;var m=e[r],g=e[m],y=e[g],b=257*e[f]^0x1010100*f;a[r]=b<<24|b>>>8,s[r]=b<<16|b>>>16,u[r]=b<<8|b>>>24,l[r]=b;var b=0x1010101*y^65537*g^257*m^0x1010100*r;d[f]=b<<24|b>>>8,c[f]=b<<16|b>>>16,p[f]=b<<8|b>>>24,h[f]=b,r?(r=m^e[e[e[y^m]]],n^=e[e[n]]):r=n=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e,t=this._keyPriorReset=this._key,r=t.words,n=t.sigBytes/4,i=((this._nRounds=n+6)+1)*4,a=this._keySchedule=[],s=0;s<i;s++)s<n?a[s]=r[s]:(e=a[s-1],s%n?n>6&&s%n==4&&(e=o[e>>>24]<<24|o[e>>>16&255]<<16|o[e>>>8&255]<<8|o[255&e]):e=(o[(e=e<<8|e>>>24)>>>24]<<24|o[e>>>16&255]<<16|o[e>>>8&255]<<8|o[255&e])^f[s/n|0]<<24,a[s]=a[s-n]^e);for(var u=this._invKeySchedule=[],l=0;l<i;l++){var s=i-l;if(l%4)var e=a[s];else var e=a[s-4];l<4||s<=4?u[l]=e:u[l]=d[o[e>>>24]]^c[o[e>>>16&255]]^p[o[e>>>8&255]]^h[o[255&e]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,u,l,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,d,c,p,h,i);var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,o,i,a,s){for(var u=this._nRounds,l=e[t]^r[0],d=e[t+1]^r[1],c=e[t+2]^r[2],p=e[t+3]^r[3],h=4,f=1;f<u;f++){var m=n[l>>>24]^o[d>>>16&255]^i[c>>>8&255]^a[255&p]^r[h++],g=n[d>>>24]^o[c>>>16&255]^i[p>>>8&255]^a[255&l]^r[h++],y=n[c>>>24]^o[p>>>16&255]^i[l>>>8&255]^a[255&d]^r[h++],b=n[p>>>24]^o[l>>>16&255]^i[d>>>8&255]^a[255&c]^r[h++];l=m,d=g,c=y,p=b}var m=(s[l>>>24]<<24|s[d>>>16&255]<<16|s[c>>>8&255]<<8|s[255&p])^r[h++],g=(s[d>>>24]<<24|s[c>>>16&255]<<16|s[p>>>8&255]<<8|s[255&l])^r[h++],y=(s[c>>>24]<<24|s[p>>>16&255]<<16|s[l>>>8&255]<<8|s[255&d])^r[h++],b=(s[p>>>24]<<24|s[l>>>16&255]<<16|s[d>>>8&255]<<8|s[255&c])^r[h++];e[t]=m,e[t+1]=g,e[t+2]=y,e[t+3]=b},keySize:8});t.AES=r._createHelper(m)}(),e.AES})},42770:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(81716),r(35478),r(35516),r(59947))}(0,function(e){return function(){var t=e,r=t.lib.BlockCipher,n=t.algo;let o=16,i=[0x243f6a88,0x85a308d3,0x13198a2e,0x3707344,0xa4093822,0x299f31d0,0x82efa98,0xec4e6c89,0x452821e6,0x38d01377,0xbe5466cf,0x34e90c6c,0xc0ac29b7,0xc97c50dd,0x3f84d5b5,0xb5470917,0x9216d5d9,0x8979fb1b],a=[[0xd1310ba6,0x98dfb5ac,0x2ffd72db,0xd01adfb7,0xb8e1afed,0x6a267e96,0xba7c9045,0xf12c7f99,0x24a19947,0xb3916cf7,0x801f2e2,0x858efc16,0x636920d8,0x71574e69,0xa458fea3,0xf4933d7e,0xd95748f,0x728eb658,0x718bcd58,0x82154aee,0x7b54a41d,0xc25a59b5,0x9c30d539,0x2af26013,0xc5d1b023,0x286085f0,0xca417918,0xb8db38ef,0x8e79dcb0,0x603a180e,0x6c9e0e8b,0xb01e8a3e,0xd71577c1,0xbd314b27,0x78af2fda,0x55605c60,0xe65525f3,0xaa55ab94,0x57489862,0x63e81440,0x55ca396a,0x2aab10b6,0xb4cc5c34,0x1141e8ce,0xa15486af,0x7c72e993,0xb3ee1411,0x636fbc2a,0x2ba9c55d,0x741831f6,0xce5c3e16,0x9b87931e,0xafd6ba33,0x6c24cf5c,0x7a325381,0x28958677,0x3b8f4898,0x6b4bb9af,0xc4bfe81b,0x66282193,0x61d809cc,0xfb21a991,0x487cac60,0x5dec8032,0xef845d5d,0xe98575b1,0xdc262302,0xeb651b88,0x23893e81,0xd396acc5,0xf6d6ff3,0x83f44239,0x2e0b4482,0xa4842004,0x69c8f04a,0x9e1f9b5e,0x21c66842,0xf6e96c9a,0x670c9c61,0xabd388f0,0x6a51a0d2,0xd8542f68,0x960fa728,0xab5133a3,0x6eef0b6c,0x137a3be4,0xba3bf050,0x7efb2a98,0xa1f1651d,0x39af0176,0x66ca593e,0x82430e88,0x8cee8619,0x456f9fb4,0x7d84a5c3,0x3b8b5ebe,0xe06f75d8,0x85c12073,0x401a449f,0x56c16aa6,0x4ed3aa62,0x363f7706,0x1bfedf72,0x429b023d,0x37d0d724,0xd00a1248,0xdb0fead3,0x49f1c09b,0x75372c9,0x80991b7b,0x25d479d8,0xf6e8def7,0xe3fe501a,0xb6794c3b,0x976ce0bd,0x4c006ba,0xc1a94fb6,0x409f60c4,0x5e5c9ec2,0x196a2463,0x68fb6faf,0x3e6c53b5,0x1339b2eb,0x3b52ec6f,0x6dfc511f,0x9b30952c,0xcc814544,0xaf5ebd09,0xbee3d004,0
1xde334afd,0x660f2807,0x192e4bb3,0xc0cba857,0x45c8740f,0xd20b5f39,0xb9d3fbdb,0x5579c0bd,0x1a60320a,0xd6a100c6,0x402c7279,0x679f25fe,0xfb1fa3cc,0x8ea5e9f8,0xdb3222f8,0x3c7516df,0xfd616b15,0x2f501ec8,0xad0552ab,0x323db5fa,0xfd238760,0x53317b48,0x3e00df82,0x9e5c57bb,0xca6f8ca0,0x1a87562e,0xdf1769db,0xd542a8f6,0x287effc3,0xac6732c6,0x8c4f5573,0x695b27b0,0xbbca58c8,0xe1ffa35d,0xb8f011a0,0x10fa3d98,0xfd2183b8,0x4afcb56c,0x2dd1d35b,0x9a53e479,0xb6f84565,0xd28e49bc,0x4bfb9790,0xe1ddf2da,0xa4cb7e33,0x62fb1341,0xcee4c6e8,0xef20cada,0x36774c01,0xd07e9efe,0x2bf11fb4,0x95dbda4d,0xae909198,0xeaad8e71,0x6b93d5a0,0xd08ed1d0,0xafc725e0,0x8e3c5b2f,0x8e7594b7,0x8ff6e2fb,0xf2122b64,0x8888b812,0x900df01c,0x4fad5ea0,0x688fc31c,0xd1cff191,0xb3a8c1ad,0x2f2f2218,0xbe0e1777,0xea752dfe,0x8b021fa1,0xe5a0cc0f,0xb56f74e8,0x18acf3d6,0xce89e299,0xb4a84fe0,0xfd13e0b7,0x7cc43b81,0xd2ada8d9,0x165fa266,0x80957705,0x93cc7314,0x211a1477,0xe6ad2065,0x77b5fa86,0xc75442f5,0xfb9d35cf,0xebcdaf0c,0x7b3e89a0,0xd6411bd3,0xae1e7e49,2428461,0x2071b35e,0x226800bb,0x57b8e0af,0x2464369b,0xf009b91e,0x5563911d,0x59dfa6aa,0x78c14389,0xd95a537f,0x207d5ba2,0x2e5b9c5,0x83260376,0x6295cfa9,0x11c81968,0x4e734a41,0xb3472dca,0x7b14a94a,0x1b510052,0x9a532915,0xd60f573f,0xbc9bc6e4,0x2b60a476,0x81e67400,0x8ba6fb5,0x571be91f,0xf296ec6b,0x2a0dd915,0xb6636521,0xe7b9f9b6,0xff34052e,0xc5855664,0x53b02d5d,0xa99f8fa1,0x8ba4799,0x6e85076a],[0x4b7a70e9,0xb5b32944,0xdb75092e,0xc4192623,290971e4,0x49a7df7d,0x9cee60b8,0x8fedb266,0xecaa8c71,0x699a17ff,0x5664526c,0xc2b19ee1,0x193602a5,0x75094c29,0xa0591340,0xe4183a3e,0x3f54989a,0x5b429d65,0x6b8fe4d6,0x99f73fd6,0xa1d29c07,0xefe830f5,0x4d2d38e6,0xf0255dc1,0x4cdd2086,0x8470eb26,0x6382e9c6,0x21ecc5e,0x9686b3f,0x3ebaefc9,0x3c971814,0x6b6a70a1,0x687f3584,0x52a0e286,0xb79c5305,0xaa500737,0x3e07841c,0x7fdeae5c,0x8e7d44ec,0x5716f2b8,0xb03ada37,0xf0500c0d,0xf01c1f04,0x200b3ff,0xae0cf51a,0x3cb574b2,0x25837a58,0xdc0921bd,0xd19113f9,0x7ca92ff6,0x94324773,0x22f54701,0x3ae5e581,0x37c2dadc,0xc8b57634,0x9af3dda7,0xa9446146,0xfd0030e,0xecc8c73e,0xa4751e41,0xe238cd99,0x3bea0e2f,0x3280bba1,0x183eb331,0x4e548b38,0x4f6db908,0x6f420d03,0xf60a04bf,0x2cb81290,0x24977c79,0x5679b072,0xbcaf89af,0xde9a771f,0xd9930810,0xb38bae12,0xdccf3f2e,0x5512721f,0x2e6b7124,0x501adde6,0x9f84cd87,0x7a584718,0x7408da17,0xbc9f9abc,0xe94b7d8c,0xec7aec3a,0xdb851dfa,0x63094366,0xc464c3d2,0xef1c1847,0x3215d908,0xdd433b37,0x24c2ba16,0x12a14d43,0x2a65c451,0x50940002,0x133ae4dd,0x71dff89e,0x10314e55,0x81ac77d6,0x5f11199b,0x43556f1,0xd7a3c76b,0x3c11183b,0x5924a509,0xf28fe6ed,0x97f1fbfa,0x9ebabf2c,0x1e153c6e,0x86e34570,0xeae96fb1,0x860e5e0a,0x5a3e2ab3,0x771fe71c,0x4e3d06fa,0x2965dcb9,0x99e71d0f,0x803e89d6,0x5266c825,0x2e4cc978,0x9c10b36a,0xc6150eba,0x94e2ea78,0xa5fc3c53,0x1e0a2df4,0xf2f74ea7,0x361d2b3d,0x1939260f,0x19c27960,0x5223a708,0xf71312b6,0xebadfe6e,0xeac31f66,0xe3bc4595,0xa67bc883,0xb17f37d1,0x18cff28,0xc332ddef,0xbe6c5aa5,0x65582185,0x68ab9802,0xeecea50f,0xdb2f953b,0x2aef7dad,0x5b6e2f84,0x1521b628,0x29076170,0xecdd4775,0x619f1510,0x13cca830,0xeb61bd96,0x334fe1e,0xaa0363cf,0xb5735c90,0x4c70a239,0xd59e9e0b,0xcbaade14,0xeecc86bc,0x60622ca7,0x9cab5cab,0xb2f3846e,0x648b1eaf,0x19bdf0ca,0xa02369b9,0x655abb50,0x40685a32,0x3c2ab4b3,0x319ee9d5,0xc021b8f7,0x9b540b19,0x875fa099,0x95f7997e,0x623d7da8,0xf837889a,0x97e32d77,0x11ed935f,0x16681281,0xe358829,0xc7e61fd6,0x96dedfa1,0x7858ba99,0x57f584a5,0x1b227263,0x9b83c3ff,0x1ac24696,0xcdb30aeb,0x532e3054,0x8fd948e4,0x6dbc3128,0x58ebf2ef,0x34c6ffea,0xfe28ed61,0xee7c3c73,0x5d4a14d9,0xe864b7e3,0x42105d14,0x203e13e0,0x45eee2b6,0xa3aaabea,0xdb6c4f15,0xfacb4fd0,0xc742f442,0xef6abbb5,0x654f3b1d,0x41cd2105,0xd81e799e,0x86854dc7,0xe44b476a,0x3d816250,0xcf62a1f2,0x5b8d2646,0xfc8883a0,0xc1c7b6a3,0x7f1524c3,0x69cb7492,0x47848a0b,0x5692b285,0x95bbf00,0xad19489d,0x1462b174,0x23820e00,0x58428d2a,0xc55f5ea,0x1dadf43e,0x233f7061,0x3372f092,0x8d937e41,0xd65fecf1,0x6c223bdb,0x7cde3759,0xcbee7460,0x4085f2a7,0xce77326e,0xa6078084,0x19f8509e,0xe8efd855,0x61d99735,0xa969a7aa,0xc50c06c2,0x5a04abfc,0x800bcadc,0x9e447a2e,0xc3453484,0xfdd56705,0xe1e9ec9,0xdb73dbd3,0x105588cd,0x675fda79,0xe3674340,0xc5c43465,0x713e38d8,0x3d28f89e,0xf16dff20,0x153e21e7,0x8fb03d4a,0xe6e39f2b,0xdb83adf7],[0xe93d5a68,0x948140f7,0xf64c261c,0x94692934,0x411520f7,0x7602d4f7,0xbcf46b2e,0xd4a20068,0xd4082471,0x3320f46a,0x43b7d4b7,0x500061af,0x1e39f62e,0x97244546,0x14214f74,0xbf8b8840,0x4d95fc1d,0x96b591af,0x70f4ddd3,0x66a02f45,0xbfbc09ec,0x3bd9785,0x7fac6dd0,0x31cb8504,0x96eb27b3,0x55fd3941,0xda2547e6,0xabca0a9a,0x28507825,0x530429f4,0xa2c86da,0xe9b66dfb,0x68dc1462,0xd7486900,0x680ec0a4,0x27a18dee,0x4f3ffea2,0xe887ad8c,0xb58ce006,0x7af4d6b6,0xaace1e7c,0xd3375fec,0xce78a399,0
1x406b2a42,0x20fe9e35,0xd9f385b9,0xee39d7ab,0x3b124e8b,0x1dc9faf7,0x4b6d1856,0x26a36631,0xeae397b2,0x3a6efa74,0xdd5b4332,0x6841e7f7,0xca7820fb,0xfb0af54e,0xd8feb397,0x454056ac,0xba489527,0x55533a3a,0x20838d87,0xfe6ba9b7,0xd096954b,0x55a867bc,0xa1159a58,0xcca92963,0x99e1db33,0xa62a4a56,0x3f3125f9,0x5ef47e1c,0x9029317c,0xfdf8e802,0x4272f70,0x80bb155c,0x5282ce3,0x95c11548,0xe4c66d22,0x48c1133f,0xc70f86dc,0x7f9c9ee,0x41041f0f,0x404779a4,0x5d886e17,0x325f51eb,0xd59bc0d1,0xf2bcc18f,0x41113564,0x257b7834,0x602a9c60,0xdff8e8a3,0x1f636c1b,0xe12b4c2,0x2e1329e,0xaf664fd1,0xcad18115,0x6b2395e0,0x333e92e1,0x3b240b62,0xeebeb922,0x85b2a20e,0xe6ba0d99,0xde720c8c,0x2da2f728,0xd0127845,0x95b794fd,0x647d0862,0xe7ccf5f0,0x5449a36f,0x877d48fa,0xc39dfd27,0xf33e8d1e,0xa476341,0x992eff74,0x3a6f6eab,0xf4f8fd37,0xa812dc60,0xa1ebddf8,0x991be14c,0xdb6e6b0d,0xc67b5510,0x6d672c37,0x2765d43b,0xdcd0e804,0xf1290dc7,0xcc00ffa3,0xb5390f92,0x690fed0b,0x667b9ffb,0xcedb7d9c,0xa091cf0b,0xd9155ea3,0xbb132f88,0x515bad24,0x7b9479bf,0x763bd6eb,0x37392eb3,0xcc115979,0x8026e297,0xf42e312d,0x6842ada7,0xc66a2b3b,0x12754ccc,0x782ef11c,0x6a124237,0xb79251e7,0x6a1bbe6,0x4bfb6350,0x1a6b1018,0x11caedfa,0x3d25bdd8,0xe2e1c3c9,0x44421659,0xa121386,0xd90cec6e,0xd5abea2a,0x64af674e,0xda86a85f,0xbebfe988,0x64e4c3fe,0x9dbc8057,0xf0f7c086,0x60787bf8,0x6003604d,0xd1fd8346,0xf6381fb0,0x7745ae04,0xd736fccc,0x83426b33,0xf01eab71,0xb0804187,0x3c005e5f,0x77a057be,0xbde8ae24,0x55464299,0xbf582e61,0x4e58f48f,0xf2ddfda2,0xf474ef38,0x8789bdc2,0x5366f9c3,0xc8b38e74,0xb475f255,0x46fcd9b9,0x7aeb2661,0x8b1ddf84,0x846a0e79,0x915f95e2,0x466e598e,0x20b45770,0x8cd55591,0xc902de4c,0xb90bace1,0xbb8205d0,0x11a86248,0x7574a99e,0xb77f19b6,0xe0a9dc09,0x662d09a1,0xc4324633,0xe85a1f02,0x9f0be8c,0x4a99a025,0x1d6efe10,0x1ab93d1d,0xba5a4df,0xa186f20f,0x2868f169,0xdcb7da83,0x573906fe,0xa1e2ce9b,0x4fcd7f52,0x50115e01,0xa70683fa,0xa002b5c4,0xde6d027,0x9af88c27,0x773f8641,0xc3604c06,0x61a806b5,0xf0177a28,0xc0f586e0,6314154,0x30dc7d62,0x11e69ed7,0x2338ea63,0x53c2dd94,0xc2c21634,0xbbcbee56,0x90bcb6de,0xebfc7da1,0xce591d76,0x6f05e409,0x4b7c0188,0x39720a3d,0x7c927c24,0x86e3725f,0x724d9db9,0x1ac15bb4,0xd39eb8fc,0xed545578,0x8fca5b5,0xd83d7cd3,0x4dad0fc4,0x1e50ef5e,0xb161e6f8,0xa28514d9,0x6c51133c,0x6fd5c7e7,0x56e14ec4,0x362abfce,0xddc6c837,0xd79a3234,0x92638212,0x670efa8e,0x406000e0],[0x3a39ce37,0xd3faf5cf,0xabc27737,0x5ac52d1b,0x5cb0679e,0x4fa33742,0xd3822740,0x99bc9bbe,0xd5118e9d,0xbf0f7315,0xd62d1c7e,0xc700c47b,0xb78c1b6b,0x21a19045,0xb26eb1be,0x6a366eb4,0x5748ab2f,0xbc946e79,0xc6a376d2,0x6549c2c8,0x530ff8ee,0x468dde7d,0xd5730a1d,0x4cd04dc6,0x2939bbdb,0xa9ba4650,0xac9526e8,0xbe5ee304,0xa1fad5f0,0x6a2d519a,0x63ef8ce2,0x9a86ee22,0xc089c2b8,0x43242ef6,0xa51e03aa,0x9cf2d0a4,0x83c061ba,0x9be96a4d,0x8fe51550,0xba645bd6,0x2826a2f9,0xa73a3ae1,0x4ba99586,0xef5562e9,0xc72fefd3,0xf752f7da,0x3f046f69,0x77fa0a59,0x80e4a915,0x87b08601,0x9b09e6ad,0x3b3ee593,0xe990fd5a,0x9e34d797,0x2cf0b7d9,0x22b8b51,0x96d5ac3a,0x17da67d,0xd1cf3ed6,0x7c7d2d28,0x1f9f25cf,0xadf2b89b,0x5ad6b472,0x5a88f54c,0xe029ac71,0xe019a5e6,0x47b0acfd,0xed93fa9b,0xe8d3c48d,0x283b57cc,0xf8d56629,0x79132e28,0x785f0191,0xed756055,0xf7960e44,0xe3d35e8c,0x15056dd4,0x88f46dba,0x3a16125,0x564f0bd,0xc3eb9e15,0x3c9057a2,0x97271aec,0xa93a072a,0x1b3f6d9b,0x1e6321f5,0xf59c66fb,0x26dcf319,0x7533d928,0xb155fdf5,0x3563482,0x8aba3cbb,0x28517711,0xc20ad9f8,0xabcc5167,0xccad925f,0x4de81751,0x3830dc8e,0x379d5862,0x9320f991,0xea7a90c2,0xfb3e7bce,0x5121ce64,0x774fbe32,0xa8b6e37e,0xc3293d46,0x48de5369,0x6413e680,0xa2ae0810,0xdd6db224,0x69852dfd,0x9072166,0xb39a460a,0x6445c0dd,0x586cdecf,0x1c20c8ae,0x5bbef7dd,0x1b588d40,0xccd2017f,0x6bb4e3bb,0xdda26a7e,0x3a59ff45,0x3e350a44,0xbcb4cdd5,0x72eacea8,0xfa6484bb,0x8d6612ae,0xbf3c6f47,0xd29be463,0x542f5d9e,0xaec2771b,0xf64e6370,0x740e0d8d,0xe75b1357,0xf8721671,0xaf537d5d,0x4040cb08,0x4eb4e2cc,0x34d2466a,0x115af84,3786409e3,0x95983a1d,0x6b89fb4,0xce6ea048,0x6f3f3b82,0x3520ab82,0x11a1d4b,0x277227f8,0x611560b1,0xe7933fdc,0xbb3a792b,0x344525bd,0xa08839e1,0x51ce794b,0x2f32c9b7,0xa01fbac9,0xe01cc87e,0xbcc7d1f6,0xcf0111c3,0xa1e8aac7,0x1a908749,0xd44fbd9a,0xd0dadecb,0xd50ada38,0x339c32a,0xc6913667,0x8df9317c,0xe0b12b4f,0xf79e59b7,0x43f5bb3a,0xf2d519ff,0x27d9459c,0xbf97222c,0x15e6fc2a,0xf91fc71,0x9b941525,0xfae59361,0xceb69ceb,0xc2a86459,0x12baa8d1,0xb6c1075e,0xe3056a0c,0x10d25065,0xcb03a442,0xe0ec6e0e,0x1698db3b,0x4c98a0be,0x3278e964,0x9f1f9532,0xe0d392df,0xd3a0342b,0x8971f21e,0x1b0a7441,0x4ba3348c,0xc5be7120,0xc37632d8,0xdf359f8d,0x9b992f2e,0xe60b6f47,0xfe3f11d,0xe54cda54,0x1edad891,0xce6279cf,0xcd3e7e6f,0x1618b166,0xfd2c1d05,0x848fd2c5,0xf6fb2299,0xf523f357,0xa6327623,0x93a83531,0x56cccd02,0xacf08162,0x5a75ebb5,0x6e163697,0x88d273cc,0xde966292,0x81b949d0,0x4c50901b,0x71c65614,0xe6c6c7bd,0x327a140a,0x45e1d006,0xc3f27b9a,0xc9aa53fd,0x62a80f00,0xbb25bfe2,0x35bdd2f6,0x71126905,0xb2040222,0xb6cbcf7c,0xcd769c2b,0x53113ec0,0x1640e3d3,0x38abbd60,0x2547adf0,0xba38209c,0xf746ce76,0x77afa1c5,0x20756060,0x85cbfe4e,0x8ae88dd8,0x7aaaf9b0,0x4cf9aa7e,0x1948c25c,0x2fb8a8c,0x1c36ae4,0xd6ebe1f9,0x90d4f869,0xa65cdea0,0x3f09252d,0xc208e69f,0xb74e6132,0xce77e25b,0x578fdfe3,0x3ac372e6]];var s={pbox:[],sbox:[]};function u(e,t){let r=t>>24&255,n=t>>16&255,o=t>>8&255,i=255&t,a=e.sbox[0][r]+e.sbox[1][n];return a^=e.sbox[2][o],a+=e.sbox[3][i]}function l(e,t,r){let n,i=t,a=r;for(let t=0;t<o;++t)i^=e.pbox[t],a=u(e,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n^e.pbox[o],{left:i^=e.pbox[o+1],right:a}}function d(e,t,r){let n,i=t,a=r;for(let t=o+1;t>1;--t)i^=e.pbox[t],a=u(e,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n^e.pbox[1],{left:i^=e.pbox[0],right:a}}function c(e,t,r){for(let t=0;t<4;t++){e.sbox[t]=[];for(let r=0;r<256;r++)e.sbox[t][r]=a[t][r]}let n=0;for(let a=0;a<o+2;
vendor: 10,611 bytes, line 1
1a++)e.pbox[a]=i[a]^t[n],++n>=r&&(n=0);let s=0,u=0,d=0;for(let t=0;t<o+2;t+=2)s=(d=l(e,s,u)).left,u=d.right,e.pbox[t]=s,e.pbox[t+1]=u;for(let t=0;t<4;t++)for(let r=0;r<256;r+=2)s=(d=l(e,s,u)).left,u=d.right,e.sbox[t][r]=s,e.sbox[t][r+1]=u;return!0}var p=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key;c(s,e.words,e.sigBytes/4)}},encryptBlock:function(e,t){var r=l(s,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=d(s,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(p)}(),e.Blowfish})},59947:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(35516))}(0,function(e){e.lib.Cipher||function(){var t=e,r=t.lib,n=r.Base,o=r.WordArray,i=r.BufferedBlockAlgorithm,a=t.enc;a.Utf8;var s=a.Base64,u=t.algo.EvpKDF,l=r.Cipher=i.extend({cfg:n.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:g}return function(t){return{encrypt:function(r,n,o){return e(n).encrypt(t,r,n,o)},decrypt:function(r,n,o){return e(n).decrypt(t,r,n,o)}}}}()});r.StreamCipher=l.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var d=t.mode={},c=r.BlockCipherMode=n.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=d.CBC=function(){var e=c.extend();function t(e,t,r){var n,o=this._iv;o?(n=o,this._iv=void 0):n=this._prevBlock;for(var i=0;i<r;i++)e[t+i]^=n[i]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize;t.call(this,e,r,o),n.encryptBlock(e,r),this._prevBlock=e.slice(r,r+o)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize,i=e.slice(r,r+o);n.decryptBlock(e,r),t.call(this,e,r,o),this._prevBlock=i}}),e}(),h=(t.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(i);var u=o.create(a,n);e.concat(u)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};r.BlockCipher=l.extend({cfg:l.cfg.extend({mode:p,padding:h}),reset:function(){l.reset.call(this);var e,t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var f=r.CipherParams=n.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),m=(t.format={}).OpenSSL={stringify:function(e){var t,r=e.ciphertext,n=e.salt;return(t=n?o.create([0x53616c74,0x65645f5f]).concat(n).concat(r):r).toString(s)},parse:function(e){var t,r=s.parse(e),n=r.words;return 0x53616c74==n[0]&&0x65645f5f==n[1]&&(t=o.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),f.create({ciphertext:r,salt:t})}},g=r.SerializableCipher=n.extend({cfg:n.extend({format:m}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var o=e.createEncryptor(r,n),i=o.finalize(t),a=o.cfg;return f.create({ciphertext:i,key:r,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(t.kdf={}).OpenSSL={execute:function(e,t,r,n,i){if(n||(n=o.random(8)),i)var a=u.create({keySize:t+r,hasher:i}).compute(e,n);else var a=u.create({keySize:t+r}).compute(e,n);var s=o.create(a.words.slice(t),4*r);return a.sigBytes=4*t,f.create({key:a,iv:s,salt:n})}},b=r.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:y}),encrypt:function(e,t,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=o.iv;var i=g.encrypt.call(this,e,t,o.key,n);return i.mixIn(o),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var o=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=o.iv,g.decrypt.call(this,e,t,o.key,n)}})}()})},60095:function(e,t,r){!function(r,n){e.exports=t=n()}(0,function(){var e=e||function(e,t){if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(57167)}catch(e){}var n,o=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},s=a.lib={},u=s.Base=function(){return{extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=s.WordArray=u.extend({init:function(e,r){e=this.words=e||[],t!=r?this.sigBytes=r:this.sigBytes=4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var s=0;s<o;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=0xffffffff<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(o());return new l.init(t,e)}}),d=a.enc={},c=d.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(r,t/2)}},p=d.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(r,t)}},h=d.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},f=s.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,d=e.min(4*u,i);if(u){for(var c=0;c<u;c+=a)this._doProcessBlock(o,c);r=o.splice(0,u),n.sigBytes-=d}return new l.init(r,d)},clone:function(){var e=u.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});s.Hasher=f.extend({cfg:u.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new m.HMAC.init(e,r).finalize(t)}}});var m=a.algo={};return a}(Math);return e})},81716:function(e,t,r){!function(n,o){e.exports=t=o(r(60095))}(0,function(e){return function(){var t=e,r=t.lib.WordArray;function n(e,t,n){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],i=0;i<r;i+=3)for(var a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<r;s++)o.push(n.charAt(a>>>6*(3-s)&63));var u=n.charAt(64);if(u)for(;o.length%4;)o.push(u);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return n(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64})},17687:function(e,t,r){!function(n,o){e.exports=t=o(r(60095))}(0,function(e){return function(){var t=e,r=t.lib.WordArray;function n(e,t,n){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],a=0;a<n;a+=3)for(var s=(r[a>>>2]>>>24-a%4*8&255)<<16|(r[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|r[a+2>>>2]>>>24-(a+2)%4*8&255,u=0;u<4&&a+.75*u<n;u++)i.push(o.charAt(s>>>6*(3-u)&63));var l=o.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,o=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<o.length;a++)i[o.charCodeAt(a)]=a}var s=o.charAt(64);if(s){var u=e.indexOf(s);-1!==u&&(r=u)}
1return n(e,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url})},76729:function(e,t,r){!function(n,o){e.exports=t=o(r(60095))}(0,function(e){return function(){var t=e,r=t.lib.WordArray,n=t.enc;function o(e){return e<<8&0xff00ff00|e>>>8&0xff00ff}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o+=2){var i=t[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o++)n[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return r.create(n,2*t)}},n.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var a=o(t[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return r.create(n,2*t)}}}(),e.enc.Utf16})},35516:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(1825),r(55979))}(0,function(e){return function(){var t=e,r=t.lib,n=r.Base,o=r.WordArray,i=t.algo,a=i.MD5,s=i.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,i=n.hasher.create(),a=o.create(),s=a.words,u=n.keySize,l=n.iterations;s.length<u;){r&&i.update(r),r=i.update(e).finalize(t),i.reset();for(var d=1;d<l;d++)r=i.finalize(r),i.reset();a.concat(r)}return a.sigBytes=4*u,a}});t.EvpKDF=function(e,t,r){return s.create(r).compute(e,t)}}(),e.EvpKDF})},635:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return function(){var t=e,r=t.lib.CipherParams,n=t.enc.Hex;t.format.Hex={stringify:function(e){return e.ciphertext.toString(n)},parse:function(e){var t=n.parse(e);return r.create({ciphertext:t})}}}(),e.format.Hex})},69922:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(2478),r(96018),r(55979))}(0,function(e){return e.HmacSHA512})},55979:function(e,t,r){!function(n,o){e.exports=t=o(r(60095))}(0,function(e){!function(){var t=e,r=t.lib.Base,n=t.enc.Utf8;t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,o=4*r;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,u=a.words,l=0;l<r;l++)s[l]^=0x5c5c5c5c,u[l]^=0x36363636;i.sigBytes=a.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})}()})},27594:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(2478),r(74842),r(76729),r(81716),r(17687),r(35478),r(1825),r(9331),r(74174),r(96018),r(82963),r(6303),r(97442),r(55979),r(94673),r(35516),r(59947),r(62375),r(19141),r(6014),r(64867),r(55760),r(24223),r(71855),r(16600),r(34537),r(17894),r(635),r(70129),r(84902),r(56123),r(54324),r(27126),r(42770))}(0,function(e){return e})},74842:function(e,t,r){!function(n,o){e.exports=t=o(r(60095))}(0,function(e){return function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init;(t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],o=0;o<t;o++)n[o>>>2]|=e[o]<<24-o%4*8;r.call(this,n,t)}else r.apply(this,arguments)}).prototype=t}}(),e.lib.WordArray})},35478:function(e,t,r){!function(n,o){e.exports=t=o(r(60095))}(0,function(e){return function(t){var r=e,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=0x100000000*t.abs(t.sin(e+1))|0}();var u=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([0x67452301,0xefcdab89,0x98badcfe,0x10325476])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=(o<<8|o>>>
124)&0xff00ff|(o<<24|o>>>8)&0xff00ff00}var i=this._hash.words,a=e[t+0],u=e[t+1],h=e[t+2],f=e[t+3],m=e[t+4],g=e[t+5],y=e[t+6],b=e[t+7],v=e[t+8],S=e[t+9],_=e[t+10],w=e[t+11],x=e[t+12],T=e[t+13],E=e[t+14],P=e[t+15],k=i[0],D=i[1],A=i[2],O=i[3];k=l(k,D,A,O,a,7,s[0]),O=l(O,k,D,A,u,12,s[1]),A=l(A,O,k,D,h,17,s[2]),D=l(D,A,O,k,f,22,s[3]),k=l(k,D,A,O,m,7,s[4]),O=l(O,k,D,A,g,12,s[5]),A=l(A,O,k,D,y,17,s[6]),D=l(D,A,O,k,b,22,s[7]),k=l(k,D,A,O,v,7,s[8]),O=l(O,k,D,A,S,12,s[9]),A=l(A,O,k,D,_,17,s[10]),D=l(D,A,O,k,w,22,s[11]),k=l(k,D,A,O,x,7,s[12]),O=l(O,k,D,A,T,12,s[13]),A=l(A,O,k,D,E,17,s[14]),D=l(D,A,O,k,P,22,s[15]),k=d(k,D,A,O,u,5,s[16]),O=d(O,k,D,A,y,9,s[17]),A=d(A,O,k,D,w,14,s[18]),D=d(D,A,O,k,a,20,s[19]),k=d(k,D,A,O,g,5,s[20]),O=d(O,k,D,A,_,9,s[21]),A=d(A,O,k,D,P,14,s[22]),D=d(D,A,O,k,m,20,s[23]),k=d(k,D,A,O,S,5,s[24]),O=d(O,k,D,A,E,9,s[25]),A=d(A,O,k,D,f,14,s[26]),D=d(D,A,O,k,v,20,s[27]),k=d(k,D,A,O,T,5,s[28]),O=d(O,k,D,A,h,9,s[29]),A=d(A,O,k,D,b,14,s[30]),D=d(D,A,O,k,x,20,s[31]),k=c(k,D,A,O,g,4,s[32]),O=c(O,k,D,A,v,11,s[33]),A=c(A,O,k,D,w,16,s[34]),D=c(D,A,O,k,E,23,s[35]),k=c(k,D,A,O,u,4,s[36]),O=c(O,k,D,A,m,11,s[37]),A=c(A,O,k,D,b,16,s[38]),D=c(D,A,O,k,_,23,s[39]),k=c(k,D,A,O,T,4,s[40]),O=c(O,k,D,A,a,11,s[41]),A=c(A,O,k,D,f,16,s[42]),D=c(D,A,O,k,y,23,s[43]),k=c(k,D,A,O,S,4,s[44]),O=c(O,k,D,A,x,11,s[45]),A=c(A,O,k,D,P,16,s[46]),D=c(D,A,O,k,h,23,s[47]),k=p(k,D,A,O,a,6,s[48]),O=p(O,k,D,A,b,10,s[49]),A=p(A,O,k,D,E,15,s[50]),D=p(D,A,O,k,g,21,s[51]),k=p(k,D,A,O,x,6,s[52]),O=p(O,k,D,A,f,10,s[53]),A=p(A,O,k,D,_,15,s[54]),D=p(D,A,O,k,u,21,s[55]),k=p(k,D,A,O,v,6,s[56]),O=p(O,k,D,A,P,10,s[57]),A=p(A,O,k,D,y,15,s[58]),D=p(D,A,O,k,T,21,s[59]),k=p(k,D,A,O,m,6,s[60]),O=p(O,k,D,A,w,10,s[61]),A=p(A,O,k,D,h,15,s[62]),D=p(D,A,O,k,S,21,s[63]),i[0]=i[0]+k|0,i[1]=i[1]+D|0,i[2]=i[2]+A|0,i[3]=i[3]+O|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;r[o>>>5]|=128<<24-o%32;var i=t.floor(n/0x100000000),a=n;r[(o+64>>>9<<4)+15]=(i<<8|i>>>24)&0xff00ff|(i<<24|i>>>8)&0xff00ff00,r[(o+64>>>9<<4)+14]=(a<<8|a>>>24)&0xff00ff|(a<<24|a>>>8)&0xff00ff00,e.sigBytes=(r.length+1)*4,this._process();for(var s=this._hash,u=s.words,l=0;l<4;l++){var d=u[l];u[l]=(d<<8|d>>>24)&0xff00ff|(d<<24|d>>>8)&0xff00ff00}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,r,n,o,i,a){var s=e+(t&r|~t&n)+o+a;return(s<<i|s>>>32-i)+t}function d(e,t,r,n,o,i,a){var s=e+(t&n|r&~n)+o+a;return(s<<i|s>>>32-i)+t}function c(e,t,r,n,o,i,a){var s=e+(t^r^n)+o+a;return(s<<i|s>>>32-i)+t}function p(e,t,r,n,o,i,a){var s=e+(r^(t|~n))+o+a;return(s<<i|s>>>32-i)+t}r.MD5=i._createHelper(u),r.HmacMD5=i._createHmacHelper(u)}(Math),e.MD5})},62375:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(e,t,r,n){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,n.encryptBlock(o,0);for(var a=0;a<r;a++)e[t+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize;r.call(this,e,t,o,n),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=e.slice(t,t+o);r.call(this,e,t,o,n),this._prevBlock=i}}),t}(),e.mode.CFB})},6014:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){if((e>>24&255)==255){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0+(t<<16)+(r<<8)+n}else e+=0x1000000;return e}function n(e){return 0===(e[0]=r(e[0]))&&(e[1]=r(e[1])),e}var o=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),n(a);var s=a.slice(0);r.encryptBlock(s,0);for(var u=0;u<o;u++)e[t+u]^=s[u]}});return t.Decryptor=o,t}(),e.mode.CTRGladman})},19141:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);r.encryptBlock(a,0),i[n-1]=i[n-1]+1|0;for(var s=0;s<n;s++)e[t+s]^=a[s]}});return t.Decryptor=r,t}(),e.mode.CTR})},55760:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB})},64867:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),r.encryptBlock(i,0);for(var a=0;a<n;a++)e[t+a]^=i[a]}});return t.Decryptor=r,t}(),e.mode.OFB})},24223:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,o=n-r%n,i=r+o-1;
1e.clamp(),e.words[i>>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923})},71855:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return e.pad.Iso10126={pad:function(t,r){var n=4*r,o=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(o-1)).concat(e.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126})},16600:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([0x80000000],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971})},17894:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})},34537:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(59947))}(0,function(e){return e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){for(var t=e.words,r=e.sigBytes-1,r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},e.pad.ZeroPadding})},94673:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(9331),r(55979))}(0,function(e){return function(){var t=e,r=t.lib,n=r.Base,o=r.WordArray,i=t.algo,a=i.SHA256,s=i.HMAC,u=i.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=s.create(r.hasher,e),i=o.create(),a=o.create([1]),u=i.words,l=a.words,d=r.keySize,c=r.iterations;u.length<d;){var p=n.update(t).finalize(a);n.reset();for(var h=p.words,f=h.length,m=p,g=1;g<c;g++){m=n.finalize(m),n.reset();for(var y=m.words,b=0;b<f;b++)h[b]^=y[b]}i.concat(p),l[0]++}return i.sigBytes=4*d,i}});t.PBKDF2=function(e,t,r){return u.create(r).compute(e,t)}}(),e.PBKDF2})},27126:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(81716),r(35478),r(35516),r(59947))}(0,function(e){return function(){var t=e,r=t.lib.StreamCipher,n=t.algo,o=[],i=[],a=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,0xffff0000&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,0xffff0000&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,0xffff0000&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,0xffff0000&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)u.call(this);for(var o=0;o<8;o++)n[o]^=r[o+4&7];if(t){var i=t.words,a=i[0],s=i[1],l=(a<<8|a>>>24)&0xff00ff|(a<<24|a>>>8)&0xff00ff00,d=(s<<8|s>>>24)&0xff00ff|(s<<24|s>>>8)&0xff00ff00,c=l>>>16|0xffff0000&d,p=d<<16|65535&l;n[0]^=l,n[1]^=c,n[2]^=d,n[3]^=p,n[4]^=l,n[5]^=c,n[6]^=d,n[7]^=p;for(var o=0;o<4;o++)u.call(this)}},_doProcessBlock:function(e,t){var r=this._X;u.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=(o[n]<<8|o[n]>>>24)&0xff00ff|(o[n]<<24|o[n]>>>8)&0xff00ff00,e[t+n]^=o[n]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];t[0]=t[0]+0x4d34d34d+this._b|0,t[1]=t[1]+0xd34d34d3+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+0x34d34d34+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+0x4d34d34d+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+0xd34d34d3+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+0x34d34d34+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+0x4d34d34d+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+0xd34d34d3+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0;for(var r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,u=((o*o>>>17)+o*s>>>15)+s*s,l=((0xffff0000&n)*n|0)+((65535&n)*n|0);a[r]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=r._createHelper(s)}(),e.RabbitLegacy})},54324:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(81716),r(35478),r(35516),r(59947))}(0,function(e){return function(){var t=e,r=t.lib.StreamCipher,n=t.algo,o=[],i=[],a=[],s=n.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=(e[r]<<8|e[r]>>>
vendor: 4,155 bytes, line 1
124)&0xff00ff|(e[r]<<24|e[r]>>>8)&0xff00ff00;var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,0xffff0000&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,0xffff0000&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,0xffff0000&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,0xffff0000&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)u.call(this);for(var r=0;r<8;r++)o[r]^=n[r+4&7];if(t){var i=t.words,a=i[0],s=i[1],l=(a<<8|a>>>24)&0xff00ff|(a<<24|a>>>8)&0xff00ff00,d=(s<<8|s>>>24)&0xff00ff|(s<<24|s>>>8)&0xff00ff00,c=l>>>16|0xffff0000&d,p=d<<16|65535&l;o[0]^=l,o[1]^=c,o[2]^=d,o[3]^=p,o[4]^=l,o[5]^=c,o[6]^=d,o[7]^=p;for(var r=0;r<4;r++)u.call(this)}},_doProcessBlock:function(e,t){var r=this._X;u.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=(o[n]<<8|o[n]>>>24)&0xff00ff|(o[n]<<24|o[n]>>>8)&0xff00ff00,e[t+n]^=o[n]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];t[0]=t[0]+0x4d34d34d+this._b|0,t[1]=t[1]+0xd34d34d3+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+0x34d34d34+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+0x4d34d34d+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+0xd34d34d3+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+0x34d34d34+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+0x4d34d34d+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+0xd34d34d3+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0;for(var r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,u=((o*o>>>17)+o*s>>>15)+s*s,l=((0xffff0000&n)*n|0)+((65535&n)*n|0);a[r]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=r._createHelper(s)}(),e.Rabbit})},56123:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(81716),r(35478),r(35516),r(59947))}(0,function(e){return function(){var t=e,r=t.lib.StreamCipher,n=t.algo,o=n.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;for(var o=0,i=0;o<256;o++){var a=o%r,s=t[a>>>2]>>>24-a%4*8&255;i=(i+n[o]+s)%256;var u=n[o];n[o]=n[i],n[i]=u}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[r],e[r]=i,n|=e[(e[t]+e[r])%256]<<24-8*o}return this._i=t,this._j=r,n}t.RC4=r._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});t.RC4Drop=r._createHelper(a)}(),e.RC4})},97442:function(e,t,r){!function(n,o){e.exports=t=o(r(60095))}(0,function(e){return function(t){var r=e,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),c=o.create([0,0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xa953fd4e]),p=o.create([0x50a28be6,0x5c4dd124,0x6d703ef3,0x7a6d76e9,0]),h=a.RIPEMD160=i.extend({_doReset:function(){this._hash=o.create([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0])},_doProcessBlock:function(e,t){for(var r,n,o,i,a,h,S,_,w,x,T,E=0;E<16;
1E++){var P=t+E,k=e[P];e[P]=(k<<8|k>>>24)&0xff00ff|(k<<24|k>>>8)&0xff00ff00}var D=this._hash.words,A=c.words,O=p.words,N=s.words,C=u.words,$=l.words,M=d.words;h=r=D[0],S=n=D[1],_=o=D[2],w=i=D[3],x=a=D[4];for(var E=0;E<80;E+=1)T=r+e[t+N[E]]|0,E<16?T+=f(n,o,i)+A[0]:E<32?T+=m(n,o,i)+A[1]:E<48?T+=g(n,o,i)+A[2]:E<64?T+=y(n,o,i)+A[3]:T+=b(n,o,i)+A[4],T|=0,T=(T=v(T,$[E]))+a|0,r=a,a=i,i=v(o,10),o=n,n=T,T=h+e[t+C[E]]|0,E<16?T+=b(S,_,w)+O[0]:E<32?T+=y(S,_,w)+O[1]:E<48?T+=g(S,_,w)+O[2]:E<64?T+=m(S,_,w)+O[3]:T+=f(S,_,w)+O[4],T|=0,T=(T=v(T,M[E]))+x|0,h=x,x=w,w=v(_,10),_=S,S=T;T=D[1]+o+w|0,D[1]=D[2]+i+x|0,D[2]=D[3]+a+h|0,D[3]=D[4]+r+S|0,D[4]=D[0]+n+_|0,D[0]=T},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=(r<<8|r>>>24)&0xff00ff|(r<<24|r>>>8)&0xff00ff00,e.sigBytes=(t.length+1)*4,this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var s=i[a];i[a]=(s<<8|s>>>24)&0xff00ff|(s<<24|s>>>8)&0xff00ff00}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,r){return e^t^r}function m(e,t,r){return e&t|~e&r}function g(e,t,r){return(e|~t)^r}function y(e,t,r){return e&r|t&~r}function b(e,t,r){return e^(t|~r)}function v(e,t){return e<<t|e>>>32-t}r.RIPEMD160=i._createHelper(h),r.HmacRIPEMD160=i._createHmacHelper(h)}(Math),e.RIPEMD160})},1825:function(e,t,r){!function(n,o){e.exports=t=o(r(60095))}(0,function(e){return function(){var t=e,r=t.lib,n=r.WordArray,o=r.Hasher,i=t.algo,a=[],s=i.SHA1=o.extend({_doReset:function(){this._hash=new n.init([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],u=r[4],l=0;l<80;l++){if(l<16)a[l]=0|e[t+l];else{var d=a[l-3]^a[l-8]^a[l-14]^a[l-16];a[l]=d<<1|d>>>31}var c=(n<<5|n>>>27)+u+a[l];l<20?c+=(o&i|~o&s)+0x5a827999:l<40?c+=(o^i^s)+0x6ed9eba1:l<60?c+=(o&i|o&s|i&s)-0x70e44324:c+=(o^i^s)-0x359d3e2a,u=s,s=i,i=o<<30|o>>>2,o=n,n=c}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+u|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=Math.floor(r/0x100000000),t[(n+64>>>9<<4)+15]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=o._createHelper(s),t.HmacSHA1=o._createHmacHelper(s)}(),e.SHA1})},74174:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(9331))}(0,function(e){return function(){var t=e,r=t.lib.WordArray,n=t.algo,o=n.SHA256,i=n.SHA224=o.extend({_doReset:function(){this._hash=new r.init([0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=o._createHelper(i),t.HmacSHA224=o._createHmacHelper(i)}(),e.SHA224})},9331:function(e,t,r){!function(n,o){e.exports=t=o(r(60095))}(0,function(e){return function(t){var r=e,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=[],u=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(e){return(e-(0|e))*0x100000000|0}for(var n=2,o=0;o<64;)e(n)&&(o<8&&(s[o]=r(t.pow(n,.5))),u[o]=r(t.pow(n,1/3)),o++),n++}();var l=[],d=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],d=r[5],c=r[6],p=r[7],h=0;h<64;h++){if(h<16)l[h]=0|e[t+h];else{var f=l[h-15],m=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,g=l[h-2],y=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[h]=m+l[h-7]+y+l[h-16]}var b=s&d^~s&c,v=n&o^n&i^o&i,S=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),_=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+b+u[h]+l[h],w=S+v;p=c,c=d,d=s,s=a+_|0,a=i,i=o,o=n,n=_+w|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0,r[5]=r[5]+d|0,r[6]=r[6]+c|0,r[7]=r[7]+p|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return r[o>>>5]|=128<<24-o%32,r[(o+64>>>9<<4)+14]=t.floor(n/0x100000000),r[(o+64>>>9<<4)+15]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=i._createHelper(d),r.HmacSHA256=i._createHmacHelper(d)}(Math),e.SHA256})},6303:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(2478))}(0,function(e){return function(t){var r=e,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.x64.Word,s=r.algo,u=[],l=[],d=[];!function(){for(var e=1,t=0,r=0;r<24;r++){u[e+5*t]=(r+1)*(r+2)/2%64;var n=t%5,o=(2*e+3*t)%5;
vendor: 5,090 bytes, line 1
1e=n,t=o}for(var e=0;e<5;e++)for(var t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,s=0;s<24;s++){for(var c=0,p=0,h=0;h<7;h++){if(1&i){var f=(1<<h)-1;f<32?p^=1<<f:c^=1<<f-32}128&i?i=i<<1^113:i<<=1}d[s]=a.create(c,p)}}();var c=[];!function(){for(var e=0;e<25;e++)c[e]=a.create()}();var p=s.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,o=0;o<n;o++){var i=e[t+2*o],a=e[t+2*o+1];i=(i<<8|i>>>24)&0xff00ff|(i<<24|i>>>8)&0xff00ff00,a=(a<<8|a>>>24)&0xff00ff|(a<<24|a>>>8)&0xff00ff00;var s=r[o];s.high^=a,s.low^=i}for(var p=0;p<24;p++){for(var h=0;h<5;h++){for(var f=0,m=0,g=0;g<5;g++){var s=r[h+5*g];f^=s.high,m^=s.low}var y=c[h];y.high=f,y.low=m}for(var h=0;h<5;h++)for(var b=c[(h+4)%5],v=c[(h+1)%5],S=v.high,_=v.low,f=b.high^(S<<1|_>>>31),m=b.low^(_<<1|S>>>31),g=0;g<5;g++){var s=r[h+5*g];s.high^=f,s.low^=m}for(var w=1;w<25;w++){var f,m,s=r[w],x=s.high,T=s.low,E=u[w];E<32?(f=x<<E|T>>>32-E,m=T<<E|x>>>32-E):(f=T<<E-32|x>>>64-E,m=x<<E-32|T>>>64-E);var P=c[l[w]];P.high=f,P.low=m}var k=c[0],D=r[0];k.high=D.high,k.low=D.low;for(var h=0;h<5;h++)for(var g=0;g<5;g++){var w=h+5*g,s=r[w],A=c[w],O=c[(h+1)%5+5*g],N=c[(h+2)%5+5*g];s.high=A.high^~O.high&N.high,s.low=A.low^~O.low&N.low}var s=r[0],C=d[p];s.high^=C.high,s.low^=C.low}},_doFinalize:function(){var e=this._data,r=e.words;this._nDataBytes;var n=8*e.sigBytes,i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,u=s/8,l=[],d=0;d<u;d++){var c=a[d],p=c.high,h=c.low;p=(p<<8|p>>>24)&0xff00ff|(p<<24|p>>>8)&0xff00ff00,h=(h<<8|h>>>24)&0xff00ff|(h<<24|h>>>8)&0xff00ff00,l.push(h),l.push(p)}return new o.init(l,s)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=i._createHelper(p),r.HmacSHA3=i._createHmacHelper(p)}(Math),e.SHA3})},82963:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(2478),r(96018))}(0,function(e){return function(){var t=e,r=t.x64,n=r.Word,o=r.WordArray,i=t.algo,a=i.SHA512,s=i.SHA384=a.extend({_doReset:function(){this._hash=new o.init([new n.init(0xcbbb9d5d,0xc1059ed8),new n.init(0x629a292a,0x367cd507),new n.init(0x9159015a,0x3070dd17),new n.init(0x152fecd8,0xf70e5939),new n.init(0x67332667,0xffc00b31),new n.init(0x8eb44a87,0x68581511),new n.init(0xdb0c2e0d,0x64f98fa7),new n.init(0x47b5481d,0xbefa4fa4)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=a._createHelper(s),t.HmacSHA384=a._createHmacHelper(s)}(),e.SHA384})},96018:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(2478))}(0,function(e){return function(){var t=e,r=t.lib.Hasher,n=t.x64,o=n.Word,i=n.WordArray,a=t.algo;function s(){return o.create.apply(o,arguments)}var u=[s(0x428a2f98,0xd728ae22),s(0x71374491,0x23ef65cd),s(0xb5c0fbcf,0xec4d3b2f),s(0xe9b5dba5,0x8189dbbc),s(0x3956c25b,0xf348b538),s(0x59f111f1,0xb605d019),s(0x923f82a4,0xaf194f9b),s(0xab1c5ed5,0xda6d8118),s(0xd807aa98,0xa3030242),s(0x12835b01,0x45706fbe),s(0x243185be,0x4ee4b28c),s(0x550c7dc3,0xd5ffb4e2),s(0x72be5d74,0xf27b896f),s(0x80deb1fe,0x3b1696b1),s(0x9bdc06a7,0x25c71235),s(0xc19bf174,0xcf692694),s(0xe49b69c1,0x9ef14ad2),s(0xefbe4786,0x384f25e3),s(0xfc19dc6,0x8b8cd5b5),s(0x240ca1cc,0x77ac9c65),s(0x2de92c6f,0x592b0275),s(0x4a7484aa,0x6ea6e483),s(0x5cb0a9dc,0xbd41fbd4),s(0x76f988da,0x831153b5),s(0x983e5152,0xee66dfab),s(0xa831c66d,0x2db43210),s(0xb00327c8,0x98fb213f),s(0xbf597fc7,0xbeef0ee4),s(0xc6e00bf3,0x3da88fc2),s(0xd5a79147,0x930aa725),s(0x6ca6351,0xe003826f),s(0x14292967,0xa0e6e70),s(0x27b70a85,0x46d22ffc),s(0x2e1b2138,0x5c26c926),s(0x4d2c6dfc,0x5ac42aed),s(0x53380d13,0x9d95b3df),s(0x650a7354,0x8baf63de),s(0x766a0abb,0x3c77b2a8),s(0x81c2c92e,0x47edaee6),s(0x92722c85,0x1482353b),s(0xa2bfe8a1,0x4cf10364),s(0xa81a664b,0xbc423001),s(0xc24b8b70,0xd0f89791),s(0xc76c51a3,0x654be30),s(0xd192e819,0xd6ef5218),s(0xd6990624,0x5565a910),s(0xf40e3585,0x5771202a),s(0x106aa070,0x32bbd1b8),s(0x19a4c116,0xb8d2d0c8),s(0x1e376c08,0x5141ab53),s(0x2748774c,0xdf8eeb99),s(0x34b0bcb5,0xe19b48a8),s(0x391c0cb3,0xc5c95a63),s(0x4ed8aa4a,0xe3418acb),s(0x5b9cca4f,0x7763e373),s(0x682e6ff3,0xd6b2b8a3),s(0x748f82ee,0x5defb2fc),s(0x78a5636f,0x43172f60),s(0x84c87814,0xa1f0ab72),s(0x8cc70208,0x1a6439ec),s(0x90befffa,0x23631e28),s(0xa4506ceb,0xde82bde9),s(0xbef9a3f7,0xb2c67915),s(0xc67178f2,0xe372532b),s(0xca273ece,0xea26619c),s(0xd186b8c7,0x21c0c207),s(0xeada7dd6,0xcde0eb1e),s(0xf57d4f7f,0xee6ed178),s(0x6f067aa,0x72176fba),s(0xa637dc5,0xa2c898a6),s(0x113f9804,0xbef90dae),s(0x1b710b35,0x131c471b),s(0x28db77f5,0x23047d84),s(0x32caab7b,0x40c72493),s(0x3c9ebe0a,0x15c9bebc),s(0x431d67c4,0x9c100d4c),s(0x4cc5d4be,0xcb3e42b6),s(0x597f299c,0xfc657e2a),s(0x5fcb6fab,0x3ad6faec),s(0x6c44198c,0x4a475817)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var d=a.SHA512=r.extend({_doReset:function(){this._hash=new i.init([new o.init(0x6a09e66
17,0xf3bcc908),new o.init(0xbb67ae85,0x84caa73b),new o.init(0x3c6ef372,0xfe94f82b),new o.init(0xa54ff53a,0x5f1d36f1),new o.init(0x510e527f,0xade682d1),new o.init(0x9b05688c,0x2b3e6c1f),new o.init(0x1f83d9ab,0xfb41bd6b),new o.init(0x5be0cd19,0x137e2179)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],d=r[5],c=r[6],p=r[7],h=n.high,f=n.low,m=o.high,g=o.low,y=i.high,b=i.low,v=a.high,S=a.low,_=s.high,w=s.low,x=d.high,T=d.low,E=c.high,P=c.low,k=p.high,D=p.low,A=h,O=f,N=m,C=g,$=y,M=b,I=v,L=S,R=_,F=w,B=x,U=T,j=E,V=P,z=k,H=D,W=0;W<80;W++){var G,q,Y=l[W];if(W<16)q=Y.high=0|e[t+2*W],G=Y.low=0|e[t+2*W+1];else{var K=l[W-15],Z=K.high,J=K.low,X=(Z>>>1|J<<31)^(Z>>>8|J<<24)^Z>>>7,Q=(J>>>1|Z<<31)^(J>>>8|Z<<24)^(J>>>7|Z<<25),ee=l[W-2],et=ee.high,er=ee.low,en=(et>>>19|er<<13)^(et<<3|er>>>29)^et>>>6,eo=(er>>>19|et<<13)^(er<<3|et>>>29)^(er>>>6|et<<26),ei=l[W-7],ea=ei.high,es=ei.low,eu=l[W-16],el=eu.high,ed=eu.low;q=X+ea+((G=Q+es)>>>0<Q>>>0?1:0),G+=eo,q=q+en+(G>>>0<eo>>>0?1:0),G+=ed,q=q+el+(G>>>0<ed>>>0?1:0),Y.high=q,Y.low=G}var ec=R&B^~R&j,ep=F&U^~F&V,eh=A&N^A&$^N&$,ef=O&C^O&M^C&M,em=(A>>>28|O<<4)^(A<<30|O>>>2)^(A<<25|O>>>7),eg=(O>>>28|A<<4)^(O<<30|A>>>2)^(O<<25|A>>>7),ey=(R>>>14|F<<18)^(R>>>18|F<<14)^(R<<23|F>>>9),eb=(F>>>14|R<<18)^(F>>>18|R<<14)^(F<<23|R>>>9),ev=u[W],eS=ev.high,e_=ev.low,ew=H+eb,ex=z+ey+(ew>>>0<H>>>0?1:0),ew=ew+ep,ex=ex+ec+(ew>>>0<ep>>>0?1:0),ew=ew+e_,ex=ex+eS+(ew>>>0<e_>>>0?1:0),ew=ew+G,ex=ex+q+(ew>>>0<G>>>0?1:0),eT=eg+ef,eE=em+eh+(eT>>>0<eg>>>0?1:0);z=j,H=V,j=B,V=U,B=R,U=F,R=I+ex+((F=L+ew|0)>>>0<L>>>0?1:0)|0,I=$,L=M,$=N,M=C,N=A,C=O,A=ex+eE+((O=ew+eT|0)>>>0<ew>>>0?1:0)|0}f=n.low=f+O,n.high=h+A+(f>>>0<O>>>0?1:0),g=o.low=g+C,o.high=m+N+(g>>>0<C>>>0?1:0),b=i.low=b+M,i.high=y+$+(b>>>0<M>>>0?1:0),S=a.low=S+L,a.high=v+I+(S>>>0<L>>>0?1:0),w=s.low=w+F,s.high=_+R+(w>>>0<F>>>0?1:0),T=d.low=T+U,d.high=x+B+(T>>>0<U>>>0?1:0),P=c.low=P+V,c.high=E+j+(P>>>0<V>>>0?1:0),D=p.low=D+H,p.high=k+z+(D>>>0<H>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+128>>>10<<5)+30]=Math.floor(r/0x100000000),t[(n+128>>>10<<5)+31]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(d),t.HmacSHA512=r._createHmacHelper(d)}(),e.SHA512})},84902:function(e,t,r){!function(n,o,i){e.exports=t=o(r(60095),r(81716),r(35478),r(35516),r(59947))}(0,function(e){return function(){var t=e,r=t.lib,n=r.WordArray,o=r.BlockCipher,i=t.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,0x10000000:32768,0x20000000:8421378,0x30000000:2,0x40000000:512,0x50000000:8421890,0x60000000:8389122,0x70000000:8388608,0x80000000:514,0x90000000:8389120,0xa0000000:33280,0xb0000000:8421376,0xc0000000:32770,0xd0000000:8388610,0xe0000000:0,0xf0000000:33282,0x8000000:0,0x18000000:8421890,0x28000000:33282,0x38000000:32768,0x48000000:8421888,0x58000000:512,0x68000000:8421378,0x78000000:2,0x88000000:8389120,0x98000000:33280,0xa8000000:8421376,0xb8000000:8389122,0xc8000000:8388610,0xd8000000:32770,0xe8000000:514,0xf8000000:8388608,1:32768,0x10000001:2,0x20000001:8421888,0x30000001:8388608,0x40000001:8421378,0x50000001:33280,0x60000001:512,0x70000001:8389122,0x80000001:8421890,0x90000001:8421376,0xa0000001:8388610,0xb0000001:33282,0xc0000001:514,0xd0000001:8389120,0xe0000001:32770,0xf0000001:0,0x8000001:8421890,0x18000001:8421376,0x28000001:8388608,0x38000001:512,0x48000001:32768,0x58000001:8388610,0x68000001:2,0x78000001:33282,0x88000001:32770,0x98000001:8389122,0xa8000001:514,0xb8000001:8421888,0xc8000001:8389120,0xd8000001:0,0xe8000001:33280,0xf8000001:8421378},{0:0x40084010,0x1000000:16384,0x2000000:524288,0x3000000:0x40080010,0x4000000:0x40000010,0x5000000:0x40084000,0x6000000:0x40004000,0x7000000:16,0x8000000:540672,0x9000000:0x40004010,0xa000000:0x40000000,0xb000000:540688,0xc000000:524304,0xd000000:0,0xe000000:16400,0xf000000:0x40080000,8388608:0x40004000,0x1800000:540688,0x2800000:16,0x3800000:0x40004010,0x4800000:0x40084010,0x5800000:0x40000000,0x6800000:524288,0x7800000:0x40080010,0x8800000:524304,0x9800000:0,0xa800000:16384,0xb800000:0x40080000,0xc800000:0x40000010,0xd800000:540672,0xe800000:0x40084000,0xf800000:16400,0x10000000:0,0x11000000:0x40080010,0x12000000:0x40004010,0x13000000:0x40084000,0x14000000:0x40080000,0x15000000:16,0x16000000:540688,0x17000000:16384,0x18000000:16400,0x19000000:524288,0x1a000000:524304,0x1b000000:0x40000010,0x1c000000:540672,0x1d000000:0x40004000,0x1e000000:0x40000000,0x1f000000:0x40084010,0x10800000:540688,0x11800000:524288,0x12800000:0x40080000,0x13800000:16384,0x14800000:0x40004000,0x15800000:0x40084010,0x16800000:16,0x17800000:0x40000000,0x18800000:0x40084000,0x19800000:0x40000010,0x1a800000:0x40004010,0x1b800000:524304,0x1c800000:0,0x1d800000:16400,0x1e800000:0x40080010,0x1f800000:540672},{0:260,1048576:0,2097152:0x4000100,3145728:65796,4194304:65540,5242880:0x4000004,6291456:0x4010104,7340032:0x4010000,8388608:0x4000000,9437184:0x4010100,0xa00000:65792,0xb00000:0x4010004,0
vendor: 6,186 bytes, line 1
1xc00000:0x4000104,0xd00000:65536,0xe00000:4,0xf00000:256,524288:0x4010100,1572864:0x4010004,2621440:0,3670016:0x4000100,4718592:0x4000004,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,0xa80000:0x4010000,0xb80000:65796,0xc80000:65792,0xd80000:0x4000104,0xe80000:0x4010104,0xf80000:0x4000000,0x1000000:0x4010100,0x1100000:65540,0x1200000:65536,0x1300000:0x4000100,0x1400000:256,0x1500000:0x4010104,0x1600000:0x4000004,0x1700000:0,0x1800000:0x4000104,0x1900000:0x4000000,0x1a00000:4,0x1b00000:65792,0x1c00000:0x4010000,0x1d00000:260,0x1e00000:65796,0x1f00000:0x4010004,0x1080000:0x4000000,0x1180000:260,0x1280000:0x4010100,0x1380000:0,0x1480000:65540,0x1580000:0x4000100,0x1680000:256,0x1780000:0x4010004,0x1880000:65536,0x1980000:0x4010104,0x1a80000:65796,0x1b80000:0x4000004,0x1c80000:0x4000104,0x1d80000:0x4010000,0x1e80000:4,0x1f80000:65792},{0:0x80401000,65536:0x80001040,131072:4198464,196608:0x80400000,262144:0,327680:4198400,393216:0x80000040,458752:4194368,524288:0x80000000,589824:4194304,655360:64,720896:0x80001000,786432:0x80400040,851968:4160,917504:4096,983040:0x80401040,32768:0x80001040,98304:64,163840:0x80400040,229376:0x80001000,294912:4198400,360448:0x80401040,425984:0,491520:0x80400000,557056:4096,622592:0x80401000,688128:4194304,753664:4160,819200:0x80000000,884736:4194368,950272:4198464,1015808:0x80000040,1048576:4194368,1114112:4198400,1179648:0x80000040,1245184:0,1310720:4160,1376256:0x80400040,1441792:0x80401000,1507328:0x80001040,1572864:0x80401040,1638400:0x80000000,1703936:0x80400000,1769472:4198464,1835008:0x80001000,1900544:4194304,1966080:64,2031616:4096,1081344:0x80400000,1146880:0x80401040,1212416:0,1277952:4198400,1343488:4194368,1409024:0x80000000,1474560:0x80001040,1540096:64,1605632:0x80000040,1671168:4096,1736704:0x80001000,1802240:0x80400040,1867776:4160,1933312:0x80401000,1998848:4194304,2064384:4198464},{0:128,4096:0x1040000,8192:262144,12288:0x20000000,16384:0x20040080,20480:0x1000080,24576:0x21000080,28672:262272,32768:0x1000000,36864:0x20040000,40960:0x20000080,45056:0x21040080,49152:0x21040000,53248:0,57344:0x1040080,61440:0x21000000,2048:0x1040080,6144:0x21000080,10240:128,14336:0x1040000,18432:262144,22528:0x20040080,26624:0x21040000,30720:0x20000000,34816:0x20040000,38912:0,43008:0x21040080,47104:0x1000080,51200:0x20000080,55296:0x21000000,59392:0x1000000,63488:262272,65536:262144,69632:128,73728:0x20000000,77824:0x21000080,81920:0x1000080,86016:0x21040000,90112:0x20040080,94208:0x1000000,98304:0x21040080,102400:0x21000000,106496:0x1040000,110592:0x20040000,114688:262272,118784:0x20000080,122880:0,126976:0x1040080,67584:0x21000080,71680:0x1000000,75776:0x1040000,79872:0x20040080,83968:0x20000000,88064:0x1040080,92160:128,96256:0x21040000,100352:262272,104448:0x21040080,108544:0,112640:0x21000000,116736:0x1000080,120832:262144,124928:0x20040000,129024:0x20000080},{0:0x10000008,256:8192,512:0x10200000,768:0x10202008,1024:0x10002000,1280:2097152,1536:2097160,1792:0x10000000,2048:0,2304:0x10002008,2560:2105344,2816:8,3072:0x10200008,3328:2105352,3584:8200,3840:0x10202000,128:0x10200000,384:0x10202008,640:8,896:2097152,1152:2105352,1408:0x10000008,1664:0x10002000,1920:8200,2176:2097160,2432:8192,2688:0x10002008,2944:0x10200008,3200:0,3456:0x10202000,3712:2105344,3968:0x10000000,4096:0x10002000,4352:0x10200008,4608:0x10202008,4864:8200,5120:2097152,5376:0x10000000,5632:0x10000008,5888:2105344,6144:2105352,6400:0,6656:8,6912:0x10200000,7168:8192,7424:0x10002008,7680:0x10202000,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:0x10000008,5248:0x10002000,5504:8200,5760:0x10202008,6016:0x10200000,6272:0x10202000,6528:0x10200008,6784:8192,7040:2105352,7296:2097160,7552:0,7808:0x10000000,8064:0x10002008},{0:1048576,16:0x2000401,32:1024,48:1049601,64:0x2100401,80:0,96:1,112:0x2100001,128:0x2000400,144:1048577,160:0x2000001,176:0x2100400,192:0x2100000,208:1025,224:1049600,240:0x2000000,8:0x2100001,24:0,40:0x2000401,56:0x2100400,72:1048576,88:0x2000001,104:0x2000000,120:1025,136:1049601,152:0x2000400,168:0x2100000,184:1048577,200:1024,216:0x2100401,232:1,248:1049600,256:0x2000000,272:1048576,288:0x2000401,304:0x2100001,320:1048577,336:0x2000400,352:0x2100400,368:1049601,384:1025,400:0x2100401,416:1049600,432:1,448:0,464:0x2100000,480:0x2000001,496:1024,264:1049600,280:0x2000401,296:0x2100001,312:1,328:0x2000000,344:1048576,360:1025,376:0x2100400,392:0x2000001,408:0x2100000,424:0,440:0x2100401,456:1049601,472:1024,488:0x2000400,504:1048577},{0:0x8000820,1:131072,2:0x8000000,3:32,4:131104,5:0x8020820,6:0x8020800,7:2048,8:0x8020000,9:0x8000800,10:133120,11:0x8020020,12:2080,13:0,14:0x8000020,15:133152,0x80000000:2048,0x80000001:0x8020820,0x80000002:0x8000820,0x80000003:0x8000000,0x80000004:0x8020000,0x80000005:133120,0x80000006:133152,0x80000007:32,0x80000008:0x8000020,0x80000009:2080,0x8000000a:131104,0x8000000b:0x8020800,0x8000000c:0,0x8000000d:0x8020020,0x8000000e:0x8000800,0x8000000f:131072,16:133152,17:0x8020800,18:32,19:2048,20:0x8000800,21:0x8000020,22:0x8020020,23:131072,24:0,25:131104,26:0x8020000,27:0x8000820,28:0x8020820,29:133120,30:2080,31:0x8000000,0x80000010:131072,0x80000011:2048,0x80000012:0x8020020,0x80000013:133152,0x80000014:32,0x80000015:0x8020000,0x80000016:0x8000000,0x80000017:0x8000820,0x80000018:0x8020820,0x80000019:0x8000020,0x8000001a:0x8000800,0x8000001b:0,0x8000001c:133120,0x8000001d:2080,0x8000001e:131104,0x8000001f:0x8020800}],d=[0xf8000001,0x1f800000,0x1f80000,2064384,129024,8064,504,0x8000001f],c=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=a[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){for(var l=o[i]=[],d=u[i],r=0;r<24;r++)l[r/6|0]|=t[(s[r]-1+d)%28]<<31-r%6,l[4+(r/6|0)]|=t[28+(s[r+24]-1+d)%28]<<31-r%6;l[0]=l[0]<<1|l[0]>>>31;for(var r=1;r<7;r++)l[r]=l[r]>>>(r-1)*4+3;l[7]=l[7]<<5|l[7]>>>27}for(var c=this._invSubKeys=[],r=0;r<16;r++)c[r]=o[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],p.call(this,4,0xf0f0f0f),p.call(this,16,65535),h.call(this,2,0x33333333),h.call(this,8,0xff00ff),p.
1call(this,1,0x55555555);for(var n=0;n<16;n++){for(var o=r[n],i=this._lBlock,a=this._rBlock,s=0,u=0;u<8;u++)s|=l[u][((a^o[u])&d[u])>>>0];this._lBlock=a,this._rBlock=i^s}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,p.call(this,1,0x55555555),h.call(this,8,0xff00ff),h.call(this,2,0x33333333),p.call(this,16,65535),p.call(this,4,0xf0f0f0f),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function h(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}t.DES=o._createHelper(c);var f=i.TripleDES=o.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=c.createEncryptor(n.create(t)),this._des2=c.createEncryptor(n.create(r)),this._des3=c.createEncryptor(n.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=o._createHelper(f)}(),e.TripleDES})},2478:function(e,t,r){!function(n,o){e.exports=t=o(r(60095))}(0,function(e){return function(){var t=e,r=t.lib,n=r.Base,o=r.WordArray,i=t.x64={};i.Word=n.extend({init:function(e,t){this.high=e,this.low=t}}),i.WordArray=n.extend({init:function(e,t){e=this.words=e||[],void 0!=t?this.sigBytes=t:this.sigBytes=8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var i=e[n];r.push(i.high),r.push(i.low)}return o.create(r,this.sigBytes)},clone:function(){for(var e=n.clone.call(this),t=e.words=this.words.slice(0),r=t.length,o=0;o<r;o++)t[o]=t[o].clone();return e}})}(),e})},80286:function(e){!function(t,r){e.exports=r()}(0,function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",s="day",u="week",l="month",d="quarter",c="year",p="date",h="Invalid Date",f=/^(\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"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},b={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(o,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),o=t.clone().add(n,l),i=r-o<0,a=t.clone().add(n+(i?-1:1),l);return+(-(n+(r-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return({M:l,y:c,w:u,d:s,D:p,h:a,m:i,s:o,ms:n,Q:d})[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},v="en",S={};S[v]=g;var _="$isDayjsObject",w=function(e){return e instanceof P||!(!e||!e[_])},x=function e(t,r,n){var o;if(!t)return v;if("string"==typeof t){var i=t.toLowerCase();S[i]&&(o=i),r&&(S[i]=r,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;S[s]=t,o=s}return!n&&o&&(v=o),o||!n&&v},T=function(e,t){if(w(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new P(r)},E=b;E.l=x,E.i=w,E.w=function(e,t){return T(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function g(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var y=g.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(f);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},y.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()},y.$utils=function(){return E},y.isValid=function(){return this.$d.toString()!==h},y.isSame=function(e,t){var r=T(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return T(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<T(e)},y.$g=function(e,t,r){return E.u(e)?this[t]:this.set(r,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var r=this,n=!!E.u(t)||t,d=E.p(e),h=function(e,t){var o=E.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?o:o.endOf(s)},f=function(e,t){return E.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},m=this.$W,g=this.$M,y=this.$D,b="set"+(this.$u?"UTC":"");switch(d){case c:return n?h(1,0):h(31,11);case l:return n?h(1,g):h(0,g+1);case u:var v=this.$locale().weekStart||0,S=(m<v?m+7:m)-v;return h(n?y-S:y+(6-S),g);case s:case p:return f(b+"Hours",0);case a:return f(b+"Minutes",1);case i:return f(b+"Seconds",2);case o:return f(b+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var r,u=E.p(e),d="set"+(this.$u?"UTC":""),h=((r={})[s]=d+"Date",r[p]=d+"Date",r[l]=d+"Month",r[c]=d+"FullYear",r[a]=d+"Hours",r[i]=d+"Minutes",r[o]=d+"Seconds",r[n]=d+"Milliseconds",r)[u],f=u===s?this.$D+(t-this.$W):t;if(u===l||u===c){var m=this.clone().set(p,1);
vendor: 4,179 bytes, line 1
1m.$d[h](f),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[E.p(e)]()},y.add=function(n,d){var p,h=this;n=Number(n);var f=E.p(d),m=function(e){var t=T(h);return E.w(t.date(t.date()+Math.round(e*n)),h)};if(f===l)return this.set(l,this.$M+n);if(f===c)return this.set(c,this.$y+n);if(f===s)return m(1);if(f===u)return m(7);var g=((p={})[i]=t,p[a]=r,p[o]=e,p)[f]||1,y=this.$d.getTime()+n*g;return E.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",o=E.z(this),i=this.$H,a=this.$m,s=this.$M,u=r.weekdays,l=r.months,d=r.meridiem,c=function(e,r,o,i){return e&&(e[r]||e(t,n))||o[r].slice(0,i)},p=function(e){return E.s(i%12||12,e,"0")},f=d||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(m,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return E.s(t.$y,4,"0");case"M":return s+1;case"MM":return E.s(s+1,2,"0");case"MMM":return c(r.monthsShort,s,l,3);case"MMMM":return c(l,s);case"D":return t.$D;case"DD":return E.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return c(r.weekdaysMin,t.$W,u,2);case"ddd":return c(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(i);case"HH":return E.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return f(i,a,!0);case"A":return f(i,a,!1);case"m":return String(a);case"mm":return E.s(a,2,"0");case"s":return String(t.$s);case"ss":return E.s(t.$s,2,"0");case"SSS":return E.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")})},y.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},y.diff=function(n,p,h){var f,m=this,g=E.p(p),y=T(n),b=(y.utcOffset()-this.utcOffset())*t,v=this-y,S=function(){return E.m(m,y)};switch(g){case c:f=S()/12;break;case l:f=S();break;case d:f=S()/3;break;case u:f=(v-b)/6048e5;break;case s:f=(v-b)/864e5;break;case a:f=v/r;break;case i:f=v/t;break;case o:f=v/e;break;default:f=v}return h?f:E.a(f)},y.daysInMonth=function(){return this.endOf(l).$D},y.$locale=function(){return S[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=x(e,t,!0);return n&&(r.$L=n),r},y.clone=function(){return E.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},g}(),k=P.prototype;return T.prototype=k,[["$ms",n],["$s",o],["$m",i],["$H",a],["$W",s],["$M",l],["$y",c],["$D",p]].forEach(function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),T.extend=function(e,t){return e.$i||(e(t,P,T),e.$i=!0),T},T.locale=x,T.isDayjs=w,T.unix=function(e){return T(1e3*e)},T.en=S[v],T.Ls=S,T.p={},T})},489:function(e){!function(t,r){e.exports=r()}(0,function(){return{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"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}}})},44510:function(e,t,r){!function(t,n){e.exports=n(r(80286))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%
1d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}};return t.default.locale(r,null,!0),r})},62027:function(e,t,r){!function(t,n){e.exports=n(r(80286))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return t.default.locale(r,null,!0),r})},97783:function(e,t,r){!function(t,n){e.exports=n(r(80286))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return t.default.locale(r,null,!0),r})},18648:function(e,t,r){!function(t,n){e.exports=n(r(80286))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return t.default.locale(r,null,!0),r})},78742:function(e,t,r){!function(t,n){e.exports=n(r(80286))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"pt",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_Sa".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xba"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%
1d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return t.default.locale(r,null,!0),r})},78246:function(e,t,r){!function(t,n){e.exports=n(r(80286))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(e){return e+"."}};return t.default.locale(r,null,!0),r})},71467:function(e,t,r){!function(t,n){e.exports=n(r(80286))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ s\xe1u_thứ bảy".split("_"),months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"v\xe0i gi\xe2y",m:"một ph\xfat",mm:"%d ph\xfat",h:"một giờ",hh:"%d giờ",d:"một ng\xe0y",dd:"%d ng\xe0y",M:"một th\xe1ng",MM:"%d th\xe1ng",y:"một năm",yy:"%d năm"}};return t.default.locale(r,null,!0),r})},84260:function(e,t,r){!function(t,n){e.exports=n(r(80286))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};return t.default.locale(r,null,!0),r})},19412:function(e,t,r){!function(t,n){e.exports=n(r(80286))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"週":e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%
1d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};return t.default.locale(r,null,!0),r})},21927:function(e){!function(t,r){e.exports=r()}(0,function(){return function(e,t,r){var n=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,r,n,i){var a=e.name?e:e.$locale(),s=o(a[t]),u=o(a[r]),l=s||u.map(function(e){return e.slice(0,n)});if(!i)return l;var d=a.weekStart;return l.map(function(e,t){return l[(t+(d||0))%7]})},a=function(){return r.Ls[r.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,r){return t||r.slice(1)})}(e.formats[t.toUpperCase()])},u=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return u.bind(this)()},r.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},r.months=function(){return i(a(),"months")},r.monthsShort=function(){return i(a(),"monthsShort","months",3)},r.weekdays=function(e){return i(a(),"weekdays",null,null,e)},r.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},r.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}})},9766:function(e){!function(t,r){e.exports=r()}(0,function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(r,n,o){var i,a=function(e,r,n){void 0===n&&(n={});var o=new Date(e);return(function(e,r){void 0===r&&(r={});var n=r.timeZoneName||"short",o=e+"|"+n,i=t[o];return i||(i=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),t[o]=i),i})(r,n).formatToParts(o)},s=function(t,r){for(var n=a(t,r),i=[],s=0;s<n.length;s+=1){var u=n[s],l=u.type,d=u.value,c=e[l];c>=0&&(i[c]=parseInt(d,10))}var p=i[3],h=24===p?0:p,f=i[0]+"-"+i[1]+"-"+i[2]+" "+h+":"+i[4]+":"+i[5]+":000",m=+t;return(o.utc(f).valueOf()-(m-=m%1e3))/6e4},u=n.prototype;u.tz=function(e,t){void 0===e&&(e=i);var r,n=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),u=Math.round((a-new Date(s))/1e3/60),l=-(15*Math.round(a.getTimezoneOffset()/15))-u;if(Number(l)){if(r=o(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(l,!0),t){var d=r.utcOffset();r=r.add(n-d,"minute")}}else r=this.utcOffset(0,t);return r.$x.$timezone=e,r},u.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),r=a(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return r&&r.value};var l=u.startOf;u.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return l.call(this,e,t);var r=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(r,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,r){var n=r&&t,a=r||t||i,u=s(+o(),a);if("string"!=typeof e)return o(e).tz(a);var l=function(e,t,r){var n=e-60*t*1e3,o=s(n,r);if(t===o)return[n,t];var i=s(n-=60*(o-t)*1e3,r);return o===i?[n,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(e,n).valueOf(),u,a),d=l[0],c=l[1],p=o(d).utcOffset(c);return p.$x.$timezone=a,p},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){i=e}}})},48515:function(e){!function(t,r){e.exports=r()}(0,function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,o,i){var a=o.prototype;i.utc=function(e){var t={date:e,utc:!0,args:arguments};return new o(t)},a.utc=function(t){var r=i(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var u=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var l=a.utcOffset;a.utcOffset=function(n,o){var i=this.$utils().u;if(i(n))return this.$u?0:i(this.$offset)?l.call(this):this.$offset;if("string"==typeof n&&null===(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var o=(""+n[0]).match(r)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(n)))return this;var a=16>=Math.abs(n)?60*n:n;if(0===a)return this.utc(o);var s=this.clone();if(o)return s.$offset=a,s.$u=!1,s;var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(a+u,e)).$offset=a,s.$x.$localOffset=u,s};var d=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var c=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():c.call(this)};var p=a.diff;a.diff=function(e,t,r){if(e&&this.$u===e.$u)return p.call(this,e,t,r);var n=this.local(),o=i(e).local();return p.call(n,o,t,r)}}})},12064:(module,__unused_webpack_exports,__webpack_require__)=>{!function(e){module.exports=e()}(function(){var define,module,exports;return(function(){function e(t,r,n){function o(a,s){if(!r[a]){if(!t[a]){var u=void 0;if(!s&&u)return require(a,!0);if(i)return i(a,!0);var l=Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var d=r[a]={exports:{}};t[a][0].call(d.exports,function(e){return o(t[a][1][e]||e)},d,d.exports,e,t,r,n)}return r[a].exports}for(var i=void 0,a=0;a<n.length;a++)o(n[a]);return o}return e})()({1:[function(require,module,exports){(function(global){(function(){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.createTemplateTagFirstArg=function(e){return e.raw=e},$jscomp.createTemplateTagFirstArgWithRaw=function(e,t){return e.raw=t,e},$jscomp.arrayIteratorImpl=function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}},$jscomp.arrayIterator=function(e){return{next:$jscomp.arrayIteratorImpl(e)}},$jscomp.makeIterator=function(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):$jscomp.arrayIterator(e)},$jscomp.arrayFromIterator=function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r},$jscomp.arrayFromIterable=function(e){return e instanceof Array?e:$jscomp.arrayFromIterator($jscomp.makeIterator(e))},$jscomp.checkStringArgs=function(e,t,r){if(null==e)throw TypeError("The 'this' value for String.prototype."+r
1+" must not be null or undefined");if(t instanceof RegExp)throw TypeError("First argument to String.prototype."+r+" must not be a regular expression");return e+""},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,r){return e==Array.prototype||e==Object.prototype||(e[t]=r.value),e},$jscomp.getGlobal=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var t=0;t<e.length;++t){var r=e[t];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.IS_SYMBOL_NATIVE="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(e,t){var r=$jscomp.propertyToPolyfillSymbol[t];return null==r?e[t]:void 0!==(r=e[r])?r:e[t]};$jscomp.polyfill=function(e,t,r,n){t&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(e,t,r,n):$jscomp.polyfillUnisolated(e,t,r,n))},$jscomp.polyfillUnisolated=function(e,t,r,n){for(n=0,r=$jscomp.global,e=e.split(".");n<e.length-1;n++){var o=e[n];if(!(o in r))return;r=r[o]}(t=t(n=r[e=e[e.length-1]]))!=n&&null!=t&&$jscomp.defineProperty(r,e,{configurable:!0,writable:!0,value:t})},$jscomp.polyfillIsolated=function(e,t,r,n){var o=e.split(".");e=1===o.length,n=o[0],n=!e&&n in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var i=0;i<o.length-1;i++){var a=o[i];if(!(a in n))return;n=n[a]}o=o[o.length-1],null!=(t=t(r=$jscomp.IS_SYMBOL_NATIVE&&"es6"===r?n[o]:null))&&(e?$jscomp.defineProperty($jscomp.polyfills,o,{configurable:!0,writable:!0,value:t}):t!==r&&($jscomp.propertyToPolyfillSymbol[o]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(o):$jscomp.POLYFILL_PREFIX+o,o=$jscomp.propertyToPolyfillSymbol[o],$jscomp.defineProperty(n,o,{configurable:!0,writable:!0,value:t})))},$jscomp.polyfill("String.prototype.endsWith",function(e){return e||function(e,t){var r=$jscomp.checkStringArgs(this,e,"endsWith");e+="",void 0===t&&(t=r.length),t=Math.max(0,Math.min(0|t,r.length));for(var n=e.length;0<n&&0<t;)if(r[--t]!=e[--n])return!1;return 0>=n}},"es6","es3"),$jscomp.findInternal=function(e,t,r){e instanceof String&&(e=String(e));for(var n=e.length,o=0;o<n;o++){var i=e[o];if(t.call(r,i,o,e))return{i:o,v:i}}return{i:-1,v:void 0}},$jscomp.polyfill("Array.prototype.find",function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).v}},"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",function(e){return e||function(e,t){var r=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var n=r.length,o=e.length;t=Math.max(0,Math.min(0|t,r.length));for(var i=0;i<o&&t<n;)if(r[t++]!=e[i++])return!1;return i>=o}},"es6","es3"),$jscomp.polyfill("String.prototype.repeat",function(e){return e||function(e){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||0x4fffffff<e)throw RangeError("Invalid count value");e|=0;for(var r="";e;)1&e&&(r+=t),(e>>>=1)&&(t+=t);return r}},"es6","es3"),$jscomp.initSymbol=function(){},$jscomp.polyfill("Symbol",function(e){if(e)return e;var t=function(e,t){this.$jscomp$symbol$id_=e,$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:t})};t.prototype.toString=function(){return this.$jscomp$symbol$id_};var r=0,n=function(e){if(this instanceof n)throw TypeError("Symbol is not a constructor");return new t("jscomp_symbol_"+(e||"")+"_"+r++,e)};return n},"es6","es3"),$jscomp.polyfill("Symbol.iterator",function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var t="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),r=0;r<t.length;r++){var n=$jscomp.global[t[r]];"function"==typeof n&&"function"!=typeof n.prototype[e]&&$jscomp.defineProperty(n.prototype,e,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return e},"es6","es3"),$jscomp.iteratorPrototype=function(e){return(e={next:e})[Symbol.iterator]=function(){return this},e},$jscomp.iteratorFromArray=function(e,t){e instanceof String&&(e+="");var r=0,n=!1,o={next:function(){if(!n&&r<e.length){var o=r++;
1return{value:t(o,e[o]),done:!1}}return n=!0,{done:!0,value:void 0}}};return o[Symbol.iterator]=function(){return o},o},$jscomp.polyfill("Array.prototype.keys",function(e){return e||function(){return $jscomp.iteratorFromArray(this,function(e){return e})}},"es6","es3"),$jscomp.polyfill("Object.is",function(e){return e||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},"es6","es3"),$jscomp.polyfill("Array.prototype.includes",function(e){return e||function(e,t){var r=this;r instanceof String&&(r=String(r));var n=r.length;for(0>(t=t||0)&&(t=Math.max(t+n,0));t<n;t++){var o=r[t];if(o===e||Object.is(o,e))return!0}return!1}},"es7","es3"),$jscomp.polyfill("String.prototype.includes",function(e){return e||function(e,t){return -1!==$jscomp.checkStringArgs(this,e,"includes").indexOf(e,t||0)}},"es6","es3");var COMPILED=!0,goog=goog||{};function module$contents$goog$debug$Error_DebugError(e){if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug$Error_DebugError);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e)),this.reportErrorToServer=!0}goog.global=this||self,goog.exportPath_=function(e,t,r,n){e=e.split("."),n=n||goog.global,e[0]in n||void 0===n.execScript||n.execScript("var "+e[0]);for(var o;e.length&&(o=e.shift());)if(e.length||void 0===t)n=n[o]&&n[o]!==Object.prototype[o]?n[o]:n[o]={};else if(!r&&goog.isObject(t)&&goog.isObject(n[o]))for(var i in t)t.hasOwnProperty(i)&&(n[o][i]=t[i]);else n[o]=t},goog.define=function(e,t){if(!COMPILED){var r=goog.global.CLOSURE_UNCOMPILED_DEFINES,n=goog.global.CLOSURE_DEFINES;r&&void 0===r.nodeType&&Object.prototype.hasOwnProperty.call(r,e)?t=r[e]:n&&void 0===n.nodeType&&Object.prototype.hasOwnProperty.call(n,e)&&(t=n[e])}return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t,r){if(!COMPILED){delete goog.implicitNamespaces_[e];for(var n=e;(n=n.substring(0,n.lastIndexOf(".")))&&!goog.getObjectByName(n);)goog.implicitNamespaces_[n]=!0}goog.exportPath_(e,t,r)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if("string"!=typeof e||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=e,!COMPILED){if(goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');delete goog.implicitNamespaces_[e]}},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){if(!COMPILED){if(e in goog.loadedModules_)return goog.loadedModules_[e].exports;if(!goog.implicitNamespaces_[e])return null!=(e=goog.getObjectByName(e))?e:null}return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var e=goog.global.$jscomp;return!!e&&"function"==typeof e.getCurrentModulePath&&!!e.getCurrentModulePath()},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0}
1,goog.declareModuleId=function(e){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(e in goog.loadedModules_)throw Error('Module with namespace "'+e+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw Error("Importing test-only code into non-debug environment"+((e=e||"")?": "+e:"."))},goog.forwardDeclare=function(e){},COMPILED||(goog.isProvided_=function(e){return e in goog.loadedModules_||!goog.implicitNamespaces_[e]&&null!=goog.getObjectByName(e)},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var r=0;r<e.length;r++)if(null==(t=t[e[r]]))return null;return t},goog.addDependency=function(e,t,r,n){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(e,t,r,n)},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(e){goog.global.console&&goog.global.console.error(e)},goog.require=function(e){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(e),goog.isProvided_(e)){if(goog.isInModuleLoader_())return goog.module.getInternal_(e)}else if(goog.ENABLE_DEBUG_LOADER){var t=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(e)}finally{goog.moduleLoaderState_=t}}return null}},goog.requireType=function(e){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(e){e.instance_=void 0,e.getInstance=function(){return e.instance_?e.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=e),e.instance_=new e)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(null==goog.hasBadLetScoping){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(b){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(e){return"(function(){"+e+"\n;})();\n"},goog.loadModule=function(e){var t=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var r={},n=r;if("function"==typeof e)n=e.call(void 0,n);else if("string"==typeof e)goog.useSafari10Workaround()&&(e=goog.workaroundSafari10EvalBug(e)),n=goog.loadModuleFromSource_.call(void 0,n,e);else throw Error("Invalid module definition");var o=goog.moduleLoaderState_.moduleName;if("string"==typeof o&&o)goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(o,n,r!==n):goog.SEAL_MODULE_EXPORTS&&Object.seal&&"object"==typeof n&&null!=n&&Object.seal(n),goog.loadedModules_[o]={exports:n,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};else throw Error('Invalid module name "'+o+'"')}finally{goog.moduleLoaderState_=t}},goog.loadModuleFromSource_=function(a,b){return eval(b),a},goog.normalizePath_=function(e){e=e.split("/");for(var t=0;t<e.length;)"."==e[t]?e.splice(t,1):t&&".."==e[t]&&e[t-1]&&".."!=e[t-1]?e.splice(--t,2):t++;return e.join("/")},goog.loadFileSync_=function(e){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(e);try{var t=new goog.global.XMLHttpRequest;return t.open("get",e,!1),t.send(),0==t.status||200==t.status?t.responseText:null}catch(e){return null}},goog.transpile_=function(e,t,r){var n=goog.global.$jscomp;n||(goog.global.$jscomp=n={});var o=n.transpile;if(!o){var i=goog.basePath+goog.TRANSPILER,a=goog.loadFileSync_(i);if(a){if((function(){(0,eval)(a+"\n//# sourceURL="+i)}).call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,o=(n=goog.global.$jscomp).transpile}}return o||(o=n.transpile=function(e,t){return goog.logToConsole_(t+" requires transpilation but no transpiler was found."),e}),o(e,t,r)},goog.typeOf=function(e){var t=typeof e;return"object"!=t?t:e?Array.isArray(e)?"array":t:"null"},goog.isArrayLike=function(e){var t=goog.typeOf(e);return"array"==t||"object"==t&&"number"==typeof e.length},goog.isDateLike=function(e){return goog.isObject(e)&&"function"==typeof e.getFullYear},goog.isObject=function(e){var t=typeof e;return"object"==t&&null!=e||"function"==t},goog.getUid=function(e){return Object.prototype.hasOwnProperty.call(e,goog.UID_PROPERTY_)&&e[goog.UID_PROPERTY_]||(e[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(e){return!!e[goog.UID_PROPERTY_]},goog.removeUid=function(e){null!==e&&"removeAttribute"in e&&e.removeAttribute(goog.UID_PROPERTY_);try{delete e[goog.UID_PROPERTY_]}catch(e){}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if("function"==typeof e.clone)return e.clone();for(var r in t="array"==t?[]:{},e)t[r]=goog.cloneObject(e[r]);return t}return e},goog.bindNative_=function(e,t,r){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,r){if(!e)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(r,n),e.apply(t,r)}}return function(){return e.apply(t,arguments)}},goog.bind=function(e,t,r){return Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(e,t){var r=Array.prototype.slice.call(arguments,1
1);return function(){var t=r.slice();return t.push.apply(t,arguments),e.apply(this,t)}},goog.mixin=function(e,t){for(var r in t)e[r]=t[r]},goog.now=function(){return Date.now()},goog.globalEval=function(e){(0,eval)(e)},goog.getCssName=function(e,t){if("."==String(e).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+e);var r=function(e){return goog.cssNameMapping_[e]||e},n=function(e){e=e.split("-");for(var t=[],n=0;n<e.length;n++)t.push(r(e[n]));return t.join("-")};return n=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?r:n:function(e){return e},e=t?e+"-"+n(t):n(e),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(e):e},goog.setCssNameMapping=function(e,t){goog.cssNameMapping_=e,goog.cssNameMappingStyle_=t},!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING),goog.getMsg=function(e,t,r){return r&&r.html&&(e=e.replace(/</g,"&lt;")),r&&r.unescapeHtmlEntities&&(e=e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&apos;/g,"'").replace(/&quot;/g,'"').replace(/&amp;/g,"&")),t&&(e=e.replace(/\{\$([^}]+)}/g,function(e,r){return null!=t&&r in t?t[r]:e})),e},goog.getMsgWithFallback=function(e,t){return e},goog.exportSymbol=function(e,t,r){goog.exportPath_(e,t,!0,r)},goog.exportProperty=function(e,t,r){e[t]=r},goog.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.superClass_=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.base=function(e,r,n){for(var o=Array(arguments.length-2),i=2;i<arguments.length;i++)o[i-2]=arguments[i];return t.prototype[r].apply(e,o)}},goog.scope=function(e){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");e.call(goog.global)},COMPILED||(goog.global.COMPILED=COMPILED),goog.defineClass=function(e,t){var r=t.constructor,n=t.statics;return r&&r!=Object.prototype.constructor||(r=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),r=goog.defineClass.createSealingConstructor_(r,e),e&&goog.inherits(r,e),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(r.prototype,t),null!=n&&(n instanceof Function?n(r):goog.defineClass.applyProperties_(r,n)),r},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(e,t){return goog.defineClass.SEAL_CLASS_INSTANCES?function(){var t=e.apply(this,arguments)||this;return t[goog.UID_PROPERTY_]=t[goog.UID_PROPERTY_],t}:e},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);for(var n=0;n<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;n++)r=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[n],Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.inHtmlDocument_=function(){var e=goog.global.document;return null!=e&&"write"in e},goog.isDocumentLoading_=function(){var e=goog.global.document;return e.attachEvent?"complete"!=e.readyState:"loading"==e.readyState},goog.findBasePath_=function(){if(void 0!=goog.global.CLOSURE_BASE_PATH&&"string"==typeof goog.global.CLOSURE_BASE_PATH)goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var e=goog.global.document,t=e.currentScript;for(t=(e=t?[t]:e.getElementsByTagName("SCRIPT")).length-1;0<=t;--t){var r=e[t].src,n=r.lastIndexOf("?");if(n=-1==n?r.length:n,"base.js"==r.substr(n-7,7)){goog.basePath=r.substr(0,n-7);break}}}},goog.findBasePath_(),goog.Transpiler=function(){this.requiresTranspilation_=null,this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTranspilation_=function(){function a(t,r){e?d[t]=!0:r()?(c=t,d[t]=!1):e=d[t]=!0}function b(g){try{return!!eval(g)}catch(h){return!1}}var c="es3",d={es3:!1},e=!1,f=goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:"";return a("es5",function(){return b("[1,].length==1")}),a("es6",function(){return!f.match(/Edge\/(\d+)(\.\d)*/i)&&b('(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')}),a("es7",function(){return b("2 ** 2 == 4")}),a("es8",function(){return b("async () => 1, true")}),a("es9",function(){return b("({...rest} = {}), true")}),a("es_next",function(){return!1}),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(e,t){if("always"==goog.TRANSPILE)return!0;
vendor: 5,601 bytes, line 1
1if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var r=this.createRequiresTranspilation_();this.requiresTranspilation_=r.map,this.transpilationTarget_=this.transpilationTarget_||r.target}if(e in this.requiresTranspilation_)return!!this.requiresTranspilation_[e]||!(!goog.inHtmlDocument_()||"es6"!=t||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+e)},goog.Transpiler.prototype.transpile=function(e,t){return goog.transpile_(e,t,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(e){return e.replace(/<\/(SCRIPT)/ig,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(e,t){function r(){n&&(goog.global.setTimeout(n,0),n=null)}var n=t;if(e.length){t=[];for(var o=0;o<e.length;o++){var i=this.getPathFromDeps_(e[o]);if(!i)throw Error("Unregonized namespace: "+e[o]);t.push(this.dependencies_[i])}i=goog.require;var a=0;for(o=0;o<e.length;o++)i(e[o]),t[o].onLoad(function(){++a==e.length&&r()})}else r()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+"deps.js"),"deps.js",[],[],{},!1)),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(e,t){(e=this.getPathFromDeps_(e))&&(t||this.areDepsLoaded_(this.dependencies_[e].requires))&&(t=this.deferredCallbacks_[e])&&(delete this.deferredCallbacks_[e],t())},goog.DebugLoader_.prototype.setDependencyFactory=function(e){this.factory_=e},goog.DebugLoader_.prototype.load_=function(e){if(this.getPathFromDeps_(e)){var t=this,r=[],n=function(e){var o=t.getPathFromDeps_(e);if(!o)throw Error("Bad dependency path or symbol: "+e);if(!t.written_[o]){for(t.written_[o]=!0,e=t.dependencies_[o],o=0;o<e.requires.length;o++)goog.isProvided_(e.requires[o])||n(e.requires[o]);r.push(e)}};n(e),e=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(r),this.paused_||e||this.loadDeps_()}else throw e="goog.require could not find: "+e,goog.logToConsole_(e),Error(e)},goog.DebugLoader_.prototype.loadDeps_=function(){for(var e=this,t=this.paused_;this.depsToLoad_.length&&!t;)(function(){var r=!1,n=e.depsToLoad_.shift(),o=!1;e.loading_(n);var i={pause:function(){if(r)throw Error("Cannot call pause after the call to load.");t=!0},resume:function(){r?e.resume_():t=!1},loaded:function(){if(o)throw Error("Double call to loaded.");o=!0,e.loaded_(n)},pending:function(){for(var t=[],r=0;r<e.loadingDeps_.length;r++)t.push(e.loadingDeps_[r]);return t},setModuleState:function(e){goog.moduleLoaderState_={type:e,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(e,t,r){r&&(goog.loadedModules_[r]={exports:t,type:goog.ModuleType.ES6,moduleId:r||""})},registerGoogModuleExports:function(e,t){goog.loadedModules_[e]={exports:t,type:goog.ModuleType.GOOG,moduleId:e}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(t){if(r)throw Error("Cannot register with defer after the call to load.");e.defer_(n,t)},areDepsLoaded:function(){return e.areDepsLoaded_(n.requires)}};try{n.load(i)}finally{r=!0}})();t&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(e){this.loadingDeps_.push(e)},goog.DebugLoader_.prototype.loaded_=function(e){for(var t=0;t<this.loadingDeps_.length;t++)if(this.loadingDeps_[t]==e){this.loadingDeps_.splice(t,1);break}for(t=0;t<this.deferredQueue_.length;t++)if(this.deferredQueue_[t]==e.path){this.deferredQueue_.splice(t,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);e.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(e){for(var t=0;t<e.length;t++){var r=this.getPathFromDeps_(e[t]);if(!r||!(r in this.deferredCallbacks_||goog.isProvided_(e[t])))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(e){return e in this.idToPath_?this.idToPath_[e]:e in this.dependencies_?e:null},goog.DebugLoader_.prototype.defer_=function(e,t){this.deferredCallbacks_[e.path]=t,this.deferredQueue_.push(e.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(e,t,r){},goog.LoadController.prototype.setModuleState=function(e){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(e){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(e,t,r,n,o){this.path=e,this.relativePath=t,this.provides=r,this.requires=n,this.loadFlags=o,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var e=this.path,t=e.indexOf("://");return 0<=t&&0<=(t=(e=e.substring(t+3)).indexOf("/"))&&(e=e.substring(t+1)),e},goog.Dependency.prototype.onLoad=function(e){this.loaded_?e():this.loadCallbacks_.push(e)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var e=this.loadCallbacks_;this.loadCallbacks_=[];for(var t=0;t<e.length;t++)e[t]()}
1,goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(e){var t=Math.random().toString(32);return goog.Dependency.callbackMap_[t]=e,t},goog.Dependency.unregisterCallback_=function(e){delete goog.Dependency.callbackMap_[e]},goog.Dependency.callback_=function(e,t){if(e in goog.Dependency.callbackMap_){for(var r=goog.Dependency.callbackMap_[e],n=[],o=1;o<arguments.length;o++)n.push(arguments[o]);r.apply(void 0,n)}else throw Error("Callback key "+e+" does not exist (was base.js loaded more than once?).")},goog.Dependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document;if("complete"==t.readyState&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path)){e.loaded();return}throw Error('Cannot write "'+this.path+'" after document load')}var r=goog.getScriptNonce();if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var n=function(t){t.readyState&&"complete"!=t.readyState?t.onload=n:(goog.Dependency.unregisterCallback_(o),e.loaded())},o=goog.Dependency.registerCallback_(n);r=r?' nonce="'+r+'"':"";var i='<script src="'+this.path+'"'+r+(goog.Dependency.defer_?" defer":"")+' id="script-'+o+'"><\/script>';i+="<script"+r+">",i=(goog.Dependency.defer_?i+("document.getElementById('script-"+o)+"').onload = function() {\n  goog.Dependency.callback_('"+o+"', this);\n};\n":i+("goog.Dependency.callback_('"+o)+"', document.getElementById('script-"+o+"'));")+"<\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(i):i)}else{var a=t.createElement("script");a.defer=goog.Dependency.defer_,a.async=!1,r&&(a.nonce=r),goog.DebugLoader_.IS_OLD_IE_?(e.pause(),a.onreadystatechange=function(){("loaded"==a.readyState||"complete"==a.readyState)&&(e.loaded(),e.resume())}):a.onload=function(){a.onload=null,e.loaded()},a.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(a)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),e.loaded()):e.pause()},goog.Es6ModuleDependency=function(e,t,r,n,o){goog.Dependency.call(this,e,t,r,n,o)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(e){function t(e,t){var r="",o=goog.getScriptNonce();o&&(r=' nonce="'+o+'"'),e=t?'<script type="module" crossorigin'+r+">"+t+"<\/script>":'<script type="module" crossorigin src="'+e+'"'+r+"><\/script>",n.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(e):e)}function r(e,t){var r=n.createElement("script");r.defer=!0,r.async=!1,r.type="module",r.setAttribute("crossorigin",!0);var o=goog.getScriptNonce();o&&(r.nonce=o),t?r.text=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(t):t:r.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(e):e,n.head.appendChild(r)}if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var n=goog.global.document,o=this;if(goog.isDocumentLoading_()){var i=t;goog.Dependency.defer_=!0}else i=r;var a=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(a),e.setModuleState(goog.ModuleType.ES6)});i(void 0,'goog.Dependency.callback_("'+a+'")'),i(this.path,void 0);var s=goog.Dependency.registerCallback_(function(t){goog.Dependency.unregisterCallback_(s),e.registerEs6ModuleExports(o.path,t,goog.moduleLoaderState_.moduleName)});i(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+s+'", m)');var u=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(u),e.clearModuleState(),e.loaded()});i(void 0,'goog.Dependency.callback_("'+u+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),e.pause()},goog.TransformedDependency=function(e,t,r,n,o){goog.Dependency.
vendor: 4,099 bytes, line 1
1call(this,e,t,r,n,o),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!("noModule"in goog.global.document.createElement("script"))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(e){function t(){o.contents_=goog.loadFileSync_(o.path),o.contents_&&(o.contents_=o.transform(o.contents_),o.contents_&&(o.contents_+="\n//# sourceURL="+o.path))}function r(){if(o.lazyFetch_&&t(),o.contents_){i&&e.setModuleState(goog.ModuleType.ES6);try{var r=o.contents_;if(o.contents_=null,goog.globalEval(r),i)var n=goog.moduleLoaderState_.moduleName}finally{i&&e.clearModuleState()}i&&goog.global.$jscomp.require.ensure([o.getPathName()],function(){e.registerEs6ModuleExports(o.path,goog.global.$jscomp.require(o.getPathName()),n)}),e.loaded()}}function n(){var e=goog.global.document,t=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(t),r()}),n=goog.getScriptNonce();n="<script"+(n?' nonce="'+n+'"':"")+">"+goog.protectScriptTag_('goog.Dependency.callback_("'+t+'");')+"<\/script>",e.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(n):n)}var o=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)t(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT("",this.contents_)?(this.contents_=null,e.loaded()):e.pause();else{var i=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||t();var a=1<e.pending().length,s=a&&goog.DebugLoader_.IS_OLD_IE_;if(a=goog.Dependency.defer_&&(a||goog.isDocumentLoading_()),s||a)e.defer(function(){r()});else{var u=goog.global.document;if(s=goog.inHtmlDocument_()&&"ActiveXObject"in goog.global,i&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!s){goog.Dependency.defer_=!0,e.pause();var l=u.onreadystatechange;u.onreadystatechange=function(){"interactive"==u.readyState&&(u.onreadystatechange=l,r(),e.resume()),"function"==typeof l&&l.apply(void 0,arguments)}}else!goog.DebugLoader_.IS_OLD_IE_&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()?n():r()}}},goog.TransformedDependency.prototype.transform=function(e){},goog.TranspiledDependency=function(e,t,r,n,o,i){goog.TransformedDependency.call(this,e,t,r,n,o),this.transpiler=i},goog.inherits(goog.TranspiledDependency,goog.TransformedDependency),goog.TranspiledDependency.prototype.transform=function(e){return this.transpiler.transpile(e,this.getPathName())},goog.PreTranspiledEs6ModuleDependency=function(e,t,r,n,o){goog.TransformedDependency.call(this,e,t,r,n,o)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(e){return e},goog.GoogModuleDependency=function(e,t,r,n,o,i,a){goog.TransformedDependency.call(this,e,t,r,n,o),this.needsTranspile_=i,this.transpiler_=a},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(e){return this.needsTranspile_&&(e=this.transpiler_.transpile(e,this.getPathName())),goog.LOAD_MODULE_USING_EVAL&&void 0!==goog.global.JSON?"goog.loadModule("+goog.global.JSON.stringify(e+"\n//# sourceURL="+this.path+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+e+"\n;return exports});\n//# sourceURL="+this.path+"\n"},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(e,t,r,n){t=t||[],e=e.replace(/\\/g,"/");var o=goog.normalizePath_(goog.basePath+e);for(n&&"boolean"!=typeof n||(n=n?{module:goog.ModuleType.GOOG}:{}),r=this.factory_.createDependency(o,e,t,r,n,goog.transpiler_.needsTranspile(n.lang||"es3",n.module)),this.dependencies_[o]=r,r=0;r<t.length;r++)this.idToPath_[t[r]]=o;this.idToPath_[e]=o},goog.DependencyFactory=function(e){this.transpiler=e},goog.DependencyFactory.prototype.createDependency=function(e,t,r,n,o,i){return o.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(e,t,r,n,o,i,this.transpiler):i?new goog.TranspiledDependency(e,t,r,n,o,this.transpiler):o.module==goog.ModuleType.ES6?"never"==goog.TRANSPILE&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTrans
1piledEs6ModuleDependency(e,t,r,n,o):new goog.Es6ModuleDependency(e,t,r,n,o):new goog.Dependency(e,t,r,n,o)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(e){goog.debugLoader_.setDependencyFactory(e)},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(e,t){goog.debugLoader_.bootstrap(e,t)}),goog.TRUSTED_TYPES_POLICY_NAME="goog",goog.identity_=function(e){return e},goog.createTrustedTypesPolicy=function(e){var t=null,r=goog.global.trustedTypes;if(!r||!r.createPolicy)return t;try{t=r.createPolicy(e,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_})}catch(e){goog.logToConsole_(e.message)}return t},goog.debug={},goog.inherits(module$contents$goog$debug$Error_DebugError,Error),module$contents$goog$debug$Error_DebugError.prototype.name="CustomError",goog.debug.Error=module$contents$goog$debug$Error_DebugError,goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(e,t){module$contents$goog$debug$Error_DebugError.call(this,goog.asserts.subs_(e,t)),this.messagePattern=e},goog.inherits(goog.asserts.AssertionError,module$contents$goog$debug$Error_DebugError),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(e){throw e},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(e,t){e=e.split("%s");for(var r="",n=e.length-1,o=0;o<n;o++)r+=e[o]+(o<t.length?t[o]:"%s");return r+e[n]},goog.asserts.doAssertFailure_=function(e,t,r,n){var o="Assertion failed";if(r){o+=": "+r;var i=n}else e&&(o+=": "+e,i=t);
1e=new goog.asserts.AssertionError(""+o,i||[]),goog.asserts.errorHandler_(e)},goog.asserts.setErrorHandler=function(e){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=e)},goog.asserts.assert=function(e,t,r){return goog.asserts.ENABLE_ASSERTS&&!e&&goog.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertExists=function(e,t,r){return goog.asserts.ENABLE_ASSERTS&&null==e&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.fail=function(e,t){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(e,t,r){return goog.asserts.ENABLE_ASSERTS&&"number"!=typeof e&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertString=function(e,t,r){return goog.asserts.ENABLE_ASSERTS&&"string"!=typeof e&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertFunction=function(e,t,r){return goog.asserts.ENABLE_ASSERTS&&"function"!=typeof e&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObject=function(e,t,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(e)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertArray=function(e,t,r){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(e)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertBoolean=function(e,t,r){return goog.asserts.ENABLE_ASSERTS&&"boolean"!=typeof e&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertElement=function(e,t,r){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(e)&&e.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertInstanceof=function(e,t,r,n){return!goog.asserts.ENABLE_ASSERTS||e instanceof t||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(t),goog.asserts.getType_(e)],r,Array.prototype.slice.call(arguments,3)),e},goog.asserts.assertFinite=function(e,t,r){return!goog.asserts.ENABLE_ASSERTS||"number"==typeof e&&isFinite(e)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var e in Object.prototype)goog.asserts.fail(e+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(e){return e instanceof Function?e.displayName||e.name||"unknown type name":e instanceof Object?e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e):null===e?"null":typeof e},goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;function module$contents$goog$array_peek(e){return e[e.length-1]}goog.array.ASSUME_NATIVE_FUNCTIONS=module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS,goog.array.peek=module$contents$goog$array_peek,goog.array.last=module$contents$goog$array_peek;var module$contents$goog$array_indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(e,t,r){return goog.asserts.assert(null!=e.length),Array.prototype.indexOf.call(e,t,r)}:function(e,t,r){if(r=null==r?0:0>r?Math.max(0,e.length+r):r,"string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.indexOf(t,r);for(;r<e.length;r++)if(r in e&&e[r]===t)return r;return -1};goog.array.indexOf=module$contents$goog$array_indexOf;var module$contents$goog$array_lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(e,t,r){return goog.asserts.assert(null!=e.length),Array.prototype.lastIndexOf.call(e,t,null==r?e.length-1:r)}:function(e,t,r){if(0>(r=null==r?e.length-1:r)&&(r=Math.max(0,e.length+r)),"string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.lastIndexOf(t,r);for(;0<=r;r--)if(r in e&&e[r]===t)return r;return -1};goog.array.lastIndexOf=module$contents$goog$array_lastIndexOf;var module$contents$goog$array_forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(e,t,r){goog.asserts.assert(null!=e.length),Array.prototype.forEach.call(e,t,r)}:function(e,t,r){for(var n=e.length,o="string"==typeof e?e.split(""):e,i=0;i<n;i++)i in o&&t.call(r,o[i],i,e)};function module$contents$goog$array_forEachRight(e,t,r){var n=e.length,o="string"==typeof e?e.split(""):e;for(--n;0<=n;--n)n in o&&t.call(r,o[n],n,e)}goog.array.forEach=module$contents$goog$array_forEach,goog.array.forEachRight=module$contents$goog$array_forEachRight;var module$contents$goog$array_filter=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(e,t,r){return goog.asserts.assert(null!=e.length),Array.prototype.filter.call(e,t,r)}:function(e,t,r){for(var n=e.length,o=[],i=0,a="string"==typeof e?e.split(""):e,s=0;s<n;s++)if(s in a){var u=a[s];t.call(r,u,s,e)&&(o[i++]=u)}return o};goog.array.filter=module$contents$goog$array_filter;var module$contents$goog$array_map=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(e,t,r){return goog.asserts.assert(null!=e.length),Array.prototype.map.call(e,t,r)}:function(e,t,r){for(var n=e.length,o=Array(n),i="string"==typeof e?e.split(""):e,a=0;a<n;a++)a in i&&(o[a]=t.call(r,i[a],a,e));return o};goog.array.map=module$contents$goog$array_map;var module$contents$goog$array_reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(e,t,r,n){return goog.asserts.assert(null!=e.length),n&&(t=goog.bind(t,n)),Array.prototype.reduce.call(e,t,r)}:function(e,t,r,n){var o=r;return module$contents$goog$array_forEach(e,function(r,i){o=t.call(n,o,r,i,e)}),o};goog.array.reduce=module$contents$goog$array_reduce;var module$contents$goog$array_reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(e,t,r,n){return goog.asserts.assert(null!=e.length),goog.asserts.assert(null!=t),n&&(t=goog.bind(t,n)),Array.prototype.reduceRight.call(e,t,r)}:function(e,t,r,n){var o=r;return module$contents$goog$array_forEachRight(e,function(r,i){o=t.call(n,o,r,i,e)}),o};goog.array.reduceRight=module$contents$goog$array_reduceRight;var module$contents$goog$array_some=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(e,t,r){return goog.asserts.assert(null!=e.length),Array.prototype.some.call(e,t,r)}:function(e,t,r){for(var n=e.length,o="string"==typeof e?e.split(""):e,i=0;i<n;i++)if(i in o&&t.call(r,o[i],i,e))return!0;return!1};goog.array.some=module$contents$goog$array_some;var module$contents$goog$array_every=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(e,t,r){return goog.asserts.assert(null!=e.length),Array.prototype.every.call(e,t,r)}:function(e,t,r){for(var n=e.length,o="string"==typeof e?e.split(""):e,i=0;i<n;i++)if(i in o&&!t.call(r,o[i],i,e))return!1;return!0};function module$contents$goog$array_count(e,t,r){var n=0;return module$contents$goog$array_forEach(e,function(e,o,i){t.call(r,e,o,i)&&++n},r),n}function module$contents$goog$array_find(e,t,r){return 0>(t=module$contents$goog$array_findIndex(e,t,r))?null:"string"==typeof e?e.charAt(t):e[t]}function module$contents$goog$array_findIndex(e,t,r){for(var n=e.length,o="string"==typeof e?e.split(""):e,i=0;i<n;i++)if(i in o&&t.call(r,o[i],i,e))return i;return -1}function module$contents$goog$array_findRight(e,t,r){return 0>(t=module$contents$goog$array_findIndexRight(e,t,r))?null:"string"==typeof e?e.charAt(t):e[t]}function module$contents$goog$array_findIndexRight(e,t,r){var n=e.length,o="string"==typeof e?e.split(""):e;for(--n;0<=n;
vendor: 17,909 bytes, line 1
1n--)if(n in o&&t.call(r,o[n],n,e))return n;return -1}function module$contents$goog$array_contains(e,t){return 0<=module$contents$goog$array_indexOf(e,t)}function module$contents$goog$array_isEmpty(e){return 0==e.length}function module$contents$goog$array_clear(e){if(!Array.isArray(e))for(var t=e.length-1;0<=t;t--)delete e[t];e.length=0}function module$contents$goog$array_insert(e,t){module$contents$goog$array_contains(e,t)||e.push(t)}function module$contents$goog$array_insertAt(e,t,r){module$contents$goog$array_splice(e,r,0,t)}function module$contents$goog$array_insertArrayAt(e,t,r){goog.partial(module$contents$goog$array_splice,e,r,0).apply(null,t)}function module$contents$goog$array_insertBefore(e,t,r){var n;2==arguments.length||0>(n=module$contents$goog$array_indexOf(e,r))?e.push(t):module$contents$goog$array_insertAt(e,t,n)}function module$contents$goog$array_remove(e,t){var r;return(r=0<=(t=module$contents$goog$array_indexOf(e,t)))&&module$contents$goog$array_removeAt(e,t),r}function module$contents$goog$array_removeLast(e,t){return 0<=(t=module$contents$goog$array_lastIndexOf(e,t))&&(module$contents$goog$array_removeAt(e,t),!0)}function module$contents$goog$array_removeAt(e,t){return goog.asserts.assert(null!=e.length),1==Array.prototype.splice.call(e,t,1).length}function module$contents$goog$array_removeIf(e,t,r){return 0<=(t=module$contents$goog$array_findIndex(e,t,r))&&(module$contents$goog$array_removeAt(e,t),!0)}function module$contents$goog$array_removeAllIf(e,t,r){var n=0;return module$contents$goog$array_forEachRight(e,function(o,i){t.call(r,o,i,e)&&module$contents$goog$array_removeAt(e,i)&&n++}),n}function module$contents$goog$array_concat(e){return Array.prototype.concat.apply([],arguments)}function module$contents$goog$array_join(e){return Array.prototype.concat.apply([],arguments)}function module$contents$goog$array_toArray(e){var t=e.length;if(0<t){for(var r=Array(t),n=0;n<t;n++)r[n]=e[n];return r}return[]}goog.array.every=module$contents$goog$array_every,goog.array.count=module$contents$goog$array_count,goog.array.find=module$contents$goog$array_find,goog.array.findIndex=module$contents$goog$array_findIndex,goog.array.findRight=module$contents$goog$array_findRight,goog.array.findIndexRight=module$contents$goog$array_findIndexRight,goog.array.contains=module$contents$goog$array_contains,goog.array.isEmpty=module$contents$goog$array_isEmpty,goog.array.clear=module$contents$goog$array_clear,goog.array.insert=module$contents$goog$array_insert,goog.array.insertAt=module$contents$goog$array_insertAt,goog.array.insertArrayAt=module$contents$goog$array_insertArrayAt,goog.array.insertBefore=module$contents$goog$array_insertBefore,goog.array.remove=module$contents$goog$array_remove,goog.array.removeLast=module$contents$goog$array_removeLast,goog.array.removeAt=module$contents$goog$array_removeAt,goog.array.removeIf=module$contents$goog$array_removeIf,goog.array.removeAllIf=module$contents$goog$array_removeAllIf,goog.array.concat=module$contents$goog$array_concat,goog.array.join=module$contents$goog$array_join;var module$contents$goog$array_clone=goog.array.toArray=module$contents$goog$array_toArray;function module$contents$goog$array_extend(e,t){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(goog.isArrayLike(n)){var o=e.length||0,i=n.length||0;e.length=o+i;for(var a=0;a<i;a++)e[o+a]=n[a]}else e.push(n)}}function module$contents$goog$array_splice(e,t,r,n){return goog.asserts.assert(null!=e.length),Array.prototype.splice.apply(e,module$contents$goog$array_slice(arguments,1))}function module$contents$goog$array_slice(e,t,r){return goog.asserts.assert(null!=e.length),2>=arguments.length?Array.prototype.slice.call(e,t):Array.prototype.slice.call(e,t,r)}function module$contents$goog$array_removeDuplicates(e,t,r){t=t||e;var n=function(e){return goog.isObject(e)?"o"+goog.getUid(e):(typeof e).charAt(0)+e};r=r||n,n={};for(var o=0,i=0;i<e.length;){var a=e[i++],s=r(a);Object.prototype.hasOwnProperty.call(n,s)||(n[s]=!0,t[o++]=a)}t.length=o}function module$contents$goog$array_binarySearch(e,t,r){return module$contents$goog$array_binarySearch_(e,r||module$contents$goog$array_defaultCompare,!1,t)}function module$contents$goog$array_binarySelect(e,t,r){return module$contents$goog$array_binarySearch_(e,t,!0,void 0,r)}function module$contents$goog$array_binarySearch_(e,t,r,n,o){for(var i,a=0,s=e.length;a<s;){var u=a+(s-a>>>1),l=r?t.call(o,e[u],u,e):t(n,e[u]);0<l?a=u+1:(s=u,i=!l)}return i?a:-a-1}function module$contents$goog$array_sort(e,t){e.sort(t||module$contents$goog$array_defaultCompare)}function module$contents$goog$array_stableSort(e,t){for(var r=Array(e.length),n=0;n<e.length;n++)r[n]={index:n,value:e[n]};var o=t||module$contents$goog$array_defaultCompare;for(module$contents$goog$array_sort(r,function(e,t){return o(e.value,t.value)||e.index-t.index}),n=0;n<e.length;n++)e[n]=r[n].value}function module$contents$goog$array_sortByKey(e,t,r){var n=r||module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(e,function(e,r){return n(t(e),t(r))})}function module$contents$goog$array_sortObjectsByKey(e,t,r){module$contents$goog$array_sortByKey(e,function(e){return e[t]},r)}function module$contents$goog$array_isSorted(e,t,r){t=t||module$contents$goog$array_defaultCompare;for(var n=1;n<e.length;n++){var o=t(e[n-1],e[n]);if(0<o||0==o&&r)return!1}return!0}function module$contents$goog$array_equals(e,t,r){if(!goog.isArrayLike(e)||!goog.isArrayLike(t)||e.length!=t.length)return!1;var n=e.length;r=r||module$contents$goog$array_defaultCompareEquality;for(var o=0;o<n;o++)if(!r(e[o],t[o]))return!1;return!0}function module$contents$goog$array_compare3(e,t,r){r=r||module$contents$goog$array_defaultCompare;for(var n=Math.min(e.length,t.length),o=0;o<n;o++){var i=r(e[o],t[o]);if(0!=i)return i}return module$contents$goog$array_defaultCompare(e.length,t.length)}function module$contents$goog$array_defaultCompare(e,t){return e>t?1:e<t?-1:0}function module$contents$goog$array_inverseDefaultCompare(e,t){return-module$contents$goog$array_defaultCompare(e,t)}function module$contents$goog$array_defaultCompareEquality(e,t){return e===t}function module$contents$goog$array_binaryInsert(e,t,r){return 0>(r=module$contents$goog$array_binarySearch(e,t,r))&&(module$contents$goog$array_insertAt(e,t,-(r+1)),!0)}function module$contents$goog$array_binaryRemove(e,t,r){return 0<=(t=module$contents$goog$array_binarySearch(e,t,r))&&module$contents$goog$array_removeAt(e,t)}function module$contents$goog$array_bucket(e,t,r){for(var n={},o=0;o<e.length;o++){var i=e[o],a=t.call(r,i,o,e);void 0!==a&&(n[a]||(n[a]=[])).push(i)}return n}function module$contents$goog$array_toObject(e,t,r){var n={};return module$contents$goog$array_forEach(e,function(o,i){n[t.call(r,o,i,e)]=o}),n}function module$contents$goog$array_range(e,t,r){var n=[],o=0,i=e;if(r=r||1,void 0!==t&&(o=e,i=t),0>r*(i-o))return[];if(0<r)for(e=o;e<i;e+=r)n.push(e);else for(e=o;e>i;e+=r)n.push(e);return n}function module$contents$goog$array_repeat(e,t){for(var r=[],n=0;n<t;n++)r[n]=e;return r}function module$contents$goog$array_flatten(e){for(var t=[],r=0;r<arguments.length;r++){var n=arguments[r];if(Array.isArray(n))for(var o=0;o<n.length;o+=8192){var i=module$contents$goog$array_slice(n,o,o+8192);i=module$contents$goog$array_flatten.apply(null,i);for(var a=0;a<i.length;a++)t.push(i[a])}else t.push(n)}return t}function module$contents$goog$array_rotate(e,t){return goog.asserts.assert(null!=e.length),e.length&&(0<(t%=e.length)?Array.prototype.unshift.apply(e,e.splice(-t,t)):0>t&&Array.prototype.push.apply(e,e.splice(0,-t))),e}function module$contents$goog$array_moveItem(e,t,r){goog.asserts.assert(0<=t&&t<e.length),goog.asserts.assert(0<=r&&r<e.length),t=Array.prototype.splice.call(e,t,1),Array.prototype.splice.call(e,r,0,t[0])}function module$contents$goog$array_zip(e){if(!arguments.length)return[];for(var t=[],r=arguments[0].length,n=1;n<arguments.length;n++)arguments[n].length<r&&(r=arguments[n].length);for(n=0;n<r;n++){for(var o=[],i=0;i<arguments.length;i++)o.push(arguments[i][n]);t.push(o)}return t}function module$contents$goog$array_shuffle(e,t){t=t||Math.random;for(var r=e.length-1;0<r;r--){var n=Math.floor(t()*(r+1)),o=e[r];e[r]=e[n],e[n]=o}}function module$contents$goog$array_copyByIndex(e,t){var r=[];return module$contents$goog$array_forEach(t,function(t){r.push(e[t])}),r}function module$contents$goog$array_concatMap(e,t,r){return module$contents$goog$array_concat.apply([],module$contents$goog$array_map(e,t,r))}goog.array.clone=module$contents$goog$array_clone,goog.array.extend=module$contents$goog$array_extend,goog.array.splice=module$contents$goog$array_splice,goog.array.slice=module$contents$goog$array_slice,goog.array.removeDuplicates=module$contents$goog$array_removeDuplicates,goog.array.binarySearch=module$contents$goog$array_binarySearch,goog.array.binarySelect=module$contents$goog$array_binarySelect,goog.array.sort=module$contents$goog$array_sort,goog.array.stableSort=module$contents$goog$array_stableSort,goog.array.sortByKey=module$contents$goog$array_sortByKey,goog.array.sortObjectsByKey=module$contents$goog$array_sortObjectsByKey,goog.array.isSorted=module$contents$goog$array_isSorted,goog.array.equals=module$contents$goog$array_equals,goog.array.compare3=module$contents$goog$array_compare3,goog.array.defaultCompare=module$contents$goog$array_defaultCompare,goog.array.inverseDefaultCompare=module$contents$goog$array_inverseDefaultCompare,goog.array.defaultCompareEquality=module$contents$goog$array_defaultCompareEquality,goog.array.binaryInsert=module$contents$goog$array_binaryInsert,goog.array.binaryRemove=module$contents$goog$array_binaryRemove,goog.array.bucket=module$contents$goog$array_bucket,goog.array.toObject=module$contents$goog$array_toObject,goog.array.range=module$contents$goog$array_range,goog.array.repeat=module$contents$goog$array_repeat,goog.array.flatten=module$contents$goog$array_flatten,goog.array.rotate=module$contents$goog$array_rotate,goog.array.moveItem=module$contents$goog$array_moveItem,goog.array.zip=module$contents$goog$array_zip,goog.array.shuffle=module$contents$goog$array_shuffle,goog.array.copyByIndex=module$contents$goog$array_copyByIndex,goog.array.concatMap=module$contents$goog$array_concatMap,goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(e){if(goog.asserts.ENABLE_ASSERTS){var t=goog.dom.asserts.getWindow_(e);t&&(!e||!(e instanceof t.Location)&&e instanceof t.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(e))}return e},goog.dom.asserts.assertIsElementType_=function(e,t){if(goog.asserts.ENABLE_ASSERTS){var r=goog.dom.asserts.getWindow_(e);r&&void 0!==r[t]&&(e&&(e instanceof r[t]||!(e instanceof r.Location||e instanceof r.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,goog.dom.asserts.debugStringForType_(e)))}return e},goog.dom.asserts.assertIsHTMLAnchorElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(e){if(!goog.isObject(e))return void 0===e?"undefined":null===e?"null":typeof e;try{return e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch(e){return"<object could not be stringified>"}},goog.dom.asserts.getWindow_=function(e){try{var t=e&&e.ownerDocument,r=t&&(t.defaultView||t.parentWindow);if((r=r||goog.global).Element&&r.Location)return r}catch(e){}return null},goog.dom.HtmlElement=function(){},goog.functions={},goog.functions.constant=function(e){return function(){return e}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(e,t){return e},goog.functions.error=function(e){return function(){throw Error(e)}},goog.functions.fail=function(e){return function(){throw e}},goog.functions.lock=function(e,t){return t=t||0,function(){return e.apply(this,Array.prototype.slice.call(arguments,0,t))}},goog.functions.nth=function(e){return function(){return arguments[e]}},goog.functions.partialRight=function(e,t){var r=Array.prototype.slice.call(arguments,1);return function(){var t=this;t===goog.global&&(t=void 0);var n=Array.prototype.slice.call(arguments);return n.push.apply(n,r),e.apply(t,n)}},goog.functions.withReturnValue=function(e,t){return goog.functions.sequence(e,goog.functions.constant(t))},goog.functions.equalTo=function(e,t){return function(r){return t?e==r:e===r}},goog.functions.compose=function(e,t){var r=arguments,n=r.length;return function(){var e;n&&(e=r[n-1].apply(this,arguments));for(var t=n-2;0<=t;t--)e=r[t].call(this,e);return e}},goog.functions.sequence=function(e){var t=arguments,r=t.length;return function(){for(var e,n=0;n<r;n++)e=t[n].apply(this,arguments);return e}},goog.functions.and=function(e){var t=arguments,r=t.length;return function(){for(var e=0;e<r;e++)if(!t[e].apply(this,arguments))return!1;return!0}},goog.functions.or=function(e){var t=arguments,r=t.length;return function(){for(var e=0;e<r;e++)if(t[e].apply(this,arguments))return!0;return!1}},goog.functions.not=function(e){return function(){return!e.apply(this,arguments)}},goog.functions.create=function(e,t){var r=function(){};return r.prototype=e.prototype,r=new r,e.apply(r,Array.prototype.slice.call(arguments,1)),r},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(e){var t,r=!1;return function(){return goog.functions.CACHE_RETURN_VALUE?(r||(t=e(),r=!0),t):e()}},goog.functions.once=function(e){var t=e;return function(){if(t){var e=t;t=null,e()}}},goog.functions.debounce=function(e,t,r){var n=0;return function(o){goog.global.clearTimeout(n);var i=arguments;n=goog.global.setTimeout(function(){e.apply(r,i)},t)}},goog.functions.throttle=function(e,t,r){var n=0,o=!1,i=[],a=function(){n=0,o&&(o=!1,s())},s=function(){n=goog.global.setTimeout(a,t),e.apply(r,i)};return function(e){i=arguments,n?o=!0:s()}},goog.functions.rateLimit=function(e,t,r){var n=0,o=function(){n=0};return function(i){n||(n=goog.global.setTimeout(o,t),e.apply(r,arguments))}},goog.functions.isFunction=function(e){return"function"==typeof e},goog.dom.TagName=function(){},goog.dom.TagName.cast=function(e,t){return e},goog.dom.TagName.prototype.toString=function(){},goog.dom.TagName.A="A",goog.dom.TagName.ABBR="ABBR",goog.dom.TagName.ACRONYM="ACRONYM",goog.dom.TagName.ADDRESS="ADDRESS",goog.dom.TagName.APPLET="APPLET",goog.dom.TagName.AREA="AREA",goog.dom.TagName.ARTICLE="ARTICLE",goog.dom.TagName.ASIDE="ASIDE",goog.dom.TagName.AUDIO="AUDIO",goog.dom.TagName.B="B",goog.dom.TagName.BASE="BASE",goog.dom.TagName.BASEFONT="BASEFONT",goog.dom.TagName.BDI="BDI",goog.dom.TagName.BDO="BDO",goog.dom.TagName.BIG="BIG",goog.dom.TagName.BLOCKQUOTE="BLOCKQUOTE",goog.dom.TagName.BODY="BODY",goog.dom.TagName.BR="BR",goog.dom.TagName.BUTTON="BUTTON",goog.dom.TagName.CANVAS="CANVAS",goog.dom.TagName.CAPTION="CAPTION",goog.dom.TagName.CENTER="CENTER",goog.dom.TagName.CITE="CITE",goog.dom.TagName.CODE="CODE",goog.dom.TagName.COL="COL",goog.dom.TagName.COLGROUP="COLGROUP",goog.dom.TagName.COMMAND="COMMAND",goog.dom.TagName.DATA="DATA",goog.dom.TagName.DATALIST="DATALIST",goog.dom.TagName.DD="DD",goog.dom.TagName.DEL="DEL",goog.dom.TagName.DETAILS="DETAILS",goog.dom.TagName.DFN="DFN",goog.dom.TagName.DIALOG="DIALOG",goog.dom.TagName.DIR="DIR",goog.dom.TagName.DIV="DIV",goog.dom.TagName.DL="DL",goog.dom.TagName.DT="DT",goog.dom.TagName.EM="EM",goog.dom.TagName.EMBED="EMBED",goog.dom.TagName.FIELDSET="FIELDSET",goog.dom.TagName.FIGCAPTION="FIGCAPTION",goog.dom.TagName.FIGURE="FIGURE",goog.dom.TagName.FONT="FONT",goog.dom.TagName.FOOTER="FOOTER",goog.dom.TagName.FORM="FORM",goog.dom.TagName.FRAME="FRAME",goog.dom.TagName.FRAMESET="FRAMESET",goog.dom.TagName.H1="H1",goog.dom.TagName.H2="H2",goog.dom.TagName.H3="H3",goog.dom.TagName.H4="H4",goog.dom.TagName.H5="H5",goog.dom.TagName.H6="H6",goog.dom.TagName.HEAD="HEAD",goog.dom.TagName.HEADER="HEADER",goog.dom.TagName.HGROUP="HGROUP",goog.dom.TagName.HR="HR",goog.dom.TagName.HTML="HTML",goog.dom.TagName.I="I",goog.dom.TagName.IFRAME="I
1FRAME",goog.dom.TagName.IMG="IMG",goog.dom.TagName.INPUT="INPUT",goog.dom.TagName.INS="INS",goog.dom.TagName.ISINDEX="ISINDEX",goog.dom.TagName.KBD="KBD",goog.dom.TagName.KEYGEN="KEYGEN",goog.dom.TagName.LABEL="LABEL",goog.dom.TagName.LEGEND="LEGEND",goog.dom.TagName.LI="LI",goog.dom.TagName.LINK="LINK",goog.dom.TagName.MAIN="MAIN",goog.dom.TagName.MAP="MAP",goog.dom.TagName.MARK="MARK",goog.dom.TagName.MATH="MATH",goog.dom.TagName.MENU="MENU",goog.dom.TagName.MENUITEM="MENUITEM",goog.dom.TagName.META="META",goog.dom.TagName.METER="METER",goog.dom.TagName.NAV="NAV",goog.dom.TagName.NOFRAMES="NOFRAMES",goog.dom.TagName.NOSCRIPT="NOSCRIPT",goog.dom.TagName.OBJECT="OBJECT",goog.dom.TagName.OL="OL",goog.dom.TagName.OPTGROUP="OPTGROUP",goog.dom.TagName.OPTION="OPTION",goog.dom.TagName.OUTPUT="OUTPUT",goog.dom.TagName.P="P",goog.dom.TagName.PARAM="PARAM",goog.dom.TagName.PICTURE="PICTURE",goog.dom.TagName.PRE="PRE",goog.dom.TagName.PROGRESS="PROGRESS",goog.dom.TagName.Q="Q",goog.dom.TagName.RP="RP",goog.dom.TagName.RT="RT",goog.dom.TagName.RTC="RTC",goog.dom.TagName.RUBY="RUBY",goog.dom.TagName.S="S",goog.dom.TagName.SAMP="SAMP",goog.dom.TagName.SCRIPT="SCRIPT",goog.dom.TagName.SECTION="SECTION",goog.dom.TagName.SELECT="SELECT",goog.dom.TagName.SMALL="SMALL",goog.dom.TagName.SOURCE="SOURCE",goog.dom.TagName.SPAN="SPAN",goog.dom.TagName.STRIKE="STRIKE",goog.dom.TagName.STRONG="STRONG",goog.dom.TagName.STYLE="STYLE",goog.dom.TagName.SUB="SUB",goog.dom.TagName.SUMMARY="SUMMARY",goog.dom.TagName.SUP="SUP",goog.dom.TagName.SVG="SVG",goog.dom.TagName.TABLE="TABLE",goog.dom.TagName.TBODY="TBODY",goog.dom.TagName.TD="TD",goog.dom.TagName.TEMPLATE="TEMPLATE",goog.dom.TagName.TEXTAREA="TEXTAREA",goog.dom.TagName.TFOOT="TFOOT",goog.dom.TagName.TH="TH",goog.dom.TagName.THEAD="THEAD",goog.dom.TagName.TIME="TIME",goog.dom.TagName.TITLE="TITLE",goog.dom.TagName.TR="TR",goog.dom.TagName.TRACK="TRACK",goog.dom.TagName.TT="TT",goog.dom.TagName.U="U",goog.dom.TagName.UL="UL",goog.dom.TagName.VAR="VAR",goog.dom.TagName.VIDEO="VIDEO",goog.dom.TagName.WBR="WBR",goog.object={},goog.object.forEach=function(e,t,r){for(var n in e)t.call(r,e[n],n,e)},goog.object.filter=function(e,t,r){var n,o={};for(n in e)t.call(r,e[n],n,e)&&(o[n]=e[n]);return o},goog.object.map=function(e,t,r){var n,o={};for(n in e)o[n]=t.call(r,e[n],n,e);return o},goog.object.some=function(e,t,r){for(var n in e)if(t.call(r,e[n],n,e))return!0;return!1},goog.object.every=function(e,t,r){for(var n in e)if(!t.call(r,e[n],n,e))return!1;return!0},goog.object.getCount=function(e){var t,r=0;for(t in e)r++;return r},goog.object.getAnyKey=function(e){for(var t in e)return t},goog.object.getAnyValue=function(e){for(var t in e)return e[t]},goog.object.contains=function(e,t){return goog.object.containsValue(e,t)},goog.object.getValues=function(e){var t,r=[],n=0;for(t in e)r[n++]=e[t];return r},goog.object.getKeys=function(e){var t,r=[],n=0;for(t in e)r[n++]=t;return r},goog.object.getValueByKeys=function(e,t){var r=goog.isArrayLike(t),n=r?t:arguments;for(r=r?0:1;r<n.length;r++){if(null==e)return;e=e[n[r]]}return e},goog.object.containsKey=function(e,t){return null!==e&&t in e},goog.object.containsValue=function(e,t){for(var r in e)if(e[r]==t)return!0;return!1},goog.object.findKey=function(e,t,r){for(var n in e)if(t.call(r,e[n],n,e))return n},goog.object.findValue=function(e,t,r){return(t=goog.object.findKey(e,t,r))&&e[t]},goog.object.isEmpty=function(e){for(var t in e)return!1;return!0},goog.object.clear=function(e){for(var t in e)delete e[t]},goog.object.remove=function(e,t){var r;return(r=t in e)&&delete e[t],r},goog.object.add=function(e,t,r){if(null!==e&&t in e)throw Error('The object already contains the key "'+t+'"');goog.object.set(e,t,r)},goog.object.get=function(e,t,r){return null!==e&&t in e?e[t]:r},goog.object.set=function(e,t,r){e[t]=r},goog.object.setIfUndefined=function(e,t,r){return t in e?e[t]:e[t]=r},goog.object.setWithReturnValueIfNotSet=function(e,t,r){return t in e?e[t]:(r=r(),e[t]=r)},goog.object.equals=function(e,t){for(var r in e)if(!(r in t)||e[r]!==t[r])return!1;for(var n in t)if(!(n in e))return!1;return!0},goog.object.clone=function(e){var t,r={};for(t in e)r[t]=e[t];return r},goog.object.unsafeClone=function(e){if(!e||"object"!=typeof e)return e;if("function"==typeof e.clone)return e.clone();var t,r=Array.isArray(e)?[]:"function"!=typeof ArrayBuffer||"function"!=typeof ArrayBuffer.isView||!ArrayBuffer.isView(e)||e instanceof DataView?{}:new e.constructor(e.length);for(t in e)r[t]=goog.object.unsafeClone(e[t]);return r},goog.object.transpose=function(e){var t,r={};for(t in e)r[e[t]]=t;return r},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleStr
1ing toString valueOf".split(" "),goog.object.extend=function(e,t){for(var r,n,o=1;o<arguments.length;o++){for(r in n=arguments[o])e[r]=n[r];for(var i=0;i<goog.object.PROTOTYPE_FIELDS_.length;i++)r=goog.object.PROTOTYPE_FIELDS_[i],Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}},goog.object.create=function(e){var t=arguments.length;if(1==t&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(var r={},n=0;n<t;n+=2)r[arguments[n]]=arguments[n+1];return r},goog.object.createSet=function(e){var t=arguments.length;if(1==t&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var r={},n=0;n<t;n++)r[arguments[n]]=!0;return r},goog.object.createImmutableView=function(e){var t=e;return Object.isFrozen&&!Object.isFrozen(e)&&Object.freeze(t=Object.create(e)),t},goog.object.isImmutableView=function(e){return!!Object.isFrozen&&Object.isFrozen(e)},goog.object.getAllPropertyNames=function(e,t,r){if(!e)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(e);for(var n={};e&&(e!==Object.prototype||t)&&(e!==Function.prototype||r);){for(var o=Object.getOwnPropertyNames(e),i=0;i<o.length;i++)n[o[i]]=!0;e=Object.getPrototypeOf(e)}return goog.object.getKeys(n)},goog.object.getSuperClass=function(e){return(e=Object.getPrototypeOf(e.prototype))&&e.constructor},goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(e){return!0===goog.dom.tags.VOID_TAGS_[e]},goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(e,t){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=e===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"}),goog.string.Const.unwrap=function(e){return e instanceof goog.string.Const&&e.constructor===goog.string.Const&&e.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?e.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+e+"'"),"type_error:Const")},goog.string.Const.from=function(e){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,e)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse=function(){return goog.TRUSTED_TYPES_POLICY_NAME?(void 0===goog.html.trustedtypes.cachedPolicy_&&(goog.html.trustedtypes.cachedPolicy_=goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html")),goog.html.trustedtypes.cachedPolicy_):null};var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeScript_SafeScript=function(e,t){this.privateDoNotAccessOrElseSafeScriptWrappedValue_=t===module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE?e:"",this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeScript_SafeScript.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?module$contents$goog$html$SafeScript_SafeScript.EMPTY:module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e)},module$contents$goog$html$SafeScript_SafeScript.fromConstantAndArgs=function(e,t){for(var r=[],n=1;n<arguments.length;n++)r.push(module$contents$goog$html$SafeScript_SafeScript.stringify_(arguments[n]));return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(e)+")("+r.join(", ")+");")},module$contents$goog$html$SafeScript_SafeScript.fromJson=function(e){return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(module$contents$goog$html$SafeScript_SafeScript.stringify_(e))},module$contents$goog$html$SafeScript_SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},module$contents$goog$html$SafeScript_SafeScript.unwrap=function(e){return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(e).toString()},module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript=function(e){return e instanceof module$contents$goog$html$SafeScript_SafeScript&&e.constructor===module$contents$goog$html$SafeScript_SafeScript?e.privateDoNotAccessOrElseSafeScriptWrappedValue_:((0,goog.asserts.fail)("expected object of type SafeScript, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeScript")},module$contents$goog$html$SafeScript_SafeScript.stringify_=function(e){return JSON.stringify(e).replace(/</g,"\\x3c")},module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(e){var t=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return new module$contents$goog$html$SafeScript_SafeScript(e=t?t.createScript(e):e,module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeScript_SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),module$contents$goog$html$SafeScript_SafeScript.EMPTY=function(){return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("")}(),goog.html.SafeScript=module$contents$goog$html$SafeScript_SafeScript,goog.fs={}
1,goog.fs.url={},goog.fs.url.createObjectUrl=function(e){return goog.fs.url.getUrlObject_().createObjectURL(e)},goog.fs.url.revokeObjectUrl=function(e){goog.fs.url.getUrlObject_().revokeObjectURL(e)},goog.fs.url.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(e){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(e){},goog.fs.url.getUrlObject_=function(){var e=goog.fs.url.findUrlObject_();if(null!=e)return e;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return void 0!==goog.global.URL&&void 0!==goog.global.URL.createObjectURL?goog.global.URL:void 0!==goog.global.webkitURL&&void 0!==goog.global.webkitURL.createObjectURL?goog.global.webkitURL:void 0!==goog.global.createObjectURL?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()},goog.fs.blob={},goog.fs.blob.getBlob=function(e){var t=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==t){t=new t;for(var r=0;r<arguments.length;r++)t.append(arguments[r]);return t.getBlob()}return goog.fs.blob.getBlobWithProperties(module$contents$goog$array_toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(e,t,r){var n=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==n){n=new n;for(var o=0;o<e.length;o++)n.append(e[o],r);return n.getBlob(t)}if(void 0!==goog.global.Blob)return n={},t&&(n.type=t),r&&(n.endings=r),new Blob(e,n);throw Error("This browser doesn't seem to support creating Blobs")},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||("ar"==goog.LOCALE.substring(0,2).toLowerCase()||"fa"==goog.LOCALE.substring(0,2).toLowerCase()||"he"==goog.LOCALE.substring(0,2).toLowerCase()||"iw"==goog.LOCALE.substring(0,2).toLowerCase()||"ps"==goog.LOCALE.substring(0,2).toLowerCase()||"sd"==goog.LOCALE.substring(0,2).toLowerCase()||"ug"==goog.LOCALE.substring(0,2).toLowerCase()||"ur"==goog.LOCALE.substring(0,2).toLowerCase()||"yi"==goog.LOCALE.substring(0,2).toLowerCase())&&(2==goog.LOCALE.length||"-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))||3<=goog.LOCALE.length&&"ckb"==goog.LOCALE.substring(0,3).toLowerCase()&&(3==goog.LOCALE.length||"-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))||7<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))&&("adlm"==goog.LOCALE.substring(3,7).toLowerCase()||"arab"==goog.LOCALE.substring(3,7).toLowerCase()||"hebr"==goog.LOCALE.substring(3,7).toLowerCase()||"nkoo"==goog.LOCALE.substring(3,7).toLowerCase()||"rohg"==goog.LOCALE.substring(3,7).toLowerCase()||"thaa"==goog.LOCALE.substring(3,7).toLowerCase())||8<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))&&("adlm"==goog.LOCALE.substring(4,8).toLowerCase()||"arab"==goog.LOCALE.substring(4,8).toLowerCase()||"hebr"==goog.LOCALE.substring(4,8).toLowerCase()||"nkoo"==goog.LOCALE.substring(4,8).toLowerCase()||"rohg"==goog.LOCALE.substring(4,8).toLowerCase()||"thaa"==goog.LOCALE.substring(4,8).toLowerCase()),goog.i18n.bidi.Format={LRE:"‪",RLE:"‫",PDF:"‬",LRM:"‎",RLM:"‏"},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(e,t){return"number"==typeof e?0<e?goog.i18n.bidi.Dir.LTR:0>e?goog.i18n.bidi.Dir.RTL:t?null:goog.i18n.bidi.Dir.NEUTRAL:null==e?null:e?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸ̀-֐ऀ-῿‎Ⰰ-\ud801\ud804-\ud839\ud83c-\udbff豈-﬜︀-﹯﻽-￿",goog.i18n.bidi.rtlChars_="֑-ۯۺ-ࣿ‏\ud802-\ud803\ud83a-\ud83bיִ-﷿ﹰ-ﻼ",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(e,t){return t?e.replace(goog.i18n.bidi.htmlSkipReg_,""):e},goog.i18n.bidi.rtlCharReg_=RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(e,t){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(e,t){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.ltrRe_=RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(e){return goog.i18n.bidi.rtlRe_.test(e)},goog.i18n.bidi.isLtrChar=function(e){return goog.i18n.bidi.ltrRe_.test(e)},goog.i18n.bidi.isNeutralChar=function(e){return!goog.i18n.bidi.isLtrChar(e)&&!goog.i18n.bidi.isRtlChar(e)},goog.i18n.bidi.ltrDirCheckRe_=RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(e,t){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(e,t){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(e,t){return e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t),goog.i18n.bidi.isRequiredLtrRe_.test(e)||!goog.i18n.bidi.hasAnyLtr(e)&&!goog.i18n.bidi.hasAnyRtl(e)},goog.i18n.bidi.ltrExitDirCheckRe_=RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr
1=function(e,t){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(e,t){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(e){return goog.i18n.bidi.rtlLocalesRe_.test(e)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(e,t){return t=(void 0===t?goog.i18n.bidi.hasAnyRtl(e):t)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,e.replace(goog.i18n.bidi.bracketGuardTextRe_,t+"$&"+t)},goog.i18n.bidi.enforceRtlInHtml=function(e){return"<"==e.charAt(0)?e.replace(/<\w+/,"$& dir=rtl"):"\n<span dir=rtl>"+e+"</span>"},goog.i18n.bidi.enforceRtlInText=function(e){return goog.i18n.bidi.Format.RLE+e+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(e){return"<"==e.charAt(0)?e.replace(/<\w+/,"$& dir=ltr"):"\n<span dir=ltr>"+e+"</span>"},goog.i18n.bidi.enforceLtrInText=function(e){return goog.i18n.bidi.Format.LRE+e+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(e){return e.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(e){return e.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1״").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1׳")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(e,t){var r=0,n=0,o=!1;for(e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t).split(goog.i18n.bidi.wordSeparatorRe_),t=0;t<e.length;t++){var i=e[t];goog.i18n.bidi.startsWithRtl(i)?(r++,n++):goog.i18n.bidi.isRequiredLtrRe_.test(i)?o=!0:goog.i18n.bidi.hasAnyLtr(i)?n++:goog.i18n.bidi.hasNumeralsRe_.test(i)&&(o=!0)}return 0==n?o?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:r/n>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(e,t){return goog.i18n.bidi.estimateDirection(e,t)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(e,t){e&&(t=goog.i18n.bidi.toDir(t))&&(e.style.textAlign=t==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,e.dir=t==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(e,t){switch(goog.i18n.bidi.estimateDirection(t)){case goog.i18n.bidi.Dir.LTR:"ltr"!==e.dir&&(e.dir="ltr");break;case goog.i18n.bidi.Dir.RTL:"rtl"!==e.dir&&(e.dir="rtl");break;default:e.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(e,t){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=t===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_?e:""},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(e,t){var r=goog.html.TrustedResourceUrl.unwrap(this),n=(r=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(r))[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(r[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",r[2]||"",e)+goog.html.TrustedResourceUrl.stringifyParams_("#",n,t))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(e){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(e){return e instanceof goog.html.TrustedResourceUrl&&e.constructor===goog.html.TrustedResourceUrl?e.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+e+"' of type "+goog.typeOf(e)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.format=function(e,t){var r=goog.string.Const.unwrap(e);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(r))throw Error("Invalid TrustedResourceUrl format: "+r);return e=r.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(e,n){if(!Object.prototype.hasOwnProperty.call(t,n))throw Error('Found marker, "'+n+'", in format str
1ing, "'+r+'", but no valid label mapping found in args: '+JSON.stringify(t));return(e=t[n])instanceof goog.string.Const?goog.string.Const.unwrap(e):encodeURIComponent(String(e))}),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(e,t,r,n){return goog.html.TrustedResourceUrl.format(e,t).cloneWithParams(r,n)},goog.html.TrustedResourceUrl.fromConstant=function(e){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e))},goog.html.TrustedResourceUrl.fromConstants=function(e){for(var t="",r=0;r<e.length;r++)t+=goog.string.Const.unwrap(e[r]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.TrustedResourceUrl.fromSafeScript=function(e){return e=goog.fs.blob.getBlobWithProperties([module$contents$goog$html$SafeScript_SafeScript.unwrap(e)],"text/javascript"),e=goog.fs.url.createObjectUrl(e),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(e){var t=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return e=t?t.createScriptURL(e):e,new goog.html.TrustedResourceUrl(e,goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.TrustedResourceUrl.stringifyParams_=function(e,t,r){if(null==r)return t;if("string"==typeof r)return r?e+encodeURIComponent(r):"";for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var o=r[n];o=Array.isArray(o)?o:[o];for(var i=0;i<o.length;i++){var a=o[i];null!=a&&(t||(t=e),t+=(t.length>e.length?"&":"")+encodeURIComponent(n)+"="+encodeURIComponent(String(a)))}}return t},goog.string.internal={},goog.string.internal.startsWith=function(e,t){return 0==e.lastIndexOf(t,0)},goog.string.internal.endsWith=function(e,t){var r=e.length-t.length;return 0<=r&&e.indexOf(t,r)==r},goog.string.internal.caseInsensitiveStartsWith=function(e,t){return 0==goog.string.internal.caseInsensitiveCompare(t,e.substr(0,t.length))},goog.string.internal.caseInsensitiveEndsWith=function(e,t){return 0==goog.string.internal.caseInsensitiveCompare(t,e.substr(e.length-t.length,t.length))},goog.string.internal.caseInsensitiveEquals=function(e,t){return e.toLowerCase()==t.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(e){return/^[\s\xa0]*$/.test(e)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},goog.string.internal.caseInsensitiveCompare=function(e,t){return(e=String(e).toLowerCase())<(t=String(t).toLowerCase())?-1:e==t?0:1},goog.string.internal.newLineToBr=function(e,t){return e.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>")},goog.string.internal.htmlEscape=function(e,t){if(t)e=e.replace(goog.string.internal.AMP_RE_,"&amp;").replace(goog.string.internal.LT_RE_,"&lt;").replace(goog.string.internal.GT_RE_,"&gt;").replace(goog.string.internal.QUOT_RE_,"&quot;").replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;").replace(goog.string.internal.NULL_RE_,"&#0;");else{if(!goog.string.internal.ALL_RE_.test(e))return e;-1!=e.indexOf("&")&&(e=e.replace(goog.string.internal.AMP_RE_,"&amp;")),-1!=e.indexOf("<")&&(e=e.replace(goog.string.internal.LT_RE_,"&lt;")),-1!=e.indexOf(">")&&(e=e.replace(goog.string.internal.GT_RE_,"&gt;")),-1!=e.indexOf('"')&&(e=e.replace(goog.string.internal.QUOT_RE_,"&quot;")),-1!=e.indexOf("'")&&(e=e.replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;")),-1!=e.indexOf("\0")&&(e=e.replace(goog.string.internal.NULL_RE_,"&#0;"))}return e},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_
vendor: 5,072 bytes, line 1
1=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(e,t){return goog.string.internal.newLineToBr(e.replace(/  /g," &#160;"),t)},goog.string.internal.contains=function(e,t){return -1!=e.indexOf(t)},goog.string.internal.caseInsensitiveContains=function(e,t){return goog.string.internal.contains(e.toLowerCase(),t.toLowerCase())},goog.string.internal.compareVersions=function(e,t){var r=0;e=goog.string.internal.trim(String(e)).split("."),t=goog.string.internal.trim(String(t)).split(".");for(var n=Math.max(e.length,t.length),o=0;0==r&&o<n;o++){var i=e[o]||"",a=t[o]||"";do{if(i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],a=/(\d*)(\D*)(.*)/.exec(a)||["","","",""],0==i[0].length&&0==a[0].length)break;r=0==i[1].length?0:parseInt(i[1],10);var s=0==a[1].length?0:parseInt(a[1],10);r=goog.string.internal.compareElements_(r,s)||goog.string.internal.compareElements_(0==i[2].length,0==a[2].length)||goog.string.internal.compareElements_(i[2],a[2]),i=i[3],a=a[3]}while(0==r)}return r},goog.string.internal.compareElements_=function(e,t){return e<t?-1:e>t?1:0},goog.html.SafeUrl=function(e,t){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=t===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_?e:""},goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez",goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"}),goog.html.SafeUrl.unwrap=function(e){return e instanceof goog.html.SafeUrl&&e.constructor===goog.html.SafeUrl?e.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(e){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(e){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(e)},goog.html.SafeUrl.fromBlob=function(e){return e=goog.html.SafeUrl.isSafeMimeType(e.type)?goog.fs.url.createObjectUrl(e):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.revokeObjectUrl=function(e){(e=e.getTypedStringValue())!==goog.html.SafeUrl.INNOCUOUS_STRING&&goog.fs.url.revokeObjectUrl(e)},goog.html.SafeUrl.fromMediaSource=function(e){return goog.asserts.assert("MediaSource"in goog.global,"No support for MediaSource"),e=e instanceof MediaSource?goog.fs.url.createObjectUrl(e):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.DATA_URL_PATTERN_=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.tryFromDataUrl=function(e){var t=(e=(e=String(e)).replace(/(%0A|%0D)/g,"")).match(goog.html.DATA_URL_PATTERN_);return t&&goog.html.SafeUrl.isSafeMimeType(t[1])?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e):null},goog.html.SafeUrl.fromDataUrl=function(e){return goog.html.SafeUrl.tryFromDataUrl(e)||goog.html.SafeUrl.INNOCUOUS_URL},goog.html.SafeUrl.fromTelUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"tel:")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(e){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(e))||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"fb-messenger://share")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromWhatsAppUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"whatsapp://send")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromSmsUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(e){var t=e.indexOf("#");if(0<t&&(e=e.substring(0,t)),!(t=e.match(/[?&]body=/gi)))return!0;
1if(1<t.length)return!1;if(!(e=e.match(/[?&]body=([^&]*)/)[1]))return!0;try{decodeURIComponent(e)}catch(e){return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(e)},goog.html.SafeUrl.fromSshUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"ssh://")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(e,t,r){return(e=e.exec(t))?(e=e[1],-1==(r instanceof goog.string.Const?[goog.string.Const.unwrap(r)]:r.map(function(e){return goog.string.Const.unwrap(e)})).indexOf(e)&&(t=goog.html.SafeUrl.INNOCUOUS_STRING)):t=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromTrustedResourceUrl=function(e){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(e))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.trySanitize=function(e){return e instanceof goog.html.SafeUrl?e:(e="object"==typeof e&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),goog.html.SAFE_URL_PATTERN_.test(e)?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e):goog.html.SafeUrl.tryFromDataUrl(e))},goog.html.SafeUrl.sanitize=function(e){return goog.html.SafeUrl.trySanitize(e)||goog.html.SafeUrl.INNOCUOUS_URL},goog.html.SafeUrl.sanitizeAssertUnchanged=function(e,t){return e instanceof goog.html.SafeUrl?e:(e="object"==typeof e&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),t&&/^data:/i.test(e)&&(t=goog.html.SafeUrl.fromDataUrl(e)).getTypedStringValue()==e)?t:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(e),"%s does not match the safe URL pattern",e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e))},goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(e){return new goog.html.SafeUrl(e,goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeUrl.INNOCUOUS_URL=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeStyle=function(e,t){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=t===goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_?e:""},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(e,";"),"Last character of style string is not ';': "+e),goog.asserts.assert(goog.string.internal.contains(e,":"),"Style string must contain at least one ':', to specify a \"name: value\" pair: "+e),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"}),goog.html.SafeStyle.unwrap=function(e){return e instanceof goog.html.SafeStyle&&e.constructor===goog.html.SafeStyle?e.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeStyle")},goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(e){return new goog.html.SafeStyle(e,goog.html.SafeStyle.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(e){var t,r="";for(t in e)if(Object.prototype.hasOwnProperty.call(e,t)){if(!/^[-_a-zA-Z0-9]+$/.test(t))throw Error("Name allows only [-_a-zA-Z0-9], got: "+t);var n=e[t];null!=n&&(r+=t+":"+(n=Array.isArray(n)?module$contents$goog$array_map(n,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(n))+";")}return r?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(r):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(e){if(e instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(e).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(e=e instanceof goog.string.Const?goog.string.Const.unwrap(e):goog.html.SafeStyle.sanitizePropertyValueString_(String(e)),/[{;}]/.test(e))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[e]);return e},goog.html.SafeStyle.sanitizePropertyValueString_=function(e){var t=e.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");return goog.html.SafeStyle.VALUE_RE_.test(t)?goog.html.SafeStyle.COMMENT_RE_.test(e)?(goog.asserts.fail("Str
1ing value disallows comments, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):goog.html.SafeStyle.hasBalancedQuotes_(e)?goog.html.SafeStyle.hasBalancedSquareBrackets_(e)?goog.html.SafeStyle.sanitizeUrl_(e):(goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value requires balanced quotes, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING)},goog.html.SafeStyle.hasBalancedQuotes_=function(e){for(var t=!0,r=!0,n=0;n<e.length;n++){var o=e.charAt(n);"'"==o&&r?t=!t:'"'==o&&t&&(r=!r)}return t&&r},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(e){for(var t=!0,r=/^[-_a-zA-Z0-9]$/,n=0;n<e.length;n++){var o=e.charAt(n);if("]"==o){if(t)return!1;t=!0}else if("["==o){if(!t)return!1;t=!1}else if(!t&&!r.test(o))return!1}return t},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_="[-,.\"'%_!# a-zA-Z0-9\\[\\]]",goog.html.SafeStyle.VALUE_RE_=RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$"),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.ALLOWED_FUNCTIONS_="calc cubic-bezier fit-content hsl hsla linear-gradient matrix minmax repeat rgb rgba (rotate|scale|translate)(X|Y|Z|3d)?".split(" "),goog.html.SafeStyle.FUNCTIONS_RE_=RegExp("\\b("+goog.html.SafeStyle.ALLOWED_FUNCTIONS_.join("|")+")\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(e){return e.replace(goog.html.SafeStyle.URL_RE_,function(e,t,r,n){var o="";return r=r.replace(/^(['"])(.*)\1$/,function(e,t,r){return o=t,r}),e=goog.html.SafeUrl.sanitize(r).getTypedStringValue(),t+o+e+o+n})},goog.html.SafeStyle.concat=function(e){var t="",r=function(e){Array.isArray(e)?module$contents$goog$array_forEach(e,r):t+=goog.html.SafeStyle.unwrap(e)};return module$contents$goog$array_forEach(arguments,r),t?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t):goog.html.SafeStyle.EMPTY};var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet=function(e,t){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=t===module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE?e:"",this.implementsGoogStringTypedString=!0};module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule=function(e,t){if((0,goog.string.internal.contains)(e,"<"))throw Error("Selector does not allow '<', got: "+e);var r=e.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(r))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+e);if(!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(r))throw Error("() and [] in selector must be balanced, got: "+e);return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),e=e+"{"+goog.html.SafeStyle.unwrap(t).replace(/</g,"\\3C ")+"}",module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_=function(e){for(var t={"(":")","[":"]"},r=[],n=0;n<e.length;n++){var o=e[n];if(t[o])r.push(t[o]);else if(goog.object.contains(t,o)&&r.pop()!=o)return!1}return 0==r.length},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat=function(e){var t="",r=function(e){Array.isArray(e)?module$contents$goog$array_forEach(e,r):t+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(e)};return module$contents$goog$array_forEach(arguments,r),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY:((0,goog.asserts.assert)(!(0,goog.string.internal.contains)(e,"<"),"Forbidden '<' character in style sheet string: "+e),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e))},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap=function(e){return e instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet&&e.constructor===module$contents$goog$html$SafeStyleSheet_SafeStyleSheet?e.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:((0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeStyleSheet")},module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(e){return new module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(e,module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE)},goog.DEBUG&&(module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"}),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyleSheet=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet,goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var e=goog.labs.userAgent.util.getNavigator_();return e&&(e=e.userAgent)?e:""},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(e){goog.labs.userAgent.util.userAgent_=e||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(e){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(t,e)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(e){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(t,e)},goog.labs.userAgent.util.extractVersionTuples=function(e){for(var t,r=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,n=[];t=r.exec(e);)n.push([t[1],t[2],t[3]||void 0]);return n},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()}
1,goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")},goog.labs.userAgent.browser.getVersion=function(){function e(e){return r[e=module$contents$goog$array_find(e,n)]||""}var t=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(t);t=goog.labs.userAgent.util.extractVersionTuples(t);var r={};module$contents$goog$array_forEach(t,function(e){r[e[0]]=e[1]});var n=goog.partial(goog.object.containsKey,r);return goog.labs.userAgent.browser.isOpera()?e(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?e(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?e(["Edg"]):goog.labs.userAgent.browser.isChrome()?e(["Chrome","CriOS","HeadlessChrome"]):(t=t[2])&&t[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(e){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),e)},goog.labs.userAgent.browser.getIEVersion_=function(e){var t=/rv: *([\d\.]*)/.exec(e);if(t&&t[1])return t[1];t="";var r=/MSIE +([\d\.]+)/.exec(e);if(r&&r[1]){if(e=/Trident\/(\d.\d)/.exec(e),"7.0"==r[1]){if(e&&e[1])switch(e[1]){case"4.0":t="8.0";break;case"5.0":t="9.0";break;case"6.0":t="10.0";break;case"7.0":t="11.0"}else t="7.0"}else t=r[1]}return t},goog.html.SafeHtml=function(e,t,r){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=r===goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_?e:"",this.dir_=t},goog.html.SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG,goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0,goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(e){return goog.html.SafeHtml.unwrapTrustedHTML(e).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(e){return e instanceof goog.html.SafeHtml&&e.constructor===goog.html.SafeHtml?e.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(e){if(e instanceof goog.html.SafeHtml)return e;var t="object"==typeof e,r=null;return t&&e.implementsGoogI18nBidiDirectionalString&&(r=e.getDirection()),e=t&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(e),r)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(e){return e instanceof goog.html.SafeHtml?e:(e=goog.html.SafeHtml.htmlEscape(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(e)),e.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(e){return e instanceof goog.html.SafeHtml?e:(e=goog.html.SafeHtml.htmlEscape(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(e)),e.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.comment=function(e){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("\x3c!--"+goog.string.internal.htmlEscape(e)+"--\x3e",null)},goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_=goog.object.createSet(goog.dom.TagName.APPLET,goog.dom.TagName.BASE,goog.dom.TagName.EMBED,goog.dom.TagName.IFRAME,goog.dom.TagName.LINK,goog.dom.TagName.MATH,goog.dom.TagName.META,goog.dom.TagName.OBJECT,goog.dom.TagName.SCRIPT,goog.dom.TagName.STYLE,goog.dom.TagName.SVG,goog.dom.TagName.TEMPLATE),goog.html.SafeHtml.create=function(e,t,r){return goog.html.SafeHtml.verifyTagName(String(e)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(e),t,r)},goog.html.SafeHtml.verifyTagName=function(e){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(e))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Invalid tag name <"+e+">.":"");
1if(e.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name <"+e+"> is not allowed for SafeHtml.":"")},goog.html.SafeHtml.createIframe=function(e,t,r,n){e&&goog.html.TrustedResourceUrl.unwrap(e);var o={};return o.src=e||null,o.srcdoc=t&&goog.html.SafeHtml.unwrap(t),e=goog.html.SafeHtml.combineAttributes(o,{sandbox:""},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",e,n)},goog.html.SafeHtml.createSandboxIframe=function(e,t,r,n){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"The browser does not support sandboxed iframes.":"");var o={};return o.src=e?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)):null,o.srcdoc=t||null,o.sandbox="",e=goog.html.SafeHtml.combineAttributes(o,{},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",e,n)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(e,t){return goog.html.TrustedResourceUrl.unwrap(e),e=goog.html.SafeHtml.combineAttributes({src:e},{},t),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",e)},goog.html.SafeHtml.createScript=function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=r.toLowerCase();if("language"==n||"src"==n||"text"==n||"type"==n)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot set "'+n+'" attribute':"")}for(n=0,r="",e=module$contents$goog$array_concat(e);n<e.length;n++)r+=module$contents$goog$html$SafeScript_SafeScript.unwrap(e[n]);return e=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t,e)},goog.html.SafeHtml.createStyle=function(e,t){t=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},t);var r="";e=module$contents$goog$array_concat(e);for(var n=0;n<e.length;n++)r+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(e[n]);return e=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",t,e)},goog.html.SafeHtml.createMetaRefresh=function(e,t){return e=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(t||0)+"; url="+e})},goog.html.SafeHtml.getAttrNameAndValue_=function(e,t,r){if(r instanceof goog.string.Const)r=goog.string.Const.unwrap(r);else if("style"==t.toLowerCase()){if(goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE)r=goog.html.SafeHtml.getStyleValue_(r);else throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "style" not supported.':"")}else{if(/^on/i.test(t))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+t+'" requires goog.string.Const value, "'+r+'" given.':"");if(t.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_){if(r instanceof goog.html.TrustedResourceUrl)r=goog.html.TrustedResourceUrl.unwrap(r);else if(r instanceof goog.html.SafeUrl)r=goog.html.SafeUrl.unwrap(r);else if("string"==typeof r)r=goog.html.SafeUrl.sanitize(r).getTypedStringValue();else throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+t+'" on tag "'+e+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+r+'" given.':"")}}return r.implementsGoogStringTypedString&&(r=r.getTypedStringValue()),goog.asserts.assert("string"==typeof r||"number"==typeof r,"String or number value expected, got "+typeof r+" with value: "+r),t+'="'+goog.string.internal.htmlEscape(String(r))+'"'},goog.html.SafeHtml.getStyleValue_=function(e){if(!goog.isObject(e))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof e+" given: "+e:"");return e instanceof goog.html.SafeStyle||(e=goog.html.SafeStyle.create(e)),goog.html.SafeStyle.unwrap(e)},goog.html.SafeHtml.createWithDir=function(e,t,r,n){return(t=goog.html.SafeHtml.create(t,r,n)).dir_=e,t},goog.html.SafeHtml.join=function(e,t){var r=(e=goog.html.SafeHtml.htmlEscape(e)).getDirection(),n=[],o=function(e){Array.isArray(e)?module$contents$goog$array_forEach(e,o):(e=goog.html.SafeHtml.htmlEscape(e),n.push(goog.html.SafeHtml.unwrap(e)),e=e.getDirection(),r==goog.i18n.bidi.Dir.NEUTRAL?r=e:e!=goog.i18n.bidi.Dir.NEUTRAL&&r!=e&&(r=null))};return module$contents$goog$array_forEach(t,o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n.join(goog.html.SafeHtml.unwrap(e)),r)},goog.html.SafeHtml.concat=function(e){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(e,t){var r=goog.html.SafeHtml.concat(module$contents$goog$array_slice(arguments,1
1));return r.dir_=e,r},goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(e,t){var r=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();return e=r?r.createHTML(e):e,new goog.html.SafeHtml(e,t,goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_)},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(e,t,r){var n=null,o="<"+e+goog.html.SafeHtml.stringifyAttributes(e,t);return null==r?r=[]:Array.isArray(r)||(r=[r]),goog.dom.tags.isVoidTag(e.toLowerCase())?(goog.asserts.assert(!r.length,"Void tag <"+e+"> does not allow content."),o+=">"):(n=goog.html.SafeHtml.concat(r),o+=">"+goog.html.SafeHtml.unwrap(n)+"</"+e+">",n=n.getDirection()),(e=t&&t.dir)&&(n=/^(ltr|rtl|auto)$/i.test(e)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,n)},goog.html.SafeHtml.stringifyAttributes=function(e,t){var r="";if(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(n))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid attribute name "'+n+'".':"");var o=t[n];null!=o&&(r+=" "+goog.html.SafeHtml.getAttrNameAndValue_(e,n,o))}}return r},goog.html.SafeHtml.combineAttributes=function(e,t,r){var n,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(goog.asserts.assert(n.toLowerCase()==n,"Must be lower case"),o[n]=e[n]);for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(goog.asserts.assert(n.toLowerCase()==n,"Must be lower case"),o[n]=t[n]);if(r){for(n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var i=n.toLowerCase();if(i in e)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot override "'+i+'" attribute, got "'+n+'" with value "'+r[n]+'"':"");i in t&&delete o[i],o[n]=r[n]}}return o},goog.html.SafeHtml.DOCTYPE_HTML=function(){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL)}(),goog.html.SafeHtml.EMPTY=new goog.html.SafeHtml(goog.global.trustedTypes&&goog.global.trustedTypes.emptyHTML||"",goog.i18n.bidi.Dir.NEUTRAL,goog.html.SafeHtml.CONSTRUCTOR_TOKEN_PRIVATE_),goog.html.SafeHtml.BR=function(){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL)}(),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(e,t,r){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t,r||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(e,t,r){e.insertAdjacentHTML(t,goog.html.SafeHtml.unwrapTrustedHTML(r))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue(function(){if(goog.DEBUG&&"undefined"==typeof document)return!1;var e=document.createElement("div"),t=document.createElement("div");return t.appendChild(document.createElement("div")),e.appendChild(t),(!goog.DEBUG||!!e.firstChild)&&(t=e.firstChild.firstChild,e.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),!t.parentElement)}),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(e,t){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;e.lastChild;)e.removeChild(e.lastChild);e.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setInnerHtml=function(e,t){if(goog.asserts.ENABLE_ASSERTS&&e.tagName){var r=e.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[r])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+e.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(e,t)},goog.dom.safe.setInnerHtmlFromConstant=function(e,t){goog.dom.safe.setInnerHtml(e,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Constant HTML to be immediatelly used."),goog.string.Const.unwrap(t)))},goog.dom.safe.setOuterHtml=function(e,t){e.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setFormElementAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLFormElement(e).action=goog.html.SafeUrl.unwrap(t)}
vendor: 12,936 bytes, line 1
1,goog.dom.safe.setButtonFormAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLButtonElement(e).formAction=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setInputFormAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLInputElement(e).formAction=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setStyle=function(e,t){e.style.cssText=goog.html.SafeStyle.unwrap(t)},goog.dom.safe.documentWrite=function(e,t){e.write(goog.html.SafeHtml.unwrapTrustedHTML(t))},goog.dom.safe.setAnchorHref=function(e,t){goog.dom.asserts.assertIsHTMLAnchorElement(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.href=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setImageSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLImageElement(e),!(t instanceof goog.html.SafeUrl)){var r=/^data:image\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,r)}e.src=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setAudioSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLAudioElement(e),!(t instanceof goog.html.SafeUrl)){var r=/^data:audio\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,r)}e.src=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setVideoSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLVideoElement(e),!(t instanceof goog.html.SafeUrl)){var r=/^data:video\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,r)}e.src=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setEmbedSrc=function(e,t){goog.dom.asserts.assertIsHTMLEmbedElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setFrameSrc=function(e,t){goog.dom.asserts.assertIsHTMLFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrap(t)},goog.dom.safe.setIframeSrc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrap(t)},goog.dom.safe.setIframeSrcdoc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setLinkHrefAndRel=function(e,t,r){goog.dom.asserts.assertIsHTMLLinkElement(e),e.rel=r,goog.string.internal.caseInsensitiveContains(r,"stylesheet")?(goog.asserts.assert(t instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),e.href=goog.html.TrustedResourceUrl.unwrap(t)):e.href=t instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(t):t instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(t):goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeAssertUnchanged(t))},goog.dom.safe.setObjectData=function(e,t){goog.dom.asserts.assertIsHTMLObjectElement(e),e.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setScriptSrc=function(e,t){goog.dom.asserts.assertIsHTMLScriptElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t),goog.dom.safe.setNonceForScriptElement_(e)},goog.dom.safe.setScriptContent=function(e,t){goog.dom.asserts.assertIsHTMLScriptElement(e),e.textContent=module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(t),goog.dom.safe.setNonceForScriptElement_(e)},goog.dom.safe.setNonceForScriptElement_=function(e){var t=goog.getScriptNonce(e.ownerDocument&&e.ownerDocument.defaultView);t&&e.setAttribute("nonce",t)},goog.dom.safe.setLocationHref=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.href=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.assignLocation=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.assign(goog.html.SafeUrl.unwrap(t))},goog.dom.safe.replaceLocation=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.replace(goog.html.SafeUrl.unwrap(t))},goog.dom.safe.openInWindow=function(e,t,r,n,o){return e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t=t||goog.global,r=r instanceof goog.string.Const?goog.string.Const.unwrap(r):r||"",t.open(goog.html.SafeUrl.unwrap(e),r,n,o)},goog.dom.safe.parseFromStringHtml=function(e,t){return goog.dom.safe.parseFromString(e,t,"text/html")},goog.dom.safe.parseFromString=function(e,t,r){return e.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(t),r)},goog.dom.safe.createImageFromBlob=function(e){if(!/^image\/.*/g.test(e.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var t=goog.global.URL.createObjectURL(e);return(e=new goog.global.Image).onload=function(){goog.global.URL.revokeObjectURL(t)},goog.dom.safe.setImageSrc(e,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),t)),e},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:"\xa0"},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(e,t){for(var r=e.split("%s"),n="",o=Array.prototype.slice.call(arguments,1);o.length&&1<r.length;)n+=r.shift()+o.shift();return n+r.join("%s")},goog.string.collapseWhitespace=function(e){return e.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(e){return 0==e.length},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(e){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(e))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(e){return!/[^\t\n\r ]/.test(e)},goog.string.isAlpha=function(e){return!/[^a-zA-Z]/.test(e)},goog.string.isNumeric=function(e){return!/[^0-9]/.test(e)},goog.string.isAlphaNumeric=function(e){return!/[^a-zA-Z0-9]/.test(e)},goog.string.isSpace=function(e){return" "==e},goog.string.isUnicodeChar=function(e){return 1==e.length&&" "<=e&&"~">=e||"\x80"<=e&&"�">=e},goog.string.stripNewlines=function(e){return e.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(e){return e.replace(/(\r\n|\r|\n)/g,"\n")},goog.string.normalizeWhitespace=function(e){return e.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(e){return e.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(e){return e.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(e){return e.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(e){return e.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(e,t,r){if(e==t)return 0;if(!e)return -1;if(!t)return 1;for(var n=e.toLowerCase().match(r),o=t.toLowerCase().match(r),i=Math.min(n.length,o.length),a=0;a<i;a++){r=n[a];var s=o[a];if(r!=s)return isNaN(e=parseInt(r,10))||isNaN(t=parseInt(s,10))||!(e-t)?r<s?-1:1:e-t}return n.length!=o.length?n.length-o.length:e<t?-1:1},goog.string.intAwareCompare=function(e,t){return goog.string.numberAwareCompare_(e,t,/\d+|\D+/g)},goog.string.floatAwareCompare=function(e,t){return goog.string.numberAwareCompare_(e,t,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(e){return encodeURIComponent(String(e))},goog.string.urlDecode=function(e){return decodeURIComponent(e.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(e,t){return e=goog.string.internal.htmlEscape(e,t),goog.string.DETECT_DOUBLE_ESCAPING&&(e=e.replace(goog.string.E_RE_,"&#101;")),e},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(e){return goog.string.contains(e,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(e):goog.string.unescapePureXmlEntities_(e):e},goog.string.unescapeEntitiesWithDocument=function(e,t){return goog.string.contains(e,"&")?goog.string.unescapeEntitiesUsingDom_(e,t):e},goog.string.unescapeEntitiesUsingDom_=function(e,t){var r={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'},n=t?t.createElement("div"):goog.global.document.createElement("div");return e.replace(goog.string.HTML_ENTITY_PATTERN_,function(e,t){var o=r[e];return o||("#"==t.charAt(0)&&(isNaN(t=Number("0"+t.substr(1)))||(o=String.fromCharCode(t))),o||(goog.dom.safe.setInnerHtml(n,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),e+" ")),o=n.firstChild.nodeValue.slice(0,-1)),r[e]=o)})},goog.string.unescapePureXmlEntities_=function(e){return e.replace(/&([^;]+);/g,function(e,t){switch(t){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return"#"!=t.charAt(0)||isNaN(t=Number("0"+t.substr(1)))?e:String.fromCharCode(t)}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(e,t){return goog.string.newLineToBr(e.replace(/  /g," &#160;"),t)},goog.string.preserveSpaces=function(e){return e.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(e,t){for(var r=t.length,n=0;n<r;n++){var o=1==r?t:t.charAt(n);if(e.charAt(0)==o&&e.charAt(e.length-1)==o)return e.substring(1,e.length-1)}return e},goog.string.truncate=function(e,t,r){return r&&(e=goog.string.unescapeEntities(e)),e.length>t&&(e=e.substring(0,t-3)+"..."),r&&(e=goog.string.htmlEscape(e)),e},goog.string.truncateMiddle=function(e,t,r,n){if(r&&(e=goog.string.unescapeEntities(e)),n&&e.length>t){n>t&&(n=t);var o=e.length-n;e=e.substring(0,t-n)+"..."+e.substring(o)}else e.length>t&&(n=Math.floor(t/2),o=e.length-n,e=e.substring(0,n+t%2)+"..."+e.substring(o));return r&&(e=goog.string.htmlEscape(e)),e},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","	":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(e){e=String(e);for(var t=['"'],r=0;r<e.length;r++){var n=e.charAt(r),o=n.charCodeAt(0);t[r+1]=goog.string.specialEscapeChars_[n]||(31<o&&127>o?n:goog.string.escapeChar(n))}return t.push('"'),t.join("")},goog.string.escapeString=function(e){for(var t=[],r=0;r<e.length;r++)t[r]=goog.string.escapeChar(e.charAt(r));return t.join("")},goog.string.escapeChar=function(e){if(e in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[e];if(e in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[e]=goog.string.specialEscapeChars_[e];var t=e.charCodeAt(0);if(31<t&&127>t)var r=e;else 256>t?(r="\\x",(16>t||256<t)&&(r+="0")):(r="\\u",4096>t&&(r+="0")),r+=t.toString(16).toUpperCase();return goog.string.jsEscapeCache_[e]=r},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(e,t){return e&&t?e.split(t).length-1:0},goog.string.removeAt=function(e,t,r){var n=e;return 0<=t&&t<e.length&&0<r&&(n=e.substr(0,t)+e.substr(t+r,e.length-t-r)),n},goog.string.remove=function(e,t){return e.replace(t,"")},goog.string.removeAll=function(e,t){return t=RegExp(goog.string.regExpEscape(t),"g"),e.replace(t,"")},goog.string.replaceAll=function(e,t,r){return t=RegExp(goog.string.regExpEscape(t),"g"),e.replace(t,r.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(e){return String(e).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(e,t){return e.repeat(t)}:function(e,t){return Array(t+1).join(e)},goog.string.padNumber=function(e,t,r){return -1==(r=(e=void 0!==r?e.toFixed(r):String(e)).indexOf("."))&&(r=e.length),goog.string.repeat("0",Math.max(0,t-r))+e},goog.string.makeSafe=function(e){return null==e?"":String(e)},goog.string.buildString=function(e){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(0x80000000*Math.random()).toString(36)+Math.abs(Math.floor(0x80000000*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(e){for(var t=0,r=0;r<e.length;++r)t=31*t+e.charCodeAt(r)>>>0;return t},goog.string.uniqueStringCounter_=0x80000000*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(e){var t=Number(e);return 0==t&&goog.string.isEmptyOrWhitespace(e)?NaN:t},goog.string.isLowerCamelCase=function(e){return/^[a-z]+([A-Z][a-z]*)*$/.test(e)}
1,goog.string.isUpperCamelCase=function(e){return/^([A-Z][a-z]*)+$/.test(e)},goog.string.toCamelCase=function(e){return String(e).replace(/\-([a-z])/g,function(e,t){return t.toUpperCase()})},goog.string.toSelectorCase=function(e){return String(e).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(e,t){return t="string"==typeof t?goog.string.regExpEscape(t):"\\s",e.replace(RegExp("(^"+(t?"|["+t+"]+":"")+")([a-z])","g"),function(e,t,r){return t+r.toUpperCase()})},goog.string.capitalize=function(e){return String(e.charAt(0)).toUpperCase()+String(e.substr(1)).toLowerCase()},goog.string.parseInt=function(e){return isFinite(e)&&(e=String(e)),"string"==typeof e?/^\s*-?0x/i.test(e)?parseInt(e,16):parseInt(e,10):NaN},goog.string.splitLimit=function(e,t,r){e=e.split(t);for(var n=[];0<r&&e.length;)n.push(e.shift()),r--;return e.length&&n.push(e.join(t)),n},goog.string.lastComponent=function(e,t){if(!t)return e;"string"==typeof t&&(t=[t]);for(var r=-1,n=0;n<t.length;n++)if(""!=t[n]){var o=e.lastIndexOf(t[n]);o>r&&(r=o)}return -1==r?e:e.slice(r+1)},goog.string.editDistance=function(e,t){var r=[],n=[];if(e==t)return 0;if(!e.length||!t.length)return Math.max(e.length,t.length);for(var o=0;o<t.length+1;o++)r[o]=o;for(o=0;o<e.length;o++){n[0]=o+1;for(var i=0;i<t.length;i++)n[i+1]=Math.min(n[i]+1,r[i+1]+1,r[i]+Number(e[o]!=t[i]));for(i=0;i<r.length;i++)r[i]=n[i]}return n[t.length]},goog.proto2={},goog.proto2.Descriptor=function(e,t,r){for(this.messageType_=e,this.name_=t.name||null,this.fullName_=t.fullName||null,this.containingType_=t.containingType,this.fields_={},e=0;e<r.length;e++)t=r[e],this.fields_[t.getTag()]=t},goog.proto2.Descriptor.prototype.getName=function(){return this.name_},goog.proto2.Descriptor.prototype.getFullName=function(){return this.fullName_},goog.proto2.Descriptor.prototype.getContainingType=function(){return this.containingType_?this.containingType_.getDescriptor():null},goog.proto2.Descriptor.prototype.getFields=function(){var e=goog.object.getValues(this.fields_);return module$contents$goog$array_sort(e,function(e,t){return e.getTag()-t.getTag()}),e},goog.proto2.Descriptor.prototype.getFieldsMap=function(){return this.fields_},goog.proto2.Descriptor.prototype.findFieldByName=function(e){return goog.object.findValue(this.fields_,function(t,r,n){return t.getName()==e})||null},goog.proto2.Descriptor.prototype.findFieldByTag=function(e){return goog.asserts.assert(goog.string.isNumeric(e)),this.fields_[parseInt(e,10)]||null},goog.proto2.Descriptor.prototype.createMessageInstance=function(){return new this.messageType_},goog.proto2.FieldDescriptor=function(e,t,r){switch(this.parent_=e,goog.asserts.assert(goog.string.isNumeric(t)),this.tag_=t,this.name_=r.name,this.isPacked_=!!r.packed,this.isRepeated_=!!r.repeated,this.isRequired_=!!r.required,this.fieldType_=r.fieldType,this.nativeType_=r.type,this.deserializationConversionPermitted_=!1,this.fieldType_){case goog.proto2.FieldDescriptor.FieldType.INT64:case goog.proto2.FieldDescriptor.FieldType.UINT64:case goog.proto2.FieldDescriptor.FieldType.FIXED64:case goog.proto2.FieldDescriptor.FieldType.SFIXED64:case goog.proto2.FieldDescriptor.FieldType.SINT64:case goog.proto2.FieldDescriptor.FieldType.FLOAT:case goog.proto2.FieldDescriptor.FieldType.DOUBLE:this.deserializationConversionPermitted_=!0}this.defaultValue_=r.defaultValue},goog.proto2.FieldDescriptor.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18},goog.proto2.FieldDescriptor.prototype.getTag=function(){return this.tag_},goog.proto2.FieldDescriptor.prototype.getContainingType=function(){return this.parent_.prototype.getDescriptor()},goog.proto2.FieldDescriptor.prototype.getName=function(){return this.name_},goog.proto2.FieldDescriptor.prototype.getDefaultValue=function(){if(void 0===this.defaultValue_){var e=this.nativeType_;if(e===Boolean)this.defaultValue_=!1;else if(e===Number)this.defaultValue_=0;else{if(e!==String)return new e;this.defaultValue_=this.deserializationConversionPermitted_?"0":""}}return this.defaultValue_},goog.proto2.FieldDescriptor.prototype.getFieldType=function(){return this.fieldType_},goog.proto2.FieldDescriptor.prototype.getNativeType=function(){return this.nativeType_},goog.proto2.FieldDescriptor.prototype.deserializationConversionPermitted=function(){return this.deserializationConversionPermitted_},goog.proto2.FieldDescriptor.prototype.getFieldMessageType=function(){return this.nativeType_.prototype.getDescriptor()},goog.proto2.FieldDescriptor.prototype.isCompositeType=function(){return this.fieldType_==goog.proto2.FieldDescriptor.FieldType.MESSAGE||this.fieldType_==goog.proto2.FieldDescriptor.FieldType.GROUP},goog.proto2.FieldDescriptor.prototype.isPacked=function(){return this.isPacked_},goog.proto2.FieldDescriptor.prototype.isRepeated=function(){return this.isRepeated_},goog.proto2.FieldDescriptor.prototype.isRequired=function(){return this.isRequired_},goog.proto2.FieldDescriptor.prototype.isOptional=function(){return!this.isRepeated_&&!this.isRequired_},goog.proto2.Message=function(){this.values_={},this.fields_=this.getDescriptor().getFieldsMap(),this.deserializedFields_=this.lazyDeserializer_=null},goog.proto2.Message.FieldType={DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18}
1,goog.proto2.Message.prototype.initializeForLazyDeserializer=function(e,t){this.lazyDeserializer_=e,this.values_=t,this.deserializedFields_={}},goog.proto2.Message.prototype.setUnknown=function(e,t){goog.asserts.assert(!this.fields_[e],"Field is not unknown in this message"),goog.asserts.assert(1<=e,"Tag "+e+' has value "'+t+'" in descriptor '+this.getDescriptor().getName()),goog.asserts.assert(null!==t,"Value cannot be null"),this.values_[e]=t,this.deserializedFields_&&delete this.deserializedFields_[e]},goog.proto2.Message.prototype.forEachUnknown=function(e,t){for(var r in t=t||this,this.values_){var n=Number(r);this.fields_[n]||e.call(t,n,this.values_[r])}},goog.proto2.Message.prototype.getDescriptor=goog.abstractMethod,goog.proto2.Message.prototype.has=function(e){return goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.has$Value(e.getTag())},goog.proto2.Message.prototype.arrayOf=function(e){return goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.array$Values(e.getTag())},goog.proto2.Message.prototype.countOf=function(e){return goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.count$Values(e.getTag())},goog.proto2.Message.prototype.get=function(e,t){return goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.get$Value(e.getTag(),t)},goog.proto2.Message.prototype.getOrDefault=function(e,t){return goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.get$ValueOrDefault(e.getTag(),t)},goog.proto2.Message.prototype.set=function(e,t){goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.set$Value(e.getTag(),t)},goog.proto2.Message.prototype.add=function(e,t){goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.add$Value(e.getTag(),t)},goog.proto2.Message.prototype.clear=function(e){goog.asserts.assert(e.getContainingType()==this.getDescriptor(),"The current message does not contain the given field"),this.clear$Field(e.getTag())},goog.proto2.Message.prototype.equals=function(e){if(!e||this.constructor!=e.constructor)return!1;for(var t=this.getDescriptor().getFields(),r=0;r<t.length;r++){var n=t[r],o=n.getTag();if(this.has$Value(o)!=e.has$Value(o))return!1;if(this.has$Value(o)){var i=n.isCompositeType(),a=this.getValueForTag_(o);if(o=e.getValueForTag_(o),n.isRepeated()){if(a.length!=o.length)return!1;for(n=0;n<a.length;n++){var s=a[n],u=o[n];if(i?!s.equals(u):s!=u)return!1}}else if(i?!a.equals(o):a!=o)return!1}}return!0},goog.proto2.Message.prototype.copyFrom=function(e){goog.asserts.assert(this.constructor==e.constructor,"The source message must have the same type."),this!=e&&(this.values_={},this.deserializedFields_&&(this.deserializedFields_={}),this.mergeFrom(e))},goog.proto2.Message.prototype.mergeFrom=function(e){goog.asserts.assert(this.constructor==e.constructor,"The source message must have the same type.");for(var t=this.getDescriptor().getFields(),r=0;r<t.length;r++){var n=t[r],o=n.getTag();if(e.has$Value(o)){this.deserializedFields_&&delete this.deserializedFields_[n.getTag()];var i=n.isCompositeType();if(n.isRepeated()){n=e.array$Values(o);for(var a=0;a<n.length;a++)this.add$Value(o,i?n[a].clone():n[a])}else n=e.getValueForTag_(o),i?(i=this.getValueForTag_(o))?i.mergeFrom(n):this.set$Value(o,n.clone()):this.set$Value(o,n)}}},goog.proto2.Message.prototype.clone=function(){var e=new this.constructor;return e.copyFrom(this),e},goog.proto2.Message.prototype.initDefaults=function(e){for(var t=this.getDescriptor().getFields(),r=0;r<t.length;r++){var n=t[r],o=n.getTag(),i=n.isCompositeType();if(this.has$Value(o)||n.isRepeated()||(i?this.values_[o]=new(n.getNativeType()):e&&(this.values_[o]=n.getDefaultValue())),i){if(n.isRepeated())for(n=this.array$Values(o),o=0;o<n.length;o++)n[o].initDefaults(e);else this.get$Value(o).initDefaults(e)}}},goog.proto2.Message.prototype.has$Value=function(e){return null!=this.values_[e]},goog.proto2.Message.prototype.getValueForTag_=function(e){var t=this.values_[e];return null==t?null:this.lazyDeserializer_?e in this.deserializedFields_?this.deserializedFields_[e]:(t=this.lazyDeserializer_.deserializeField(this,this.fields_[e],t),this.deserializedFields_[e]=t):t},goog.proto2.Message.prototype.get$Value=function(e,t){var r=this.getValueForTag_(e);return this.fields_[e].isRepeated()?(e=t||0,goog.asserts.assert(0<=e&&e<r.length,"Given index %s 
1is out of bounds.  Repeated field length: %s",e,r.length),r[e]):r},goog.proto2.Message.prototype.get$ValueOrDefault=function(e,t){return this.has$Value(e)?this.get$Value(e,t):this.fields_[e].getDefaultValue()},goog.proto2.Message.prototype.array$Values=function(e){return this.getValueForTag_(e)||[]},goog.proto2.Message.prototype.count$Values=function(e){return this.fields_[e].isRepeated()?this.has$Value(e)?this.values_[e].length:0:this.has$Value(e)?1:0},goog.proto2.Message.prototype.set$Value=function(e,t){goog.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[e],t),this.values_[e]=t,this.deserializedFields_&&(this.deserializedFields_[e]=t)},goog.proto2.Message.prototype.add$Value=function(e,t){goog.asserts.ENABLE_ASSERTS&&this.checkFieldType_(this.fields_[e],t),this.values_[e]||(this.values_[e]=[]),this.values_[e].push(t),this.deserializedFields_&&delete this.deserializedFields_[e]},goog.proto2.Message.prototype.checkFieldType_=function(e,t){e.getFieldType()==goog.proto2.FieldDescriptor.FieldType.ENUM?goog.asserts.assertNumber(t):goog.asserts.assert(Object(t).constructor==e.getNativeType())},goog.proto2.Message.prototype.clear$Field=function(e){delete this.values_[e],this.deserializedFields_&&delete this.deserializedFields_[e]},goog.proto2.Message.createDescriptor=function(e,t){var r,n=[],o=t[0];for(r in t)0!=r&&n.push(new goog.proto2.FieldDescriptor(e,r,t[r]));return new goog.proto2.Descriptor(e,o,n)},goog.proto2.Serializer=function(){},goog.proto2.Serializer.DECODE_SYMBOLIC_ENUMS=!1,goog.proto2.Serializer.prototype.serialize=goog.abstractMethod,goog.proto2.Serializer.prototype.getSerializedValue=function(e,t){return e.isCompositeType()?this.serialize(t):"number"!=typeof t||isFinite(t)?t:t.toString()},goog.proto2.Serializer.prototype.deserialize=function(e,t){return e=e.createMessageInstance(),this.deserializeTo(e,t),goog.asserts.assert(e instanceof goog.proto2.Message),e},goog.proto2.Serializer.prototype.deserializeTo=goog.abstractMethod,goog.proto2.Serializer.prototype.getDeserializedValue=function(e,t){if(e.isCompositeType())return t instanceof goog.proto2.Message?t:this.deserialize(e.getFieldMessageType(),t);if(e.getFieldType()==goog.proto2.FieldDescriptor.FieldType.ENUM)return goog.proto2.Serializer.DECODE_SYMBOLIC_ENUMS&&"string"==typeof t&&(e=e.getNativeType()).hasOwnProperty(t)?e[t]:"string"==typeof t&&goog.proto2.Serializer.INTEGER_REGEX.test(t)&&0<(e=Number(t))?e:t;if(!e.deserializationConversionPermitted())return t;if((e=e.getNativeType())===String){if("number"==typeof t)return String(t)}else if(e===Number&&"string"==typeof t&&("Infinity"===t||"-Infinity"===t||"NaN"===t||goog.proto2.Serializer.INTEGER_REGEX.test(t)))return Number(t);return t},goog.proto2.Serializer.INTEGER_REGEX=/^-?[0-9]+$/,goog.proto2.LazyDeserializer=function(){},goog.inherits(goog.proto2.LazyDeserializer,goog.proto2.Serializer),goog.proto2.LazyDeserializer.prototype.deserialize=function(e,t){return(e=e.createMessageInstance()).initializeForLazyDeserializer(this,t),goog.asserts.assert(e instanceof goog.proto2.Message),e},goog.proto2.LazyDeserializer.prototype.deserializeTo=function(e,t){throw Error("Unimplemented")},goog.proto2.LazyDeserializer.prototype.deserializeField=goog.abstractMethod,goog.proto2.PbLiteSerializer=function(){},goog.inherits(goog.proto2.PbLiteSerializer,goog.proto2.LazyDeserializer),goog.proto2.PbLiteSerializer.prototype.zeroIndexing_=!1,goog.proto2.PbLiteSerializer.prototype.setZeroIndexed=function(e){this.zeroIndexing_=e},goog.proto2.PbLiteSerializer.prototype.serialize=function(e){for(var t=e.getDescriptor().getFields(),r=[],n=this.zeroIndexing_,o=0;o<t.length;o++){var i=t[o];if(e.has(i)){var a=i.getTag();if(a=n?a-1:a,i.isRepeated()){r[a]=[];for(var s=0;s<e.countOf(i);s++)r[a][s]=this.getSerializedValue(i,e.get(i,s))}else r[a]=this.getSerializedValue(i,e.get(i))}}return e.forEachUnknown(function(e,t){r[n?e-1:e]=t}),r},goog.proto2.PbLiteSerializer.prototype.deserializeField=function(e,t,r){if(null==r)return r;if(t.isRepeated()){e=[],goog.asserts.assert(Array.isArray(r),"Value must be array: %s",r);for(var n=0;n<r.length;n++)e[n]=this.getDeserializedValue(t,r[n]);return e}return this.getDeserializedValue(t,r)}
1,goog.proto2.PbLiteSerializer.prototype.getSerializedValue=function(e,t){return e.getFieldType()==goog.proto2.FieldDescriptor.FieldType.BOOL?t?1:0:goog.proto2.Serializer.prototype.getSerializedValue.apply(this,arguments)},goog.proto2.PbLiteSerializer.prototype.getDeserializedValue=function(e,t){return e.getFieldType()==goog.proto2.FieldDescriptor.FieldType.BOOL?(goog.asserts.assert("number"==typeof t||"boolean"==typeof t,"Value is expected to be a number or boolean"),!!t):goog.proto2.Serializer.prototype.getDeserializedValue.apply(this,arguments)},goog.proto2.PbLiteSerializer.prototype.deserialize=function(e,t){var r=t;if(this.zeroIndexing_)for(var n in r=[],t)r[parseInt(n,10)+1]=t[n];return goog.proto2.PbLiteSerializer.superClass_.deserialize.call(this,e,r)},goog.string.StringBuffer=function(e,t){null!=e&&this.append.apply(this,arguments)},goog.string.StringBuffer.prototype.buffer_="",goog.string.StringBuffer.prototype.set=function(e){this.buffer_=""+e},goog.string.StringBuffer.prototype.append=function(e,t,r){if(this.buffer_+=String(e),null!=t)for(var n=1;n<arguments.length;n++)this.buffer_+=arguments[n];return this},goog.string.StringBuffer.prototype.clear=function(){this.buffer_=""},goog.string.StringBuffer.prototype.getLength=function(){return this.buffer_.length},goog.string.StringBuffer.prototype.toString=function(){return this.buffer_};var i18n={phonenumbers:{}};i18n.phonenumbers.NumberFormat=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.NumberFormat,goog.proto2.Message),i18n.phonenumbers.NumberFormat.descriptor_=null,i18n.phonenumbers.NumberFormat.prototype.getPattern=function(){return this.get$Value(1)},i18n.phonenumbers.NumberFormat.prototype.getPatternOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.NumberFormat.prototype.setPattern=function(e){this.set$Value(1,e)},i18n.phonenumbers.NumberFormat.prototype.hasPattern=function(){return this.has$Value(1)},i18n.phonenumbers.NumberFormat.prototype.patternCount=function(){return this.count$Values(1)},i18n.phonenumbers.NumberFormat.prototype.clearPattern=function(){this.clear$Field(1)},i18n.phonenumbers.NumberFormat.prototype.getFormat=function(){return this.get$Value(2)},i18n.phonenumbers.NumberFormat.prototype.getFormatOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.NumberFormat.prototype.setFormat=function(e){this.set$Value(2,e)},i18n.phonenumbers.NumberFormat.prototype.hasFormat=function(){return this.has$Value(2)},i18n.phonenumbers.NumberFormat.prototype.formatCount=function(){return this.count$Values(2)},i18n.phonenumbers.NumberFormat.prototype.clearFormat=function(){this.clear$Field(2)},i18n.phonenumbers.NumberFormat.prototype.getLeadingDigitsPattern=function(e){return this.get$Value(3,e)},i18n.phonenumbers.NumberFormat.prototype.getLeadingDigitsPatternOrDefault=function(e){return this.get$ValueOrDefault(3,e)},i18n.phonenumbers.NumberFormat.prototype.addLeadingDigitsPattern=function(e){this.add$Value(3,e)},i18n.phonenumbers.NumberFormat.prototype.leadingDigitsPatternArray=function(){return this.array$Values(3)},i18n.phonenumbers.NumberFormat.prototype.hasLeadingDigitsPattern=function(){return this.has$Value(3)},i18n.phonenumbers.NumberFormat.prototype.leadingDigitsPatternCount=function(){return this.count$Values(3)},i18n.phonenumbers.NumberFormat.prototype.clearLeadingDigitsPattern=function(){this.clear$Field(3)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRule=function(){return this.get$Value(4)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.NumberFormat.prototype.setNationalPrefixFormattingRule=function(e){this.set$Value(4,e)},i18n.phonenumbers.NumberFormat.prototype.hasNationalPrefixFormattingRule=function(){return this.has$Value(4)},i18n.phonenumbers.NumberFormat.prototype.nationalPrefixFormattingRuleCount=function(){return this.count$Values(4)},i18n.phonenumbers.NumberFormat.prototype.clearNationalPrefixFormattingRule=function(){this.clear$Field(4)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormatting=function(){return this.get$Value(6)},i18n.phonenumbers.NumberFormat.prototype.getNationalPrefixOptionalWhenFormattingOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.NumberFormat.prototype.setNationalPrefixOptionalWhenFormatting=function(e){this.set$Value(6,e)},i18n.phonenumbers.NumberFormat.prototype.hasNationalPrefixOptionalWhenFormatting=function(){return this.has$Value(6)},i18n.phonenumbers.NumberFormat.prototype.nationalPrefixOptionalWhenFormattingCount=function(){return this.count$Values(6)},i18n.phonenumbers.NumberFormat.prototype.clearNationalPrefixOptionalWhenFormatting=function(){this.clear$Field(6)},i18n.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRule=function(){return this.get$Value(5)},i18n.phonenumbers.NumberFormat.prototype.getDomesticCarrierCodeFormattingRuleOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.NumberFormat.prototype.setDomesticCarrierCodeFormattingRule=function(e){this.set$Value(5,e)},i18n.phonenumbers.NumberFormat.prototype.hasDomesticCarrierCodeFormattingRule=function(){return this.has$Value(5)},i18n.phonenumbers.NumberFormat.prototype.domesticCarrierCodeFormattingRuleCount=function(){return this.count$Values(5)},i18n.phonenumbers.NumberFormat.prototype.clearDomesticCarrierCodeFormattingRule=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneNumberDesc=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneNumberDesc,goog.proto2.Message),i18n.phonenumbers.PhoneNumberDesc.descriptor_=null,i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPattern=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberPatternOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.setNationalNumberPattern=function(e){this.set$Value(2,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasNationalNumberPattern=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.nationalNumberPatternCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearNationalNumberPattern=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLength=function(e){return this.get$Value(9,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthOrDefault=function(e){return this.get$ValueOrDefault(9,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.addPossibleLength=function(e){this.add$Value(9,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthArray=function(){return this.array$Values(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleLength=function(){return this.has$Value(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthCount=function(){return this.count$Values(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleLength=function(){this.clear$Field(9)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthLocalOnly=function(e){return this.get$Value(10,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLengthLocalOnlyOrDefault=function(e){return this.get$ValueOrDefault(10,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.addPossibleLengthLocalOnly=function(e){this.add$Value(10,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthLocalOnlyArray=function(){return this.array$Values(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleLengthLocalOnly=function(){return this.has$Value(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.possibleLengthLocalOnlyCount=function(){return this.count$Values(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleLengthLocalOnly=function(){this.clear$Field(10)},i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumber=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumberOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.setExampleNumber=function(e){this.set$Value(6,e)},i18n.phonenumbers.PhoneNumberDesc.prototype.hasExampleNumber=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.exampleNumberCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneNumberDesc.prototype.clearExampleNumber=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneMetadata=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneMetadata,goog.proto2.Message),i18n.phonenumbers.PhoneMetadata.descriptor_=null,i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDesc=function(){return this.get$Value(1)},i18n.phonenumbers.PhoneMetadata.prototype.getGeneralDescOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.PhoneMetadata.prototype.setGeneralDesc=function(e){this.set$Value(1,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasGeneralDesc=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneMetadata.prototype.generalDescCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneMetadata.prototype.clearGeneralDesc=function(){this.clear$Field(1)},i18n.phonenumbers.PhoneMetadata.prototype.getFixedLine=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneMetadata.prototype.getFixedLineOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneMetadata.prototype.setFixedLine=function(e){this.set$Value(2,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasFixedLine=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneMetadata.prototype.fixedLineCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneMetadata.prototype.clearFixedLine=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneMetadata.prototype.getMobile=function(){return this.get$Value(3)},i18n.phonenumbers.PhoneMetadata.prototype.getMobileOrDefault=function(){return this.get$ValueOrDefault(3)},i18n.phonenumbers.PhoneMetadata.prototype.setMobile=function(e){this.set$Value(3,e)}
1,i18n.phonenumbers.PhoneMetadata.prototype.hasMobile=function(){return this.has$Value(3)},i18n.phonenumbers.PhoneMetadata.prototype.mobileCount=function(){return this.count$Values(3)},i18n.phonenumbers.PhoneMetadata.prototype.clearMobile=function(){this.clear$Field(3)},i18n.phonenumbers.PhoneMetadata.prototype.getTollFree=function(){return this.get$Value(4)},i18n.phonenumbers.PhoneMetadata.prototype.getTollFreeOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.PhoneMetadata.prototype.setTollFree=function(e){this.set$Value(4,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasTollFree=function(){return this.has$Value(4)},i18n.phonenumbers.PhoneMetadata.prototype.tollFreeCount=function(){return this.count$Values(4)},i18n.phonenumbers.PhoneMetadata.prototype.clearTollFree=function(){this.clear$Field(4)},i18n.phonenumbers.PhoneMetadata.prototype.getPremiumRate=function(){return this.get$Value(5)},i18n.phonenumbers.PhoneMetadata.prototype.getPremiumRateOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.PhoneMetadata.prototype.setPremiumRate=function(e){this.set$Value(5,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasPremiumRate=function(){return this.has$Value(5)},i18n.phonenumbers.PhoneMetadata.prototype.premiumRateCount=function(){return this.count$Values(5)},i18n.phonenumbers.PhoneMetadata.prototype.clearPremiumRate=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneMetadata.prototype.getSharedCost=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneMetadata.prototype.getSharedCostOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneMetadata.prototype.setSharedCost=function(e){this.set$Value(6,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasSharedCost=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneMetadata.prototype.sharedCostCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneMetadata.prototype.clearSharedCost=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneMetadata.prototype.getPersonalNumber=function(){return this.get$Value(7)},i18n.phonenumbers.PhoneMetadata.prototype.getPersonalNumberOrDefault=function(){return this.get$ValueOrDefault(7)},i18n.phonenumbers.PhoneMetadata.prototype.setPersonalNumber=function(e){this.set$Value(7,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasPersonalNumber=function(){return this.has$Value(7)},i18n.phonenumbers.PhoneMetadata.prototype.personalNumberCount=function(){return this.count$Values(7)},i18n.phonenumbers.PhoneMetadata.prototype.clearPersonalNumber=function(){this.clear$Field(7)},i18n.phonenumbers.PhoneMetadata.prototype.getVoip=function(){return this.get$Value(8)},i18n.phonenumbers.PhoneMetadata.prototype.getVoipOrDefault=function(){return this.get$ValueOrDefault(8)},i18n.phonenumbers.PhoneMetadata.prototype.setVoip=function(e){this.set$Value(8,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasVoip=function(){return this.has$Value(8)},i18n.phonenumbers.PhoneMetadata.prototype.voipCount=function(){return this.count$Values(8)},i18n.phonenumbers.PhoneMetadata.prototype.clearVoip=function(){this.clear$Field(8)},i18n.phonenumbers.PhoneMetadata.prototype.getPager=function(){return this.get$Value(21)},i18n.phonenumbers.PhoneMetadata.prototype.getPagerOrDefault=function(){return this.get$ValueOrDefault(21)},i18n.phonenumbers.PhoneMetadata.prototype.setPager=function(e){this.set$Value(21,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasPager=function(){return this.has$Value(21)},i18n.phonenumbers.PhoneMetadata.prototype.pagerCount=function(){return this.count$Values(21)},i18n.phonenumbers.PhoneMetadata.prototype.clearPager=function(){this.clear$Field(21)},i18n.phonenumbers.PhoneMetadata.prototype.getUan=function(){return this.get$Value(25)},i18n.phonenumbers.PhoneMetadata.prototype.getUanOrDefault=function(){return this.get$ValueOrDefault(25)},i18n.phonenumbers.PhoneMetadata.prototype.setUan=function(e){this.set$Value(25,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasUan=function(){return this.has$Value(25)},i18n.phonenumbers.PhoneMetadata.prototype.uanCount=function(){return this.count$Values(25)},i18n.phonenumbers.PhoneMetadata.prototype.clearUan=function(){this.clear$Field(25)},i18n.phonenumbers.PhoneMetadata.prototype.getEmergency=function(){return this.get$Value(27)},i18n.phonenumbers.PhoneMetadata.prototype.getEmergencyOrDefault=function(){return this.get$ValueOrDefault(27)},i18n.phonenumbers.PhoneMetadata.prototype.setEmergency=function(e){this.set$Value(27,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasEmergency=function(){return this.has$Value(27)},i18n.phonenumbers.PhoneMetadata.prototype.emergencyCount=function(){return this.count$Values(27)},i18n.phonenumbers.PhoneMetadata.prototype.clearEmergency=function(){this.clear$Field(27)},i18n.phonenumbers.PhoneMetadata.prototype.getVoicemail=function(){return this.get$Value(28)},i18n.phonenumbers.PhoneMetadata.prototype.getVoicemailOrDefault=function(){return this.get$ValueOrDefault(28)},i18n.phonenumbers.PhoneMetadata.prototype.setVoicemail=function(e){this.set$Value(28,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasVoicemail=function(){return this.has$Value(28)},i18n.phonenumbers.PhoneMetadata.prototype.voicemailCount=function(){return this.count$Values(28)},i18n.phonenumbers.PhoneMetadata.prototype.clearVoicemail=function(){this.clear$Field(28)},i18n.phonenumbers.PhoneMetadata.prototype.getShortCode=function(){return this.get$Value(29)},i18n.phonenumbers.PhoneMetadata.prototype.getShortCodeOrDefault=function(){return this.get$ValueOrDefault(29)},i18n.phonenumbers.PhoneMetadata.prototype.setShortCode=function(e){this.set$Value(29,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasShortCode=function(){return this.has$Value(29)},i18n.phonenumbers.PhoneMetadata.prototype.shortCodeCount=function(){return this.count$Values(29)},i18n.phonenumbers.PhoneMetadata.prototype.clearShortCode=function(){this.clear$Field(29)},i18n.phonenumbers.PhoneMetadata.prototype.getStandardRate=function(){return this.get$Value(30)},i18n.phonenumbers.PhoneMetadata.prototype.getStandardRateOrDefault=function(){return this.get$ValueOrDefault(30)},i18n.phonenumbers.PhoneMetadata.prototype.setStandardRate=function(e){this.set$Value(30,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasStandardRate=function(){return this.has$Value(30)},i18n.phonenumbers.PhoneMetadata.prototype.standardRateCount=function(){return this.count$Values(30)},i18n.phonenumbers.PhoneMetadata.prototype.clearStandardRate=function(){this.clear$Field(30)},i18n.phonenumbers.PhoneMetadata.prototype.getCarrierSpecific=function(){return this.get$Value(31)},i18n.phonenumbers.PhoneMetadata.prototype.getCarrierSpecificOrDefault=function(){return this.get$ValueOrDefault(31)},i18n.phonenumbers.PhoneMetadata.prototype.setCarrierSpecific=function(e){this.set$Value(31,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasCarrierSpecific=function(){return this.has$Value(31)},i18n.phonenumbers.PhoneMetadata.prototype.carrierSpecificCount=function(){return this.count$Values(31)},i18n.phonenumbers.PhoneMetadata.prototype.clearCarrierSpecific=function(){this.clear$Field(31)},i18n.phonenumbers.PhoneMetadata.prototype.getSmsServices=function(){return this.get$Value(33)},i18n.phonenumbers.PhoneMetadata.prototype.getSmsServicesOrDefault=function(){return this.get$ValueOrDefault(33)},i18n.phonenumbers.PhoneMetadata.prototype.setSmsServices=function(e){this.set$Value(33,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasSmsServices=function(){return this.has$Value(33)},i18n.phonenumbers.PhoneMetadata.prototype.smsServicesCount=function(){return this.count$Values(33)},i18n.phonenumbers.PhoneMetadata.prototype.clearSmsServices=function(){this.clear$Field(33)},i18n.phonenumbers.PhoneMetadata.prototype.getNoInternationalDialling=function(){return this.get$Value(24)},i18n.phonenumbers.PhoneMetadata.prototype.getNoInternationalDiallingOrDefault=function(){return this.get$ValueOrDefault(24)}
1,i18n.phonenumbers.PhoneMetadata.prototype.setNoInternationalDialling=function(e){this.set$Value(24,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasNoInternationalDialling=function(){return this.has$Value(24)},i18n.phonenumbers.PhoneMetadata.prototype.noInternationalDiallingCount=function(){return this.count$Values(24)},i18n.phonenumbers.PhoneMetadata.prototype.clearNoInternationalDialling=function(){this.clear$Field(24)},i18n.phonenumbers.PhoneMetadata.prototype.getId=function(){return this.get$Value(9)},i18n.phonenumbers.PhoneMetadata.prototype.getIdOrDefault=function(){return this.get$ValueOrDefault(9)},i18n.phonenumbers.PhoneMetadata.prototype.setId=function(e){this.set$Value(9,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasId=function(){return this.has$Value(9)},i18n.phonenumbers.PhoneMetadata.prototype.idCount=function(){return this.count$Values(9)},i18n.phonenumbers.PhoneMetadata.prototype.clearId=function(){this.clear$Field(9)},i18n.phonenumbers.PhoneMetadata.prototype.getCountryCode=function(){return this.get$Value(10)},i18n.phonenumbers.PhoneMetadata.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(10)},i18n.phonenumbers.PhoneMetadata.prototype.setCountryCode=function(e){this.set$Value(10,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasCountryCode=function(){return this.has$Value(10)},i18n.phonenumbers.PhoneMetadata.prototype.countryCodeCount=function(){return this.count$Values(10)},i18n.phonenumbers.PhoneMetadata.prototype.clearCountryCode=function(){this.clear$Field(10)},i18n.phonenumbers.PhoneMetadata.prototype.getInternationalPrefix=function(){return this.get$Value(11)},i18n.phonenumbers.PhoneMetadata.prototype.getInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(11)},i18n.phonenumbers.PhoneMetadata.prototype.setInternationalPrefix=function(e){this.set$Value(11,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasInternationalPrefix=function(){return this.has$Value(11)},i18n.phonenumbers.PhoneMetadata.prototype.internationalPrefixCount=function(){return this.count$Values(11)},i18n.phonenumbers.PhoneMetadata.prototype.clearInternationalPrefix=function(){this.clear$Field(11)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefix=function(){return this.get$Value(17)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredInternationalPrefixOrDefault=function(){return this.get$ValueOrDefault(17)},i18n.phonenumbers.PhoneMetadata.prototype.setPreferredInternationalPrefix=function(e){this.set$Value(17,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasPreferredInternationalPrefix=function(){return this.has$Value(17)},i18n.phonenumbers.PhoneMetadata.prototype.preferredInternationalPrefixCount=function(){return this.count$Values(17)},i18n.phonenumbers.PhoneMetadata.prototype.clearPreferredInternationalPrefix=function(){this.clear$Field(17)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefix=function(){return this.get$Value(12)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixOrDefault=function(){return this.get$ValueOrDefault(12)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefix=function(e){this.set$Value(12,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefix=function(){return this.has$Value(12)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixCount=function(){return this.count$Values(12)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefix=function(){this.clear$Field(12)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefix=function(){return this.get$Value(13)},i18n.phonenumbers.PhoneMetadata.prototype.getPreferredExtnPrefixOrDefault=function(){return this.get$ValueOrDefault(13)},i18n.phonenumbers.PhoneMetadata.prototype.setPreferredExtnPrefix=function(e){this.set$Value(13,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasPreferredExtnPrefix=function(){return this.has$Value(13)},i18n.phonenumbers.PhoneMetadata.prototype.preferredExtnPrefixCount=function(){return this.count$Values(13)},i18n.phonenumbers.PhoneMetadata.prototype.clearPreferredExtnPrefix=function(){this.clear$Field(13)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsing=function(){return this.get$Value(15)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixForParsingOrDefault=function(){return this.get$ValueOrDefault(15)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefixForParsing=function(e){this.set$Value(15,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixForParsing=function(){return this.has$Value(15)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixForParsingCount=function(){return this.count$Values(15)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixForParsing=function(){this.clear$Field(15)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRule=function(){return this.get$Value(16)},i18n.phonenumbers.PhoneMetadata.prototype.getNationalPrefixTransformRuleOrDefault=function(){return this.get$ValueOrDefault(16)},i18n.phonenumbers.PhoneMetadata.prototype.setNationalPrefixTransformRule=function(e){this.set$Value(16,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefixTransformRule=function(){return this.has$Value(16)},i18n.phonenumbers.PhoneMetadata.prototype.nationalPrefixTransformRuleCount=function(){return this.count$Values(16)},i18n.phonenumbers.PhoneMetadata.prototype.clearNationalPrefixTransformRule=function(){this.clear$Field(16)},i18n.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePattern=function(){return this.get$Value(18)},i18n.phonenumbers.PhoneMetadata.prototype.getSameMobileAndFixedLinePatternOrDefault=function(){return this.get$ValueOrDefault(18)},i18n.phonenumbers.PhoneMetadata.prototype.setSameMobileAndFixedLinePattern=function(e){this.set$Value(18,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasSameMobileAndFixedLinePattern=function(){return this.has$Value(18)},i18n.phonenumbers.PhoneMetadata.prototype.sameMobileAndFixedLinePatternCount=function(){return this.count$Values(18)},i18n.phonenumbers.PhoneMetadata.prototype.clearSameMobileAndFixedLinePattern=function(){this.clear$Field(18)},i18n.phonenumbers.PhoneMetadata.prototype.getNumberFormat=function(e){return this.get$Value(19,e)},i18n.phonenumbers.PhoneMetadata.prototype.getNumberFormatOrDefault=function(e){return this.get$ValueOrDefault(19,e)},i18n.phonenumbers.PhoneMetadata.prototype.addNumberFormat=function(e){this.add$Value(19,e)},i18n.phonenumbers.PhoneMetadata.prototype.numberFormatArray=function(){return this.array$Values(19)},i18n.phonenumbers.PhoneMetadata.prototype.hasNumberFormat=function(){return this.has$Value(19)},i18n.phonenumbers.PhoneMetadata.prototype.numberFormatCount=function(){return this.count$Values(19)},i18n.phonenumbers.PhoneMetadata.prototype.clearNumberFormat=function(){this.clear$Field(19)},i18n.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormat=function(e){return this.get$Value(20,e)},i18n.phonenumbers.PhoneMetadata.prototype.getIntlNumberFormatOrDefault=function(e){return this.get$ValueOrDefault(20,e)},i18n.phonenumbers.PhoneMetadata.prototype.addIntlNumberFormat=function(e){this.add$Value(20,e)},i18n.phonenumbers.PhoneMetadata.prototype.intlNumberFormatArray=function(){return this.array$Values(20)},i18n.phonenumbers.PhoneMetadata.prototype.hasIntlNumberFormat=function(){return this.has$Value(20)},i18n.phonenumbers.PhoneMetadata.prototype.intlNumberFormatCount=function(){return this.count$Values(20)},i18n.phonenumbers.PhoneMetadata.prototype.clearIntlNumberFormat=function(){this.clear$Field(20)},i18n.phonenumbers.PhoneMetadata.prototype.getMainCountryForCode=function(){return this.get$Value(22)},i18n.phonenumbers.PhoneMetadata.prototype.getMainCountryForCodeOrDefault=function(){return this.get$ValueOrDefault(22)},i18n.phonenumbers.PhoneMetadata.prototype.setMainCountryForCode=function(e){this.set$Value(22,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasMainCountryForCode=function(){return this.has$Value(22)},i18n.phonenumbers.PhoneMetadata.prototype.mainCountryForCodeCount=function(){return this.count$Values(22)},i18n.phonenumbers.PhoneMetadata.prototype.clearMainCountryForCode=function(){this.clear$Field(22)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingDigits=function(){return this.get$Value(23)},i18n.phonenumbers.PhoneMetadata.prototype.getLeadingDigitsOrDefault=function(){return this.get$ValueOrDefault(23)},i18n.phonenumbers.PhoneMetadata.prototype.setLeadingDigits=function(e){this.set$Value(23,e)},i18n.phonenumbers.PhoneMetadata.prototype.hasLeadingDigits=function(){return this.has$Value(23)},i18n.phonenumbers.PhoneMetadata.prototype.leadingDigitsCount=function(){return this.count$Values(23)},i18n.phonenumbers.PhoneMetadata.prototype.clearLeadingDigits=function(){this.clear$Field(23)},i18n.phonenumbers.PhoneMetadataCollection=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneMetadataCollection,goog.proto2.Message),i18n.phonenumbers.PhoneMetadataCollection.descriptor_=null,i18n.phonenumbers.PhoneMetadataCollection.prototype.getMetadata=function(e){return this.get$Value(1,e)},i18n.phonenumbers.PhoneMetadataCollection.prototype.getMetadataOrDefault=function(e){return this.get$ValueOrDefault(1,e)},i18n.phonenumbers.PhoneMetadataCollection.prototype.addMetadata=function(e){this.add$Value(1,e)},i18n.phonenumbers.PhoneMetadataCollection.prototype.metadataArray=function(){return this.array$Values(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.hasMetadata=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.metadataCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneMetadataCollection.prototype.clearMetadata=function(){this.clear$Field(1)},i18n.phonenumbers.NumberFormat.prototype.getDescriptor=function(){var e=i18n.phonenumbers.NumberFormat.descriptor_;return e||(i18n.phonenumbers.NumberFormat.descriptor_=e=goog.proto2.Message.createDescriptor(i18n.phonenumbers.NumberFormat,{0:{name:"NumberFormat",fullName:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},2:{name:"format",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},3:{name:"leading_digits_pattern",repeated:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},4:{name:"national_prefix_formatting_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String},6:{name:"national_prefix_optional_when_formatting",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),e},i18n.phonenumbers.NumberFormat.getDescriptor=i18n.phonenumbers.NumberFormat.prototype.getDescriptor,i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor=function(){var e=i18n.phonenumbers.PhoneNumberDesc.descriptor_;return e||(i18n.phonenumbers.PhoneNumberDesc.descriptor_=e=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneNumberDesc,{0:{name:"PhoneNumberDesc",fullName:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",fieldType:goog.proto2.Message.FieldType.STRING,type:String},9:{name:"possible_length",repeated:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},10:{name:"possible_length_local_only",repeated:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},6:{name:"example_number",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),e},i18n.phonenumbers.PhoneNumberDesc.getDescriptor=i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor,i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor=function(){var e=i18n.phonenumbers.PhoneMetadata.descriptor_;return e||(i18n.phonenumbers.PhoneMetadata.descriptor_=e=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneMetadata,{0:{name:"PhoneMetadata",fullName:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},2:{name:"fixed_line",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},3:{name:"mobile",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},4:{name:"toll_free",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},5:{name:"premium_rate",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},6:{name:"shared_cost",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},7:{name:"personal_number",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},8:{name:"voip",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},21:{name:"pager",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},25:{name:"uan",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},27:{name:"emergency",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},28:{name:"voicemail",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},29:{name:"short_code",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},30:{name:"standard_rate",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},31:{name:"carrier_specific",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},33:{name:"sms_services",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},24:{name:"no_international_dialling",fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneNumberDesc},9:{name:"id",required:!0,fieldType:goog.proto2.Message.FieldType.STRING,type:String},10:{name:"country_code",fieldType:goog.proto2.Message.FieldType.INT32,type:Number},11:{name:"international_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String}
1,17:{name:"preferred_international_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},12:{name:"national_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},13:{name:"preferred_extn_prefix",fieldType:goog.proto2.Message.FieldType.STRING,type:String},15:{name:"national_prefix_for_parsing",fieldType:goog.proto2.Message.FieldType.STRING,type:String},16:{name:"national_prefix_transform_rule",fieldType:goog.proto2.Message.FieldType.STRING,type:String},18:{name:"same_mobile_and_fixed_line_pattern",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},19:{name:"number_format",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.NumberFormat},20:{name:"intl_number_format",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.NumberFormat},22:{name:"main_country_for_code",fieldType:goog.proto2.Message.FieldType.BOOL,defaultValue:!1,type:Boolean},23:{name:"leading_digits",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),e},i18n.phonenumbers.PhoneMetadata.getDescriptor=i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor,i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor=function(){var e=i18n.phonenumbers.PhoneMetadataCollection.descriptor_;return e||(i18n.phonenumbers.PhoneMetadataCollection.descriptor_=e=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneMetadataCollection,{0:{name:"PhoneMetadataCollection",fullName:"i18n.phonenumbers.PhoneMetadataCollection"},1:{name:"metadata",repeated:!0,fieldType:goog.proto2.Message.FieldType.MESSAGE,type:i18n.phonenumbers.PhoneMetadata}})),e},i18n.phonenumbers.PhoneMetadataCollection.getDescriptor=i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor,i18n.phonenumbers.PhoneNumber=function(){goog.proto2.Message.call(this)},goog.inherits(i18n.phonenumbers.PhoneNumber,goog.proto2.Message),i18n.phonenumbers.PhoneNumber.descriptor_=null,i18n.phonenumbers.PhoneNumber.prototype.getCountryCode=function(){return this.get$Value(1)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeOrDefault=function(){return this.get$ValueOrDefault(1)},i18n.phonenumbers.PhoneNumber.prototype.setCountryCode=function(e){this.set$Value(1,e)},i18n.phonenumbers.PhoneNumber.prototype.hasCountryCode=function(){return this.has$Value(1)},i18n.phonenumbers.PhoneNumber.prototype.countryCodeCount=function(){return this.count$Values(1)},i18n.phonenumbers.PhoneNumber.prototype.clearCountryCode=function(){this.clear$Field(1)},i18n.phonenumbers.PhoneNumber.prototype.getNationalNumber=function(){return this.get$Value(2)},i18n.phonenumbers.PhoneNumber.prototype.getNationalNumberOrDefault=function(){return this.get$ValueOrDefault(2)},i18n.phonenumbers.PhoneNumber.prototype.setNationalNumber=function(e){this.set$Value(2,e)},i18n.phonenumbers.PhoneNumber.prototype.hasNationalNumber=function(){return this.has$Value(2)},i18n.phonenumbers.PhoneNumber.prototype.nationalNumberCount=function(){return this.count$Values(2)},i18n.phonenumbers.PhoneNumber.prototype.clearNationalNumber=function(){this.clear$Field(2)},i18n.phonenumbers.PhoneNumber.prototype.getExtension=function(){return this.get$Value(3)},i18n.phonenumbers.PhoneNumber.prototype.getExtensionOrDefault=function(){return this.get$ValueOrDefault(3)},i18n.phonenumbers.PhoneNumber.prototype.setExtension=function(e){this.set$Value(3,e)},i18n.phonenumbers.PhoneNumber.prototype.hasExtension=function(){return this.has$Value(3)},i18n.phonenumbers.PhoneNumber.prototype.extensionCount=function(){return this.count$Values(3)},i18n.phonenumbers.PhoneNumber.prototype.clearExtension=function(){this.clear$Field(3)},i18n.phonenumbers.PhoneNumber.prototype.getItalianLeadingZero=function(){return this.get$Value(4)},i18n.phonenumbers.PhoneNumber.prototype.getItalianLeadingZeroOrDefault=function(){return this.get$ValueOrDefault(4)},i18n.phonenumbers.PhoneNumber.prototype.setItalianLeadingZero=function(e){this.set$Value(4,e)},i18n.phonenumbers.PhoneNumber.prototype.hasItalianLeadingZero=function(){return this.has$Value(4)},i18n.phonenumbers.PhoneNumber.prototype.italianLeadingZeroCount=function(){return this.count$Values(4)},i18n.phonenumbers.PhoneNumber.prototype.clearItalianLeadingZero=function(){this.clear$Field(4)},i18n.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZeros=function(){return this.get$Value(8)},i18n.phonenumbers.PhoneNumber.prototype.getNumberOfLeadingZerosOrDefault=function(){return this.get$ValueOrDefault(8)},i18n.phonenumbers.PhoneNumber.prototype.setNumberOfLeadingZeros=function(e){this.set$Value(8,e)},i18n.phonenumbers.PhoneNumber.prototype.hasNumberOfLeadingZeros=function(){return this.has$Value(8)},i18n.phonenumbers.PhoneNumber.prototype.numberOfLeadingZerosCount=function(){return this.count$Values(8)},i18n.phonenumbers.PhoneNumber.prototype.clearNumberOfLeadingZeros=function(){this.clear$Field(8)},i18n.phonenumbers.PhoneNumber.prototype.getRawInput=function(){return this.get$Value(5)},i18n.phonenumbers.PhoneNumber.prototype.getRawInputOrDefault=function(){return this.get$ValueOrDefault(5)},i18n.phonenumbers.PhoneNumber.prototype.setRawInput=function(e){this.set$Value(5,e)},i18n.phonenumbers.PhoneNumber.prototype.hasRawInput=function(){return this.has$Value(5)},i18n.phonenumbers.PhoneNumber.prototype.rawInputCount=function(){return this.count$Values(5)},i18n.phonenumbers.PhoneNumber.prototype.clearRawInput=function(){this.clear$Field(5)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSource=function(){return this.get$Value(6)},i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSourceOrDefault=function(){return this.get$ValueOrDefault(6)},i18n.phonenumbers.PhoneNumber.prototype.setCountryCodeSource=function(e){this.set$Value(6,e)},i18n.phonenumbers.PhoneNumber.prototype.hasCountryCodeSource=function(){return this.has$Value(6)},i18n.phonenumbers.PhoneNumber.prototype.countryCodeSourceCount=function(){return this.count$Values(6)},i18n.phonenumbers.PhoneNumber.prototype.clearCountryCodeSource=function(){this.clear$Field(6)},i18n.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCode=function(){return this.get$Value(7)},i18n.phonenumbers.PhoneNumber.prototype.getPreferredDomesticCarrierCodeOrDefault=function(){return this.get$ValueOrDefault(7)},i18n.phonenumbers.PhoneNumber.prototype.setPreferredDomesticCarrierCode=function(e){this.set$Value(7,e)},i18n.phonenumbers.PhoneNumber.prototype.hasPreferredDomesticCarrierCode=function(){return this.has$Value(7)},i18n.phonenumbers.PhoneNumber.prototype.preferredDomesticCarrierCodeCount=function(){return this.count$Values(7)},i18n.phonenumbers.PhoneNumber.prototype.clearPreferredDomesticCarrierCode=function(){this.clear$Field(7)},i18n.phonenumbers.PhoneNumber.CountryCodeSource={UNSPECIFIED:0,FROM_NUMBER_WITH_PLUS_SIGN:1,FROM_NUMBER_WITH_IDD:5,FROM_NUMBER_WITHOUT_PLUS_SIGN:10,FROM_DEFAULT_COUNTRY:20},i18n.phonenumbers.PhoneNumber.prototype.getDescriptor=function(){var e=i18n.phonenumbers.PhoneNumber.descriptor_;return e||(i18n.phonenumbers.PhoneNumber.descriptor_=e=goog.proto2.Message.createDescriptor(i18n.phonenumbers.PhoneNumber,{0:{name:"PhoneNumber",fullName:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,fieldType:goog.proto2.Message.FieldType.INT32,type:Number},2:{name:"national_number",required:!0,fieldType:goog.proto2.Message.FieldType.UINT64,type:Number},3:{name:"extension",fieldType:goog.proto2.Message.FieldType.STRING,type:String},4:{name:"italian_leading_zero",fieldType:goog.proto2.Message.FieldType.BOOL,type:Boolean},8:{name:"number_of_leading_zeros",fieldType:goog.proto2.Message.FieldType.INT32,defaultValue:1,type:Number},5:{name:"raw_input",fieldType:goog.proto2.Message.FieldType.STRING,type:String},6:{name:"country_code_source",fieldType:goog.proto2.Message.FieldType.ENUM,defaultValue:i18n.phonenumbers.PhoneNumber.CountryCodeSource.UNSPECIFIED,type:i18n.phonenumbers.PhoneNumber.CountryCodeSource},7:{name:"preferred_domestic_carrier_code",fieldType:goog.proto2.Message.FieldType.STRING,type:String}})),e},i18n.phonenumbers.PhoneNumber.ctor=i18n.phonenumbers.PhoneNumber,i18n.phonenumbers.PhoneNumber.ctor.getDescriptor=i18n.phonenumbers.PhoneNumber.prototype.getDescriptor,i18n.phonenumbers.metadata={},i18n.phonenumbers.metadata.countryCodeToRegionCodeMap={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},i18n.phonenumbers.metadata.countryToMetadata
vendor: 5,554 bytes, line 1
1={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[02-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"([457]\\d{6})$|1","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"([2457]\\d{6})$|1","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-79]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46)
vendor: 1,252 bytes, line 1
1)|3327)[45]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68])))\\d{6}|(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46)
vendor: 232,398 bytes, line 1
1)|3327)[45]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|9(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68]))))\\d{6}|9(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"([267]\\d{6})$|1","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463)\\d{3,10}|648[34]\\d{3,9}|(?:51|66|73)2\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-7]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:485|(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d)\\d{3,9}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["14"]],[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["[18]"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10,12]],[,,"(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",,,,"212345678",,,[9],[8]],[,,"4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"(183[12])|0",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["130"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}",,,,"123123456",,,,[7]],[,,"36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"([2-9]\\d{6})$|1","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"(?:[025-7]\\d|44)\\d{6}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1-7]|44|5[0-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9,12],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",,,,"43012345",,,[8,9]],[,,"(?:00800\\d\\d|800)\\d{5}",,,,"80012345",,,[8,12]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}",,,,"17001234"],[,,"(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}",,,,"36001234"],[,,"8[02369]\\d{6}",,,,"80123456"],[,,"(?:87|9[0-8])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"(?:22|31)\\d{6}",,,,"22201234"],[,,"(?:29|6[124-9]|7[125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"(?:01\\d|8)\\d{7}",,,,,,,[8,10]],[,,"012\\d{7}",,,,"0120211234",,,[10]],[,,"01(?:2[5-9]|[4-69]\\d)\\d{6}",,,,"0195123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234",,,[8]],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456",,,[8]],,,[,,,,,,,,,[-1]]],BL:[,[,,"(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}",,,,"590271234"],[,,"(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39]|9[02])\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"([2-9]\\d{6})$|1","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"50\\d{6}",,,,"50123456",,,[8],[7]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[235]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"[59]00\\d{6,7}",,,,"500123456",,,[9,10]],[,,"(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370|864))\\d{4}|300\\d{5}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|864))\\d{4}|800\\d{6,7}|300\\d{5}",,,,,,,[8,9,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"([3-8]\\d{6})$|1","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[178]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|[78]7)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7[1-8]\\d)\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[7,10]],[,,"(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,[10]],[,,"900[2-9]\\d{6}",,,,"9002123456",,,[10]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",,,,"5219023456",,,[10]],[,,"600[2-9]\\d{6}",,,,"6002012345",,,[10]],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"310\\d{4}",,,,"3101234",,,[7]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",,,,,,,[7,8,9,10]],[,,"(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}",,,,"991234567",,,[7,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[02-7]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80[0-2]\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"(?:6[89]|7[235-9])\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0[157]\\d{8}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"600123456",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6(?:[25-9]\\d|40))\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"(1(?:[12]\\d|79)\\d\\d)|0",,"00",,[[,"(\\d{5,6})","$1",["1(?:00|2[13])|9[56]","1(?:00|2(?:1|39))|9[56]","1(?:00|2(?:1|395))|9[56]"]],[,"(\\d{5,6})","$1",["1(?:0|23)|781|[1-9]12","1(?:0|23)|7812|[1-9]123","1(?:0|23(?:[0-8]|9[0-46-9]))|78123|[1-9]123"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|[3-9]","1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|1[03]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9]|78|94)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-9]|1(?:[013-9]|2[0-24-9]))","1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|1[03]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:0(?:[0-689]|7[0-79])|1[01459]|2[0-489]|[46]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9]|78|94)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-9]|1(?:[013-9]|2[0-24-9]))"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",,,,,,,[8,10,11],[4,7]],[,,"601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[18][1-9]|[24-7][2-9]))\\d{6}",,,,"6012345678",,,[8,10],[4,7]],[,,"333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:(?:0[0-5]|1\\d|5[01]|70)\\d|2(?:[0-3]\\d|4[1-9])|3(?:00|3[0-24-9]))|9(?:101|408))\\d{6}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"(?:19(?:0[01]|4[78])|901)\\d{7}",,,,"19001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:[14]4|56))?",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["46"]],[,"(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d{4})(\\d{4})","$1 $2",["46"]],[,"(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"(?:5\\d|6[2-4])\\d{6}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:36|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[3-5]|4[356])\\d{5}",,,,"3401234"],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9(?:10|[4-79]\\d)\\d{5}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"7(?:060\\d|19(?:[0-5]\\d|6[0-6]))\\d{4}|(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"1(?:(?:5(?:[0-25-9]\\d\\d|3(?:10|33))|7[26-9]\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{6})","$1",["227","2277"]],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}",,,,"32123456"],[,,"(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}",,,,"34412345"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"([2-7]\\d{6})$|1","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"800(?:14|[2-9]\\d)\\d{5}|8[024]9[01]\\d{6}|8(?:33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|[2-79]\\d\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[013-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}",,,,"650123456"],[,,"80[0-7]\\d{6}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-579]\\d)\\d{7}",,,,,,,[9],[7]],[,,"(?:11(?:[124]\\d\\d|3(?:[0-79]\\d|8[0-7])|5(?:[02-9]\\d|1[0-57-9])|6(?:[02-79]\\d|1[0-57-9]|8[0-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|2[1-35-79]|3\\d|77|86|99)|9\\d\\d)\\d{6}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d{5})","$1",["20[2-59]"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],[[,"(\\d{5})","$1",["20[2-59]"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|9[16])\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|4[024]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0|180020",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[59]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[6-8])|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"([2-9]\\d{6})$|1","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0(?:1[09]|70)|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|1[12]|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-6])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:(?:[0147-9]\\d|22)\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",,,,,,,[9]],[,,"594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}",,,,"594101234"],[,,"(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:396|76\\d)\\d|476[0-6])\\d{4}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"([25-9]\\d{5})$|0|180020","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d|60)\\d{6}",,,,,,,[8]],[,,"2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}",,,,"20012345"],[,,"5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8[0-589]\\d\\d)\\d{3}",,,,"5661234"],[,,"556\\d{4}|(?:[23679]\\d|4[015]|5[0-489]|8[67])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}",,,,"590201234"],[,,"(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"(?:[3-5]\\d\\d|80[0-4])\\d{5}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"([2-9]\\d{6})$|1","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"(?:[2-8]\\d{3}|9008)\\d{3}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}",,,,"2201234"],[,,"(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-59]|70))\\d{4}",,,,"6091234"],[,,"(?:289|8(?:00|6[28]|88|99))\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"515\\d{4}",,,,"5151234"],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-5]))|58(?:0[1-9]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:4(?:09[3-6]|44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:4[0-48]|6[0-5]))|5(?:25[3-7]|35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-35])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",,,,,,,[7,8,9],[6]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-79])))\\d{4}|98\\d{6}",,,,"921234567",,,[8,9]],[,,"80\\d{5,7}",,,,"800123456"],[,,"6[01459]\\d{6}|6[01]\\d{5}",,,,"6001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"[2-589]\\d{7}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"(?:[34]\\d|5[56])\\d{6}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|680[29])\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|680[29])\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13,14,15,16,17],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}",,,,"8001234567",,,[8,9,10,11,12,13,14,15,16,17]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{5,11}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,11,12,13,14,15,16,17]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"55(?:4(?:0[0-2]|[16]0)|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[3-5]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:38(?:[05]\\d|8[0138])|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"([25-8]\\d{5})$|0|180020","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"(?:2717(?:[2-7]\\d|95)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-7])\\d{7}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[14-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[235689]\\d|4[0189])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|180(?:0\\d{4,9}|3\\d{9})",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1800\\d{4,9}|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[0159]\\d|21|69|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}",,,,"6111234"],[,,"80[0-8]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",,,,,,,[6,7,8,9,10,11,12]],[,,"0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678"],[,,"3[2-9]\\d{7,8}|(?:31|43)\\d{8}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"([0-24-8]\\d{5})$|0|180020","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"(?:427|7(?:[78][0-25-9]|9\\d))\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"(?:601[0-4]0|[7-9]0[1-9]\\d\\d)\\d{5}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1",,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{8,10})","$1",["000"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-8]|1\\d|2[014]|[34]0)|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[02-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|[235-9]\\d{8}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"([2-7]\\d{6})$|1","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"18\\d{5}|(?:[2569]\\d|41)\\d{6}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:00|1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[245]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|4[89]|88)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"([2-9]\\d{6})$|1","345$1",,,,,[,,,,,,,,,[-1]],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33622|7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"(?:20(?:[23579]\\d|8[78])|30[24]\\d)\\d{6}|30\\d{7}",,,,"2023123456",,,[9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[0-4]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"([2-8]\\d{6})$|1","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[024]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:(?:4[5-9]|5\\d)\\d|6(?:[024-68]\\d|1[01]|3[7-9]|70))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"8002[28]\\d\\d|80(?:05\\d|9)\\d{4}",,,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"(1001)|0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[0-4])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",,,,,,,[7,8,9]],[,,"2\\d{7}",,,,"21234567",,,[8]],[,,"(?:(?:(?:22|33)0|555|7(?:6[01]|7\\d)|88\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[1256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","0",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|78|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}",,,,"650123456"],[,,"80[0-7]\\d{6}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|[67]\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[469]\\d|5[1-9])\\d{5}|(?:3|[67]\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"60123456",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-9]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"([24-9]\\d{6})$|0","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[35-8])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5\\d{7}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[0-3]|[679]\\d|8[2-59])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|22|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5(?:2\\d|470))|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:3\\d\\d|4[67]0|8(?:[01459]\\d|8))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|(?:[35]2|64)\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:0[1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[5-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"92[0139]\\d{5}|(?:5[05]|6[069]|7[28]|8[0135689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[5-79]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"([2-9]\\d{6})$|1","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",,,,,,,[9]],[,,"(?:596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}",,,,"596301234"],[,,"(?:69[67]\\d\\d|7091[0-3])\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,"8[129]\\d{7}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"([34]\\d{6})$|1","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800(?:02|[3467]\\d)\\d{3}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-8])|4(?:[013568]\\d|2[4-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-7]|3[013]))\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[57]"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,"219\\d{4}",,,,"2190123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",,,,"6701234",,,[7]],[,,"(?:46[46]|[79]\\d\\d)\\d{4}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[34679]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4(?:0[01]|50)\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|2[12]\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|[89][89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7,8]],[,,"(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",,,,"2001234567",,,,[7,8]],[,,"(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",,,,"2221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567"],[,,"900\\d{7}",,,,"9001234567"],[,,"300\\d{7}",,,,"3001234567"],[,,"500\\d{7}",,,,"5001234567"],[,,,,,,,,,[-1]],"MX",52,"0[09]",,,,,,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"427[01]\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"(?:050|[2-57-9]\\d\\d)\\d{3}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:[579]\\d|8[0-79])\\d{4}",,,,"751234"],[,,"050\\d{3}",,,,"050012"],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[0467]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"(?:20|9\\d)\\d{8}|[78]\\d{9,13}",,,,,,,[10,11,12,13,14],[6,7]],[,,"20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])\\d{6}",,,,"2033123456",,,[10],[6,7]],[,,"(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567"],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10,11]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"(?:6[1-58]|970\\d)\\d{7}",,,,"612345678",,,[9,11]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:00|6[0-3]|7[0-24-6]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:222|55[3-9]|666|777|8\\d\\d|999)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[4-7]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"(?:[56]|888[1-9])\\d{3}",,,,"8884012"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",,,,,,,[5,6,7,8,9,10]],[,,"240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[1-6]\\d{6}",,,,"23123456",,,[8]],[,,"(?:1505|90[1-9]\\d)\\d{4}|(?:7[124-9]|9[1-9])\\d{6}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[0479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[047-9]\\d|1[0-8]|2[0-5]|33|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"00|19(?:1[124]|77|90)00","0"," Anexo ",,"0",,"00",,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[1-48])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-57]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"2131[89]\\d{4}|21(?:1[013-5]|2\\d|3[2-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",,,,,,,[6,9]],[,,"(?:4[1-35-9]|5[0-47-9]|80[6-9]\\d\\d)\\d{4}",,,,"430123"],[,,"(?:4[02-489]|5[02-9]|708(?:4[0-5]|5[0-6]))\\d{4}",,,,"551234"],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,"8[129]\\d{7}",,,,"810123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,"6(?:222\\d|89(?:00|88|99))\\d{4}",,,,"622212345"],,,[,,,,,,,,,[-1]],[,,"70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}",,,,"707123456"],,,[,,"600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{7})","$1",["[15]"]],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",,,,,,,[7,8,9,11]],[,,"4(?:(?:[014]\\d\\d|999)\\d|2022)\\d{3}",,,,"44123456",,,[8]],[,,"[35-7]\\d{7}",,,,"33123456",,,[8]],[,,"800\\d{4}|(?:0080[01]|800)\\d{6}",,,,"8001234",,,[7,9,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2[136]\\d{5}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"709\\d{6}|(?:26|[689]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}",,,,"262161234"],[,,"(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}",,,,"939901234"],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[237-9]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"(?:[15]\\d|800|92)\\d{7}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SB:[,[,,"[6-9]\\d{6}|[1-6]\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"(?:[2489]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[125-8]\\d{5}",,,,"2510123"],[,,"800[08]\\d{3}",,,,"8000000"],[,,"85\\d{5}",,,,"8512345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44|9)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"89(?:8[02-9]|9[0-5])\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|9[0-8]\\d)\\d{5}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|79)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[1-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"7(?:[015-8]\\d|21|90)\\d{6}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|[6-8]\\d|90)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|4\\d|5[2-58])\\d{4}",,,,"211234",,,[6]],[,,"(?:6[08]|7[124-7]|8[1-9])\\d{5}",,,,"7412345",,,[7]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",,,,"21234567",,,[8]],[,,"[5-7]\\d{7}",,,,"70123456",,,[8]],[,,"800\\d{8}|80[01]\\d{4}",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"(5\\d{6})$|1","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-359]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"(?:50|9[1-9])\\d{7}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[5-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"([2-479]\\d{6})$|1","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|30|[689]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:30|[69]\\d|77|8[5-7])\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[0-29]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"(?:[0-57-9]\\d|66)\\d{7}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0-27-9]|2[0-27]|3[08]|40|5[05]|66|7[01578]|8[078])\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810",,,,,,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"(?:[1-6]\\d|71)\\d{6}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"(?:6\\d|71)\\d{6}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"([2-46-8]\\d{6})$|1","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[25-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"(?:6[1-35-9]|7[13-9])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["5"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"72[48]0\\d{5}|7(?:[014-8]\\d|2[0167]|3[06]|9[0-3589])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10],[7]],[,,"(?:2742|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"(?:2742|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{4})","$1-$2",["[24-9]|3(?:[02-9]|1[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",,,,,,,[4,5,6,7,8,9,10,11,12,13]],[,,"(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"0004\\d{2,9}|(?:405|80[05])\\d{4}",,,,"8001234",,,[6,7,8,9,10,11,12,13]],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{4,5})","$1",["21"]],[,"(\\d{3})(\\d{3,4})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[124]"]],[,"(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"21\\d{2,3}",,,,"21123",,,[4,5]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"(?:20|33|[5-9]\\d)\\d{7}",,,,,,,[9]],[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:[25]0|33|8[078]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"78451[0-2]\\d{4}",,,,"7845101234",,,,[7]],"VC",1,"011","1",,,"([2-7]\\d{6})$|1","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[246])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"([2-578]\\d{6})$|1","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"([2-9]\\d{6})$|1","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,"81[18]\\d\\d",,,,"81123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9[23]\\d{4}",,,,"921234",,,[6]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-8]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9,10,11,12]],[,,"38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],[,"(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[01378]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39|47)8[01]|769\\d)\\d{4}",,,,"939801234"],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:50[0-2]|[67]\\d\\d)\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"800\\d{6}|(?:21|[579]\\d|63)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:[59][5-8]|7[5-9])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"63\\d{7}",,,,"630123456"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[1278]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:00|[1-9]\\d)\\d{6}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:00|[1-9]\\d)\\d{6}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[235-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2\\d{8}",,,,"201234567",,,[9]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"6\\d{9}|[0-36-9]\\d{8}",,,,,,,[9,10]],[,,,,,,,,,[-1]],[,,"6\\d{9}|[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],[,"(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["49"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"(?:[1-4]\\d|51)\\d{6,10}",,,,,,,[8,9,10,11,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]}
1,i18n.phonenumbers.PhoneNumberUtil=function(){this.regionToMetadataMap={}},goog.addSingletonGetter(i18n.phonenumbers.PhoneNumberUtil),i18n.phonenumbers.Error={INVALID_COUNTRY_CODE:"Invalid country calling code",NOT_A_NUMBER:"The string supplied did not seem to be a phone number",TOO_SHORT_AFTER_IDD:"Phone number too short after IDD",TOO_SHORT_NSN:"The string supplied is too short to be a phone number",TOO_LONG:"The string supplied is too long to be a phone number"},i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_=1,i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_=2,i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_=17,i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_=3,i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_=250,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_="ZZ",i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_={54:"9"},i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_=[52,54,55],i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN="+",i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_="*",i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_=";ext=",i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_="tel:",i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_=";phone-context=",i18n.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_=";isub=",i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},i18n.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","+":i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN,"*":"*","#":"#"},i18n.phonenumbers.PhoneNumberUtil.ALPHA_MAPPINGS_={A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},i18n.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",A:"A",B:"B",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"J",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"X",Y:"Y",Z:"Z",a:"A",b:"B",c:"C",d:"D",e:"E",f:"F",g:"G",h:"H",i:"I",j:"J",k:"K",l:"L",m:"M",n:"N",o:"O",p:"P",q:"Q",r:"R",s:"S",t:"T",u:"U",v:"V",w:"W",x:"X",y:"Y",z:"Z","-":"-","-":"-","‐":"-","‑":"-","‒":"-","–":"-","—":"-","―":"-","−":"-","/":"/","/":"/"," ":" "," ":" ","⁠":" ",".":".",".":"."},i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_=/[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?/,i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION="-x‐-―−ー--/ \xa0\xad​⁠ ()()[].\\[\\]/~⁓∼~",i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_="0-90-9٠-٩۰-۹",i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_="A-Za-z",i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_="++",i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN=RegExp("["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]+"),i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN=RegExp("^["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]+"),i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_="["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]+",i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN=RegExp("(["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"])"),i18n.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_=RegExp("["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]"),i18n.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_=/[\\\/] *x/,i18n.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_=RegExp("[^"+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+"#]+$"),i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_=/(?:.*?[A-Za-z]){3}.*/,i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_="["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{"+i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_+"}",i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_="["+i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_+"]*(?:["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_+"]*["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]){3,}["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+i18n.phonenumbers.PhoneNumberUtil.STAR_SIGN_+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]*",i18n.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_=" ext. ",i18n.phonenumbers.PhoneNumberUtil.RFC3966_VISUAL_SEPARATOR_="[\\-\\.\\(\\)]?",i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_DIGIT_="(["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]|"+i18n.phonenumbers.PhoneNumberUtil.RFC3966_VISUAL_SEPARATOR_+")",i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_="^\\"+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_DIGIT_+"*["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]"+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_DIGIT_+"*$",i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_=new RegExp(i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_),i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_=i18
1n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_,i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINLABEL_="["+i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_+"]+((\\-)*["+i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_+"])*",i18n.phonenumbers.PhoneNumberUtil.RFC3966_TOPLABEL_="["+i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_+"]+((\\-)*["+i18n.phonenumbers.PhoneNumberUtil.ALPHANUM_+"])*",i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_="^("+i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINLABEL_+"\\.)*"+i18n.phonenumbers.PhoneNumberUtil.RFC3966_TOPLABEL_+"\\.?$",i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_PATTERN_=new RegExp(i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_),i18n.phonenumbers.PhoneNumberUtil.extnDigits_=function(e){return"(["+i18n.phonenumbers.PhoneNumberUtil.VALID_DIGITS_+"]{1,"+e+"})"},i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_=function(){return i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("20")+"|[ \xa0\\t,]*(?:e?xt(?:ensi(?:ó?|\xf3))?n?|e?xtn?|доб|anexo)[:\\..]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("20")+"#?|[ \xa0\\t,]*(?:[xx##~~]|int|int)[:\\..]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("9")+"#?|[- ]+"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("6")+"#|[ \xa0\\t]*(?:,{2}|;)[:\\..]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("15")+"#?|[ \xa0\\t]*(?:,)+[:\\..]?[ \xa0\\t,-]*"+i18n.phonenumbers.PhoneNumberUtil.extnDigits_("9")+"#?"},i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_=RegExp("(?:"+i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_()+")$","i"),i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_=RegExp("^"+i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_PHONE_NUMBER_PATTERN_+"$|^"+i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_+"(?:"+i18n.phonenumbers.PhoneNumberUtil.createExtnPattern_()+")?$","i"),i18n.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_=/\D+/,i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_=/(\$\d)/,i18n.phonenumbers.PhoneNumberUtil.NP_PATTERN_=/\$NP/,i18n.phonenumbers.PhoneNumberUtil.FG_PATTERN_=/\$FG/,i18n.phonenumbers.PhoneNumberUtil.CC_PATTERN_=/\$CC/,i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_=/^\(?\$1\)?$/,i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY="001",i18n.phonenumbers.PhoneNumberFormat={E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3},i18n.phonenumbers.PhoneNumberType={FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1},i18n.phonenumbers.PhoneNumberUtil.MatchType={NOT_A_NUMBER:0,NO_MATCH:1,SHORT_NSN_MATCH:2,NSN_MATCH:3,EXACT_MATCH:4},i18n.phonenumbers.PhoneNumberUtil.ValidationResult={IS_POSSIBLE:0,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,INVALID_LENGTH:5,TOO_LONG:3},i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber=function(e){var t=e.search(i18n.phonenumbers.PhoneNumberUtil.VALID_START_CHAR_PATTERN_);return 0<=t?0<=(t=(e=(e=e.substring(t)).replace(i18n.phonenumbers.PhoneNumberUtil.UNWANTED_END_CHAR_PATTERN_,"")).search(i18n.phonenumbers.PhoneNumberUtil.SECOND_NUMBER_START_PATTERN_))&&(e=e.substring(0,t)):e="",e},i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber=function(e){return!(e.length<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_PHONE_NUMBER_PATTERN_,e)},i18n.phonenumbers.PhoneNumberUtil.normalize=function(e){return i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,e)?i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(e,i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!0):i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(e)},i18n.phonenumbers.PhoneNumberUtil.normalizeSB_=function(e){var t=i18n.phonenumbers.PhoneNumberUtil.normalize(e.toString());e.clear(),e.append(t)},i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly=function(e){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(e,i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS,!0)},i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly=function(e){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(e,i18n.phonenumbers.PhoneNumberUtil.DIALLABLE_CHAR_MAPPINGS_,!0)},i18n.phonenumbers.PhoneNumberUtil.convertAlphaCharactersInNumber=function(e){return i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(e,i18n.phonenumbers.PhoneNumberUtil.ALL_NORMALIZATION_MAPPINGS_,!1)},i18n.phonenumbers.PhoneNumberUtil.prototype.getLengthOfGeographicalAreaCode=function(e){var t=this.getMetadataForRegion(this.getRegionCodeForNumber(e));return null!=t&&(t.hasNationalPrefix()||e.hasItalianLeadingZero())&&this.isNumberGeographical(e)?this.getLengthOfNationalDestinationCode(e):0},i18n.phonenumbers.PhoneNumberUtil.prototype.getLengthOfNationalDestinationCode=function(e){if(e.hasExtension()){var t=e.clone();t.clearExtension()}else t=e;return 0==(t=this.format(t,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL).split(i18n.phonenumbers.PhoneNumberUtil.NON_DIGITS_PATTERN_))[0].length&&t.shift(),2>=t.length?0:this.getNumberType(e)==i18n.phonenumbers.PhoneNumberType.MOBILE&&""!=(e=i18n.phonenumbers.PhoneNumberUtil.getCountryMobileToken(e.getCountryCodeOrDefault()))?t[2].length+e.length:t[1].length},i18n.phonenumbers.PhoneNumberUtil.getCountryMobileToken=function(e){return i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_[e]||""}
1,i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedRegions=function(){return Object.keys(i18n.phonenumbers.metadata.countryToMetadata).filter(function(e){return isNaN(e)})},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedGlobalNetworkCallingCodes=function(){return Object.keys(i18n.phonenumbers.metadata.countryToMetadata).filter(function(e){return!isNaN(e)}).map(function(e){return parseInt(e,10)})},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedCallingCodes=function(){var e=Object.keys(i18n.phonenumbers.metadata.countryCodeToRegionCodeMap);return[].concat($jscomp.arrayFromIterable(this.getSupportedGlobalNetworkCallingCodes()),$jscomp.arrayFromIterable(e.map(function(e){return parseInt(e,10)})))},i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_=function(e){return null!=e&&(1!=e.possibleLengthCount()||-1!=e.possibleLengthArray()[0])},i18n.phonenumbers.PhoneNumberUtil.descHasData_=function(e){return null!=e&&(e.hasExampleNumber()||i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(e)||e.hasNationalNumberPattern())},i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_=function(e){var t=[];return goog.object.forEach(i18n.phonenumbers.PhoneNumberType,function(r){if(r!=i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE&&r!=i18n.phonenumbers.PhoneNumberType.UNKNOWN){var n=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(e,r);i18n.phonenumbers.PhoneNumberUtil.descHasData_(n)&&t.push(r)}}),t},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedTypesForRegion=function(e){return this.isValidRegionCode_(e)?i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_(this.getMetadataForRegion(e)):[]},i18n.phonenumbers.PhoneNumberUtil.prototype.getSupportedTypesForNonGeoEntity=function(e){return null==(e=this.getMetadataForNonGeographicalRegion(e))?[]:i18n.phonenumbers.PhoneNumberUtil.getSupportedTypesForMetadata_(e)},i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_=function(e,t,r){for(var n,o,i=new goog.string.StringBuffer,a=e.length,s=0;s<a;++s)null!=(o=t[(n=e.charAt(s)).toUpperCase()])?i.append(o):r||i.append(n);return i.toString()},i18n.phonenumbers.PhoneNumberUtil.prototype.formattingRuleHasFirstGroupOnly=function(e){return 0==e.length||i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_ONLY_PREFIX_PATTERN_.test(e)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberGeographical=function(e){var t=this.getNumberType(e);return t==i18n.phonenumbers.PhoneNumberType.FIXED_LINE||t==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE||i18n.phonenumbers.PhoneNumberUtil.GEO_MOBILE_COUNTRIES_.includes(e.getCountryCodeOrDefault())&&t==i18n.phonenumbers.PhoneNumberType.MOBILE},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidRegionCode_=function(e){return null!=e&&isNaN(e)&&e.toUpperCase()in i18n.phonenumbers.metadata.countryToMetadata},i18n.phonenumbers.PhoneNumberUtil.prototype.hasValidCountryCallingCode_=function(e){return e in i18n.phonenumbers.metadata.countryCodeToRegionCodeMap},i18n.phonenumbers.PhoneNumberUtil.prototype.format=function(e,t){if(0==e.getNationalNumber()&&e.hasRawInput()){var r=e.getRawInputOrDefault();if(0<r.length)return r}r=e.getCountryCodeOrDefault();var n=this.getNationalSignificantNumber(e);if(t==i18n.phonenumbers.PhoneNumberFormat.E164)return this.prefixNumberWithCountryCallingCode_(r,i18n.phonenumbers.PhoneNumberFormat.E164,n,"");if(!this.hasValidCountryCallingCode_(r))return n;var o=this.getRegionCodeForCountryCode(r);return o=this.getMetadataForRegionOrCallingCode_(r,o),e=this.maybeGetFormattedExtension_(e,o,t),n=this.formatNsn_(n,o,t),this.prefixNumberWithCountryCallingCode_(r,t,n,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatByPattern=function(e,t,r){var n=e.getCountryCodeOrDefault(),o=this.getNationalSignificantNumber(e);if(!this.hasValidCountryCallingCode_(n))return o;var i=this.getRegionCodeForCountryCode(n);i=this.getMetadataForRegionOrCallingCode_(n,i);var a=this.chooseFormattingPatternForNumber_(r,o);if(null!=a){if(r=a.clone(),0<(a=a.getNationalPrefixFormattingRuleOrDefault()).length){var s=i.getNationalPrefixOrDefault();0<s.length?(a=a.replace(i18n.phonenumbers.PhoneNumberUtil.NP_PATTERN_,s).replace(i18n.phonenumbers.PhoneNumberUtil.FG_PATTERN_,"$1"),r.setNationalPrefixFormattingRule(a)):r.clearNationalPrefixFormattingRule()}o=this.formatNsnUsingPattern_(o,r,t)}return e=this.maybeGetFormattedExtension_(e,i,t),this.prefixNumberWithCountryCallingCode_(n,t,o,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithCarrierCode=function(e,t){var r=e.getCountryCodeOrDefault(),n=this.getNationalSignificantNumber(e);if(!this.hasValidCountryCallingCode_(r))return n;var o=this.getRegionCodeForCountryCode(r);return o=this.getMetadataForRegionOrCallingCode_(r,o),e=this.maybeGetFormattedExtension_(e,o,i18n.phonenumbers.PhoneNumberFormat.NATIONAL),t=this.formatNsn_(n,o,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,t),this.prefixNumberWithCountryCallingCode_(r,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,t,e)}
1,i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegionOrCallingCode_=function(e,t){return i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==t?this.getMetadataForNonGeographicalRegion(e):this.getMetadataForRegion(t)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNationalNumberWithPreferredCarrierCode=function(e,t){return this.formatNationalNumberWithCarrierCode(e,0<e.getPreferredDomesticCarrierCodeOrDefault().length?e.getPreferredDomesticCarrierCodeOrDefault():t)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNumberForMobileDialing=function(e,t,r){var n=e.getCountryCodeOrDefault();if(!this.hasValidCountryCallingCode_(n))return e.hasRawInput()?e.getRawInputOrDefault():"";var o="";(e=e.clone()).clearExtension();var i=this.getRegionCodeForCountryCode(n),a=this.getNumberType(e),s=a!=i18n.phonenumbers.PhoneNumberType.UNKNOWN;if(t==i)o=a==i18n.phonenumbers.PhoneNumberType.FIXED_LINE||a==i18n.phonenumbers.PhoneNumberType.MOBILE||a==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE,"BR"==i&&o?o=0<e.getPreferredDomesticCarrierCodeOrDefault().length?this.formatNationalNumberWithPreferredCarrierCode(e,""):"":n==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_?(t=this.getMetadataForRegion(t),o=this.canBeInternationallyDialled(e)&&this.testNumberLength_(this.getNationalSignificantNumber(e),t)!=i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT?this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL)):o=(i==i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY||("MX"==i||"CL"==i||"UZ"==i)&&o)&&this.canBeInternationallyDialled(e)?this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);else if(s&&this.canBeInternationallyDialled(e))return r?this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL):this.format(e,i18n.phonenumbers.PhoneNumberFormat.E164);return r?o:i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(o)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryCallingNumber=function(e,t){if(!this.isValidRegionCode_(t))return this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL);var r=e.getCountryCodeOrDefault(),n=this.getNationalSignificantNumber(e);if(!this.hasValidCountryCallingCode_(r))return n;if(r==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(t))return r+" "+this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL)}else if(r==this.getCountryCodeForValidRegion_(t))return this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);var o=this.getMetadataForRegion(t),i=o.getInternationalPrefixOrDefault();return t="",o.hasPreferredInternationalPrefix()?t=o.getPreferredInternationalPrefixOrDefault():i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_,i)&&(t=i),o=this.getRegionCodeForCountryCode(r),o=this.getMetadataForRegionOrCallingCode_(r,o),n=this.formatNsn_(n,o,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),e=this.maybeGetFormattedExtension_(e,o,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<t.length?t+" "+r+" "+n+e:this.prefixNumberWithCountryCallingCode_(r,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL,n,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.formatInOriginalFormat=function(e,t){if(e.hasRawInput()&&!this.hasFormattingPatternForNumber_(e))return e.getRawInputOrDefault();if(!e.hasCountryCodeSource())return this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL);switch(e.getCountryCodeSource()){case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN:t=this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL);break;case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:t=this.formatOutOfCountryCallingNumber(e,t);break;case i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN:t=this.format(e,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL).substring(1);break;default:var r=this.getRegionCodeForCountryCode(e.getCountryCodeOrDefault()),n=this.getNddPrefixForRegion(r,!0);if(t=this.format(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL),null!=n&&0!=n.length&&!this.rawInputContainsNationalPrefix_(e.getRawInputOrDefault(),n,r)&&(r=this.getMetadataForRegion(r),n=this.getNationalSignificantNumber(e),null!=(r=this.chooseFormattingPatternForNumber_(r.numberFormatArray(),n)))){var o=(n=r.getNationalPrefixFormattingRuleOrDefault()).indexOf("$1");0>=o||(n=n.substring(0,o),0!=(n=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(n)).length&&((t=r.clone()).clearNationalPrefixFormattingRule(),t=this.formatByPattern(e,i18n.phonenumbers.PhoneNumberFormat.NATIONAL,[t])))}}return e=e.getRawInputOrDefault(),null!=t&&0<e.length&&(r=i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(t))!=(n=i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(e))&&(t=e),t},i18n.phonenumbers.PhoneNumberUtil.prototype.rawInputContainsNationalPrefix_=function(e,t,r){if(e=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(e),goog.string.startsWith(e,t))try{return this.isValidNumber(this.parse(e.substring(t.length),r))}catch(e){}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.hasFormattingPatternForNumber_=function(e){var t=e.getCountryCodeOrDefault(),r
1=this.getRegionCodeForCountryCode(t);return null!=(t=this.getMetadataForRegionOrCallingCode_(t,r))&&(e=this.getNationalSignificantNumber(e),null!=this.chooseFormattingPatternForNumber_(t.numberFormatArray(),e))},i18n.phonenumbers.PhoneNumberUtil.prototype.formatOutOfCountryKeepingAlphaChars=function(e,t){var r=e.getRawInputOrDefault();if(0==r.length)return this.formatOutOfCountryCallingNumber(e,t);var n=e.getCountryCodeOrDefault();if(!this.hasValidCountryCallingCode_(n))return r;r=i18n.phonenumbers.PhoneNumberUtil.normalizeHelper_(r,i18n.phonenumbers.PhoneNumberUtil.ALL_PLUS_NUMBER_GROUPING_SYMBOLS_,!0);var o=this.getNationalSignificantNumber(e);if(3<o.length){var i=r.indexOf(o.substring(0,3));-1!=i&&(r=r.substring(i))}if(i=this.getMetadataForRegion(t),n==i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_){if(this.isNANPACountry(t))return n+" "+r}else if(null!=i&&n==this.getCountryCodeForValidRegion_(t))return null==(n=this.chooseFormattingPatternForNumber_(i.numberFormatArray(),o))?r:((n=n.clone()).setPattern("(\\d+)(.*)"),n.setFormat("$1$2"),this.formatNsnUsingPattern_(r,n,i18n.phonenumbers.PhoneNumberFormat.NATIONAL));return t="",null!=i&&(t=i.getInternationalPrefixOrDefault(),t=i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.SINGLE_INTERNATIONAL_PREFIX_,t)?t:i.getPreferredInternationalPrefixOrDefault()),i=this.getRegionCodeForCountryCode(n),i=this.getMetadataForRegionOrCallingCode_(n,i),e=this.maybeGetFormattedExtension_(e,i,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL),0<t.length?t+" "+n+" "+r+e:this.prefixNumberWithCountryCallingCode_(n,i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL,r,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.getNationalSignificantNumber=function(e){if(!e.hasNationalNumber())return"";var t=""+e.getNationalNumber();return e.hasItalianLeadingZero()&&e.getItalianLeadingZero()&&0<e.getNumberOfLeadingZerosOrDefault()?Array(e.getNumberOfLeadingZerosOrDefault()+1).join("0")+t:t},i18n.phonenumbers.PhoneNumberUtil.prototype.prefixNumberWithCountryCallingCode_=function(e,t,r,n){switch(t){case i18n.phonenumbers.PhoneNumberFormat.E164:return i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+e+r+n;case i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL:return i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+e+" "+r+n;case i18n.phonenumbers.PhoneNumberFormat.RFC3966:return i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+e+"-"+r+n;default:return r+n}},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNsn_=function(e,t,r,n){return t=0==t.intlNumberFormatArray().length||r==i18n.phonenumbers.PhoneNumberFormat.NATIONAL?t.numberFormatArray():t.intlNumberFormatArray(),null==(t=this.chooseFormattingPatternForNumber_(t,e))?e:this.formatNsnUsingPattern_(e,t,r,n)},i18n.phonenumbers.PhoneNumberUtil.prototype.chooseFormattingPatternForNumber_=function(e,t){for(var r,n=e.length,o=0;o<n;++o){var i=(r=e[o]).leadingDigitsPatternCount();if((0==i||0==t.search(r.getLeadingDigitsPattern(i-1)))&&(i=new RegExp(r.getPattern()),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i,t)))return r}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.formatNsnUsingPattern_=function(e,t,r,n){var o=t.getFormatOrDefault(),i=new RegExp(t.getPattern()),a=t.getDomesticCarrierCodeFormattingRuleOrDefault();return r==i18n.phonenumbers.PhoneNumberFormat.NATIONAL&&null!=n&&0<n.length&&0<a.length?(t=a.replace(i18n.phonenumbers.PhoneNumberUtil.CC_PATTERN_,n),o=o.replace(i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,t),e=e.replace(i,o)):(t=t.getNationalPrefixFormattingRuleOrDefault(),e=r==i18n.phonenumbers.PhoneNumberFormat.NATIONAL&&null!=t&&0<t.length?e.replace(i,o.replace(i18n.phonenumbers.PhoneNumberUtil.FIRST_GROUP_PATTERN_,t)):e.replace(i,o)),r==i18n.phonenumbers.PhoneNumberFormat.RFC3966&&(e=(e=e.replace(RegExp("^"+i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_),"")).replace(RegExp(i18n.phonenumbers.PhoneNumberUtil.SEPARATOR_PATTERN_,"g"),"-")),e},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumber=function(e){return this.getExampleNumberForType(e,i18n.phonenumbers.PhoneNumberType.FIXED_LINE)},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForType=function(e,t){if(!this.isValidRegionCode_(e))return null;t=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(this.getMetadataForRegion(e),t);try{if(t.hasExampleNumber())return this.parse(t.getExampleNumber(),e)}catch(e){}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumberForNonGeoEntity=function(e){var t=this.getMetadataForNonGeographicalRegion(e);if(null!=t&&void 0!==(t=[t.getMobile(),t.getTollFree(),t.getSharedCost(),t.getVoip(),t.getVoicemail(),t.getUan(),t.getPremiumRate()].find(function(e,t){return e.hasExampleNumber()})))try{return this.parse("+"+e+t.getExampleNumber(),"ZZ")}catch(e){}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeGetFormattedExtension_=function(e,t,r){return e.hasExtension()&&0!=e.getExtension().length?r==i18n.phonenumbers.PhoneNumberFormat.RFC3966?i18n.phonenumbers.PhoneNumberUtil.RFC3966_EXTN_PREFIX_+e.getExtension():t.hasPreferredExtnPrefix()?t.getPreferredExtnPrefix()+e.getExtensionOrDefault():i18n.phonenumbers.PhoneNumberUtil.DEFAULT_EXTN_PREFIX_+e.getExtensionOrDefault():""},i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_=function(e,t){switch(t){case i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:return e.getPremiumRate();case i18n.phonenumbers.PhoneNumberType.TOLL_FREE:return e.getTollFree();case i18n.phonenumbers.PhoneNumberType.MOBILE:return e.getMobile();case i18n.phonenumbers.PhoneNumberType.FIXED_LINE:case i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:return e.getFixedLine();case i18n.phonenumbers.PhoneNumberType.SHARED_COST:return e.getSharedCost();case i18n.phonenumbers.PhoneNumberType.VOIP:return e.getVoip();case i18n.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:return e.getPersonalNumber();case i18n.phonenumbers.PhoneNumberType.PAGER:return e.getPager();case i18n.phonenumbers.PhoneNumberType.UAN:return e.getUan();case i18n.phonenumbers.PhoneNumberType.VOICEMAIL:return e.getVoicemail();default:return e.getGeneralDesc()}},i18n.phonenumbers.PhoneNumberUtil.prototype.getNumberType=function(e){var t=this.getRegionCodeForNumber(e);return null==(t=this.getMetadataForRegionOrCallingCode_(e.getCountryCodeOrDefault(),t))?i18n.phonenumbers.PhoneNumberType.UNKNOWN:(e=this.getNationalSignificantNumber(e),this.getNumberTypeHelper_(e,t))},i18n.phonenumbers.PhoneNumberUtil.prototype.getNumberTypeHelper_=function(e,t){return this.isNumberMatchingDesc_(e,t.getGeneralDesc())?this.isNumberMatchingDesc_(e,t.getPremiumRate())?i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:this.isNumberMatchingDesc_(e,t.getTollFree())?i18n.phonenumbers.PhoneNumberType.TOLL_FREE:this.isNumberMatchingDesc_(e,t.getSharedCost())?i18n.phonenumbers.PhoneNumberType.SHARED_COST:this.isNumberMatchingDesc_(e,t.getVoip())?i18n.phonenumbers.PhoneNumberType.VOIP:this.isNumberMatchingDesc_(e,t.getPersonalNumber())?i18n.phonenumbers.PhoneNumberType.PERSONAL_NUMBER:this.isNumberMatchingDesc_(e,t.getPager()
1)?i18n.phonenumbers.PhoneNumberType.PAGER:this.isNumberMatchingDesc_(e,t.getUan())?i18n.phonenumbers.PhoneNumberType.UAN:this.isNumberMatchingDesc_(e,t.getVoicemail())?i18n.phonenumbers.PhoneNumberType.VOICEMAIL:this.isNumberMatchingDesc_(e,t.getFixedLine())?t.getSameMobileAndFixedLinePattern()||this.isNumberMatchingDesc_(e,t.getMobile())?i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:i18n.phonenumbers.PhoneNumberType.FIXED_LINE:!t.getSameMobileAndFixedLinePattern()&&this.isNumberMatchingDesc_(e,t.getMobile())?i18n.phonenumbers.PhoneNumberType.MOBILE:i18n.phonenumbers.PhoneNumberType.UNKNOWN:i18n.phonenumbers.PhoneNumberType.UNKNOWN},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForRegion=function(e){if(null==e)return null;e=e.toUpperCase();var t=this.regionToMetadataMap[e];if(null==t){t=new goog.proto2.PbLiteSerializer;var r=i18n.phonenumbers.metadata.countryToMetadata[e];if(null==r)return null;t=t.deserialize(i18n.phonenumbers.PhoneMetadata.getDescriptor(),r),this.regionToMetadataMap[e]=t}return t},i18n.phonenumbers.PhoneNumberUtil.prototype.getMetadataForNonGeographicalRegion=function(e){return this.getMetadataForRegion(""+e)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberMatchingDesc_=function(e,t){var r=e.length;return(!(0<t.possibleLengthCount())||-1!=t.possibleLengthArray().indexOf(r))&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(t.getNationalNumberPatternOrDefault(),e)},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumber=function(e){var t=this.getRegionCodeForNumber(e);return this.isValidNumberForRegion(e,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.isValidNumberForRegion=function(e,t){var r=e.getCountryCodeOrDefault(),n=this.getMetadataForRegionOrCallingCode_(r,t);return null!=n&&(i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==t||r==this.getCountryCodeForValidRegion_(t))&&(e=this.getNationalSignificantNumber(e),this.getNumberTypeHelper_(e,n)!=i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumber=function(e){if(null==e)return null;var t=e.getCountryCodeOrDefault();return null==(t=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[t])?null:1==t.length?t[0]:this.getRegionCodeForNumberFromRegionList_(e,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForNumberFromRegionList_=function(e,t){e=this.getNationalSignificantNumber(e);for(var r,n=t.length,o=0;o<n;o++){r=t[o];var i=this.getMetadataForRegion(r);if(i.hasLeadingDigits()){if(0==e.search(i.getLeadingDigits()))return r}else if(this.getNumberTypeHelper_(e,i)!=i18n.phonenumbers.PhoneNumberType.UNKNOWN)return r}return null},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodeForCountryCode=function(e){return null==(e=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[e])?i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_:e[0]},i18n.phonenumbers.PhoneNumberUtil.prototype.getRegionCodesForCountryCode=function(e){return null==(e=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[e])?[]:e},i18n.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForRegion=function(e){return this.isValidRegionCode_(e)?this.getCountryCodeForValidRegion_(e):0},i18n.phonenumbers.PhoneNumberUtil.prototype.getCountryCodeForValidRegion_=function(e){var t=this.getMetadataForRegion(e);if(null==t)throw Error("Invalid region code: "+e);return t.getCountryCodeOrDefault()},i18n.phonenumbers.PhoneNumberUtil.prototype.getNddPrefixForRegion=function(e,t){return null==(e=this.getMetadataForRegion(e))||0==(e=e.getNationalPrefixOrDefault()).length?null:(t&&(e=e.replace("~","")),e)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNANPACountry=function(e){return null!=e&&i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_].includes(e.toUpperCase())},i18n.phonenumbers.PhoneNumberUtil.prototype.isAlphaNumber=function(e){return!!i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(e)&&(e=new goog.string.StringBuffer(e),this.maybeStripExtension(e),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i18n.phonenumbers.PhoneNumberUtil.VALID_ALPHA_PHONE_PATTERN_,e.toString()))},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumber=function(e){return(e=this.isPossibleNumberWithReason(e))==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE||e==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberForType=function(e,t){return(e=this.isPossibleNumberForTypeWithReason(e,t))==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE||e==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY},i18n.phonenumbers.PhoneNumberUtil.prototype.testNumberLength_=function(e,t){return this.testNumberLengthForType_(e,t,i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.testNumberLengthForType_=function(e,t,r){var n=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(t,r),o=0==n.possibleLengthCount()?t.getGeneralDesc().possibleLengthArray():n.possibleLengthArray();if(n=n.possibleLengthLocalOnlyArray(),r==i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE){if(!i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(t,i18n.phonenumbers.PhoneNumberType.FIXED_LINE)))return this.testNumberLengthForType_(e,t,i18n.phonenumbers.PhoneNumberType.MOBILE);r=i18n.phonenumbers.PhoneNumberUtil.getNumberDescByType_(t,i18n.phonenumbers.PhoneNumberType.MOBILE),i18n.phonenumbers.PhoneNumberUtil.descHasPossibleNumberData_(r)&&((o=o.concat(0==r.possibleLengthCount()?t.getGeneralDesc().possibleLengthArray():r.possibleLengthArray())).sort(),0==n.length?n=r.possibleLengthLocalOnlyArray():(n=n.concat(r.possibleLengthLocalOnlyArray())).sort())}return -1==o[0]?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH:(e=e.length,-1<n.indexOf(e))?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY:(t=o[0])==e?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:t>e?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT:o[o.length-1]<e?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG:-1<o.indexOf(e,1)?i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE:i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberWithReason=function(e){return this.isPossibleNumberForTypeWithReason(e,i18n.phonenumbers.PhoneNumberType.UNKNOWN)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberForTypeWithReason=function(e,t){var r=this.getNationalSignificantNumber(e);if(e=e.getCountryCodeOrDefault(),!this.hasValidCountryCallingCode_(e))return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_COUNTRY_CODE;var n=this.getRegionCodeForCountryCode(e);return e=this.getMetadataForRegionOrCallingCode_(e,n),this.testNumberLengthForType_(r,e,t)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPossibleNumberString=function(e,t){try{return this.isPossibleNumber(this.parse(e,t))}catch(e){return!1}},i18n.phonenumbers.PhoneNumberUtil.prototype.truncateTooLongNumber=function(e){if(this.isValidNumber(e))return!0;var t=e.clone(),r=e.getNationalNumberOrDefault();do if(r=Math.floor(r/10),t.setNationalNumber(r),0==r||this.isPossibleNumberWithReason(t)==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT)return!1;while(!this.isValidNumber(t));return e.setNationalNumber(r),!0},i18n.phonenumbers.PhoneNumberUtil.prototype.extractCountryCode=function(e,t){if(0==(e=e.toString()).length||"0"==e.charAt(0))return 0;for(var r,n=e.length,o=1;o<=i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_&&o<=n;++o)if((r=parseInt(e.substring(0,o),10))in i18n.phonenumbers.metadata.countryCodeToRegionCodeMap)return t.append(e.substring(o)),r;return 0},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeExtractCountryCode=function(e,t,r,n,o){if(0==e.length)return 0;if(e=new goog.string.StringBuffer(e),null!=t&&(i=t.getInternationalPrefix()),null==i&&(i="NonMatch"),i=this.maybeStripInternationalPrefixAndNormalize(e,i),n&&o.setCountryCodeSource(i),i!=i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY){if(e.getLength()<=i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_SHORT_AFTER_IDD);if(0!=(t=this.extractCountryCode(e,r)))return o.setCountryCode(t),t;throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE)}if(null!=t){var i,a=""+(i=t.getCountryCodeOrDefault()),s=e.toString();if(goog.string.startsWith(s,a)&&(a=new goog.string.StringBuffer(s.substring(a.length)),s=new RegExp((s=t.getGeneralDesc()).getNationalNumberPatternOrDefault()),this.maybeStripNationalPrefixAndCarrierCode(a,t,null),a=a.toString(),!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(s,e.toString())&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(s,a)||this.testNumberLength_(e.toString(),t)==i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG))return r.append(a),n&&o.setCountryCodeSource(i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN),o.setCountryCode(i),i}return o.setCountryCode(0),0},i18n.phonenumbers.PhoneNumberUtil.prototype.parsePrefixAsIdd_=function(e,t){var r=t.toString();if(0==r.search(e)){e=r.match(e)[0].length;var n=r.substring(e).match(i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN);return(!n||null==n[1]||!(0<n[1].length)||"0"!=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(n[1]))&&(t.clear(),t.append(r.substring(e)),!0)}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripInternationalPrefixAndNormalize=function(e,t){var r=e.toString();
1return 0==r.length?i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY:i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(r)?(r=r.replace(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN,""),e.clear(),e.append(i18n.phonenumbers.PhoneNumberUtil.normalize(r)),i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN):(t=new RegExp(t),i18n.phonenumbers.PhoneNumberUtil.normalizeSB_(e),this.parsePrefixAsIdd_(t,e)?i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_IDD:i18n.phonenumbers.PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY)},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripNationalPrefixAndCarrierCode=function(e,t,r){var n=e.toString(),o=n.length,i=t.getNationalPrefixForParsing();if(0==o||null==i||0==i.length)return!1;var a=RegExp("^(?:"+i+")");if(o=a.exec(n)){i=new RegExp(t.getGeneralDesc().getNationalNumberPatternOrDefault());var s=i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i,n),u=o.length-1;if(null==(t=t.getNationalPrefixTransformRule())||0==t.length||null==o[u]||0==o[u].length){if(s&&!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i,n.substring(o[0].length)))return!1;null!=r&&0<u&&null!=o[u]&&r.append(o[1]),e.set(n.substring(o[0].length))}else{if(n=n.replace(a,t),s&&!i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(i,n))return!1;null!=r&&0<u&&r.append(o[1]),e.set(n)}return!0}return!1},i18n.phonenumbers.PhoneNumberUtil.prototype.maybeStripExtension=function(e){var t=e.toString(),r=t.search(i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_);if(0<=r&&i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(t.substring(0,r))){for(var n=t.match(i18n.phonenumbers.PhoneNumberUtil.EXTN_PATTERN_),o=n.length,i=1;i<o;++i)if(null!=n[i]&&0<n[i].length)return e.clear(),e.append(t.substring(0,r)),n[i]}return""},i18n.phonenumbers.PhoneNumberUtil.prototype.checkRegionForParsing_=function(e,t){return this.isValidRegionCode_(t)||null!=e&&0<e.length&&i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(e)},i18n.phonenumbers.PhoneNumberUtil.prototype.parse=function(e,t){return this.parseHelper_(e,t,!1,!0)},i18n.phonenumbers.PhoneNumberUtil.prototype.parseAndKeepRawInput=function(e,t){if(!this.isValidRegionCode_(t)&&0<e.length&&e.charAt(0)!=i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN)throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE);return this.parseHelper_(e,t,!0,!0)},i18n.phonenumbers.PhoneNumberUtil.setItalianLeadingZerosForPhoneNumber_=function(e,t){if(1<e.length&&"0"==e.charAt(0)){t.setItalianLeadingZero(!0);for(var r=1;r<e.length-1&&"0"==e.charAt(r);)r++;1!=r&&t.setNumberOfLeadingZeros(r)}},i18n.phonenumbers.PhoneNumberUtil.prototype.parseHelper_=function(e,t,r,n){if(null==e)throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(e.length>i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_)throw Error(i18n.phonenumbers.Error.TOO_LONG);var o=new goog.string.StringBuffer;
1if(this.buildNationalNumberForParsing_(e,o),!i18n.phonenumbers.PhoneNumberUtil.isViablePhoneNumber(o.toString()))throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(n&&!this.checkRegionForParsing_(o.toString(),t))throw Error(i18n.phonenumbers.Error.INVALID_COUNTRY_CODE);n=new i18n.phonenumbers.PhoneNumber,r&&n.setRawInput(e),0<(e=this.maybeStripExtension(o)).length&&n.setExtension(e);var i=this.getMetadataForRegion(t);e=new goog.string.StringBuffer;var a=0,s=o.toString();try{a=this.maybeExtractCountryCode(s,i,e,r,n)}catch(t){if(t.message==i18n.phonenumbers.Error.INVALID_COUNTRY_CODE&&i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(s)){if(s=s.replace(i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN,""),0==(a=this.maybeExtractCountryCode(s,i,e,r,n)))throw t}else throw t}if(0!=a?(o=this.getRegionCodeForCountryCode(a))!=t&&(i=this.getMetadataForRegionOrCallingCode_(a,o)):(i18n.phonenumbers.PhoneNumberUtil.normalizeSB_(o),e.append(o.toString()),null!=t?(a=i.getCountryCodeOrDefault(),n.setCountryCode(a)):r&&n.clearCountryCodeSource()),e.getLength()<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_||(null!=i&&(t=new goog.string.StringBuffer,o=new goog.string.StringBuffer(e.toString()),this.maybeStripNationalPrefixAndCarrierCode(o,i,t),(i=this.testNumberLength_(o.toString(),i))!=(a=i18n.phonenumbers.PhoneNumberUtil.ValidationResult).TOO_SHORT&&i!=a.IS_POSSIBLE_LOCAL_ONLY&&i!=a.INVALID_LENGTH&&(e=o,r&&0<t.toString().length&&n.setPreferredDomesticCarrierCode(t.toString()))),(e=(r=e.toString()).length)<i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_))throw Error(i18n.phonenumbers.Error.TOO_SHORT_NSN);if(e>i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_)throw Error(i18n.phonenumbers.Error.TOO_LONG);return i18n.phonenumbers.PhoneNumberUtil.setItalianLeadingZerosForPhoneNumber_(r,n),n.setNationalNumber(parseInt(r,10)),n},i18n.phonenumbers.PhoneNumberUtil.prototype.extractPhoneContext_=function(e){var t=e.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_);if(-1===t)return null;if((t+=i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_.length)>=e.length)return"";var r=e.indexOf(";",t);return -1!==r?e.substring(t,r):e.substring(t)},i18n.phonenumbers.PhoneNumberUtil.prototype.isPhoneContextValid_=function(e){if(null==e)return!0;if(0===e.length)return!1;var t=i18n.phonenumbers.PhoneNumberUtil.RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.exec(e);return e=i18n.phonenumbers.PhoneNumberUtil.RFC3966_DOMAINNAME_PATTERN_.exec(e),null!==t||null!==e},i18n.phonenumbers.PhoneNumberUtil.prototype.buildNationalNumberForParsing_=function(e,t){var r=i18n.phonenumbers.PhoneNumberUtil.prototype.extractPhoneContext_(e);if(!i18n.phonenumbers.PhoneNumberUtil.prototype.isPhoneContextValid_(r))throw Error(i18n.phonenumbers.Error.NOT_A_NUMBER);if(null!=r){r.charAt(0)===i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN&&t.append(r),r=0<=(r=e.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_))?r+i18n.phonenumbers.PhoneNumberUtil.RFC3966_PREFIX_.length:0;var n=e.indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_PHONE_CONTEXT_);t.append(e.substring(r,n))}else t.append(i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber(null!=e?e:""));0<(r=(e=t.toString()).indexOf(i18n.phonenumbers.PhoneNumberUtil.RFC3966_ISDN_SUBADDRESS_))&&(t.clear(),t.append(e.substring(0,r)))},i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_=function(e){var t=new i18n.phonenumbers.PhoneNumber;return t.setCountryCode(e.getCountryCodeOrDefault()),t.setNationalNumber(e.getNationalNumberOrDefault()),0<e.getExtensionOrDefault().length&&t.setExtension(e.getExtensionOrDefault()),e.getItalianLeadingZero()&&(t.setItalianLeadingZero(!0),t.setNumberOfLeadingZeros(e.getNumberOfLeadingZerosOrDefault())),t},i18n.phonenumbers.PhoneNumberUtil.prototype.isNumberMatch=function(e,t){if("string"==typeof e)try{var r=this.parse(e,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_)}catch(i){if(i.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE)return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER;if("string"!=typeof t){var n=this.getRegionCodeForCountryCode(t.getCountryCodeOrDefault());if(n!=i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_){try{r=this.parse(e,n)}catch(e){return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}var o=this.isNumberMatch(r,t);return o==i18n.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH?i18n.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:o}}try{r=this.parseHelper_(e,null,!1,!1)}catch(e){return i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER}}else r=e.clone();if("string"==typeof t)try{return o=this.parse(t,i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_),this.isNumberMatch(e,o)}catch(e){return e.message!=i18n.phonenumbers.Error.INVALID_COUNTRY_CODE?i18n.phonenumbers.PhoneNumberUtil.MatchType.NOT_A_NUMBER:this.isNumberMatch(t,r)}else o=t.clone();return(e=i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_(r),o=i18n.phonenumbers.PhoneNumberUtil.copyCoreFieldsOnly_(o),e.hasExtension()&&o.hasExtension()&&e.getExtension()!=o.getExtension())?i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(t=e.getCountryCodeOrDefault(),r
1=o.getCountryCodeOrDefault(),0!=t&&0!=r)?e.equals(o)?i18n.phonenumbers.PhoneNumberUtil.MatchType.EXACT_MATCH:t==r&&this.isNationalNumberSuffixOfTheOther_(e,o)?i18n.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH:(e.setCountryCode(0),o.setCountryCode(0),e.equals(o)?i18n.phonenumbers.PhoneNumberUtil.MatchType.NSN_MATCH:this.isNationalNumberSuffixOfTheOther_(e,o)?i18n.phonenumbers.PhoneNumberUtil.MatchType.SHORT_NSN_MATCH:i18n.phonenumbers.PhoneNumberUtil.MatchType.NO_MATCH)},i18n.phonenumbers.PhoneNumberUtil.prototype.isNationalNumberSuffixOfTheOther_=function(e,t){return e=""+e.getNationalNumber(),t=""+t.getNationalNumber(),goog.string.endsWith(e,t)||goog.string.endsWith(t,e)},i18n.phonenumbers.PhoneNumberUtil.prototype.canBeInternationallyDialled=function(e){var t=this.getMetadataForRegion(this.getRegionCodeForNumber(e));return null==t||(e=this.getNationalSignificantNumber(e),!this.isNumberMatchingDesc_(e,t.getNoInternationalDialling()))},i18n.phonenumbers.PhoneNumberUtil.matchesEntirely=function(e,t){return!!(e=t.match(RegExp("^(?:"+("string"==typeof e?e:e.source)+")$","i")))&&e[0].length==t.length},i18n.phonenumbers.PhoneNumberUtil.matchesPrefix=function(e,t){return!!((e="string"==typeof e?t.match("^(?:"+e+")"):t.match(e))&&goog.string.startsWith(t,e[0]))},i18n.phonenumbers.shortnumbermetadata={},i18n.phonenumbers.shortnumbermetadata.countryCodeToRegionCodeMap={0:"AC AD AE AF AG AI AL AM AO AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GR GT GU GW GY HK HN HR HT HU ID IE IL IM IN IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TG TH TJ TL TM TN TO TR TT TV TW TZ UA UG US UY UZ VA VC VE VG VI VN VU WF WS XK YE YT ZA ZM ZW".split(" ")},i18n.phonenumbers.shortnumbermetadata.countryToMetadata={AC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"AC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AD:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[0268]",,,,"110"],[,,,,,,,,,[-1]],,,,"AD",,,,,,,,,,,,,,,,,,[,,"11[0268]",,,,"110"],,[,,"11[0268]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AE:[,[,,"[149]\\d{2,3}",,,,,,,[3,4]],,,[,,"112|99[7-9]",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"AE",,,,,,,,,,,,,,,,,,[,,"112|99[7-9]",,,,"112",,,[3]],,[,,"112|445[16]|99[7-9]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"445\\d",,,,"4450",,,[4]]],AF:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:0[02]|19)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"AF",,,,,,,,,,,,,,,,,,[,,"1(?:0[02]|19)",,,,"100",,,[3]],,[,,"1(?:0[02]|19)|40404",,,,"100"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AG:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"AG",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"176|9(?:11|88|99)",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AI:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"AI",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|9(?:11|88)",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AL:[,[,,"[15]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6[01]\\d\\d)|2[7-9]|3[15]|41)",,,,"112",,,[3,6]],[,,"5\\d{4}",,,,"50000",,,[5]],,,,"AL",,,,,,,,,,,,,,,,,,[,,"1(?:12|2[7-9])",,,,"112",,,[3]],,[,,"1(?:1(?:6(?:000|1(?:06|11|23))|8\\d\\d)|65\\d|89[12])|5\\d{4}|1(?:[1349]\\d|2[2-9])",,,,"110"],[,,,,,,,,,[-1]],[,,"123",,,,"123",,,[3]],,[,,"131|5\\d{4}",,,,"131",,,[3,5]]],AM:[,[,,"[148]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10[1-3]",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"AM",,,,,,,,,,,,,,,,,,[,,"10[1-3]",,,,"101",,,[3]],,[,,"(?:1|8[1-7])\\d\\d|40404",,,,"100"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AO:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[235]",,,,"112"],[,,,,,,,,,[-1]],,,,"AO",,,,,,,,,,,,,,,,,,[,,"11[235]",,,,"112"],,[,,"11[235]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AR:[,[,,"[01389]\\d{1,4}",,,,,,,[2,3,4,5]],,,[,,"000|1(?:0[0-35-7]|1[0245]|2[015]|3[47]|4[478]|9)|911",,,,"19",,,[2,3]],[,,,,,,,,,[-1]],,,,"AR",,,,,,,,,,,,,,,,,,[,,"10[017]|911",,,,"100",,,[3]],,[,,"000|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478]|9)|3372|89338|911",,,,"19"],[,,,,,,,,,[-1]],[,,"893\\d\\d",,,,"89300",,,[5]],,[,,"(?:337|893\\d)\\d",,,,"3370",,,[4,5]]],AS:[,[,,"[49]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"9(?:11|88)",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"AS",,,,,,,,,,,,,,,,,,[,,"911",,,,"911",,,[3]],,[,,"40404|9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],AT:[,[,,"[1268]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:12|2[0238]|3[03]|4[0-247])|1(?:16\\d\\d|4[58])\\d",,,,"112",,,[3,4,6]],[,,,,,,,,,[-1]],,,,"AT",,,,,,,,,,,,,,,,,,[,,"1(?:[12]2|33|44)",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:17|23)))|2[0238]|3[03]|4(?:[0-247]|5[05]|84))|(?:2(?:066|20)|61|8108[1-3])0",,,,"112"],[,,,,,,,,,[-1]],[,,"220\\d|610|(?:206|810\\d)\\d\\d",,,,"610"],,[,,"206\\d\\d",,,,"20600",,,[5]]],AU:[,[,,"[0-27]\\d{2,7}",,,,,,,[3,4,5,6,7,8]],,,[,,"000|1(?:06|12|258885|55\\d)|733",,,,"000",,,[3,4,7]],[,,"1(?:2(?:34|456)|9\\d{4,6})",,,,"1234",,,[4,5,6,7,8]],,,,"AU",,,,,,,,,,,,,,,,,,[,,"000|1(?:06|12)",,,,"000",,,[3]],,[,,"000|1(?:06|1(?:00|2|9[46])|2(?:014[1-3]|[23]\\d|(?:4|5\\d)\\d{2,3}|68[689]|72(?:20|3\\d\\d)|8(?:[013-9]\\d|2))|555|9\\d{4,6})|225|7(?:33|67)",,,,"000"],[,,"1(?:1[09]\\d|24733)|225|767",,,,"225",,,[3,4,6]],[,,"1(?:258885|55\\d)",,,,"1550",,,[4,7]],,[,,"19\\d{4,6}",,,,"190000",,,[6,7,8]]],AW:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"100|911",,,,"100"],[,,,,,,,,,[-1]],,,,"AW",,,,,,,,,,,,,,,,,,[,,"100|911",,,,"100"],,[,,"1(?:00|18|76)|91[13]",,,,"100"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],AX:[,[,,"[17]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"AX",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"112|75[12]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],AZ:[,[,,"[148]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"AZ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-3]|12)|(?:404|880)0",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:404|880)\\d",,,,"4040",,,[4]],,[,,"(?:404|880)\\d",,,,"4040",,,[4]]],BA:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:16\\d{3}|2[2-4])",,,,"122",,,[3,6]],[,,,,,,,,,[-1]],,,,"BA",,,,,,,,,,,,,,,,,,[,,"12[2-4]",,,,"122",,,[3]],,[,,"1(?:16(?:00[06]|1(?:1[17]|23))|2(?:0[0-7]|[2-5]|6[0-26])|(?:[3-5]|7\\d)\\d\\d)|1(?:18|2[78])\\d\\d?",,,,"122"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BB:[,[,,"[2-689]\\d\\d",,,,,,,[3]],,,[,,"988|[2359]11",,,,"211"],[,,,,,,,,,[-1]],,,,"BB",,,,,,,,,,,,,,,,,,[,,"[2359]11",,,,"211"],,[,,"988|[2-689]11",,,,"211"],[,,,,,,,,,[-1]],[,,"[468]11",,,,"411"],,[,,,,,,,,,[-1]]],BD:[,[,,"[1579]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10[0-26]|[19]99",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"BD",,,,,,,,,,,,,,,,,,[,,"10[0-2]|[19]99",,,,"100",,,[3]],,[,,"1(?:0(?:[0-369]|5[1-4]|7[0-4]|8[0-29])|1[16-9]|2(?:[134]|2[0-5])|3(?:1\\d?|6[3-6])|5[2-9])|5012|786|9594|[19]99|1(?:0(?:50|6\\d)|33|4(?:0|1\\d))\\d",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:11|2[13])|(?:501|959)\\d|786",,,,"111",,,[3,4]],,[,,"959\\d",,,,"9590",,,[4]]],BE:[,[,,"[1-9]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:0[0-35-8]|1[0269]|7(?:12|77)|813)|(?:116|8)\\d{3}",,,,"100"],[,,"1(?:2[03]|40)4|(?:1(?:[24]1|3[01])|[2-79]\\d\\d)\\d",,,,"1204",,,[4]],,,,"BE",,,,,,,,,,,,,,,,,,[,,"1(?:0[01]|12)",,,,"100",,,[3]],,[,,"1(?:0[0-8]|16117|2(?:12|3[0-24])|313|414|5(?:1[05]|5[15]|66|95)|6(?:1[167]|36|6[16])|7(?:[07][017]|1[27-9]|22|33|65)|81[39])|[2-9]\\d{3}|11[02679]|1(?:1600|45)0|1(?:[2-4]9|78)9|1[2-4]0[47]",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"[2-9]\\d{3}
1",,,,"2000",,,[4]]],BF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"BF",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BG:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"1(?:1(?:2|6\\d{3})|50|6[06])",,,,"112"],[,,,,,,,,,[-1]],,,,"BG",,,,,,,,,,,,,,,,,,[,,"1(?:12|50|6[06])",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111))|50|6[06])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BH:[,[,,"[0189]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"(?:0[167]|81)\\d{3}|[19]99",,,,"199"],[,,"9[148]\\d{3}",,,,"91000",,,[5]],,,,"BH",,,,,,,,,,,,,,,,,,[,,"[19]99",,,,"199",,,[3]],,[,,"1(?:[02]\\d|12|4[01]|51|8[18]|9[169])|99[02489]|(?:0[167]|8[158]|9[148])\\d{3}",,,,"100"],[,,,,,,,,,[-1]],[,,"0[67]\\d{3}|88000|98555",,,,"06000",,,[5]],,[,,"88000|98555",,,,"88000",,,[5]]],BI:[,[,,"[16-9]\\d{2,3}",,,,,,,[3,4]],,,[,,"11[237]|611",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"BI",,,,,,,,,,,,,,,,,,[,,"11[237]",,,,"112",,,[3]],,[,,"1(?:1\\d|5[2-9]|6[0-256])|611|7(?:10|77|979)|8[28]8|900",,,,"110"],[,,,,,,,,,[-1]],[,,"611|7(?:10|77)|888|900",,,,"611",,,[3]],,[,,"(?:71|90)0",,,,"710",,,[3]]],BJ:[,[,,"[17]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[246-8]|3[68]|6[06])|7[3-5]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],,,,"BJ",,,,,,,,,,,,,,,,,,[,,"11[246-8]",,,,"112",,,[3]],,[,,"1(?:05|1[24-8]|2[02-5]|3[126-8]|5[05]|6[06]|89)|7[0-5]\\d\\d",,,,"105"],[,,,,,,,,,[-1]],[,,"12[02-5]",,,,"120",,,[3]],,[,,,,,,,,,[-1]]],BL:[,[,,"1\\d",,,,,,,[2]],,,[,,"18",,,,"18"],[,,,,,,,,,[-1]],,,,"BL",,,,,,,,,,,,,,,,,,[,,"18",,,,"18"],,[,,"18",,,,"18"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"BM",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|9(?:11|88)",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],BN:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"99[135]",,,,"991"],[,,,,,,,,,[-1]],,,,"BN",,,,,,,,,,,,,,,,,,[,,"99[135]",,,,"991"],,[,,"99[135]",,,,"991"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BO:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[089]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"BO",,,,,,,,,,,,,,,,,,[,,"11[089]",,,,"110",,,[3]],,[,,"11[089]|40404",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],BQ:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],,,,"BQ",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"1(?:12|76)|911",,,,"112"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],BR:[,[,,"[1-69]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:00|12|28|8[015]|9[0-47-9])|4(?:57|82\\d)|911",,,,"100",,,[3,4]],[,,,,,,,,,[-1]],,,,"BR",,,,,,,,,,,,,,,,,,[,,"1(?:12|28|9[023])|911",,,,"112",,,[3]],,[,,"1(?:0(?:[02]|3(?:1[2-579]|2[13-9]|3[124-9]|4[1-3578]|5[1-468]|6[139]|8[149]|9[168])|5[0-35-9]|6(?:0|1[0-35-8]?|2[0145]|3[0137]?|4[37-9]?|5[0-35]|6[016]?|7[137]?|8[5-8]|9[1359]))|1[25-8]|2[357-9]|3[024-68]|4[12568]|5\\d|6[0-8]|8[015]|9[0-47-9])|2(?:7(?:330|878)|85959?)|(?:32|91)1|4(?:0404?|57|828)|55555|6(?:0\\d{4}|10000)|(?:133|411)[12]",,,,"100"],[,,"102|273\\d\\d|321",,,,"102",,,[3,5]],[,,"151|(?:278|555)\\d\\d|4(?:04\\d\\d?|11\\d|57)",,,,"151",,,[3,4,5]],,[,,"285\\d{2,3}|321|40404|(?:27[38]\\d|482)\\d|6(?:0\\d|10)\\d{3}",,,,"321"]],BS:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:1[19]|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"BS",,,,,,,,,,,,,,,,,,[,,"91[19]",,,,"911"],,[,,"9(?:1[19]|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BT:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[023]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"BT",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110",,,[3]],,[,,"11[0-6]|40404",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],BW:[,[,,"[19]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"9(?:11|9[7-9])",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"BW",,,,,,,,,,,,,,,,,,[,,"9(?:11|9[7-9])",,,,"911",,,[3]],,[,,"1(?:1[26]|3123)|9(?:1[14]|9[1-57-9])",,,,"112"],[,,,,,,,,,[-1]],[,,"131\\d\\d",,,,"13100",,,[5]],,[,,"131\\d\\d",,,,"13100",,,[5]]],BY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],,,,"BY",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101"],,[,,"1(?:0[1-79]|1[246]|35|5[1-35]|6[89]|7[5-7]|8[58]|9[1-7])",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],BZ:[,[,,"9\\d\\d?",,,,,,,[2,3]],,,[,,"9(?:0|11|22|66|77|9[09])",,,,"90"],[,,,,,,,,,[-1]],,,,"BZ",,,,,,,,,,,,,,,,,,[,,"9(?:0|11|90)",,,,"90"],,[,,"9(?:0|11|22|66|77|9[09])",,,,"90"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CA:[,[,,"[1-9]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"112|988|[29]11",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CA",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"[1-35-9]\\d{4,5}|112|[2-8]11|9(?:11|88)",,,,"112"],[,,,,,,,,,[-1]],[,,"[235-7]11",,,,"211",,,[3]],,[,,"[1-35-9]\\d{4,5}",,,,"10000",,,[5,6]]],CC:[,[,,"[01]\\d\\d",,,,,,,[3]],,,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],,,,"CC",,,,,,,,,,,,,,,,,,[,,"000|112",,,,"000"],,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CD:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:1[348]|77|88)",,,,"113",,,[3]],[,,,,,,,,,[-1]],,,,"CD",,,,,,,,,,,,,,,,,,[,,"1(?:1[348]|77|88)",,,,"113",,,[3]],,[,,"1(?:1[348]|23|77|88)|40404",,,,"113"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],CF:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[78]|22\\d)",,,,"117"],[,,,,,,,,,[-1]],,,,"CF",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|220)",,,,"117"],,[,,"1(?:1[478]|220)",,,,"114"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CG:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[178]",,,,"111"],[,,,,,,,,,[-1]],,,,"CG",,,,,,,,,,,,,,,,,,[,,"11[78]",,,,"117"],,[,,"11[126-8]",,,,"111"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CH:[,[,,"[1-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:[278]|6\\d{3})|4[47])|5200",,,,"112",,,[3,4,6]],[,,"1(?:14|8[0-2589])\\d|543|83111",,,,"543",,,[3,4,5]],,,,"CH",,,,,,,,,,,,,,,,,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],,[,,"1(?:0[78]\\d\\d|1(?:[278]|45|6(?:000|111))|4(?:[03-57]|1[0145])|6(?:00|[1-46])|8(?:02|1[189]|[25]0|7|8[08]|99))|[2-9]\\d{2,4}",,,,"112"],[,,"1(?:4[035]|6[1-46])|1(?:41|60)\\d",,,,"140",,,[3,4]],[,,"5(?:200|35)",,,,"535",,,[3,4]],,[,,"[2-9]\\d{2,4}",,,,"200",,,[3,4,5]]],CI:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[01]|[78]0)",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"CI",,,,,,,,,,,,,,,,,,[,,"1(?:1[01]|[78]0)",,,,"110",,,[3]],,[,,"1(?:1[01]|[78]0)|4443",,,,"110"],[,,,,,,,,,[-1]],[,,"444\\d",,,,"4440",,,[4]],,[,,"444\\d",,,,"4440",,,[4]]],CK:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"99[689]",,,,"996"],[,,,,,,,,,[-1]],,,,"CK",,,,,,,,,,,,,,,,,,[,,"99[689]",,,,"996"],,[,,"99[689]",,,,"996"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CL:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:213|3[1-3])|434\\d|911",,,,"131",,,[3,4]],[,,"1(?:211|3(?:13|[348]0|5[01]))|(?:1(?:[05]6|[48]1|9[18])|2(?:01\\d|[23]2|77|88)|3(?:0[59]|13|3[279]|66)|4(?:[12]4|36\\d|4[017]|55)|5(?:00|41\\d|5[67]|99)|6(?:07\\d|13|22|3[06]|50|69)|787|8(?:[01]1|[48]8)|9(?:01|[12]0|33))\\d",,,,"1060",,,[4,5]],,,,"CL",,,,,,,,,,,,,,,,,,[,,"13[1-3]|911",,,,"131",,,[3]],,[,,"1(?:00|21[13]|3(?:13|[348]0|5[01])|4(?:0[02-6]|17|[379])|818|919)|2(?:0(?:01|122)|22[47]|323|777|882)|3(?:0(?:51|99)|132|3(?:29|[37]7)|665)|43656|5(?:(?:00|415)4|5(?:66|77)|995)|6(?:131|222|366|699)|7878|8(?:011|11[28]|482|889)|9(?:01|1)1|13\\d|4(?:[13]42|243|4(?:02|15|77)|554)|(?:1(?:[05]6|98)|339|6(?:07|[35])0|9(?:[12]0|33))0",,,,"100"],[,,"(?:200|333)\\d",,,,"2000",,,[4]],[,,,,,,,,,[-1]],,[,,"13(?:13|[348]0|5[01])|(?:1(?:[05]6|[28]1|4[01]|9[18])|2(?:0(?:0|1\\d)|[23]2|77|88)|3(?:0[59]|13|3[2379]|66)|436\\d|5(?:00|41\\d|5[67]|99)|6(?:07\\d|13|22|3[06]|50|69)|787|8(?:[01]1|[48]8)|9(?:01|[12]0|33))\\d|4(?:[1-3]4|4[017]|55)\\d",,,,"1060",,,[4,5]]],CM:[,[,,"[18]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:1[37]|[37])",,,,"13",,,[2,3]],[,,,,,,,,,[-1]],,,,"CM",,,,,,,,,,,,,,,,,,[,,"1(?:1[37]|[37])",,,,"13",,,[2,3]],,[,,"1(?:1[37]|[37])|8711",,,,"13"],[,,,,,,,,,[-1]],[,,"871\\d",,,,"8710",,,[4]],,[,,"871\\d",,,,"8710",,,[4]]],CN:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1[09]|2(?:[02]|1\\d\\d|395))",,,,"110",,,[3,5]],[,,,,,,,,,[-1]],,,,"CN",,,,,,,,,,,,,,,,,,[,,"1(?:1[09]|20)",,,,"110",,,[3]],,[,,"1(?:00|1[0249]|2395|6[08])|9[56]\\d{3,4}|12[023]|1(?:0(?:[0-26]\\d|8)|21\\d)\\d",,,,"100"],[,,"1(?:0(?:[0-26]\\d|8)\\d|1[24]|23|6[08])|9[56]\\d{3,4}|100",,,,"100"],[,,,,,,,,,[-1]],,[,,"12110",,,,"12110",,,[5]]],CO:[,[,,"[1-589]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"1(?:1[29]|23|32|56)",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CO",,,,,,,,,,,,,,,,,,[,,"1(?:1[29]|23|32|56)",,,,"112",,,[3]],,[,,"1(?:06|1[2-9]|2[35-7]|3[27]|4[467]|5[36]|6[4-7]|95)|(?:29002|39003)9|40404|5930\\d\\d|85432|(?:[2359][57]|8(?:7|9\\d))\\d{3}",,,,"106"],[,,,,,,,,,[-1]],[,,"(?:40|85)4\\d\\d",,,,"40400",,,[5]],,[,,"(?:40|85)4\\d\\d",,,,"40400",,,[5]]],CR:[,[,,"[1359]\\d{2,3}",,,,,,,[3,4]],,,[,,"112|911",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"CR",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"1(?:0(?:00|15|2[2-4679])|1(?:1[0-35-9]|2|37|[46]6|7[57]|8[79]|9[0-379])|2(?:00|[12]2|34|55)|3(?:21|33)|4(?:0[06]|1[4-6])|5(?:15|5[15])|693|7(?:00|1[7-9]|2[02]|[67]7)|975)|3855|5(?:0(?:30|49)|510)|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"(?:385|5(?:0[34]|51))\\d",,,,"3850",,,[4]]],CU:[,[,,"[12]\\d\\d(?:\\d{3,4})?",,,,,,,[3,6,7]],,,[,,"10[4-7]|(?:116|204\\d)\\d{3}",,,,"104"],[,,,,,,,,,[-1]],,,,"CU",,,,,,,,,,,,,,,,,,[,,"10[4-6]",,,,"104",,,[3]],,[,,"1(?:0[4-7]|1(?:6111|8)|40)|2045252",,,,"104"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CV:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"13[0-2]",,,,"130"],[,,,,,,,,,[-1]],,,,"CV",,,,,,,,,,,,,,,,,,[,,"13[0-2]",,,,"130"],,[,,"13[0-2]",,,,"130"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CW:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|911",,,,"112"],[,,,,,,,,,[-1]],,,,"CW",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"1(?:12|76)|911",,,,"112"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],CX:[,[,,"[01]\\d\\d",,,,,,,[3]],,,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],,,,"CX",,,,,,,,,,,,,,,,,,[,,"000|112",,,,"000"],,[,,"000|112",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CY:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"1(?:1(?:2|6\\d{3})|99)",,,,"112"],[,,,,,,,,,[-1]],,,,"CY",,,,,,,,,,,,,,,,,,[,,"1(?:12|99)",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111))|99)",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],CZ:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6(?:00[06]|1(?:11|23)))|5\\d)",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"CZ",,,,,,,,,,,,,,,,,,[,,"1(?:12|5\\d)",,,,"112",,,[3]],,[,,"1(?:1(?:2|8\\d)|(?:2|3\\d)\\d{2,3}|5\\d|99)|1(?:16|4)\\d{3}",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DE:[,[,,"[1-46-8]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:[02]|6\\d{3})",,,,"110",,,[3,6]],[,,,,,,,,,[-1]],,,,"DE",,,,,,,,,,,,,,,,,,[,,"11[02]",,,,"110",,,[3]],,[,,"11(?:[025]|6(?:00[06]|1(?:1[167]|23))|800\\d)|22(?:044|5(?:43|80)|7700|922)|33(?:11|3[34])|44844|600\\d\\d|7(?:0\\d{3}|464)|80808|118\\d\\d",,,,"110"],[,,,,,,,,,[-1]],[,,"(?:33[13]|746)\\d|(?:22(?:[059]|7\\d)|(?:44|80)8|600|70\\d)\\d\\d",,,,"3310",,,[4,5,6]],,[,,"(?:333|746)\\d|(?:22(?:[059]|7\\d)|(?:44|80)8|600|70\\d)\\d\\d",,,,"3330",,,[4,5,6]]],DJ:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"DJ",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DK:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:[24]|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"DK",,,,,,,,,,,,,,,,,,[,,"11[24]",,,,"112",,,[3]],,[,,"1(?:1(?:[248]|6(?:00[06]|111))|619[0-2]|8(?:01|1[0238]|28|30|5[13]|8[18]))",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DM:[,[,,"[39]\\d\\d",,,,,,,[3]],,,[,,"333|9(?:11|88|99)",,,,"333"],[,,,,,,,,,[-1]],,,,"DM",,,,,,,,,,,,,,,,,,[,,"333|9(?:11|99)",,,,"333"],,[,,"333|9(?:11|88|99)",,,,"333"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DO:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|9(?:11|88)",,,,"112"],[,,,,,,,,,[-1]],,,,"DO",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112"],,[,,"112|9(?:11|88)",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],DZ:[,[,,"[17]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:12|[47]|54\\d)",,,,"14"],[,,,,,,,,,[-1]],,,,"DZ",,,,,,,,,,,,,,,,,,[,,"1(?:12|[47])",,,,"14",,,[2,3]],,[,,"1(?:055|12|[47]|548)|730",,,,"14"],[,,,,,,,,,[-1]],[,,"730",,,,"730",,,[3]],,[,,"730",,,,"730",,,[3]]],EC:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:0[12]|12)|911",,,,"101"],[,,,,,,,,,[-1]],,,,"EC",,,,,,,,,,,,,,,,,,[,,"1(?:0[12]|12)|911",,,,"101"],,[,,"1(?:0[12]|12)|911",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],EE:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:[02]|6\\d{3})|2(?:05|28)|3(?:014|3(?:21|5\\d?)|660)|492|5(?:1[03]|410|501)|6(?:112|333|644)|7(?:012|127|89)|8(?:10|8[57])|9(?:0[134]|14))",,,,"110"],[,,"1(?:18(?:00|[12458]\\d?)|2(?:0(?:[02-46-8]\\d?|
11[0-36])|1(?:[0-4]\\d?|6[06])|2(?:[0-4]\\d?|5[25])|[367]|4(?:0[04]|[12]\\d?|4[24]|54)|55[12457])|3(?:0(?:[02]\\d?|1[13578]|3[356])|1[1347]|2[02-5]|3(?:[01347]\\d?|2[023]|88)|4(?:[35]\\d?|4[34])|5(?:3[134]|5[035])|666)|4(?:2(?:00|4\\d?)|4(?:0[01358]|1[024]|50|7\\d?)|900)|5(?:0[0-35]|1(?:[1267]\\d?|5[0-7]|82)|2(?:[014-6]\\d?|22)|330|4(?:[35]\\d?|44)|5(?:00|[1-69]\\d?)|9(?:[159]\\d?|[38]0|77))|6(?:1(?:00|1[19]|[35-9]\\d?)|2(?:2[26]|[68]\\d?)|3(?:22|36|6[36])|5|6(?:[0-359]\\d?|6[0-26])|7(?:00|55|7\\d?|8[89])|9(?:00|1\\d?|69))|7(?:0(?:[023]\\d?|1[0578])|1(?:00|2[034]|[4-9]\\d?)|2(?:[07]\\d?|20|44)|7(?:[0-57]\\d?|9[79])|8(?:0[08]|2\\d?|8[0178])|9(?:00|97))|8(?:1[127]|8[1268]|9[269])|9(?:0(?:[02]\\d?|69|9[0269])|1[1-3689]|21))",,,,"123",,,[3,4,5]],,,,"EE",,,,,,,,,,,,,,,,,,[,,"11[02]",,,,"110",,,[3]],,[,,"1(?:1(?:[02-579]|6(?:000|111)|8(?:[09]\\d|[1-8]))|2[36-9]|3[7-9]|4[05-7]|5[6-8]|6[05]|7[3-6]|8[02-7]|9[3-9])|1(?:2[0-245]|3[0-6]|4[1-489]|5[0-59]|6[1-46-9]|7[0-27-9]|8[189]|9[0-2])\\d\\d?",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"1(?:18[1258]|2(?:0(?:1[036]|[46]\\d?)|166|21|4(?:0[04]|1\\d?|5[47])|[67])|3(?:0(?:1[13-578]|2\\d?|3[56])|1[15]|2[045]|3(?:[13]\\d?|2[13])|43|5(?:00|3[34]|53))|44(?:0[0135]|14|50|7\\d?)|5(?:05|1(?:[12]\\d?|5[1246]|8[12])|2(?:[01]\\d?|22)|3(?:00|3[03])|4(?:15|5\\d?)|500|9(?:5\\d?|77|80))|6(?:1[35-8]|226|3(?:22|3[36]|66)|644|7(?:00|7\\d?|89)|9(?:00|69))|7(?:01[258]|1(?:00|[15]\\d?)|2(?:44|7\\d?)|8(?:00|87|9\\d?))|8(?:1[128]|8[56]|9(?:[26]\\d?|77))|90(?:2\\d?|69|92))",,,,"126",,,[3,4,5]]],EG:[,[,,"[13]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:2[23]|80)",,,,"122",,,[3]],[,,,,,,,,,[-1]],,,,"EG",,,,,,,,,,,,,,,,,,[,,"1(?:2[23]|80)",,,,"122",,,[3]],,[,,"1(?:2[23]|[679]\\d{3}|80)|34400",,,,"122"],[,,,,,,,,,[-1]],[,,"344\\d\\d",,,,"34400",,,[5]],,[,,"344\\d\\d",,,,"34400",,,[5]]],EH:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],,,,"EH",,,,,,,,,,,,,,,,,,[,,"1(?:[59]|77)",,,,"15"],,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ER:[,[,,"[12]\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"11[2-46]|(?:12[47]|20[12])\\d{3}",,,,"112"],[,,,,,,,,,[-1]],,,,"ER",,,,,,,,,,,,,,,,,,[,,"1(?:1[2-46]|24422)|20(?:1(?:606|917)|2914)|(?:1277|2020)99",,,,"112"],,[,,"1(?:1[2-6]|24422)|20(?:1(?:606|917)|2914)|(?:1277|2020)99",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ES:[,[,,"[0-379]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"0(?:16|20|6[57]|8[58])|1(?:006|12|[3-7]\\d\\d)|(?:116|20\\d)\\d{3}",,,,"016",,,[3,4,6]],[,,"[12]2\\d{1,4}|90(?:5\\d|7)|(?:118|2(?:[357]\\d|80)|3[357]\\d)\\d\\d|[79]9[57]\\d{3}",,,,"120"],,,,"ES",,,,,,,,,,,,,,,,,,[,,"08[58]|112",,,,"085",,,[3]],,[,,"0(?:1[0-267]|2[0148]|6[0-257]|8[058]|9[12])|1(?:0[03-57]\\d{1,3}|1(?:2|6(?:000|111)|8\\d\\d)|2\\d{1,4}|[3-9]\\d\\d)|2(?:2\\d{1,4}|80\\d\\d)|90(?:5[124578]|7)|1(?:3[34]|77)|(?:2[01]\\d|[79]9[57])\\d{3}|[23][357]\\d{3}",,,,"010"],[,,"0(?:1[0-27]|2[148]|6
vendor: 14,732 bytes, line 1
1[0-2]|80|9[12])|21\\d{4}",,,,"010",,,[3,6]],[,,"1(?:3[34]|77)|[12]2\\d{1,4}",,,,"120"],,[,,"(?:2[0-2]\\d|3[357]|[79]9[57])\\d{3}|2(?:[2357]\\d|80)\\d\\d",,,,"22000",,,[5,6]]],ET:[,[,,"9\\d\\d?",,,,,,,[2,3]],,,[,,"9(?:07|11?|2|39?|9[17])",,,,"91"],[,,,,,,,,,[-1]],,,,"ET",,,,,,,,,,,,,,,,,,[,,"9(?:11?|2|39?|9[17])",,,,"91"],,[,,"9(?:07|11?|2|39?|45|9[17])",,,,"91"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FI:[,[,,"[17]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11(?:2|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"FI",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"11(?:2|6(?:00[06]|1(?:1[17]|23)))|(?:1[2-8]\\d|75[12])\\d\\d",,,,"112"],[,,"1[2-8]\\d{3}",,,,"12000",,,[5]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FJ:[,[,,"[0-579]\\d(?:\\d(?:\\d{2})?)?",,,,,,,[2,3,5]],,,[,,"91[17]",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"FJ",,,,,,,,,,,,,,,,,,[,,"91[17]",,,,"911",,,[3]],,[,,"0(?:1[34]|8[1-4])|1(?:0[1-3]|[25]9)|2[289]|30|40404|91[137]|[45]4|75",,,,"22"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"404\\d\\d",,,,"40400",,,[5]]],FK:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"FK",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"1\\d\\d|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FM:[,[,,"[39]\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"320\\d{3}|911",,,,"911"],[,,,,,,,,,[-1]],,,,"FM",,,,,,,,,,,,,,,,,,[,,"(?:32022|91)1",,,,"911"],,[,,"(?:32022|91)1",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FO:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[24]|81\\d)",,,,"112"],[,,,,,,,,,[-1]],,,,"FO",,,,,,,,,,,,,,,,,,[,,"11[24]",,,,"112",,,[3]],,[,,"1(?:1[248]|819)|1(?:4[124]|71|8[7-9])\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],FR:[,[,,"[1-8]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:1[02459]|[578]|9[167])|224|(?:3370|74)0|(?:116\\d|3[01])\\d\\d",,,,"15"],[,,"(?:1(?:0|18\\d)|366|[4-8]\\d\\d)\\d\\d|3[2-9]\\d\\d",,,,"1000",,,[4,5,6]],,,,"FR",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15",,,[2,3]],,[,,"1(?:0\\d\\d|1(?:[02459]|6(?:000|111)|8\\d{3})|[578]|9[167])|2(?:0(?:00|2)0|24)|[3-8]\\d{4}|3\\d{3}|6(?:1[14]|34)|7(?:0[06]|22|40)",,,,"15"],[,,"202\\d|6(?:1[14]|34)|70[06]",,,,"611",,,[3,4]],[,,"118777|224|6(?:1[14]|34)|7(?:0[06]|22|40)|20(?:0\\d|2)\\d",,,,"224",,,[3,4,5,6]],,[,,"114|[3-8]\\d{4}",,,,"114",,,[3,5]]],GA:[,[,,"1\\d(?:\\d{2})?",,,,,,,[2,4]],,,[,,"18|1(?:3\\d|73)\\d",,,,"18"],[,,,,,,,,,[-1]],,,,"GA",,,,,,,,,,,,,,,,,,[,,"1(?:3\\d\\d|730|8)",,,,"18"],,[,,"1(?:3\\d\\d|730|8)",,,,"18"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GB:[,[,,"[1-46-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:05|1(?:[29]|6\\d{3})|7[56]\\d|8000)|2(?:20\\d|48)|4444|999",,,,"105"],[,,,,,,,,,[-1]],,,,"GB",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[015]|1(?:[129]|6(?:000|1(?:11|23))|8\\d{3})|2(?:[1-3]|50)|33|4(?:1|7\\d)|571|7(?:0\\d|[56]0)|800\\d|9[15])|2(?:0202|1300|2(?:02|11)|3(?:02|336|45)|4(?:25|8))|3[13]3|4(?:0[02]|35[01]|44[45]|5\\d)|(?:[68]\\d|7[089])\\d{3}|15\\d|2[02]2|650|789|9(?:01|99)",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:(?:25|7[56])\\d|571)|2(?:02(?:\\d{2})?|[13]3\\d\\d|48)|4444|901",,,,"202",,,[3,4,5]],,[,,"(?:125|2(?:020|13\\d)|(?:7[089]|8[01])\\d\\d)\\d",,,,"1250",,,[4,5]]],GD:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"GD",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"176|9(?:11|88)",,,,"176"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],GE:[,[,,"[014]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"0(?:11|33)|11[1-3]|[01]22",,,,"011",,,[3]],[,,,,,,,,,[-1]],,,,"GE",,,,,,,,,,,,,,,,,,[,,"0(?:11|33)|11[1-3]|[01]22",,,,"011",,,[3]],,[,,"0(?:11|33)|11[1-3]|40404|[01]22",,,,"011"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"GF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GG:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"GG",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[01]|1[12]|23|41|55|9[05])|999|1(?:1[68]\\d\\d|47|800)\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GH:[,[,,"[14589]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"19[1-3]|999",,,,"191",,,[3]],[,,,,,,,,,[-1]],,,,"GH",,,,,,,,,,,,,,,,,,[,,"19[1-3]|999",,,,"191",,,[3]],,[,,"19[1-3]|40404|(?:54|83)00|999",,,,"191"],[,,,,,,,,,[-1]],[,,"404\\d\\d|(?:54|83)0\\d",,,,"5400",,,[4,5]],,[,,"404\\d\\d|(?:54|83)0\\d",,,,"5400",,,[4,5]]],GI:[,[,,"[158]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:00|1[25]|23|4(?:1|7\\d)|5[15]|9[02-49])|555|(?:116\\d|80)\\d\\d",,,,"100",,,[3,4,6]],[,,"8[1-69]\\d\\d",,,,"8100",,,[4]],,,,"GI",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[09])",,,,"112",,,[3]],,[,,"1(?:00|1(?:[25]|6(?:00[06]|1(?:1[17]|23))|8\\d\\d)|23|4(?:1|7[014])|5[015]|9[02-49])|555|8[0-79]\\d\\d|8(?:00|4[0-2]|8[0-589])",,,,"100"],[,,"150|87\\d\\d",,,,"150",,,[3,4]],[,,"1(?:00|1(?:5|8\\d\\d)|23|51|9[2-4])|555|8(?:00|4[0-2]|8[0-589])",,,,"100",,,[3,5]],,[,,,,,,,,,[-1]]],GL:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"GL",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"1[1-8]\\d",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GM:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:1[6-8]|[6-8])",,,,"16"],[,,,,,,,,,[-1]],,,,"GM",,,,,,,,,,,,,,,,,,[,,"1(?:1[6-8]|[6-8])",,,,"16"],,[,,"1(?:1[6-8]|[6-8])",,,,"16"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GN:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,,"GN",,,,,,,,,,,,,,,,,,[,,,,,,,,,[-1]],,[,,"12\\d|40404",,,,"120"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GP:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"GP",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GR:[,[,,"1\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"1(?:0[089]|1(?:2|6\\d{3})|66|99)",,,,"100",,,[3,6]],[,,,,,,,,,[-1]],,,,"GR",,,,,,,,,,,,,,,,,,[,,"1(?:00|12|66|99)",,,,"100",,,[3]],,[,,"1(?:0[089]|1(?:2|320|6(?:000|1(?:1[17]|23)))|(?:389|9)9|66)",,,,"100"],[,,"113\\d\\d",,,,"11300",,,[5]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GT:[,[,,"[14]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:10|2[03])",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"GT",,,,,,,,,,,,,,,,,,[,,"1(?:10|2[03])",,,,"110",,,[3]],,[,,"110|40404|1(?:2|[57]\\d)\\d",,,,"110"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],GU:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"GU",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GW:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[378]",,,,"113"],[,,,,,,,,,[-1]],,,,"GW",,,,,,,,,,,,,,,,,,[,,"11[378]",,,,"113"],,[,,"11[378]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],GY:[,[,,"[019]\\d{2,3}",,,,,,,[3,4]],,,[,,"91[1-3]",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"GY",,,,,,,,,,,,,,,,,,[,,"91[1-3]",,,,"911",,,[3]],,[,,"0(?:02|(?:17|80)1|444|7(?:[67]7|9)|9(?:0[78]|[2-47]))|1(?:443|5[568])|91[1-3]",,,,"002"],[,,,,,,,,,[-1]],[,,"144\\d",,,,"1440",,,[4]],,[,,"144\\d",,,,"1440",,,[4]]],HK:[,[,,"[19]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"112|99[29]",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"HK",,,,,,,,,,,,,,,,,,[,,"112|99[29]",,,,"112",,,[3]],,[,,"1(?:0(?:(?:[0136]\\d|2[14])\\d{0,3}|8[138])|12|2(?:[0-3]\\d{0,4}|(?:58|8[13])\\d{0,3})|7(?:[135-9]\\d{0,4}|219\\d{0,2})|8(?:0(?:(?:[13]|60\\d)\\d|8)|1(?:0\\d|[2-8])|2(?:0[5-9]|(?:18|2)2|3|8[128])|(?:(?:3[0-689]\\d|7(?:2[1-389]|8[0235-9]|93))\\d|8)\\d|50[138]|6(?:1(?:11|86)|8)))|99[29]|10[0139]",,,,"100"],[,,,,,,,,,[-1]],[,,"109|1(?:08|85\\d)\\d",,,,"109",,,[3,4,5]],,[,,"992",,,,"992",,,[3]]],HN:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"HN",,,,,,,,,,,,,,,,,,[,,"199",,,,"199",,,[3]],,[,,"199|40404",,,,"199"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],HR:[,[,,"[016-9]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:12|9[2-4])|9[34]|1(?:16\\d|39)\\d\\d",,,,"93",,,[2,3,5,6]],[,,"06\\d|(?:118|[6-8]\\d{3})\\d\\d",,,,"060",,,[3,5,6]],,,,"HR",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])|9[34]",,,,"93",,,[2,3]],,[,,"(?:06|[6-8]\\d{4})\\d|1(?:1(?:2|6(?:00[06]|1(?:1[17]|23))|8\\d\\d)|3977|9(?:[2-5]|87))|9[34]",,,,"93"],[,,,,,,,,,[-1]],[,,"139\\d\\d",,,,"13900",,,[5]],,[,,"139\\d\\d",,,,"13900",,,[5]]],HT:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[48]",,,,"114",,,[3]],[,,,,,,,,,[-1]],,,,"HT",,,,,,,,,,,,,,,,,,[,,"11[48]",,,,"114",,,[3]],,[,,"11[48]|40404",,,,"114"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],HU:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:0[457]|12|4[0-4]\\d)|1(?:16\\d|37|45)\\d\\d",,,,"104"],[,,,,,,,,,[-1]],,,,"HU",,,,,,,,,,,,,,,,,,[,,"1(?:0[457]|12)",,,,"104",,,[3]],,[,,"1(?:0[457]|1(?:2|6(?:000|1(?:11|23))|800)|2(?:0[0-4]|1[013489]|2[0-5]|3[0-46]|4[0-24-68]|5[0-2568]|6[06]|7[0-25-7]|8[028]|9[08])|37(?:00|37|7[07])|4(?:0[0-5]|1[013-8]|2[034]|3[23]|4[02-9]|5(?:00|41|67))|777|8(?:1[27-9]|2[04]|40|[589]))",,,,"104"],[,,,,,,,,,[-1]],[,,"1(?:4[0-4]|77)\\d|1(?:18|2|45)\\d\\d",,,,"1200",,,[4,5]],,[,,"184\\d",,,,"1840",,,[4]]],ID:[,[,,"[178]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11[02389]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"ID",,,,,,,,,,,,,,,,,,[,,"11[02389]",,,,"110",,,[3]],,[,,"1(?:1[02389]|40\\d\\d|50264)|71400|89887",,,,"110"],[,,,,,,,,,[-1]],[,,"(?:714|898)\\d\\d",,,,"71400",,,[5]],,[,,"714\\d\\d",,,,"71400",,,[5]]],IE:[,[,,"[159]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})|999",,,,"112",,,[3,6]],[,,"5[37]\\d{3}",,,,"53000",,,[5]],,,,"IE",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"11(?:2|6(?:00[06]|1(?:1[17]|23)))|999|(?:1(?:18|9)|5[0137]\\d)\\d\\d",,,,"112"],[,,"51\\d{3}",,,,"51000",,,[5]],[,,"51210",,,,"51210",,,[5]],,[,,"51210|(?:118|5[037]\\d)\\d\\d",,,,"11800",,,[5]]],IL:[,[,,"[12]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[0-2]|12)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"IL",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-2]|12)",,,,"100",,,[3]],,[,,"1(?:0[0-2]|1(?:[013-9]\\d|2)|[2-9]\\d\\d)|2407|(?:104|27)00",,,,"100"],[,,,,,,,,,[-1]],[,,"104\\d\\d",,,,"10400",,,[5]],,[,,"104\\d\\d",,,,"10400",,,[5]]],IM:[,[,,"[189]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"999",,,,"999",,,[3]],[,,,,,,,,,[-1]],,,,"IM",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"1\\d\\d(?:\\d{3})?|8(?:6444|9887)|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"8(?:64|98)\\d\\d",,,,"86400",,,[5]]],IN:[,[,,"[12578]\\d{2,8}",,,,,,,[3,4,5,6,7,8,9]],,,[,,"1(?:0[0-248]|1[289]|21|[39][89]|4[01]|6(?:1|6\\d?)|8[12])|777|800|1[05]5\\d|1(?:07|51|94)\\d\\d?|(?:1(?:[05]5\\d|70)\\d|261)\\d|1(?:0[369]|10|29|3[126]|9[0-256])\\d",,,,"100",,,[3,4,5,6]],[,,"11[67]\\d{4}|56161561",,,,"1160000",,,[7,8]],,,,"IN",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-28]|12|298)|2611",,,,"100",,,[3,4]],,[,,"1(?:0(?:[0-248]|3[39]|5(?:010|6)|6[3468]|7(?:[01357]|[28]0?|4[01])|9[0135-9])|1(?:00|[289])|2(?:1|98)|3(?:11|2[0-2]|63|[89])|4[01]|5(?:1(?:0[0-36]|[127])|54)|6(?:1|6[01]?)|7000|8[12]|9(?:0[013-59]|12|25|4[4-9]\\d?|50|6[1347]|[89]))|2611|5(?:0(?:0(?:0\\d|1|20?)|325|5[2-79]\\d{3,5})|1(?:234|555|717|818|96[49])|2(?:0(?:0[01]|[14]0)|151|555|666|888|9(?:06|99\\d?))|3(?:0[01]0|131|553|(?:66|77)6)|(?:464|55[05])\\d{1,3}|6(?:070|3[68]|43)|717\\d)|777|800|5(?:05(?:0|1\\d)|221|3(?:03|3[23]))\\d{1,4}|5(?:(?:04|88)0|2(?:2[0267]|3[16])|4(?:1[04]|20|3[02])|5(?:3[16]|67)|6(?:06|[67]\\d)|787|9(?:64|90))\\d\\d?|(?:1(?:05[79]|(?:1[67][0-2]|802)\\d|55[23])\\d|5(?:(?:00(?:0\\d|1)|(?:304|616)\\d\\d)\\d|1(?:0[12]|4[2-4])|2(?:2[3589]|3(?:1\\d{3}|2)|4[04]|7[78])|4(?:[02]4|32\\d{4}|4[04]|99)|5(?:1[25]|[36]5|4[45]|93)|7(?:(?:17\\d|57)\\d\\d|[27]7|88)|8(?:3[4-69]|4[01]|5[58]|88(?:8\\d\\d|9)|99)|9(?:0(?:0|2\\d{3})|55|6[67]|77|88)))\\d",,,,"100"],[,,"5(?:14(?:2[5-9]|[34]\\d)|757555)",,,,"51425",,,[5,7]],[,,"1(?:(?:1[67]\\d\\d|70)\\d\\d|55330|909)|5(?:300\\d|6161(?:17[89]|561))|1(?:[19][89]|21|4[01])",,,,"118",,,[3,4,5,6,7,8]],,[,,"1(?:39|90[019])|5(?:14(?:2[5-9]|[34]\\d)|6161(?:17[89]|561)|757555)",,,,"139",,,[3,4,5,7,8]]],IQ:[,[,,"[1479]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[04]|15|22)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"IQ",,,,,,,,,,,,,,,,,,[,,"1(?:0[04]|15|22)",,,,"100",,,[3]],,[,,"1(?:0[04]|15|22)|4432|71117|9988",,,,"100"],[,,,,,,,,,[-1]],[,,"(?:443|711\\d|998)\\d",,,,"4430",,,[4,5]],,[,,"(?:443|711\\d|998)\\d",,,,"4430",,,[4,5]]],IR:[,[,,"[129]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1[0-68]|2[0-59]|9[0-579])|911",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"IR",,,,,,,,,,,,,,,,,,[,,"1(?:1[025]|25)|911",,,,"110",,,[3]],,[,,"1(?:1[0-68]|2[0-59]|3[346-8]|4(?:[0147]|[289]0)|5(?:0[14]|1[02479]|2[0-3]|39|[49]0|65)|6(?:[16]6|[27]|90)|8(?:03|1[18]|22|3[37]|4[28]|88|99)|9[0-579])|20(?:[09]0|1(?:[038]|1[079]|26|9[69])|2[01])|9(?:11|9(?:0009|90))",,,,"110"],[,,"1(?:5[0-469]|8[0-489])\\d",,,,"1500",,,[4]],[,,"(?:1(?:5[0-469]|8[0-489])|99(?:0\\d\\d|9))\\d",,,,"1500",,,[4,6]],,[,,"990\\d{3}",,,,"990000",,,[6]]],IS:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:12|71\\d)",,,,"112",,,[3,4]],[,,,,,,,,,[-1]],,,,"IS",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1(?:1(?:[28]|61(?:16|23))|4(?:00|1[145]|4[0146])|55|7(?:00|17|7[07-9])|8(?:[02]0|1[16-9]|88)|900)",,,,"112"],[,,,,,,,,,[-1]],[,,"14(?:0\\d|41)",,,,"1400",,,[4]],,[,,"1(?:415|90\\d)",,,,"1415",,,[4]]],IT:[,[,,"[14]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"1(?:1(?:[2358]|6\\d{3})|87)",,,,"112",,,[3,6]],[,,"(?:12|4(?:[478](?:[0-4]|[5-9]\\d\\d)|55))\\d\\d",,,,"1200",,,[4,5,7]],,,,"IT",,,,,,,,,,,,,,,,,,[,,"11[2358]",,,,"112",,,[3]],,[,,"1(?:0\\d{2,3}|1(?:[2-57-9]|6(?:000|111))|3[39]|4(?:82|9\\d{1,3})|5(?:00|1[58]|2[25]|3[03]|44|[59])|60|8[67]|9(?:[01]|2[2-9]|4\\d|696))|4(?:2323|5045)|(?:1(?:2|92[01])|4(?:3(?:[01]|[45]\\d\\d)|[478](?:[0-4]|[5-9]\\d\\d)|55))\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"4(?:3(?:[01]|[45]\\d\\d)|[478](?:[0-4]|[5-9]\\d\\d)|5[05])\\d\\d",,,,"43000",,,[5,7]]],JE:[,[,,"[129]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"JE",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:00|1(?:2|8\\d{3})|23|4(?:[14]|28|7\\d)|5\\d|7(?:0[12]|[128]|35?)|808|9[0135])|23[2-4]|999",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],JM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"11[029]|9(?:11|88)",,,,"110"],[,,,,,,,,,[-1]],,,,"JM",,,,,,,,,,,,,,,,,,[,,"11[029]|911",,,,"110"],,[,,"1(?:1[029]|76)|9(?:11|88)",,,,"110"],[,,,,,,,,,[-1]],[,,"176",,,,"176"],,[,,"176",,,,"176"]],JO:[,[,,"[19]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:0[235]|1[2-6]|9[127])|911",,,,"102",,,[3]],[,,"9[0-4689]\\d{3}",,,,"90000",,,[5]],,,,"JO",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[127])|911",,,,"112",,,[3]],,[,,"1(?:0[2359]|1[0-68]|9[0-24-79])|9[0-4689]\\d{3}|911",,,,"102"],[,,,,,,,,,[-1]],[,,"9[0-4689]\\d{3}",,,,"90000",,,[5]],,[,,"9[0-4689]\\d{3}",,,,"90000",,,[5]]],JP:[,[,,"[01]\\d\\d(?:\\d{
15,7})?",,,,,,,[3,8,9,10]],,,[,,"11[089]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"JP",,,,,,,,,,,,,,,,,,[,,"11[09]",,,,"110",,,[3]],,[,,"000[2569]\\d{4,6}|1(?:0[24]|1[089]|44|89)",,,,"102"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"000[2569]\\d{4,6}",,,,"00020000",,,[8,9,10]]],KE:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1(?:[246]|9\\d)|5(?:01|2[127]|6[26]\\d))|999",,,,"112"],[,,"909\\d\\d",,,,"90900",,,[5]],,,,"KE",,,,,,,,,,,,,,,,,,[,,"11[24]|999",,,,"112",,,[3]],,[,,"1(?:0(?:[07-9]|1[0-25]|400)|1(?:[024-6]|9[0-579])|2[1-3]|3[01]|4[14]|5(?:[01][01]|2[0-24-79]|33|4[05]|5[59]|6(?:00|29|6[67]))|(?:6[035]\\d|[78])\\d|9(?:[02-9]\\d\\d|19))|(?:(?:2[0-79]|[37][0-29]|4[0-4]|6[2357]|8\\d)\\d|5(?:[0-7]\\d|99))\\d\\d|9(?:09\\d\\d|99)|8988",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:(?:04|6[35])\\d\\d|3[01]|4[14]|5(?:1\\d|2[25]))|(?:(?:2[0-79]|[37][0-29]|4[0-4]|6[2357]|8\\d)\\d|5(?:[0-7]\\d|99)|909)\\d\\d|898\\d",,,,"130"],,[,,"1(?:(?:04|6[035])\\d\\d|4[14]|5(?:01|55|6[26]\\d))|40404|8988|909\\d\\d",,,,"141"]],KG:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"10[1-3]",,,,"101",,,[3]],[,,,,,,,,,[-1]],,,,"KG",,,,,,,,,,,,,,,,,,[,,"10[1-3]",,,,"101",,,[3]],,[,,"10[1-3]|4040",,,,"101"],[,,,,,,,,,[-1]],[,,"404\\d",,,,"4040",,,[4]],,[,,"404\\d",,,,"4040",,,[4]]],KH:[,[,,"[146]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[7-9]|666",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"KH",,,,,,,,,,,,,,,,,,[,,"11[7-9]|666",,,,"117",,,[3]],,[,,"11[7-9]|40404|666",,,,"117"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],KI:[,[,,"[179]\\d{2,3}",,,,,,,[3,4]],,,[,,"19[2-5]|99[2-4]",,,,"192",,,[3]],[,,,,,,,,,[-1]],,,,"KI",,,,,,,,,,,,,,,,,,[,,"19[2-5]|99[2-4]",,,,"192",,,[3]],,[,,"1(?:05[0-259]|88|9[2-5])|777|99[2-4]|10[0-8]",,,,"100"],[,,"103",,,,"103",,,[3]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KM:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"KM",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KN:[,[,,"[39]\\d\\d",,,,,,,[3]],,,[,,"333|9(?:11|88|99)",,,,"333"],[,,,,,,,,,[-1]],,,,"KN",,,,,,,,,,,,,,,,,,[,,"333|9(?:11|99)",,,,"333"],,[,,"333|9(?:11|88|99)",,,,"333"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KP:[,[,,"[18]\\d\\d",,,,,,,[3]],,,[,,"11[29]|819",,,,"112"],[,,,,,,,,,[-1]],,,,"KP",,,,,,,,,,,,,,,,,,[,,"11[29]|819",,,,"112"],,[,,"11[29]|819",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KR:[,[,,"1\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1[27-9]|28|330|82)",,,,"112",,,[3,4]],[,,,,,,,,,[-1]],,,,"KR",,,,,,,,,,,,,,,,,,[,,"11[29]",,,,"112",,,[3]],,[,,"1(?:[016-9]114|3(?:0[01]|2|3[0-35-9]|45?|5[057]|6[569]|7[79]|8[2589]|9[0189]))|1(?:0[015]|1\\d|2[01357-9]|41|8[28])",,,,"100"],[,,,,,,,,,[-1]],[,,"1(?:0[01]|1[4-6]|41)|1(?:[06-9]1\\d|111)\\d",,,,"100",,,[3,5]],,[,,,,,,,,,[-1]]],KW:[,[,,"[18]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"KW",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1[0-7]\\d|89887",,,,"100"],[,,,,,,,,,[-1]],[,,"898\\d\\d",,,,"89800",,,[5]],,[,,,,,,,,,[-1]]],KY:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"KY",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],KZ:[,[,,"[1-4]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:0[1-3]|12)|212\\d",,,,"101",,,[3,4]],[,,,,,,,,,[-1]],,,,"KZ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-4]|12)|2121|(?:3040|404)0",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:304\\d|404)\\d",,,,"4040",,,[4,5]],,[,,"(?:304\\d|404)\\d",,,,"4040",,,[4,5]]],LA:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[015]",,,,"190"],[,,,,,,,,,[-1]],,,,"LA",,,,,,,,,,,,,,,,,,[,,"19[015]",,,,"190"],,[,,"19[015]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LB:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:12|40|75)|999",,,,"112"],[,,,,,,,,,[-1]],,,,"LB",,,,,,,,,,,,,,,,,,[,,"1(?:12|40|75)|999",,,,"112"],,[,,"1(?:12|40|75)|999",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"LC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LI:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"LI",,,,,,,,,,,,,,,,,,[,,"1(?:1[278]|44)",,,,"112",,,[3]],,[,,"1(?:1(?:[278]|45)|4[3-57]|50|75|81[18])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LK:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"11[02689]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"LK",,,,,,,,,,,,,,,,,,[,,"11[02689]",,,,"110",,,[3]],,[,,"1(?:1[024-9]|3(?:00|1[2-49]|2[23]|3[1-3]|44|5[07]|[67]9|88|9[039])|9(?:0[0-2589]|1[0-357-9]|2[0-25689]|3[0389]|4[0489]|5[014-69]|6[0-2689]|7[03579]|8[02457-9]|9[0-2569]))",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LR:[,[,,"[3489]\\d{2,3}",,,,,,,[3,4]],,,[,,"355|911",,,,"355",,,[3]],[,,,,,,,,,[-1]],,,,"LR",,,,,,,,,,,,,,,,,,[,,"355|911",,,,"355",,,[3]],,[,,"355|4040|8(?:400|933)|911",,,,"355"],[,,,,,,,,,[-1]],[,,"(?:404|8(?:40|93))\\d",,,,"4040",,,[4]],,[,,"(?:404|8(?:40|93))\\d",,,,"4040",,,[4]]],LS:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[257]",,,,"112"],[,,,,,,,,,[-1]],,,,"LS",,,,,,,,,,,,,,,,,,[,,"11[257]",,,,"112"],,[,,"11[257]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LT:[,[,,"[01]\\d(?:\\d(?:\\d{3})?)?",,,,,,,[2,3,6]],,,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|1(?:2|6111))|116(?:0\\d|12)\\d",,,,"01"],[,,,,,,,,,[-1]],,,,"LT",,,,,,,,,,,,,,,,,,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|12)",,,,"01",,,[2,3]],,[,,"0(?:11?|22?|33?)|1(?:0[1-3]|1(?:[27-9]|6(?:000|1(?:1[17]|23))))",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LU:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:[23]|6\\d{3})",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"LU",,,,,,,,,,,,,,,,,,[,,"11[23]",,,,"112",,,[3]],,[,,"11(?:[23]|6(?:000|111))|1(?:18|[25]\\d|3)\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],LV:[,[,,"[018]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"0[1-3]|11(?:[023]|6\\d{3})",,,,"01",,,[2,3,6]],[,,"1180|821\\d\\d",,,,"1180",,,[4,5]],,,,"LV",,,,,,,,,,,,,,,,,,[,,"0[1-3]|11[023]",,,,"01",,,[2,3]],,[,,"0[1-4]|1(?:1(?:[02-4]|6(?:000|111)|8[0189])|(?:5|65)5|77)|821[57]4",,,,"01"],[,,"1181",,,,"1181",,,[4]],[,,"165\\d",,,,"1650",,,[4]],,[,,,,,,,,,[-1]]],LY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[013]",,,,"190"],[,,,,,,,,,[-1]],,,,"LY",,,,,,,,,,,,,,,,,,[,,"19[013]",,,,"190"],,[,,"19[013]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MA:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],,,,"MA",,,,,,,,,,,,,,,,,,[,,"1(?:[59]|77)",,,,"15"],,[,,"1(?:[59]|77)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MC:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"MC",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|41|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MD:[,[,,"[19]\\d{2,5}
1",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6(?:000|1(?:11|2\\d)))|90[1-3]",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"MD",,,,,,,,,,,,,,,,,,[,,"112|90[1-3]",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:1[17]|23))|8\\d\\d?|99)|90[04-9])|90[1-3]|1(?:4\\d\\d|6[0-389]|9[1-4])\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ME:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:12|2[2-4])",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"ME",,,,,,,,,,,,,,,,,,[,,"1(?:12|2[2-4])",,,,"112",,,[3]],,[,,"1(?:1(?:(?:[013-57-9]|6\\d\\d)\\d|2)|[249]\\d{3}|5999|8(?:0[089]|1[0-8]|888))|1(?:[02-5]\\d\\d|60[06]|700)|12\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"MF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MG:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:1[78]|[78])",,,,"17"],[,,,,,,,,,[-1]],,,,"MG",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|[78])",,,,"17"],,[,,"1(?:1[78]|[78])",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MH:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"MH",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MK:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"1(?:1(?:2|6\\d{3})|9[2-4])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"MK",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])",,,,"112",,,[3]],,[,,"1(?:1(?:2|8\\d)|3\\d|9[2-4])|1(?:16|2\\d)\\d{3}",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ML:[,[,,"[136-8]\\d{1,4}",,,,,,,[2,3,4,5]],,,[,,"1[578]|(?:352|67)00|7402|(?:677|744|8000)\\d",,,,"15",,,[2,4,5]],[,,"(?:12|800)2\\d|3(?:52(?:11|2[02]|3[04-6]|99)|7574)",,,,"1220",,,[4,5]],,,,"ML",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15",,,[2]],,[,,"1(?:1(?:[013-9]\\d|2)|2(?:1[02-469]|2[13])|[578])|350(?:35|57)|67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)|800[0-2][12]|3(?:52|[67]\\d)\\d\\d",,,,"15"],[,,"37(?:433|575)|7400|8001\\d",,,,"7400",,,[4,5]],[,,"3503\\d|(?:3[67]\\d|800)\\d\\d",,,,"35030",,,[5]],,[,,"374(?:0[24-9]|[1-9]\\d)|7400|3(?:6\\d|75)\\d\\d",,,,"7400",,,[4,5]]],MM:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"199",,,,"199"],[,,,,,,,,,[-1]],,,,"MM",,,,,,,,,,,,,,,,,,[,,"199",,,,"199"],,[,,"199",,,,"199"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"10[0-35]",,,,"100"],[,,,,,,,,,[-1]],,,,"MN",,,,,,,,,,,,,,,,,,[,,"10[0-35]",,,,"100"],,[,,"10[0-35]",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MO:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"MO",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MP:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"MP",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MQ:[,[,,"[13]\\d(?:\\d(?:\\d(?:\\d{2})?)?)?",,,,,,,[2,3,4,6]],,,[,,"1(?:12|[578])|3[01]\\d\\d",,,,"15",,,[2,3,4]],[,,"3[2469]\\d\\d",,,,"3200",,,[4]],,,,"MQ",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15",,,[2,3]],,[,,"1(?:12|[578])|(?:118[02-9]|3[0-2469])\\d\\d",,,,"15"],[,,"118\\d{3}",,,,"118000",,,[6]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MR:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"MR",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MS:[,[,,"[29]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"MS",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"211|9(?:11|88|99)",,,,"211"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MT:[,[,,"1\\d\\d(?:\\d{3})?",,,,,,,[3,6]],,,[,,"11(?:2|6\\d{3})",,,,"112"],[,,,,,,,,,[-1]],,,,"MT",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"11(?:2|6(?:000|1(?:11|23)))",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MU:[,[,,"[189]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"11[45]|99[59]",,,,"114",,,[3]],[,,,,,,,,,[-1]],,,,"MU",,,,,,,,,,,,,,,,,,[,,"11[45]|99[59]",,,,"114",,,[3]],,[,,"1\\d{2,4}|(?:8\\d\\d|99)\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],MV:[,[,,"[14]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:02|1[89])",,,,"102",,,[3]],[,,,,,,,,,[-1]],,,,"MV",,,,,,,,,,,,,,,,,,[,,"1(?:02|1[89])",,,,"102",,,[3]],,[,,"1(?:[0-37-9]|[4-6]\\d)\\d|4040|1[45]1",,,,"100"],[,,,,,,,,,[-1]],[,,"1[45]1",,,,"141",,,[3]],,[,,,,,,,,,[-1]]],MW:[,[,,"[189]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199|99[7-9]",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"MW",,,,,,,,,,,,,,,,,,[,,"199|99[7-9]",,,,"199",,,[3]],,[,,"199|80400|99[7-9]",,,,"199"],[,,,,,,,,,[-1]],[,,"804\\d\\d",,,,"80400",,,[5]],,[,,"804\\d\\d",,,,"80400",,,[5]]],MX:[,[,,"[0579]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"0(?:6[0568]|80)|911",,,,"060",,,[3]],[,,"(?:530\\d|776)\\d",,,,"7760",,,[4,5]],,,,"MX",,,,,,,,,,,,,,,,,,[,,"0(?:6[0568]|80)|911",,,,"060",,,[3]],,[,,"0[1-9]\\d|53053|7766|911",,,,"010"],[,,,,,,,,,[-1]],[,,"0(?:[249]0|[35][01])",,,,"020",,,[3]],,[,,,,,,,,,[-1]]],MY:[,[,,"[1369]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"112|999",,,,"112",,,[3]],[,,,,,,,,,[-1]],,,,"MY",,,,,,,,,,,,,,,,,,[,,"112|999",,,,"112",,,[3]],,[,,"1(?:0[01348]|1(?:[02]|1[128]|311)|2(?:0[125]|[13-6]|2\\d{0,2})|(?:3[1-35-79]|7[45])\\d\\d?|5(?:454|5\\d\\d?|77|888|999?)|8(?:18?|2|8[18])|9(?:[124]\\d?|68|71|9[0679]))|66628|99[1-469]|13[5-7]|(?:1(?:0[569]|309|5[12]|7[136-9]|9[03])|3[23679]\\d\\d)\\d",,,,"100"],[,,"666\\d\\d",,,,"66600",,,[5]],[,,,,,,,,,[-1]],,[,,"(?:3[23679]\\d|666)\\d\\d",,,,"32000",,,[5]]],MZ:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[79]|9[78])",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"MZ",,,,,,,,,,,,,,,,,,[,,"1(?:1[79]|9[78])",,,,"117",,,[3]],,[,,"1(?:[02-5]\\d\\d|1[79]|9[78])",,,,"117"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NA:[,[,,"[19]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"10111",,,,"10111",,,[5]],[,,,,,,,,,[-1]],,,,"NA",,,,,,,,,,,,,,,,,,[,,"10111",,,,"10111",,,[5]],,[,,"(?:10|93)111|(?:1\\d|9)\\d\\d",,,,"900"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NC:[,[,,"[135]\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:0(?:00|1[23]|3[0-2]|8\\d)|[5-8])|363\\d|577",,,,"15"],[,,,,,,,,,[-1]],,,,"NC",,,,,,,,,,,,,,,,,,[,,"1[5-8]",,,,"15",,,[2]],,[,,"1(?:0(?:0[06]|1[02-46]|20|3[0-25]|42|5[058]|77|88)|[5-8])|3631|5[6-8]\\d",,,,"15"],[,,"5(?:67|88)",,,,"567",,,[3]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NE:[,[,,"[1-3578]\\d(?:\\d(?:\\d{3})?)?",,,,,,,[2,3,6]],,,[,,"1(?:18|[578])|723\\d{3}",,,,"15"],[,,,,,,,,,[-1]],,,,"NE",,,,,,,,,,,,,,,,,,[,,"1(?:18|[578])|723141",,,,"15"],,[,,"1(?:0[01]|1[128]|2[034]|3[013]|[46]0|55?|[78])|222|333|555|723141|888",,,,"15"],[,,,,,,,,,[-1]],[,,"1(?:0[01]|1[12]|2[034]|3[013]|[46]0|55)|222|333|555|888",,,,"100",,,[3]],,[,,,,,,,,,[-1]]],NF:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|55|77)",,,,"911"],[,,,,,,,,,[-1]],,,,"NF",,,,,,,,,,,,,,,,,,[,,"9(?:11|55|77)",,,,"911"],,[,,"9(?:11|55|77)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NG:[,[,,"[14]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"199",,,,"199",,,[3]],[,,,,,,,,,[-1]],,,,"NG",,,,,,,,,,,,,,,,,,[,,"199",,,,"199",,,[3]],,[,,"199|40700",,,,"199"],[,,,,,,,,,[-1]],[,,"407\\d\\d",,,,"40700",,,[5]],,[,,"407\\d\\d",,,,"40700",,,[5]]],NI:[,[,,"[12467]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[58]|2[08])|737\\d",,,,"115"],[,,,,,,,,,[-1]],,,,"NI",,,,,,,,,,,,,,,,,,[,,"1(?:1[58]|2[08])",,,,"115",,,[3]],,[,,"1(?:1[58]|200)|4878|7(?:010|373)|12[0158]|(?:19|[267]1)00",,,,"115"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NL:[,[,,"[1349]\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11(?:2|6\\d{3})|911",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"NL",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:00[06]|1(?:11|23)))|2(?:0[0-4]|3[34]|44)|3[03-9]\\d|400|8(?:[02-9]\\d|1[0-79]))|[34]000|911",,,,"112"],[,,,,,,,,,[-1]],[,,"120\\d",,,,"1200",,,[4]],,[,,"[34]00\\d",,,,"3000",,,[4]]],NO:[,[,,"[01]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:[023]|6\\d{3})",,,,"110",,,[3,6]],[,,,,,,,,,[-1]],,,,"NO",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110",,,[3]],,[,,"04\\d{3}|1(?:1(?:[0239]|61(?:1[17]|23))|2[048]|4(?:12|[59])|7[57]|8\\d\\d|90)",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"04\\d{3}",,,,"04000",,,[5]]],NP:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[0-36]|12)|1(?:09|11)\\d",,,,"100"],[,,,,,,,,,[-1]],,,,"NP",,,,,,,,,,,,,,,,,,[,,"1(?:0[0-3]|12)",,,,"100",,,[3]],,[,,"1(?:0(?:[0-36]|98)|1(?:1[1-4]|2))",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NR:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[0-2]",,,,"110"],[,,,,,,,,,[-1]],,,,"NR",,,,,,,,,,,,,,,,,,[,,"11[0-2]",,,,"110"],,[,,"1(?:1[0-2]|23|92)",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],NU:[,[,,"[019]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"NU",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"01[05]|101|999",,,,"010"],[,,,,,,,,,[-1]],[,,"010",,,,"010"],,[,,,,,,,,,[-1]]],NZ:[,[,,"\\d{3,4}",,,,,,,[3,4]],,,[,,"111",,,,"111",,,[3]],[,,"018",,,,"018",,,[3]],,,,"NZ",,,,,,,,,,,,,,,,,,[,,"111",,,,"111",,,[3]],,[,,"018|1(?:(?:1|37)1|(?:23|94)4|7[03]7)|[2-57-9]\\d{2,3}|6(?:161|26[0-3]|742)",,,,"018"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"018|(?:1(?:23|37|7[03]|94)|6(?:[12]6|74))\\d|[2-57-9]\\d{2,3}",,,,"018"]],OM:[,[,,"[19]\\d{3}",,,,,,,[4]],,,[,,"1444|999\\d",,,,"1444"],[,,,,,,,,,[-1]],,,,"OM",,,,,,,,,,,,,,,,,,[,,"1444|9999",,,,"1444"],,[,,"1(?:111|222|4(?:4[0-5]|50|66|7[7-9])|51[0-8])|9999|1(?:2[3-5]|3[0-2]|50)\\d",,,,"1111"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PA:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"PA",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"10[2-4]|911",,,,"102"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PE:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:05|1[67])",,,,"105"],[,,,,,,,,,[-1]],,,,"PE",,,,,,,,,,,,,,,,,,[,,"1(?:05|1[67])",,,,"105"],,[,,"1(?:05|1[67])",,,,"105"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"PF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PG:[,[,,"[01]\\d{2,6}",,,,,,,[3,4,5,6,7]],,,[,,"000|11[01]",,,,"000",,,[3]],[,,,,,,,,,[-1]],,,,"PG",,,,,,,,,,,,,,,,,,[,,"000|11[01]",,,,"000",,,[3]],,[,,"000|1(?:1[01]|5\\d\\d|6\\d{2,5})",,,,"000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"16\\d{2,5}",,,,"1600",,,[4,5,6,7]]],PH:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"11[27]|911",,,,"112"],[,,,,,,,,,[-1]],,,,"PH",,,,,,,,,,,,,,,,,,[,,"11[27]|911",,,,"112"],,[,,"11[27]|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PK:[,[,,"1\\d{1,3}",,,,,,,[2,3,4]],,,[,,"1(?:1(?:2\\d?|5)|[56])",,,,"15"],[,,,,,,,,,[-1]],,,,"PK",,,,,,,,,,,,,,,,,,[,,"1(?:1(?:22?|5)|[56])",,,,"15"],,[,,"1(?:122|3[014]|[56])|11[2457-9]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PL:[,[,,"[19]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"11(?:2|6\\d{3})|99[7-9]",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"PL",,,,,,,,,,,,,,,,,,[,,"112|99[7-9]",,,,"112",,,[3]],,[,,"1(?:1(?:2|61(?:11|23)|891[23])|9\\d{3})|9(?:8[4-7]|9[1-9])|11[68]000",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PM:[,[,,"[13]\\d(?:\\d\\d(?:\\d{2})?)?",,,,,,,[2,4,6]],,,[,,"1[578]|3(?:0\\d|1[689])\\d",,,,"15",,,[2,4]],[,,"3[2469]\\d\\d",,,,"3200",,,[4]],,,,"PM",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15",,,[2]],,[,,"1[578]|31(?:03|[689]\\d)|(?:118[02-9]|3[02469])\\d\\d",,,,"15"],[,,"118\\d{3}",,,,"118000",,,[6]],[,,"310\\d",,,,"3100",,,[4]],,[,,,,,,,,,[-1]]],PR:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"PR",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PS:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:0[0-2]|66)",,,,"100",,,[3]],[,,,,,,,,,[-1]],,,,"PS",,,,,,,,,,,,,,,,,,[,,"10[0-2]",,,,"100",,,[3]],,[,,"1(?:0[0-2]|122|44|66|99)",,,,"100"],[,,,,,,,,,[-1]],[,,"112\\d",,,,"1120",,,[4]],,[,,,,,,,,,[-1]]],PT:[,[,,"1\\d\\d(?:\\d(?:\\d{2})?)?",,,,,,,[3,4,6]],,,[,,"11[257]|1(?:16\\d\\d|5[1589]|8[279])\\d",,,,"112"],[,,,,,,,,,[-1]],,,,"PT",,,,,,,,,,,,,,,,,,[,,"11[25]",,,,"112",,,[3]],,[,,"1(?:0(?:45|5[01])|1(?:[2578]|600[06])|4(?:1[45]|4)|583|6(?:1[0236]|3[02]|9[169]))|1(?:1611|59)1|1[068]78|1[08]9[16]|1(?:0[1-38]|40|5[15]|6[258]|82)0",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PW:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"PW",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"911",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],PY:[,[,,"[159]\\d\\d(?:\\d{4})?",,,,,,,[3,7]],,,[,,"128|911",,,,"128",,,[3]],[,,,,,,,,,[-1]],,,,"PY",,,,,,,,,,,,,,,,,,[,,"128|911",,,,"128",,,[3]],,[,,"(?:1[01]|51)\\d{5}|911|1[1-9]\\d",,,,"110"],[,,,,,,,,,[-1]],[,,"(?:1[01]|51)\\d{5}",,,,"1000000",,,[7]],,[,,"(?:1[01]|51)\\d{5}",,,,"1000000",,,[7]]],QA:[,[,,"[129]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"99\\d",,,,"990",,,[3]],[,,"900",,,,"900",,,[3]],,,,"QA",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"9(?:00|[19]\\d)|(?:1|20|9[27]\\d)\\d\\d",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RE:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],,,,"RE",,,,,,,,,,,,,,,,,,[,,"1(?:12|[578])",,,,"15"],,[,,"1(?:12|[578])",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RO:[,[,,"[18]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:[23]|6\\d{3})",,,,"112",,,[3,6]],[,,"(?:1(?:18[39]|[24])|8[48])\\d\\d",,,,"1200",,,[4,6]],,,,"RO",,,,,,,,,,,,,,,,,,[,,"112",,,,"112",,,[3]],,[,,"1(?:1(?:[23]|6(?:000|1(?:11|23))|8(?:(?:01|8[18])1|119|[23]00|932))|[24]\\d\\d|9(?:0(?:00|19)|1[19]|21|3[02]|5[178]))|8[48]\\d\\d",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"113|(?:1[24]|8[48])\\d\\d",,,,"113",,,[3,
vendor: 12,190 bytes, line 1
14]]],RS:[,[,,"[19]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"112|9[2-4]",,,,"92",,,[2,3]],[,,,,,,,,,[-1]],,,,"RS",,,,,,,,,,,,,,,,,,[,,"112|9[2-4]",,,,"92",,,[2,3]],,[,,"1[189]\\d{1,4}|9[2-4]",,,,"92"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RU:[,[,,"[01]\\d\\d?",,,,,,,[2,3]],,,[,,"112|(?:0|10)[1-3]",,,,"01"],[,,,,,,,,,[-1]],,,,"RU",,,,,,,,,,,,,,,,,,[,,"112|(?:0|10)[1-3]",,,,"01"],,[,,"112|(?:0|10)[1-4]",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],RW:[,[,,"[14]\\d\\d",,,,,,,[3]],,,[,,"11[1245]",,,,"111"],[,,,,,,,,,[-1]],,,,"RW",,,,,,,,,,,,,,,,,,[,,"11[12]",,,,"111"],,[,,"1(?:0[0-2]|1[0-24-6]|2[13]|70|99)|456",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SA:[,[,,"[19]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|6\\d{3})|9(?:11|37|9[7-9])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"SA",,,,,,,,,,,,,,,,,,[,,"112|9(?:11|9[79])",,,,"112",,,[3]],,[,,"1(?:1(?:00|2|6111)|410|9(?:00|1[89]|9(?:099|22|9[0-3])))|9(?:0[24-79]|11|3[379]|40|66|8[5-9]|9[02-9])",,,,"112"],[,,"141\\d",,,,"1410",,,[4]],[,,"1(?:10|41)\\d|90[24679]",,,,"902",,,[3,4]],,[,,,,,,,,,[-1]]],SB:[,[,,"[127-9]\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SB",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"1(?:[02]\\d|1[12]|[35][01]|[49][1-9]|6[2-9]|7[7-9]|8[0-8])|269|777|835|9(?:[01]1|22|33|55|77|88|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SC:[,[,,"[19]\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[1468]|60)|999",,,,"111",,,[3]],[,,,,,,,,,[-1]],,,,"SC",,,,,,,,,,,,,,,,,,[,,"999",,,,"999",,,[3]],,[,,"1(?:[06]\\d|1[0-246-8]|2[0-8]|3[13]|4[0-2]|5[15]|7[124-6]|8[158]|9[015])|9(?:6\\d\\d|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SD:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SD",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SE:[,[,,"[1-37-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:2|(?:3|6\\d)\\d\\d|414|77)|900\\d\\d",,,,"112"],[,,"11811[89]|72\\d{3}",,,,"72000",,,[5,6]],,,,"SE",,,,,,,,,,,,,,,,,,[,,"112|90000",,,,"112",,,[3,5]],,[,,"11(?:[25]|313|6(?:00[06]|1(?:1[17]|23))|7[0-8])|2(?:2[02358]|33|4[01]|50|6[1-4])|32[13]|8(?:22|88)|9(?:0(?:00|51)0|12)|(?:11(?:4|8[02-46-9])|7\\d\\d|90[2-4])\\d\\d|(?:118|90)1(?:[02-9]\\d|1[013-9])",,,,"112"],[,,,,,,,,,[-1]],[,,"2(?:2[02358]|33|4[01]|50|6[1-4])|32[13]|8(?:22|88)|912",,,,"220",,,[3]],,[,,"7\\d{4}",,,,"70000",,,[5]]],SG:[,[,,"[179]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"99[359]",,,,"993",,,[3]],[,,,,,,,,,[-1]],,,,"SG",,,,,,,,,,,,,,,,,,[,,"99[359]",,,,"993",,,[3]],,[,,"1(?:(?:[01368]\\d|44)\\d|[57]\\d{2,3}|9(?:0[1-9]|[1-9]\\d))|77222|99[02-9]|100",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"772\\d\\d",,,,"77200",,,[5]]],SH:[,[,,"[129]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"9(?:11|99)",,,,"911",,,[3]],[,,,,,,,,,[-1]],,,,"SH",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911",,,[3]],,[,,"1\\d{2,3}|26[01]\\d\\d|9(?:11|99)",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SI:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"11(?:(?:0|6\\d)\\d\\d|[23]|8\\d\\d?)",,,,"112"],[,,,,,,,,,[-1]],,,,"SI",,,,,,,,,,,,,,,,,,[,,"11[23]",,,,"112",,,[3]],,[,,"1(?:1(?:00[146]|[23]|6(?:000|1(?:11|23))|8(?:[08]|99))|9(?:059|1(?:0[12]|16)|5|70|87|9(?:00|[149])))|19(?:08|81)[09]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SJ:[,[,,"[01]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"11[023]",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"SJ",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110",,,[3]],,[,,"04\\d{3}|11[023]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,"04\\d{3}",,,,"04000",,,[5]]],SK:[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:1(?:2|6\\d{3})|5[058])",,,,"112",,,[3,6]],[,,,,,,,,,[-1]],,,,"SK",,,,,,,,,,,,,,,,,,[,,"1(?:12|5[058])",,,,"112",,,[3]],,[,,"1(?:1(?:2|6(?:000|111)|8[0-8])|[248]\\d{3}|5[0589])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SL:[,[,,"[069]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"(?:01|99)9",,,,"019",,,[3]],[,,,,,,,,,[-1]],,,,"SL",,,,,,,,,,,,,,,,,,[,,"(?:01|99)9",,,,"019",,,[3]],,[,,"(?:01|99)9|60400",,,,"019"],[,,,,,,,,,[-1]],[,,"604\\d\\d",,,,"60400",,,[5]],,[,,"604\\d\\d",,,,"60400",,,[5]]],SM:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[358]",,,,"113"],[,,,,,,,,,[-1]],,,,"SM",,,,,,,,,,,,,,,,,,[,,"11[358]",,,,"113"],,[,,"11[358]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SN:[,[,,"[12]\\d{1,5}",,,,,,,[2,3,4,5,6]],,,[,,"1(?:515|[78])|2(?:00|1)\\d{3}",,,,"17",,,[2,4,5,6]],[,,"2(?:0[246]|[468])\\d{3}",,,,"24000",,,[5,6]],,,,"SN",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17",,,[2]],,[,,"1(?:1[69]|(?:[246]\\d|51)\\d)|2(?:0[0-246]|[12468])\\d{3}|1[278]",,,,"12"],[,,"2(?:01|2)\\d{3}",,,,"22000",,,[5,6]],[,,"1[46]\\d\\d",,,,"1400",,,[4]],,[,,"2[468]\\d{3}",,,,"24000",,,[5]]],SO:[,[,,"[57-9]\\d\\d",,,,,,,[3]],,,[,,"555|888|999",,,,"555"],[,,,,,,,,,[-1]],,,,"SO",,,,,,,,,,,,,,,,,,[,,"555|888|999",,,,"555"],,[,,"555|777|888|999",,,,"555"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SR:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"115",,,,"115",,,[3]],[,,,,,,,,,[-1]],,,,"SR",,,,,,,,,,,,,,,,,,[,,"115",,,,"115",,,[3]],,[,,"1\\d{2,3}",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SS:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SS",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ST:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"ST",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"112",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SV:[,[,,"[149]\\d\\d(?:\\d{2,3})?",,,,,,,[3,5,6]],,,[,,"116\\d{3}|911",,,,"911",,,[3,6]],[,,,,,,,,,[-1]],,,,"SV",,,,,,,,,,,,,,,,,,[,,"91[13]",,,,"911",,,[3]],,[,,"1(?:1(?:2|6111)|2[136-8]|3[0-6]|9[05])|40404|9(?:1\\d|29)",,,,"112"],[,,,,,,,,,[-1]],[,,"404\\d\\d",,,,"40400",,,[5]],,[,,"404\\d\\d",,,,"40400",,,[5]]],SX:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:19|88)",,,,"919"],[,,,,,,,,,[-1]],,,,"SX",,,,,,,,,,,,,,,,,,[,,"919",,,,"919"],,[,,"9(?:19|88)",,,,"919"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SY:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],,,,"SY",,,,,,,,,,,,,,,,,,[,,"11[023]",,,,"110"],,[,,"11[023]",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],SZ:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"SZ",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"TC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TD:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],,,,"TD",,,,,,,,,,,,,,,,,,[,,"1[78]",,,,"17"],,[,,"1[78]",,,,"17"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TG:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1[78]|7[127])",,,,"117",,,[3]],[,,,,,,,,,[-1]],,,,"TG",,,,,,,,,,,,,,,,,,[,,"1(?:1[78]|7[127])",,,,"117",,,[3]],,[,,"1(?:011|1[078]|7[127])",,,,"110"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TH:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"1(?:1(?:00|2[03]|3[3479]|7[67]|9[0246])|578|6(?:44|6[79]|88|9[16])|88\\d|9[19])|1[15]55",,,,"191"],[,,"1(?:113|2[23]\\d|5(?:09|56))",,,,"1113",,,[4]],,,,"TH",,,,,,,,,,,,,,,,,,[,,"1(?:669|9[19])",,,,"191"],,[,,"1(?:0[0-2]|1(?:0[03]|1[1-35]|2[0358]|3[03-79]|4[02-489]|5[04-9]|6[04-79]|7[03-9]|8[027-9]|9[02-9])|2(?:22|3[89]|66)|3(?:18|2[23]|3[013]|5[56]|6[45]|73)|477|5(?:0\\d|4[0-37-9]|5[1-8]|6[01679]|7[12568]|8[0-24589]|9[013589])|6(?:0[0-29]|2[03]|4[3-6]|6[1-9]|7[0257-9]|8[0158]|9[014-9])|7(?:[14]9|7[27]|90)|888|9[19])",,,,"100"],[,,"1(?:1(?:03|1[15]|2[58]|3[056]|4[02-49]|5[046-9]|7[03-589]|9[57-9])|5(?:0[0-8]|4[0-378]|5[1-478]|7[156])|6(?:20|4[356]|6[1-68]|7[057-9]|8[015]|9[0457-9]))|1(?:1[68]|26|3[1-35]|5[689]|60|7[17])\\d",,,,"1103",,,[4]],[,,"114[89]",,,,"1148",,,[4]],,[,,,,,,,,,[-1]]],TJ:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],,,,"TJ",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101"],,[,,"1(?:0[1-3]|12)",,,,"101"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TL:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[25]",,,,"112"],[,,,,,,,,,[-1]],,,,"TL",,,,,,,,,,,,,,,,,,[,,"11[25]",,,,"112"],,[,,"1(?:0[02]|1[25]|2[0138]|72|9[07])",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TM:[,[,,"0\\d",,,,,,,[2]],,,[,,"0[1-49]",,,,"01"],[,,,,,,,,,[-1]],,,,"TM",,,,,,,,,,,,,,,,,,[,,"0[1-3]",,,,"01"],,[,,"0[1-49]",,,,"01"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[078]",,,,"190"],[,,,,,,,,,[-1]],,,,"TN",,,,,,,,,,,,,,,,,,[,,"19[078]",,,,"190"],,[,,"19[078]",,,,"190"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TO:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|22|33|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"TO",,,,,,,,,,,,,,,,,,[,,"9(?:11|22|33|99)",,,,"911"],,[,,"9(?:11|22|33|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TR:[,[,,"[1-9]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:1[02]|22|3[126]|4[04]|5[15-9]|6[18]|77|83)",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"TR",,,,,,,,,,,,,,,,,,[,,"1(?:1[02]|55)",,,,"110",,,[3]],,[,,"1(?:1(?:[02-79]|8(?:1[018]|2[0245]|3[2-4]|42|5[058]|6[06]|7[07]|8[01389]|9[089]))|3(?:37|[58]6|65)|471|5(?:07|78)|6(?:[02]6|99)|8(?:63|95))|2(?:077|268|4(?:17|23)|5(?:7[26]|82)|6[14]4|8\\d\\d|9(?:30|89))|3(?:0(?:05|72)|353|4(?:06|30|64)|502|674|747|851|9(?:1[29]|60))|4(?:0(?:25|3[12]|[47]2)|3(?:3[13]|[89]1)|439|5(?:43|55)|717|832)|5(?:145|290|[4-6]\\d\\d|772|833|9(?:[06]1|92))|6(?:236|6(?:12|39|8[59])|769)|7890|8(?:688|7(?:28|65)|85[06])|9(?:159|290)|1[2-9]\\d",,,,"110"],[,,"(?:285|542)0",,,,"2850",,,[4]],[,,,,,,,,,[-1]],,[,,"1(?:3(?:37|[58]6|65)|4(?:4|71)|5(?:07|78)|6(?:[02]6|99)|8(?:3|63|95))|(?:2(?:07|26|4[12]|5[78]|6[14]|8\\d|9[38])|3(?:0[07]|[38]5|4[036]|50|67|74|9[16])|4(?:0[2-47]|3[389]|[48]3|5[45]|71)|5(?:14|29|[4-6]\\d|77|83|9[069])|6(?:23|6[138]|76)|789|8(?:68|7[26]|85)|9(?:15|29))\\d",,,,"144",,,[3,4]]],TT:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:88|9[09])",,,,"988"],[,,,,,,,,,[-1]],,,,"TT",,,,,,,,,,,,,,,,,,[,,"99[09]",,,,"990"],,[,,"9(?:88|9[09])",,,,"988"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TV:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"911",,,,"911"],[,,,,,,,,,[-1]],,,,"TV",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"1\\d\\d|911",,,,"100"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TW:[,[,,"1\\d{2,3}",,,,,,,[3,4]],,,[,,"11[0289]|1(?:81|92)\\d",,,,"110"],[,,"10[56]",,,,"105",,,[3]],,,,"TW",,,,,,,,,,,,,,,,,,[,,"11[029]",,,,"110",,,[3]],,[,,"1(?:0[04-6]|1[0237-9]|3[389]|6[05-8]|7[07]|8(?:0|11)|9(?:19|22|5[057]|68|8[05]|9[15689]))",,,,"100"],[,,"1(?:65|9(?:1\\d|50|85|98))",,,,"165"],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],TZ:[,[,,"[149]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"1(?:1[0-79]|9[09])|999",,,,"110",,,[3]],[,,,,,,,,,[-1]],,,,"TZ",,,,,,,,,,,,,,,,,,[,,"11[0-245]|999",,,,"110",,,[3]],,[,,"1(?:1\\d|9[09])|46400|999",,,,"110"],[,,,,,,,,,[-1]],[,,"464\\d\\d",,,,"46400",,,[5]],,[,,"464\\d\\d",,,,"46400",,,[5]]],UA:[,[,,"[189]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"1(?:0[1-3]|1(?:2|6\\d{3}))",,,,"101",,,[3,6]],[,,,,,,,,,[-1]],,,,"UA",,,,,,,,,,,,,,,,,,[,,"1(?:0[1-3]|12)",,,,"101",,,[3]],,[,,"1(?:0[1-49]|1(?:2|6(?:000|1(?:11|23))|8\\d\\d?)|(?:[278]|5\\d)\\d)|[89]00\\d\\d?|151|1(?:06|4\\d|6)\\d\\d",,,,"101"],[,,,,,,,,,[-1]],[,,"(?:118|[89]00)\\d\\d?",,,,"1180",,,[4,5]],,[,,,,,,,,,[-1]]],UG:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"999",,,,"999"],[,,,,,,,,,[-1]],,,,"UG",,,,,,,,,,,,,,,,,,[,,"999",,,,"999"],,[,,"999",,,,"999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],US:[,[,,"[1-9]\\d{2,5}",,,,,,,[3,4,5,6]],,,[,,"112|611|9(?:11|33|88)",,,,"112",,,[3]],[,,"24280|(?:381|968)35|4(?:3355|7553|8221)|5(?:(?:489|934)2|5928)|72078|(?:323|960)40|(?:276|414)63|(?:2(?:520|744)|7390|9968)9|(?:693|732|976)88|(?:3(?:556|825)|5294|8623|9729)4|(?:3378|4136|7642|8961|9979)6|(?:4(?:6(?:15|32)|827)|(?:591|720)8|9529)7",,,,"24280",,,[5]],,,,"US",,,,,,,,,,,,,,,,,,[,,"112|911",,,,"112",,,[3]],,[,,"11(?:2|5[1-47]|[68]\\d|7[0-57]|98)|[2-9]\\d{3,5}|[2-8]11|9(?:11|33|88)",,,,"112"],[,,"2(?:3333|(?:4224|7562|900)2|56447|6688)|3(?:1010|2665|7404)|40404|560560|6(?:0060|22639|5246|7622)|7(?:0701|3822|4666)|8(?:(?:3825|7226)5|4816)|99099",,,,"23333",,,[5,6]],[,,"336\\d\\d|[2-9]\\d{3}|[2356]11",,,,"211",,,[3,4,5]],,[,,"[2-9]\\d{4,5}",,,,"20000",,,[5,6]]],UY:[,[,,"[1
19]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"128|911",,,,"128",,,[3]],[,,,,,,,,,[-1]],,,,"UY",,,,,,,,,,,,,,,,,,[,,"128|911",,,,"128",,,[3]],,[,,"1(?:0[4-9]|1[2368]|2[0-3568]|787|997\\d?)|911",,,,"104"],[,,"178\\d",,,,"1780",,,[4]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],UZ:[,[,,"[04]\\d(?:\\d(?:\\d{2})?)?",,,,,,,[2,3,5]],,,[,,"0(?:0[1-3]|[1-3]|50)",,,,"01",,,[2,3]],[,,,,,,,,,[-1]],,,,"UZ",,,,,,,,,,,,,,,,,,[,,"0(?:0[1-3]|[1-3]|50)",,,,"01",,,[2,3]],,[,,"0(?:0[1-3]|[1-3]|50)|45400",,,,"01"],[,,,,,,,,,[-1]],[,,"454\\d\\d",,,,"45400",,,[5]],,[,,"454\\d\\d",,,,"45400",,,[5]]],VA:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[2358]",,,,"112"],[,,,,,,,,,[-1]],,,,"VA",,,,,,,,,,,,,,,,,,[,,"11[2358]",,,,"112"],,[,,"11[2358]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VC:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"VC",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VE:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"1(?:12|71)|911",,,,"112"],[,,,,,,,,,[-1]],,,,"VE",,,,,,,,,,,,,,,,,,[,,"1(?:12|71)|911",,,,"112"],,[,,"1(?:12|71)|911",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VG:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],,,,"VG",,,,,,,,,,,,,,,,,,[,,"9(?:11|99)",,,,"911"],,[,,"9(?:11|88|99)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VI:[,[,,"9\\d\\d",,,,,,,[3]],,,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],,,,"VI",,,,,,,,,,,,,,,,,,[,,"911",,,,"911"],,[,,"9(?:11|88)",,,,"911"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VN:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"11[3-5]",,,,"113"],[,,,,,,,,,[-1]],,,,"VN",,,,,,,,,,,,,,,,,,[,,"11[3-5]",,,,"113"],,[,,"11[3-5]",,,,"113"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],VU:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"112",,,,"112"],[,,,,,,,,,[-1]],,,,"VU",,,,,,,,,,,,,,,,,,[,,"112",,,,"112"],,[,,"112",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],WF:[,[,,"1\\d",,,,,,,[2]],,,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],,,,"WF",,,,,,,,,,,,,,,,,,[,,"1[578]",,,,"15"],,[,,"1[578]",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],WS:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"9(?:11|9[4-69])",,,,"911"],[,,,,,,,,,[-1]],,,,"WS",,,,,,,,,,,,,,,,,,[,,"9(?:11|9[4-69])",,,,"911"],,[,,"1(?:1[12]|2[0-6]|[39]0)|9(?:11|9[4-79])",,,,"111"],[,,,,,,,,,[-1]],[,,"12[0-6]",,,,"120"],,[,,,,,,,,,[-1]]],XK:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"1(?:12|9[2-4])",,,,"112"],[,,,,,,,,,[-1]],,,,"XK",,,,,,,,,,,,,,,,,,[,,"1(?:12|9[2-4])",,,,"112"],,[,,"1(?:12|9[2-4])",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],YE:[,[,,"1\\d\\d",,,,,,,[3]],,,[,,"19[1459]",,,,"191"],[,,,,,,,,,[-1]],,,,"YE",,,,,,,,,,,,,,,,,,[,,"19[1459]",,,,"191"],,[,,"19[1459]",,,,"191"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],YT:[,[,,"1\\d\\d?",,,,,,,[2,3]],,,[,,"1(?:12|5)",,,,"15"],[,,,,,,,,,[-1]],,,,"YT",,,,,,,,,,,,,,,,,,[,,"1(?:12|5)",,,,"15"],,[,,"1(?:12|5)",,,,"15"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ZA:[,[,,"[134]\\d{2,4}",,,,,,,[3,4,5]],,,[,,"1(?:01\\d\\d|12)",,,,"112",,,[3,5]],[,,"41(?:348|851)",,,,"41348",,,[5]],,,,"ZA",,,,,,,,,,,,,,,,,,[,,"1(?:01(?:11|77)|12)",,,,"112",,,[3,5]],,[,,"1(?:0(?:1(?:11|77)|20|7)|1[12]|77(?:3[237]|[45]7|6[279]|9[26]))|[34]\\d{4}",,,,"107"],[,,"3(?:078[23]|7(?:064|567)|8126)|4(?:394[16]|7751|8837)|4[23]699",,,,"30782",,,[5]],[,,"111",,,,"111",,,[3]],,[,,"[34]\\d{4}",,,,"30000",,,[5]]],ZM:[,[,,"[19]\\d\\d",,,,,,,[3]],,,[,,"112|99[139]",,,,"112"],[,,,,,,,,,[-1]],,,,"ZM",,,,,,,,,,,,,,,,,,[,,"112|99[139]",,,,"112"],,[,,"112|99[139]",,,,"112"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,[,,,,,,,,,[-1]]],ZW:[,[,,"[139]\\d\\d(?:\\d{2})?",,,,,,,[3,5]],,,[,,"112|9(?:5[023]|61|9[3-59])",,,,"112",,,[3]],[,,"3[013-57-9]\\d{3}",,,,"30000",,,[5]],,,,"ZW",,,,,,,,,,,,,,,,,,[,,"112|99[3-59]",,,,"112",,,[3]],,[,,"11[2469]|3[013-57-9]\\d{3}|9(?:5[023]|6[0-25]|9[3-59])",,,,"112"],[,,,,,,,,,[-1]],[,,"114|9(?:5[023]|6[0-25])",,,,"114",,,[3]],,[,,,,,,,,,[-1]]]},i18n.phonenumbers.ShortNumberInfo=function(){this.regionToMetadataMap={}},goog.addSingletonGetter(i18n.phonenumbers.ShortNumberInfo),i18n.phonenumbers.Short
1NumberInfo.REGIONS_WHERE_EMERGENCY_NUMBERS_MUST_BE_EXACT_=["BR","CL","NI"],i18n.phonenumbers.ShortNumberInfo.ShortNumberCost={TOLL_FREE:0,STANDARD_RATE:1,PREMIUM_RATE:2,UNKNOWN_COST:3},i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodesForCountryCode_=function(e){return(e=i18n.phonenumbers.metadata.countryCodeToRegionCodeMap[e])?e:[]},i18n.phonenumbers.ShortNumberInfo.prototype.regionDialingFromMatchesNumber_=function(e,t){return e=this.getRegionCodesForCountryCode_(e.getCountryCodeOrDefault()),null!=t&&e.includes(t)},i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumberForRegion=function(e,t){return!!(this.regionDialingFromMatchesNumber_(e,t)&&(t=this.getMetadataForRegion_(t)))&&(e=this.getNationalSignificantNumber_(e).length,t.getGeneralDesc().possibleLengthArray().includes(e))},i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumber=function(e){var t=this.getRegionCodesForCountryCode_(e.getCountryCodeOrDefault());e=this.getNationalSignificantNumber_(e).length;for(var r=0;r<t.length;r++){var n=this.getMetadataForRegion_(t[r]);if(n&&n.getGeneralDesc().possibleLengthArray().includes(e))return!0}return!1},i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumberForRegion=function(e,t){if(!this.regionDialingFromMatchesNumber_(e,t)||!(t=this.getMetadataForRegion_(t)))return!1;e=this.getNationalSignificantNumber_(e);var r=t.getGeneralDesc();return!!this.matchesPossibleNumberAndNationalNumber_(e,r)&&(t=t.getShortCode(),this.matchesPossibleNumberAndNationalNumber_(e,t))},i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumber=function(e){var t=this.getRegionCodesForCountryCode_(e.getCountryCodeOrDefault()),r=this.getRegionCodeForShortNumberFromRegionList_(e,t);return 1<t.length&&null!=r||this.isValidShortNumberForRegion(e,r)},i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCostForRegion=function(e,t){var r=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost;if(!this.regionDialingFromMatchesNumber_(e,t))return r.UNKNOWN_COST;var n=this.getMetadataForRegion_(t);return n?(e=this.getNationalSignificantNumber_(e),n.getGeneralDesc().possibleLengthArray().includes(e.length)?this.matchesPossibleNumberAndNationalNumber_(e,n.getPremiumRate())?r.PREMIUM_RATE:this.matchesPossibleNumberAndNationalNumber_(e,n.getStandardRate())?r.STANDARD_RATE:this.matchesPossibleNumberAndNationalNumber_(e,n.getTollFree())||this.isEmergencyNumber(e,t)?r.TOLL_FREE:r.UNKNOWN_COST:r.UNKNOWN_COST):r.UNKNOWN_COST},i18n.phonenumbers.ShortNumberInfo.prototype.getExpectedCost=function(e){var t=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost,r=this.getRegionCodesForCountryCode_(e.getCountryCodeOrDefault());if(0===r.length)return t.UNKNOWN_COST;if(1===r.length)return this.getExpectedCostForRegion(e,r[0]);for(var n=t.TOLL_FREE,o=0;o<r.length;o++){var i=this.getExpectedCostForRegion(e,r[o]);switch(i){case t.PREMIUM_RATE:return t.PREMIUM_RATE;case t.UNKNOWN_COST:n=t.UNKNOWN_COST;break;case t.STANDARD_RATE:n!==t.UNKNOWN_COST&&(n=t.STANDARD_RATE);break;case t.TOLL_FREE:break;default:throw Error("Unrecognized cost for region: "+i)}}return n},i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodeForShortNumberFromRegionList_=function(e,t){if(0===t.length)return null;if(1===t.length)return t[0];e=this.getNationalSignificantNumber_(e);for(var r=0;r<t.length;r++){var n=t[r],o=this.getMetadataForRegion_(n);if(o&&this.matchesPossibleNumberAndNationalNumber_(e,o.getShortCode()))return n}return null},i18n.phonenumbers.ShortNumberInfo.prototype.getSupportedRegions=function(){return Object.keys(i18n.phonenumbers.shortnumbermetadata.countryToMetadata).filter(function(e){return isNaN(e)})},i18n.phonenumbers.ShortNumberInfo.prototype.getExampleShortNumber=function(e){return(e=this.getMetadataForRegion_(e))&&(e=e.getShortCode()).hasExampleNumber()&&e.getExampleNumber()||""},i18n.phonenumbers.ShortNumberInfo.prototype.getExampleShortNumberForCost=function(e,t){if(!(e=this.getMetadataForRegion_(e)))return"";var r=i18n.phonenumbers.ShortNumberInfo.ShortNumberCost,n=null;switch(t){case r.TOLL_FREE:n=e.getTollFree();break;case r.STANDARD_RATE:n=e.getStandardRate();break;case r.PREMIUM_RATE:n=e.getPremiumRate()}return n&&n.hasExampleNumber()&&n.getExampleNumber()||""}
1,i18n.phonenumbers.ShortNumberInfo.prototype.connectsToEmergencyNumber=function(e,t){return this.matchesEmergencyNumberHelper_(e,t,!0)},i18n.phonenumbers.ShortNumberInfo.prototype.isEmergencyNumber=function(e,t){return this.matchesEmergencyNumberHelper_(e,t,!1)},i18n.phonenumbers.ShortNumberInfo.prototype.getMetadataForRegion_=function(e){if(!e)return null;e=e.toUpperCase();var t=this.regionToMetadataMap[e];if(null==t){t=new goog.proto2.PbLiteSerializer;var r=i18n.phonenumbers.shortnumbermetadata.countryToMetadata[e];if(null==r)return null;t=t.deserialize(i18n.phonenumbers.PhoneMetadata.getDescriptor(),r),this.regionToMetadataMap[e]=t}return t},i18n.phonenumbers.ShortNumberInfo.prototype.matchesEmergencyNumberHelper_=function(e,t,r){var n=i18n.phonenumbers.PhoneNumberUtil.extractPossibleNumber(e);return!i18n.phonenumbers.PhoneNumberUtil.LEADING_PLUS_CHARS_PATTERN.test(n)&&null!=(e=this.getMetadataForRegion_(t))&&!!e.hasEmergency()&&(n=i18n.phonenumbers.PhoneNumberUtil.normalizeDigitsOnly(n),t=r&&!i18n.phonenumbers.ShortNumberInfo.REGIONS_WHERE_EMERGENCY_NUMBERS_MUST_BE_EXACT_.includes(t),r=e.getEmergency().getNationalNumberPatternOrDefault(),i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(r,n)||t&&i18n.phonenumbers.PhoneNumberUtil.matchesPrefix(r,n))},i18n.phonenumbers.ShortNumberInfo.prototype.isCarrierSpecific=function(e){var t=this.getRegionCodesForCountryCode_(e.getCountryCodeOrDefault());return t=this.getRegionCodeForShortNumberFromRegionList_(e,t),e=this.getNationalSignificantNumber_(e),!!(t=this.getMetadataForRegion_(t))&&this.matchesPossibleNumberAndNationalNumber_(e,t.getCarrierSpecific())},i18n.phonenumbers.ShortNumberInfo.prototype.isCarrierSpecificForRegion=function(e,t){return!!this.regionDialingFromMatchesNumber_(e,t)&&(e=this.getNationalSignificantNumber_(e),!!(t=this.getMetadataForRegion_(t))&&this.matchesPossibleNumberAndNationalNumber_(e,t.getCarrierSpecific()))},i18n.phonenumbers.ShortNumberInfo.prototype.isSmsServiceForRegion=function(e,t){return!!this.regionDialingFromMatchesNumber_(e,t)&&(t=this.getMetadataForRegion_(t),e=this.getNationalSignificantNumber_(e),!!t&&this.matchesPossibleNumberAndNationalNumber_(e,t.getSmsServices()))},i18n.phonenumbers.ShortNumberInfo.prototype.getNationalSignificantNumber_=function(e){if(!e.hasNationalNumber())return"";var t=""+e.getNationalNumber();return e.hasItalianLeadingZero()&&e.getItalianLeadingZero()&&0<e.getNumberOfLeadingZerosOrDefault()?Array(e.getNumberOfLeadingZerosOrDefault()+1).join("0")+t:t},i18n.phonenumbers.ShortNumberInfo.prototype.matchesPossibleNumberAndNationalNumber_=function(e,t){return(!(0<t.possibleLengthArray().length)||!!t.possibleLengthArray().includes(e.length))&&i18n.phonenumbers.PhoneNumberUtil.matchesEntirely(t.getNationalNumberPatternOrDefault(),e.toString())},i18n.phonenumbers.AsYouTypeFormatter=function(e){this.DIGIT_PLACEHOLDER_=" ",this.DIGIT_PATTERN_=new RegExp(this.DIGIT_PLACEHOLDER_),this.currentOutput_="",this.formattingTemplate_=new goog.string.StringBuffer,this.currentFormattingPattern_="",this.accruedInput_=new goog.string.StringBuffer,this.accruedInputWithoutFormatting_=new goog.string.StringBuffer,this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=this.isCompleteNumber_=this.inputHasFormatting_=!1,this.phoneUtil_=i18n.phonenumbers.PhoneNumberUtil.getInstance(),this.positionToRemember_=this.originalPosition_=this.lastMatchPosition_=0,this.prefixBeforeNationalNumber_=new goog.string.StringBuffer,this.shouldAddSpaceAfterNationalPrefix_=!1,this.extractedNationalPrefix_="",this.nationalNumber_=new goog.string.StringBuffer,this.possibleFormats_=[],this.defaultCountry_=e,this.defaultMetadata_=this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_)},i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_=" ",i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_=new i18n.phonenumbers.PhoneMetadata,i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_.setInternationalPrefix("NA"),i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_=RegExp("^["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*\\$1["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*(\\$\\d["+i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION+"]*)*$"),i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_=/[- ]/,i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_=3,i18n.phonenumbers.AsYouTypeFormatter.prototype.getMetadataForRegion_=function(e){return e=this.phoneUtil_.getCountryCodeForRegion(e),e=this.phoneUtil_.getRegionCodeForCountryCode(e),null!=(e=this.phoneUtil_.getMetadataForRegion(e))?e:i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_},i18n.phonenumbers.AsYouTypeFormatter.prototype.maybeCreateNewTemplate_=function(){for(var e=this.possibleFormats_.length,t=0;t<e;++t){var r=this.possibleFormats_[t],n=r.getPatternOrDefault();if(this.currentFormattingPattern_==n)return!1;if(this.createFormattingTemplate_(r))return this.currentFormattingPattern_=n,this.shouldAddSpaceAfterNationalPrefix_=i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(r.getNationalPrefixFormattingRule()),this.lastMatchPosition_=0,!0}return this.ableToFormat_=!1},i18n.phonenumbers.AsYouTypeFormatter.prototype.getAvailableFormats_=function(e){for(var t=this.isCompleteNumber_&&0==this.extractedNationalPrefix_.length&&0<this.currentMetadata_.intlNumberFormatCount()?this.currentMetadata_.intlNumberFormatArray():this.currentMetadata_.numberFormatArray(),r=t.length,n=0;n<r;++n){var o=t[n];0<this.extractedNationalPrefix_.length&&this.phoneUtil_.formattingRuleHasFirstGroupOnly(o.getNationalPrefixFormattingRuleOrDefault())&&!o.getNationalPrefixOptionalWhenFormatting()&&!o.hasDomesticCarrierCodeFormattingRule()||(0!=this.extractedNationalPrefix_.length||this.isCompleteNumber_||this.phoneUtil_.formattingRuleHasFirstGroupOnly(o.getNationalPrefixFormattingRuleOrDefault())||o.getNationalPrefixOptionalWhenFormatting())&&i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_.test(o.getFormatOrDefault())&&this.possibleFormats_.push(o)}this.narrowDownPossibleFormats_(e)},i18n.phonenumbers.AsYouTypeFormatter.prototype.narrowDownPossibleFormats_=function(e){for(var t=[],r=e.length-i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_,n=this.possibleFormats_.length,o=0;o<n;++o){var i=this.possibleFormats_[o];if(0==i.leadingDigitsPatternCount())t.push(this.possibleFormats_[o]);else{var a=Math.min(r,i.leadingDigitsPatternCount()-1);i=i.getLeadingDigitsPattern(a),0==e.search(i)&&t.push(this.possibleFormats_[o])}}this.possibleFormats_=t},i18n.phonenumbers.AsYouTypeFormatter.prototype.createFormattingTemplate_=function(e){var t=e.getPatternOrDefault();return this.formattingTemplate_.clear(),0<(e=this.getFormattingTemplate_(t,e.getFormatOrDefault())).length&&(this.formattingTemplate_.append(e),!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.getFormattingTemplate_=function(e,t){var r="999999999999999".match(e)[0];return r.length<this.nationalNumber_.getLength()?"":e=(e=r.replace(RegExp(e,"g"),t)).replace(/9/g,this.DIGIT_PLACEHOLDER_)},i18n.phonenumbers.AsYouTypeFormatter.prototype.clear=function(){this.currentOutput_="",this.accruedInput_.clear(),this.accruedInputWithoutFormatting_.clear(),this.formattingTemplate_.clear(),this.lastMatchPosition_=0,this.currentFormattingPattern_="",this.prefixBeforeNationalNumber_.clear(),this.extractedNationalPrefix_="",this.nationalNumber_.clear(),this.ableToFormat_=!0,this.inputHasFormatting_=!1,this.originalPosition_=this.positionToRemember_=0,this.isExpectingCountryCallingCode_=this.isCompleteNumber_=!1,this.possibleFormats_=[],this.shouldAddSpaceAfterNationalPrefix_=!1,this.currentMetadata_!=this.defaultMetadata_&&(this.currentMetadata_=this.getMetadataForRegion_(this.defaultCountry_))},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigit=function(e){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(e,!1)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitAndRememberPosition=function(e){return this.currentOutput_=this.inputDigitWithOptionToRememberPosition_(e,!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitWithOptionToRememberPosition_=function(e,t){if(this.accruedInput_.append(e),t&&(this.originalPosition_=this.accruedInput_.getLength()),this.isDigitOrLeadingPlusSign_(e)?e=this.normalizeAndAccrueDigitsAndPlusSign_(e,t):(this.ableToFormat_=!1,this.inputHasFormatting_=!0),!this.ableToFormat_){if(!this.inputHasFormatting_){if(this.attemptToExtractIdd_()){if(this.attemptToExtractCountryCallingCode_())return this.attemptToChoosePatternWithPrefixExtracted_()}else if(this.ableToExtractLongerNdd_())return this.prefixBeforeNationalNumber_.append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.attemptToChoosePatternWithPrefixExtracted_()}return this.accruedInput_.toString()}switch(this.accruedInputWithoutFormatting_.getLength()){case 0:case 1:case 2:return this.accruedInput_.toString();case 3:if(!this.attemptToExtractIdd_())return this.extractedNationalPrefix_=this.removeNationalPrefixFromNationalNumber_(),this.attemptToChooseFormattingPattern_();this.isExpectingCountryCallingCode_=!0;default:if(this.isExpectingCountryCallingCode_)return this.attemptToExtractCountryCallingCode_()&&(this.isExpectingCountryCallingCode_=!1),this.prefixBeforeNationalNumber_.toString()+this.nationalNumber_.toString();if(0<this.possibleFormats_.length){if(e=this.inputDigitHelper_(e),0<(t=this.attemptToFormatAccruedDigits_()).length)return t;return this.narrowDownPossibleFormats_(this.nationalNumber_.toString()),this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.ableToFormat_?this.appendNationalNumber_(e):this.accruedInput_.toString()}return this.attemptToChooseFormattingPattern_()}},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToChoosePatternWithPrefixExtracted_=function(){return this.ableToFormat_=!0,this.isExpectingCountryCallingCode_=!1,this.possibleFormats_=[],this.lastMatchPosition_=0,this.formattingTemplate_.clear(),this.currentFormattingPattern_="",this.attemptToChooseFormattingPattern_()},i18n.phonenumbers.AsYouTypeFormatter.prototype.getExtractedNationalPrefix_=function(){return this.extractedNationalPrefix_},i18n.phonenumbers.AsYouTypeFormatter.prototype.ableToExtractLongerNdd_=function(){if(0<this.extractedNationalPrefix_.length){var e=this.nationalNumber_.toString();this.nationalNumber_.clear(),this.nationalNumber_.append(this.extractedNationalPrefix_),this.nationalNumber_.append(e);var t=(e=this.prefixBeforeNationalNumber_.toString()).lastIndexOf(this.extractedNationalPrefix_);this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(e.substring(0,t))}return this.extractedNationalPrefix_!=this.removeNationalPrefixFromNationalNumber_()},i18n.phonenumbers.AsYouTypeFormatter.prototype.isDigitOrLeadingPlusSign_=function(e){return i18n.phonenumbers.PhoneNumberUtil.CAPTURING_DIGIT_PATTERN.test(e)||1==this.accruedInput_.getLength()&&i18n.phonenumbers.PhoneNumberUtil.PLUS_CHARS_PATTERN.test(e)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToFormatAccruedDigits_=function(){for(var e=this.nationalNumber_.toString(),t=this.possibleFormats_.length,r=0;r<t;++r){var n=this.possibleFormats_[r],o=n.getPatternOrDefault();if(RegExp("^(?:"+o+")$").test(e)&&(this.shouldAddSpaceAfterNationalPrefix_=i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_.test(n.getNationalPrefixFormattingRule()),n=e.replace(RegExp(o,"g"),n.getFormat()),n=this.appendNationalNumber_(n),i18n.phonenumbers.PhoneNumberUtil.normalizeDiallableCharsOnly(n)==this.accruedInputWithoutFormatting_))return n}return""},i18n.phonenumbers.AsYouTypeFormatter.prototype.appendNationalNumber_=function(e){var t=this.prefixBeforeNationalNumber_.getLength();return this.shouldAddSpaceAfterNationalPrefix_&&0<t&&this.prefixBeforeNationalNumber_.toString().charAt(t-1)!=i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_?this.prefixBeforeNationalNumber_+i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_+e:this.prefixBeforeNationalNumber_+e},i18n.phonenumbers.AsYouTypeFormatter.prototype.getRememberedPosition=function(){if(!this.ableToFormat_)return this.originalPosition_;for(var e=0,t=0,r=this.accruedInputWithoutFormatting_.toString(),n=this.currentOutput_.toString();e<this.positionToRemember_&&t<n.length;)r.charAt(e)==n.charAt(t)&&e++,t++;return t},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToChooseFormattingPattern_=function(){var e=this.nationalNumber_.toString();return e.length>=i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_?(this.getAvailableFormats_(e),0<(e=this.attemptToFormatAccruedDigits_()).length?e:this.maybeCreateNewTemplate_()?this.inputAccruedNationalNumber_():this.accruedInput_.toString()):this.appendNationalNumber_(e)}
1,i18n.phonenumbers.AsYouTypeFormatter.prototype.inputAccruedNationalNumber_=function(){var e=this.nationalNumber_.toString(),t=e.length;if(0<t){for(var r="",n=0;n<t;n++)r=this.inputDigitHelper_(e.charAt(n));return this.ableToFormat_?this.appendNationalNumber_(r):this.accruedInput_.toString()}return this.prefixBeforeNationalNumber_.toString()},i18n.phonenumbers.AsYouTypeFormatter.prototype.isNanpaNumberWithNationalPrefix_=function(){if(1!=this.currentMetadata_.getCountryCode())return!1;var e=this.nationalNumber_.toString();return"1"==e.charAt(0)&&"0"!=e.charAt(1)&&"1"!=e.charAt(1)},i18n.phonenumbers.AsYouTypeFormatter.prototype.removeNationalPrefixFromNationalNumber_=function(){var e=this.nationalNumber_.toString(),t=0;if(this.isNanpaNumberWithNationalPrefix_())t=1,this.prefixBeforeNationalNumber_.append("1").append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.isCompleteNumber_=!0;else if(this.currentMetadata_.hasNationalPrefixForParsing()){var r=RegExp("^(?:"+this.currentMetadata_.getNationalPrefixForParsing()+")");null!=(r=e.match(r))&&null!=r[0]&&0<r[0].length&&(this.isCompleteNumber_=!0,t=r[0].length,this.prefixBeforeNationalNumber_.append(e.substring(0,t)))}return this.nationalNumber_.clear(),this.nationalNumber_.append(e.substring(t)),e.substring(0,t)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractIdd_=function(){var e=this.accruedInputWithoutFormatting_.toString(),t=RegExp("^(?:\\"+i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN+"|"+this.currentMetadata_.getInternationalPrefix()+")");return null!=(t=e.match(t))&&null!=t[0]&&0<t[0].length&&(this.isCompleteNumber_=!0,t=t[0].length,this.nationalNumber_.clear(),this.nationalNumber_.append(e.substring(t)),this.prefixBeforeNationalNumber_.clear(),this.prefixBeforeNationalNumber_.append(e.substring(0,t)),e.charAt(0)!=i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN&&this.prefixBeforeNationalNumber_.append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.attemptToExtractCountryCallingCode_=function(){if(0==this.nationalNumber_.getLength())return!1;var e=new goog.string.StringBuffer,t=this.phoneUtil_.extractCountryCode(this.nationalNumber_,e);return 0!=t&&(this.nationalNumber_.clear(),this.nationalNumber_.append(e.toString()),e=this.phoneUtil_.getRegionCodeForCountryCode(t),i18n.phonenumbers.PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY==e?this.currentMetadata_=this.phoneUtil_.getMetadataForNonGeographicalRegion(t):e!=this.defaultCountry_&&(this.currentMetadata_=this.getMetadataForRegion_(e)),this.prefixBeforeNationalNumber_.append(""+t).append(i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_),this.extractedNationalPrefix_="",!0)},i18n.phonenumbers.AsYouTypeFormatter.prototype.normalizeAndAccrueDigitsAndPlusSign_=function(e,t){if(e==i18n.phonenumbers.PhoneNumberUtil.PLUS_SIGN){var r=e;this.accruedInputWithoutFormatting_.append(e)}else r=i18n.phonenumbers.PhoneNumberUtil.DIGIT_MAPPINGS[e],this.accruedInputWithoutFormatting_.append(r),this.nationalNumber_.append(r);return t&&(this.positionToRemember_=this.accruedInputWithoutFormatting_.getLength()),r},i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitHelper_=function(e){var t=this.formattingTemplate_.toString();if(0<=t.substring(this.lastMatchPosition_).search(this.DIGIT_PATTERN_)){var r=t.search(this.DIGIT_PATTERN_);return e=t.replace(this.DIGIT_PATTERN_,e),this.formattingTemplate_.clear(),this.formattingTemplate_.append(e),this.lastMatchPosition_=r,e.substring(0,this.lastMatchPosition_+1)}return 1==this.possibleFormats_.length&&(this.ableToFormat_=!1),this.currentFormattingPattern_="",this.accruedInput_.toString()},Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i18n.phonenumbers,module.exports=exports.default}).call(this)}).call(this,void 0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})},4674:(e,t,r)=>{"use strict";var n=r(17020),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return n.isMemo(e)?s:u[e.$$typeof]||o}u[n.ForwardRef]=a,u[n.Memo]=s;var d=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;function g(e,t,r){if("string"!=typeof t){if(m){var n=f(t);n&&n!==m&&g(e,n,r)}var o=c(t);
1p&&(o=o.concat(p(t)));for(var a=l(e),s=l(t),u=0;u<o.length;++u){var y=o[u];if(!i[y]&&!(r&&r[y])&&!(s&&s[y])&&!(a&&a[y])){var b=h(t,y);try{d(e,y,b)}catch(e){}}}}return e}e.exports=g},31943:(e,t,r)=>{var n=r(47406).stringify,o=r(98800);e.exports=function(e){return{parse:o(e),stringify:n}},e.exports.parse=o(),e.exports.stringify=n},98800:(e,t,r)=>{var n=null;let o=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,i=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;var a=function(e){"use strict";var t={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(null!=e){if(!0===e.strict&&(t.strict=!0),!0===e.storeAsString&&(t.storeAsString=!0),t.alwaysParseAsBig=!0===e.alwaysParseAsBig&&e.alwaysParseAsBig,t.useNativeBigInt=!0===e.useNativeBigInt&&e.useNativeBigInt,void 0!==e.constructorAction){if("error"===e.constructorAction||"ignore"===e.constructorAction||"preserve"===e.constructorAction)t.constructorAction=e.constructorAction;else throw Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${e.constructorAction}`)}if(void 0!==e.protoAction){if("error"===e.protoAction||"ignore"===e.protoAction||"preserve"===e.protoAction)t.protoAction=e.protoAction;else throw Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${e.protoAction}`)}}var a,s,u,l,d={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"	"},c=function(e){throw{name:"SyntaxError",message:e,at:a,text:u}},p=function(e){return e&&e!==s&&c("Expected '"+e+"' instead of '"+s+"'"),s=u.charAt(a),a+=1,s},h=function(){var e,o="";for("-"===s&&(o="-",p("-"));s>="0"&&s<="9";)o+=s,p();if("."===s)for(o+=".";p()&&s>="0"&&s<="9";)o+=s;if("e"===s||"E"===s)for(o+=s,p(),("-"===s||"+"===s)&&(o+=s,p());s>="0"&&s<="9";)o+=s,p();if(isFinite(e=+o))return(null==n&&(n=r(90172)),o.length>15)?t.storeAsString?o:t.useNativeBigInt?BigInt(o):new n(o):t.alwaysParseAsBig?t.useNativeBigInt?BigInt(e):new n(e):e;c("Bad number")},f=function(){var e,t,r,n="";if('"'===s)for(var o=a;p();){if('"'===s)return a-1>o&&(n+=u.substring(o,a-1)),p(),n;if("\\"===s){if(a-1>o&&(n+=u.substring(o,a-1)),p(),"u"===s){for(t=0,r=0;t<4&&isFinite(e=parseInt(p(),16));t+=1)r=16*r+e;n+=String.fromCharCode(r)}else if("string"==typeof d[s])n+=d[s];else break;o=a}}c("Bad string")},m=function(){for(;s&&s<=" ";)p()},g=function(){switch(s){case"t":return p("t"),p("r"),p("u"),p("e"),!0;case"f":return p("f"),p("a"),p("l"),p("s"),p("e"),!1;case"n":return p("n"),p("u"),p("l"),p("l"),null}c("Unexpected '"+s+"'")},y=function(){var e=[];if("["===s){if(p("["),m(),"]"===s)return p("]"),e;for(;s;){if(e.push(l()),m(),"]"===s)return p("]"),e;p(","),m()}}c("Bad array")},b=function(){var e,r=Object.create(null);if("{"===s){if(p("{"),m(),"}"===s)return p("}"),r;for(;s;){if(e=f(),m(),p(":"),!0===t.strict&&Object.hasOwnProperty.call(r,e)&&c('Duplicate key "'+e+'"'),!0===o.test(e)?"error"===t.protoAction?c("Object contains forbidden prototype property"):"ignore"===t.protoAction?l():r[e]=l():!0===i.test(e)?"error"===t.constructorAction?c("Object contains forbidden constructor property"):"ignore"===t.constructorAction?l():r[e]=l():r[e]=l(),m(),"}"===s)return p("}"),r;p(","),m()}}c("Bad object")};return l=function(){switch(m(),s){case"{":return b();case"[":return y();case'"':return f();case"-":return h();default:return s>="0"&&s<="9"?h():g()}},function(e,t){var r;return u=e+"",a=0,s=" ",r=l(),m(),s&&c("Syntax error"),"function"==typeof t?function e(r,n){var o,i=r[n];
1return i&&"object"==typeof i&&Object.keys(i).forEach(function(t){void 0!==(o=e(i,t))?i[t]=o:delete i[t]}),t.call(r,n,i)}({"":r},""):r}};e.exports=a},47406:(e,t,r)=>{var n=r(90172),o=e.exports;!function(){"use strict";var e,t,r,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function s(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,function(e){var t=a[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function u(o,i){var a,l,d,c,p,h=e,f=i[o],m=null!=f&&(f instanceof n||n.isBigNumber(f));switch(f&&"object"==typeof f&&"function"==typeof f.toJSON&&(f=f.toJSON(o)),"function"==typeof r&&(f=r.call(i,o,f)),typeof f){case"string":if(m)return f;return s(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":case"bigint":return String(f);case"object":if(!f)return"null";if(e+=t,p=[],"[object Array]"===Object.prototype.toString.apply(f)){for(a=0,c=f.length;a<c;a+=1)p[a]=u(a,f)||"null";return d=0===p.length?"[]":e?"[\n"+e+p.join(",\n"+e)+"\n"+h+"]":"["+p.join(",")+"]",e=h,d}if(r&&"object"==typeof r)for(a=0,c=r.length;a<c;a+=1)"string"==typeof r[a]&&(d=u(l=r[a],f))&&p.push(s(l)+(e?": ":":")+d);else Object.keys(f).forEach(function(t){var r=u(t,f);r&&p.push(s(t)+(e?": ":":")+r)});return d=0===p.length?"{}":e?"{\n"+e+p.join(",\n"+e)+"\n"+h+"}":"{"+p.join(",")+"}",e=h,d}}"function"!=typeof o.stringify&&(o.stringify=function(n,o,i){var a;if(e="",t="","number"==typeof i)for(a=0;a<i;a+=1)t+=" ";else"string"==typeof i&&(t=i);if(r=o,o&&"function"!=typeof o&&("object"!=typeof o||"number"!=typeof o.length))throw Error("JSON.stringify");return u("",{"":n})})}()},15322:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function o(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}r.d(t,{x6:()=>G,Zh:()=>e7,Ru:()=>e6,Bd:()=>J});var i,a=r(97408),s=r(80663),u=r(44349),l=r(73752),d=r.n(l),c=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function p(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(d()[r[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("--\x3e");return{type:"comment",comment:-1!==n?e.slice(4,n):""}}for(var o=new RegExp(c),i=null;null!==(i=o.exec(e));)if(i[0].trim()){if(i[1]){var a=i[1].trim(),s=[a,""];a.indexOf("=")>-1&&(s=a.split("=")),t.attrs[s[0]]=s[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1))}return t}var h=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,f=/^\s*$/,m=Object.create(null);function g(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var r in e)t.push(r+'="'+e[r]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(g,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}let y={parse:function(e,t){t||(t={}),t.components||(t.components=m);var r,n=[],o=[],i=-1,a=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");n.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(h,function(s,u){if(a){if(s!=="</"+r.name+">")return;a=!1}var l,d="/"!==s.charAt(1),c=s.startsWith("\x3c!--"),h=u+s.length,m=e.charAt(h);if(c){var g=p(s);return i<0?n.push(g):(l=o[i]).children.push(g),n}if(d&&(i++,"tag"===(r=p(s)).type&&t.components[r.name]&&(r.type="component",a=!0),r.voidElement||a||!m||"<"===m||r.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===i&&n.push(r),(l=o[i-1])&&l.children.push(r),o[i]=r),(!d||r.voidElement)&&(i>-1&&(r.voidElement||r.name===s.slice(2,-1))&&(r=-1==--i?n:o[i]),!a&&"<"!==m&&m)){l=-1===i?n:o[i].children;var y=e.indexOf("<",h),b=e.slice(h,-1===y?void 0:y);f.test(b)&&(b=" "),(y>-1&&i+l.length>=0||" "!==b)&&l.push({type:"text",content:b})}}),n}};var b=r(77401),v=r(48209),S=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/g,_={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"'},w=function(e){return _[e]};function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var T={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(S,w)}},E=(0,u.createContext)();function P(){return T}var k=function(){function e(){(0,b.A)(this,e),this.usedNamespaces={}}return(0,v.A)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach(function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function D(){return i}function A(){if(console&&console.warn){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];"string"==typeof r[0]&&(r[0]="react-i18next:: ".concat(r[0])),(e=console).warn.apply(e,r)}}var O={};function N(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];"string"==typeof t[0]&&O[t[0]]||("string"==typeof t[0]&&(O[t[0]]=new Date),A.apply(void 0,t))}function C(e,t,r){e.loadNamespaces(t,function(){if(e.isInitialized)r();else{var t=function t(){setTimeout(function(){e.off("initialized",t)},0),r()};e.on("initialized",t)}})}function $(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===n.toLowerCase())return!0;var a=function(e,r){var n=t.services.backendConnector.state["".concat(e,"|").concat(r)];return -1===n||2===n};return(!(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1)||!t.services.backendConnector.backend||!t.isLanguageChangingTo||!!a(t.isLanguageChangingTo,e))&&!!(t.hasResourceBundle(n,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(n,e)&&(!o||a(i,e)))}function M(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,n){if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.
1isLanguageChangingTo,e))return!1}}):$(e,t,r):(N("i18n.languages were undefined or empty",t.languages),!0)}var I=["format"],L=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function F(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach(function(t){(0,s.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function B(e,t){if(!e)return!1;var r=e.props?e.props.children:e.children;return t?r.length>0:!!r}function U(e){return e?e&&e.children?e.children:e.props&&e.props.children:[]}function j(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every(function(e){return(0,u.isValidElement)(e)})}function V(e){return Array.isArray(e)?e:[e]}function z(e,t){var r=F({},t);return r.props=Object.assign(e.props,t.props),r}function H(e,t){if(!e)return"";var r="",n=V(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return n.forEach(function(e,n){if("string"==typeof e)r+="".concat(e);else if((0,u.isValidElement)(e)){var s=Object.keys(e.props).length,l=i.indexOf(e.type)>-1,d=e.props.children;if(!d&&l&&0===s)r+="<".concat(e.type,"/>");else if(d||l&&0===s){if(e.props.i18nIsDynamicList)r+="<".concat(n,"></").concat(n,">");else if(l&&1===s&&"string"==typeof d)r+="<".concat(e.type,">").concat(d,"</").concat(e.type,">");else{var c=H(d,t);r+="<".concat(n,">").concat(c,"</").concat(n,">")}}else r+="<".concat(n,"></").concat(n,">")}else if(null===e)A("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,a.A)(e)){var p=e.format,h=Object.keys(o(e,I));if(1===h.length){var f=p?"".concat(h[0],", ").concat(p):h[0];r+="{{".concat(f,"}}")}else A("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else A("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)}),r}function W(e,t,r,n,o,i){if(""===t)return[];var s=n.transKeepBasicHtmlNodesFor||[],l=t&&new RegExp(s.join("|")).test(t);if(!e&&!l)return[t];var d={};function c(e){V(e).forEach(function(e){"string"==typeof e||(B(e)?c(U(e)):"object"!==(0,a.A)(e)||(0,u.isValidElement)(e)||Object.assign(d,e))})}c(e);var p=y.parse("<0>".concat(t,"</0>")),h=F(F({},d),o);function f(e,t,r){var n=U(e),o=g(n,t.children,r);return j(n)&&0===o.length?n:o}function m(e,t,r,n,o){e.dummy&&(e.children=t),r.push((0,u.cloneElement)(e,F(F({},e.props),{},{key:n}),o?void 0:t))}function g(t,o,d){var c=V(t);return V(o).reduce(function(t,o,p){var y=o.children&&o.children[0]&&o.children[0].content&&r.services.interpolator.interpolate(o.children[0].content,h,r.language);if("tag"===o.type){var b=c[parseInt(o.name,10)];!b&&1===d.length&&d[0][o.name]&&(b=d[0][o.name]),b||(b={});var v=0!==Object.keys(o.attrs).length?z({props:o.attrs},b):b,S=(0,u.isValidElement)(v),_=S&&B(o,!0)&&!o.voidElement,w=l&&"object"===(0,a.A)(v)&&v.dummy&&!S,x="object"===(0,a.A)(e)&&null!==e&&Object.hasOwnProperty.call(e,o.name);if("string"==typeof v){var T=r.services.interpolator.interpolate(v,h,r.language);t.push(T)}else if(B(v)||_){var E=f(v,o,d);m(v,E,t,p)}else if(w){var P=g(c,o.children,d);t.push((0,u.cloneElement)(v,F(F({},v.props),{},{key:p}),P))}else if(Number.isNaN(parseFloat(o.name))){if(x){var k=f(v,o,d);m(v,k,t,p,o.voidElement)}else if(n.transSupportBasicHtmlNodes&&s.indexOf(o.name)>-1){if(o.voidElement)t.push((0,u.createElement)(o.name,{key:"".concat(o.name,"-").concat(p)}));else{var D=g(c,o.children,d);t.push((0,u.createElement)(o.name,{key:"".concat(o.name,"-").concat(p)},D))}}else if(o.voidElement)t.push("<".concat(o.name," />"));else{var A=g(c,o.children,d);t.push("<".concat(o.name,">").concat(A,"</").concat(o.name,">"))}}else if("object"!==(0,a.A)(v)||S)1===o.children.length&&y?t.push((0,u.cloneElement)(v,F(F({},v.props),{},{key:p}),y)):t.push((0,u.cloneElement)(v,F(F({},v.props),{},{key:p})));else{var O=o.children[0]?y:null;O&&t.push(O)}}else if("text"===o.type){var N=n.transWrapTextNodes,C=i?n.unescape(r.services.interpolator.interpolate(o.content,h,r.language)):r.services.interpolator.interpolate(o.content,h,r.language);N?t.push((0,u.createElement)(N,{key:"".concat(o.name,"-").concat(p)},C)):t.push(C)}return t},[])}return U(g([{dummy:!0,children:e||[]}],p,V(e||[]))[0])}function G(e){var t=e.children,r=e.count,n=e.parent,i=e.i18nKey,a=e.context,s=e.tOptions,l=void 0===s?{}:s,d=e.values,c=e.defaults,p=e.components,h=e.ns,f=e.i18n,m=e.t,g=e.shouldUne
1scape,y=o(e,L),b=(0,u.useContext)(E)||{},v=b.i18n,S=b.defaultNS,_=f||v||D();if(!_)return N("You will need to pass in an i18next instance by using i18nextReactModule"),t;var w=m||_.t.bind(_)||function(e){return e};a&&(l.context=a);var x=F(F({},P()),_.options&&_.options.react),T=h||w.ns||S||_.options&&_.options.defaultNS;T="string"==typeof T?[T]:T||["translation"];var k=c||H(t,x)||x.transEmptyNodeValue||i,A=x.hashTransKey,O=i||(A?A(k):k),C=d?l.interpolation:{interpolation:F(F({},l.interpolation),{},{prefix:"#$?",suffix:"?$#"})},$=F(F(F(F({},l),{},{count:r},d),C),{},{defaultValue:k,ns:T}),M=W(p||t,O?w(O,$):k,_,x,$,g),I=void 0!==n?n:x.defaultTransParent;return I?(0,u.createElement)(I,y,M):M}var q=r(18728);function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function K(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach(function(t){(0,s.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Z=function(e,t){var r=(0,u.useRef)();return(0,u.useEffect)(function(){r.current=t?r.current:e},[e,t]),r.current};function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.i18n,n=(0,u.useContext)(E)||{},o=n.i18n,i=n.defaultNS,a=r||o||D();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new k),!a){N("You will need to pass in an i18next instance by using initReactI18next");var s=function(e){return Array.isArray(e)?e[e.length-1]:e},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&void 0!==a.options.react.wait&&N("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var d=K(K(K({},P()),a.options.react),t),c=d.useSuspense,p=d.keyPrefix,h=e||i||a.options&&a.options.defaultNS;h="string"==typeof h?[h]:h||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(h);var f=(a.isInitialized||a.initializedStoreOnce)&&h.every(function(e){return M(e,a,d)});function m(){return a.getFixedT(null,"fallback"===d.nsMode?h:h[0],p)}var g=(0,u.useState)(m),y=(0,q.A)(g,2),b=y[0],v=y[1],S=h.join(),_=Z(S),w=(0,u.useRef)(!0);(0,u.useEffect)(function(){var e=d.bindI18n,t=d.bindI18nStore;function r(){w.current&&v(m)}return w.current=!0,f||c||C(a,h,function(){w.current&&v(m)}),f&&_&&_!==S&&w.current&&v(m),e&&a&&a.on(e,r),t&&a&&a.store.on(t,r),function(){w.current=!1,e&&a&&e.split(" ").forEach(function(e){return a.off(e,r)}),t&&a&&t.split(" ").forEach(function(e){return a.store.off(e,r)})}},[a,S]);var x=(0,u.useRef)(!0);(0,u.useEffect)(function(){w.current&&!x.current&&v(m),x.current=!1},[a]);var T=[b,a,f];if(T.t=b,T.i18n=a,T.ready=f,f||!f&&!c)return T;throw new Promise(function(e){C(a,h,function(){e()})})}var X=r(69932),Q=r(4674),ee=r.n(Q);function et(e){var t=e.i18n,r=e.defaultNS,n=e.children,o=(0,u.useMemo)(function(){return{i18n:t,defaultNS:r}},[t,r]);return(0,u.createElement)(E.Provider,{value:o},n)}var er={defaultNS:"common",errorStackTraceLimit:0,i18n:{defaultLocale:"en",locales:["en"]},get initImmediate(){return"undefined"!=typeof window},interpolation:{escapeValue:!1},load:"currentOnly",localeExtension:"json",localePath:"./public/locales",localeStructure:"{{lng}}/{{ns}}",react:{useSuspense:!1},reloadOnPrerender:!1,serializeConfig:!0,strictMode:!0,use:[]},en=["i18n"],eo=["i18n"];function ei(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ea(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ei(Object(r),!0).forEach(function(t){(0,s.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ei(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var es=["backend","detection"],eu=function(e){if("string"!=typeof(null==e?void 0:e.lng))throw Error("config.lng was not passed into createConfig");var t,r=e.i18n,n=o(e,en),i=er.i18n,a=ea(ea(ea(ea({},o(er,eo)),n),i),r),s=a.defaultNS,u=a.lng,l=(a.locales,a.localeExtension),d=a.localePath,c=a.localeStructure;return"cimode"===u||(void 0===a.fallbackLng&&(a.fallbackLng=a.defaultLocale),(null==e?void 0:null===(t=e.use)||void 0===t?void 0:t.some(function(e){return"backend"===e.type}))||("string"==typeof d?a.backend={addPath:"".concat(d,"/").concat(c,".missing.").concat(l),loadPath:"".concat(d,"/").concat(c,".").concat(l)}:"function"!=typeof d||(a.backend={addPath:function(e,t){return d(e,t,!0)},loadPath:function(e,t){return d(e,t,!1)}})),"string"==typeof a.ns||Array.isArray(a.ns)||(a.ns=[s]),es.forEac
1h(function(t){e[t]&&(a[t]=ea(ea({},a[t]),e[t]))})),a};let el=e=>"string"==typeof e,ed=()=>{let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r},ec=e=>null==e?"":""+e,ep=(e,t,r)=>{e.forEach(e=>{t[e]&&(r[e]=t[e])})},eh=/###/g,ef=e=>e&&e.indexOf("###")>-1?e.replace(eh,"."):e,em=e=>!e||el(e),eg=(e,t,r)=>{let n=el(t)?t.split("."):t,o=0;for(;o<n.length-1;){if(em(e))return{};let t=ef(n[o]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++o}return em(e)?{}:{obj:e,k:ef(n[o])}},ey=(e,t,r)=>{let{obj:n,k:o}=eg(e,t,Object);if(void 0!==n||1===t.length){n[o]=r;return}let i=t[t.length-1],a=t.slice(0,t.length-1),s=eg(e,a,Object);for(;void 0===s.obj&&a.length;)i=`${a[a.length-1]}.${i}`,s=eg(e,a=a.slice(0,a.length-1),Object),s?.obj&&void 0!==s.obj[`${s.k}.${i}`]&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=r},eb=(e,t,r,n)=>{let{obj:o,k:i}=eg(e,t,Object);o[i]=o[i]||[],o[i].push(r)},ev=(e,t)=>{let{obj:r,k:n}=eg(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},eS=(e,t,r)=>{let n=ev(e,r);return void 0!==n?n:ev(t,r)},e_=(e,t,r)=>{for(let n in t)"__proto__"!==n&&"constructor"!==n&&(n in e?el(e[n])||e[n]instanceof String||el(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):e_(e[n],t[n],r):e[n]=t[n]);return e},ew=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var ex={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};let eT=e=>el(e)?e.replace(/[&<>"'\/]/g,e=>ex[e]):e;class eE{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}let eP=[" ",",","?","!",";"],ek=new eE(20),eD=(e,t,r)=>{t=t||"",r=r||"";let n=eP.filter(e=>0>t.indexOf(e)&&0>r.indexOf(e));if(0===n.length)return!0;let o=ek.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),i=!o.test(e);if(!i){let t=e.indexOf(r);t>0&&!o.test(e.substring(0,t))&&(i=!0)}return i},eA=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let n=t.split(r),o=e;for(let e=0;e<n.length;){let t;if(!o||"object"!=typeof o)return;let i="";for(let a=e;a<n.length;++a)if(a!==e&&(i+=r),i+=n[a],void 0!==(t=o[i])){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<n.length-1)continue;e+=a-e+1;break}o=t}return o},eO=e=>e?.replace("_","-"),eN={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class eC{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||eN,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,n){return n&&!this.debug?null:(el(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new eC(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new eC(this.logger,e)}}var e$=new eC;class eM{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.observers[e]&&Array.from(this.observers[e].entries()).forEac
1h(e=>{let[t,n]=e;for(let e=0;e<n;e++)t(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(t=>{let[n,o]=t;for(let t=0;t<o;t++)n.apply(n,[e,...r])})}}class eI extends eM{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){let n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,a=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?n=e.split("."):(n=[e,t],r&&(Array.isArray(r)?n.push(...r):el(r)&&i?n.push(...r.split(i)):n.push(r)));let s=ev(this.data,n);return(!s&&!t&&!r&&e.indexOf(".")>-1&&(e=n[0],t=n[1],r=n.slice(2).join(".")),!s&&a&&el(r))?eA(this.data?.[e]?.[t],r,i):s}addResource(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,a=[e,t];r&&(a=a.concat(i?r.split(i):r)),e.indexOf(".")>-1&&(a=e.split("."),n=t,t=a[1]),this.addNamespaces(t),ey(this.data,a,n),o.silent||this.emit("added",e,t,r,n)}addResources(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let n in r)(el(r[n])||Array.isArray(r[n]))&&this.addResource(e,t,n,r[n],{silent:!0});n.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),n=r,r=t,t=a[1]),this.addNamespaces(t);let s=ev(this.data,a)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?e_(s,r,o):s={...s,...r},ey(this.data,a,s),i.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var eL={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,o){return e.forEach(e=>{t=this.processors[e]?.process(t,r,n,o)??t}),t}};let eR={},eF=e=>!el(e)&&"boolean"!=typeof e&&"number"!=typeof e;class eB extends eM{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),ep(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=e$.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let r=this.resolve(e,t);return r?.res!==void 0}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=r&&e.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!eD(e,r,n);if(i&&!a){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:el(o)?[o]:o};let i=e.split(r);(r!==n||r===n&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(n)}return{key:e,namespaces:el(o)?[o]:o}}translate(e,t,r){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let n=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:i,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],u=t.lng||this.language,l=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u?.toLowerCase()==="cimode"){if(l){let e=t.nsSeparator||this.options.nsSeparator;return n?{res:`${s}${e}${i}`,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${i}`}return n?{res:i,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:i}let d=this.resolve(e,t),c=d?.res,p=d?.usedKey||i,h=d?.exactUsedKey||i,f=["[object Number]","[object Function]","[object RegExp]"],m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject,y=void 0!==t.count&&!el(t.count),b=eB.hasDefaultValue(t),v=y?this.pluralResolver.getSuffix(u,t.count,t):"",S=t.ordinal&&y?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",_=y&&!t.ordinal&&0===t.count,w=_&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${v}`]||t[`defaultValue${S}`]||t.defaultValue,x=c;g&&!c&&b&&(x=w);let T=eF(x),E=Object.prototype.toString.apply(x);if(g&&x&&T&&0>f.indexOf(E)&&!(el(m)&&Array.isArray(x))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,x,{...t,ns:a}):`key '${i} (${this.language})' returned an object instead of string.`;return n?(d.res=e,d.usedParams=this.getUsedParamsDetails(t),d):e}if(o){let e=Array.isArray(x),r=e?[]:{},n=e?h:p;for(let e in x)if(Object.prototype.hasOwnProperty.call(x,e)){let i=`${n}${o}${e}`;b&&!c?r[e]=this.translate(i,{...t,defaultValue:eF(w)?w[e]:void 0,joinArrays:!1,ns:a}):r[e]=this.translate(i,{...t,joinArrays:!1,ns:a}),r[e]===i&&(r[e]=x[e])}c=r}}else if(g&&el(m)&&Array.isArray(c))(c=c.join(m))&&(c=this.extendTranslation(c,e,t,r));else{let n=!1,a=!1;!this.isValidLookup(c)&&b&&(n=!0,c=w),this.isValidLookup(c)||(a=!0,c=i);let l=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:c,p=b&&w!==c&&this.options.updateMissing;if(a||n||p){if(this.logger.log(p?"updateKey":"missingKey",u,s,i,p?w:c),o){let e=this.resolve(i,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&r&&r[0])for(let t=0;t<r.length;t++)e.push(r[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);let n=(e,r,n)=>{let o=b&&n!==c?n:l;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,r,o,p,t):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,s,r,o,p,t),this.emit
1("missingKey",e,s,r,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&y?e.forEach(e=>{let r=this.pluralResolver.getSuffixes(e,t);_&&t[`defaultValue${this.options.pluralSeparator}zero`]&&0>r.indexOf(`${this.options.pluralSeparator}zero`)&&r.push(`${this.options.pluralSeparator}zero`),r.forEach(r=>{n([e],i+r,t[`defaultValue${r}`]||w)})}):n(e,i,w))}c=this.extendTranslation(c,e,t,d,r),a&&c===i&&this.options.appendNamespaceToMissingKey&&(c=`${s}:${i}`),(a||n)&&this.options.parseMissingKeyHandler&&(c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${i}`:i,n?c:void 0))}return n?(d.res=c,d.usedParams=this.getUsedParamsDetails(t),d):c}extendTranslation(e,t,r,n,o){var i=this;if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){let a;r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});let s=el(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let u=r.replace&&!el(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),e=this.interpolator.interpolate(e,u,r.lng||this.language||n.usedLng,r),s){let t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(r.nest=!1)}!r.lng&&n&&n.res&&(r.lng=this.language||n.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,n=Array(e),a=0;a<e;a++)n[a]=arguments[a];return o?.[0]!==n[0]||r.context?i.translate(...n,t):(i.logger.warn(`It seems you are nesting recursively key: ${n[0]} in key: ${t[0]}`),null)},r)),r.interpolation&&this.interpolator.reset()}let a=r.postProcess||this.options.postProcess,s=el(a)?[a]:a;return null!=e&&s?.length&&!1!==r.applyPostProcessor&&(e=eL.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e){let t,r,n,o,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return el(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let s=this.extractFromKey(e,a),u=s.key;r=u;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let d=void 0!==a.count&&!el(a.count),c=d&&!a.ordinal&&0===a.count,p=void 0!==a.context&&(el(a.context)||"number"==typeof a.context)&&""!==a.context,h=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);l.forEach(e=>{this.isValidLookup(t)||(i=e,!eR[`${h[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(i)&&(eR[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${h.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(r=>{let i;if(this.isValidLookup(t))return;o=r;let s=[u];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(s,u,r,e,a);else{let e;d&&(e=this.pluralResolver.getSuffix(r,a.count,a));let t=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(s.push(u+e),a.ordinal&&0===e.indexOf(n)&&s.push(u+e.replace(n,this.options.pluralSeparator)),c&&s.push(u+t)),p){let r=`${u}${this.options.contextSeparator}${a.context}`;s.push(r),d&&(s.push(r+e),a.ordinal&&0===e.indexOf(n)&&s.push(r+e.replace(n,this.options.pluralSeparator)),c&&s.push(r+t))}}for(;i=s.pop();)this.isValidLookup(t)||(n=i,t=this.getResource(r,e,i,a))}))})}),{res:t,usedKey:r,exactUsedKey:n,usedLng:o,usedNS:i}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!el(e.replace),n=r?e.replace:e;if(r&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!r)for(let e of(n={...n},t))delete n[e];return n}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}class eU{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=e$.create("languageUtils")}getScriptPartFromCode(e){if(!(e=eO(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=eO(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(el(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;
1return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(0>e.indexOf("-")&&0>r.indexOf("-"))&&(e.indexOf("-")>0&&0>r.indexOf("-")&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),el(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],o=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return el(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):el(e)&&o(this.formatLanguageCode(e)),r.forEach(e=>{0>n.indexOf(e)&&o(this.formatLanguageCode(e))}),n}}let ej={zero:0,one:1,two:2,few:3,many:4,other:5},eV={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class ez{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=e$.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=eO("dev"===e?"en":e),o=r.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:o});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];try{t=new Intl.PluralRules(n,{type:o})}catch(o){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),eV;if(!e.match(/-|_/))return eV;let n=this.languageUtils.getLanguagePartFromCode(e);t=this.getRule(n,r)}return this.pluralRulesCache[i]=t,t}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return(r||(r=this.getRule("dev",t)),r)?r.resolvedOptions().pluralCategories.sort((e,t)=>ej[e]-ej[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.getRule(e,r);return n?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}let eH=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4)||void 0===arguments[4]||arguments[4],i=eS(e,t,r);return!i&&o&&el(r)&&void 0===(i=eA(e,r,n))&&(i=eA(t,r,n)),i},eW=e=>e.replace(/\$/g,"$$$$");class eG{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=e$.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:o,prefixEscaped:i,suffix:a,suffixEscaped:s,formatSeparator:u,unescapeSuffix:l,unescapePrefix:d,nestingPrefix:c,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:f,nestingOptionsSeparator:m,maxReplaces:g,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:eT,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=o?ew(o):i||"{{",this.suffix=a?ew(a):s||"}}
1",this.formatSeparator=u||",",this.unescapePrefix=l?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":l||"",this.nestingPrefix=c?ew(c):p||ew("$t("),this.nestingSuffix=h?ew(h):f||ew(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,n){let o,i,a;let s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(0>e.indexOf(this.formatSeparator)){let o=eH(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,r,{...n,...t,interpolationkey:e}):o}let o=e.split(this.formatSeparator),i=o.shift().trim(),a=o.join(this.formatSeparator).trim();return this.format(eH(t,s,i,this.options.keySeparator,this.options.ignoreJSONStructure),a,r,{...n,...t,interpolationkey:i})};this.resetRegExp();let l=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,d=n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>eW(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?eW(this.escape(e)):eW(e)}].forEach(t=>{for(a=0;o=t.regex.exec(e);){let r=o[1].trim();if(void 0===(i=u(r))){if("function"==typeof l){let t=l(e,o,n);i=el(t)?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))i="";else if(d){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),i=""}else el(i)||this.useRawValueToEscape||(i=ec(i));let s=t.safeValue(i);if(e=e.replace(o[0],s),d?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=this.maxReplaces)break}}),e}nest(e,t){let r,n,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(e,t)=>{let r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;let n=e.split(RegExp(`${r}[ ]*{`)),i=`{${n[1]}`;e=n[0];let a=(i=this.interpolate(i,o)).match(/'/g),s=i.match(/"/g);((a?.length??0)%2!=0||s)&&s.length%2==0||(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];(o=(o={...i}).replace&&!el(o.replace)?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){let e=r[1].split(this.formatSeparator).map(e=>e.trim());r[1]=e.shift(),s=e,u=!0}if((n=t(a.call(this,r[1].trim(),o),o))&&r[0]===e&&!el(n))return n;el(n)||(n=ec(n)),n||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),n=""),u&&(n=s.reduce((e,t)=>this.format(e,t,i.lng,{...i,interpolationkey:r[1].trim()}),n.trim())),e=e.replace(r[0],n),this.regexp.lastIndex=0}return e}}let eq=e=>{let t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){let n=e.split("(");t=n[0].toLowerCase().trim();let o=n[1].substring(0,n[1].length-1);"currency"===t&&0>o.indexOf(":")?r.currency||(r.currency=o.trim()):"relativetime"===t&&0>o.indexOf(":")?r.range||(r.range=o.trim()):o.split(";").forEach(e=>{if(e){let[t,...n]=e.split(":"),o=n.join(":").trim().replace(/^'+|'+$/g,""),i=t.trim();r[i]||(r[i]=o),"false"===o&&(r[i]=!1),"true"===o&&(r[i]=!0),isNaN(o)||(r[i]=parseInt(o,10))}})}return{formatName:t,formatOptions:r}},eY=e=>{let t={};return(r,n,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i={...i,[o.interpolationkey]:void 0});let a=n+JSON.stringify(i),s=t[a];return s||(s=e(eO(n),o),t[a]=s),s(r)}};class eK{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=e$.create("formatter"),this.options=e,this.formats={number:eY((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:eY((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:eY((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:eY((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:eY((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=eY(t)}format(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&0>o[0].indexOf(")")&&o.find(e=>e.indexOf(")")>-1)){let e=o.findIndex(e=>e.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,e)].join(this.formatSeparator)}return o.reduce((e,t)=>
1{let{formatName:o,formatOptions:i}=eq(t);if(this.formats[o]){let t=e;try{let a=n?.formatParams?.[n.interpolationkey]||{},s=a.locale||a.lng||n.locale||n.lng||r;t=this.formats[o](e,s,{...i,...n,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e)}}let eZ=(e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)};class eJ extends eM{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=e$.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,n.backend,n)}queueLoad(e,t,r,n){let o={},i={},a={},s={};return e.forEach(e=>{let n=!0;t.forEach(t=>{let a=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===i[a]&&(i[a]=!0):(this.state[a]=1,n=!1,void 0===i[a]&&(i[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(a[e]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){let n=e.split("|"),o=n[0],i=n[1];t&&this.emit("failedLoading",o,i,t),!t&&r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);let a={};this.queue.forEach(r=>{eb(r.loaded,[o],i),eZ(r,e),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{a[e]||(a[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:o,callback:i});return}this.readingCalls++;let a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(a&&s&&n<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,r,n+1,2*o,i)},o);return}i(a,s)},s=this.backend[r].bind(this.backend);if(2===s.length){try{let r=s(e,t);r&&"function"==typeof r.then?r.then(e=>a(null,e)).catch(a):a(null,r)}catch(e){a(e)}return}return s(e,t,a)}prepareLoading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();el(e)&&(e=this.languageUtils.toResolveHierarchy(e)),el(t)&&(t=[t]);let o=this.queueLoad(e,t,r,n);if(!o.toLoad.length)return o.pending.length||n(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),n=r[0],o=r[1];this.read(n,o,"read",void 0,void 0,(r,i)=>{r&&this.logger.warn(`${t}loading namespace ${o} for language ${n} failed`,r),!r&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${n}`,i),this.loaded(e,r,i)})}saveMissing(e,t,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=r&&""!==r){if(this.backend?.create){let s={...i,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let o;(o=5===u.length?u(e,t,r,n,s):u(e,t,r,n))&&"function"==typeof o.then?o.then(e=>a(null,e)).catch(a):a(null,o)}catch(e){a(e)}else u(e,t,r,n,a,s)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}let eX=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),el(e[1])&&(t.defaultValue=e[1]),el(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];
1Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),eQ=e=>(el(e.ns)&&(e.ns=[e.ns]),el(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),el(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),e0=()=>{},e1=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})};class e2 extends eM{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=eQ(e),this.services={},this.logger=e$,this.modules={external:[]},e1(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(r=t,t={}),null==t.defaultNS&&t.ns&&(el(t.ns)?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let n=eX();this.options={...n,...this.options,...eQ(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);let o=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?e$.init(o(this.modules.logger),this.options):e$.init(null,this.options),t=this.modules.formatter?this.modules.formatter:eK;let r=new eU(this.options);this.store=new eI(this.options.resources,this.options);let i=this.services;i.logger=e$,i.resourceStore=this.store,i.languageUtils=r,i.pluralResolver=new ez(r,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(i.formatter=o(t),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new eG(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new eJ(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];e.emit(t,...n)}),this.modules.languageDetector&&(i.languageDetector=o(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=o(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new eB(this.services,this.options),this.translator.on("*",function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];e.emit(t,...n)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,r||(r=e0),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let i=ed(),a=()=>{let e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit
1("initialized",this.options),i.resolve(t),r(e,t)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e0,r=t,n=el(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(n?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};n?t(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let n=ed();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=e0),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&eL.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;let n=ed();this.emit("languageChanging",e);let o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(e,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,n.resolve(function(){return r.t(...arguments)}),t&&t(e,function(){return r.t(...arguments)})},a=t=>{e||t||!this.services.languageDetector||(t=[]);let r=el(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);r&&(this.language||o(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector?.cacheUserLanguage?.(r)),this.loadResources(r,e=>{i(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),n}getFixedT(e,t,r){var n=this;let o=function(e,t){let i,a;if("object"!=typeof t){for(var s=arguments.length,u=Array(s>2?s-2:0),l=2;l<s;l++)u[l-2]=arguments[l];i=n.options.overloadTranslationOptionHandler([e,t].concat(u))}else i={...t};i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||r||o.keyPrefix);let d=n.options.keySeparator||".";return a=i.keyPrefix&&Array.isArray(e)?e.map(e=>`${i.keyPrefix}${d}${e}`):i.keyPrefix?`${i.keyPrefix}${d}${e}`:e,n.t(a,i)};return el(e)?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=r,o}t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.translator?.translate(...t)}exists(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.translator?.exists(...t)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
1if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let i=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||0===r||2===r};if(t.precheck){let e=t.precheck(this,i);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,e)&&(!n||i(o,e)))}loadNamespaces(e,t){let r=ed();return this.options.ns?(el(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=ed();el(e)&&(e=[e]);let n=this.options.preload||[],o=e.filter(e=>0>n.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=n.concat(o),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services?.languageUtils||new eU(eX())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new e2(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e0,r=e.forkResourceStore;r&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},o=new e2(n);if((void 0!==e.debug||void 0!==e.prefix)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(e=>{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r){let e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},Object.keys(e[t]).reduce((r,n)=>(r[n]={...e[t][n]},r),{})),{});o.store=new eI(e,n),o.services.resourceStore=o.store}return o.translator=new eB(o.services,n),o.translator.on("*",function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];o.emit(e,...r)}),o.init(n,t),o.translator.options=n,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let e3=e2.createInstance();e3.createInstance=e2.createInstance,e3.createInstance,e3.dir,e3.init,e3.loadResources,e3.reloadResources,e3.use,e3.changeLanguage,e3.getFixedT,e3.t,e3.exists,e3.setDefaultNamespace,e3.hasLoadedNamespace,e3.loadNamespaces,e3.loadLanguages;let e4=function(e){var t,r,n=e3.createInstance(e);return n.isInitialized?t=Promise.resolve(e3.t):(null==e||null===(r=e.use)||void 0===r||r.forEach(function(e){return n.use(e)}),t=n.init(e)),{i18n:n,initPromise:t}};var e5=u.createElement;function e9(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function e8(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e9(Object(r),!0).forEach(function(t){(0,s.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e9(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var e6=null,e7=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=function(r){var n,o=r.pageProps._nextI18Next,i=null!==(n=null==o?void 0:o.initialLocale)&&void 0!==n?n:null,a=(0,u.useMemo)(function(){if(!o)return null;var e,r=o.userConfig,n=o.initialI18nStore,a=null!=t&&t.resources?t.resources:n;if(null===r&&null===t)throw Error("appWithTranslation was called without a next-i18next config");if(null!==t&&(r=t),!(null!==(e=r)&&void 0!==e&&e.i18n))throw Error("appWithTranslation was called without config.i18n");var s=e4(e8(e8({},eu(e8(e8({},r),{},{lng:i}))),{},{lng:i,resources:a})).i18n;return e6=s,s},[o,i]);return null!==a?e5(et,{i18n:a},e5(e,(0,X.A)({key:i},r))):e5(e,(0,X.A)({key:i},r))};return ee()(r,e)}},27294:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(15137)}])},47098:(e,t,r)=>{"use strict";var n=r(19374);let o=!1,i=n.cwd(),a=o?i.endsWith("/apps/rockflow-website")?"".concat(i,"/../../packages/i18n/src/locales"):"".concat(i,"/packages/i18n/src/locales"):"/locales";e.exports={i18n:{locales:["en","es","zh-Hans","zh-Hant"],defaultLocale:"en",localeDetection:!1},localePath:a,compatibilityJSON:"v3",react:{useSuspense:!1}}},85059:(e,t,r)=>{"use strict";r.d(t,{Bm:()=>s,Fj:()=>i});let n="https://[email protected]/4";function o(){let e="production".trim();return"staging"===e||"production"===e?e:"development"}function i(){return"development"!==o()}function a(e){return"development"===e?0:"production"===e?.2:1}function s(){let e=o(),t=i();return{dsn:t?n:void 0,enabled:t,environment:e,tracesSampleRate:a(e),enableLogs:t,debug:!1}}},10635:(e,t,r)=>{"use strict";r.d(t,{A:()=>b,O:()=>y});var n=r(44489),o=r(44349),i=r(34279),a=r(36602),s=r(19530),u=r(14597),l=r(84400),d=r(53154),c=r(37449),p=r(33971),h=r(87054);let f={profile:null};function m(e,t){switch(t.type){case"SET_PROFILE":return{...e,profile:t.payload};case"LOGOUT":return{...e,profile:null};default:return e}}let g=(0,o.createContext)({...f,isLoggedIn:!1,dispatch:()=>{},login:async()=>{},logout:()=>{}}),y=e=>{let{children:t}=e,[r,y]=(0,o.useReducer)(m,f),b=!!r.profile;(0,o.useEffect)(()=>{let e=i.A.getRFState(),t=(0,l.JZ)();e&&t&&i.A.setRFState({...e,deviceId:t}),u.U.getAppSettings().then(e=>
1{200===e.code&&(e.data.forEach(e=>{if("country"===e.key){"NZ"===e.value&&document.body.classList.add("country-nz");let t=i.A.getRFState();t&&i.A.setRFState({...t,region:e.value})}}),c.B.getState().onSettingsChange(e.data))})},[]),(0,o.useEffect)(()=>{let e=i.A.getRFState();(null==e?void 0:e.token)&&(e.userId&&(0,p.Tv)(e.userId),v())},[]);let v=async()=>{try{let e=await (0,s.eO)();e&&y({type:"SET_PROFILE",payload:e})}catch(e){}},S=()=>{h.hS.clear(),(0,a.Sq)(),d.N.close(),y({type:"LOGOUT"})};return(0,n.jsx)(g.Provider,{value:{...r,isLoggedIn:b,dispatch:y,login:v,logout:S},children:t})},b=()=>(0,o.useContext)(g)},15137:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E});var n=r(44489),o=r(44349),i=r(14993),a=r.n(i),s=r(15322),u=r(10635),l=r(47098),d=r.n(l),c=r(88338);let p=[{namespace:c.BcC,resources:c.KRk},{namespace:c.X1T,resources:c.Q_k},{namespace:c.IGQ,resources:c.nmL},{namespace:c.ftF,resources:c.Y2S}];function h(e,t,r){var n,o;if(!(null===(n=e.hasResourceBundle)||void 0===n?void 0:n.call(e,t,r)))return!1;let i=null===(o=e.getResourceBundle)||void 0===o?void 0:o.call(e,t,r);return!!i&&"object"==typeof i&&Object.keys(i).length>0}function f(e,t){if(!t)return;if(e[t])return t;let r=t.toLowerCase();if(r.startsWith("zh")){let t=/hant|tw|hk|mo/.test(r)?"zh-Hant":"zh-Hans";if(e[t])return t}let n=t.split("-")[0];return e[n]?n:void 0}function m(e){let t={[c.X1T]:c.Q_k,[c.IGQ]:c.nmL},r={};Object.keys(c.con).forEach(n=>{var o;let i=c.oyl[n],a=t[i],s=f(a,e);if(!s)return;let u=null==a?void 0:null===(o=a[s])||void 0===o?void 0:o[i],l=null==u?void 0:u[c.con[n]];l&&(r[n]=l)}),Object.keys(r).length>0&&c.giP.setLocalization(r),c.giP.setLanguageConfig({isChinese:(0,c.OLU)(e),spacer:(0,c.RnV)(e)})}function g(e){(null==e?void 0:e.addResourceBundle)&&(p.forEach(t=>{let{namespace:r,resources:n}=t;Object.entries(n).forEach(t=>{let[n,o]=t;if(h(e,n,r))return;let i=o[r];i&&e.addResourceBundle(n,r,i,!0,!1)})}),m(e.language))}r(92164),r(52493);var y=r(77427),b=r(34279);function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t=b.A.getRFState();t&&e&&b.A.setRFState({...t,language:S(e)})}function S(e){let t=String(e).toLocaleLowerCase();return"zh-hans"===t?"zh-cn":"zh-hant"===t?"zh-tw":e}var _=r(84400),w=r(54450),x=r(29828);function T(e){var t;let{Component:r,pageProps:i,router:l}=e;v(l.locale),(0,_.Wm)(),(0,y.PrC)();let{i18n:d}=(0,s.Bd)();g(d),(0,o.useEffect)(()=>{let e=document.querySelector("#__next"),t=e=>{e.stopPropagation()};return e.addEventListener("click",t),()=>{e.addEventListener("click",t)}},[]),(0,o.useEffect)(()=>{a().initialize({gtmId:"GTM-5QNBQZT"})},[]);let c=(0,w.useSearchParams)();(0,o.useEffect)(()=>{let e=c.get("gclid");e&&x.A.set("gclid",e,{expires:30,path:"/"})},[c]),(0,o.useEffect)(()=>{},[]);let p=null!==(t=r.getLayout)&&void 0!==t?t:e=>e;return(0,n.jsx)(u.O,{children:p((0,n.jsx)(r,{...i}))})}r(11336),(()=>{let{userId:e,token:t,region:r}=(0,y.FcV)();if(!t||!e)return;let n=b.A.getRFState();n&&b.A.setRFState({...n,token:t,userId:e,region:r})})();let E=(0,s.Zh)(T,d())},19530:(e,t,r)=>{"use strict";r.d(t,{DP:()=>x,E1:()=>S,FR:()=>m,G6:()=>y,MH:()=>E,ON:()=>_,V6:()=>v,Xw:()=>w,Yh:()=>P,ZQ:()=>l,_N:()=>f,eO:()=>g,hj:()=>T,qs:()=>h,rp:()=>b,zG:()=>p});var n=r(71632),o=r(34279),i=r(66309),a=r(77427),s=r(83185);let u="production",l=new i.xei(u,s.V),d=new i.ir4(u,s.V),c=e=>{switch(e){case"zh-Hans":return"zh-CN";case"zh-Hant":return"zh-TW";default:return e}},p=e=>{let t=l.getChannelReqUrl(),{data:r,isLoading:o,mutate:i}=(0,n.Ay)(t,async()=>await l.getChannel({language:c(e||"en")}).then(e=>e.data));return{data:r,isLoading:o,mutate:i}},h=async(e,t,r)=>{let n=1==e?t.substring(0,4):"0000",o=t,i=r,s=1===e?"手机号":"邮箱";try{(0,a.LcC)({countryCode:n,account:o,verifyCode:i});let{code:u,data:d}=await l.verifyCaptcha({type:e,identity:t,captcha:r});if((0,a.s8z)({countryCode:n,account:o,verifyCode:i,code:u,fail_reason:""}),(0,a.crk)({login_type:s,account:o,verifyCode:i,is_success:!0,fail_reason:"",fail_reason_des:""}),200!==u)throw Error("verification error: ".concat(u));return d}catch(t){let e=t instanceof Error?t.message:"safe error";throw(0,a.s8z)({countryCode:n,account:o,verifyCode:i,code:400,fail_reason:e}),(0,a.crk)({login_type:s,account:o,verifyCode:i,is_success:!1,fail_reason:400,fail_reason_des:e}),t}},f=async e=>{let t=1==e.type?e.identity.substring(0,4):"0000",r=e.identity;try{(0,a.kY_)({countryCode:t,account:r});
1let{code:n,message:o}=await l.sendCaptcha(e);if((0,a.Zbj)({countryCode:t,account:r,isSucc:0,code:n,fail_reason:""}),200!==n)throw Object.assign(Error(o||String(n)),{code:n})}catch(o){let e=o instanceof Error?o.message:"unknown error",n=o&&"object"==typeof o&&"code"in o?Number(o.code):400;throw(0,a.Zbj)({countryCode:t,account:r,isSucc:1,code:Number.isFinite(n)?n:400,fail_reason:e}),o}},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t=l.getCountryReqUrl(e),{data:r=[],error:o,isLoading:i}=(0,n.Ay)(t,async()=>await l.getCountryList(e).then(e=>e.data));return{data:r,error:o,isLoading:i}};async function g(){var e;if(!(null===(e=o.A.getRFState())||void 0===e?void 0:e.userId))return null;try{let{code:e,data:t,message:r}=await d.getUserProfile();if(200!==e)throw Error(r);return t}catch(e){}}async function y(e){try{let{code:t,message:r}=await l.setTransactionCode({transactionCode:e});if(200!==t)throw Error(r);return!0}catch(e){throw e}}async function b(e,t){try{let{code:r,message:n}=await l.verifyTransactionCode({type:e,transactionCode:t});if(200!==r)throw Error(n);return{result:!0,code:r}}catch(e){var r,n;return{result:!1,code:(null==e?void 0:e.code)||(null==e?void 0:null===(n=e.response)||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:r.code)||-1}}}async function v(e,t){try{let{code:r,message:n}=await l.updateTransactionCode({transactionCode:e,originalTransactionCode:t});if(200!==r)throw Error(n);return!0}catch(e){throw e}}async function S(e){try{let{code:t,message:r}=await l.verifyIDNumber({idNumber:e});if(200!==t)throw Error(r);return{result:!0,code:200}}catch(e){var t,r;return console.error("校验证件号码失败:",e),{result:!1,code:(null==e?void 0:e.code)||(null==e?void 0:null===(r=e.response)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:t.code)||-1}}}async function _(e){try{let{code:t,message:r}=await l.forgotTransactionCode(e);if(200!==t)throw Error(r);return!0}catch(e){return console.error("忘记交易密码操作失败:",e),!1}}async function w(e){try{let{code:t,message:r}=await l.bindInviter(e);if(200!==t)throw Error(r);return!0}catch(e){return console.error("绑定邀请码失败:",e),!1}}async function x(e,t,r){try{let{accessToken:n}=await h(e,t,r),{code:o,message:i}=await l.bindIdentity({type:3,accessToken:n});if(200!==o)throw Error(i);return!0}catch(e){return console.error("绑定手机号/邮箱失败:",e),!1}}async function T(e,t,r,n,o){try{let{accessToken:i}=await h(e,t,r),{code:a,message:s}=await l.updateIdentity({accessToken:i,password:n,transactionCode:o});if(200!==a)throw Error(s);return!0}catch(e){throw console.error("更改手机号/邮箱失败:",e),e}}async function E(e){try{let{code:t,message:r}=await l.verifyLoginPassword({password:e});if(200!==t)throw Error(r);return!0}catch(e){return console.error("验证登录密码失败:",e),!1}}async function P(e,t,r){try{let{code:n,message:o}=await l.changePassword({password:e,originalPassword:t,transactionCode:r});if(200!==n)throw Error(o);return!0}catch(e){return console.error("更新登录密码失败:",e),!1}}},14597:(e,t,r)=>{"use strict";r.d(t,{U:()=>u,p:()=>l});var n=r(66309),o=r(83185),i=r(71632),a=r(34279);let s="production",u=new n.icU(s,o.V);function l(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"NZ",r=null===(e=a.A.getRFState())||void 0===e?void 0:e.userId,n=r?["regions","match",t,r]:null,{data:o,isLoading:s,mutate:l}=(0,i.Ay)(n,async()=>(await u.getRegionMatch(t)).data,{revalidateOnFocus:!1});return{data:o,isLoading:s,mutate:l}}},87054:(e,t,r)=>{"use strict";r.d(t,{hS:()=>p});var n=r(77427),o=r(34279),i=r(61929),a=r(35291);let s=(e,t)=>"option_learning.cache.".concat(e,".").concat(t);function u(){let e=new Map;return{getCompletedSource:(t,r)=>{var n;return null!==(n=e.get(s(t,r)))&&void 0!==n?n:null},saveCompleted:(t,r,n)=>{e.set(s(t,r),n)},clear:t=>{for(let r of a.Pw)e.delete(s(t,r))}}}function l(){let e=u(),t=()=>{try{var e;return null!==(e=window.localStorage)&&void 0!==e?e:null}catch(e){return null}};return{getCompletedSource:(r,n)=>{try{var o;let e=null===(o=t())||void 0===o?void 0:o.getItem(s(r,n));if("grandfathered"===e||"exam"===e)return e}catch(e){}return e.getCompletedSource(r,n)},saveCompleted:(r,n,o)=>{e.saveCompleted(r,n,o);try{var i;null===(i=t())||void 0===i||i.setItem(s(r,n),o)}catch(e){}},clear:r=>{e.clear(r);try{for(let e of a.Pw){var n;null===(n=t())||void 0===n||n.removeItem(s(r,e))}}catch(e){}}}}class d{resolveUserId(){let e=this.deps.getUserId();return e&&(this.lastKnownUserId=e),e}cachedStatus(e,t){let r=this.deps.store.getCompletedSource(e,t);return r?{kind:"completed",source:r}:{kind:"notStarted"}}cachedSnapshot(e){return{L1:this.cachedStatus(e,"L1"),L2:this.cachedStatus(e,"L2")}}isCompletedLocally(e){let t=this.resolveUserId();return!!t&&(!!this.deps.store.getCompletedSource(t,"L2")||"L1"===e&&!!this.deps.store.getCompletedSource(t,"L1"))}cacheCompletedSegments(e,t){for(let r of a.Pw){let n=t[r];"completed"===n.kind&&this.deps.store.saveCompleted(e,r,n.source)}}async fetchAndCache(e){try{let t=await this.deps.remote.fetchSettings(),r=(0,a.E$)(t);return this.cacheCompletedSegments(e,r),r}catch(e){return a.v_}}async refresh(e){let t=this.resolveUserId();return t?this.isCompletedLocally(e)?this.cachedSnapshot(t):this.fetchAndCache(t):a.v_}async loadDisplaySnapshot(){let e=this.resolveUserId();if(!e)return a.v_;let t=this.cachedSnapshot(e);return(0,a.Lk)(t.L2)?t:this.fetchAndCache(e)}markCompleted(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"exam",r=this.resolveUserId();r&&(this.deps.store.saveCompleted(r,e,t),"L2"===e&&this.deps.store.saveCompleted(r,"L1",t))}clear(){var e;let t=null!==(e=this.deps.getUserId())&&void 0!==e?e:this.lastKnownUserId;t&&(this.deps.store.clear(t),this.lastKnownUserId=void 0)}constructor(e){this.deps=e}}let c=()=>{var e,t,r;return null!==(r=null!==(t=(0,n.FcV)().userId)&&void 0!==t?t:null===(e=o.A.getRFState())||void 0===e?void 0:e.userId)&&void 0!==r?r:void 0},p=new d({store:l(),remote:{fetchSettings:()=>(0,i.getUserSettings)()},getUserId:c}
1)},35291:(e,t,r)=>{"use strict";r.d(t,{AL:()=>S,E$:()=>h,KL:()=>b,Lk:()=>f,ND:()=>_,Pw:()=>o,VK:()=>g,bg:()=>m,dd:()=>v,km:()=>w,v_:()=>s,yB:()=>y});var n=r(74560);let o=["L1","L2"],i={L1:5,L2:6},a={kind:"notStarted"},s={L1:a,L2:a};function u(e){let t="option_learning_".concat(e.toLowerCase());return{completed:"".concat(t,"_completed"),progress:"".concat(t,"_progress"),source:"".concat(t,"_source")}}let l=o.flatMap(e=>Object.values(u(e)));function d(e){return e?e.split(",").map(e=>e.trim()).filter(e=>e.length>0):[]}function c(e,t){let r=u(e);if("true"===t[r.completed])return{kind:"completed",source:"grandfathered"===t[r.source]?"grandfathered":"exam"};let n=d(t[r.progress]).length;return n>0?{kind:"inProgress",answeredCount:n,total:i[e]}:a}function p(e){let t={};for(let r of e)l.includes(r.key)&&(t[r.key]=r.value);return t}function h(e){let t=Array.isArray(e)?p(e):e;return{L1:c("L1",t),L2:c("L2",t)}}function f(e){return"completed"===e.kind}function m(e,t){return"L1"===t&&f(e.L1)||f(e.L2)}function g(e,t){if(m(e,t))return null;let r=e[t];return"inProgress"===r.kind?{kind:"resume",level:t,questionNumber:r.answeredCount+1,total:r.total}:{kind:"firstTime",level:t,total:i[t]}}function y(e){return{kind:("notStarted"!==e.L2.kind?e.L2:e.L1).kind}}function b(e){switch(e.kind){case"notStarted":return{key:"common:option_learning.not_started"};case"inProgress":return{key:"common:option_learning.in_progress"};case"completed":return{key:"common:option_learning.completed"}}}function v(e){var t,r;let o=new n.W(null!==(t=e.positionShare)&&void 0!==t?t:0),i=new n.W(null!==(r=e.pendingSellShare)&&void 0!==r?r:0);return o.minus(i).gt(0)}function S(e){return e.isOption&&e.ok?"buy"===e.direction?"L1":e.hasClosableLong?null:"L2":null}function _(e){return"L1"===e?"rockflow_buy":"rockflow_sell"}function w(e,t){let r={};return e&&(r.level=e),t&&(r.source=t),r}},83185:(e,t,r)=>{"use strict";r.d(t,{L:()=>i,V:()=>o});var n=r(96383);let o=async e=>{let t=e.suppressErrorToast;switch(e.method){case"GET":return n.Jt(e.url,{...e,suppressErrorToast:t});case"POST":return n.bE(e.url,e.data,{headers:e.headers,suppressErrorToast:e.suppressErrorToast});case"PUT":return n.yJ(e.url,e.data,{headers:e.headers,suppressErrorToast:t});case"PATCH":return n.F6(e.url,e.data,{headers:e.headers,suppressErrorToast:t});case"DELETE":return n.jd(e.url,{headers:e.headers,suppressErrorToast:t});default:throw Error("Unsupported request method: ".concat(e.method))}},i=e=>{let t=(0,n.uT)(e);return async e=>{let r=e.suppressErrorToast,n={...e,suppressErrorToast:r};switch(e.method){case"GET":return t.get(e.url,n);case"POST":return t.post(e.url,e.data,{headers:e.headers,suppressErrorToast:r});case"PUT":return t.put(e.url,e.data,{headers:e.headers,suppressErrorToast:r});case"PATCH":return t.patch(e.url,e.data,{headers:e.headers,suppressErrorToast:r});case"DELETE":return t.delete(e.url,{headers:e.headers,suppressErrorToast:r});default:throw Error("Unsupported request method: ".concat(e.method))}}}},61929:(e,t,r)=>{"use strict";r.d(t,{getUserSettings:()=>u});var n=r(66309),o=r(77427),i=r(83185);let a="production",s=new n.icU(a,i.V),u=async()=>{let{userId:e}=(0,o.FcV)();if(!e)throw Error("用户未登录");let t=await s.getAppConfigByUid(e);return 200!=t.code?[]:t.data}},53154:(e,t,r)=>{"use strict";r.d(t,{N:()=>c});var n=r(39640),o=r(34279),i=r(19530),a=r(55754);let s=a.ai.rockflow.gateway.messaging.FeedResponse,u={debug:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]},warn:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.warn(...t)},error:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error(...t)}};class l{addEventListener(e,t){this.listeners[e]||(this.listeners[e]=[]),-1===this.listeners[e].indexOf(t)&&this.listeners[e].push(t)}removeEventListener(e,t){if(t){let r=this.listeners[e]||[],n=r.indexOf(t);n>-1&&r.splice(n,1)}else this.listeners[e]=[]}dispatchEvent(e,t){(this.listeners[e]||[]).forEach(e=>e.call(this,t))}constructor(){this.listeners={}}}class d extends l{static getInstance(){return d.instance||(d.instance=new d),d.instance}async connect(){var e,t;if(!this.url)throw Error("WebSocket URL not set");if(this.stopWs||(null===(e=this.ws)||void 0===e?void 0:e.readyState)===WebSocket.OPEN)return;let r=null===(t=o.A.getRFState())||void 0===t?void 0:t.token;if(!r){let{data:e}=await i.ZQ.getAnonymousToken();r=e.token}try{this.ws=new WebSocket("".concat(this.url,"?token=").concat(r))}catch(e){throw e}this.startHeartbeat(),this.ws.onopen=e=>{this.stopWs=!1,this.reconnectAttempts=0,this.lastPong=Date.now(),this._isConnected=!0,this.startHeartbeat();let t=Array.from(this.subscribedSymbols);t.length>0&&this.sendSubscribe(t),this.dispatchEvent("open",e)},this.ws.onmessage=e=>{if("string"==typeof e.data&&"pong"===e.data){this.lastPong=Date.now(),this.dispatchEvent("pong",e);return}this.dispatchEvent("message",e);let t=e=>{try{let t=s.decode(new Uint8Array(e));switch(u.debug("[FeedWS] Received FeedResponse:",t),t.type){case 1:this.handleFeedTick(t.payload);break;case 2:break;case 3:this.handleFeedPortfolioOrder(t.payload);break;case 4:this.handleFeedPortfolioPosition(t.payload);break;case 5:this.handleFeedWatchlist(t.payload);break;case 6:this.handleFeedPortfolioPendingOrder(t.payload);break;case 7:this.handleFeedAccountAsset(t.payload);break;default:u.warn("[FeedWS] Unknown message type: ".concat(t.type))}}catch(e){u.error("[FeedWS] Protobuf decode error (Buffer):",e)}};e.data instanceof ArrayBuffer?t(e.data):e.data&&"function"==typeof e.data.arrayBuffer?e.data.arrayBuffer().then(t).cat
1ch(e=>{u.error("[FeedWS] Failed to read message arrayBuffer:",e)}):u.warn("[FeedWS] Unsupported message data type:",typeof e.data)},this.ws.onclose=e=>{this.ws=null,this._isConnected=!1,this.stopHeartbeat(),this.dispatchEvent("close",e),this.stopWs||this.handleReconnect()},this.ws.onerror=e=>{this.dispatchEvent("error",e),this.stopWs||this.handleReconnect()}}subscribeTickerSymbols(e,t){if(0===e.length)return()=>{};let r=Array.from(new Set(e)),n=[];return r.forEach(e=>{let t=this.subscriptionCounts.get(e)||0;this.subscriptionCounts.set(e,t+1),0===t&&(n.push(e),this.subscribedSymbols.add(e))}),this.tickCallbacks.add(t),this.ws&&this.ws.readyState===WebSocket.OPEN?n.length>0&&this.sendSubscribe(n):this.connect().catch(e=>{u.error("[FeedWS] Failed to connect:",e)}),()=>{r.forEach(e=>{let t=this.subscriptionCounts.get(e)||0;if(t<=1){var r;this.subscriptionCounts.delete(e),this.subscribedSymbols.delete(e),(null===(r=this.ws)||void 0===r?void 0:r.readyState)===WebSocket.OPEN&&this.sendUnsubscribe([e])}else this.subscriptionCounts.set(e,t-1)}),this.tickCallbacks.delete(t),this.checkAndDisconnectIfNeeded()}}subscribeAccountAsset(e){return this.accountAssetCallbacks.add(e),this.ws&&this.ws.readyState===WebSocket.OPEN||this.connect().catch(e=>{u.error("[FeedWS] Failed to connect:",e)}),()=>{this.accountAssetCallbacks.delete(e),this.checkAndDisconnectIfNeeded()}}subscribePortfolioOrder(e){return this.portfolioOrderCallbacks.add(e),this.ws&&this.ws.readyState===WebSocket.OPEN||this.connect().catch(e=>{u.error("[FeedWS] Failed to connect:",e)}),()=>{this.portfolioOrderCallbacks.delete(e),this.checkAndDisconnectIfNeeded()}}subscribePortfolioPosition(e){return this.portfolioPositionCallbacks.add(e),this.ws&&this.ws.readyState===WebSocket.OPEN||this.connect().catch(e=>{u.error("[FeedWS] Failed to connect:",e)}),()=>{this.portfolioPositionCallbacks.delete(e),this.checkAndDisconnectIfNeeded()}}subscribeWatchlist(e){return this.watchlistCallbacks.add(e),this.ws&&this.ws.readyState===WebSocket.OPEN||this.connect().catch(e=>{u.error("[FeedWS] Failed to connect:",e)}),()=>{this.watchlistCallbacks.delete(e),this.checkAndDisconnectIfNeeded()}}subscribePendingOrder(e){return this.pendingOrderCallbacks.add(e),this.ws&&this.ws.readyState===WebSocket.OPEN||this.connect().catch(e=>{u.error("[FeedWS] Failed to connect:",e)}),()=>{this.pendingOrderCallbacks.delete(e),this.checkAndDisconnectIfNeeded()}}close(){if(this.stopWs=!0,this.stopHeartbeat(),this.disconnectTimer&&(clearTimeout(this.disconnectTimer),this.disconnectTimer=null),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.visibilityChangeHandler&&"undefined"!=typeof document&&(document.removeEventListener("visibilitychange",this.visibilityChangeHandler),this.visibilityChangeHandler=null),this.ws){let e=Array.from(this.subscribedSymbols);e.length>0&&this.ws.readyState===WebSocket.OPEN&&this.sendUnsubscribe(e),this.ws.close(1e3,"Client closing connection"),this.ws=null}this.subscriptionCounts.clear(),this.subscribedSymbols.clear(),this.tickCallbacks.clear(),this.accountAssetCallbacks.clear(),this.portfolioOrderCallbacks.clear(),this.portfolioPositionCallbacks.clear(),this.watchlistCallbacks.clear(),this.pendingOrderCallbacks.clear(),this.removeEventListener("open"),this.removeEventListener("message"),this.removeEventListener("close"),this.removeEventListener("error"),this.removeEventListener("pong")}onopen(e){this.addEventListener("open",e)}onmessage(e){this.addEventListener("message",e)}onclose(e){this.addEventListener("close",e)}onerror(e){this.addEventListener("error",e)}onpong(e){this.addEventListener("pong",e)}initVisibilityListener(){"undefined"!=typeof document&&(this.visibilityChangeHandler=()=>{document.hidden?this.handlePageHidden():this.handlePageVisible()},document.addEventListener("visibilitychange",this.visibilityChangeHandler))}handlePageHidden(){var e;(null===(e=this.ws)||void 0===e?void 0:e.readyState)!==WebSocket.OPEN||this.hasActiveSubscriptions()||this.close()}handlePageVisible(){this.hasActiveSubscriptions()&&(!this.ws||this.ws.readyState!==WebSocket.OPEN)&&(u.debug("[FeedWS] Page visible, reconnecting (has active subscriptions)"),this.connect().catch(e=>{u.error("[FeedWS] Failed to reconnect on page visible:",e)}))}handleFeedTick(e){if(e&&0!==e.length)try{var t,r,n,o,i,s,l,d,c,p,h,f,m,g,y,b,v,S,_,w,x,T,E,P,k,D,A,O,N,C,$,M;let I=a.ai.rockflow.feed.tick.common.FeedTick.decode(e);u.debug("[FeedWS] Decoded FeedTick:",I);let L={timestamp:"object"==typeof I.timestamp&&"toNumber"in I.timestamp?I.timestamp.toNumber():Number(I.timestamp)||Date.now(),tradePrice
1:null!==(_=null===(t=I.tradePrice)||void 0===t?void 0:t.value)&&void 0!==_?_:0,tradeSize:"object"==typeof(null===(r=I.tradeSize)||void 0===r?void 0:r.value)&&"toNumber"in I.tradeSize.value?I.tradeSize.value.toNumber():null!==(w=Number(null===(n=I.tradeSize)||void 0===n?void 0:n.value))&&void 0!==w?w:0,changeAmount:null!==(x=null===(o=I.changeAmount)||void 0===o?void 0:o.value)&&void 0!==x?x:0,changePercent:null!==(T=null===(i=I.changePercent)||void 0===i?void 0:i.value)&&void 0!==T?T:0,bidPrice:null!==(E=null===(s=I.bidPrice)||void 0===s?void 0:s.value)&&void 0!==E?E:0,bidSize:"object"==typeof(null===(l=I.bidSize)||void 0===l?void 0:l.value)&&"toNumber"in I.bidSize.value?I.bidSize.value.toNumber():null!==(P=Number(null===(d=I.bidSize)||void 0===d?void 0:d.value))&&void 0!==P?P:0,askPrice:null!==(k=null===(c=I.askPrice)||void 0===c?void 0:c.value)&&void 0!==k?k:0,askSize:"object"==typeof(null===(p=I.askSize)||void 0===p?void 0:p.value)&&"toNumber"in I.askSize.value?I.askSize.value.toNumber():null!==(D=Number(null===(h=I.askSize)||void 0===h?void 0:h.value))&&void 0!==D?D:0,open:null!==(A=null===(f=I.open)||void 0===f?void 0:f.value)&&void 0!==A?A:0,high:null!==(O=null===(m=I.high)||void 0===m?void 0:m.value)&&void 0!==O?O:0,low:null!==(N=null===(g=I.low)||void 0===g?void 0:g.value)&&void 0!==N?N:0,close:null!==(C=null===(y=I.close)||void 0===y?void 0:y.value)&&void 0!==C?C:0,previousClose:null!==($=null===(b=I.previousClose)||void 0===b?void 0:b.value)&&void 0!==$?$:0,volume:"object"==typeof(null===(v=I.volume)||void 0===v?void 0:v.value)&&"toNumber"in I.volume.value?I.volume.value.toNumber():null!==(M=Number(null===(S=I.volume)||void 0===S?void 0:S.value))&&void 0!==M?M:0,dailyProfit:0},R=I.symbol||"";u.debug("[FeedWS] FeedTick for ".concat(R,":"),L),R&&this.tickCallbacks.forEach(e=>{try{e(R,L)}catch(e){u.error("[FeedWS] Tick callback error for ".concat(R,":"),e)}})}catch(e){u.error("[FeedWS] FeedTick decode error:",e)}}handleFeedAccountAsset(e){if(e&&0!==e.length)try{var t,r;let n=a.ai.rockflow.feed.portfolio.FeedAccountAsset.decode(e),o={accountId:n.accountId,userId:"object"==typeof n.userId&&"toNumber"in n.userId?n.userId.toNumber():n.userId,totalAssets:n.totalAssets,todayProfitAndLoss:null===(t=n.todayProfitAndLoss)||void 0===t?void 0:t.value,todayProfitAndLossRate:null===(r=n.todayProfitAndLossRate)||void 0===r?void 0:r.value};this.accountAssetCallbacks.forEach(e=>{try{e(o)}catch(e){u.error("[FeedWS] AccountAsset callback error:",e)}})}catch(e){u.error("[FeedWS] FeedAccountAsset decode error:",e)}}handleFeedPortfolioOrder(e){if(e&&0!==e.length)try{let t=a.ai.rockflow.feed.portfolio.FeedPortfolioOrder.decode(e);this.portfolioOrderCallbacks.forEach(e=>{try{e(t)}catch(e){u.error("[FeedWS] PortfolioOrder callback error:",e)}})}catch(e){console.error("[FeedWS] FeedPortfolioOrder(3):",e),u.error("[FeedWS] FeedPortfolioOrder decode error:",e)}}handleFeedPortfolioPosition(e){if(e&&0!==e.length)try{let t=a.ai.rockflow.feed.portfolio.FeedPortfolioPosition;if(!t){u.warn("[FeedWS] FeedPortfolioPosition type not found in protobuf");return}let r=t.decode(e);this.portfolioPositionCallbacks.forEach(e=>{try{e(r)}catch(e){u.error("[FeedWS] PortfolioPosition callback error:",e)}})}catch(e){u.error("[FeedWS] FeedPortfolioPosition decode error:",e)}}handleFeedWatchlist(e){if(e&&0!==e.length)try{let t=a.ai.rockflow.feed.portfolio.FeedWatchlist;if(!t){u.warn("[FeedWS] FeedWatchlist type not found in protobuf");return}let r=t.decode(e);this.watchlistCallbacks.forEach(e=>{try{e(r)}catch(e){u.error("[FeedWS] Watchlist callback error:",e)}})}catch(e){u.error("[FeedWS] FeedWatchlist decode error:",e)}}handleFeedPortfolioPendingOrder(e){if(e&&0!==e.length)try{let t=a.ai.rockflow.feed.portfolio.FeedPortfolioPendingOrder;if(!t){u.warn("[FeedWS] FeedPortfolioPendingOrder type not found in protobuf");return}let r=t.decode(e);this.pendingOrderCallbacks.forEach(e=>{try{e(r)}catch(e){u.error("[FeedWS] PendingOrder callback error:",e)}})}catch(e){u.error("[FeedWS] FeedPortfolioPendingOrder decode error:",e)}}send(e){this.ws&&this.ws.readyState===WebSocket.OPEN&&this.ws.send(JSON.stringify(e))}sendSubscribe(e){if(0===e.length)return;let t=100;for(let r=0;r<e.length;r+=t){let n=e.slice(r,r+t);
1this.send({cmd:1,subscription:{watchlist:n}})}}sendUnsubscribe(e){if(0===e.length)return;let t=100;for(let r=0;r<e.length;r+=t){let n=e.slice(r,r+t);this.send({cmd:2,subscription:{watchlist:n}})}}hasActiveSubscriptions(){return this.subscriptionCounts.size>0||this.tickCallbacks.size>0||this.accountAssetCallbacks.size>0||this.portfolioOrderCallbacks.size>0||this.portfolioPositionCallbacks.size>0||this.watchlistCallbacks.size>0||this.pendingOrderCallbacks.size>0}checkAndDisconnectIfNeeded(){this.disconnectTimer&&(clearTimeout(this.disconnectTimer),this.disconnectTimer=null),this.disconnectTimer=setTimeout(()=>{var e;this.hasActiveSubscriptions()||(null===(e=this.ws)||void 0===e?void 0:e.readyState)!==WebSocket.OPEN||(u.debug("[FeedWS] No active subscriptions, closing connection"),this.close()),this.disconnectTimer=null},1e3)}startHeartbeat(){this.stopHeartbeat(),this.heartbeatTimer=setInterval(()=>{this.ws&&this.ws.readyState===WebSocket.OPEN&&(this.send(this.options.heartbeatMsg),Date.now()-this.lastPong>2*this.options.heartbeatInterval&&(u.warn("[FeedWS] Heartbeat timeout, reconnecting..."),this.handleReconnect()))},this.options.heartbeatInterval)}stopHeartbeat(){this.heartbeatTimer&&(clearInterval(this.heartbeatTimer),this.heartbeatTimer=null)}handleReconnect(){if(this.stopHeartbeat(),this.ws&&(this.ws.onclose=null,this.ws.onerror=null,this.ws.onmessage=null,this.ws.close(1e3,"Reconnecting"),this.ws=null),this.reconnectAttempts++,this.reconnectAttempts>this.options.reconnectMaxAttempts){u.error("[FeedWS] Max reconnect attempts reached");return}let e=Math.min(this.options.reconnectInterval*this.reconnectAttempts,1e4);this.reconnectTimer=setTimeout(()=>{this.stopWs||this.connect().catch(e=>{u.error("[FeedWS] Reconnect failed:",e)})},e)}constructor(){super(),this.ws=null,this.heartbeatTimer=null,this.reconnectTimer=null,this.lastPong=Date.now(),this.reconnectAttempts=0,this.stopWs=!1,this.subscriptionCounts=new Map,this.tickCallbacks=new Set,this.accountAssetCallbacks=new Set,this.portfolioOrderCallbacks=new Set,this.portfolioPositionCallbacks=new Set,this.watchlistCallbacks=new Set,this.pendingOrderCallbacks=new Set,this.subscribedSymbols=new Set,this.disconnectTimer=null,this.visibilityChangeHandler=null,this._isConnected=!1,this.url=n.s0.production||"",this.options={heartbeatInterval:12e3,reconnectMaxAttempts:10,reconnectInterval:3e3,heartbeatMsg:{}},this.initVisibilityListener()}}let c=d.getInstance()},55754:(e,t,r)=>{"use strict";var n=r(81327),o=n.Reader,i=n.Writer,a=n.util,s=n.roots.default||(n.roots.default={}),u=r(17284);n.util.Long=u,n.configure(),s.ai=function(){var e={};return e.rockflow=function(){var e={};return e.feed=function(){var e={};return e.portfolio=function(){var e={};return e.FeedAccountAsset=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.accountId="",e.prototype.userId=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.totalAssets=0,e.prototype.todayProfitAndLoss=null,e.prototype.todayProfitAndLossRate=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.accountId&&Object.hasOwnProperty.call(e,"accountId")&&t.uint32(10).string(e.accountId),null!=e.userId&&Object.hasOwnProperty.call(e,"userId")&&t.uint32(16).uint64(e.userId),null!=e.totalAssets&&Object.hasOwnProperty.call(e,"totalAssets")&&t.uint32(25).double(e.totalAssets),null!=e.todayProfitAndLoss&&Object.hasOwnProperty.call(e,"todayProfitAndLoss")&&s.google.protobuf.DoubleValue.encode(e.todayProfitAndLoss,t.uint32(34).fork()).ldelim(),null!=e.todayProfitAndLossRate&&Object.hasOwnProperty.call(e,"todayProfitAndLossRate")&&s.google.protobuf.DoubleValue.encode(e.todayProfitAndLossRate,t.uint32(42).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.ai.rockflow.feed.portfolio.FeedAccountAsset;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.accountId=e.string();break;case 2:i.userId=e.uint64();break;case 3:i.totalAssets=e.double();break;case 4:i.todayProfitAndLoss=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 5:i.todayProfitAndLossRate=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.accountId&&e.hasOwnProperty("accountId")&&!a.isString(e.accountId))return"accountId: string expected";if(null!=e.userId&&e.hasOwnProperty("userId")&&!a.isInteger(e.userId)&&!(e.userId&&a.isInteger(e.userId.low)&&a.isInteger(e.userId.high)))return"userId: integer|Long expected";if(null!=e.totalAssets&&e.hasOwnProperty("totalAssets")&&"number"!=typeof e.totalAssets)return"totalAssets: number expected";if(null!=e.todayProfitAndLoss&&e.hasOwnProperty("todayProfitAndLoss")){var t=s.google.protobuf.DoubleValue.verify(e.todayProfitAndLoss);if(t)return"todayProfitAndLoss."+t}if(null!=e.todayProfitAndLossRate&&e.hasOwnProperty("todayProfitAndLossRate")){var t=s.google.protobuf.DoubleValue.verify(e.todayProfitAndLossRate);if(t)return"todayProfitAndLossRate."+t}return null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.feed.portfolio.FeedAccountAsset)return e;var t=new s.ai.rockflow.feed.portfolio.FeedAccountAsset;if(null!=e.accountId&&(t.accountId=String(e.accountId)),null!=e.userId&&(a.Long?(t.userId=a.Long.fromValue(e.userId)
vendor: 7,988 bytes, line 1
1).unsigned=!0:"string"==typeof e.userId?t.userId=parseInt(e.userId,10):"number"==typeof e.userId?t.userId=e.userId:"object"==typeof e.userId&&(t.userId=new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0))),null!=e.totalAssets&&(t.totalAssets=Number(e.totalAssets)),null!=e.todayProfitAndLoss){if("object"!=typeof e.todayProfitAndLoss)throw TypeError(".ai.rockflow.feed.portfolio.FeedAccountAsset.todayProfitAndLoss: object expected");t.todayProfitAndLoss=s.google.protobuf.DoubleValue.fromObject(e.todayProfitAndLoss)}if(null!=e.todayProfitAndLossRate){if("object"!=typeof e.todayProfitAndLossRate)throw TypeError(".ai.rockflow.feed.portfolio.FeedAccountAsset.todayProfitAndLossRate: object expected");t.todayProfitAndLossRate=s.google.protobuf.DoubleValue.fromObject(e.todayProfitAndLossRate)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.accountId="",a.Long){var n=new a.Long(0,0,!0);r.userId=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.userId=t.longs===String?"0":0;r.totalAssets=0,r.todayProfitAndLoss=null,r.todayProfitAndLossRate=null}return null!=e.accountId&&e.hasOwnProperty("accountId")&&(r.accountId=e.accountId),null!=e.userId&&e.hasOwnProperty("userId")&&("number"==typeof e.userId?r.userId=t.longs===String?String(e.userId):e.userId:r.userId=t.longs===String?a.Long.prototype.toString.call(e.userId):t.longs===Number?new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0):e.userId),null!=e.totalAssets&&e.hasOwnProperty("totalAssets")&&(r.totalAssets=t.json&&!isFinite(e.totalAssets)?String(e.totalAssets):e.totalAssets),null!=e.todayProfitAndLoss&&e.hasOwnProperty("todayProfitAndLoss")&&(r.todayProfitAndLoss=s.google.protobuf.DoubleValue.toObject(e.todayProfitAndLoss,t)),null!=e.todayProfitAndLossRate&&e.hasOwnProperty("todayProfitAndLossRate")&&(r.todayProfitAndLossRate=s.google.protobuf.DoubleValue.toObject(e.todayProfitAndLossRate,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.feed.portfolio.FeedAccountAsset"},e}(),e.FeedBrokerAccount=function(){function e(e){if(this.exercisingPositionMargins={},this.exercisingMargins={},this.commissions={},this.frozenAmounts={},this.availableCash={},this.cashBuyingPowers={},this.extendedCommissions={},this.frozenNumbers={},this.positions=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.accountId="",e.prototype.userId=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.totalAssets=0,e.prototype.dailyChange=0,e.prototype.dailyChangePercent=0,e.prototype.marginDeficit=0,e.prototype.riskRatio=0,e.prototype.positionDailyChange=null,e.prototype.positionDailyChangePercent=null,e.prototype.grossPositionValue=null,e.prototype.grossStockValue=null,e.prototype.grossOptionValue=null,e.prototype.netLiquidationValue=null,e.prototype.closeMargin=null,e.prototype.grossOrderMargin=null,e.prototype.deprecatedMaintenanceRiskRatio=null,e.prototype.closeRiskRatio=null,e.prototype.maintenanceMargin=null,e.prototype.totalCashValue=null,e.prototype.accountType=0,e.prototype.availableFunds=null,e.prototype.accruedCash=null,e.prototype.accruedDividend=null,e.prototype.buyingPower=null,e.prototype.withdrawableCash=null,e.prototype.initialMargin=null,e.prototype.grossMoneyBoxValue=null,e.prototype.elv=null,e.prototype.lifeline=null,e.prototype.excessLiquidity=null,e.prototype.optionSellingMargin=null,e.prototype.moneyBoxTotalProfit=null,e.prototype.buyMoneyBoxCashInTransmit=null,e.prototype.sellMoneyBoxCashInTransmit=null,e.prototype.exercisingPositionMargins=a.emptyObject,e.prototype.exercisingMargins=a.emptyObject,e.prototype.commissions=a.emptyObject,e.prototype.maintenanceRiskRatio=null,e.prototype.withdrawalFreezeAmount=null,e.prototype.frozenAmounts=a.emptyObject,e.prototype.availableCash=a.emptyObject,e.prototype.cashBuyingPowers=a.emptyObject,e.prototype.extendedCommissions=a.emptyObject,e.prototype.frozenNumbers=a.emptyObject,e.prototype.yesterdayNetLiquidationValue=null,e.prototype.beforeYesterdayNetLiquidationValue=null,e.prototype.accumulatedNetDepositAndWithdrawal=null,e.prototype.accumulatedProfitAndLoss=null,e.prototype.accumulatedProfitAndLossRate=null,e.prototype.yesterdayNetDepositAndWithdrawal=null,e.prototype.yesterdayProfitAndLoss=null,e.prototype.yesterdayProfitAndLossRate=null,e.prototype.todayNetDepositAndWithdrawal=null,e.prototype.todayProfitAndLoss=null,e.prototype.todayProfitAndLossRate=null,e.prototype.positions=a.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=i.create()),null!=e.accountId&&Object.hasOwnProperty.call(e,"accountId")&&t.uint32(10).string(e.accountId),null!=e.userId&&Object.hasOwnProperty.call(e,"userId")&&t.uint32(16).uint64(e.userId),null!=e.totalAssets&&Object.hasOwnProperty.call(e,"totalAssets")&&t.uint32(25).double(e.totalAssets),null!=e.dailyChange&&Object.hasOwnProperty.call(e,"dailyChange")&&t.uint32(33).double(e.dailyChange),null!=e.dailyChangePercent&&Object.hasOwnProperty.call(e,"dailyChangePercent")&&t.uint32(41).double(e.dailyChangePercent),null!=e.marginDeficit&&Object.hasOwnProperty.call(e,"marginDeficit")&&t.uint32(49).double(e.marginDeficit),null!=e.riskRatio&&Object.hasOwnProperty.call(e,"riskRatio")&&t.uint32(57).double(e.riskRatio),null!=e.positionDailyChange&&Object.hasOwnProperty.call(e,"positionDailyChange")&&s.google.protobuf.DoubleValue.encode(e.positionDailyChange,t.uint32(66).fork()).ldelim(),null!=e.positionDailyChangePercent&&Object.hasOwnProperty.call(e,"positionDailyChangePercent")&&s.google.protobuf.DoubleValue.encode(e.positionDailyChangePercent,t.uint32(74).fork()).ldelim(),null!=e.grossPositionValue&&Object.hasOwnProperty.call(e,"grossPositionValue")&&s.google.protobuf.DoubleValue.encode(e.grossPositionValue,t.uint32(82).fork()).ldelim(),null!=e.grossStockValue&&Object.hasOwnProperty.call(e,"grossStockValue")&&s.google.protobuf.DoubleValue.encode(e.grossStockValue,t.uint32(90).fork()).ldelim(),null!=e.grossOptionValue&&Object.hasOwnProperty.call(e,"grossOptionValue")&&s.google.protobuf.DoubleValue.encode(e.grossOptionValue,t.uint32(98).fork()).ldelim(),null!=e.netLiquidationValue&&Object.hasOwnProperty.call(e,"netLiquidationValue")&&s.google.protobuf.DoubleValue.encode(e.netLiquidationValue,t.uint32(106).fork()).ldelim(),null!=e.closeMargin&&Object.hasOwnProperty.call(e,"closeMargin")&&s.google.protobuf.DoubleValue.encode(e.closeMargin,t.uint32(114).fork()).ldelim(),null!=e.grossOrderMargin&&Object.hasOwnProperty.call(e,"grossOrderMargin")&&s.google.protobuf.DoubleValue.encode(e.grossOrderMargin,t.uint32(122).fork()).ldelim(),null!=e.deprecatedMaintenanceRiskRatio&&Object.hasOwnProperty.call(e,"deprecatedMaintenanceRiskRatio")&&s.google.protobuf.Int32Value.encode(e.deprecatedMaintenanceRiskRatio,t.uint32(130).fork()).ldelim(),null!=e.closeRiskRatio&&Object.hasOwnProperty.call(e,"closeRiskRatio")&&s.google.protobuf.Int32Value.encode(e.closeRiskRatio,t.uint32(138).fork()).ldelim(),null!=e.maintenanceMargin&&Object.hasOwnProperty.call(e,"maintenanceMargin")&&s.google.protobuf.DoubleValue.encode(e.maintenanceMargin,t.uint32(146).fork()).ldelim(),null!=e.totalCashValue&&Object.hasOwnProperty.call(e,"totalCashValue")&&s.google.protobuf.DoubleValue.encode(e.totalCashValue,t.uint32(154).fork()).ldelim(),null!=e.accountType&&Object.hasOwnProperty.call(e,"accountType")&&t.uint32(160).int32(e.accountType),null!=e.availableFunds&&Object.hasOwnProperty.call(e,"availableFunds")&&s.google.protobuf.DoubleValue.encode(e.availableFunds,t.uint32(170).fork()).ldelim(),null!=e.accruedCash&&Object.hasOwnProperty.call(e,"accruedCash")&&s.google.protobuf.DoubleValue.encode(e.accruedCash,t.uint32(178).fork()).ldelim(),null!=e.accruedDividend&&Object.hasOwnProperty.call(e,"accruedDividend")&&s.google.protobuf.DoubleValue.encode(e.accruedDividend,t.uint32(186).fork()).ldelim(),null!=e.buyingPower&&Ob
1ject.hasOwnProperty.call(e,"buyingPower")&&s.google.protobuf.DoubleValue.encode(e.buyingPower,t.uint32(194).fork()).ldelim(),null!=e.withdrawableCash&&Object.hasOwnProperty.call(e,"withdrawableCash")&&s.google.protobuf.DoubleValue.encode(e.withdrawableCash,t.uint32(202).fork()).ldelim(),null!=e.initialMargin&&Object.hasOwnProperty.call(e,"initialMargin")&&s.google.protobuf.DoubleValue.encode(e.initialMargin,t.uint32(210).fork()).ldelim(),null!=e.grossMoneyBoxValue&&Object.hasOwnProperty.call(e,"grossMoneyBoxValue")&&s.google.protobuf.DoubleValue.encode(e.grossMoneyBoxValue,t.uint32(218).fork()).ldelim(),null!=e.elv&&Object.hasOwnProperty.call(e,"elv")&&s.google.protobuf.DoubleValue.encode(e.elv,t.uint32(226).fork()).ldelim(),null!=e.lifeline&&Object.hasOwnProperty.call(e,"lifeline")&&s.google.protobuf.Int32Value.encode(e.lifeline,t.uint32(234).fork()).ldelim(),null!=e.excessLiquidity&&Object.hasOwnProperty.call(e,"excessLiquidity")&&s.google.protobuf.DoubleValue.encode(e.excessLiquidity,t.uint32(242).fork()).ldelim(),null!=e.optionSellingMargin&&Object.hasOwnProperty.call(e,"optionSellingMargin")&&s.google.protobuf.DoubleValue.encode(e.optionSellingMargin,t.uint32(250).fork()).ldelim(),null!=e.moneyBoxTotalProfit&&Object.hasOwnProperty.call(e,"moneyBoxTotalProfit")&&s.google.protobuf.DoubleValue.encode(e.moneyBoxTotalProfit,t.uint32(258).fork()).ldelim(),null!=e.buyMoneyBoxCashInTransmit&&Object.hasOwnProperty.call(e,"buyMoneyBoxCashInTransmit")&&s.google.protobuf.DoubleValue.encode(e.buyMoneyBoxCashInTransmit,t.uint32(266).fork()).ldelim(),null!=e.sellMoneyBoxCashInTransmit&&Object.hasOwnProperty.call(e,"sellMoneyBoxCashInTransmit")&&s.google.protobuf.DoubleValue.encode(e.sellMoneyBoxCashInTransmit,t.uint32(274).fork()).ldelim(),null!=e.exercisingPositionMargins&&Object.hasOwnProperty.call(e,"exercisingPositionMargins"))for(var r=Object.keys(e.exercisingPositionMargins),n=0;n<r.length;++n)t.uint32(282).fork().uint32(10).string(r[n]).uint32(17).double(e.exercisingPositionMargins[r[n]]).ldelim();if(null!=e.exercisingMargins&&Object.hasOwnProperty.call(e,"exercisingMargins"))for(var r=Object.keys(e.exercisingMargins),n=0;n<r.length;++n)t.uint32(290).fork().uint32(10).string(r[n]).uint32(17).double(e.exercisingMargins[r[n]]).ldelim();if(null!=e.commissions&&Object.hasOwnProperty.call(e,"commissions"))for(var r=Object.keys(e.commissions),n=0;n<r.length;++n)t.uint32(298).fork().uint32(8).int64(r[n]).uint32(17).double(e.commissions[r[n]]).ldelim();if(null!=e.maintenanceRiskRatio&&Object.hasOwnProperty.call(e,"maintenanceRiskRatio")&&s.google.protobuf.DoubleValue.encode(e.maintenanceRiskRatio,t.uint32(306).fork()).ldelim(),null!=e.withdrawalFreezeAmount&&Object.hasOwnProperty.call(e,"withdrawalFreezeAmount")&&s.google.protobuf.DoubleValue.encode(e.withdrawalFreezeAmount,t.uint32(314).fork()).ldelim(),null!=e.frozenAmounts&&Object.hasOwnProperty.call(e,"frozenAmounts"))for(var r=Object.keys(e.frozenAmounts),n=0;n<r.length;++n)t.uint32(322).fork().uint32(10).string(r[n]).uint32(17).double(e.frozenAmounts[r[n]]).ldelim();if(null!=e.availableCash&&Object.hasOwnProperty.call(e,"availableCash"))for(var r=Object.keys(e.availableCash),n=0;n<r.length;++n)t.uint32(330).fork().uint32(10).string(r[n]).uint32(17).double(e.availableCash[r[n]]).ldelim();if(null!=e.cashBuyingPowers&&Object.hasOwnProperty.call(e,"cashBuyingPowers"))for(var r=Object.keys(e.cashBuyingPowers),n=0;n<r.length;++n)t.uint32(338).fork().uint32(10).string(r[n]).uint32(17).double(e.cashBuyingPowers[r[n]]).ldelim();if(null!=e.extendedCommissions&&Object.hasOwnProperty.call(e,"extendedCommissions"))for(var r=Object.keys(e.extendedCommissions),n=0;n<r.length;++n)t.uint32(346).fork().uint32(10).string(r[n]),s.ai.rockflow.feed.portfolio.OrderIdToCommission.encode(e.extendedCommissions[r[n]],t.uint32(18).fork()).ldelim().ldelim();if(null!=e.frozenNumbers&&Object.hasOwnProperty.call(e,"frozenNumbers"))for(var r=Object.keys(e.frozenNumbers),n=0;n<r.length;++n)t.uint32(354).fork().uint32(10).string(r[n]).uint32(17).double(e.frozenNumbers[r[n]]).ldelim();if(null!=e.yesterdayNetLiquidationValue&&Object.hasOwnProperty.call(e,"yesterdayNetLiquidationValue")&&s.google.protobuf.DoubleValue.encode(e.yesterdayNetLiquidationValue,t.uint32(362).fork()).ldelim(),null!=e.beforeYesterdayNetLiquidationValue&&Object.hasOwnProperty.call(e,"beforeYesterdayNetLiquidationValue")&&s.google.protobuf.DoubleValue.encode(e.beforeYesterdayNetLiquidationValue,t.uint32(370).fork()).ldelim(),null!=e.accumulatedNetDepositAndWithdrawal&&Object.hasOwnProperty.call(e,"accumulatedNetDepositAndWithdrawal")&&s.google.protobuf.DoubleValue.encode(e.accumulatedNetDepositAndWithdrawal,t.uint32(378).fork()).ldelim(),null!=e.accumulatedProfitAndLoss&&Object.hasOwnProperty.call(e,"accumulatedProfitAndLoss")&&s.google.protobuf.DoubleValue.encode(e.accumulatedProfitAndLoss,t.uint32(386).fork()).ldelim(),null!=e.accumulatedProfitAndLossRate&&Object.hasOwnProperty.call(e,"accumulatedProfitAndLossRate")&&s.google.protobuf.DoubleValue.encode(e.accumulatedProfitAndLossRate,t.uint32(394).fork()).ldelim(),null!=e.yesterdayNetDepositAndWithdrawal&&Object.hasOwnProperty.call(e,"yesterdayNetDepositAndWithdrawal")&&s.google.protobuf.DoubleValue.encode(e.yesterdayNetDepositAndWithdrawal,t.uint32(402).fork()).ldelim(),null!=e.yesterdayProfitAndLoss&&Object.hasOwnProperty.call(e,"yesterdayProfitAndLoss")&&s.google.protobuf.DoubleValue.encode(e.yesterdayProfitAndLoss,t.uint32(410).fork()).ldelim(),null!=e.yesterdayProfitAndLossRate&&Object.hasOwnProperty.call(e,"yesterdayProfitAndLossRate")&&s.google.protobuf.DoubleValue.encode(e.yesterdayProfitAndLossRate,t.uint32(418).fork()).ldelim(),null!=e.todayNetDepositAndWithdrawal&&Object.hasOwnProperty.call(e,"todayNetDepositAndWithdrawal")&&s.google.protobuf.DoubleValue.encode(e.todayNetDepositAndWithdrawal,t.uint32(426).fork()).ldelim(),null!=e.todayProfitAndLoss&&Object.hasOwnProperty.call(e,"todayProfitAndLoss")&&s.google.protobuf.DoubleValue.encode(e.todayProfitAndLoss,t.uint32(434).fork()).ldelim(),null!=e.todayProfitAndLossRate&&Object.hasOwnProperty.call(e,"todayProfitAndLossRate")&&s.google.protobuf.DoubleValue.encode(e.todayProfitAndLossRate,t.uint32(442).fork()).ldelim(),null!=e.positions&&e.positions.length)for(var n=0;n<e.positions.length;++n)s.ai.rockflow.feed.portfolio.FeedPosition.encode(e.positions[n],t.uint32(482).fork()).ldelim();return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n,i,u=void 0===t?e.len:e.pos+t,l=new s.ai.rockflow.feed.portfolio.FeedBrokerAccount;e.pos<u;){var d=e.uint32();if(d===r)break;switch(d>>>3){case 1:l.accountId=e.string();break;case 2:l.userId=e.uint64();break;case 3:l.totalAssets=e.double();break;case 4:l.dailyChange=e.double();break;case 5:l.dailyChangePercent=e.double();break;case 6:l.marginDeficit=e.double();break;case 7:l.riskRatio=e.double();break;case 8:l.positionDailyChange=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 9:l.positionDailyChangePercent=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 10:l.grossPositionValue=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 11:l.grossStockValue=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 12:l.grossOptionValue=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 13:l.netLiquidationValue=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 14:l.closeMargin=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 15:l.grossOrderMargin=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 16:l.deprecatedMaintenanceRiskRatio=s.google.protobuf.Int32Value.decode(e,e.uint32());break;case 17:l.closeRiskRatio=s.google.protobuf.Int32Value.decode(e,e.uint32());break;case 18:l.maintenanceMargin=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 19:l.totalCashValue=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 20:l.accountType=e.int32();break;case 21:l.availableFunds=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 22:l.accruedCash=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 23:l.accruedDividend=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 24:l.buyingPower=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 25:l.withdrawableCash=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 26:l.initialMargin=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 27:l.grossMoneyBoxValue=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 28:l.elv=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 29:l.lifeline=s.google.protobuf.Int32Value.decode(e,e.uint32());break;case 30:l.excessLiquidity=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 31:l.optionSellingMargin=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 32:l.moneyBoxTotalProfit=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 33:l.buyMoneyBoxCashInTransmit=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 34:l.sellMoneyBoxCashInTransmit=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 35:l.exercisingPositionMargins===a.emptyObject&&(l.exercisingPositionMargins={});var c=e.uint32()+e.pos;for(n="",i=0;e.pos<c;){var p=e.uint32();switch(p>>>3){case 1:n=e.string();break;case 2:i=e.double();break;default:e.skipType(7&p)}}l.exercisingPositionMargins[n]=i;break;case 36:l.exercisingMargins===a.emptyObject&&(l.exercisingMargins={});var c=e.uint32()+e.pos;for(n="",i=0;e.pos<c;){var p=e.uint32();switch(p>>>3){case 1:n=e.string();break;case 2:i=e.double();break;default:e.skipType(7&p)}}l.exercisingMargins[n]=i;break;case 37:l.commissions===a.emptyObject&&(l.commissions={});var c=e.uint32()+e.pos;for(n=0,i=0;e.pos<c;){var p=e.uint32();switch(p>>>3){case 1:n=e.int64();break;case 2:i=e.double();break;default:e.skipType(7&p)}}l.commissions["object"==typeof n?a.longToHash(n):n]=i;break;case 38:l.maintenanceRiskRatio=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 39:l.withdrawalFreezeAmount=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 40:l.frozenAmounts===a.emptyObject&&(l.frozenAmounts={});var c=e.uint32()+e.pos;for(n="",i=0;e.pos<c;){var p=e.uint32();switch(p>>>3){case 1:n=e.string();break;case 2:i=e.double();break;default:e.skipType(7&p)}}l.frozenAmounts[n]=i;break;case 41:l.availableCash===a.emptyObject&&(l.availableCash={});var c=e.uint32()+e.pos;for(n="",i=0;e.pos<c;){var p=e.uint32();switch(p>>>3){case 1:n=e.string();break;case 2:i=e.double();break;default:e.skipType(7&p)}}l.availableCash[n]=i;break;case 42:l.cashBuyingPowers===a.emptyObject&&(l.cashBuyingPowers={});var c=e.uint32()+e.pos;for(n="",i=0;e.pos<c;){var p=e.uint32();switch(p>>>3){case 1:n=e.string();break;case 2:i=e.double();break;default:e.skipType(7&p)}}l.cashBuyingPowers[n]=i;break;case 43:l.extendedCommissions===a.emptyObject&&(l.extendedCommissions={});var c=e.uint32()+e.pos;for(n="",i=null;e.pos<c;){var p=e.uint32();switch(p>>>3){case 1:n=e.string();break;case 2:i=s.ai.rockflow.feed.portfolio.OrderIdToCommission.decode(e,e.uint32());break;default:e.skipType(7&p)}}l.extendedCommissions[n]=i;break;case 44:l.frozenNumbers===a.emptyObject&&(l.frozenNumbers={});var c=e.uint32()+e.pos;for(n="",i=0;e.pos<c;){var p=e.uint32();switch(p>>>3){case 1:n=e.string();break;case 2:i=e.double();break;default:e.skipType(7&p)}}l.frozenNumbers[n]=i;break;case 45:l.yesterdayNetLiquidationValue=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 46:l.beforeYesterdayNetLiquidationValue=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 47:l.accumulatedNetDepositAndWithdrawal=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 48:l.accumulatedProfitAndLoss=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 49:l.accumulatedProfitAndLossRate=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 50:l.yesterdayNetDepositAndWithdrawal=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;
vendor: 5,119 bytes, line 1
1case 51:l.yesterdayProfitAndLoss=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 52:l.yesterdayProfitAndLossRate=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 53:l.todayNetDepositAndWithdrawal=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 54:l.todayProfitAndLoss=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 55:l.todayProfitAndLossRate=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 60:l.positions&&l.positions.length||(l.positions=[]),l.positions.push(s.ai.rockflow.feed.portfolio.FeedPosition.decode(e,e.uint32()));break;default:e.skipType(7&d)}}return l},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.accountId&&e.hasOwnProperty("accountId")&&!a.isString(e.accountId))return"accountId: string expected";if(null!=e.userId&&e.hasOwnProperty("userId")&&!a.isInteger(e.userId)&&!(e.userId&&a.isInteger(e.userId.low)&&a.isInteger(e.userId.high)))return"userId: integer|Long expected";if(null!=e.totalAssets&&e.hasOwnProperty("totalAssets")&&"number"!=typeof e.totalAssets)return"totalAssets: number expected";if(null!=e.dailyChange&&e.hasOwnProperty("dailyChange")&&"number"!=typeof e.dailyChange)return"dailyChange: number expected";if(null!=e.dailyChangePercent&&e.hasOwnProperty("dailyChangePercent")&&"number"!=typeof e.dailyChangePercent)return"dailyChangePercent: number expected";if(null!=e.marginDeficit&&e.hasOwnProperty("marginDeficit")&&"number"!=typeof e.marginDeficit)return"marginDeficit: number expected";if(null!=e.riskRatio&&e.hasOwnProperty("riskRatio")&&"number"!=typeof e.riskRatio)return"riskRatio: number expected";if(null!=e.positionDailyChange&&e.hasOwnProperty("positionDailyChange")){var t=s.google.protobuf.DoubleValue.verify(e.positionDailyChange);if(t)return"positionDailyChange."+t}if(null!=e.positionDailyChangePercent&&e.hasOwnProperty("positionDailyChangePercent")){var t=s.google.protobuf.DoubleValue.verify(e.positionDailyChangePercent);if(t)return"positionDailyChangePercent."+t}if(null!=e.grossPositionValue&&e.hasOwnProperty("grossPositionValue")){var t=s.google.protobuf.DoubleValue.verify(e.grossPositionValue);if(t)return"grossPositionValue."+t}if(null!=e.grossStockValue&&e.hasOwnProperty("grossStockValue")){var t=s.google.protobuf.DoubleValue.verify(e.grossStockValue);if(t)return"grossStockValue."+t}if(null!=e.grossOptionValue&&e.hasOwnProperty("grossOptionValue")){var t=s.google.protobuf.DoubleValue.verify(e.grossOptionValue);if(t)return"grossOptionValue."+t}if(null!=e.netLiquidationValue&&e.hasOwnProperty("netLiquidationValue")){var t=s.google.protobuf.DoubleValue.verify(e.netLiquidationValue);if(t)return"netLiquidationValue."+t}if(null!=e.closeMargin&&e.hasOwnProperty("closeMargin")){var t=s.google.protobuf.DoubleValue.verify(e.closeMargin);if(t)return"closeMargin."+t}if(null!=e.grossOrderMargin&&e.hasOwnProperty("grossOrderMargin")){var t=s.google.protobuf.DoubleValue.verify(e.grossOrderMargin);if(t)return"grossOrderMargin."+t}if(null!=e.deprecatedMaintenanceRiskRatio&&e.hasOwnProperty("deprecatedMaintenanceRiskRatio")){var t=s.google.protobuf.Int32Value.verify(e.deprecatedMaintenanceRiskRatio);if(t)return"deprecatedMaintenanceRiskRatio."+t}if(null!=e.closeRiskRatio&&e.hasOwnProperty("closeRiskRatio")){var t=s.google.protobuf.Int32Value.verify(e.closeRiskRatio);if(t)return"closeRiskRatio."+t}if(null!=e.maintenanceMargin&&e.hasOwnProperty("maintenanceMargin")){var t=s.google.protobuf.DoubleValue.verify(e.maintenanceMargin);if(t)return"maintenanceMargin."+t}if(null!=e.totalCashValue&&e.hasOwnProperty("totalCashValue")){var t=s.google.protobuf.DoubleValue.verify(e.totalCashValue);if(t)return"totalCashValue."+t}if(null!=e.accountType&&e.hasOwnProperty("accountType"))switch(e.accountType){default:return"accountType: enum value expected";case 0:case 1:case 2:}if(null!=e.availableFunds&&e.hasOwnProperty("availableFunds")){var t=s.google.protobuf.DoubleValue.verify(e.availableFunds);if(t)return"availableFunds."+t}if(null!=e.accruedCash&&e.hasOwnProperty("accruedCash")){var t=s.google.protobuf.DoubleValue.verify(e.accruedCash);if(t)return"accruedCash."+t}if(null!=e.accruedDividend&&e.hasOwnProperty("accruedDividend")){var t=s.google.protobuf.DoubleValue.verify(e.accruedDividend);if(t)return"accruedDividend."+t}if(null!=e.buyingPower&&e.hasOwnProperty("buyingPower")){var t=s.google.protobuf.DoubleValue.verify(e.buyingPower);if(t)return"buyingPower."+t}if(null!=e.withdrawableCash&&e.hasOwnProperty("withdrawableCash")){var t=s.google.protobuf.DoubleValue.verify(e.withdrawableCash);if(t)return"withdrawableCash."+t}if(null!=e.initialMargin&&e.hasOwnProperty("initialMargin")){var t=s.google.protobuf.DoubleValue.verify(e.initialMargin);if(t)return"initialMargin."+t}if(null!=e.grossMoneyBoxValue&&e.hasOwnProperty("grossMoneyBoxValue")){var t=s.google.protobuf.DoubleValue.verify(e.grossMoneyBoxValue);if(t)return"grossMoneyBoxValue."+t}if(null!=e.elv&&e.hasOwnProperty("elv")){var t=s.google.protobuf.DoubleValue.verify(e.elv);
1if(t)return"elv."+t}if(null!=e.lifeline&&e.hasOwnProperty("lifeline")){var t=s.google.protobuf.Int32Value.verify(e.lifeline);if(t)return"lifeline."+t}if(null!=e.excessLiquidity&&e.hasOwnProperty("excessLiquidity")){var t=s.google.protobuf.DoubleValue.verify(e.excessLiquidity);if(t)return"excessLiquidity."+t}if(null!=e.optionSellingMargin&&e.hasOwnProperty("optionSellingMargin")){var t=s.google.protobuf.DoubleValue.verify(e.optionSellingMargin);if(t)return"optionSellingMargin."+t}if(null!=e.moneyBoxTotalProfit&&e.hasOwnProperty("moneyBoxTotalProfit")){var t=s.google.protobuf.DoubleValue.verify(e.moneyBoxTotalProfit);if(t)return"moneyBoxTotalProfit."+t}if(null!=e.buyMoneyBoxCashInTransmit&&e.hasOwnProperty("buyMoneyBoxCashInTransmit")){var t=s.google.protobuf.DoubleValue.verify(e.buyMoneyBoxCashInTransmit);if(t)return"buyMoneyBoxCashInTransmit."+t}if(null!=e.sellMoneyBoxCashInTransmit&&e.hasOwnProperty("sellMoneyBoxCashInTransmit")){var t=s.google.protobuf.DoubleValue.verify(e.sellMoneyBoxCashInTransmit);if(t)return"sellMoneyBoxCashInTransmit."+t}if(null!=e.exercisingPositionMargins&&e.hasOwnProperty("exercisingPositionMargins")){if(!a.isObject(e.exercisingPositionMargins))return"exercisingPositionMargins: object expected";for(var r=Object.keys(e.exercisingPositionMargins),n=0;n<r.length;++n)if("number"!=typeof e.exercisingPositionMargins[r[n]])return"exercisingPositionMargins: number{k:string} expected"}if(null!=e.exercisingMargins&&e.hasOwnProperty("exercisingMargins")){if(!a.isObject(e.exercisingMargins))return"exercisingMargins: object expected";for(var r=Object.keys(e.exercisingMargins),n=0;n<r.length;++n)if("number"!=typeof e.exercisingMargins[r[n]])return"exercisingMargins: number{k:string} expected"}if(null!=e.commissions&&e.hasOwnProperty("commissions")){if(!a.isObject(e.commissions))return"commissions: object expected";for(var r=Object.keys(e.commissions),n=0;n<r.length;++n){if(!a.key64Re.test(r[n]))return"commissions: integer|Long key{k:int64} expected";if("number"!=typeof e.commissions[r[n]])return"commissions: number{k:int64} expected"}}if(null!=e.maintenanceRiskRatio&&e.hasOwnProperty("maintenanceRiskRatio")){var t=s.google.protobuf.DoubleValue.verify(e.maintenanceRiskRatio);if(t)return"maintenanceRiskRatio."+t}if(null!=e.withdrawalFreezeAmount&&e.hasOwnProperty("withdrawalFreezeAmount")){var t=s.google.protobuf.DoubleValue.verify(e.withdrawalFreezeAmount);if(t)return"withdrawalFreezeAmount."+t}if(null!=e.frozenAmounts&&e.hasOwnProperty("frozenAmounts")){if(!a.isObject(e.frozenAmounts))return"frozenAmounts: object expected";for(var r=Object.keys(e.frozenAmounts),n=0;n<r.length;++n)if("number"!=typeof e.frozenAmounts[r[n]])return"frozenAmounts: number{k:string} expected"}if(null!=e.availableCash&&e.hasOwnProperty("availableCash")){if(!a.isObject(e.availableCash))return"availableCash: object expected";for(var r=Object.keys(e.availableCash),n=0;n<r.length;++n)if("number"!=typeof e.availableCash[r[n]])return"availableCash: number{k:string} expected"}if(null!=e.cashBuyingPowers&&e.hasOwnProperty("cashBuyingPowers")){if(!a.isObject(e.cashBuyingPowers))return"cashBuyingPowers: object expected";for(var r=Object.keys(e.cashBuyingPowers),n=0;n<r.length;++n)if("number"!=typeof e.cashBuyingPowers[r[n]])return"cashBuyingPowers: number{k:string} expected"}if(null!=e.extendedCommissions&&e.hasOwnProperty("extendedCommissions")){if(!a.isObject(e.extendedCommissions))return"extendedCommissions: object expected";for(var r=Object.keys(e.extendedCommissions),n=0;n<r.length;++n){var t=s.ai.rockflow.feed.portfolio.OrderIdToCommission.verify(e.extendedCommissions[r[n]]);if(t)return"extendedCommissions."+t}}if(null!=e.frozenNumbers&&e.hasOwnProperty("frozenNumbers")){if(!a.isObject(e.frozenNumbers))return"frozenNumbers: object expected";for(var r=Object.keys(e.frozenNumbers),n=0;n<r.length;++n)if("number"!=typeof e.frozenNumbers[r[n]])return"frozenNumbers: number{k:string} expected"}if(null!=e.yesterdayNetLiquidationValue&&e.hasOwnProperty("yesterdayNetLiquidationValue")){var t=s.google.protobuf.DoubleValue.verify(e.yesterdayNetLiquidationValue);if(t)return"yesterdayNetLiquidationValue."+t}if(null!=e.beforeYesterdayNetLiquidationValue&&e.hasOwnProperty("beforeYesterdayNetLiquidationValue")){var t=s.google.protobuf.DoubleValue.verify(e.beforeYesterdayNetLiquidationValue);if(t)return"beforeYesterdayNetLiquidationValue."+t}if(null!=e.accumulatedNetDepositAndWithdrawal&&e.hasOwnProperty("accumulatedNetDepositAndWithdrawal")){var t=s.google.protobuf.DoubleValue.verify(e.accumulatedNetDepositAndWithdrawal);if(t)return"accumulatedNetDepositAndWithdrawal."+t}if(null!=e.accumulatedProfitAndLoss&&e.hasOwnProperty("accumulatedProfitAndLoss")){var t=s.google.protobuf.DoubleValue.verify(e.accumulatedProfitAndLoss);if(t)return"accumulatedProfitAndLoss."+t}if(null!=e.accumulatedProfitAndLossRate&&e.hasOwnProperty("accumulatedProfitAndLossRate")){var t=s.google.protobuf.DoubleValue.verify(e.accumulatedProfitAndLossRate);if(t)return"accumulatedProfitAndLossRate."+t}if(null!=e.yesterdayNetDepositAndWithdrawal&&e.hasOwnProperty("yesterdayNetDepositAndWithdrawal")){var t=s.google.protobuf.DoubleValue.verify(e.yesterdayNetDepositAndWithdrawal);if(t)return"yesterdayNetDepositAndWithdrawal."+t}if(null!=e.yesterdayProfitAndLoss&&e.hasOwnProperty("yesterdayProfitAndLoss")){var t=s.google.protobuf.DoubleValue.verify(e.yesterdayProfitAndLoss);if(t)return"yesterdayProfitAndLoss."+t}if(null!=e.yesterdayProfitAndLossRate&&e.hasOwnProperty("yesterdayProfitAndLossRate")){var t=s.google.protobuf.DoubleValue.verify(e.yesterdayProfitAndLossRate);if(t)return"yesterdayProfitAndLossRate."+t}if(null!=e.todayNetDepositAndWithdrawal&&e.hasOwnProperty("todayNetDepositAndWithdrawal")){var t=s.google.protobuf.DoubleValue.verify(e.todayNetDepositAndWithdrawal);if(t)return"todayNetDepositAndWithdrawal."+t}if(null!=e.todayProfitAndLoss&&e.hasOwnProperty("todayProfitAndLoss")){var t=s.google.protobuf.DoubleValue.verify(e.todayProfitAndLoss);if(t)return"todayProfitAndLoss."+t}if(null!=e.todayProfitAndLossRate&&e.hasOwnProperty("todayProfitAndLossRate")){var t=s.google.protobuf.DoubleValue.verify(e.todayProfitAndLossRate);if(t)return"todayProfitAndLossRate."+t}if(null!=e.positions&&e.hasOwnProperty("positions")){if(!Array.isArray(e.positions))return"positions: array expected";for(var n=0;n<e.positions.length;++n){var t=s.ai.rockflow.feed.portfolio.FeedPosition.verify(e.positions[n]);if(t)return"positions."+t}}return null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.feed.portfolio.FeedBrokerAccount)return e;var t=new s.ai.rockflow.feed.portfolio.FeedBrokerAccount;if(null!=e.accountId&&(t.accountId=String(e.accountId)),null!=e.userId&&(a.Long?(t.userId=a.Long.fromValue(e.userId)
vendor: 6,153 bytes, line 1
1).unsigned=!0:"string"==typeof e.userId?t.userId=parseInt(e.userId,10):"number"==typeof e.userId?t.userId=e.userId:"object"==typeof e.userId&&(t.userId=new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0))),null!=e.totalAssets&&(t.totalAssets=Number(e.totalAssets)),null!=e.dailyChange&&(t.dailyChange=Number(e.dailyChange)),null!=e.dailyChangePercent&&(t.dailyChangePercent=Number(e.dailyChangePercent)),null!=e.marginDeficit&&(t.marginDeficit=Number(e.marginDeficit)),null!=e.riskRatio&&(t.riskRatio=Number(e.riskRatio)),null!=e.positionDailyChange){if("object"!=typeof e.positionDailyChange)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.positionDailyChange: object expected");t.positionDailyChange=s.google.protobuf.DoubleValue.fromObject(e.positionDailyChange)}if(null!=e.positionDailyChangePercent){if("object"!=typeof e.positionDailyChangePercent)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.positionDailyChangePercent: object expected");t.positionDailyChangePercent=s.google.protobuf.DoubleValue.fromObject(e.positionDailyChangePercent)}if(null!=e.grossPositionValue){if("object"!=typeof e.grossPositionValue)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.grossPositionValue: object expected");t.grossPositionValue=s.google.protobuf.DoubleValue.fromObject(e.grossPositionValue)}if(null!=e.grossStockValue){if("object"!=typeof e.grossStockValue)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.grossStockValue: object expected");t.grossStockValue=s.google.protobuf.DoubleValue.fromObject(e.grossStockValue)}if(null!=e.grossOptionValue){if("object"!=typeof e.grossOptionValue)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.grossOptionValue: object expected");t.grossOptionValue=s.google.protobuf.DoubleValue.fromObject(e.grossOptionValue)}if(null!=e.netLiquidationValue){if("object"!=typeof e.netLiquidationValue)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.netLiquidationValue: object expected");t.netLiquidationValue=s.google.protobuf.DoubleValue.fromObject(e.netLiquidationValue)}if(null!=e.closeMargin){if("object"!=typeof e.closeMargin)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.closeMargin: object expected");t.closeMargin=s.google.protobuf.DoubleValue.fromObject(e.closeMargin)}if(null!=e.grossOrderMargin){if("object"!=typeof e.grossOrderMargin)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.grossOrderMargin: object expected");t.grossOrderMargin=s.google.protobuf.DoubleValue.fromObject(e.grossOrderMargin)}if(null!=e.deprecatedMaintenanceRiskRatio){if("object"!=typeof e.deprecatedMaintenanceRiskRatio)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.deprecatedMaintenanceRiskRatio: object expected");t.deprecatedMaintenanceRiskRatio=s.google.protobuf.Int32Value.fromObject(e.deprecatedMaintenanceRiskRatio)}if(null!=e.closeRiskRatio){if("object"!=typeof e.closeRiskRatio)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.closeRiskRatio: object expected");t.closeRiskRatio=s.google.protobuf.Int32Value.fromObject(e.closeRiskRatio)}if(null!=e.maintenanceMargin){if("object"!=typeof e.maintenanceMargin)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.maintenanceMargin: object expected");t.maintenanceMargin=s.google.protobuf.DoubleValue.fromObject(e.maintenanceMargin)}if(null!=e.totalCashValue){if("object"!=typeof e.totalCashValue)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.totalCashValue: object expected");t.totalCashValue=s.google.protobuf.DoubleValue.fromObject(e.totalCashValue)}switch(e.accountType){default:"number"==typeof e.accountType&&(t.accountType=e.accountType);break;case"ACCOUNT_TYPE_UNKNOWN":case 0:t.accountType=0;break;case"ACCOUNT_TYPE_CASH":case 1:t.accountType=1;break;case"ACCOUNT_TYPE_MARGIN":case 2:t.accountType=2}if(null!=e.availableFunds){if("object"!=typeof e.availableFunds)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.availableFunds: object expected");t.availableFunds=s.google.protobuf.DoubleValue.fromObject(e.availableFunds)}if(null!=e.accruedCash){if("object"!=typeof e.accruedCash)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.accruedCash: object expected");t.accruedCash=s.google.protobuf.DoubleValue.fromObject(e.accruedCash)}if(null!=e.accruedDividend){if("object"!=typeof e.accruedDividend)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.accruedDividend: object expected");t.accruedDividend=s.google.protobuf.DoubleValue.fromObject(e.accruedDividend)}if(null!=e.buyingPower){if("object"!=typeof e.buyingPower)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.buyingPower: object expected");t.buyingPower=s.google.protobuf.DoubleValue.fromObject(e.buyingPower)}if(null!=e.withdrawableCash){if("object"!=typeof e.withdrawableCash)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.withdrawableCash: object expected");t.withdrawableCash=s.google.protobuf.DoubleValue.fromObject(e.withdrawableCash)}if(null!=e.initialMargin){if("object"!=typeof e.initialMargin)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.initialMargin: object expected");t.initialMargin=s.google.protobuf.DoubleValue.fromObject(e.initialMargin)}if(null!=e.grossMoneyBoxValue){if("object"!=typeof e.grossMoneyBoxValue)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.grossMoneyBoxValue: object expected");t.grossMoneyBoxValue=s.google.protobuf.DoubleValue.fromObject(e.grossMoneyBoxValue)}if(null!=e.elv){if("object"!=typeof e.elv)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.elv: object expected");t.elv=s.google.protobuf.DoubleValue.fromObject(e.elv)}if(null!=e.lifeline){if("object"!=typeof e.lifeline)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.lifeline: object expected");t.lifeline=s.google.protobuf.Int32Value.fromObject(e.lifeline)}if(null!=e.excessLiquidity){if("object"!=typeof e.excessLiquidity)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.excessLiquidity: object expected");t.excessLiquidity=s.google.protobuf.DoubleValue.fromObject(e.excessLiquidity)}
1if(null!=e.optionSellingMargin){if("object"!=typeof e.optionSellingMargin)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.optionSellingMargin: object expected");t.optionSellingMargin=s.google.protobuf.DoubleValue.fromObject(e.optionSellingMargin)}if(null!=e.moneyBoxTotalProfit){if("object"!=typeof e.moneyBoxTotalProfit)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.moneyBoxTotalProfit: object expected");t.moneyBoxTotalProfit=s.google.protobuf.DoubleValue.fromObject(e.moneyBoxTotalProfit)}if(null!=e.buyMoneyBoxCashInTransmit){if("object"!=typeof e.buyMoneyBoxCashInTransmit)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.buyMoneyBoxCashInTransmit: object expected");t.buyMoneyBoxCashInTransmit=s.google.protobuf.DoubleValue.fromObject(e.buyMoneyBoxCashInTransmit)}if(null!=e.sellMoneyBoxCashInTransmit){if("object"!=typeof e.sellMoneyBoxCashInTransmit)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.sellMoneyBoxCashInTransmit: object expected");t.sellMoneyBoxCashInTransmit=s.google.protobuf.DoubleValue.fromObject(e.sellMoneyBoxCashInTransmit)}if(e.exercisingPositionMargins){if("object"!=typeof e.exercisingPositionMargins)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.exercisingPositionMargins: object expected");t.exercisingPositionMargins={};for(var r=Object.keys(e.exercisingPositionMargins),n=0;n<r.length;++n)t.exercisingPositionMargins[r[n]]=Number(e.exercisingPositionMargins[r[n]])}if(e.exercisingMargins){if("object"!=typeof e.exercisingMargins)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.exercisingMargins: object expected");t.exercisingMargins={};for(var r=Object.keys(e.exercisingMargins),n=0;n<r.length;++n)t.exercisingMargins[r[n]]=Number(e.exercisingMargins[r[n]])}if(e.commissions){if("object"!=typeof e.commissions)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.commissions: object expected");t.commissions={};for(var r=Object.keys(e.commissions),n=0;n<r.length;++n)t.commissions[r[n]]=Number(e.commissions[r[n]])}if(null!=e.maintenanceRiskRatio){if("object"!=typeof e.maintenanceRiskRatio)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.maintenanceRiskRatio: object expected");t.maintenanceRiskRatio=s.google.protobuf.DoubleValue.fromObject(e.maintenanceRiskRatio)}if(null!=e.withdrawalFreezeAmount){if("object"!=typeof e.withdrawalFreezeAmount)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.withdrawalFreezeAmount: object expected");t.withdrawalFreezeAmount=s.google.protobuf.DoubleValue.fromObject(e.withdrawalFreezeAmount)}if(e.frozenAmounts){if("object"!=typeof e.frozenAmounts)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.frozenAmounts: object expected");t.frozenAmounts={};for(var r=Object.keys(e.frozenAmounts),n=0;n<r.length;++n)t.frozenAmounts[r[n]]=Number(e.frozenAmounts[r[n]])}if(e.availableCash){if("object"!=typeof e.availableCash)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.availableCash: object expected");t.availableCash={};for(var r=Object.keys(e.availableCash),n=0;n<r.length;++n)t.availableCash[r[n]]=Number(e.availableCash[r[n]])}if(e.cashBuyingPowers){if("object"!=typeof e.cashBuyingPowers)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.cashBuyingPowers: object expected");t.cashBuyingPowers={};for(var r=Object.keys(e.cashBuyingPowers),n=0;n<r.length;++n)t.cashBuyingPowers[r[n]]=Number(e.cashBuyingPowers[r[n]])}if(e.extendedCommissions){if("object"!=typeof e.extendedCommissions)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.extendedCommissions: object expected");t.extendedCommissions={};for(var r=Object.keys(e.extendedCommissions),n=0;n<r.length;++n){if("object"!=typeof e.extendedCommissions[r[n]])throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.extendedCommissions: object expected");t.extendedCommissions[r[n]]=s.ai.rockflow.feed.portfolio.OrderIdToCommission.fromObject(e.extendedCommissions[r[n]])}}if(e.frozenNumbers){if("object"!=typeof e.frozenNumbers)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.frozenNumbers: object expected");t.frozenNumbers={};for(var r=Object.keys(e.frozenNumbers),n=0;n<r.length;++n)t.frozenNumbers[r[n]]=Number(e.frozenNumbers[r[n]])}if(null!=e.yesterdayNetLiquidationValue){if("object"!=typeof e.yesterdayNetLiquidationValue)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.yesterdayNetLiquidationValue: object expected");t.yesterdayNetLiquidationValue=s.google.protobuf.DoubleValue.fromObject(e.yesterdayNetLiquidationValue)}if(null!=e.beforeYesterdayNetLiquidationValue){if("object"!=typeof e.beforeYesterdayNetLiquidationValue)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.beforeYesterdayNetLiquidationValue: object expected");t.beforeYesterdayNetLiquidationValue=s.google.protobuf.DoubleValue.fromObject(e.beforeYesterdayNetLiquidationValue)}if(null!=e.accumulatedNetDepositAndWithdrawal){if("object"!=typeof e.accumulatedNetDepositAndWithdrawal)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.accumulatedNetDepositAndWithdrawal: object expected");t.accumulatedNetDepositAndWithdrawal=s.google.protobuf.DoubleValue.fromObject(e.accumulatedNetDepositAndWithdrawal)}if(null!=e.accumulatedProfitAndLoss){if("object"!=typeof e.accumulatedProfitAndLoss)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.accumulatedProfitAndLoss: object expected");t.accumulatedProfitAndLoss=s.google.protobuf.DoubleValue.fromObject(e.accumulatedProfitAndLoss)}if(null!=e.accumulatedProfitAndLossRate){if("object"!=typeof e.accumulatedProfitAndLossRate)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.accumulatedProfitAndLossRate: object expected");t.accumulatedProfitAndLossRate=s.google.protobuf.DoubleValue.fromObject(e.accumulatedProfitAndLossRate)}if(null!=e.yesterdayNetDepositAndWithdrawal){if("object"!=typeof e.yesterdayNetDepositAndWithdrawal)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.yesterdayNetDepositAndWithdrawal: object expected");t.yesterdayNetDepositAndWithdrawal=s.google.protobuf.DoubleValue.fromObject(e.yesterdayNetDepositAndWithdrawal)}if(null!=e.yesterdayProfitAndLoss){if("object"!=typeof e.yesterdayProfitAndLoss)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.yesterdayProfitAndLoss: object expected");t.yesterdayProfitAndLoss=s.google.protobuf.DoubleValue.fromObject(e.yesterdayProfitAndLoss)}if(null!=e.yesterdayProfitAndLossRate){if("object"!=typeof e.yesterdayProfitAndLossRate)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.yesterdayProfitAndLossRate: object expected");t.yesterdayProfitAndLossRate=s.google.protobuf.DoubleValue.fromObject(e.yesterdayProfitAndLossRate)}if(null!=e.todayNetDepositAndWithdrawal){if("object"!=typeof e.todayNetDepositAndWithdrawal)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.todayNetDepositAndWithdrawal: object expected");t.todayNetDepositAndWithdrawal=s.google.protobuf.DoubleValue.fromObject(e.todayNetDepositAndWithdrawal)}if(null!=e.todayProfitAndLoss){if("object"!=typeof e.todayProfitAndLoss)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.todayProfitAndLoss: object expected");t.todayProfitAndLoss=s.google.protobuf.DoubleValue.fromObject(e.todayProfitAndLoss)}if(null!=e.todayProfitAndLossRate){if("object"!=typeof e.todayProfitAndLossRate)throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.todayProfitAndLossRate: object expected");t.todayProfitAndLossRate=s.google.protobuf.DoubleValue.fromObject(e.todayProfitAndLossRate)}if(e.positions){if(!Array.isArray(e.positions))throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.positions: array expected");t.positions=[];for(var n=0;n<e.positions.length;++n){if("object"!=typeof e.positions[n])throw TypeError(".ai.rockflow.feed.portfolio.FeedBrokerAccount.positions: object expected");t.positions[n]=s.ai.rockflow.feed.portfolio.FeedPosition.fromObject(e.positions[n])}}return t},e.toObject=function(e,t){t||(t={});var r,n={};if((t.arrays||t.defaults)&&(n.positions=[]),(t.objects||t.defaults)&&(n.exercisingPositionMargins={},n.exercisingMargins={},n.commissions={},n.frozenAmounts={},n.availableCash={},n.cashBuyingPowers={},n.extendedCommissions={},n.frozenNumbers={}),t.defaults){if(n.accountId="",a.Long){var o=new a.Long(0,0,!0);n.userId=t.longs===String?o.toString():t.longs===Number?o.toNumber():o}else n.userId=t.longs===String?"0":0;n.totalAssets=0,n.dailyChange=0,n.dailyChangePercent=0,n.marginDeficit=0,n.riskRatio=0,n.positionDailyChange=null,n.positionDailyChangePercent=null,n.grossPositionValue=null,n.grossStockValue=null,n.grossOptionValue=null,n.netLiquidationValue=null,n.closeMargin=null,n.grossOrderMargin=null,n.deprecatedMaintenanceRiskRatio=null,n.closeRiskRatio=null,n.maintenanceMargin=null,n.totalCashValue=null,n.accountType=t.enums===String?"ACCOUNT_TYPE_UNKNOWN":0,n.availableFunds=null,n.accruedCash=null,n.accruedDividend=null,n.buyingPower=null,n.withdrawableCash=null,n.initialMargin=null,n.grossMoneyBoxValue=null,n.elv=null,n.lifeline=null,n.excessLiquidity=null,n.optionSellingMargin=null,n.moneyBoxTotalProfit=null,n.buy
1MoneyBoxCashInTransmit=null,n.sellMoneyBoxCashInTransmit=null,n.maintenanceRiskRatio=null,n.withdrawalFreezeAmount=null,n.yesterdayNetLiquidationValue=null,n.beforeYesterdayNetLiquidationValue=null,n.accumulatedNetDepositAndWithdrawal=null,n.accumulatedProfitAndLoss=null,n.accumulatedProfitAndLossRate=null,n.yesterdayNetDepositAndWithdrawal=null,n.yesterdayProfitAndLoss=null,n.yesterdayProfitAndLossRate=null,n.todayNetDepositAndWithdrawal=null,n.todayProfitAndLoss=null,n.todayProfitAndLossRate=null}if(null!=e.accountId&&e.hasOwnProperty("accountId")&&(n.accountId=e.accountId),null!=e.userId&&e.hasOwnProperty("userId")&&("number"==typeof e.userId?n.userId=t.longs===String?String(e.userId):e.userId:n.userId=t.longs===String?a.Long.prototype.toString.call(e.userId):t.longs===Number?new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0):e.userId),null!=e.totalAssets&&e.hasOwnProperty("totalAssets")&&(n.totalAssets=t.json&&!isFinite(e.totalAssets)?String(e.totalAssets):e.totalAssets),null!=e.dailyChange&&e.hasOwnProperty("dailyChange")&&(n.dailyChange=t.json&&!isFinite(e.dailyChange)?String(e.dailyChange):e.dailyChange),null!=e.dailyChangePercent&&e.hasOwnProperty("dailyChangePercent")&&(n.dailyChangePercent=t.json&&!isFinite(e.dailyChangePercent)?String(e.dailyChangePercent):e.dailyChangePercent),null!=e.marginDeficit&&e.hasOwnProperty("marginDeficit")&&(n.marginDeficit=t.json&&!isFinite(e.marginDeficit)?String(e.marginDeficit):e.marginDeficit),null!=e.riskRatio&&e.hasOwnProperty("riskRatio")&&(n.riskRatio=t.json&&!isFinite(e.riskRatio)?String(e.riskRatio):e.riskRatio),null!=e.positionDailyChange&&e.hasOwnProperty("positionDailyChange")&&(n.positionDailyChange=s.google.protobuf.DoubleValue.toObject(e.positionDailyChange,t)),null!=e.positionDailyChangePercent&&e.hasOwnProperty("positionDailyChangePercent")&&(n.positionDailyChangePercent=s.google.protobuf.DoubleValue.toObject(e.positionDailyChangePercent,t)),null!=e.grossPositionValue&&e.hasOwnProperty("grossPositionValue")&&(n.grossPositionValue=s.google.protobuf.DoubleValue.toObject(e.grossPositionValue,t)),null!=e.grossStockValue&&e.hasOwnProperty("grossStockValue")&&(n.grossStockValue=s.google.protobuf.DoubleValue.toObject(e.grossStockValue,t)),null!=e.grossOptionValue&&e.hasOwnProperty("grossOptionValue")&&(n.grossOptionValue=s.google.protobuf.DoubleValue.toObject(e.grossOptionValue,t)),null!=e.netLiquidationValue&&e.hasOwnProperty("netLiquidationValue")&&(n.netLiquidationValue=s.google.protobuf.DoubleValue.toObject(e.netLiquidationValue,t)),null!=e.closeMargin&&e.hasOwnProperty("closeMargin")&&(n.closeMargin=s.google.protobuf.DoubleValue.toObject(e.closeMargin,t)),null!=e.grossOrderMargin&&e.hasOwnProperty("grossOrderMargin")&&(n.grossOrderMargin=s.google.protobuf.DoubleValue.toObject(e.grossOrderMargin,t)),null!=e.deprecatedMaintenanceRiskRatio&&e.hasOwnProperty("deprecatedMaintenanceRiskRatio")&&(n.deprecatedMaintenanceRiskRatio=s.google.protobuf.Int32Value.toObject(e.deprecatedMaintenanceRiskRatio,t)),null!=e.closeRiskRatio&&e.hasOwnProperty("closeRiskRatio")&&(n.closeRiskRatio=s.google.protobuf.Int32Value.toObject(e.closeRiskRatio,t)),null!=e.maintenanceMargin&&e.hasOwnProperty("maintenanceMargin")&&(n.maintenanceMargin=s.google.protobuf.DoubleValue.toObject(e.maintenanceMargin,t)),null!=e.totalCashValue&&e.hasOwnProperty("totalCashValue")&&(n.totalCashValue=s.google.protobuf.DoubleValue.toObject(e.totalCashValue,t)),null!=e.accountType&&e.hasOwnProperty("accountType")&&(n.accountType=t.enums===String?void 0===s.ai.rockflow.feed.portfolio.FeedBrokerAccount.AccountType[e.accountType]?e.accountType:s.ai.rockflow.feed.portfolio.FeedBrokerAccount.AccountType[e.accountType]:e.accountType),null!=e.availableFunds&&e.hasOwnProperty("availableFunds")&&(n.availableFunds=s.google.protobuf.DoubleValue.toObject(e.availableFunds,t)),null!=e.accruedCash&&e.hasOwnProperty("accruedCash")&&(n.accruedCash=s.google.protobuf.DoubleValue.toObject(e.accruedCash,t)),null!=e.accruedDividend&&e.hasOwnProperty("accruedDividend")&&(n.accruedDividend=s.google.protobuf.DoubleValue.toObject(e.accruedDividend,t)),null!=e.buyingPower&&e.hasOwnProperty("buyingPower")&&(n.buyingPower=s.google.protobuf.DoubleValue.toObject(e.buyingPower,t)),null!=e.withdrawableCash&&e.hasOwnProperty("withdrawableCash")&&(n.withdrawableCash=s.google.protobuf.DoubleValue.toObject(e.withdrawableCash,t)),null!=e.initialMargin&&e.hasOwnProperty("initialMargin")&&(n.initialMargin=s.google.protobuf.DoubleValue.toObject(e.initialMargin,t)),null!=e.grossMoneyBoxValue&&e.hasOwnProperty("grossMoneyBoxValue")&&(n.grossMoneyBoxValue=s.google.protobuf.DoubleValue.toObject(e.grossMoneyBoxValue,t)),null!=e.elv&&e.hasOwnProperty("elv")&&(n.elv=s.google.protobuf.DoubleValue.toObject(e.elv,t)),null!=e.lifeline&&e.hasOwnProperty("lifeline")&&(n.lifeline=s.google.protobuf.Int32Value.toObject(e.lifeline,t)),null!=e.excessLiquidity&&e.hasOwnProperty("excessLiquidity")&&(n.excessLiquidity=s.google.protobuf.DoubleValue.toObject(e.excessLiquidity,t)),null!=e.optionSellingMargin&&e.hasOwnProperty("optionSellingMargin")&&(n.optionSellingMargin=s.google.protobuf.DoubleValue.toObject(e.optionSellingMargin,t)),null!=e.moneyBoxTotalProfit&&e.hasOwnProperty("moneyBoxTotalProfit")&&(n.moneyBoxTotalProfit=s.google.protobuf.DoubleValue.toObject(e.moneyBoxTotalProfit,t)),null!=e.buyMoneyBoxCashInTransmit&&e.hasOwnProperty("buy
1MoneyBoxCashInTransmit")&&(n.buyMoneyBoxCashInTransmit=s.google.protobuf.DoubleValue.toObject(e.buyMoneyBoxCashInTransmit,t)),null!=e.sellMoneyBoxCashInTransmit&&e.hasOwnProperty("sellMoneyBoxCashInTransmit")&&(n.sellMoneyBoxCashInTransmit=s.google.protobuf.DoubleValue.toObject(e.sellMoneyBoxCashInTransmit,t)),e.exercisingPositionMargins&&(r=Object.keys(e.exercisingPositionMargins)).length){n.exercisingPositionMargins={};for(var i=0;i<r.length;++i)n.exercisingPositionMargins[r[i]]=t.json&&!isFinite(e.exercisingPositionMargins[r[i]])?String(e.exercisingPositionMargins[r[i]]):e.exercisingPositionMargins[r[i]]}if(e.exercisingMargins&&(r=Object.keys(e.exercisingMargins)).length){n.exercisingMargins={};for(var i=0;i<r.length;++i)n.exercisingMargins[r[i]]=t.json&&!isFinite(e.exercisingMargins[r[i]])?String(e.exercisingMargins[r[i]]):e.exercisingMargins[r[i]]}if(e.commissions&&(r=Object.keys(e.commissions)).length){n.commissions={};for(var i=0;i<r.length;++i)n.commissions[r[i]]=t.json&&!isFinite(e.commissions[r[i]])?String(e.commissions[r[i]]):e.commissions[r[i]]}if(null!=e.maintenanceRiskRatio&&e.hasOwnProperty("maintenanceRiskRatio")&&(n.maintenanceRiskRatio=s.google.protobuf.DoubleValue.toObject(e.maintenanceRiskRatio,t)),null!=e.withdrawalFreezeAmount&&e.hasOwnProperty("withdrawalFreezeAmount")&&(n.withdrawalFreezeAmount=s.google.protobuf.DoubleValue.toObject(e.withdrawalFreezeAmount,t)),e.frozenAmounts&&(r=Object.keys(e.frozenAmounts)).length){n.frozenAmounts={};for(var i=0;i<r.length;++i)n.frozenAmounts[r[i]]=t.json&&!isFinite(e.frozenAmounts[r[i]])?String(e.frozenAmounts[r[i]]):e.frozenAmounts[r[i]]}if(e.availableCash&&(r=Object.keys(e.availableCash)).length){n.availableCash={};for(var i=0;i<r.length;++i)n.availableCash[r[i]]=t.json&&!isFinite(e.availableCash[r[i]])?String(e.availableCash[r[i]]):e.availableCash[r[i]]}if(e.cashBuyingPowers&&(r=Object.keys(e.cashBuyingPowers)).length){n.cashBuyingPowers={};for(var i=0;i<r.length;++i)n.cashBuyingPowers[r[i]]=t.json&&!isFinite(e.cashBuyingPowers[r[i]])?String(e.cashBuyingPowers[r[i]]):e.cashBuyingPowers[r[i]]}if(e.extendedCommissions&&(r=Object.keys(e.extendedCommissions)).length){n.extendedCommissions={};for(var i=0;i<r.length;++i)n.extendedCommissions[r[i]]=s.ai.rockflow.feed.portfolio.OrderIdToCommission.toObject(e.extendedCommissions[r[i]],t)}if(e.frozenNumbers&&(r=Object.keys(e.frozenNumbers)).length){n.frozenNumbers={};for(var i=0;i<r.length;++i)n.frozenNumbers[r[i]]=t.json&&!isFinite(e.frozenNumbers[r[i]])?String(e.frozenNumbers[r[i]]):e.frozenNumbers[r[i]]}if(null!=e.yesterdayNetLiquidationValue&&e.hasOwnProperty("yesterdayNetLiquidationValue")&&(n.yesterdayNetLiquidationValue=s.google.protobuf.DoubleValue.toObject(e.yesterdayNetLiquidationValue,t)),null!=e.beforeYesterdayNetLiquidationValue&&e.hasOwnProperty("beforeYesterdayNetLiquidationValue")&&(n.beforeYesterdayNetLiquidationValue=s.google.protobuf.DoubleValue.toObject(e.beforeYesterdayNetLiquidationValue,t)),null!=e.accumulatedNetDepositAndWithdrawal&&e.hasOwnProperty("accumulatedNetDepositAndWithdrawal")&&(n.accumulatedNetDepositAndWithdrawal=s.google.protobuf.DoubleValue.toObject(e.accumulatedNetDepositAndWithdrawal,t)),null!=e.accumulatedProfitAndLoss&&e.hasOwnProperty("accumulatedProfitAndLoss")&&(n.accumulatedProfitAndLoss=s.google.protobuf.DoubleValue.toObject(e.accumulatedProfitAndLoss,t)),null!=e.accumulatedProfitAndLossRate&&e.hasOwnProperty("accumulatedProfitAndLossRate")&&(n.accumulatedProfitAndLossRate=s.google.protobuf.DoubleValue.toObject(e.accumulatedProfitAndLossRate,t)),null!=e.yesterdayNetDepositAndWithdrawal&&e.hasOwnProperty("yesterdayNetDepositAndWithdrawal")&&(n.yesterdayNetDepositAndWithdrawal=s.google.protobuf.DoubleValue.toObject(e.yesterdayNetDepositAndWithdrawal,t)),null!=e.yesterdayProfitAndLoss&&e.hasOwnProperty("yesterdayProfitAndLoss")&&(n.yesterdayProfitAndLoss=s.google.protobuf.DoubleValue.toObject(e.yesterdayProfitAndLoss,t)),null!=e.yesterdayProfitAndLossRate&&e.hasOwnProperty("yesterdayProfitAndLossRate")&&(n.yesterdayProfitAndLossRate=s.google.protobuf.DoubleValue.toObject(e.yesterdayProfitAndLossRate,t)),null!=e.todayNetDepositAndWithdrawal&&e.hasOwnProperty("todayNetDepositAndWithdrawal")&&(n.todayNetDepositAndWithdrawal=s.google.protobuf.DoubleValue.toObject(e.todayNetDepositAndWithdrawal,t)),null!=e.todayProfitAndLoss&&e.hasOwnProperty("todayProfitAndLoss")&&(n.todayProfitAndLoss=s.google.protobuf.DoubleValue.toObject(e.todayProfitAndLoss,t)),null!=e.todayProfitAndLossRate&&e.hasOwnProperty("todayProfitAndLossRate")&&(n.todayProfitAndLossRate=s.google.protobuf.DoubleValue.toObject(e.todayProfitAndLossRate,t)),e.positions&&e.positions.length){n.positions=[];for(var i=0;i<e.positions.length;++i)n.positions[i]=s.ai.rockflow.feed.portfolio.FeedPosition.toObject(e.positions[i],t)}return n},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.feed.portfolio.FeedBrokerAccount"},e.AccountType=function(){var e={},t=Object.create(e);
1return t[e[0]="ACCOUNT_TYPE_UNKNOWN"]=0,t[e[1]="ACCOUNT_TYPE_CASH"]=1,t[e[2]="ACCOUNT_TYPE_MARGIN"]=2,t}(),e}(),e.OrderIdToCommission=function(){function e(e){if(this.orderIdToCommission={},e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.orderIdToCommission=a.emptyObject,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=i.create()),null!=e.orderIdToCommission&&Object.hasOwnProperty.call(e,"orderIdToCommission"))for(var r=Object.keys(e.orderIdToCommission),n=0;n<r.length;++n)t.uint32(10).fork().uint32(8).int64(r[n]).uint32(17).double(e.orderIdToCommission[r[n]]).ldelim();return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n,i,u=void 0===t?e.len:e.pos+t,l=new s.ai.rockflow.feed.portfolio.OrderIdToCommission;e.pos<u;){var d=e.uint32();if(d===r)break;if(d>>>3==1){l.orderIdToCommission===a.emptyObject&&(l.orderIdToCommission={});var c=e.uint32()+e.pos;for(n=0,i=0;e.pos<c;){var p=e.uint32();switch(p>>>3){case 1:n=e.int64();break;case 2:i=e.double();break;default:e.skipType(7&p)}}l.orderIdToCommission["object"==typeof n?a.longToHash(n):n]=i}else e.skipType(7&d)}return l},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.orderIdToCommission&&e.hasOwnProperty("orderIdToCommission")){if(!a.isObject(e.orderIdToCommission))return"orderIdToCommission: object expected";for(var t=Object.keys(e.orderIdToCommission),r=0;r<t.length;++r){if(!a.key64Re.test(t[r]))return"orderIdToCommission: integer|Long key{k:int64} expected";if("number"!=typeof e.orderIdToCommission[t[r]])return"orderIdToCommission: number{k:int64} expected"}}return null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.feed.portfolio.OrderIdToCommission)return e;var t=new s.ai.rockflow.feed.portfolio.OrderIdToCommission;if(e.orderIdToCommission){if("object"!=typeof e.orderIdToCommission)throw TypeError(".ai.rockflow.feed.portfolio.OrderIdToCommission.orderIdToCommission: object expected");t.orderIdToCommission={};for(var r=Object.keys(e.orderIdToCommission),n=0;n<r.length;++n)t.orderIdToCommission[r[n]]=Number(e.orderIdToCommission[r[n]])}return t},e.toObject=function(e,t){t||(t={});var r,n={};if((t.objects||t.defaults)&&(n.orderIdToCommission={}),e.orderIdToCommission&&(r=Object.keys(e.orderIdToCommission)).length){n.orderIdToCommission={};for(var o=0;o<r.length;++o)n.orderIdToCommission[r[o]]=t.json&&!isFinite(e.orderIdToCommission[r[o]])?String(e.orderIdToCommission[r[o]]):e.orderIdToCommission[r[o]]}return n},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.feed.portfolio.OrderIdToCommission"},e}(),e.FeedPortfolio=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.eventType=0,e.prototype.payload=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.eventType&&Object.hasOwnProperty.call(e,"eventType")&&t.uint32(8).uint32(e.eventType),null!=e.payload&&Object.hasOwnProperty.call(e,"payload")&&s.google.protobuf.Any.encode(e.payload,t.uint32(18).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.ai.rockflow.feed.portfolio.FeedPortfolio;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.eventType=e.uint32();break;case 2:i.payload=s.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.eventType&&e.hasOwnProperty("eventType")&&!a.isInteger(e.eventType))return"eventType: integer expected";if(null!=e.payload&&e.hasOwnProperty("payload")){var t=s.google.protobuf.Any.verify(e.payload);if(t)return"payload."+t}return null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.feed.portfolio.FeedPortfolio)return e;var t=new s.ai.rockflow.feed.portfolio.FeedPortfolio;if(null!=e.eventType&&(t.eventType=e.eventType>>>0),null!=e.payload){if("object"!=typeof e.payload)throw TypeError(".ai.rockflow.feed.portfolio.FeedPortfolio.payload: object expected");t.payload=s.google.protobuf.Any.fromObject(e.payload)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.eventType=0,r.payload=null),null!=e.eventType&&e.hasOwnProperty("eventType")&&(r.eventType=e.eventType),null!=e.payload&&e.hasOwnProperty("payload")&&(r.payload=s.google.protobuf.Any.toObject(e.payload,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.feed.portfolio.FeedPortfolio"},e}(),e.FeedPosition=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.symbol="",e.prototype.marketValue=0,e.prototype.profit=0,e.prototype.profitPercent=0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.symbol&&Object.hasOwnProperty.call(e,"symbol")&&t.uint32(10).string(e.symbol),null!=e.marketValue&&Object.hasOwnProperty.call(e,"marketValue")&&t.uint32(17).double(e.marketValue),null!=e.profit&&Object.hasOwnProperty.call(e,"profit")&&t.uint32(25).double(e.profit),null!=e.profitPercent&&Object.hasOwnProperty.call(e,"profitPercent")&&t.uint32(33).double(e.profitPercent),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.ai.rockflow.feed.portfolio.FeedPosition;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.symbol=e.string();break;case 2:i.marketValue=e.double();break;case 3:i.profit=e.double();break;case 4:i.profitPercent=e.double();break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.symbol&&e.hasOwnProperty("symbol")&&!a.isString(e.symbol)?"symbol: string expected":null!=e.marketValue&&e.hasOwnProperty("marketValue")&&"number"!=typeof e.marketValue?"marketValue: number expected":null!=e.profit&&e.hasOwnProperty("profit")&&"number"!=typeof e.profit?"profit: number expected":null!=e.profitPercent&&e.hasOwnProperty("profitPercent")&&"number"!=typeof e.profitPercent?"profitPercent: number expected":null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.feed.portfolio.FeedPosition)return e;var t=new s.ai.rockflow.feed.portfolio.FeedPosition;return null!=e.symbol&&(t.symbol=String(e.symbol)),null!=e.marketValue&&(t.marketValue=Number(e.marketValue)),null!=e.profit&&(t.profit=Number(e.profit)),null!=e.profitPercent&&(t.profitPercent=Number(e.profitPercent)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.symbol="",r.marketValue=0,r.profit=0,r.profitPercent=0),null!=e.symbol&&e.hasOwnProperty("symbol")&&(r.symbol=e.symbol),null!=e.marketValue&&e.hasOwnProperty("marketValue")&&(r.marketValue=t.json&&!isFinite(e.marketValue)?String(e.marketValue):e.marketValue),null!=e.profit&&e.hasOwnProperty("profit")&&(r.profit=t.json&&!isFinite(e.profit)?String(e.profit):e.profit),null!=e.profitPercent&&e.hasOwnProperty("profitPercent")&&(r.profitPercent=t.json&&!isFinite(e.profitPercent)?String(e.profitPercent):e.profitPercent),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.feed.portfolio.FeedPosition"},e}(),e.FeedPortfolioOrder=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.eventId="",e.prototype.userId=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.orderId=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.orderStatus=0,e.prototype.eventTime=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.msgTitle="",e.prototype.msgBody="",e.prototype.msgType="",e.prototype.jumpLink="",e.prototype.symbol="",e.prototype.currency="",e.prototype.quantity=0,e.prototype.profit=0,e.prototype.profitPercent=0,e.prototype.openClose=0,e.prototype.tradeSide=0,e.prototype.cashReward=0,e.prototype.price=0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.eventId&&Object.hasOwnProperty.call(e,"eventId")&&t.uint32(10).string(e.eventId),null!=e.userId&&Object.hasOwnProperty.call(e,"userId")&&t.uint32(16).uint64(e.userId),null!=e.orderId&&Object.hasOwnProperty.call(e,"orderId")&&t.uint32(24).uint64(e.orderId),null!=e.orderStatus&&Object.hasOwnProperty.call(e,"orderStatus")&&t.uint32(32).uint32(e.orderStatus),null!=e.eventTime&&Object.hasOwnProperty.call(e,"eventTime")&&t.uint32(40).uint64(e.eventTime),null!=e.msgTitle&&Object.hasOwnProperty.call(e,"msgTitle")&&t.uint32(50).string(e.msgTitle),null!=e.msgBody&&Object.hasOwnProperty.call(e,"msgBody")&&t.uint32(58).string(e.msgBody),null!=e.msgType&&Object.hasOwnProperty.call(e,"msgType")&&t.uint32(66).string(e.msgType),null!=e.jumpLink&&Object.hasOwnProperty.call(e,"jumpLink")&&t.uint32(74).string(e.jumpLink),null!=e.symbol&&Object.hasOwnProperty.call(e,"symbol")&&t.uint32(82).string(e.symbol),null!=e.currency&&Object.hasOwnProperty.call(e,"currency")&&t.uint32(90).string(e.currency),null!=e.quantity&&Object.hasOwnProperty.call(e,"quantity")&&t.uint32(97).double(e.quantity),null!=e.profit&&Object.hasOwnProperty.call(e,"profit")&&t.uint32(105).double(e.profit),null!=e.profitPercent&&Object.hasOwnProperty.call(e,"profitPercent")&&t.uint32(113).double(e.profitPercent),null!=e.openClose&&Object.hasOwnProperty.call(e,"openClose")&&t.uint32(120).uint32(e.openClose),null!=e.tradeSide&&Object.hasOwnProperty.call(e,"tradeSide")&&t.uint32(128).uint32(e.tradeSide),null!=e.cashReward&&Object.hasOwnProperty.call(e,"cashReward")&&t.uint32(137).double(e.cashReward),null!=e.price&&Object.hasOwnProperty.call(e,"price")&&t.uint32(145).double(e.price),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.ai.rockflow.feed.portfolio.FeedPortfolioOrder;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.eventId=e.string();break;case 2:i.userId=e.uint64();break;case 3:i.orderId=e.uint64();break;case 4:i.orderStatus=e.uint32();break;case 5:i.eventTime=e.uint64();break;case 6:i.msgTitle=e.string();break;case 7:i.msgBody=e.string();break;case 8:i.msgType=e.string();break;case 9:i.jumpLink=e.string();break;case 10:i.symbol=e.string();break;case 11:i.currency=e.string();break;case 12:i.quantity=e.double();break;case 13:i.profit=e.double();break;case 14:i.profitPercent=e.double();break;case 15:i.openClose=e.uint32();break;
vendor: 4,391 bytes, line 1
1case 16:i.tradeSide=e.uint32();break;case 17:i.cashReward=e.double();break;case 18:i.price=e.double();break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.eventId&&e.hasOwnProperty("eventId")&&!a.isString(e.eventId)?"eventId: string expected":null!=e.userId&&e.hasOwnProperty("userId")&&!a.isInteger(e.userId)&&!(e.userId&&a.isInteger(e.userId.low)&&a.isInteger(e.userId.high))?"userId: integer|Long expected":null!=e.orderId&&e.hasOwnProperty("orderId")&&!a.isInteger(e.orderId)&&!(e.orderId&&a.isInteger(e.orderId.low)&&a.isInteger(e.orderId.high))?"orderId: integer|Long expected":null!=e.orderStatus&&e.hasOwnProperty("orderStatus")&&!a.isInteger(e.orderStatus)?"orderStatus: integer expected":null!=e.eventTime&&e.hasOwnProperty("eventTime")&&!a.isInteger(e.eventTime)&&!(e.eventTime&&a.isInteger(e.eventTime.low)&&a.isInteger(e.eventTime.high))?"eventTime: integer|Long expected":null!=e.msgTitle&&e.hasOwnProperty("msgTitle")&&!a.isString(e.msgTitle)?"msgTitle: string expected":null!=e.msgBody&&e.hasOwnProperty("msgBody")&&!a.isString(e.msgBody)?"msgBody: string expected":null!=e.msgType&&e.hasOwnProperty("msgType")&&!a.isString(e.msgType)?"msgType: string expected":null!=e.jumpLink&&e.hasOwnProperty("jumpLink")&&!a.isString(e.jumpLink)?"jumpLink: string expected":null!=e.symbol&&e.hasOwnProperty("symbol")&&!a.isString(e.symbol)?"symbol: string expected":null!=e.currency&&e.hasOwnProperty("currency")&&!a.isString(e.currency)?"currency: string expected":null!=e.quantity&&e.hasOwnProperty("quantity")&&"number"!=typeof e.quantity?"quantity: number expected":null!=e.profit&&e.hasOwnProperty("profit")&&"number"!=typeof e.profit?"profit: number expected":null!=e.profitPercent&&e.hasOwnProperty("profitPercent")&&"number"!=typeof e.profitPercent?"profitPercent: number expected":null!=e.openClose&&e.hasOwnProperty("openClose")&&!a.isInteger(e.openClose)?"openClose: integer expected":null!=e.tradeSide&&e.hasOwnProperty("tradeSide")&&!a.isInteger(e.tradeSide)?"tradeSide: integer expected":null!=e.cashReward&&e.hasOwnProperty("cashReward")&&"number"!=typeof e.cashReward?"cashReward: number expected":null!=e.price&&e.hasOwnProperty("price")&&"number"!=typeof e.price?"price: number expected":null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.feed.portfolio.FeedPortfolioOrder)return e;var t=new s.ai.rockflow.feed.portfolio.FeedPortfolioOrder;return null!=e.eventId&&(t.eventId=String(e.eventId)),null!=e.userId&&(a.Long?(t.userId=a.Long.fromValue(e.userId)).unsigned=!0:"string"==typeof e.userId?t.userId=parseInt(e.userId,10):"number"==typeof e.userId?t.userId=e.userId:"object"==typeof e.userId&&(t.userId=new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0))),null!=e.orderId&&(a.Long?(t.orderId=a.Long.fromValue(e.orderId)).unsigned=!0:"string"==typeof e.orderId?t.orderId=parseInt(e.orderId,10):"number"==typeof e.orderId?t.orderId=e.orderId:"object"==typeof e.orderId&&(t.orderId=new a.LongBits(e.orderId.low>>>0,e.orderId.high>>>0).toNumber(!0))),null!=e.orderStatus&&(t.orderStatus=e.orderStatus>>>0),null!=e.eventTime&&(a.Long?(t.eventTime=a.Long.fromValue(e.eventTime)).unsigned=!0:"string"==typeof e.eventTime?t.eventTime=parseInt(e.eventTime,10):"number"==typeof e.eventTime?t.eventTime=e.eventTime:"object"==typeof e.eventTime&&(t.eventTime=new a.LongBits(e.eventTime.low>>>0,e.eventTime.high>>>0).toNumber(!0))),null!=e.msgTitle&&(t.msgTitle=String(e.msgTitle)),null!=e.msgBody&&(t.msgBody=String(e.msgBody)),null!=e.msgType&&(t.msgType=String(e.msgType)),null!=e.jumpLink&&(t.jumpLink=String(e.jumpLink)),null!=e.symbol&&(t.symbol=String(e.symbol)),null!=e.currency&&(t.currency=String(e.currency)),null!=e.quantity&&(t.quantity=Number(e.quantity)),null!=e.profit&&(t.profit=Number(e.profit)),null!=e.profitPercent&&(t.profitPercent=Number(e.profitPercent)),null!=e.openClose&&(t.openClose=e.openClose>>>0),null!=e.tradeSide&&(t.tradeSide=e.tradeSide>>>0),null!=e.cashReward&&(t.cashReward=Number(e.cashReward)),null!=e.price&&(t.price=Number(e.price)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.eventId="",a.Long){var n=new a.Long(0,0,!0);r.userId=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.userId=t.longs===String?"0":0;
1if(a.Long){var n=new a.Long(0,0,!0);r.orderId=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.orderId=t.longs===String?"0":0;if(r.orderStatus=0,a.Long){var n=new a.Long(0,0,!0);r.eventTime=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.eventTime=t.longs===String?"0":0;r.msgTitle="",r.msgBody="",r.msgType="",r.jumpLink="",r.symbol="",r.currency="",r.quantity=0,r.profit=0,r.profitPercent=0,r.openClose=0,r.tradeSide=0,r.cashReward=0,r.price=0}return null!=e.eventId&&e.hasOwnProperty("eventId")&&(r.eventId=e.eventId),null!=e.userId&&e.hasOwnProperty("userId")&&("number"==typeof e.userId?r.userId=t.longs===String?String(e.userId):e.userId:r.userId=t.longs===String?a.Long.prototype.toString.call(e.userId):t.longs===Number?new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0):e.userId),null!=e.orderId&&e.hasOwnProperty("orderId")&&("number"==typeof e.orderId?r.orderId=t.longs===String?String(e.orderId):e.orderId:r.orderId=t.longs===String?a.Long.prototype.toString.call(e.orderId):t.longs===Number?new a.LongBits(e.orderId.low>>>0,e.orderId.high>>>0).toNumber(!0):e.orderId),null!=e.orderStatus&&e.hasOwnProperty("orderStatus")&&(r.orderStatus=e.orderStatus),null!=e.eventTime&&e.hasOwnProperty("eventTime")&&("number"==typeof e.eventTime?r.eventTime=t.longs===String?String(e.eventTime):e.eventTime:r.eventTime=t.longs===String?a.Long.prototype.toString.call(e.eventTime):t.longs===Number?new a.LongBits(e.eventTime.low>>>0,e.eventTime.high>>>0).toNumber(!0):e.eventTime),null!=e.msgTitle&&e.hasOwnProperty("msgTitle")&&(r.msgTitle=e.msgTitle),null!=e.msgBody&&e.hasOwnProperty("msgBody")&&(r.msgBody=e.msgBody),null!=e.msgType&&e.hasOwnProperty("msgType")&&(r.msgType=e.msgType),null!=e.jumpLink&&e.hasOwnProperty("jumpLink")&&(r.jumpLink=e.jumpLink),null!=e.symbol&&e.hasOwnProperty("symbol")&&(r.symbol=e.symbol),null!=e.currency&&e.hasOwnProperty("currency")&&(r.currency=e.currency),null!=e.quantity&&e.hasOwnProperty("quantity")&&(r.quantity=t.json&&!isFinite(e.quantity)?String(e.quantity):e.quantity),null!=e.profit&&e.hasOwnProperty("profit")&&(r.profit=t.json&&!isFinite(e.profit)?String(e.profit):e.profit),null!=e.profitPercent&&e.hasOwnProperty("profitPercent")&&(r.profitPercent=t.json&&!isFinite(e.profitPercent)?String(e.profitPercent):e.profitPercent),null!=e.openClose&&e.hasOwnProperty("openClose")&&(r.openClose=e.openClose),null!=e.tradeSide&&e.hasOwnProperty("tradeSide")&&(r.tradeSide=e.tradeSide),null!=e.cashReward&&e.hasOwnProperty("cashReward")&&(r.cashReward=t.json&&!isFinite(e.cashReward)?String(e.cashReward):e.cashReward),null!=e.price&&e.hasOwnProperty("price")&&(r.price=t.json&&!isFinite(e.price)?String(e.price):e.price),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.feed.portfolio.FeedPortfolioOrder"},e}(),e.FeedPortfolioPosition=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.userId=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.positionId="",e.prototype.symbol="",e.prototype.instrument=0,e.prototype.quantity=0,e.prototype.openPrice=0,e.prototype.lastPrice=0,e.prototype.side=0,e.prototype.currency="",e.prototype.eventTime=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.eventType=0,e.prototype.deltaAmount=0,e.prototype.exerciseState=0,e.prototype.deltaQuantity=0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.userId&&Object.hasOwnProperty.call(e,"userId")&&t.uint32(8).uint64(e.userId),null!=e.positionId&&Object.hasOwnProperty.call(e,"positionId")&&t.uint32(18).string(e.positionId),null!=e.symbol&&Object.hasOwnProperty.call(e,"symbol")&&t.uint32(26).string(e.symbol),null!=e.instrument&&Object.hasOwnProperty.call(e,"instrument")&&t.uint32(32).uint32(e.instrument),null!=e.quantity&&Object.hasOwnProperty.call(e,"quantity")&&t.uint32(41).double(e.quantity),null!=e.openPrice&&Object.hasOwnProperty.call(e,"openPrice")&&t.uint32(49).double(e.openPrice),null!=e.lastPrice&&Object.hasOwnProperty.call(e,"lastPrice")&&t.uint32(57).double(e.lastPrice),null!=e.side&&Object.hasOwnProperty.call(e,"side")&&t.uint32(64).uint32(e.side),null!=e.currency&&Object.hasOwnProperty.call(e,"currency")&&t.uint32(74).string(e.currency),null!=e.eventTime&&Object.hasOwnProperty.call(e,"eventTime")&&t.uint32(80).uint64(e.eventTime),null!=e.eventType&&Object.hasOwnProperty.call(e,"eventType")&&t.uint32(88).int32(e.eventType),null!=e.deltaAmount&&Object.hasOwnProperty.call(e,"deltaAmount")&&t.uint32(97).double(e.deltaAmount),null!=e.exerciseState&&Object.hasOwnProperty.call(e,"exerciseState")&&t.uint32(104).int32(e.exerciseState),null!=e.deltaQuantity&&Object.hasOwnProperty.call(e,"deltaQuantity")&&t.uint32(113).double(e.deltaQuantity),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.ai.rockflow.feed.portfolio.FeedPortfolioPosition;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.userId=e.uint64();break;case 2:i.positionId=e.string();break;case 3:i.symbol=e.string();break;case 4:i.instrument=e.uint32();break;case 5:i.quantity=e.double();break;case 6:i.openPrice=e.double();break;case 7:i.lastPrice=e.double();break;case 8:i.side=e.uint32();break;case 9:i.currency=e.string();break;case 10:i.eventTime=e.uint64();break;case 11:i.eventType=e.int32();break;case 12:i.deltaAmount=e.double();break;case 13:i.exerciseState=e.int32();break;case 14:i.deltaQuantity=e.double();break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.userId&&e.hasOwnProperty("userId")&&!a.isInteger(e.userId)&&!(e.userId&&a.isInteger(e.userId.low)&&a.isInteger(e.userId.high)))return"userId: integer|Long expected";if(null!=e.positionId&&e.hasOwnProperty("positionId")&&!a.isString(e.positionId))return"positionId: string expected";if(null!=e.symbol&&e.hasOwnProperty("symbol")&&!a.isString(e.symbol))return"symbol: string expected";if(null!=e.instrument&&e.hasOwnProperty("instrument")&&!a.isInteger(e.instrument))return"instrument: integer expected";if(null!=e.quantity&&e.hasOwnProperty("quantity")&&"number"!=typeof e.quantity)return"quantity: number expected";if(null!=e.openPrice&&e.hasOwnProperty("openPrice")&&"number"!=typeof e.o
1penPrice)return"openPrice: number expected";if(null!=e.lastPrice&&e.hasOwnProperty("lastPrice")&&"number"!=typeof e.lastPrice)return"lastPrice: number expected";if(null!=e.side&&e.hasOwnProperty("side")&&!a.isInteger(e.side))return"side: integer expected";if(null!=e.currency&&e.hasOwnProperty("currency")&&!a.isString(e.currency))return"currency: string expected";if(null!=e.eventTime&&e.hasOwnProperty("eventTime")&&!a.isInteger(e.eventTime)&&!(e.eventTime&&a.isInteger(e.eventTime.low)&&a.isInteger(e.eventTime.high)))return"eventTime: integer|Long expected";if(null!=e.eventType&&e.hasOwnProperty("eventType"))switch(e.eventType){default:return"eventType: enum value expected";case 0:case 1:case 2:case 3:}if(null!=e.deltaAmount&&e.hasOwnProperty("deltaAmount")&&"number"!=typeof e.deltaAmount)return"deltaAmount: number expected";if(null!=e.exerciseState&&e.hasOwnProperty("exerciseState"))switch(e.exerciseState){default:return"exerciseState: enum value expected";case 0:case 1:case 2:}return null!=e.deltaQuantity&&e.hasOwnProperty("deltaQuantity")&&"number"!=typeof e.deltaQuantity?"deltaQuantity: number expected":null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.feed.portfolio.FeedPortfolioPosition)return e;var t=new s.ai.rockflow.feed.portfolio.FeedPortfolioPosition;switch(null!=e.userId&&(a.Long?(t.userId=a.Long.fromValue(e.userId)).unsigned=!0:"string"==typeof e.userId?t.userId=parseInt(e.userId,10):"number"==typeof e.userId?t.userId=e.userId:"object"==typeof e.userId&&(t.userId=new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0))),null!=e.positionId&&(t.positionId=String(e.positionId)),null!=e.symbol&&(t.symbol=String(e.symbol)),null!=e.instrument&&(t.instrument=e.instrument>>>0),null!=e.quantity&&(t.quantity=Number(e.quantity)),null!=e.openPrice&&(t.openPrice=Number(e.openPrice)),null!=e.lastPrice&&(t.lastPrice=Number(e.lastPrice)),null!=e.side&&(t.side=e.side>>>0),null!=e.currency&&(t.currency=String(e.currency)),null!=e.eventTime&&(a.Long?(t.eventTime=a.Long.fromValue(e.eventTime)).unsigned=!0:"string"==typeof e.eventTime?t.eventTime=parseInt(e.eventTime,10):"number"==typeof e.eventTime?t.eventTime=e.eventTime:"object"==typeof e.eventTime&&(t.eventTime=new a.LongBits(e.eventTime.low>>>0,e.eventTime.high>>>0).toNumber(!0))),e.eventType){default:"number"==typeof e.eventType&&(t.eventType=e.eventType);break;case"OPEN_LONG":case 0:t.eventType=0;break;case"OPEN_SHORT":case 1:t.eventType=1;break;case"CLOSE_LONG":case 2:t.eventType=2;break;case"CLOSE_SHORT":case 3:t.eventType=3}switch(null!=e.deltaAmount&&(t.deltaAmount=Number(e.deltaAmount)),e.exerciseState){default:"number"==typeof e.exerciseState&&(t.exerciseState=e.exerciseState);break;case"UNKNOWN":case 0:t.exerciseState=0;break;case"EXPIRED":case 1:t.exerciseState=1;break;case"EXERCISED":case 2:t.exerciseState=2}return null!=e.deltaQuantity&&(t.deltaQuantity=Number(e.deltaQuantity)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!0);r.userId=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.userId=t.longs===String?"0":0;if(r.positionId="",r.symbol="",r.instrument=0,r.quantity=0,r.openPrice=0,r.lastPrice=0,r.side=0,r.currency="",a.Long){var n=new a.Long(0,0,!0);r.eventTime=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.eventTime=t.longs===String?"0":0;r.eventType=t.enums===String?"OPEN_LONG":0,r.deltaAmount=0,r.exerciseState=t.enums===String?"UNKNOWN":0,r.deltaQuantity=0}return null!=e.userId&&e.hasOwnProperty("userId")&&("number"==typeof e.userId?r.userId=t.longs===String?String(e.userId):e.userId:r.userId=t.longs===String?a.Long.prototype.toString.call(e.userId):t.longs===Number?new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0):e.userId),null!=e.positionId&&e.hasOwnProperty("positionId")&&(r.positionId=e.positionId),null!=e.symbol&&e.hasOwnProperty("symbol")&&(r.symbol=e.symbol),null!=e.instrument&&e.hasOwnProperty("instrument")&&(r.instrument=e.instrument),null!=e.quantity&&e.hasOwnProperty("quantity")&&(r.quantity=t.json&&!isFinite(e.quantity)?String(e.quantity):e.quantity),null!=e.openPrice&&e.hasOwnProperty("openPrice")&&(r.openPrice=t.json&&!isFinite(e.openPrice)?String(e.openPrice):e.openPrice),null!=e.lastPrice&&e.hasOwnProperty("lastPrice")&&(r.lastPrice=t.json&&!isFinite(e.lastPrice)?String(e.lastPrice):e.lastPrice),null!=e.side&&e.hasOwnProperty("side")&&(r.side=e.side),null!=e.currency&&e.hasOwnProperty("currency")&&(r.currency=e.currency),null!=e.eventTime&&e.hasOwnProperty("eventTime")&&("number"==typeof e.eventTime?r.eventTime=t.longs===String?String(e.eventTime):e.eventTime:r.eventTime=t.longs===String?a.Long.prototype.toString.call(e.eventTime):t.longs===Number?new a.LongBits(e.eventTime.low>>>0,e.eventTime.high>
1>>0).toNumber(!0):e.eventTime),null!=e.eventType&&e.hasOwnProperty("eventType")&&(r.eventType=t.enums===String?void 0===s.ai.rockflow.feed.portfolio.FeedPortfolioPosition.EventType[e.eventType]?e.eventType:s.ai.rockflow.feed.portfolio.FeedPortfolioPosition.EventType[e.eventType]:e.eventType),null!=e.deltaAmount&&e.hasOwnProperty("deltaAmount")&&(r.deltaAmount=t.json&&!isFinite(e.deltaAmount)?String(e.deltaAmount):e.deltaAmount),null!=e.exerciseState&&e.hasOwnProperty("exerciseState")&&(r.exerciseState=t.enums===String?void 0===s.ai.rockflow.feed.portfolio.FeedPortfolioPosition.ExerciseState[e.exerciseState]?e.exerciseState:s.ai.rockflow.feed.portfolio.FeedPortfolioPosition.ExerciseState[e.exerciseState]:e.exerciseState),null!=e.deltaQuantity&&e.hasOwnProperty("deltaQuantity")&&(r.deltaQuantity=t.json&&!isFinite(e.deltaQuantity)?String(e.deltaQuantity):e.deltaQuantity),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.feed.portfolio.FeedPortfolioPosition"},e.EventType=function(){var e={},t=Object.create(e);return t[e[0]="OPEN_LONG"]=0,t[e[1]="OPEN_SHORT"]=1,t[e[2]="CLOSE_LONG"]=2,t[e[3]="CLOSE_SHORT"]=3,t}(),e.ExerciseState=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="EXPIRED"]=1,t[e[2]="EXERCISED"]=2,t}(),e}(),e.FeedSubAccountAsset=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.accountId="",e.prototype.userId=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.totalAssets=0,e.prototype.todayProfitAndLoss=null,e.prototype.todayProfitAndLossRate=null,e.prototype.subAccountType=null,e.prototype.subAccountId="",e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.accountId&&Object.hasOwnProperty.call(e,"accountId")&&t.uint32(10).string(e.accountId),null!=e.userId&&Object.hasOwnProperty.call(e,"userId")&&t.uint32(16).uint64(e.userId),null!=e.totalAssets&&Object.hasOwnProperty.call(e,"totalAssets")&&t.uint32(25).double(e.totalAssets),null!=e.todayProfitAndLoss&&Object.hasOwnProperty.call(e,"todayProfitAndLoss")&&s.google.protobuf.DoubleValue.encode(e.todayProfitAndLoss,t.uint32(34).fork()).ldelim(),null!=e.todayProfitAndLossRate&&Object.hasOwnProperty.call(e,"todayProfitAndLossRate")&&s.google.protobuf.DoubleValue.encode(e.todayProfitAndLossRate,t.uint32(42).fork()).ldelim(),null!=e.subAccountType&&Object.hasOwnProperty.call(e,"subAccountType")&&s.google.protobuf.Int32Value.encode(e.subAccountType,t.uint32(50).fork()).ldelim(),null!=e.subAccountId&&Object.hasOwnProperty.call(e,"subAccountId")&&t.uint32(58).string(e.subAccountId),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.ai.rockflow.feed.portfolio.FeedSubAccountAsset;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.accountId=e.string();break;case 2:i.userId=e.uint64();break;case 3:i.totalAssets=e.double();break;case 4:i.todayProfitAndLoss=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 5:i.todayProfitAndLossRate=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 6:i.subAccountType=s.google.protobuf.Int32Value.decode(e,e.uint32());break;case 7:i.subAccountId=e.string();break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.accountId&&e.hasOwnProperty("accountId")&&!a.isString(e.accountId))return"accountId: string expected";if(null!=e.userId&&e.hasOwnProperty("userId")&&!a.isInteger(e.userId)&&!(e.userId&&a.isInteger(e.userId.low)&&a.isInteger(e.userId.high)))return"userId: integer|Long expected";if(null!=e.totalAssets&&e.hasOwnProperty("totalAssets")&&"number"!=typeof e.totalAssets)return"totalAssets: number expected";if(null!=e.todayProfitAndLoss&&e.hasOwnProperty("todayProfitAndLoss")){var t=s.google.protobuf.DoubleValue.verify(e.todayProfitAndLoss);if(t)return"todayProfitAndLoss."+t}if(null!=e.todayProfitAndLossRate&&e.hasOwnProperty("todayProfitAndLossRate")){var t=s.google.protobuf.DoubleValue.verify(e.todayProfitAndLossRate);if(t)return"todayProfitAndLossRate."+t}if(null!=e.subAccountType&&e.hasOwnProperty("subAccountType")){var t=s.google.protobuf.Int32Value.verify(e.subAccountType);if(t)return"subAccountType."+t}return null!=e.subAccountId&&e.hasOwnProperty("subAccountId")&&!a.isString(e.subAccountId)?"subAccountId: string expected":null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.feed.portfolio.FeedSubAccountAsset)return e;var t=new s.ai.rockflow.feed.portfolio.FeedSubAccountAsset;if(null!=e.accountId&&(t.accountId=String(e.accountId)),null!=e.userId&&(a.Long?(t.userId=a.Long.fromValue(e.userId)
1).unsigned=!0:"string"==typeof e.userId?t.userId=parseInt(e.userId,10):"number"==typeof e.userId?t.userId=e.userId:"object"==typeof e.userId&&(t.userId=new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0))),null!=e.totalAssets&&(t.totalAssets=Number(e.totalAssets)),null!=e.todayProfitAndLoss){if("object"!=typeof e.todayProfitAndLoss)throw TypeError(".ai.rockflow.feed.portfolio.FeedSubAccountAsset.todayProfitAndLoss: object expected");t.todayProfitAndLoss=s.google.protobuf.DoubleValue.fromObject(e.todayProfitAndLoss)}if(null!=e.todayProfitAndLossRate){if("object"!=typeof e.todayProfitAndLossRate)throw TypeError(".ai.rockflow.feed.portfolio.FeedSubAccountAsset.todayProfitAndLossRate: object expected");t.todayProfitAndLossRate=s.google.protobuf.DoubleValue.fromObject(e.todayProfitAndLossRate)}if(null!=e.subAccountType){if("object"!=typeof e.subAccountType)throw TypeError(".ai.rockflow.feed.portfolio.FeedSubAccountAsset.subAccountType: object expected");t.subAccountType=s.google.protobuf.Int32Value.fromObject(e.subAccountType)}return null!=e.subAccountId&&(t.subAccountId=String(e.subAccountId)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.accountId="",a.Long){var n=new a.Long(0,0,!0);r.userId=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.userId=t.longs===String?"0":0;r.totalAssets=0,r.todayProfitAndLoss=null,r.todayProfitAndLossRate=null,r.subAccountType=null,r.subAccountId=""}return null!=e.accountId&&e.hasOwnProperty("accountId")&&(r.accountId=e.accountId),null!=e.userId&&e.hasOwnProperty("userId")&&("number"==typeof e.userId?r.userId=t.longs===String?String(e.userId):e.userId:r.userId=t.longs===String?a.Long.prototype.toString.call(e.userId):t.longs===Number?new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0):e.userId),null!=e.totalAssets&&e.hasOwnProperty("totalAssets")&&(r.totalAssets=t.json&&!isFinite(e.totalAssets)?String(e.totalAssets):e.totalAssets),null!=e.todayProfitAndLoss&&e.hasOwnProperty("todayProfitAndLoss")&&(r.todayProfitAndLoss=s.google.protobuf.DoubleValue.toObject(e.todayProfitAndLoss,t)),null!=e.todayProfitAndLossRate&&e.hasOwnProperty("todayProfitAndLossRate")&&(r.todayProfitAndLossRate=s.google.protobuf.DoubleValue.toObject(e.todayProfitAndLossRate,t)),null!=e.subAccountType&&e.hasOwnProperty("subAccountType")&&(r.subAccountType=s.google.protobuf.Int32Value.toObject(e.subAccountType,t)),null!=e.subAccountId&&e.hasOwnProperty("subAccountId")&&(r.subAccountId=e.subAccountId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.feed.portfolio.FeedSubAccountAsset"},e}(),e}(),e.tick=function(){var e={};return e.common=function(){var e={};return e.FeedBar=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.open=null,e.prototype.high=null,e.prototype.low=null,e.prototype.close=null,e.prototype.volume=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.open&&Object.hasOwnProperty.call(e,"open")&&s.google.protobuf.DoubleValue.encode(e.open,t.uint32(10).fork()).ldelim(),null!=e.high&&Object.hasOwnProperty.call(e,"high")&&s.google.protobuf.DoubleValue.encode(e.high,t.uint32(18).fork()).ldelim(),null!=e.low&&Object.hasOwnProperty.call(e,"low")&&s.google.protobuf.DoubleValue.encode(e.low,t.uint32(26).fork()).ldelim(),null!=e.close&&Object.hasOwnProperty.call(e,"close")&&s.google.protobuf.DoubleValue.encode(e.close,t.uint32(34).fork()).ldelim(),null!=e.volume&&Object.hasOwnProperty.call(e,"volume")&&s.google.protobuf.UInt64Value.encode(e.volume,t.uint32(42).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.ai.rockflow.feed.tick.common.FeedBar;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.open=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 2:i.high=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 3:i.low=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 4:i.close=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 5:i.volume=s.google.protobuf.UInt64Value.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.open&&e.hasOwnProperty("open")){var t=s.google.protobuf.DoubleValue.verify(e.open);if(t)return"open."+t}if(null!=e.high&&e.hasOwnProperty("high")){var t=s.google.protobuf.DoubleValue.verify(e.high);if(t)return"high."+t}if(null!=e.low&&e.hasOwnProperty("low")){var t=s.google.protobuf.DoubleValue.verify(e.low);if(t)return"low."+t}if(null!=e.close&&e.hasOwnProperty("close")){var t=s.google.protobuf.DoubleValue.verify(e.close);if(t)return"close."+t}if(null!=e.volume&&e.hasOwnProperty("volume")){var t=s.google.protobuf.UInt64Value.verify(e.volume);if(t)return"volume."+t}return null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.feed.tick.common.FeedBar)return e;var t=new s.ai.rockflow.feed.tick.common.FeedBar;
1if(null!=e.open){if("object"!=typeof e.open)throw TypeError(".ai.rockflow.feed.tick.common.FeedBar.open: object expected");t.open=s.google.protobuf.DoubleValue.fromObject(e.open)}if(null!=e.high){if("object"!=typeof e.high)throw TypeError(".ai.rockflow.feed.tick.common.FeedBar.high: object expected");t.high=s.google.protobuf.DoubleValue.fromObject(e.high)}if(null!=e.low){if("object"!=typeof e.low)throw TypeError(".ai.rockflow.feed.tick.common.FeedBar.low: object expected");t.low=s.google.protobuf.DoubleValue.fromObject(e.low)}if(null!=e.close){if("object"!=typeof e.close)throw TypeError(".ai.rockflow.feed.tick.common.FeedBar.close: object expected");t.close=s.google.protobuf.DoubleValue.fromObject(e.close)}if(null!=e.volume){if("object"!=typeof e.volume)throw TypeError(".ai.rockflow.feed.tick.common.FeedBar.volume: object expected");t.volume=s.google.protobuf.UInt64Value.fromObject(e.volume)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.open=null,r.high=null,r.low=null,r.close=null,r.volume=null),null!=e.open&&e.hasOwnProperty("open")&&(r.open=s.google.protobuf.DoubleValue.toObject(e.open,t)),null!=e.high&&e.hasOwnProperty("high")&&(r.high=s.google.protobuf.DoubleValue.toObject(e.high,t)),null!=e.low&&e.hasOwnProperty("low")&&(r.low=s.google.protobuf.DoubleValue.toObject(e.low,t)),null!=e.close&&e.hasOwnProperty("close")&&(r.close=s.google.protobuf.DoubleValue.toObject(e.close,t)),null!=e.volume&&e.hasOwnProperty("volume")&&(r.volume=s.google.protobuf.UInt64Value.toObject(e.volume,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.feed.tick.common.FeedBar"},e}(),e.FeedTick=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.timestamp=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.source="",e.prototype.symbol="",e.prototype.tradePrice=null,e.prototype.tradeSize=null,e.prototype.changeAmount=null,e.prototype.changePercent=null,e.prototype.bidPrice=null,e.prototype.bidSize=null,e.prototype.askPrice=null,e.prototype.askSize=null,e.prototype.open=null,e.prototype.high=null,e.prototype.low=null,e.prototype.close=null,e.prototype.previousClose=null,e.prototype.volume=null,e.prototype.bar=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.timestamp&&Object.hasOwnProperty.call(e,"timestamp")&&t.uint32(8).uint64(e.timestamp),null!=e.source&&Object.hasOwnProperty.call(e,"source")&&t.uint32(18).string(e.source),null!=e.symbol&&Object.hasOwnProperty.call(e,"symbol")&&t.uint32(26).string(e.symbol),null!=e.tradePrice&&Object.hasOwnProperty.call(e,"tradePrice")&&s.google.protobuf.DoubleValue.encode(e.tradePrice,t.uint32(34).fork()).ldelim(),null!=e.tradeSize&&Object.hasOwnProperty.call(e,"tradeSize")&&s.google.protobuf.UInt32Value.encode(e.tradeSize,t.uint32(42).fork()).ldelim(),null!=e.changeAmount&&Object.hasOwnProperty.call(e,"changeAmount")&&s.google.protobuf.DoubleValue.encode(e.changeAmount,t.uint32(50).fork()).ldelim(),null!=e.changePercent&&Object.hasOwnProperty.call(e,"changePercent")&&s.google.protobuf.DoubleValue.encode(e.changePercent,t.uint32(58).fork()).ldelim(),null!=e.bidPrice&&Object.hasOwnProperty.call(e,"bidPrice")&&s.google.protobuf.DoubleValue.encode(e.bidPrice,t.uint32(66).fork()).ldelim(),null!=e.bidSize&&Object.hasOwnProperty.call(e,"bidSize")&&s.google.protobuf.UInt64Value.encode(e.bidSize,t.uint32(74).fork()).ldelim(),null!=e.askPrice&&Object.hasOwnProperty.call(e,"askPrice")&&s.google.protobuf.DoubleValue.encode(e.askPrice,t.uint32(82).fork()).ldelim(),null!=e.askSize&&Object.hasOwnProperty.call(e,"askSize")&&s.google.protobuf.UInt32Value.encode(e.askSize,t.uint32(90).fork()).ldelim(),null!=e.open&&Object.hasOwnProperty.call(e,"open")&&s.google.protobuf.DoubleValue.encode(e.open,t.uint32(98).fork()).ldelim(),null!=e.high&&Object.hasOwnProperty.call(e,"high")&&s.google.protobuf.DoubleValue.encode(e.high,t.uint32(106).fork()).ldelim(),null!=e.low&&Object.hasOwnProperty.call(e,"low")&&s.google.protobuf.DoubleValue.encode(e.low,t.uint32(114).fork()).ldelim(),null!=e.volume&&Object.hasOwnProperty.call(e,"volume")&&s.google.protobuf.UInt64Value.encode(e.volume,t.uint32(122).fork()).ldelim(),null!=e.bar&&Object.hasOwnProperty.call(e,"bar")&&s.ai.rockflow.feed.tick.common.FeedBar.encode(e.bar,t.uint32(130).fork()).ldelim(),null!=e.close&&Object.hasOwnProperty.call(e,"close")&&s.google.protobuf.DoubleValue.encode(e.close,t.uint32(138).fork()).ldelim(),null!=e.previousClose&&Object.hasOwnProperty.call(e,"previousClose")&&s.google.protobuf.DoubleValue.encode(e.previousClose,t.uint32(146).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.ai.rockflow.feed.tick.common.FeedTick;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.timestamp=e.uint64();break;case 2:i.source=e.string();break;case 3:i.symbol=e.string();break;case 4:i.tradePrice=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;
vendor: 4,284 bytes, line 1
1case 5:i.tradeSize=s.google.protobuf.UInt32Value.decode(e,e.uint32());break;case 6:i.changeAmount=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 7:i.changePercent=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 8:i.bidPrice=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 9:i.bidSize=s.google.protobuf.UInt64Value.decode(e,e.uint32());break;case 10:i.askPrice=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 11:i.askSize=s.google.protobuf.UInt32Value.decode(e,e.uint32());break;case 12:i.open=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 13:i.high=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 14:i.low=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 17:i.close=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 18:i.previousClose=s.google.protobuf.DoubleValue.decode(e,e.uint32());break;case 15:i.volume=s.google.protobuf.UInt64Value.decode(e,e.uint32());break;case 16:i.bar=s.ai.rockflow.feed.tick.common.FeedBar.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.timestamp&&e.hasOwnProperty("timestamp")&&!a.isInteger(e.timestamp)&&!(e.timestamp&&a.isInteger(e.timestamp.low)&&a.isInteger(e.timestamp.high)))return"timestamp: integer|Long expected";if(null!=e.source&&e.hasOwnProperty("source")&&!a.isString(e.source))return"source: string expected";if(null!=e.symbol&&e.hasOwnProperty("symbol")&&!a.isString(e.symbol))return"symbol: string expected";if(null!=e.tradePrice&&e.hasOwnProperty("tradePrice")){var t=s.google.protobuf.DoubleValue.verify(e.tradePrice);if(t)return"tradePrice."+t}if(null!=e.tradeSize&&e.hasOwnProperty("tradeSize")){var t=s.google.protobuf.UInt32Value.verify(e.tradeSize);if(t)return"tradeSize."+t}if(null!=e.changeAmount&&e.hasOwnProperty("changeAmount")){var t=s.google.protobuf.DoubleValue.verify(e.changeAmount);if(t)return"changeAmount."+t}if(null!=e.changePercent&&e.hasOwnProperty("changePercent")){var t=s.google.protobuf.DoubleValue.verify(e.changePercent);if(t)return"changePercent."+t}if(null!=e.bidPrice&&e.hasOwnProperty("bidPrice")){var t=s.google.protobuf.DoubleValue.verify(e.bidPrice);if(t)return"bidPrice."+t}if(null!=e.bidSize&&e.hasOwnProperty("bidSize")){var t=s.google.protobuf.UInt64Value.verify(e.bidSize);if(t)return"bidSize."+t}if(null!=e.askPrice&&e.hasOwnProperty("askPrice")){var t=s.google.protobuf.DoubleValue.verify(e.askPrice);if(t)return"askPrice."+t}if(null!=e.askSize&&e.hasOwnProperty("askSize")){var t=s.google.protobuf.UInt32Value.verify(e.askSize);if(t)return"askSize."+t}if(null!=e.open&&e.hasOwnProperty("open")){var t=s.google.protobuf.DoubleValue.verify(e.open);if(t)return"open."+t}if(null!=e.high&&e.hasOwnProperty("high")){var t=s.google.protobuf.DoubleValue.verify(e.high);if(t)return"high."+t}if(null!=e.low&&e.hasOwnProperty("low")){var t=s.google.protobuf.DoubleValue.verify(e.low);if(t)return"low."+t}if(null!=e.close&&e.hasOwnProperty("close")){var t=s.google.protobuf.DoubleValue.verify(e.close);if(t)return"close."+t}if(null!=e.previousClose&&e.hasOwnProperty("previousClose")){var t=s.google.protobuf.DoubleValue.verify(e.previousClose);if(t)return"previousClose."+t}if(null!=e.volume&&e.hasOwnProperty("volume")){var t=s.google.protobuf.UInt64Value.verify(e.volume);if(t)return"volume."+t}if(null!=e.bar&&e.hasOwnProperty("bar")){var t=s.ai.rockflow.feed.tick.common.FeedBar.verify(e.bar);if(t)return"bar."+t}return null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.feed.tick.common.FeedTick)return e;var t=new s.ai.rockflow.feed.tick.common.FeedTick;if(null!=e.timestamp&&(a.Long?(t.timestamp=a.Long.fromValue(e.timestamp)).unsigned=!0:"string"==typeof e.timestamp?t.timestamp=parseInt(e.timestamp,10):"number"==typeof e.timestamp?t.timestamp=e.timestamp:"object"==typeof e.timestamp&&(t.timestamp=new a.LongBits(e.timestamp.low>>>0,e.timestamp.high>>>0).toNumber(!0))),null!=e.source&&(t.source=String(e.source)),null!=e.symbol&&(t.symbol=String(e.symbol)),null!=e.tradePrice){if("object"!=typeof e.tradePrice)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.tradePrice
1: object expected");t.tradePrice=s.google.protobuf.DoubleValue.fromObject(e.tradePrice)}if(null!=e.tradeSize){if("object"!=typeof e.tradeSize)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.tradeSize: object expected");t.tradeSize=s.google.protobuf.UInt32Value.fromObject(e.tradeSize)}if(null!=e.changeAmount){if("object"!=typeof e.changeAmount)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.changeAmount: object expected");t.changeAmount=s.google.protobuf.DoubleValue.fromObject(e.changeAmount)}if(null!=e.changePercent){if("object"!=typeof e.changePercent)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.changePercent: object expected");t.changePercent=s.google.protobuf.DoubleValue.fromObject(e.changePercent)}if(null!=e.bidPrice){if("object"!=typeof e.bidPrice)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.bidPrice: object expected");t.bidPrice=s.google.protobuf.DoubleValue.fromObject(e.bidPrice)}if(null!=e.bidSize){if("object"!=typeof e.bidSize)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.bidSize: object expected");t.bidSize=s.google.protobuf.UInt64Value.fromObject(e.bidSize)}if(null!=e.askPrice){if("object"!=typeof e.askPrice)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.askPrice: object expected");t.askPrice=s.google.protobuf.DoubleValue.fromObject(e.askPrice)}if(null!=e.askSize){if("object"!=typeof e.askSize)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.askSize: object expected");t.askSize=s.google.protobuf.UInt32Value.fromObject(e.askSize)}if(null!=e.open){if("object"!=typeof e.open)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.open: object expected");t.open=s.google.protobuf.DoubleValue.fromObject(e.open)}if(null!=e.high){if("object"!=typeof e.high)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.high: object expected");t.high=s.google.protobuf.DoubleValue.fromObject(e.high)}if(null!=e.low){if("object"!=typeof e.low)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.low: object expected");t.low=s.google.protobuf.DoubleValue.fromObject(e.low)}if(null!=e.close){if("object"!=typeof e.close)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.close: object expected");t.close=s.google.protobuf.DoubleValue.fromObject(e.close)}if(null!=e.previousClose){if("object"!=typeof e.previousClose)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.previousClose: object expected");t.previousClose=s.google.protobuf.DoubleValue.fromObject(e.previousClose)}if(null!=e.volume){if("object"!=typeof e.volume)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.volume: object expected");t.volume=s.google.protobuf.UInt64Value.fromObject(e.volume)}if(null!=e.bar){if("object"!=typeof e.bar)throw TypeError(".ai.rockflow.feed.tick.common.FeedTick.bar: object expected");t.bar=s.ai.rockflow.feed.tick.common.FeedBar.fromObject(e.bar)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!0);r.timestamp=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.timestamp=t.longs===String?"0":0;r.source="",r.symbol="",r.tradePrice=null,r.tradeSize=null,r.changeAmount=null,r.changePercent=null,r.bidPrice=null,r.bidSize=null,r.askPrice=null,r.askSize=null,r.open=null,r.high=null,r.low=null,r.volume=null,r.bar=null,r.close=null,r.previousClose=null}return null!=e.timestamp&&e.hasOwnProperty("timestamp")&&("number"==typeof e.timestamp?r.timestamp=t.longs===String?String(e.timestamp):e.timestamp:r.timestamp=t.longs===String?a.Long.prototype.toString.call(e.timestamp):t.longs===Number?new a.LongBits(e.timestamp.low>>>0,e.timestamp.high>>>0).toNumber(!0):e.timestamp),null!=e.source&&e.hasOwnProperty("source")&&(r.source=e.source),null!=e.symbol&&e.hasOwnProperty("symbol")&&(r.symbol=e.symbol),null!=e.tradePrice&&e.hasOwnProperty("tradePrice")&&(r.tradePrice=s.google.protobuf.DoubleValue.toObject(e.tradePrice,t)),null!=e.tradeSize&&e.hasOwnProperty("tradeSize")&&(r.tradeSize=s.google.protobuf.UInt32Value.toObject(e.tradeSize,t)),null!=e.changeAmount&&e.hasOwnProperty("changeAmount")&&(r.changeAmount=s.google.protobuf.DoubleValue.toObject(e.changeAmount,t)),null!=e.changePercent&&e.hasOwnProperty("changePercent")&&(r.changePercent=s.google.protobuf.DoubleValue.toObject(e.changePercent,t)),null!=e.bidPrice&&e.hasOwnProperty("bidPrice")&&(r.bidPrice=s.google.protobuf.DoubleValue.toObject(e.bidPrice,t)),null!=e.bidSize&&e.hasOwnProperty("bidSize")&&(r.bidSize=s.google.protobuf.UInt64Value.toObject(e.bidSize,t)),null!=e.askPrice&&e.hasOwnProperty("askPrice")&&(r.askPrice=s.google.protobuf.DoubleValue.toObject(e.askPrice,t)),null!=e.askSize&&e.hasOwnProperty("askSize")&&(r.askSize=s.google.protobuf.UInt32Value.toObject(e.askSize,t)),null!=e.open&&e.hasOwnProperty("open")&&(r.open=s.google.protobuf.DoubleValue.toObject(e.open,t)),null!=e.high&&e.hasOwnProperty("high")&&(r.high=s.google.protobuf.DoubleValue.toObject(e.high,t)),null!=e.low&&e.hasOwnProperty("low")&&(r.low=s.google.protobuf.DoubleValue.toObject(e.low,t)),null!=e.volume&&e.hasOwnProperty("volume")&&(r.volume=s.google.protobuf.UInt64Value.toObject(e.volume,t)),null!=e.bar&&e.hasOwnProperty("bar")&&(r.bar=s.ai.rockflow.feed.tick.common.FeedBar.toObject(e.bar,t)),null!=e.close&&e.hasOwnProperty("close")&&(r.close=s.google.protobuf.DoubleValue.toObject(e.close,t)),null!=e.previousClose&&e.hasOwnProperty("previousClose")&&(r.previousClose=s.google.protobuf.DoubleValue.toObject(e.previousClose,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.feed.tick.common.FeedTick"},e}(),e}(),e}(),e}(),e.gateway=function(){var e={};return e.messaging=function(){var e={};return e.FeedResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.type=0,e.prototype.payload=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.type&&Object.hasOwnProperty.call(e,"type")&&t.uint32(8).int32(e.type),null!=e.payload&&Object.hasOwnProperty.call(e,"payload")&&t.uint32(18).bytes(e.payload),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.ai.rockflow.gateway.messaging.FeedResponse;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.type=e.int32();break;case 2:i.payload=e.bytes();break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type&&e.hasOwnProperty("type")&&!a.isInteger(e.type)?"type: integer expected":null!=e.payload&&e.hasOwnProperty("payload")&&!(e.payload&&"number"==typeof e.payload.length||a.isString(e.payload))?"payload: buffer expected":null},e.fromObject=function(e){if(e instanceof s.ai.rockflow.gateway.messaging.FeedResponse)return e;var t=new s.ai.rockflow.gateway.messaging.FeedResponse;return null!=e.type&&(t.type=0|e.type),null!=e.payload&&("string"==typeof e.payload?a.base64.decode(e.payload,t.payload=a.newBuffer(a.base64.length(e.payload)),0):e.payload.length>=0&&(t.payload=e.payload)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type=0,t.bytes===String?r.payload="":(r.payload=[],t.bytes!==Array&&(r.payload=a.newBuffer(r.payload)))),null!=e.type&&e.hasOwnProperty("type")&&(r.type=e.type),null!=e.payload&&e.hasOwnProperty("payload")&&(r.payload=t.bytes===String?a.base64.encode(e.payload,0,e.payload.length):t.bytes===Array?Array.prototype.slice.call(e.payload):e.payload),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ai.rockflow.gateway.messaging.FeedResponse"},e}(),e}(),e}(),e}(),e}(),s.FeedPortfolioPendingOrder=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.userId=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.orderId=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.orderStatus=0,e.prototype.eventTime=a.Long?a.Long.fromBits(0,0,!0):0,e.prototype.symbol="",e.prototype.instrument=0,e.prototype.currency="",e.prototype.price=0,e.prototype.quantity=0,e.prototype.openClose=0,e.prototype.tradeSide=0,e.prototype.elapsedTime=null,e.prototype.orderCreateTime=a.Long?a.Long.fromBits(0,0,!0):0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.userId&&Object.hasOwnProperty.call(e,"userId")&&t.uint32(8).uint64(e.userId),null!=e.orderId&&Object.hasOwnProperty.call(e,"orderId")&&t.uint32(16).uint64(e.orderId),null!=e.orderStatus&&Object.hasOwnProperty.call(e,"orderStatus")&&t.uint32(24).uint32(e.orderStatus),null!=e.eventTime&&Object.hasOwnProperty.call(e,"eventTime")&&t.uint32(32).uint64(e.eventTime),null!=e.symbol&&Object.hasOwnProperty.call(e,"symbol")&&t.uint32(42).string(e.symbol),null!=e.instrument&&Object.hasOwnProperty.call(e,"instrument")&&t.uint32(48).uint32(e.instrument),null!=e.currency&&Object.hasOwnProperty.call(e,"currency")&&t.uint32(58).string(e.currency),null!=e.price&&Object.hasOwnProperty.call(e,"price")&&t.uint32(65).double(e.price),null!=e.quantity&&Object.hasOwnProperty.call(e,"quantity")&&t.uint32(73).double(e.quantity),null!=e.openClose&&Object.hasOwnProperty.call(e,"openClose")&&t.uint32(80).uint32(e.openClose),null!=e.tradeSide&&Object.hasOwnProperty.call(e,"tradeSide")&&t.uint32(88).uint32(e.tradeSide),null!=e.elapsedTime&&Object.hasOwnProperty.call(e,"elapsedTime")&&s.google.protobuf.Duration.encode(e.elapsedTime,t.uint32(98).fork()).ldelim(),null!=e.orderCreateTime&&Object.hasOwnProperty.call(e,"orderCreateTime")&&t.uint32(104).uint64(e.orderCreateTime),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.FeedPortfolioPendingOrder;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.userId=e.uint64();break;case 2:i.orderId=e.uint64();break;case 3:i.orderStatus=e.uint32();break;case 4:i.eventTime=e.uint64();break;case 5:i.symbol=e.string();break;case 6:i.instrument=e.uint32();break;case 7:i.currency=e.string();break;case 8:i.price=e.double();break;case 9:i.quantity=e.double();break;case 10:i.openClose=e.uint32();break;
vendor: 4,170 bytes, line 1
1case 11:i.tradeSide=e.uint32();break;case 12:i.elapsedTime=s.google.protobuf.Duration.decode(e,e.uint32());break;case 13:i.orderCreateTime=e.uint64();break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.userId&&e.hasOwnProperty("userId")&&!a.isInteger(e.userId)&&!(e.userId&&a.isInteger(e.userId.low)&&a.isInteger(e.userId.high)))return"userId: integer|Long expected";if(null!=e.orderId&&e.hasOwnProperty("orderId")&&!a.isInteger(e.orderId)&&!(e.orderId&&a.isInteger(e.orderId.low)&&a.isInteger(e.orderId.high)))return"orderId: integer|Long expected";if(null!=e.orderStatus&&e.hasOwnProperty("orderStatus")&&!a.isInteger(e.orderStatus))return"orderStatus: integer expected";if(null!=e.eventTime&&e.hasOwnProperty("eventTime")&&!a.isInteger(e.eventTime)&&!(e.eventTime&&a.isInteger(e.eventTime.low)&&a.isInteger(e.eventTime.high)))return"eventTime: integer|Long expected";if(null!=e.symbol&&e.hasOwnProperty("symbol")&&!a.isString(e.symbol))return"symbol: string expected";if(null!=e.instrument&&e.hasOwnProperty("instrument")&&!a.isInteger(e.instrument))return"instrument: integer expected";if(null!=e.currency&&e.hasOwnProperty("currency")&&!a.isString(e.currency))return"currency: string expected";if(null!=e.price&&e.hasOwnProperty("price")&&"number"!=typeof e.price)return"price: number expected";if(null!=e.quantity&&e.hasOwnProperty("quantity")&&"number"!=typeof e.quantity)return"quantity: number expected";if(null!=e.openClose&&e.hasOwnProperty("openClose")&&!a.isInteger(e.openClose))return"openClose: integer expected";if(null!=e.tradeSide&&e.hasOwnProperty("tradeSide")&&!a.isInteger(e.tradeSide))return"tradeSide: integer expected";if(null!=e.elapsedTime&&e.hasOwnProperty("elapsedTime")){var t=s.google.protobuf.Duration.verify(e.elapsedTime);if(t)return"elapsedTime."+t}return null!=e.orderCreateTime&&e.hasOwnProperty("orderCreateTime")&&!a.isInteger(e.orderCreateTime)&&!(e.orderCreateTime&&a.isInteger(e.orderCreateTime.low)&&a.isInteger(e.orderCreateTime.high))?"orderCreateTime: integer|Long expected":null},e.fromObject=function(e){if(e instanceof s.FeedPortfolioPendingOrder)return e;var t=new s.FeedPortfolioPendingOrder;if(null!=e.userId&&(a.Long?(t.userId=a.Long.fromValue(e.userId)).unsigned=!0:"string"==typeof e.userId?t.userId=parseInt(e.userId,10):"number"==typeof e.userId?t.userId=e.userId:"object"==typeof e.userId&&(t.userId=new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0))),null!=e.orderId&&(a.Long?(t.orderId=a.Long.fromValue(e.orderId)).unsigned=!0:"string"==typeof e.orderId?t.orderId=parseInt(e.orderId,10):"number"==typeof e.orderId?t.orderId=e.orderId:"object"==typeof e.orderId&&(t.orderId=new a.LongBits(e.orderId.low>>>0,e.orderId.high>>>0).toNumber(!0))),null!=e.orderStatus&&(t.orderStatus=e.orderStatus>>>0),null!=e.eventTime&&(a.Long?(t.eventTime=a.Long.fromValue(e.eventTime)).unsigned=!0:"string"==typeof e.eventTime?t.eventTime=parseInt(e.eventTime,10):"number"==typeof e.eventTime?t.eventTime=e.eventTime:"object"==typeof e.eventTime&&(t.eventTime=new a.LongBits(e.eventTime.low>>>0,e.eventTime.high>>>0).toNumber(!0))),null!=e.symbol&&(t.symbol=String(e.symbol)),null!=e.instrument&&(t.instrument=e.instrument>>>0),null!=e.currency&&(t.currency=String(e.currency)),null!=e.price&&(t.price=Number(e.price)),null!=e.quantity&&(t.quantity=Number(e.quantity)),null!=e.openClose&&(t.openClose=e.openClose>>>0),null!=e.tradeSide&&(t.tradeSide=e.tradeSide>>>0),null!=e.elapsedTime){if("object"!=typeof e.elapsedTime)throw TypeError(".FeedPortfolioPendingOrder.elapsedTime: object expected");t.elapsedTime=s.google.protobuf.Duration.fromObject(e.elapsedTime)}return null!=e.orderCreateTime&&(a.Long?(t.orderCreateTime=a.Long.fromValue(e.orderCreateTime)).unsigned=!0:"string"==typeof e.orderCreateTime?t.orderCreateTime=parseInt(e.orderCreateTime,10):"number"==typeof e.orderCreateTime?t.orderCreateTime=e.orderCreateTime:"object"==typeof e.orderCreateTime&&(t.orderCreateTime=new a.LongBits(e.orderCreateTime.low>>>0,e.orderCreateTime.high>
1>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!0);r.userId=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.userId=t.longs===String?"0":0;if(a.Long){var n=new a.Long(0,0,!0);r.orderId=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.orderId=t.longs===String?"0":0;if(r.orderStatus=0,a.Long){var n=new a.Long(0,0,!0);r.eventTime=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.eventTime=t.longs===String?"0":0;if(r.symbol="",r.instrument=0,r.currency="",r.price=0,r.quantity=0,r.openClose=0,r.tradeSide=0,r.elapsedTime=null,a.Long){var n=new a.Long(0,0,!0);r.orderCreateTime=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.orderCreateTime=t.longs===String?"0":0}return null!=e.userId&&e.hasOwnProperty("userId")&&("number"==typeof e.userId?r.userId=t.longs===String?String(e.userId):e.userId:r.userId=t.longs===String?a.Long.prototype.toString.call(e.userId):t.longs===Number?new a.LongBits(e.userId.low>>>0,e.userId.high>>>0).toNumber(!0):e.userId),null!=e.orderId&&e.hasOwnProperty("orderId")&&("number"==typeof e.orderId?r.orderId=t.longs===String?String(e.orderId):e.orderId:r.orderId=t.longs===String?a.Long.prototype.toString.call(e.orderId):t.longs===Number?new a.LongBits(e.orderId.low>>>0,e.orderId.high>>>0).toNumber(!0):e.orderId),null!=e.orderStatus&&e.hasOwnProperty("orderStatus")&&(r.orderStatus=e.orderStatus),null!=e.eventTime&&e.hasOwnProperty("eventTime")&&("number"==typeof e.eventTime?r.eventTime=t.longs===String?String(e.eventTime):e.eventTime:r.eventTime=t.longs===String?a.Long.prototype.toString.call(e.eventTime):t.longs===Number?new a.LongBits(e.eventTime.low>>>0,e.eventTime.high>>>0).toNumber(!0):e.eventTime),null!=e.symbol&&e.hasOwnProperty("symbol")&&(r.symbol=e.symbol),null!=e.instrument&&e.hasOwnProperty("instrument")&&(r.instrument=e.instrument),null!=e.currency&&e.hasOwnProperty("currency")&&(r.currency=e.currency),null!=e.price&&e.hasOwnProperty("price")&&(r.price=t.json&&!isFinite(e.price)?String(e.price):e.price),null!=e.quantity&&e.hasOwnProperty("quantity")&&(r.quantity=t.json&&!isFinite(e.quantity)?String(e.quantity):e.quantity),null!=e.openClose&&e.hasOwnProperty("openClose")&&(r.openClose=e.openClose),null!=e.tradeSide&&e.hasOwnProperty("tradeSide")&&(r.tradeSide=e.tradeSide),null!=e.elapsedTime&&e.hasOwnProperty("elapsedTime")&&(r.elapsedTime=s.google.protobuf.Duration.toObject(e.elapsedTime,t)),null!=e.orderCreateTime&&e.hasOwnProperty("orderCreateTime")&&("number"==typeof e.orderCreateTime?r.orderCreateTime=t.longs===String?String(e.orderCreateTime):e.orderCreateTime:r.orderCreateTime=t.longs===String?a.Long.prototype.toString.call(e.orderCreateTime):t.longs===Number?new a.LongBits(e.orderCreateTime.low>>>0,e.orderCreateTime.high>>>0).toNumber(!0):e.orderCreateTime),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/FeedPortfolioPendingOrder"},e}(),s.google=function(){var e={};return e.protobuf=function(){var e={};return e.Any=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.type_url="",e.prototype.value=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.type_url&&Object.hasOwnProperty.call(e,"type_url")&&t.uint32(10).string(e.type_url),null!=e.value&&Object.hasOwnProperty.call(e,"value")&&t.uint32(18).bytes(e.value),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.Any;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.type_url=e.string();break;case 2:i.value=e.bytes();break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.type_url&&e.hasOwnProperty("type_url")&&!a.isString(e.type_url)?"type_url: string expected":null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"==typeof e.value.length||a.isString(e.value))?"value: buffer expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.Any)return e;var t=new s.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?a.base64.decode(e.value,t.value=a.newBuffer(a.base64.length(e.value)),0):e.value.length>=0&&(t.value=e.value)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type_url="",t.bytes===String?r.value="":(r.value=[],t.bytes!==Array&&(r.value=a.newBuffer(r.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(r.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.bytes===String?a.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Any"},e}(),e.DoubleValue=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.value=0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.value&&Object.hasOwnProperty.call(e,"value")&&t.uint32(9).double(e.value),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.DoubleValue;e.pos<n;){var a=e.uint32();if(a===r)break;a>
vendor: 4,924 bytes, line 1
1>>3==1?i.value=e.double():e.skipType(7&a)}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&"number"!=typeof e.value?"value: number expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.DoubleValue)return e;var t=new s.google.protobuf.DoubleValue;return null!=e.value&&(t.value=Number(e.value)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.value=0),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.json&&!isFinite(e.value)?String(e.value):e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.DoubleValue"},e}(),e.FloatValue=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.value=0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.value&&Object.hasOwnProperty.call(e,"value")&&t.uint32(13).float(e.value),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.FloatValue;e.pos<n;){var a=e.uint32();if(a===r)break;a>>>3==1?i.value=e.float():e.skipType(7&a)}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&"number"!=typeof e.value?"value: number expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.FloatValue)return e;var t=new s.google.protobuf.FloatValue;return null!=e.value&&(t.value=Number(e.value)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.value=0),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.json&&!isFinite(e.value)?String(e.value):e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.FloatValue"},e}(),e.Int64Value=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.value=a.Long?a.Long.fromBits(0,0,!1):0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.value&&Object.hasOwnProperty.call(e,"value")&&t.uint32(8).int64(e.value),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.Int64Value;e.pos<n;){var a=e.uint32();if(a===r)break;a>>>3==1?i.value=e.int64():e.skipType(7&a)}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!a.isInteger(e.value)&&!(e.value&&a.isInteger(e.value.low)&&a.isInteger(e.value.high))?"value: integer|Long expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.Int64Value)return e;var t=new s.google.protobuf.Int64Value;return null!=e.value&&(a.Long?(t.value=a.Long.fromValue(e.value)).unsigned=!1:"string"==typeof e.value?t.value=parseInt(e.value,10):"number"==typeof e.value?t.value=e.value:"object"==typeof e.value&&(t.value=new a.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.value=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.value=t.longs===String?"0":0}return null!=e.value&&e.hasOwnProperty("value")&&("number"==typeof e.value?r.value=t.longs===String?String(e.value):e.value:r.value=t.longs===String?a.Long.prototype.toString.call(e.value):t.longs===Number?new a.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber():e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Int64Value"},e}(),e.UInt64Value=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.value=a.Long?a.Long.fromBits(0,0,!0):0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.value&&Object.hasOwnProperty.call(e,"value")&&t.uint32(8).uint64(e.value),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.UInt64Value;e.pos<n;){var a=e.uint32();if(a===r)break;a>
1>>3==1?i.value=e.uint64():e.skipType(7&a)}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!a.isInteger(e.value)&&!(e.value&&a.isInteger(e.value.low)&&a.isInteger(e.value.high))?"value: integer|Long expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.UInt64Value)return e;var t=new s.google.protobuf.UInt64Value;return null!=e.value&&(a.Long?(t.value=a.Long.fromValue(e.value)).unsigned=!0:"string"==typeof e.value?t.value=parseInt(e.value,10):"number"==typeof e.value?t.value=e.value:"object"==typeof e.value&&(t.value=new a.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!0);r.value=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.value=t.longs===String?"0":0}return null!=e.value&&e.hasOwnProperty("value")&&("number"==typeof e.value?r.value=t.longs===String?String(e.value):e.value:r.value=t.longs===String?a.Long.prototype.toString.call(e.value):t.longs===Number?new a.LongBits(e.value.low>>>0,e.value.high>>>0).toNumber(!0):e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.UInt64Value"},e}(),e.Int32Value=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.value=0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.value&&Object.hasOwnProperty.call(e,"value")&&t.uint32(8).int32(e.value),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.Int32Value;e.pos<n;){var a=e.uint32();if(a===r)break;a>>>3==1?i.value=e.int32():e.skipType(7&a)}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!a.isInteger(e.value)?"value: integer expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.Int32Value)return e;var t=new s.google.protobuf.Int32Value;return null!=e.value&&(t.value=0|e.value),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.value=0),null!=e.value&&e.hasOwnProperty("value")&&(r.value=e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Int32Value"},e}(),e.UInt32Value=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.value=0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.value&&Object.hasOwnProperty.call(e,"value")&&t.uint32(8).uint32(e.value),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.UInt32Value;e.pos<n;){var a=e.uint32();if(a===r)break;a>>>3==1?i.value=e.uint32():e.skipType(7&a)}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!a.isInteger(e.value)?"value: integer expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.UInt32Value)return e;var t=new s.google.protobuf.UInt32Value;return null!=e.value&&(t.value=e.value>>>0),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.value=0),null!=e.value&&e.hasOwnProperty("value")&&(r.value=e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.UInt32Value"},e}(),e.BoolValue=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.value=!1,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.value&&Object.hasOwnProperty.call(e,"value")&&t.uint32(8).bool(e.value),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.BoolValue;e.pos<n;){var a=e.uint32();if(a===r)break;a>
1>>3==1?i.value=e.bool():e.skipType(7&a)}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&"boolean"!=typeof e.value?"value: boolean expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.BoolValue)return e;var t=new s.google.protobuf.BoolValue;return null!=e.value&&(t.value=!!e.value),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.value=!1),null!=e.value&&e.hasOwnProperty("value")&&(r.value=e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.BoolValue"},e}(),e.StringValue=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.value="",e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.value&&Object.hasOwnProperty.call(e,"value")&&t.uint32(10).string(e.value),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.StringValue;e.pos<n;){var a=e.uint32();if(a===r)break;a>>>3==1?i.value=e.string():e.skipType(7&a)}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!a.isString(e.value)?"value: string expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.StringValue)return e;var t=new s.google.protobuf.StringValue;return null!=e.value&&(t.value=String(e.value)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.value=""),null!=e.value&&e.hasOwnProperty("value")&&(r.value=e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.StringValue"},e}(),e.BytesValue=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.value=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.value&&Object.hasOwnProperty.call(e,"value")&&t.uint32(10).bytes(e.value),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.BytesValue;e.pos<n;){var a=e.uint32();if(a===r)break;a>>>3==1?i.value=e.bytes():e.skipType(7&a)}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"==typeof e.value.length||a.isString(e.value))?"value: buffer expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.BytesValue)return e;var t=new s.google.protobuf.BytesValue;return null!=e.value&&("string"==typeof e.value?a.base64.decode(e.value,t.value=a.newBuffer(a.base64.length(e.value)),0):e.value.length>=0&&(t.value=e.value)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.value="":(r.value=[],t.bytes!==Array&&(r.value=a.newBuffer(r.value)))),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.bytes===String?a.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.BytesValue"},e}(),e.Duration=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.seconds=a.Long?a.Long.fromBits(0,0,!1):0,e.prototype.nanos=0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=i.create()),null!=e.seconds&&Object.hasOwnProperty.call(e,"seconds")&&t.uint32(8).int64(e.seconds),null!=e.nanos&&Object.hasOwnProperty.call(e,"nanos")&&t.uint32(16).int32(e.nanos),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t,r){e instanceof o||(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.google.protobuf.Duration;e.pos<n;){var a=e.uint32();if(a===r)break;switch(a>>>3){case 1:i.seconds=e.int64();break;case 2:i.nanos=e.int32();break;default:e.skipType(7&a)}}return i},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":null!=e.seconds&&e.hasOwnProperty("seconds")&&!a.isInteger(e.seconds)&&!(e.seconds&&a.isInteger(e.seconds.low)&&a.isInteger(e.seconds.high))?"seconds: integer|Long expected":null!=e.nanos&&e.hasOwnProperty("nanos")&&!a.isInteger(e.nanos)?"nanos: integer expected":null},e.fromObject=function(e){if(e instanceof s.google.protobuf.Duration)return e;var t=new s.google.protobuf.Duration;return null!=e.seconds&&(a.Long?(t.seconds=a.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?a.Long.prototype.toString.call(e.seconds):t.longs===Number?new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Duration"},e}(),e}(),e}(),e.exports=s},37449:(e,t,r)=>{"use strict";function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";switch(e){case"zh-Hans":return"ZH-CN";case"zh-Hant":return"ZH-TW";default:return e.toUpperCase()}}r.d(t,{B:()=>o,M:()=>n});let o=(0,r(33793).v)()((e,t)=>({settings:[],onSettingsChange(t){e({settings:t})},getApiErrorMessage(e){var r,o,i,a;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",u=t().settings,l=n(s),d="apiCode.".concat(l,".").concat(e);return(null!==(i=null===(r=u.find(e=>e.key===d))||void 0===r?void 0:r.value)&&void 0!==i?i:void 0)||(null!==(a=null===(o=u.find(t=>t.key==="apiCode.EN.".concat(e)))||void 0===o?void 0:o.value)&&void 0!==a?a:void 0)},getKeyMessage(e){var r,n;return(null!==(n=null===(r=t().settings.find(t=>t.key===e))||void 0===r?void 0:r.value)&&void 0!==n?n:void 0)||""}}))},36602:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>i,Sq:()=>a});var n=r(29828);let o=()=>{let e=window.location.hostname,t=e.split(".");return"localhost"===e||/^\d+\.\d+\.\d+\.\d+$/.test(e)?e:t.length>2?t.slice(-2).join("."):e},i=()=>({userId:n.A.get("userId"),token:n.A.get("token"),region:n.A.get("region")}),a=()=>{let e=o();n.A.remove("userId",{domain:e}),n.A.remove("token",{domain:e}),n.A.remove("region",{domain:e})}},11336:(e,t,r)=>{"use strict";r.d(t,{f:()=>o});var n=r(29828);let o=()=>{let e=n.A.get("_ga");if(e){let t=e.split(".");if(t.length>=2)return t.slice(-2).join(".")}return null}},95859:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,h:()=>s});var n=r(30591),o=r(34279),i=r(85059);function a(e,t,r){if(!(0,i.Fj)())return;let a=o.A.getRFState();n.Cp(e,{level:t||"error",user:{region:null==a?void 0:a.region,userId:null==a?void 0:a.userId},extra:r})}
1class s extends Error{constructor(e){super(e),this.name="ApiError"}}},96383:(e,t,r)=>{"use strict";r.d(t,{jd:()=>A,uT:()=>P,Ay:()=>$,Jt:()=>D,F6:()=>C,bE:()=>O,yJ:()=>N});var n=r(34279),o=r(69922),i=r.n(o),a=r(81716),s=r.n(a),u=r(35478),l=r.n(u),d=r(31943),c=r.n(d),p=r(95859),h=r(50445),f=r(15322);let m={1039999:1039999,2000007:2000007,6000002:6000002,1010008:1010008};var g=r(37449);let y=1010008,b="/verification/api/captcha/app/security/anonymous";function v(e,t){return e.includes(b)&&1011007!==Number(t)}function S(e){return Number(e)===y}function _(e){let t=Number(e);return Number.isFinite(t)&&!!m[t]}function w(e){let{code:t}=e;if(S(t)||_(t))return;if(null===f.Ru||void 0===f.Ru?void 0:f.Ru.exists("error:".concat(t))){h.o.info(null===f.Ru||void 0===f.Ru?void 0:f.Ru.t("error:".concat(t)));return}let r=(null===f.Ru||void 0===f.Ru?void 0:f.Ru.language)||"en",n=g.B.getState().getApiErrorMessage(t,r);if(n){h.o.info(n);return}let o=(null===f.Ru||void 0===f.Ru?void 0:f.Ru.t("error:mysterious_error",{code:t}))||"";h.o.info(o)}function x(e){var t;let{path:r,init:n,token:o,userId:a,headers:u}=e,d=["appId","appVersion","deviceId","language","osVersion","platformType","region"],c="".concat(null===(t=n.method)||void 0===t?void 0:t.toUpperCase()).concat(r).concat(o).concat(a);return d.forEach((e,t)=>{c+=u[e]}),n.body&&(c+=l()(n.body.toString())),s().stringify(i()(c,o))}function T(e,t,r){if(!r)return{};let n={appId:r.appId,appVersion:r.appVersion,deviceId:r.deviceId,platformType:r.platformType,osVersion:r.osVersion,language:r.language?r.language:"en",nonce:E(10)};return r.region&&(n.region=r.region),r.token&&r.userId&&(n.userId=r.userId,n.Authorization="Bearer ".concat(r.token),n.Signature=x({path:e,init:t,token:r.token,userId:r.userId,headers:{...n}})),n}let E=e=>{let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r="";for(let n=0;n<e;n++)r+=t.charAt(Math.floor(Math.random()*t.length));return"h5_uuid_".concat(r)},P=e=>{let t=async(t,r,o)=>{let{suppressErrorToast:i,...a}=r,s=new Headers({"Content-Type":"application/json",...T(t,a,null!=e?e:n.A.getRFState()),...a.headers}),u={...a,headers:s},l=await fetch(new Request(t,u));if(!l.ok){let e=await l.json();return(0,p.A)(new p.h("http request error: code ".concat(e.code," msg ").concat(e.message)),"error",e),i||v(t,null==e?void 0:e.code)||S(null==e?void 0:e.code)||w(e),Promise.reject({code:e.code,message:e.message})}return c()({storeAsString:o}).parse(await l.text())};return{get:async(e,r)=>{let n={method:"get",...r};return await t(e,n)},delete:async(e,r)=>{let n={method:"delete",...r};return await t(e,n)},post:async(e,r,n)=>{let o={method:"post",body:JSON.stringify(r),...n};return await t(e,o)},put:async(e,r,n)=>{let o={method:"put",body:JSON.stringify(r),...n};return await t(e,o)},patch:async(e,r,n)=>{let o={method:"PATCH",body:JSON.stringify(r),...n};return await t(e,o)},requestInstance:e=>t(e.url,e,!0)}},k=P(),D=k.get,A=k.delete,O=k.post,N=k.put,C=k.patch,$=e=>k.requestInstance(e)},84400:(e,t,r)=>{"use strict";r.d(t,{A6:()=>i,FY:()=>u,JZ:()=>o,Wm:()=>s});var n=r(56969);let o=()=>{let e=localStorage.getItem("deviceId");if(e)return e;let t=(0,n.Ak)();return localStorage.setItem("deviceId",t),t},i=()=>{let e=localStorage.getItem("mediaSource")||"";return{mediaSource:e,campaign:localStorage.getItem("campaign")||"",channel:localStorage.getItem("channel")||"",campaignId:localStorage.getItem("campaignId")||""}},a=e=>{let{mediaSource:t,campaign:r,channel:n,campaignId:o}=e;t&&localStorage.setItem("mediaSource",t),r&&localStorage.setItem("campaign",r),n&&localStorage.setItem("channel",n),o&&localStorage.setItem("campaignId",o)},s=()=>{let e=new URLSearchParams(window.location.search),t=e.get("mediaSource")||e.get("utm_source")||e.get("pid"),r=e.get("campaign"),n=e.get("channel")||e.get("utm_source"),o=e.get("campaignId")||e.get("utm_campaign")||e.get("utm_campaignId")||e.get("utm_campaignid");(t||r||n||o)&&a({mediaSource:t||"",campaign:r||"",channel:n||"",campaignId:o||""})},u=()=>{let e=document.referrer;if(!e)return;let t=e.split(".");return t.pop(),t.pop()||""}},34279:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});let n={appId:"1",appVersion:"7.0.0",deviceId:"h5-node-server",osVersion:"linux",platformType:"3",region:"CN"};class o{setRFState(e){this.state=e}getRFState(){return this.state}constructor(){return o.instance||(this.state=n,o.instance=this),o.instance}}let i=new o},33971:(e,t,r)=>{"use strict";r.d(t,{Tv:()=>u,ab:()=>s,bz:()=>a});var n=r(77427),o=r(84400);function i(e){let t=(0,o.A6)(),r=(0,n.rks)(),i=t.channel||(null==r?void 0:r.channel)||(0,o.FY)()||"";if(!i)return null;let a=t.mediaSource||(null==r?void 0:r.mediaSource)||i;return{channelId:i,channelName:a,invite:e||t.campaign||(null==r?void 0:r.campaign)||""}}function a(e){let t=i(e);return!!t&&((0,n.xSW)({channelId:t.channelId,channelName:t.channelName},{invite_code:t.invite,source_id:t.channelId,source_name:t.channelName}),!0)}function s(e,t){(0,n.B2q)(e),a(t)}function u(e){(0,n.B2q)(e)}},94601:(e,t,r)=>{"use strict";let n,o,i,a,s,u,l,d,c,p,h,f,m,g,y,b,v,S,_,w;var x,T=r(8897),E=r(64390),P=r(10246);function k(e,t,r=[t],n="npm"){let o=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};o.name||(o.name=`sentry.javascript.${t}`,o.packages=r.map(e=>({name:`${n}:@sentry/${e}`,version:P.M})),o.version=P.M)}
1var D=r(30591),A=r(77342);let O=[];function N(e){let t={};return e.forEach(e=>{let{name:r}=e,n=t[r];n&&!n.isDefaultInstance&&e.isDefaultInstance||(t[r]=e)}),Object.values(t)}function C(e){let t;let r=e.defaultIntegrations||[],n=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))t=[...r,...n];else if("function"==typeof n){let e=n(r);t=Array.isArray(e)?e:[e]}else t=r;return N(t)}function $(e,t){let r={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&I(e,t,r)}),r}function M(e,t){for(let r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function I(e,t,r){if(r[t.name]){A.T&&E.Yz.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,O.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),O.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if("function"==typeof t.processEvent){let r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}["processSpan","processSegmentSpan"].forEach(r=>{let n=t[r];"function"==typeof n&&e.on(r,r=>n.call(t,r,e))}),A.T&&E.Yz.log(`Integration installed: ${t.name}`)}function L(e){return e}function R(e){let t=[];e.message&&t.push(e.message);try{let r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch{}return t}var F=r(87292),B=r(86041);let U=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],j="EventFilters",V=L((e={})=>{let t;return{name:j,setup(r){t=H(e,r.getOptions())},processEvent:(r,n,o)=>(t||(t=H(e,o.getOptions())),W(r,t)?null:r)}}),z=L((e={})=>({...V(e),name:"InboundFilters"}));function H(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:U],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function W(e,t){if(e.type){if("transaction"===e.type&&q(e,t.ignoreTransactions))return A.T&&E.Yz.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
2Event: ${(0,F.$X)(e)}`),!0}else{if(G(e,t.ignoreErrors))return A.T&&E.Yz.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
3Event: ${(0,F.$X)(e)}`),!0;if(X(e))return A.T&&E.Yz.warn(`Event dropped due to not having an error message, error type or stacktrace.
4Event: ${(0,F.$X)(e)}`),!0;if(Y(e,t.denyUrls))return A.T&&E.Yz.warn(`Event dropped due to being matched by \`denyUrls\` option.
5Event: ${(0,F.$X)(e)}.
6Url: ${J(e)}`),!0;if(!K(e,t.allowUrls))return A.T&&E.Yz.warn(`Event dropped due to not being matched by \`allowUrls\` option.
7Event: ${(0,F.$X)(e)}.
8Url: ${J(e)}`),!0}return!1}function G(e,t){return!!t?.length&&R(e).some(e=>(0,B.Xr)(e,t))}function q(e,t){if(!t?.length)return!1;let r=e.transaction;return!!r&&(0,B.Xr)(r,t)}function Y(e,t){if(!t?.length)return!1;let r=J(e);return!!r&&(0,B.Xr)(r,t)}function K(e,t){if(!t?.length)return!0;let r=J(e);return!r||(0,B.Xr)(r,t)}function Z(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}function J(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),r=t?.stacktrace?.frames;return r?Z(r):null}catch{return A.T&&E.Yz.error(`Cannot extract url for event ${(0,F.$X)(e)}`),null}}function X(e){return!!e.exception?.values?.length&&!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)}var Q=r(14060),ee=r(30447);let et="FunctionToString",er=new WeakMap,en=L(()=>({name:et,setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,ee.sp)(this),r=er.has((0,Q.KU)())&&void 0!==t?t:this;return n.apply(r,e)}}catch{}},setup(e){er.set(e,!0)}}));var eo=r(39263),ei=r(70488);let ea="ConversationId",es=L(()=>({name:ea,setup(e){e.on("spanStart",e=>{let t=(0,Q.o5)().getScopeData(),r=(0,Q.rm)().getScopeData(),n=t.conversationId||r.conversationId;if(n){let{op:t,data:r,description:o}=(0,ei.et)(e);if(!t?.startsWith("gen_ai.")&&!r["ai.operationId"]&&!o?.startsWith("ai."))return;e.setAttribute(eo.Fy,n)}})}}));var eu=r(65553);let el="Dedupe",ed=L(()=>{let e;return{name:el,processEvent(t){if(t.type)return t;try{if(ec(t,e))return A.T&&E.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}});function ec(e,t){return!!t&&!!(ep(e,t)||eh(e,t))}function ep(e,t){let r=e.message,n=t.message;return!!((r||n)&&(!r||n)&&(r||!n)&&r===n&&em(e,t)&&ef(e,t))}function eh(e,t){let r=eg(t),n=eg(e);return!!(r&&n&&r.type===n.type&&r.value===n.value&&em(e,t)&&ef(e,t))}function ef(e,t){let r=(0,eu.RV)(e),n=(0,eu.RV)(t);if(!r&&!n)return!0;
8if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;e<n.length;e++){let t=n[e],o=r[e];if(t.filename!==o.filename||t.lineno!==o.lineno||t.colno!==o.colno||t.function!==o.function)return!1}return!0}function em(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return!(r.join("")!==n.join(""))}catch{return!1}}function eg(e){return e.exception?.values?.[0]}function ey(e,t){!0===t.debug&&(A.T?E.Yz.enable():(0,E.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,Q.o5)().update(t.initialScope);let r=new e(t);return eb(r),r.init(),r}function eb(e){(0,Q.o5)().setClient(e)}let ev="7";function eS(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function e_(e){return`${eS(e)}${e.projectId}/envelope/`}function ew(e,t){let r={sentry_version:ev};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}function ex(e,t,r){return t||`${e_(e)}?${ew(e,r)}`}var eT=r(13589),eE=r(90570);function eP(e){return!!e&&"function"==typeof e&&"_streamed"in e&&!!e._streamed}var ek=r(20291),eD=r(82548),eA=r(65669);function eO(e,t=[]){return[e,t]}function eN(e,t){let[r,n]=e;return[r,[...n,t]]}function eC(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function e$(e,t){return eC(e,(e,r)=>t.includes(r))}function eM(e){let t=(0,eD.Se)(T.O);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function eI(e){let[t,r]=e,n=JSON.stringify(t);function o(e){"string"==typeof n?n="string"==typeof e?n+e:[eM(n),e]:n.push("string"==typeof e?eM(e):e)}for(let e of r){let[t,r]=e;if(o(`
9${JSON.stringify(t)}
10`),"string"==typeof r||r instanceof Uint8Array)o(r);else{let e;try{e=JSON.stringify(r)}catch{e=JSON.stringify((0,eA.S8)(r))}o(e)}}return"string"==typeof n?n:eL(n)}function eL(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}function eR(e){return[{type:"span"},e]}function eF(e){let t="string"==typeof e.data?eM(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}let eB={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function eU(e){return e in eB}function ej(e){return eU(e)?eB[e]:e}function eV(e){if(!e?.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}function ez(e,t,r,n){let o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:(0,ek.SB)(n)},...o&&{trace:o}}}function eH(e){E.Yz.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function eW(e,t){if(!t?.length)return!1;for(let r of t){if(eY(r)){if(e.description&&(0,B._c)(e.description,r))return A.T&&eH(e),!0;continue}let t=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!t)continue;let n=!r.name||e.description&&(0,B._c)(e.description,r.name),o=!r.op||e.op&&(0,B._c)(e.op,r.op),i=!r.attributes||Object.entries(r.attributes).every(([t,r])=>eG(e.attributes?.[t],r));if(n&&o&&i)return A.T&&eH(e),!0}return!1}function eG(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?(0,B._c)(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,r)=>e===t[r]):e===t}function eq(e,t){let r=t.parent_span_id,n=t.span_id;if(r)for(let t of e)t.parent_span_id===n&&(t.parent_span_id=r)}function eY(e){return"string"==typeof e||e instanceof RegExp}function eK(e,t){if(!t)return e;let r=e.sdk||{};return e.sdk={...r,name:r.name||t.name,version:r.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function eZ(e,t,r,n){let o=eV(r);return eO({sent_at:new Date().toISOString(),...o&&{sdk:o},...!!n&&t&&{dsn:(0,ek.SB)(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}function eJ(e,t,r,n){let o=eV(r),i=e.type&&"replay_event"!==e.type?e.type:"event";eK(e,r?.sdk);let a=ez(e,o,n,t);return delete e.sdkProcessingMetadata,eO(a,[[{type:i},e]])}function eX(e,t){function r(e){return!!e.trace_id&&!!e.public_key}let n=(0,eE.k1)(e[0]),o=t?.getDsn(),i=t?.getOptions().tunnel,a={sent_at:new Date().toISOString(),...r(n)&&{trace:n},...!!i&&o&&{dsn:(0,ek.SB)(o)}},{beforeSendSpan:s,ignoreSpans:u}=t?.getOptions()||{},l=u?.length?e.filter(e=>{let t=(0,ei.et)(e);return!eW({description:t.description,op:t.op,attributes:t.data},u)}):e,d=e.length-l.length;d&&t?.recordDroppedEvent("before_send","span",d);let c=s?e=>{let t=(0,ei.et)(e);return(eP(s)?t:s(t))||((0,ei.xl)(),t)}:ei.et,p=[];for(let e of l){let t=c(e);t&&p.push(eR(t))}return eO(a,p)}function eQ(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function e0(){return"npm"}var e1=r(19374);function e2(){return!eQ()&&"[object process]"===Object.prototype.toString.call(void 0!==e1?e1:0)}function e3(){return"undefined"!=typeof window&&(!e2()||e4())}function e4(){let e=T.O.process;return e?.type==="renderer"}function e5(e,t){let r=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...e3()&&{ingest_settings:{infer_ip:r,infer_user_agent:r}},items:e}]}function e9(e,t,r,n,o){let i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(i.dsn=(0,ek.SB)(n)),eO(i,[e5(e,o)])}function e8(e,t){let r=t??e6(e)??[];if(0===r.length)return;let n=e.getOptions(),o=e9(r,n._metadata,n.tunnel,e.getDsn(),n.sendDefaultPii);e7().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function e6(e){return e7().get(e)}function e7(){return(0,eD.BY)("clientToLogBufferMap",()=>new WeakMap)}function te(e,t){let r=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...e3()&&{ingest_settings:{infer_ip:r,infer_user_agent:r}},items:e}]}function tt(e,t,r,n,o){let i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}
10),r&&n&&(i.dsn=(0,ek.SB)(n)),eO(i,[te(e,o)])}function tr(e,t){let r=t??tn(e)??[];if(0===r.length)return;let n=e.getOptions(),o=tt(r,n._metadata,n.tunnel,e.getDsn(),n.sendDefaultPii);to().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(o)}function tn(e){return to().get(e)}function to(){return(0,eD.BY)("clientToMetricBufferMap",()=>new WeakMap)}var ti=r(20580);function ta(e){return"stream"===e.getOptions().traceLifecycle}function ts(e){let t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links};return(0,ei.PL)(t)}function tu(e,t){if("transaction"!==e.type||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||!t.getOptions().streamGenAiSpans||ta(t))return;let r=[],n=[];for(let t of e.spans)t.op?.startsWith("gen_ai.")?r.push(ts(t)):n.push(t);if(0===r.length)return;e.spans=n;let o=t.getOptions().sendDefaultPii?"auto":"never";return[{type:"span",item_count:r.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...e3()&&{ingest_settings:{infer_ip:o,infer_user_agent:o}},items:r}]}var tl=r(93158);function td(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}let tc=Symbol.for("SentryBufferFullError");function tp(e=100){let t=new Set;function r(){return t.size<e}function n(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(e){if(!r())return(0,tl.xg)(tc);let o=e();return t.add(o),o.then(()=>n(o),()=>n(o)),o},drain:function(e){if(!t.size)return(0,tl.XW)(!0);let r=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([r,new Promise(t=>td(setTimeout(()=>t(!1),e)))]):r}}}var th=r(33383);let tf=6e4;function tm(e,t=(0,th.Wk)()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let n=Date.parse(`${e}`);return isNaN(n)?tf:n-t}function tg(e,t){return e[t]||e.all||0}function ty(e,t,r=(0,th.Wk)()){return tg(e,t)>r}function tb(e,{statusCode:t,headers:r},n=(0,th.Wk)()){let o={...e},i=r?.["x-sentry-rate-limits"],a=r?.["retry-after"];if(i)for(let e of i.trim().split(",")){let[t,r,,,i]=e.split(":",5),a=parseInt(t,10),s=(isNaN(a)?60:a)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!i||i.split(";").includes("custom"))&&(o[e]=n+s):o[e]=n+s;else o.all=n+s}else a?o.all=n+tm(a,n):429===t&&(o.all=n+6e4);return o}let tv=64;function tS(e,t,r=tp(e.bufferSize||tv)){let n={};return{send:function(o){let i=[];if(eC(o,(t,r)=>{let o=ej(r);ty(n,o)?e.recordDroppedEvent("ratelimit_backoff",o):i.push(t)}),0===i.length)return Promise.resolve({});let a=eO(o[0],i),s=t=>{if(e$(a,["client_report"])){A.T&&E.Yz.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}eC(a,(r,n)=>{e.recordDroppedEvent(t,ej(n))})},u=()=>t({body:eI(a)}).then(e=>(413===e.statusCode?(A.T&&E.Yz.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error")):(A.T&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&E.Yz.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),n=tb(n,e)),e),e=>{throw s("network_error"),A.T&&E.Yz.error("Encountered error running transport request:",e),e});return r.add(u).then(e=>e,e=>{if(e===tc)return A.T&&E.Yz.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>r.drain(e)}}var t_=r(4421);function tw(e,t,r){return eO(t?{dsn:t}:{},[[{type:"client_report"},{timestamp:r||(0,t_.lu)(),discarded_events:e}]])}var tx=r(47172),tT=r(16802),tE=r(48841),tP=r(32237);function tk(e){let{trace_id:t,parent_span_id:r,span_id:n,status:o,origin:i,data:a,op:s}=e.contexts?.trace??{};return{data:a??{},description:e.transaction,op:s,parent_span_id:r,span_id:n??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:a?.[eo.E1],exclusive_time:a?.[eo.jG],measurements:e.measurements,is_segment:!0}}function tD(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[eo.E1]:e.profile_id},...e.exclusive_time&&{[eo.jG]:e.exclusive_time}}}},measurements:e.measurements}}let tA="Not capturing exception because it's already been captured.",tO="Discarded session because of missing or non-string release",tN=Symbol.for("SentryInternalError"),tC=Symbol.for("SentryDoNotSendEventError"),t$=5e3;function tM(e){return{message:e,[tN]:!0}}function tI(e){return{message:e,[tC]:!0}}function tL(e){return!!e&&"object"==typeof e&&tN in e}function tR(e){return!!e&&"object"==typeof e&&tC in e}function tF(e,t,r,n,o){let i,a=0,s=!1;e.on(r,()=>{a=0,clearTimeout(i),s=!1}),e.on(t,t=>{(a+=n(t))>=8e5?o(e):s||(s=!0,i=td(setTimeout(()=>{o(e)},t$)))}),e.on("flush",()=>{o(e)})}class tB{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=tp(e.transportOptions?.bufferSize??tv),e.dsn?this._dsn=(0,ek.AD)(e.dsn):A.T&&E.Yz.warn("No DSN provided, client will not send events."),this._dsn){let t=ex(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&tF(this,"afterCaptureLog","flushLogs",tG,e8),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&tF(this,"afterCaptureMetric","flushMetrics",tW,tr)}captureException(e,t,r){let n=(0,F.eJ)();if((0,F.GR)(e))return A.T&&E.Yz.log(tA),n;let o={event_id:n,...t};return this._process(()=>this.eventFromException(e,o).then(e=>this._captureEvent(e,o,r)).then(e=>e),"error"),o.event_id}captureMessage(e,t,r,n){let o={event_id:(0,F.eJ)(),...r},i=(0,tx.NF)(e)?e:String(e),a=(0,tx.sO)(e),s=a?this.eventFromMessage(i,t,o):this.eventFromException(e,o);return this._process(()=>s.then(e=>this._captureEvent(e,o,n)),a?"unknown":"error"),o.event_id}captureEvent(e,t,r){let n=(0,F.eJ)();if(t?.originalException&&(0,F.GR)(t.originalException))return A.T&&E.Yz.log(tA),n;let o={event_id:n,...t},i=e.sdkProcessingMetadata||{},a=i.capturedSpanScope,s=i.capturedSpanIsolationScope,u=tU(e.type);return this._process(()=>this._captureEvent(e,o,a||r,s),u),o.event_id}captureSession(e){this.sendSession(e),(0,ti.qO)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;
10if(this.emit("flush"),!t)return!0;let r=await this._isClientDoneProcessing(e),n=await t.flush(e);return r&&n}async close(e){e8(this);let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),I(this,e,this._integrations),t||M(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=tu(e,this),n=eJ(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=eN(n,eF(e));r&&(n=eN(n,r)),this.sendEnvelope(n).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:r=eT.U}=this._options;if("aggregates"in e){let n=e.attrs||{};if(!n.release&&!t){A.T&&E.Yz.warn(tO);return}n.release=n.release||t,n.environment=n.environment||r,e.attrs=n}else{if(!e.release&&!t){A.T&&E.Yz.warn(tO);return}e.release=e.release||t,e.environment=e.environment||r}this.emit("beforeSendSession",e);let n=eZ(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(e,t,r=1){if(this._options.sendClientReports){let n=`${e}:${t}`;A.T&&E.Yz.log(`Recording outcome: "${n}"${r>1?` (${r} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+r}}on(e,t){let r=this._hooks[e]=this._hooks[e]||new Set,n=(...e)=>t(...e);return r.add(n),()=>{r.delete(n)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return A.T&&E.Yz.error("Error while sending envelope:",e),{}}return A.T&&E.Yz.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=$(this,e),M(this,e)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,n=!1,o=t.exception?.values;if(o){for(let e of(n=!0,r=!1,o))if(e.mechanism?.handled===!1){r=!0;break}}let i="ok"===e.status;(i&&0===e.errors||i&&r)&&((0,ti.qO)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r,n){let o=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i?.length&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),(0,tP.mG)(o,e,t,r,this,n).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...(0,Q.vn)(r)},...e.contexts};let n=(0,eE.ao)(this,r);return e.sdkProcessingMetadata={dynamicSamplingContext:n,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},r=(0,Q.o5)(),n=(0,Q.rm)()){return A.T&&tz(e)&&E.Yz.log(`Captured error event \`${R(e)[0]||"<unknown>"}\``),this._processEvent(e,t,r,n).then(e=>e.event_id,e=>{A.T&&(tR(e)?E.Yz.log(e.message):tL(e)?E.Yz.warn(e.message):E.Yz.warn(e))})}_processEvent(e,t,r,n){let o=this.getOptions(),{sampleRate:i}=o,a=tH(e),s=tz(e),u=e.type||"error",l=`before send for type \`${u}\``,d=void 0===i?void 0:(0,tE.i)(i);if(s&&"number"==typeof d&&(0,th.hY)()>d)return this.recordDroppedEvent("sample_rate","error"),(0,tl.xg)(tI(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));let c=tU(e.type);return this._prepareEvent(e,t,r,n).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",c),tI("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:tj(tV(this,o,e,t),l)}).then(o=>{if(null===o){if(this.recordDroppedEvent("before_send",c),a){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw tI(`${l} returned \`null\`, will not send event.`)}let i=r.getSession()||n.getSession();if(s&&i&&this._updateSessionFromEvent(i,o),a){let e=(o.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(o.spans?o.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let u=o.transaction_info;if(a&&u&&o.transaction!==e.transaction){let e="custom";o.transaction_info={...u,source:e}}return this.sendEvent(o,t),o}).then(null,e=>{if(tR(e)||tL(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),tM(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
11Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===tc&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){A.T&&E.Yz.log("Flushing outcomes...");let e=this._clearOutcomes();if(0===e.length){A.T&&E.Yz.log("No outcomes to send");return}if(!this._dsn){A.T&&E.Yz.log("No dsn provided, will not send outcomes");return}A.T&&E.Yz.log("Sending outcomes:",e);let t=tw(e,this._options.tunnel&&(0,ek.SB)(this._dsn));this.sendEnvelope(t)}}function tU(e){return"replay_event"===e?"replay":e||"error"}function tj(e,t){let r=`${t} must return \`null\` or a valid event.`;if((0,tx.Qg)(e))return e.then(e=>{if(!(0,tx.Qd)(e)&&null!==e)throw tM(r);return e},e=>{throw tM(`${t} rejected with ${e}`)});if(!(0,tx.Qd)(e)&&null!==e)throw tM(r);return e}function tV(e,t,r,n){let{beforeSend:o,beforeSendTransaction:i,ignoreSpans:a}=t,s=!eP(t.beforeSendSpan)&&t.beforeSendSpan,u=r;if(tz(u)&&o)return o(u,n);if(tH(u)){if(s||a){let t=tk(u);if(a?.length&&eW({description:t.description,op:t.op,attributes:t.data},a))return null;if(s){let e=s(t);e?u=(0,tT.h)(r,tD(e)):(0,ei.xl)()}if(u.spans){let t=[],r=u.spans;for(let e of r){if(a?.length&&eW({description:e.description,op:e.op,attributes:e.data}
11,a)){eq(r,e);continue}if(s){let r=s(e);r?t.push(r):((0,ei.xl)(),t.push(e))}else t.push(e)}let n=u.spans.length-t.length;n&&e.recordDroppedEvent("before_send","span",n),u.spans=t}}if(i){if(u.spans){let e=u.spans.length;u.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(u,n)}}return u}function tz(e){return void 0===e.type}function tH(e){return"transaction"===e.type}function tW(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+tq(e.attributes)}function tG(e){let t=0;return e.message&&(t+=2*e.message.length),t+tq(e.attributes)}function tq(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*tY(e[0]):(0,tx.sO)(e)?t+=tY(e):t+=100}),t}function tY(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}function tK(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function tZ(e){return(0,tx.bJ)(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__}function tJ(e){return tZ(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function tX(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function tQ(e,t){let r=t2(e,t),n={type:t8(t),value:t6(t)};return r.length&&(n.stacktrace={frames:r}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function t0(e,t,r,n){let o=(0,Q.KU)(),i=o?.getOptions().normalizeDepth,a=ri(t),s={__serialized__:(0,eA.cd)(t,i)};if(a)return{exception:{values:[tQ(e,a)]},extra:s};let u={exception:{values:[{type:(0,tx.xH)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:rn(t,{isUnhandledRejection:n})}]},extra:s};if(r){let t=t2(e,r);t.length&&(u.exception.values[0].stacktrace={frames:t})}return u}function t1(e,t){return{exception:{values:[tQ(e,t)]}}}function t2(e,t){let r=t.stacktrace||t.stack||"",n=t4(t),o=t5(t);try{return e(r,n,o)}catch{}return[]}let t3=/Minified React error #\d+;/i;function t4(e){return e&&t3.test(e.message)?1:0}function t5(e){return"number"==typeof e.framesToPop?e.framesToPop:0}function t9(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function t8(e){let t=e?.name;return!t&&t9(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function t6(e){let t=e?.message;return t9(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?tJ(t.error):tJ(e):"No error message"}function t7(e,t,r,n){let o=rt(e,t,r?.syntheticException||void 0,n);return(0,F.M6)(o),o.level="error",r?.event_id&&(o.event_id=r.event_id),(0,tl.XW)(o)}function re(e,t,r="info",n,o){let i=rr(e,t,n?.syntheticException||void 0,o);return i.level=r,n?.event_id&&(i.event_id=n.event_id),(0,tl.XW)(i)}function rt(e,t,r,n,o){let i;if((0,tx.T2)(t)&&t.error)return t1(e,t.error);if((0,tx.BD)(t)||(0,tx.W6)(t)){let o=t;if("stack"in t)i=t1(e,t);else{let t=o.name||((0,tx.BD)(o)?"DOMError":"DOMException"),a=o.message?`${t}: ${o.message}`:t;i=rr(e,a,r,n),(0,F.gO)(i,a)}return"code"in o&&(i.tags={...i.tags,"DOMException.code":`${o.code}`}),i}return(0,tx.bJ)(t)?t1(e,t):((0,tx.Qd)(t)||(0,tx.xH)(t)?i=t0(e,t,r,o):(i=rr(e,t,r,n),(0,F.gO)(i,`${t}`,void 0)),(0,F.M6)(i,{synthetic:!0}),i)}function rr(e,t,r,n){let o={};if(n&&r){let n=t2(e,r);n.length&&(o.exception={values:[{value:t,stacktrace:{frames:n}}]}),(0,F.M6)(o,{synthetic:!0})}if((0,tx.NF)(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return o.logentry={message:e,params:r},o}return o.message=t,o}function rn(e,{isUnhandledRejection:t}){let r=(0,ee.HF)(e),n=t?"promise rejection":"exception";if((0,tx.T2)(e))return`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``;if((0,tx.xH)(e)){let t=ro(e);return`Event \`${t}\` (type=${e.type}) captured as ${n}`}return`Object captured as ${n} with keys: ${r}`}function ro(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function ri(e){return Object.values(e).find(e=>e instanceof Error)}var ra=r(93650);let rs=T.O,ru=0;function rl(){return ru>0}function rd(){ru++,setTimeout(()=>{ru--})}function rc(e,t={}){if(!function(e){return"function"==typeof e}(e))return e;try{let t=e.__sentry_wrapped__;if(t){if("function"==typeof t)return t;return e}if((0,ee.sp)(e))return e}catch{return e}let r=function(...r){try{let n=r.map(e=>rc(e,t));return e.apply(this,n)}catch(e){throw rd(),(0,Q.v4)(n=>{n.addEventProcessor(e=>(t.mechanism&&((0,F.gO)(e,void 0,void 0),(0,F.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,D.Cp)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}(0,ee.pO)(r,e),(0,ee.my)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch{}return r}function rp(){let e=(0,ra.$N)(),{referrer:t}=rs.document||{},{userAgent:r}=rs.navigator||{};return{url:e,headers:{...t&&{Referer:t},...r&&{"User-Agent":r}}}}class rh extends tB{constructor(e){let t=rf(e);k(t,"browser",["browser"],rs.SENTRY_SDK_SOURCE||e0()),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);let{sendDefaultPii:r,sendClientReports:n,enableLogs:o,_experiments:i,enableMetrics:a}=this._options,s=a??i?.enableMetrics??!0;rs.document&&(n||o||s)&&rs.document.addEventListener("visibilitychange",()=>{"hidden"===rs.document.visibilityState&&(n&&this._flushOutcomes(),o&&e8(this),s&&tr(this))}),r&&this.on("beforeSendSession",tK)}eventFromException(e,t){return t7(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return re(this._options.stackParser,e,t,r,this._options.attachStacktrace)}_prepareEvent(e,t,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r,n)}}function rf(e){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:rs.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}let rm={},rg={};function ry(e,t){return rm[e]=rm[e]||[],rm[e].push(t),()=>{let r=rm[e];if(r){let e=r.indexOf(t);-1!==e&&r.splice(e,1)}}}function rb(e,t){if(!rg[e]){rg[e]=!0;try{t()}catch(t){A.T&&E.Yz.error(`Error while instrumenting ${e}`,t)}}}function rv(e,t){let r=e&&rm[e];if(r)for(let n of r)try{n(t)}catch(t){A.T&&E.Yz.error(`Error while triggering instrumentation handler.
12Type: ${e}
13Name: ${(0,eu.qQ)(n)}
14Error:`,t)}}let rS=new Set([]);function r_(e){let t="console",r=ry(t,e);return rb(t,rw),r}
14function rw(){"console"in T.O&&E.Ow.forEach(function(e){e in T.O.console&&(0,ee.GS)(T.O.console,e,function(t){return E.Z9[e]=t,function(...t){let r=t[0],n=E.Z9[e],o=rS.size&&"string"==typeof r&&(0,B.Xr)(r,rS);o||rv("console",{args:t,level:e}),(!o||A.T&&E.Yz.isEnabled())&&n?.apply(T.O.console,t)}})})}let rx=T.O;function rT(){return"history"in rx&&!!rx.history}function rE(){if(!("fetch"in rx))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function rP(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function rk(){if("string"==typeof EdgeRuntime)return!0;if(!rE())return!1;if(rP(rx.fetch))return!0;let e=!1,t=rx.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=rP(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){A.T&&E.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function rD(e,t){let r="fetch",n=ry(r,e);return rb(r,()=>rO(void 0,t)),n}function rA(e){let t="fetch-body-resolved",r=ry(t,e);return rb(t,()=>rO(rC)),r}function rO(e,t=!1){(!t||rk())&&(0,ee.GS)(T.O,"fetch",function(t){return function(...r){let n=Error(),{method:o,url:i}=rI(r),a={args:r,fetchData:{method:o,url:i},startTimestamp:1e3*(0,t_.zf)(),virtualError:n,headers:rL(r)};return e||rv("fetch",{...a}),t.apply(T.O,r).then(async t=>(e?e(t):rv("fetch",{...a,endTimestamp:1e3*(0,t_.zf)(),response:t}),t),e=>{rv("fetch",{...a,endTimestamp:1e3*(0,t_.zf)(),error:e}),(0,tx.bJ)(e)&&void 0===e.stack&&(e.stack=n.stack,(0,ee.my)(e,"framesToPop",1));let t=(0,Q.KU)(),r=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==r&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(a.fetchData.url).host;"always"===r?e.message=`${e.message} (${t})`:(0,ee.my)(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function rN(e,t){if(e?.body){let r=e.body,n=r.getReader(),o=setTimeout(()=>{r.cancel().then(null,()=>{})},9e4),i=!0;for(;i;){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:o}=await n.read();clearTimeout(e),o&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(e)}}clearTimeout(o),n.releaseLock(),r.cancel().then(null,()=>{})}}function rC(e){let t;try{t=e.clone()}catch{return}rN(t,()=>{rv("fetch-body-resolved",{endTimestamp:1e3*(0,t_.zf)(),response:e})})}function r$(e,t){return!!e&&"object"==typeof e&&!!e[t]}function rM(e){return"string"==typeof e?e:e?r$(e,"url")?e.url:e.toString?e.toString():"":""}function rI(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:rM(t),method:r$(r,"method")?String(r.method).toUpperCase():(0,tx.ks)(t)&&r$(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:rM(t),method:r$(t,"method")?String(t.method).toUpperCase():"GET"}}function rL(e){let[t,r]=e;try{if("object"==typeof r&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if((0,tx.ks)(t))return new Headers(t.headers)}catch{}}let rR=100;function rF(e,t){let r=(0,Q.KU)(),n=(0,Q.rm)();if(!r)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:i=rR}=r.getOptions();if(i<=0)return;let a={timestamp:(0,t_.lu)(),...e},s=o?(0,E.pq)(()=>o(a,t)):a;null!==s&&(r.emit&&r.emit("beforeAddBreadcrumb",s,t),n.addBreadcrumb(s,i))}function rB(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}function rU(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}let rj="thismessage:/";function rV(e){return"isRelative"in e}function rz(e,t){let r=0>=e.indexOf("://")&&0!==e.indexOf("//"),n=t??(r?rj:void 0);try{if("canParse"in URL&&!URL.canParse(e,n))return;let t=new URL(e,n);if(r)return{isRelative:r,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function rH(e){if(rV(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function rW(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function rG(e){return e.split(/[?#]/,1)[0]}function rq(e,t=!0){if(e.startsWith("data:")){let r=e.match(/^data:([^;,]+)/),n=r?r[1]:"text/plain",o=e.includes(";base64,"),i=e.indexOf(","),a="";if(t&&-1!==i){let t=e.slice(i+1);a=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${n}${o?",base64":""}${a?`,${a}`:""}`}return e}let rY=T.O,rK=1e3;function rZ(e){let t="dom";ry(t,e),rb(t,rJ)}function rJ(){if(!rY.document)return;let e=rv.bind(null,"dom"),t=r0(e,!0);rY.document.addEventListener("click",t,!1),rY.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=rY,n=r[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&((0,ee.GS)(n,"addEventListener",function(t){return function(r,n,o){if("click"===r||"keypress"==r)try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=n[r]=n[r]||{refCount:0};if(!i.handler){let n=r0(e);i.handler=n,t.call(this,r,n,o)}i.refCount++}catch{}return t.call(this,r,n,o)}}),(0,ee.GS)(n,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__||{},o=r[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,n),o.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,r,n)}}))})}function rX(e){if(e.type!==i)return!1;try{if(!e.target||e.target._sentryId!==a)return!1}catch{}return!0}function rQ(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}function r0(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;let n=r1(r);if(rQ(r.type,n))return;(0,ee.my)(r,"_sentryCaptured",!0),n&&!n._sentryId&&(0,ee.my)(n,"_sentryId",(0,F.eJ)());let s="keypress"===r.type?"input":r.type;rX(r)||(e({event:r,name:s,global:t}),i=r.type,a=n?n._sentryId:void 0),clearTimeout(o),o=rY.setTimeout(()=>{a=void 0,i=void 0},rK)}}function r1(e){try{return e.target}catch{return null}}let r2="__sentry_xhr_v3__";function r3(e){let t="xhr";ry(t,e),rb(t,r4)}function r4(){if(!rY.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,r){let n=Error(),o=1e3*(0,t_.zf)(),i=(0,tx.Kg)(r[0])?r[0].toUpperCase():void 0,a=r5(r[1]);if(!i||!a)return e.apply(t,r);t[r2]={method:i,url:a,request_headers:{}}
14,"POST"===i&&a.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[r2];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}rv("xhr",{endTimestamp:1e3*(0,t_.zf)(),startTimestamp:o,xhr:t,virtualError:n})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,r)=>(s(),e.apply(t,r))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,r){let[n,o]=r,i=t[r2];return i&&(0,tx.Kg)(n)&&(0,tx.Kg)(o)&&(i.request_headers[n.toLowerCase()]=o),e.apply(t,r)}}),e.apply(t,r)}}),e.send=new Proxy(e.send,{apply(e,t,r){let n=t[r2];return n&&(void 0!==r[0]&&(n.body=r[0]),rv("xhr",{startTimestamp:1e3*(0,t_.zf)(),xhr:t})),e.apply(t,r)}})}function r5(e){if((0,tx.Kg)(e))return e;try{return e.toString()}catch{}}function r9(e){let t="history";ry(t,e),rb(t,r8)}function r8(){rY.addEventListener("popstate",()=>{let e=rY.location.href,t=s;s=e,t!==e&&rv("history",{from:t,to:e})}),rT()&&((0,ee.GS)(rY.history,"pushState",e),(0,ee.GS)(rY.history,"replaceState",e));function e(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let n=s,o=r6(String(r));if(s=o,n===o)return e.apply(this,t);rv("history",{from:n,to:o})}return e.apply(this,t)}}}function r6(e){try{return new URL(e,rY.location.origin).toString()}catch{return e}}let r7=!1,ne=1024,nt="Breadcrumbs",nr=L((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:nt,setup(e){t.console&&r_(ni(e)),t.dom&&rZ(no(e,t.dom)),t.xhr&&r3(na(e)),t.fetch&&rD(ns(e)),t.history&&r9(nu(e)),t.sentry&&e.on("beforeSendEvent",nn(e))}}});function nn(e){return function(t){(0,Q.KU)()===e&&rF({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,F.$X)(t)},{event:t})}}function no(e,t){return function(r){let n,o;if((0,Q.KU)()!==e)return;let i="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>ne&&(r7&&E.Yz.warn(`\`dom.maxStringLength\` cannot exceed ${ne}, but a value of ${a} was configured. Sentry will use ${ne} instead.`),a=ne),"string"==typeof i&&(i=[i]);try{let e=r.event,t=nl(e)?e.target:e;n=(0,ra.Hd)(t,{keyAttrs:i,maxStringLength:a}),o=(0,ra.xE)(t)}catch{n="<unknown>"}if(0===n.length)return;let s={category:`ui.${r.name}`,message:n};o&&(s.data={"ui.component_name":o}),rF(s,{event:r.event,name:r.name,global:r.global})}}function ni(e){return function(t){if((0,Q.KU)()!==e)return;let r={category:"console",data:{arguments:t.args,logger:"console"},level:rB(t.level),message:(0,B.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message=`Assertion failed: ${(0,B.gt)(t.args.slice(1)," ")||"console.assert"}`,r.data.arguments=t.args.slice(1)}rF(r,{input:t.args,level:t.level})}}function na(e){return function(t){if((0,Q.KU)()!==e)return;let{startTimestamp:r,endTimestamp:n}=t,o=t.xhr[r2];if(!r||!n||!o)return;let{method:i,url:a,status_code:s,body:u}=o,l={method:i,url:a,status_code:s},d={xhr:t.xhr,input:u,startTimestamp:r,endTimestamp:n},c={category:"xhr",data:l,type:"http",level:rU(s)};e.emit("beforeOutgoingRequestBreadcrumb",c,d),rF(c,d)}}function ns(e){return function(t){if((0,Q.KU)()!==e)return;let{startTimestamp:r,endTimestamp:n}=t;if(!(!n||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.error){let o={data:t.error,input:t.args,startTimestamp:r,endTimestamp:n},i={category:"fetch",data:t.fetchData,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",i,o),rF(i,o)}else{let o=t.response,i={...t.fetchData,status_code:o?.status},a={input:t.args,response:o,startTimestamp:r,endTimestamp:n},s={category:"fetch",data:i,type:"http",level:rU(i.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,a),rF(s,a)}}}}function nu(e){return function(t){if((0,Q.KU)()!==e)return;let r=t.from,n=t.to,o=rW(rs.location.href),i=r?rW(r):void 0,a=rW(n);i?.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(n=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),rF({category:"navigation",data:{from:r,to:n}})}}function nl(e){return!!e&&!!e.target}let nd="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDB
14Request,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),nc="BrowserApiErrors",np=L((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:nc,setupOnce(){t.setTimeout&&(0,ee.GS)(rs,"setTimeout",nh),t.setInterval&&(0,ee.GS)(rs,"setInterval",nh),t.requestAnimationFrame&&(0,ee.GS)(rs,"requestAnimationFrame",nf),t.XMLHttpRequest&&"XMLHttpRequest"in rs&&(0,ee.GS)(XMLHttpRequest.prototype,"send",nm);let e=t.eventTarget;e&&(Array.isArray(e)?e:nd).forEach(e=>ng(e,t))}}});function nh(e){return function(...t){let r=t[0];return t[0]=rc(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,eu.qQ)(e)}`}}),e.apply(this,t)}}function nf(e){return function(t){return e.apply(this,[rc(t,{mechanism:{data:{handler:(0,eu.qQ)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function nm(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&(0,ee.GS)(r,e,function(t){let r={mechanism:{data:{handler:(0,eu.qQ)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},n=(0,ee.sp)(t);return n&&(r.mechanism.data.handler=(0,eu.qQ)(n)),rc(t,r)})}),e.apply(this,t)}}function ng(e,t){let r=rs,n=r[e]?.prototype;n?.hasOwnProperty?.("addEventListener")&&((0,ee.GS)(n,"addEventListener",function(r){return function(n,o,i){try{ny(o)&&(o.handleEvent=rc(o.handleEvent,{mechanism:{data:{handler:(0,eu.qQ)(o),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&nb(this,n,o),r.apply(this,[n,rc(o,{mechanism:{data:{handler:(0,eu.qQ)(o),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),i])}}),(0,ee.GS)(n,"removeEventListener",function(e){return function(t,r,n){try{let o=r.__sentry_wrapped__;o&&e.call(this,t,o,n)}catch{}return e.call(this,t,r,n)}}))}function ny(e){return"function"==typeof e.handleEvent}function nb(e,t,r){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,r)}let nv=L((e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===rs.document){r7&&E.Yz.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,D.J0)({ignoreDuration:!0}),(0,D.J5)();let e=(0,Q.rm)(),r=e.getUser();e.addScopeListener(e=>{let t=e.getUser();
14(r?.id!==t?.id||r?.ip_address!==t?.ip_address)&&((0,D.J5)(),r=t)}),"route"===t&&r9(({from:e,to:t})=>{e!==t&&((0,D.J0)({ignoreDuration:!0}),(0,D.J5)())})}}});function nS(e,t){let r=e.attributes??(e.attributes={});Object.entries(t).forEach(([e,t])=>{null==t||e in r||(r[e]=t)})}let n_=1,nw=2;function nx(e,t){let r=e["http.url"]||e["url.full"],n=e["http.target"],o="string"==typeof r?parseUrl(r):void 0,i=o?getSanitizedUrlString(o):void 0;return t===n_&&"string"==typeof n?stripUrlQueryAndFragment(n):i||("string"==typeof n?stripUrlQueryAndFragment(n):void 0)}let nT="CultureContext",nE=L(()=>({name:nT,preprocessEvent(e){let t=nP();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=nP();t&&nS(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}}));function nP(){try{let e=rs.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}let nk=null;function nD(e){let t="error";ry(t,e),rb(t,nA)}function nA(){nk=T.O.onerror,T.O.onerror=function(e,t,r,n,o){return rv("error",{column:n,error:o,line:r,msg:e,url:t}),!!nk&&nk.apply(this,arguments)},T.O.onerror.__SENTRY_INSTRUMENTED__=!0}let nO=null;function nN(e){let t="unhandledrejection";ry(t,e),rb(t,nC)}function nC(){nO=T.O.onunhandledrejection,T.O.onunhandledrejection=function(e){return rv("unhandledrejection",e),!nO||nO.apply(this,arguments)},T.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let n$="GlobalHandlers",nM=L((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:n$,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(nI(e),nU("onerror")),t.onunhandledrejection&&(nL(e),nU("onunhandledrejection"))}}});function nI(e){nD(t=>{let{stackParser:r,attachStacktrace:n}=nj();if((0,Q.KU)()!==e||rl())return;let{msg:o,url:i,line:a,column:s,error:u}=t,l=nB(rt(r,u||o,void 0,n,!1),i,a,s);l.level="error",(0,D.r)(l,{originalException:u,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function nL(e){nN(t=>{let{stackParser:r,attachStacktrace:n}=nj();if((0,Q.KU)()!==e||rl())return;let o=nR(t),i=(0,tx.sO)(o)?nF(o):rt(r,o,void 0,n,!0);i.level="error",(0,D.r)(i,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function nR(e){if((0,tx.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function nF(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function nB(e,t,r,n){let o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},u=s.frames=s.frames||[];return 0===u.length&&u.push({colno:n,lineno:r,filename:nV(t)??(0,ra.$N)(),function:eu.yF,in_app:!0}),e}function nU(e){r7&&E.Yz.log(`Global Handler attached: ${e}`)}function nj(){let e=(0,Q.KU)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function nV(e){return(0,tx.Kg)(e)&&0!==e.length?e.startsWith("data:")?`<${rq(e,!1)}>`:e:void 0}let nz=L(()=>({name:"HttpContext",preprocessEvent(e){if(!rs.navigator&&!rs.location&&!rs.document)return;let t=rp(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}},processSegmentSpan(e){if(!rs.navigator&&!rs.location&&!rs.document)return;let t=rp();nS(e,{"url.full":t.url||void 0,"http.request.header.user_agent":t.headers["User-Agent"],"http.request.header.referer":t.headers.Referer})}}));function nH(e,t,r,n,o,i){if(!o.exception?.values||!i||!(0,tx.tH)(i.originalException,Error))return;let a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;a&&(o.exception.values=nW(e,t,n,i.originalException,r,o.exception.values,a,0))}function nW(e,t,r,n,o,i,a,s){if(i.length>=r+1)return i;let u=[...i];if((0,tx.tH)(n[o],Error)){nq(a,s,n);let i=e(t,n[o]),l=u.length;nY(i,o,l,s),u=nW(e,t,r,n[o],o,[i,...u],i,l)}return nG(n)&&n.errors.forEach((i,l)=>{if((0,tx.tH)(i,Error)){nq(a,s,n);let d=e(t,i),c=u.length;nY(d,`errors[${l}]`,c,s),u=nW(e,t,r,i,o,[d,...u],d,c)}}),u}function nG(e){return Array.isArray(e.errors)}function nq(e,t,r){e.mechanism={handled:!0,type:"auto.core.linked_errors",...nG(r)&&{is_exception_group:!0}
14,...e.mechanism,exception_id:t}}function nY(e,t,r,n){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}let nK="cause",nZ=5,nJ="LinkedErrors",nX=L((e={})=>{let t=e.limit||nZ,r=e.key||nK;return{name:nJ,preprocessEvent(e,n,o){nH(tQ,o.getOptions().stackParser,r,t,e,n)}}});function nQ(e,t,r,n){let o={filename:e,function:"<anonymous>"===t?eu.yF:t,in_app:!0};return void 0!==r&&(o.lineno=r),void 0!==n&&(o.colno=n),o}let n0=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,n1=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,n2=/\((\S*)(?::(\d+))(?::(\d+))\)/,n3=/at (.+?) ?\(data:(.+?),/,n4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,n5=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,n9=[[30,e=>{let t=e.match(n3);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let r=n0.exec(e);if(r){let[,e,t,n]=r;return nQ(e,eu.yF,+t,+n)}let n=n1.exec(e);if(n){if(n[2]?.indexOf("eval")===0){let e=n2.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=n6(n[1]||eu.yF,n[2]);return nQ(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{let t=n4.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=n5.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||eu.yF;return[r,e]=n6(r,e),nQ(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]],n8=(0,eu.gd)(...n9),n6=(e,t)=>{let r=-1!==e.indexOf("safari-extension"),n=-1!==e.indexOf("safari-web-extension");return r||n?[-1!==e.indexOf("@")?e.split("@")[0]:eu.yF,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},n7=!1,oe={};function ot(e){let t=oe[e];if(t)return t;let r=rY[e];if(rP(r))return oe[e]=r.bind(rY);let n=rY.document;if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let o=t.contentWindow;o?.[e]&&(r=o[e]),n.head.removeChild(t)}catch(t){n7&&E.Yz.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return r?oe[e]=r.bind(rY):r}function or(e){oe[e]=void 0}function on(...e){return ot("setTimeout")(...e)}let oo=40;function oi(e,t=ot("fetch")){let r=0,n=0;async function o(o){let i=o.body.length;r+=i,n++;let a={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&n<15,...e.fetchOptions};try{let r=await t(e.url,a);return{statusCode:r.status,headers:{"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")}}}catch(e){throw or("fetch"),e}finally{r-=i,n--}}return tS(e,o,tp(e.bufferSize||oo))}function oa(){return!!os()&&(r7&&(0,E.pq)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0)}function os(){if(void 0===rs.window)return!1;let e=rs;if(e.nw)return!1;let t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;let r=(0,ra.$N)();return!(rs===rs.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r))}function ou(e){return[z(),en(),es(),np(),nr(),nM(),nX(),ed(),nz(),nE(),nv()]}function ol(e={}){let t=!e.skipBrowserExtensionCheck&&oa(),r=null==e.defaultIntegrations?ou():e.defaultIntegrations;return ey(rh,{...e,enabled:!t&&e.enabled,stackParser:(0,eu.vk)(e.stackParser||n8),integrations:C({integrations:e.integrations,defaultIntegrations:r}),transport:e.transport||oi})}var od=r(44349);function oc(e){let t={...e};return k(t,"react"),(0,D.o)("react",{version:od.version}),ol(t)}var op=r(26366),oh=r(19374);function of(e){let t=e?oh.env.NEXT_PUBLIC_VERCEL_ENV:oh.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}function om(e){return(0,tx.bJ)(e)&&"string"==typeof e.digest&&e.digest.startsWith("NEXT_REDIRECT;")}var og=r(78700),oy=r(27953),ob=r(71665);class ov{constructor(e={}){this._traceId=e.traceId||(0,ob.e)(),this._spanId=e.spanId||(0,ob.Z)(),this.dropReason=e.dropReason}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:ei.CC}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}
14addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}function oS(e){if(!A.T)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:n}=(0,ei.et)(e),{spanId:o}=e.spanContext(),i=(0,ei.pK)(e),a=(0,ei.zU)(e),s=a===e,u=`[Tracing] Starting ${i?"sampled":"unsampled"} ${s?"root ":""}span`,l=[`op: ${r}`,`name: ${t}`,`ID: ${o}`];if(n&&l.push(`parent ID: ${n}`),!s){let{op:e,description:t}=(0,ei.et)(a);l.push(`root ID: ${a.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}E.Yz.log(`${u}
15  ${l.join("\n  ")}`)}function o_(e){if(!A.T)return;let{description:t="< unknown name >",op:r="< unknown op >"}=(0,ei.et)(e),{spanId:n}=e.spanContext(),o=(0,ei.zU)(e)===e,i=`[Tracing] Finishing "${r}" ${o?"root ":""}span "${t}" with ID ${n}`;E.Yz.log(i)}function ow(e,t,r,n=(0,ei.Bk)()){let o=n&&(0,ei.zU)(n);o&&(A.T&&E.Yz.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),o.addEvent(e,{[eo.xc]:t,[eo.Sn]:r}))}function ox(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let r=e.attributes||{},n=r[eo.Sn],o=r[eo.xc];"string"==typeof n&&"number"==typeof o&&(t[e.name]={value:o,unit:n})}),t}var oT=r(39590);let oE=1e3;class oP{constructor(e={}){this._traceId=e.traceId||(0,ob.e)(),this._spanId=e.spanId||(0,ob.Z)(),this._startTime=e.startTimestamp||(0,t_.zf)(),this._links=e.links,this._attributes={},this.setAttributes({[eo.JD]:"manual",[eo.uT]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?ei.aO:ei.CC}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,ei.cI)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(eo.i_,"custom"),this}end(e){this._endTime||(this._endTime=(0,ei.cI)(e),o_(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[eo.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,ei.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[eo.JD],profile_id:this._attributes[eo.E1],exclusive_time:this._attributes[eo.jG],measurements:ox(this._events),is_segment:this._isStandaloneSpan&&(0,ei.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,ei.zU)(this).spanContext().spanId:void 0,links:(0,ei.uU)(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===(0,ei.zU)(this),status:(0,ei.i$)(this._status),attributes:this._attributes,links:(0,ei.HQ)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){A.T&&E.Yz.log("[Tracing] Adding an event to span:",e);let n=ok(t)?t:r||(0,t_.zf)(),o=ok(t)?{}:t||{},i={name:e,time:(0,ei.cI)(n),attributes:o};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,Q.KU)();if(e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===(0,ei.zU)(this)))return;if(this._isStandaloneSpan){this._sampled?oO(eX([this],e)):(A.T&&E.Yz.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span"));return}if(e&&ta(e)){e.emit("afterSegmentSpanEnd",this);return}let t=this._convertSpanToTransaction();t&&((0,oT.L)(this).scope||(0,Q.o5)()).captureEvent(t)}_convertSpanToTransaction(){if(!oD((0,ei.et)(this)))return;this._name||(A.T&&E.Yz.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=(0,oT.L)(this),r=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let n=(0,ei.xO)(this).filter(e=>e!==this&&!oA(e)).map(e=>(0,ei.et)(e)).filter(oD),o=this._attributes[eo.i_];delete this._attributes[eo.Le];let i=!1;
15n.forEach(e=>{delete e.data[eo.Le],e.op?.startsWith("gen_ai.")&&(i=!0)});let a={contexts:{trace:(0,ei.Ck)(this)},spans:n.length>oE?n.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,oE):n,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:(0,eE.k1)(this),hasGenAiSpans:i},request:r,...o&&{transaction_info:{source:o}}},s=ox(this._events);return s&&Object.keys(s).length&&(A.T&&E.Yz.log("[Measurements] Adding measurements to transaction event",JSON.stringify(s,void 0,2)),a.measurements=s),a}}function ok(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function oD(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function oA(e){return e instanceof oP&&e.isStandaloneSpan()}function oO(e){let t=(0,Q.KU)();if(!t)return;let r=e[1];if(!r||0===r.length){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}var oN=r(2387),oC=r(865);function o$(e,t,r){let n,o;if(!(0,og.f)(e))return[!1];"function"==typeof e.tracesSampler?(n=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),o=!0):void 0!==t.parentSampled?n=t.parentSampled:void 0!==e.tracesSampleRate&&(n=e.tracesSampleRate,o=!0);let i=(0,tE.i)(n);if(void 0===i)return A.T&&E.Yz.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(n)} of type ${JSON.stringify(typeof n)}.`),[!1];if(!i)return A.T&&E.Yz.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,o];let a=r<i;return!a&&A.T&&E.Yz.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[a,i,o]}let oM="__SENTRY_SUPPRESS_TRACING__";function oI(e){let t=oB();if(t.startInactiveSpan)return t.startInactiveSpan(e);let r=oF(e),{forceTransaction:n,parentSpan:o}=e;return(e.scope?t=>(0,Q.v4)(e.scope,t):void 0!==o?e=>oL(o,e):e=>e())(()=>{let t=(0,Q.o5)(),i=oV(t,o),a=(0,Q.KU)();return e.onlyIfParent&&!i?(a?.recordDroppedEvent("no_parent_span","span"),new ov):oR({parentSpan:i,spanArguments:r,forceTransaction:n,scope:t})})}function oL(e,t){let r=oB();return r.withActiveSpan?r.withActiveSpan(e,t):(0,Q.v4)(r=>((0,oy.r)(r,e||void 0),t(r)))}function oR({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){let o;if(!(0,og.f)()){let n=new ov;if(r||!e){let e={sampled:"false",sample_rate:"0",transaction:t.name,...(0,eE.k1)(n)};(0,eE.LZ)(n,e)}return n}let i=(0,Q.KU)();if(oz(i,t))return oH(n)||i?.recordDroppedEvent("ignored","span"),new ov({dropReason:"ignored",traceId:e?.spanContext().traceId??n.getPropagationContext().traceId});let a=(0,Q.rm)();if(e&&!r)o=oj(e,n,t),(0,ei.Hu)(e,o);else if(e){let r=(0,eE.k1)(e),{traceId:i,spanId:a}=e.spanContext(),s=(0,ei.pK)(e);o=oU({traceId:i,parentSpanId:a,...t},n,s),(0,eE.LZ)(o,r)}else{let{traceId:e,dsc:r,parentSpanId:i,sampled:s}={...a.getPropagationContext(),...n.getPropagationContext()};o=oU({traceId:e,parentSpanId:i,...t},n,s),r&&(0,eE.LZ)(o,r)}return oS(o),(0,oT.d)(o,n,a),o}function oF(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=(0,ei.cI)(e.startTime),delete r.startTime,r}return t}function oB(){let e=(0,eD.EU)();return(0,oC.h)(e)}function oU(e,t,r){let n=(0,Q.KU)(),o=n?.getOptions()||{},{name:i=""}=e,a={spanAttributes:{...e.attributes},spanName:i,parentSampled:r};n?.emit("beforeSampling",a,{decision:!1});let s=a.parentSampled??r,u=a.spanAttributes,l=t.getPropagationContext(),d=oH(t),[c,p,h]=d?[!1]:o$(o,{name:i,parentSampled:s,attributes:u,parentSampleRate:(0,tE.i)(l.dsc?.sample_rate)},l.sampleRand),f=new oP({...e,attributes:{[eo.i_]:"custom",[eo.sy]:void 0!==p&&h?p:void 0,...u},sampled:c});return c||!n||d||(A.T&&E.Yz.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),n.recordDroppedEvent("sample_rate",ta(n)?"span":"transaction")),n&&n.emit("spanStart",f),f}function oj(e,t,r){let{spanId:n,traceId:o}=e.spanContext(),i=oH(t),a=!i&&(0,ei.pK)(e),s=a?new oP({...r,parentSpanId:n,traceId:o,sampled:a}):new ov({traceId:o});(0,ei.Hu)(e,s);let u=(0,Q.KU)();return u&&(ta(u)&&s instanceof ov&&(e instanceof ov&&e.dropReason?(s.dropReason=e.dropReason,u.recordDroppedEvent(e.dropReason,"span")):i||(s.dropReason="sample_rate",u.recordDroppedEvent("sample_rate","span"))),u.emit("spanStart",s),r.endTimestamp&&(u.emit("spanEnd",s),u.emit("afterSpanEnd",s))),s}function oV(e,t){if(t)return t;if(null===t)return;let r=(0,oy.f)(e);if(!r)return;let n=(0,Q.KU)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,ei.zU)(r):r}function oz(e,t){let r=e?.getOptions().ignoreSpans;return!!(e&&ta(e)&&r?.length)&&eW({description:t.name||"",op:t.attributes?.[eo.uT]||t.op,attributes:t.attributes},r)}function oH(e){return!0===e.getScopeData().sdkProcessingMetadata[oM]}let oW={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},oG="heartbeatFailed",oq="idleTimeout",oY="finalTimeout",oK="externalFinish";function oZ(e,t={}){let r;let n=new Map,o=!1,i=oK,a=!t.disableAutoFinish,s=[],{idleTimeout:u=oW.idleTimeout,finalTimeout:l=oW.finalTimeout,childSpanTimeout:d=oW.childSpanTimeout,beforeSpanEnd:c,trimIdleSpanEndTimestamp:p=!0}=t,h=(0,Q.KU)();if(!h||!(0,og.f)()){let e=new ov,t={sample_rate:"0",sampled:"false",...(0,eE.k1)(e)};return(0,eE.LZ)(e,t),e}
15let f=(0,Q.o5)(),m=(0,ei.Bk)(),g=oJ(e);function y(){r&&(clearTimeout(r),r=void 0)}function b(e){y(),r=setTimeout(()=>{!o&&0===n.size&&a&&(i=oq,g.end(e))},u)}function v(e){r=setTimeout(()=>{!o&&a&&(i=oG,g.end(e))},d)}function S(e){y(),n.set(e,!0),v((0,t_.zf)()+d/1e3)}function _(e){n.has(e)&&n.delete(e),0===n.size&&b((0,t_.zf)()+u/1e3)}function w(e){o=!0,n.clear(),s.forEach(e=>e()),(0,oy.r)(f,m);let t=(0,ei.et)(g),{start_timestamp:r}=t;if(!r)return;t.data[eo.fs]||g.setAttribute(eo.fs,i);let a=t.status;a&&"unknown"!==a||g.setStatus({code:oN.F3}),E.Yz.log(`[Tracing] Idle span "${t.op}" finished`);let d=(0,ei.xO)(g).filter(e=>e!==g),c=0;d.forEach(t=>{t.isRecording()&&(t.setStatus({code:oN.TJ,message:"cancelled"}),t.end(e),A.T&&E.Yz.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:n=0}=(0,ei.et)(t),o=n<=e,i=r-n<=(l+u)/1e3;if(A.T){let e=JSON.stringify(t,void 0,2);o?i||E.Yz.log("[Tracing] Discarding span since it finished after idle span final timeout",e):E.Yz.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!i||!o)&&((0,ei.VS)(g,t),c++)}),c>0&&g.setAttribute("sentry.idle_span_discarded_spans",c)}return g.end=new Proxy(g.end,{apply(e,t,r){if(c&&c(g),t instanceof ov)return;let[n,...o]=r,i=n||(0,t_.zf)(),a=(0,ei.cI)(i),s=(0,ei.xO)(g).filter(e=>e!==g),u=(0,ei.et)(g);if(!s.length||!p)return w(a),Reflect.apply(e,t,[a,...o]);let d=h.getOptions().ignoreSpans,f=s?.reduce((e,t)=>{let r=ei.et(t);return!r.timestamp||d&&eW({description:r.description,op:r.op,attributes:r.data},d)?e:e?Math.max(e,r.timestamp):r.timestamp},void 0),m=u.start_timestamp,y=Math.min(m?m+l/1e3:1/0,Math.max(m||-1/0,Math.min(a,f||1/0)));return w(y),Reflect.apply(e,t,[y,...o])}}),s.push(h.on("spanStart",e=>{!(o||e===g||(0,ei.et)(e).timestamp||e instanceof oP&&e.isStandaloneSpan())&&(0,ei.xO)(g).includes(e)&&S(e.spanContext().spanId)})),s.push(h.on("spanEnd",e=>{o||_(e.spanContext().spanId)})),s.push(h.on("idleSpanEnableAutoFinish",e=>{e===g&&(a=!0,b(),n.size&&v())})),t.disableAutoFinish||b(),setTimeout(()=>{o||(g.setStatus({code:oN.TJ,message:"deadline_exceeded"}),i=oY,g.end())},l),g}function oJ(e){let t=oI(e);return(0,oy.r)((0,Q.o5)(),t),A.T&&E.Yz.log("[Tracing] Started span is an idle span"),t}let oX=!1;function oQ(){oX||(e.tag="sentry_tracingErrorCallback",oX=!0,nD(e),nN(e));function e(){let e=(0,ei.Bk)(),t=e&&(0,ei.zU)(e);if(t){let e="internal_error";A.T&&E.Yz.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:oN.TJ,message:e})}}}var o0=r(78296);let o1=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",o2=(e,t,r,n)=>{let o,i;return a=>{t.value>=0&&(a||n)&&((i=t.value-(o??0))||void 0===o)&&(o=t.value,t.delta=i,t.rating=o1(t.value,r),e(t))}},o3=(e=!0)=>{let t=rY.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},o4=()=>{let e=o3();return e?.activationStart??0};function o5(e,t,r){rY.document&&rY.addEventListener(e,t,r)}function o9(e,t,r){rY.document&&rY.removeEventListener(e,t,r)}let o8=-1,o6=new Set,o7=()=>rY.document?.visibilityState!=="hidden"||rY.document?.prerendering?1/0:0,ie=e=>{if(ir(e)&&o8>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of o6)e();isFinite(o8)||(o8="visibilitychange"===e.type?e.timeStamp:0,o9("prerenderingchange",ie,!0))}},it=()=>{if(rY.document&&o8<0){let e=o4();o8=(rY.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??o7(),o5("visibilitychange",ie,!0),o5("pagehide",ie,!0),o5("prerenderingchange",ie,!0)}return{get firstHiddenTime(){return o8},onHidden(e){o6.add(e)}}};function ir(e){return"pagehide"===e.type||rY.document?.visibilityState==="hidden"}let io=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,ii=(e,t=-1)=>{let r=o3(),n="navigate";return r&&(rY.document?.prerendering||o4()>0?n="prerender":rY.document?.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:io(),navigationType:n}},ia=new WeakMap;function is(e,t){try{return ia.get(e)||ia.set(e,new t),ia.get(e)}catch(e){return new t}}class iu{constructor(){iu.prototype.__init.call(this),iu.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let il=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe({type:e,buffered:!0,...r}),n}}catch{}},id=e=>{let t=!1;return()=>{t||(e(),t=!0)}},ic=e=>{rY.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},ip=[1800,3e3],ih=(e,t={})=>{ic(()=>{let r;let n=it(),o=ii("FCP"),i=il("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(i.disconnect(),t.startTime<n.firstHiddenTime&&(o.value=Math.max(t.startTime-o4(),0),o.entries.push(t),r(!0)))});i&&(r=o2(e,o,ip,t.reportAllChanges))})},im=[.1,.25],ig=(e,t={})=>{ih(id(()=>{let r;let n=ii("CLS",0),o=it(),i=is(t,iu),a=e=>{for(let t of e)i._processEntry(t);i._sessionValue>
15n.value&&(n.value=i._sessionValue,n.entries=i._sessionEntries,r())},s=il("layout-shift",a);s&&(r=o2(e,n,im,t.reportAllChanges),o.onHidden(()=>{a(s.takeRecords()),r(!0)}),rY?.setTimeout?.(r))}))},iy=0,ib=1/0,iv=0,iS=e=>{e.forEach(e=>{e.interactionId&&(ib=Math.min(ib,e.interactionId),iy=(iv=Math.max(iv,e.interactionId))?(iv-ib)/7+1:0)})},i_=()=>u?iy:performance.interactionCount||0,iw=()=>{"interactionCount"in performance||u||(u=il("event",iS,{type:"event",buffered:!0,durationThreshold:0}))},ix=10,iT=0,iE=()=>i_()-iT;class iP{constructor(){iP.prototype.__init.call(this),iP.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){iT=i_(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor(iE()/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"
15===e.entryType))return;let t=this._longestInteractionList.at(-1),r=this._longestInteractionMap.get(e.interactionId);if(r||this._longestInteractionList.length<ix||e.duration>t._latency){if(r?e.duration>r._latency?(r.entries=[e],r._latency=e.duration):e.duration===r._latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>ix)for(let e of this._longestInteractionList.splice(ix))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(r)}}}let ik=e=>{let t=rY.requestIdleCallback||rY.setTimeout;rY.document?.visibilityState==="hidden"?e():(o5("visibilitychange",e=id(e),{once:!0,capture:!0}),o5("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),o9("visibilitychange",e,{capture:!0}),o9("pagehide",e,{capture:!0})}))},iD=[200,500],iA=40,iO=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let r=it();ic(()=>{let n;iw();let o=ii("INP"),i=is(t,iP),a=e=>{ik(()=>{for(let t of e)i._processEntry(t);let t=i._estimateP98LongestInteraction();t&&t._latency!==o.value&&(o.value=t._latency,o.entries=t.entries,n())})},s=il("event",a,{durationThreshold:t.durationThreshold??iA});n=o2(e,o,iD,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{a(s.takeRecords()),n(!0)}))})};class iN{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let iC=[2500,4e3],i$=(e,t={})=>{ic(()=>{let r;let n=it(),o=ii("LCP"),i=is(t,iN),a=e=>{for(let a of(t.reportAllChanges||(e=e.slice(-1)),e))i._processEntry(a),a.startTime<n.firstHiddenTime&&(o.value=Math.max(a.startTime-o4(),0),o.entries=[a],r())},s=il("largest-contentful-paint",a);if(s){r=o2(e,o,iC,t.reportAllChanges);let n=id(()=>{a(s.takeRecords()),s.disconnect(),r(!0)}),i=e=>{e.isTrusted&&(ik(n),o9(e.type,i,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])o5(e,i,{capture:!0})}})},iM=[800,1800],iI=e=>{rY.document?.prerendering?ic(()=>iI(e)):rY.document?.readyState!=="complete"?addEventListener("load",()=>iI(e),!0):setTimeout(e)},iL=(e,t={})=>{let r=ii("TTFB"),n=o2(e,r,iM,t.reportAllChanges);iI(()=>{let e=o3();e&&(r.value=Math.max(e.responseStart-o4(),0),r.entries=[e],n(!0))})},iR={},iF={};function iB(e,t=!1){return iK("cls",e,iW,l,t)}function iU(e,t=!1){return iK("lcp",e,iG,d,t)}function ij(e){return iK("ttfb",e,iq,c)}function iV(e){return iK("inp",e,iY,p)}function iz(e,t){return iJ(e,t),iF[e]||(iZ(e),iF[e]=!0),iX(e,t)}function iH(e,t){let r=iR[e];if(r?.length)for(let n of r)try{n(t)}catch(t){n7&&E.Yz.error(`Error while triggering instrumentation handler.
16Type: ${e}
17Name: ${(0,eu.qQ)(n)}
18Error:`,t)}}function iW(){return ig(e=>{iH("cls",{metric:e}),l=e},{reportAllChanges:!0})}function iG(){return i$(e=>{iH("lcp",{metric:e}),d=e},{reportAllChanges:!0})}function iq(){return iL(e=>{iH("ttfb",{metric:e}),c=e})}function iY(){return iO(e=>{iH("inp",{metric:e}),p=e})}function iK(e,t,r,n,o=!1){let i;return iJ(e,t),iF[e]||(i=r(),iF[e]=!0),n&&t({metric:n}),iX(e,t,o?i:void 0)}function iZ(e){let t={};"event"===e&&(t.durationThreshold=0),il(e,t=>{iH(e,{entries:t})},t)}function iJ(e,t){iR[e]=iR[e]||[],iR[e].push(t)}function iX(e,t,r){return()=>{r&&r();let n=iR[e];if(!n)return;let o=n.indexOf(t);-1!==o&&n.splice(o,1)}}function iQ(e){return"duration"in e}let i0=e=>{let t=t=>{("pagehide"===t.type||rY.document?.visibilityState==="hidden")&&e(t)};o5("visibilitychange",t,{capture:!0,once:!0}),o5("pagehide",t,{capture:!0,once:!0})};function i1(e){return"number"==typeof e&&isFinite(e)}function i2(e,t,r,{...n}){let o=(0,ei.et)(e).start_timestamp;return o&&o>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),oL(e,()=>{let e=oI({startTime:t,...n});return e&&e.end(r),e})}function i3(e){let t;let r=(0,Q.KU)();if(!r)return;let{name:n,transaction:o,attributes:i,startTime:a}=e,{release:s,environment:u,sendDefaultPii:l}=r.getOptions(),d=r.getIntegrationByName("Replay"),c=d?.getReplayId(),p=(0,Q.o5)(),h=p.getUser(),f=void 0!==h?h.email||h.id||h.ip_address:void 0;try{t=p.getScopeData().contexts.profile.profile_id}catch{}return oI({name:n,attributes:{release:s,environment:u,user:f||void 0,profile_id:t||void 0,replay_id:c||void 0,transaction:o,"user_agent.original":rY.navigator?.userAgent,"client.address":l?"{{auto}}":void 0,...i},startTime:a,experimental:{standalone:!0}})}function i4(){return rY.addEventListener&&rY.performance}function i5(e){return e/1e3}function i9(e){let t="unknown",r="unknown",n="";for(let o of e){if("/"===o){[t,r]=e.split("/");break}if(!isNaN(Number(o))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=o}
18return n===e&&(t=n),{name:t,version:r}}function i8(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function i6(e,t){let r;let n=!1;function o(e){!n&&r&&t(e,r.spanContext().spanId,r),n=!0}i0(()=>{o("pagehide")});let i=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(o("navigation"),i(),a())}),a=e.on("afterStartPageLoadSpan",e=>{r=e,a()})}function i7(e){let t,r=0;if(!i8("layout-shift"))return;let n=iB(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);i6(e,(e,o)=>{ae(r,t,o,e),n()})}function ae(e,t,r,n){n7&&E.Yz.log(`Sending CLS span (${e})`);let o=t?i5(((0,t_.k3)()||0)+t.startTime):(0,t_.zf)(),i=(0,Q.o5)().getScopeData().transactionName,a=t?(0,ra.Hd)(t.sources[0]?.node):"Layout shift",s={[eo.JD]:"auto.http.browser.cls",[eo.uT]:"ui.webvital.cls",[eo.jG]:0,"sentry.pageload.span_id":r,"sentry.report_event":n};t?.sources&&t.sources.forEach((e,t)=>{s[`cls.source.${t+1}`]=(0,ra.Hd)(e.node)});let u=i3({name:a,transaction:i,attributes:s,startTime:o});u&&(u.addEvent("cls",{[eo.Sn]:"",[eo.xc]:e}),u.end(o))}let at=6e4;function ar(e){return null!=e&&e>0&&e<=at}function an(e){let t,r=0;if(!i8("largest-contentful-paint"))return;let n=iU(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&ar(e.value)&&(r=e.value,t=n)},!0);i6(e,(e,o)=>{ao(r,t,o,e),n()})}function ao(e,t,r,n){if(!ar(e))return;n7&&E.Yz.log(`Sending LCP span (${e})`);let o=i5(((0,t_.k3)()||0)+(t?.startTime||0)),i=(0,Q.o5)().getScopeData().transactionName,a=t?(0,ra.Hd)(t.element):"Largest contentful paint",s={[eo.JD]:"auto.http.browser.lcp",[eo.uT]:"ui.webvital.lcp",[eo.jG]:0,"sentry.pageload.span_id":r,"sentry.report_event":n};t&&(t.element&&(s["lcp.element"]=(0,ra.Hd)(t.element)),t.id&&(s["lcp.id"]=t.id),t.url&&(s["lcp.url"]=t.url),null!=t.loadTime&&(s["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(s["lcp.renderTime"]=t.renderTime),null!=t.size&&(s["lcp.size"]=t.size));let u=i3({name:a,transaction:i,attributes:s,startTime:o});u&&(u.addEvent("lcp",{[eo.Sn]:"millisecond",[eo.xc]:e}),u.end(o))}function ai(e){return e?(((0,t_.k3)()||performance.timeOrigin)+e)/1e3:e}function aa(e){let t={};if(void 0!=e.nextHopProtocol){let{name:r,version:n}=i9(e.nextHopProtocol);t["network.protocol.version"]=n,t["network.protocol.name"]=r}return(0,t_.k3)()||i4()?.timeOrigin?as({...t,"http.request.redirect_start":ai(e.redirectStart),"http.request.redirect_end":ai(e.redirectEnd),"http.request.worker_start":ai(e.workerStart),"http.request.fetch_start":ai(e.fetchStart),"http.request.domain_lookup_start":ai(e.domainLookupStart),"http.request.domain_lookup_end":ai(e.domainLookupEnd),"http.request.connect_start":ai(e.connectStart),"http.request.secure_connection_start":ai(e.secureConnectionStart),"http.request.connection_end":ai(e.connectEnd),"http.request.request_start":ai(e.requestStart),"http.request.response_start":ai(e.responseStart),"http.request.response_end":ai(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}):t}function as(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>null!=e))}let au=0x7fffffff,al=0,ad={};function ac({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){let n=i4();if(n&&(0,t_.k3)()){n.mark&&rY.performance.mark("sentry-tracing-init");let o=t?an(r):!1===t?ag():void 0,i=e?i7(r):!1===e?am():void 0,a=ay();return()=>{a(),o?.(),i?.()}}return()=>void 0}function ap(){iz("longtask",({entries:e})=>{let t=(0,ei.Bk)();if(!t)return;let{op:r,start_timestamp:n}=(0,ei.et)(t);for(let o of e){let e=i5((0,t_.k3)()+o.startTime),i=i5(o.duration);"navigation"===r&&n&&e<n||i2(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[eo.JD]:"auto.ui.browser.metrics"}})}})}function ah(){new PerformanceObserver(e=>{let t=(0,ei.Bk)();if(t)for(let r of e.getEntries()){if(!r.scripts[0])continue;let e=i5((0,t_.k3)()+r.startTime),{start_timestamp:n,op:o}=(0,ei.et)(t);if("navigation"===o&&n&&e<n)continue;let i=i5(r.duration),a={[eo.JD]:"auto.ui.browser.metrics"},{invoker:s,invokerType:u,sourceURL:l,sourceFunctionName:d,sourceCharPosition:c}=r.scripts[0];a["browser.script.invoker"]=s,a["browser.script.invoker_type"]=u,l&&(a["code.filepath"]=l),d&&(a["code.function"]=d),-1!==c&&(a["browser.script.source_char_position"]=c),i2(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:a})}}).observe({type:"long-animation-frame",buffered:!0})}function af(){iz("event",({entries:e})=>{let t=(0,ei.Bk)();
18if(t){for(let r of e)if("click"===r.name){let e=i5((0,t_.k3)()+r.startTime),n=i5(r.duration),o={name:(0,ra.Hd)(r.target),op:`ui.interaction.${r.name}`,startTime:e,attributes:{[eo.JD]:"auto.ui.browser.metrics"}},i=(0,ra.xE)(r.target);i&&(o.attributes["ui.component_name"]=i),i2(t,e,e+n,o)}}})}function am(){return iB(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(ad.cls={value:e.value,unit:""},f=t)},!0)}function ag(){return iU(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&ar(e.value)&&(ad.lcp={value:e.value,unit:"millisecond"},h=t)},!0)}function ay(){return ij(({metric:e})=>{e.entries[e.entries.length-1]&&(ad.ttfb={value:e.value,unit:"millisecond"})})}function ab(e,t){let r=i4(),n=(0,t_.k3)();if(!r?.getEntries||!n)return;let{spanStreamingEnabled:o,ignorePerformanceApiSpans:i,ignoreResourceSpans:a,recordClsOnPageloadSpan:s,recordLcpOnPageloadSpan:u}=t,l=i5(n),d=r.getEntries(),{op:c,start_timestamp:p}=(0,ei.et)(e);if(d.slice(al).forEach(t=>{let r=i5(t.startTime),n=i5(Math.max(0,t.duration));if("navigation"!==c||!p||!(l+r<p))switch(t.entryType){case"navigation":aw(e,t,l);break;case"mark":case"paint":case"measure":{aS(e,t,r,n,l,i);let o=it(),a=t.startTime<o.firstHiddenTime;"first-paint"===t.name&&a&&(ad.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&a&&(ad.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":aP(e,t,t.name,r,n,l,a)}}),al=Math.max(d.length-1,0),ak(e,o),"pageload"===c){if(aO(ad),o){let t=(t,r,n)=>{let o=n??`browser.web_vital.${t}.value`;e.setAttribute(o,r),n7&&E.Yz.log("Setting web vital attribute",{[o]:r},"on pageload span")};["ttfb","fp","fcp"].forEach(e=>{ad[e]&&t(e,ad[e].value)}),ad["ttfb.requestTime"]&&t("ttfb.requestTime",ad["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else s||delete ad.cls,u||delete ad.lcp,Object.entries(ad).forEach(([e,t])=>{ow(e,t.value,t.unit)}),aD(e,t);e.setAttribute(o?"browser.performance.time_origin":"performance.timeOrigin",l),e.setAttribute(o?"browser.performance.navigation.activation_start":"performance.activationStart",o4())}h=void 0,f=void 0,ad={}}function av(e){if(e?.entryType==="measure")try{return"Components ⚛"===e.detail.devtools.track}catch{return}}function aS(e,t,r,n,o,i){if(av(t)||["mark","measure"].includes(t.entryType)&&(0,B.Xr)(t.name,i))return;let a=o3(!1),s=o+Math.max(r,i5(a?a.requestStart:0)),u=o+r,l=u+n,d={[eo.JD]:"auto.resource.browser.metrics"};s!==u&&(d["sentry.browser.measure_happened_before_request"]=!0,d["sentry.browser.measure_start_time"]=s),a_(d,t),s<=l&&i2(e,s,l,{name:t.name,op:t.entryType,attributes:d})}function a_(e,t){try{let r=t.detail;if(!r)return;if("object"==typeof r){for(let[t,n]of Object.entries(r))if(n&&(0,tx.sO)(n))e[`sentry.browser.measure.detail.${t}`]=n;else if(void 0!==n)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(n)}catch{}return}if((0,tx.sO)(r)){e["sentry.browser.measure.detail"]=r;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(r)}catch{}}catch{}}function aw(e,t,r){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{ax(e,t,n,r)}),ax(e,t,"secureConnection",r,"TLS/SSL"),ax(e,t,"fetch",r,"cache"),ax(e,t,"domainLookup",r,"DNS"),aE(e,t,r)}function ax(e,t,r,n,o=r){let i=t[aT(r)],a=t[`${r}Start`];a&&i&&i2(e,n+i5(a),n+i5(i),{op:`browser.${o}`,name:t.name,attributes:{[eo.JD]:"auto.ui.browser.metrics",..."redirect"===r&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}function aT(e){return"secureConnection"===e?"connectEnd":"fetch"===e?"domainLookupStart":`${e}End`}function aE(e,t,r){let n=r+i5(t.requestStart),o=r+i5(t.responseEnd),i=r+i5(t.responseStart);t.responseEnd&&(i2(e,n,o,{op:"browser.request",name:t.name,attributes:{[eo.JD]:"auto.ui.browser.metrics"}}),i2(e,i,o,{op:"browser.response",name:t.name,attributes:{[eo.JD]:"auto.ui.browser.metrics"}}))}function aP(e,t,r,n,o,i,a){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let s=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(a?.includes(s))return;let u={[eo.JD]:"auto.resource.browser.metrics"},l=rW(r);l.protocol&&(u["url.scheme"]=l.protocol.split(":").pop()),l.host&&(u["server.address"]=l.host),u["url.same_origin"]=r.includes(rY.location.origin),aA(t,u,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);let d={...u,...aa(t)},c=i+n,p=c+o;i2(e,c,p,{name:r.replace(rY.location.origin,""),op:s,attributes:d})}function ak(e,t){let r=rY.navigator;if(!r)return;let n=r.connection;n&&(n.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute(t?"network.connection.type":"connectionType",n.type),i1(n.rtt)&&(ad["connection.rtt"]={value:n.rtt,unit:"millisecond"},t&&e.setAttribute("network.connection.rtt",n.rtt))),i1(r.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",r.deviceMemory):e.setAttribute("deviceMemory",`${r.deviceMemory} GB`)),i1(r.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",r.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(r.hardwareConcurrency)))}function aD(e,t){h&&t.recordLcpOnPageloadSpan&&(h.element&&e.setAttribute("lcp.element",(0,ra.Hd)(h.element)),h.id&&e.setAttribute("lcp.id",h.id),h.url&&e.setAttribute("lcp.url",h.url.trim().slice(0,200)),null!=h.loadTime&&e.setAttribute("lcp.loadTime",h.loadTime),null!=h.renderTime&&e.setAttribute("lcp.renderTime",h.renderTime),e.setAttribute("lcp.size",h.size)),f?.sources&&t.recordClsOnPageloadSpan&&f.sources.forEac
18h((t,r)=>e.setAttribute(`cls.source.${r+1}`,(0,ra.Hd)(t.node)))}function aA(e,t,r){r.forEach(([r,n])=>{let o=e[r];null!=o&&("number"==typeof o&&o<au||"string"==typeof o)&&(t[n]=o)})}function aO(e){let t=o3(!1);if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}let aN=[],aC=new Map,a$=new Map,aM=60;function aI(){if(i4()&&(0,t_.k3)()){let e=aR();return()=>{e()}}return()=>void 0}let aL={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function aR(){return iV(aF)}let aF=({metric:e})=>{if(void 0==e.value)return;let t=i5(e.value);if(t>aM)return;let r=e.entries.find(t=>t.duration===e.value&&aL[t.name]);if(!r)return;let{interactionId:n}=r,o=aL[r.name],i=i5((0,t_.k3)()+r.startTime),a=(0,ei.Bk)(),s=a?(0,ei.zU)(a):void 0,u=null!=n?aC.get(n):void 0,l=u?.span||s,d=l?(0,ei.et)(l).description:(0,Q.o5)().getScopeData().transactionName,c=i3({name:u?.elementName||(0,ra.Hd)(r.target),transaction:d,attributes:{[eo.JD]:"auto.http.browser.inp",[eo.uT]:`ui.interaction.${o}`,[eo.jG]:r.duration},startTime:i});c&&(c.addEvent("inp",{[eo.Sn]:"millisecond",[eo.xc]:e.value}),c.end(i+t))};function aB(e){return null!=e?aC.get(e):void 0}function aU(){let e=Object.keys(aL);function t(e){let t=e.target;if(!t)return;let r=(0,ra.Hd)(t),n=Math.round(e.timeStamp);if(a$.set(n,r),a$.size>50){let e=a$.keys().next().value;void 0!==e&&a$.delete(e)}}function r(e){let t=Math.round(e.startTime),r=a$.get(t);if(!r)for(let e=-5;e<=5;e++){let n=a$.get(t+e);if(n){r=n;break}}return r||"<unknown>"}e3()&&e.forEach(e=>{rY.addEventListener(e,t,{capture:!0,passive:!0})});let n=({entries:e})=>{let t=(0,ei.Bk)(),n=t&&(0,ei.zU)(t);e.forEach(e=>{if(!iQ(e))return;let t=e.interactionId;if(null==t||aC.has(t))return;let o=e.target?(0,ra.Hd)(e.target):r(e);
18if(aN.length>10){let e=aN.shift();aC.delete(e)}aN.push(t),aC.set(t,{span:n,elementName:o})})};iz("event",n),iz("first-input",n)}function aj(e){let{name:t,op:r,origin:n,metricName:o,value:i,attributes:a,parentSpan:s,reportEvent:u,startTime:l,endTime:d}=e,c=(0,Q.o5)().getScopeData().transactionName,p={[eo.JD]:n,[eo.uT]:r,[eo.jG]:0,[`browser.web_vital.${o}.value`]:i,"sentry.transaction":c,"user_agent.original":rY.navigator?.userAgent,...a};s&&ei.RD(s).attributes?.[eo.uT]==="pageload"&&(p["sentry.pageload.span_id"]=s.spanContext().spanId),u&&(p[`browser.web_vital.${o}.report_event`]=u);let h=oI({name:t,attributes:p,startTime:l,parentSpan:s});h&&h.end(d??l)}function aV(e){let t,r=0;if(!i8("largest-contentful-paint"))return;let n=iU(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&ar(e.value)&&(r=e.value,t=n)},!0);i6(e,(e,o,i)=>{az(r,t,i,e),n()})}function az(e,t,r,n){if(!ar(e))return;n7&&E.Yz.log(`Sending LCP span (${e})`);let o=(0,t_.k3)()||0,i=i5(o),a=i5(o+(t?.startTime||0)),s=t?(0,ra.Hd)(t.element):"Largest contentful paint",u={};t?.element&&(u["browser.web_vital.lcp.element"]=(0,ra.Hd)(t.element)),t?.id&&(u["browser.web_vital.lcp.id"]=t.id),t?.url&&(u["browser.web_vital.lcp.url"]=t.url),t?.loadTime!=null&&(u["browser.web_vital.lcp.load_time"]=t.loadTime),t?.renderTime!=null&&(u["browser.web_vital.lcp.render_time"]=t.renderTime),t?.size!=null&&(u["browser.web_vital.lcp.size"]=t.size),aj({name:s,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:u,parentSpan:r,reportEvent:n,startTime:i,endTime:a})}function aH(e){let t,r=0;if(!i8("layout-shift"))return;let n=iB(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);i6(e,(e,o,i)=>{aW(r,t,i,e),n()})}function aW(e,t,r,n){n7&&E.Yz.log(`Sending CLS span (${e})`);let o=t?i5(((0,t_.k3)()||0)+t.startTime):(0,t_.zf)(),i=t?(0,ra.Hd)(t.sources[0]?.node):"Layout shift",a={};t?.sources&&t.sources.forEach((e,t)=>{a[`browser.web_vital.cls.source.${t+1}`]=(0,ra.Hd)(e.node)}),aj({name:i,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:e,attributes:a,parentSpan:r,reportEvent:n,startTime:o})}function aG(){i4()&&(0,t_.k3)()&&iV(({metric:e})=>{if(null==e.value||i5(e.value)>aM)return;let t=e.entries.find(t=>t.duration===e.value&&aL[t.name]);t&&aq(e.value,t)})}function aq(e,t){n7&&E.Yz.log(`Sending INP span (${e})`);let r=i5((0,t_.k3)()+t.startTime),n=i5(e),o=aL[t.name],i=aB(t.interactionId),a=(0,ei.Bk)(),s=a?(0,ei.zU)(a):void 0,u=i?.span||s,l=u?(0,ei.RD)(u).name:(0,Q.o5)().getScopeData().transactionName;aj({name:i?.elementName||(0,ra.Hd)(t.target),op:`ui.interaction.${o}`,origin:"auto.http.browser.inp",metricName:"inp",value:e,attributes:{[eo.jG]:t.duration,"sentry.transaction":l},startTime:r,endTime:r+n,parentSpan:u})}function aY(){rs.document?rs.document.addEventListener("visibilitychange",()=>{let e=(0,ei.Bk)();if(!e)return;let t=(0,ei.zU)(e);if(rs.document.hidden&&t){let e="cancelled",{op:r,status:n}=(0,ei.et)(t);r7&&E.Yz.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${r}`),n||t.setStatus({code:oN.TJ,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):r7&&E.Yz.warn("[Tracing] Could not set up background tab detection due to lack of global document")}let aK=3600,aZ="sentry_previous_trace",aJ="sentry.previous_trace";function aX(e,{linkPreviousTrace:t,consistentTraceSampling:r}){let n="session-storage"===t,o=n?a1():void 0;e.on("spanStart",e=>{if((0,ei.zU)(e)!==e)return;let t=(0,Q.o5)().getPropagationContext();o=aQ(o,e,t),n&&a0(o)});let i=!0;r&&e.on("beforeSampling",e=>{if(!o)return;let t=(0,Q.o5)(),r=t.getPropagationContext();if(i&&r.parentSpanId){i=!1;return}t.setPropagationContext({...r,dsc:{...r.dsc,sample_rate:String(o.sampleRate),sampled:String(a2(o.spanContext))},sampleRand:o.sampleRand}),e.parentSampled=a2(o.spanContext),e.parentSampleRate=o.sampleRate,e.spanAttributes={...e.spanAttributes,[eo.Ef]:o.sampleRate}})}function aQ(e,t,r){let n=(0,ei.et)(t);function o(){try{return Number(r.dsc?.sample_rate)??Number(n.data?.[eo.sy])}catch{return 0}}let i={spanContext:t.spanContext(),startTimestamp:n.start_timestamp,sampleRate:o(),sampleRand:r.sampleRand};if(!e)return i;let a=e.spanContext;return a.traceId===n.trace_id?e:(Date.now()/1e3-e.startTimestamp<=aK&&(r7&&E.Yz.log(`Adding previous_trace \`${JSON.stringify(a)}\` link to span \`${JSON.stringify({op:n.op,...t.spanContext()})}
18\``),t.addLink({context:a,attributes:{[eo.Lc]:"previous_trace"}}),t.setAttribute(aJ,`${a.traceId}-${a.spanId}-${a2(a)?1:0}`)),i)}function a0(e){try{rs.sessionStorage.setItem(aZ,JSON.stringify(e))}catch(e){r7&&E.Yz.warn("Could not store previous trace in sessionStorage",e)}}function a1(){try{let e=rs.sessionStorage?.getItem(aZ);return JSON.parse(e)}catch{return}}function a2(e){return 1===e.traceFlags}var a3=r(5988);function a4(e={}){let t=e.client||(0,Q.KU)();if(!(0,D.Ol)()||!t)return{};let r=(0,eD.EU)(),n=(0,oC.h)(r);if(n.getTraceData)return n.getTraceData(e);let o=e.scope||(0,Q.o5)(),i=e.span||(0,ei.Bk)();if(!i&&(0,Q.Bi)())return{};let a=i?(0,ei.Qh)(i):a5(o),s=i?(0,eE.k1)(i):(0,eE.ao)(t,o),u=(0,a3.De)(s);if(!o0.MI.test(a))return E.Yz.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let l={"sentry-trace":a,baggage:u};return e.propagateTraceparent&&(l.traceparent=i?(0,ei.G_)(i):a9(o)),l}function a5(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,o0.TC)(t,n,r)}function a9(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,o0.Iy)(t,n,r)}function a8(e,t,r,n,o){if(!e.fetchData)return;let{method:i,url:a}=e.fetchData,s=(0,og.f)()&&t(a);if(e.endTimestamp){let t=e.fetchData.__span;if(!t)return;let r=n[t];r&&(s&&(se(r,e),a6(r,e,o)),delete n[t]);return}let{spanOrigin:u="auto.http.browser",propagateTraceparent:l=!1}="object"==typeof o?o:{spanOrigin:o},d=(0,Q.KU)(),c=!!(0,ei.Bk)()||!!d&&ta(d),p=s&&c?oI(so(a,i,u)):new ov;if(s&&!c&&d?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=p.spanContext().spanId,n[p.spanContext().spanId]=p,r(e.fetchData.url)){let t=e.args[0],r={...e.args[1]||{}},n=a7(t,r,(0,og.f)()&&c?p:void 0,l);n&&(e.args[1]=r,r.headers=n)}if(d){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};d.emit("beforeOutgoingRequestSpan",p,t)}return p}function a6(e,t,r){let n="object"==typeof r&&null!==r?r.onRequestSpanEnd:void 0;n?.(e,{headers:t.response?.headers,error:t.error})}function a7(e,t,r,n){let o=a4({span:r,propagateTraceparent:n}),i=o["sentry-trace"],a=o.baggage,s=o.traceparent;if(!i)return;let u=t.headers||((0,tx.ks)(e)?e.headers:void 0);if(!u)return{...o};if(sr(u)){let e=new Headers(u);if(e.get("sentry-trace")||e.set("sentry-trace",i),n&&s&&!e.get("traceparent")&&e.set("traceparent",s),a){let t=e.get("baggage");t?st(t)||e.set("baggage",`${t},${a}`):e.set("baggage",a)}return e}if(sn(u)){let e=[...u];e.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",i]),n&&s&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",s]);let t=u.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&st(e[1]));return a&&!t&&e.push(["baggage",a]),e}{let e="sentry-trace"in u?u["sentry-trace"]:void 0,t="traceparent"in u?u.traceparent:void 0,r="baggage"in u?u.baggage:void 0,o=r?Array.isArray(r)?[...r]:[r]:[],l=r&&(Array.isArray(r)?r.find(e=>st(e)):st(r));a&&!l&&o.push(a);let d=Object.assign({},u,{"sentry-trace":e??i,baggage:o.length>0?o.join(","):void 0});return n&&s&&!t&&(d.traceparent=s),d}}function se(e,t){if(t.response){(0,oN.N8)(e,t.response.status);let r=t.response?.headers?.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:oN.TJ,message:"internal_error"});e.end()}function st(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(a3.sv))}function sr(e){return"undefined"!=typeof Headers&&(0,tx.tH)(e,Headers)}function sn(e){return!!Array.isArray(e)&&e.every(e=>Array.isArray(e)&&2===e.length&&"string"==typeof e[0])}function so(e,t,r){if(e.startsWith("data:")){let n=rq(e);return{name:`${t} ${n}`,attributes:si(e,void 0,t,r)}}let n=rz(e),o=n?rH(n):e;return{name:`${t} ${o}`,attributes:si(e,n,t,r)}}function si(e,t,r,n){let o={url:rq(e),type:"fetch","http.method":r,[eo.JD]:n,[eo.uT]:"http.client"};return t&&(rV(t)||(o["http.url"]=rq(t.href),o["server.address"]=t.host),t.search&&(o["http.query"]=t.search),t.hash&&(o["http.fragment"]=t.hash)),o}let sa=Symbol.for("sentry__originalRequestBody");function ss(e){return new URLSearchParams(e).toString()}function su(e,t=E.Yz){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[ss(e)];if(!e)return[void 0]}catch(r){return n7&&t.error(r,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return n7&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function sl(e=[]){if(e.length>=2&&e[1]&&"object"==typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){let t=e[0][sa];if(void 0!==t)return t}}function sd(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return n7&&E.Yz.error(t,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>
18{let[r,n]=t.split(": ");return n&&(e[r.toLowerCase()]=n),e},{}):{}}function sc(e){return e.split(",").some(e=>e.trim().startsWith("sentry-"))}function sp(e){try{return new URL(e,rs.location.origin).href}catch{return}}function sh(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}function sf(e){try{return new Headers(e)}catch{return}}let sm=new WeakMap,sg=new Map,sy={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function sb(e,t){let{traceFetch:r,traceXHR:n,trackFetchStreamPerformance:o,shouldCreateSpanForRequest:i,enableHTTPTimings:a,tracePropagationTargets:s,onRequestSpanStart:u,onRequestSpanEnd:l}={...sy,...t},d="function"==typeof i?i:e=>!0,c=e=>s_(e,s),p={},h=e.getOptions().propagateTraceparent;r&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=sg.get(e.span_id);t&&(e.timestamp=t/1e3,sg.delete(e.span_id))}}),e)),o&&rA(e=>{if(e.response){let t=sm.get(e.response);t&&e.endTimestamp&&sg.set(t,e.endTimestamp)}}),rD(t=>{let r=a8(t,d,c,p,{propagateTraceparent:h,onRequestSpanEnd:l});if(t.response&&t.fetchData.__span&&sm.set(t.response,t.fetchData.__span),r){let n=sp(t.fetchData.url),o=n?rW(n).host:void 0;r.setAttributes({"http.url":n?rq(n):void 0,"server.address":o}),a&&sS(r,e),u?.(r,{headers:t.headers})}})),n&&r3(t=>{let r=sw(t,d,c,p,h,l);r&&(a&&sS(r,e),u?.(r,{headers:sf(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}let sv=300;function sS(e,t){let{url:r}=(0,ei.et)(e).data;if(!r||"string"!=typeof r)return;let n=()=>void setTimeout(o);if(ta(t)){let t=e.end.bind(e);e.end=e=>{let r=e??(0,t_.zf)(),i=!1,a=()=>{i||(i=!0,setTimeout(o),t(r),clearTimeout(s))};n=a;let s=setTimeout(a,sv)}}let o=iz("resource",({entries:t})=>{t.forEach(t=>{sh(t)&&t.name.endsWith(r)&&(e.setAttributes(aa(t)),n())})})}function s_(e,t){let r=(0,ra.$N)();if(r){let n,o;try{n=new URL(e,r),o=new URL(r).origin}catch{return!1}let i=n.origin===o;return t?(0,B.Xr)(n.toString(),t)||i&&(0,B.Xr)(n.pathname,t):i}{let r=!!e.match(/^\/(?!\/)/);return t?(0,B.Xr)(e,t):r}}function sw(e,t,r,n,o,i){let a=e.xhr,s=a?.[r2];if(!a||a.__sentry_own_request__||!s)return;let{url:u,method:l}=s,d=(0,og.f)()&&t(u);if(e.endTimestamp){let t=a.__sentry_xhr_span_id__;if(!t)return;let r=n[t];r&&(d&&void 0!==s.status_code&&((0,oN.N8)(r,s.status_code),r.end(),i?.(r,{headers:sf(sd(a)),error:e.error})),delete n[t]);return}let c=sp(u),p=c?rW(c):rW(u),h=rq(rG(u)),f=(0,Q.KU)(),m=!!(0,ei.Bk)()||!!f&&ta(f),g=d&&m?oI({name:`${l} ${h}`,attributes:{url:rq(u),type:"xhr","http.method":l,"http.url":c?rq(c):void 0,"server.address":p?.host,[eo.JD]:"auto.http.browser",[eo.uT]:"http.client",...p?.search&&{"http.query":p?.search},...p?.hash&&{"http.fragment":p?.hash}}}):new ov;return d&&!m&&f?.recordDroppedEvent("no_parent_span","span"),a.__sentry_xhr_span_id__=g.spanContext().spanId,n[a.__sentry_xhr_span_id__]=g,r(u)&&sx(a,(0,og.f)()&&m?g:void 0,o),f&&f.emit("beforeOutgoingRequestSpan",g,e),g}function sx(e,t,r){let{"sentry-trace":n,baggage:o,traceparent:i}=a4({span:t,propagateTraceparent:r});n&&sT(e,n,o,i)}function sT(e,t,r,n){let o=e.__sentry_xhr_v3__?.request_headers;if(!o?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),n&&!o?.traceparent&&e.setRequestHeader("traceparent",n),r){let t=o?.baggage;t&&sc(t)||e.setRequestHeader("baggage",r)}}catch{}}let sE="BrowserTracing",sP=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function sk(){let e=rs.navigator;return!!e?.userAgent&&sP.test(e.userAgent)}let sD={...oW,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...sy},sA=(e={})=>{let t,r,n;"enableElementTiming"in e&&(0,E.pq)(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let o={name:void 0,source:void 0},i=rs.document,{enableInp:a,enableLongTask:s,enableLongAnimationFrame:u,_experiments:{enableInteractions:l,enableStandaloneClsSpans:d,enableStandaloneLcpSpans:c},beforeStartSpan:p,idleTimeout:h,finalTimeout:f,childSpanTimeout:m,markBackgroun
18dSpan:g,traceFetch:y,traceXHR:b,trackFetchStreamPerformance:v,shouldCreateSpanForRequest:S,enableHTTPTimings:_,ignoreResourceSpans:w,ignorePerformanceApiSpans:x,instrumentPageLoad:P,instrumentNavigation:k,detectRedirects:D,linkPreviousTrace:A,consistentTraceSampling:O,enableReportPageLoaded:N,onRequestSpanStart:C,onRequestSpanEnd:$}={...sD,...e},M=sk();function I(e,r,a=!0){let s="pageload"===r.op,u=r.name,l=p?p(r):r,g=l.attributes||{};if(u!==l.name&&(g[eo.i_]="custom",l.attributes=g),!a){let e=(0,t_.lu)();oI({...l,startTime:e}).end(e);return}o.name=l.name,o.source=g[eo.i_];let y=oZ(l,{idleTimeout:h,finalTimeout:f,childSpanTimeout:m,disableAutoFinish:s,beforeSpanEnd:r=>{t?.();let o=ta(e);ab(r,{recordClsOnPageloadSpan:!o&&!d,recordLcpOnPageloadSpan:!o&&!c,ignoreResourceSpans:w,ignorePerformanceApiSpans:x,spanStreamingEnabled:o}),sR(e,void 0);let i=(0,Q.o5)(),a=i.getPropagationContext();i.setPropagationContext({...a,traceId:y.spanContext().traceId,sampled:(0,ei.pK)(y),dsc:(0,eE.k1)(r)}),s&&(n=void 0)},trimIdleSpanEndTimestamp:!N});function b(){i&&["interactive","complete"].includes(i.readyState)&&e.emit("idleSpanEnableAutoFinish",y)}s&&N&&(n=y),sR(e,y),s&&!N&&i&&(i.addEventListener("readystatechange",()=>{b()}),b())}return{name:sE,setup(e){if(M){r7&&E.Yz.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}oQ();let o=ta(e);if(t=ac({recordClsStandaloneSpans:o?void 0:d||!1,recordLcpStandaloneSpans:o?void 0:c||!1,client:e}),o?(aV(e),aH(e),a&&aG()):a&&aI(),u&&T.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?ah():s&&ap(),l&&af(),D&&i){let e=()=>{r=(0,t_.zf)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function p(){let t=sL(e);t&&!(0,ei.et)(t).timestamp&&(r7&&E.Yz.log(`[Tracing] Finishing current active span with op: ${(0,ei.et)(t).op}`),t.setAttribute(eo.fs,"cancelled"),t.end())}e.on("startNavigationSpan",(t,n)=>{if((0,Q.KU)()!==e)return;if(n?.isRedirect){r7&&E.Yz.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),I(e,{op:"navigation.redirect",...t},!1);return}r=void 0,p(),(0,Q.rm)().setPropagationContext({traceId:(0,ob.e)(),sampleRand:Math.random(),propagationSpanId:(0,og.f)()?void 0:(0,ob.Z)()});let o=(0,Q.o5)();o.setPropagationContext({traceId:(0,ob.e)(),sampleRand:Math.random(),propagationSpanId:(0,og.f)()?void 0:(0,ob.Z)()}),o.setSDKProcessingMetadata({normalizedRequest:void 0}),I(e,{op:"navigation",...t,parentSpan:null,forceTransaction:!0})}),e.on("startPageLoadSpan",(t,r={})=>{if((0,Q.KU)()!==e)return;p();let n=r.sentryTrace||sC("sentry-trace")||s$("sentry-trace"),o=r.baggage||sC("baggage")||s$("baggage"),i=(0,o0.kM)(n,o),a=(0,Q.o5)();a.setPropagationContext(i),(0,og.f)()||(a.getPropagationContext().propagationSpanId=(0,ob.Z)()),a.setSDKProcessingMetadata({normalizedRequest:rp()}),I(e,{op:"pageload",...t})}),e.on("endPageloadSpan",()=>{N&&n&&(n.setAttribute(eo.fs,"reportPageLoaded"),n.end())})},afterAllSetup(e){if(M)return;let t=(0,ra.$N)();if("off"!==A&&aX(e,{linkPreviousTrace:A,consistentTraceSampling:O}),rs.location){if(P){let t=(0,t_.k3)();sO(e,{name:rs.location.pathname,startTime:t?t/1e3:void 0,attributes:{[eo.i_]:"url",[eo.JD]:"auto.pageload.browser"}})}k&&r9(({to:n,from:o})=>{if(void 0===o&&t?.indexOf(n)!==-1){t=void 0;return}t=void 0;let i=rz(n),a=sL(e),s=a&&D&&sB(a,r);sN(e,{name:i?.pathname||rs.location.pathname,attributes:{[eo.i_]:"url",[eo.JD]:"auto.navigation.browser"}},{url:n,isRedirect:s})})}g&&aY(),l&&sM(e,h,f,m,o),a&&aU(),sb(e,{traceFetch:y,traceXHR:b,trackFetchStreamPerformance:v,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:S,enableHTTPTimings:_,onRequestSpanStart:C,onRequestSpanEnd:$})}}};function sO(e,t,r){e.emit("startPageLoadSpan",t,r),(0,Q.o5)().setTransactionName(t.name);let n=sL(e);return n&&e.emit("afterStartPageLoadSpan",n),n}function sN(e,t,r){let{url:n,isRedirect:o}=r||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:o}),e.emit("startNavigationSpan",t,{isRedirect:o});let i=(0,Q.o5)();return i.setTransactionName(t.name),n&&!o&&i.setSDKProcessingMetadata({normalizedRequest:{...rp(),url:n}}),sL(e)}function sC(e){let t=rs.document,r=t?.querySelector(`meta[name=${e}]`);return r?.getAttribute("content")||void 0}function s$(e){let t=rs.performance?.getEntriesByType?.("navigation")[0],r=t?.serverTiming?.find(t=>t.name===e);return r?.description}function sM(e,t,r,n,o){let i;let a=rs.document,s=()=>
18{let a="ui.action.click",s=sL(e);if(s&&["navigation","pageload"].includes((0,ei.et)(s).op)){r7&&E.Yz.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);return}if(i&&(i.setAttribute(eo.fs,"interactionInterrupted"),i.end(),i=void 0),!o.name){r7&&E.Yz.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}i=oZ({name:o.name,op:a,attributes:{[eo.i_]:o.source||"url"}},{idleTimeout:t,finalTimeout:r,childSpanTimeout:n})};a&&addEventListener("click",s,{capture:!0})}let sI="_sentry_idleSpan";function sL(e){return e[sI]}function sR(e,t){(0,ee.my)(e,sI,t)}let sF=1.5;function sB(e,t){let r=(0,ei.et)(e),n=(0,t_.lu)();return!(n-r.start_timestamp>sF)&&(!t||!(n-t<=sF))}let sU=T.O,sj=null,sV=new Map,sz=new Map;function sH(e){let t=e.split("/").filter(Boolean),r=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?r+=1e3:t.endsWith("*")?r+=100:r+=10}return t.length>0&&(r+=1/t.length),r}function sW(e){if(sV.has(e))return sV.get(e)??null;try{let t=new RegExp(e);return sV.set(e,t),t}catch(t){return op.T&&E.Yz.warn("Could not compile regex",{regexString:e,error:t}),null}}function sG(){if(!sU?._sentryRouteManifest||"string"!=typeof sU._sentryRouteManifest)return null;let e=sU._sentryRouteManifest;if(sj&&_===e)return sj;sV.clear(),sz.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return sj=t,_=e,t}catch{return op.T&&E.Yz.warn("Could not extract route manifest"),null}}function sq(e,t,r){let n=[];if(t.some(t=>t.path===e))return n;for(let t of r)if(t.regex){let r=sW(t.regex);r?.test(e)&&n.push(t.path)}if(!e.startsWith("/:")){for(let t of r)if(t.hasOptionalPrefix&&t.regex){let r="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,o=sW(t.regex);o?.test(r)&&n.push(t.path)}}return n}let sY=e=>{let t=sG();if(!t)return;let r=e.length>1&&e.endsWith("/")?e.slice(0,-1):e;if(sz.has(r))return sz.get(r);let{staticRoutes:n,dynamicRoutes:o}=t;if(!Array.isArray(n)||!Array.isArray(o))return;let i=sq(r,n,o).sort((e,t)=>sH(e)-sH(t))[0];return sz.set(r,i),i};var sK=r(19374);function sZ(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}let sJ="incomplete-app-router-transaction",sX="router-patch",sQ={current:void 0};function s0(e){let t=sZ(rs.location.pathname),r=sY(t),n=(0,t_.k3)();sO(e,{name:r??t,startTime:n?n/1e3:void 0,attributes:{[eo.uT]:"pageload",[eo.JD]:"auto.pageload.nextjs.app_router_instrumentation",[eo.i_]:r?"route":"url"}})}let s1=T.O,s2=T.O;function s3(e){w=(t,r)=>{let n=sK.env._sentryBasePath??s2._sentryBasePath,o=sZ(new URL(n&&!t.startsWith(n)?`${n}${t}`:t,rs.location.href).pathname),i=sY(o),a=i??o;"router-patch"===sX&&(sX="transition-start-hook");let s=sQ.current;s?(s.updateName(a),s.setAttributes({"navigation.type":`router.${r}`,[eo.i_]:i?"route":"url"}),sQ.current=void 0):sN(e,{name:a,attributes:{[eo.uT]:"navigation",[eo.JD]:"auto.navigation.nextjs.app_router_instrumentation",[eo.i_]:i?"route":"url","navigation.type":`router.${r}`}})},rs.addEventListener("popstate",()=>{let t=sZ(rs.location.pathname),r=sY(t);sQ.current?.isRecording()?(sQ.current.updateName(r??t),sQ.current.setAttribute(eo.i_,r?"route":"url")):sQ.current=sN(e,{name:r??t,attributes:{[eo.JD]:"auto.navigation.nextjs.app_router_instrumentation",[eo.i_]:r?"route":"url","navigation.type":"browser.popstate"}})});let t=!1,r=0,n=500,o=setInterval(()=>{r++;let i=s1?.next?.router??s1?.nd?.router;t||r>n?clearInterval(o):i&&(clearInterval(o),t=!0,s9(e,i,sQ),["nd","next"].forEach(t=>{let r=s1[t];r&&(s1[t]=new Proxy(r,{set:(t,r,n)=>("router"===r&&"object"==typeof n&&null!==n&&s9(e,n,sQ),t[r]=n,!0)}))}))},20)}function s4(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let s5=new WeakSet;function s9(e,t,r){s5.has(t)||(s5.add(t),["back","forward","push","replace"].forEach(n=>{t?.[n]&&(t[n]=new Proxy(t[n],{apply(t,o,i){if("router-patch"!==sX)return t.apply(o,i);let a=sJ,s={[eo.uT]:"navigation",[eo.JD]:"auto.navigation.nextjs.app_router_instrumentation",[eo.i_]:"url"},u=i[0],l=sK.env._sentryBasePath??s2._sentryBasePath,d=l&&"string"==typeof u&&!u.startsWith(l)?`${l}${u}`:u;"push"===n?(a=sZ(s4(d)),s["navigation.type"]="router.push"):"replace"===n?(a=sZ(s4(d)),s["navigation.type"]="router.replace"):"back"===n?s["navigation.type"]="router.back":"forward"===n&&(s["navigation.type"]="router.forward");let c=sY(a);return r.current=sN(e,{name:c??a,attributes:{...s,[eo.i_]:c?"route":"url"}}),t.apply(o,i)}}))}))}var s8=r(7261);let s6=s8.events?s8:s8.default,s7=rs;function ue(){let e;let t=s7.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{op.T&&E.Yz.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:n,query:o,props:i}=e;return r.route=n,r.params=o,i?.pageProps&&(r.sentryTrace=i.pageProps._sentryTraceData,r.baggage=i.pageProps._sentryBaggage),r}function ut(e){let{route:t,params:r,sentryTrace:n,baggage:o}=ue(),i=(0,a3.D0)(o),a=t||s7.location.pathname;i?.["sentry-transaction"]&&"/_error"===a&&(a=(a=i["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let s=(0,t_.k3)();sO(e,{name:a,startTime:s?s/1e3:void 0,attributes:{[eo.uT]:"pageload",[eo.JD]:"auto.pageload.nextjs.pages_router_instrumentation",[eo.i_]:t?"route":"url",...r&&e.getOptions().sendDefaultPii&&{...r}}},{sentryTrace:n,baggage:o})}function ur(e){s6.events.on("routeChangeStart",t=>{let r,n;let o=rG(t),i=un(o);i?(r=i,n="route"):(r=o,n="url"),sN(e,{name:r,attributes:{[eo.uT]:"navigation",[eo.JD]:"auto.navigation.nextjs.pages_router_instrumentation",[eo.i_]:n}})})}function un(e){let t=s7.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let r=uo(t);return e.match(r)})}function uo(e){let t=e.split("/"),r="";t[t.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),r="(?:/(.+?))?");let n=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${n}${r}(?:/)?$`)}function ui(e){rs.document.getElementById("__NEXT_DATA__")?ut(e):s0(e)}function ua(e){rs.document.getElementById("__NEXT_DATA__")?ur(e):s3(e)}function us(e={}){let t=sA({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[r,{headers:n}]=t;return n?.get("next-router-prefetch")&&r?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:r=!0,instrumentNavigation:n=!0}=e;return{...t,afterAllSetup(e){!sk()&&(n&&ua(e),t.afterAllSetup(e),r&&ui(e))}}}function uu(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}let ul=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function ud(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,r=ul.exec(t);return r?r.slice(1):[]}function uc(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let o=n>=0?e[n]:"/";o&&(t=`${o}/${t}`,r="/"===o.charAt(0))}return t=uu(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function up(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}function uh(e,t){e=uc(e).slice(1),t=uc(t).slice(1);let r=up(e.split("/")),n=up(t.split("/")),o=Math.min(r.length,n.length),i=o;for(let e=0;e<o;e++)if(r[e]!==n[e]){i=e;break}let a=[];for(let e=i;e<r.length;e++)a.push("..");return(a=a.concat(n.slice(i))).join("/")}function uf(e,t){let r=ud(e)[2]||"";return t&&r.slice(-1*t.length)===t&&(r=r.slice(0,r.length-t.length)),r}let um="RewriteFrames",ug=L((e={})=>{let t=e.root,r=e.prefix||"app:///",n="window"in T.O&&!!T.O.window,o=e.iteratee||uy({isBrowser:n,root:t,prefix:r});function i(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>({...e,...e.stacktrace&&{stacktrace:a(e.stacktrace)}}))}}}catch{return e}}function a(e){return{...e,frames:e?.frames?.map(e=>o(e))}}return{name:um,processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=i(t)),t}}});function uy({isBrowser:e,root:t,prefix:r}){return n=>{if(!n.filename)return n;let o=/^[a-zA-Z]:\\/.test(n.filename)||n.filename.includes("\\")&&!n.filename.includes("/"),i=/^\//.test(n.filename);if(e){if(t){let e=n.filename;0===e.indexOf(t)&&(n.filename=e.replace(t,r))}}else if(o||i){let e=o?n.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):n.filename,i=t?uh(t,e):uf(e);n.filename=`${r}${i}`}return n}}let ub=L(({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:n})=>({...ug({iteratee:o=>{if(n){let r="undefined"!=typeof window&&window.location?window.location.origin:"";if(o.filename?.startsWith(r)&&!o.filename.endsWith(".js"))return o;if(e)o.filename?.startsWith(e)&&(o.filename=o.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(o.filename);e===r&&(o.filename=o.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(o.filename);o.filename=o.filename?.replace(e,"app://").replace(r,"")}catch{}return n?(o.filename?.includes("/_next")&&(o.filename=decodeURI(o.filename)),o.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(o.in_app=!1)):(o.filename?.startsWith("app:///_next")&&(o.filename=decodeURI(o.filename)),o.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(o.in_app=!1)),o}}),name:"NextjsClientStackFrameNormalization"}));class uv{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}}let uS=new uv(100);function u_(e){let t=sY(e)||e,r=uS.get(t);if(void 0!==r)return r;
18let n=sG();if(!n?.isrRoutes||!Array.isArray(n.isrRoutes)||0===n.isrRoutes.length)return uS.set(t,!1),!1;let o=n.isrRoutes.includes(t);return uS.set(t,o),o}function uw(){rs.document&&u_(rs.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=rs.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch{}}}function ux(e){let t="/monitoring";if(t&&e.dsn){let r=(0,ek.hH)(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let o=n[1],i=n[2],a=`${t}?o=${o}&p=${r.projectId}`;i&&(a+=`&r=${i}`),e.tunnel=a,op.T&&E.Yz.log(`Tunneling events to "${a}"`)}else op.T&&E.Yz.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}var uT=r(19374);let uE=!1,uP=T.O;function uk(e){uE&&(0,E.pq)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),uE=!0,!op.T&&e.debug&&(0,E.pq)(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&uw();let t={environment:e.environment||uT.env.SENTRY_ENVIRONMENT||of(!0)||"production",defaultIntegrations:uD(e),release:uT.env._sentryRelease||uP._sentryRelease,...e};ux(t),k(t,"nextjs",["nextjs","react"]),t.ignoreSpans=[...t.ignoreSpans||[],/^\/404$/,RegExp(`^${sJ}$`)];let r=oc(t),n=(e,t)=>om(t?.originalException)||e.exception?.values?.[0]?.value==="NEXT_REDIRECT"?null:e;return n.id="NextRedirectErrorFilter",(0,D.SA)(n),r}function uD(e){let t=ou(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&t.push(us());let r=uP._sentryRewriteFramesAssetPrefixPath||"",n=uT.env._sentryAssetPrefix||uP._sentryAssetPrefix,o=uT.env._sentryBasePath||uP._sentryBasePath,i="true"===uT.env._experimentalThirdPartyOriginStackFrames||"true"===uP._experimentalThirdPartyOriginStackFrames;return t.push(ub({assetPrefix:n,basePath:o,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:i})),t}function uA(e,t){let r=t?.getDsn(),n=t?.getOptions().tunnel;return uN(e,r)||uO(e,n)}function uO(e,t){return!!t&&u$(e)===u$(t)}function uN(e,t){let r=rz(e);return!(!r||rV(r))&&!!t&&uC(r.hostname,t.host)&&/(^|&|\?)sentry_key=/.test(r.search)}function uC(e,t){return e===t||t.length>0&&e.endsWith(`.${t}`)}function u$(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function uM(e,t,r){let n,o,i;let a=r?.maxWait?Math.max(r.maxWait,t):0,s=r?.setTimeoutImpl||setTimeout;function u(){return l(),n=e()}function l(){void 0!==o&&clearTimeout(o),void 0!==i&&clearTimeout(i),o=i=void 0}function d(){return void 0!==o||void 0!==i?u():n}function c(){return o&&clearTimeout(o),o=s(u,t),a&&void 0===i&&(i=s(u,a)),n}return c.cancel=l,c.flush=d,c}let uI=T.O,uL="sentryReplaySession",uR="replay_event",uF="Unable to send Replay",uB=3e5,uU=9e5,uj=5e3,uV=5500,uz=6e4,uH=5e3,uW=3,uG=15e4,uq=5e3,uY=3e3,uK=300,uZ=2e7,uJ=4999,uX=5e4,uQ=36e5;var u0=Object.defineProperty,u1=(e,t,r)=>t in e?u0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u2=(e,t,r)=>u1(e,"symbol"!=typeof t?t+"":t,r),u3=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(u3||{});function u4(e){return e.nodeType===e.ELEMENT_NODE}function u5(e){let t=e?.host;return t?.shadowRoot===e}function u9(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function u8(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function u6(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let r=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}function u7(e){try{let t=e.rules||e.cssRules;return t?u8(Array.from(t,lt).join("")):null}catch(e){return null}}function le(e){let t="";for(let r=0;r<e.style.length;r++){let n=e.style,o=n[r],i=n.getPropertyPriority(o);t+=`${o}:${n.getPropertyValue(o)}
18${i?" !important":""};`}return`${e.selectorText} { ${t} }`}function lt(e){let t;if(ln(e))try{t=u7(e.styleSheet)||u6(e)}catch(e){}else if(lo(e)){let t=e.cssText,r=e.selectorText.includes(":"),n="string"==typeof e.style.all&&e.style.all;if(n&&(t=le(e)),r&&(t=lr(t)),r||n)return t}return t||e.cssText}function lr(e){let t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function ln(e){return"styleSheet"in e}function lo(e){return"selectorText"in e}class li{constructor(){u2(this,"idNodeMap",new Map),u2(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){let r=this.getNode(e);if(r){let e=this.nodeMetaMap.get(r);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function la(){return new li}function ls({maskInputOptions:e,tagName:t,type:r}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||r&&e[r]||"password"===r||"INPUT"===t&&!r&&e.text)}function lu({isMasked:e,element:t,value:r,maskInputFn:n}){let o=r||"";return e?(n&&(o=n(o,t)),"*".repeat(o.length)):o}function ll(e){return e.toLowerCase()}function ld(e){return e.toUpperCase()}let lc="__rrweb_original__";function lp(e){let t=e.getContext("2d");if(!t)return!0;let r=50;for(let n=0;n<e.width;n+=r)for(let o=0;o<e.height;o+=r){let i=t.getImageData;if(new Uint32Array((lc in i?i[lc]:i).call(t,n,o,Math.min(r,e.width-n),Math.min(r,e.height-o)).data.buffer).some(e=>0!==e))return!1}return!0}function lh(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?ll(t):null}function lf(e,t,r){return"INPUT"===t&&("radio"===r||"checkbox"===r)?e.getAttribute("value")||"":e.value}function lm(e,t){let r;try{r=new URL(e,t??window.location.href)}catch(e){return null}let n=/\.([0-9a-z]+)(?:$)/i,o=r.pathname.match(n);return o?.[1]??null}let lg={};function ly(e){let t=lg[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let o=t.contentWindow;o&&o[e]&&(n=o[e]),r.head.removeChild(t)}catch(e){}return lg[e]=n.bind(window)}function lb(...e){return ly("setTimeout")(...e)}function lv(...e){return ly("clearTimeout")(...e)}function lS(e){try{return e.contentDocument}catch{}}function l_(e){try{return e.contentWindow}catch{}}let lw=1,lx=RegExp("[^a-z0-9-_:]"),lT=-2;function lE(){return lw++}function lP(e){if(e instanceof HTMLFormElement)return"form";let t=ll(e.tagName);return lx.test(t)?"div":t}function lk(e){let t="";return(t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0]).split("?")[0]}let lD=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,lA=/^(?:[a-z+]+:)?\/\//i,lO=/^www\..*/i,lN=/^(data:)([^,]*),(.*)/i;function lC(e,t){if(!e||0===t.size)return e;try{let r=e.split(";"),n=[];for(let e of r){if(!(e=e.trim()))continue;let r=e.indexOf(":");if(-1===r){n.push(e);continue}let o=e.slice(0,r).trim();t.has(o)||n.push(e)}return n.join("; ")+(n.length>0&&e.endsWith(";")?";":"")}catch(t){return console.warn("Error filtering CSS properties:",t),e}}function l$(e,t){return(e||"").replace(lD,(e,r,n,o,i,a)=>{let s=n||i||a,u=r||o||"";if(!s)return e;if(lA.test(s)||lO.test(s)||lN.test(s))return`url(${u}${s}${u})`;if("/"===s[0])return`url(${u}${lk(t)+s}${u})`;let l=t.split("/"),d=s.split("/");for(let e of(l.pop(),d))"."!==e&&(".."===e?l.pop():l.push(e));return`url(${u}${l.join("/")}${u})`})}let lM=/^[^ \t\n\r\u000c]+/,lI=/^[, \t\n\r\u000c]+/;function lL(e,t){if(""===t.trim())return t;let r=0;function n(e){let n;let o=e.exec(t.substring(r));return o?(n=o[0],r+=n.length,n):""}let o=[];for(;n(lI),!(r>=t.length);){let i=n(lM);if(","===i.slice(-1))i=lF(e,i.substring(0,i.length-1)),o.push(i);else{let n="";i=lF(e,i);let a=!1;for(;;){let e=t.charAt(r);if(""===e){o.push((i+n).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){r+=1,o.push((i+n).trim());break}"("===e&&(a=!0)}n+=e,r+=1}}}return o.join(", ")}let lR=new WeakMap;function lF(e,t){return t&&""!==t.trim()?lU(e,t):t}function lB(e){return!!("svg"===e.tagName||e.ownerSVGElement)}function lU(e,t){let r=lR.get(e);if(r||(r=e.createElement("a"),lR.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function lj(e,t,r,n,o,i,a){if(!n)return n;if("src"===r||"href"===r&&!("use"===t&&"#"===n[0])||"xlink:href"===r&&"#"!==n[0]||"background"===r&&("table"===t||"td"===t||"th"===t))return lF(e,n);if("srcset"===r)return lL(e,n);if("style"===r){let t=l$(n,lU(e));return a&&a.size>0&&(t=lC(t,a)),t}return"object"===t&&"data"===r?lF(e,n):"function"==typeof i?i(r,n,o):n}function lV(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function lz(e,t,r,n){try{if(n&&e.matches(n))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}if(r)return e.matches(r)}catch(e){}return!1}function lH(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}function lW(e,t,r=1/0,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:t(e)?n:lW(e.parentNode,t,r,n+1)}function lG(e,t){return r=>{let n=r;if(null===n)return!1;try{if(e){if("string"==typeof e){if(n.matches(`.${e}`))return!0}else if(lH(n,e))return!0}if(t&&n.matches(t))return!0;return!1}catch{return!1}}}function lq(e,t,r,n,o,i){try{let a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("INPUT"===a.tagName){let e=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,u=-1;if(i){if((u=lW(a,lG(n,o)))<0)return!0;s=lW(a,lG(t,r),u>=0?u:1/0)}else{if((s=lW(a,lG(t,r)))<0)return!1;u=lW(a,lG(n,o),s>=0?s:1/0)}return s>=0?!(u>=0)||s<=u:!(u>=0)&&!!i}catch(e){}return!!i}function lY(e,t,r){let n;let o=l_(e);
18if(!o)return;let i=!1;try{n=o.document.readyState}catch(e){return}if("complete"!==n){let n=lb(()=>{i||(t(),i=!0)},r);e.addEventListener("load",()=>{lv(n),i=!0,t()});return}let a="about:blank";if(o.location.href!==a||e.src===a||""===e.src)return lb(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function lK(e,t,r){let n,o=!1;try{n=e.sheet}catch(e){n=null}if(n)return;let i=lb(()=>{o||(t(),o=!0)},r);e.addEventListener("load",()=>{lv(i),o=!0,t()})}function lZ(e,t){let{doc:r,mirror:n,blockClass:o,blockSelector:i,unblockSelector:a,maskAllText:s,maskAttributeFn:u,maskTextClass:l,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:p,inlineStylesheet:h,maskInputOptions:f={},maskTextFn:m,maskInputFn:g,dataURLOptions:y={},inlineImages:b,recordCanvas:v,keepIframeSrcFn:S,newlyAddedElement:_=!1,ignoreCSSAttributes:w}=t,x=lJ(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:u3.Document,childNodes:[],compatMode:e.compatMode};return{type:u3.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:u3.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:x};case e.ELEMENT_NODE:return lQ(e,{doc:r,blockClass:o,blockSelector:i,unblockSelector:a,inlineStylesheet:h,maskAttributeFn:u,maskInputOptions:f,maskInputFn:g,dataURLOptions:y,inlineImages:b,recordCanvas:v,keepIframeSrcFn:S,newlyAddedElement:_,rootId:x,maskTextClass:l,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:p,ignoreCSSAttributes:w});case e.TEXT_NODE:return lX(e,{doc:r,maskAllText:s,maskTextClass:l,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:p,maskTextFn:m,maskInputOptions:f,maskInputFn:g,rootId:x});case e.CDATA_SECTION_NODE:return{type:u3.CDATA,textContent:"",rootId:x};case e.COMMENT_NODE:return{type:u3.Comment,textContent:e.textContent||"",rootId:x};default:return!1}}function lJ(e,t){if(!t.hasNode(e))return;let r=t.getId(e);return 1===r?void 0:r}function lX(e,t){let{maskAllText:r,maskTextClass:n,unmaskTextClass:o,maskTextSelector:i,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:u,maskInputFn:l,rootId:d}=t,c=e.parentNode&&e.parentNode.tagName,p=e.textContent,h="STYLE"===c||void 0,f="SCRIPT"===c||void 0,m="TEXTAREA"===c||void 0;if(h&&p){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(p=u7(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}p=l$(p,lU(t.doc))}f&&(p="SCRIPT_PLACEHOLDER");let g=lq(e,n,i,o,a,r);return h||f||m||!p||!g||(p=s?s(p,e.parentElement):p.replace(/[\S]/g,"*")),m&&p&&(u.textarea||g)&&(p=l?l(p,e.parentNode):p.replace(/[\S]/g,"*")),"OPTION"===c&&p&&(p=lu({isMasked:lq(e,n,i,o,a,ls({type:null,tagName:c,maskInputOptions:u})),element:e,value:p,maskInputFn:l})),{type:u3.Text,textContent:p||"",isStyle:h,rootId:d}}function lQ(e,t){let r;let{doc:n,blockClass:o,blockSelector:i,unblockSelector:a,inlineStylesheet:s,maskInputOptions:u={},maskAttributeFn:l,maskInputFn:d,dataURLOptions:c={},inlineImages:p,recordCanvas:h,keepIframeSrcFn:f,newlyAddedElement:y=!1,rootId:b,maskTextClass:v,unmaskTextClass:S,maskTextSelector:_,unmaskTextSelector:w,ignoreCSSAttributes:x}=t,T=lz(e,o,i,a),E=lP(e),P={},k=e.attributes.length;for(let t=0;t<k;t++){let r=e.attributes[t];r.name&&!lV(E,r.name,r.value)&&(P[r.name]=lj(n,E,ll(r.name),r.value,e,l,x))}if("link"===E&&s){let t=Array.from(n.styleSheets).find(t=>t.href===e.href),r=null;t&&(r=u7(t)),r&&(P.rel=null,P.href=null,P.crossorigin=null,P._cssText=l$(r,t.href))}if("style"===E&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=u7(e.sheet);t&&(P._cssText=l$(t,lU(n)))}if("input"===E||"textarea"===E||"select"===E||"option"===E){let t=e,r=lh(t),n=lf(t,ld(E),r),o=t.checked;if("submit"!==r&&"button"!==r&&n){let e=lq(t,v,_,S,w,ls({type:r,tagName:ld(E),maskInputOptions:u}));P.value=lu({isMasked:e,element:t,value:n,maskInputFn:d})}o&&(P.checked=o)}if("option"===E&&(e.selected&&!u.select?P.selected=!0:delete P.selected),"canvas"===E&&h){if("2d"===e.__context)lp(e)||(P.rr_dataURL=e.toDataURL(c.type,c.quality));else if(!("__context"in e)){let t=e.toDataURL(c.type,c.quality),r=n.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(c.type,c.quality)&&(P.rr_dataURL=t)}}if("img"===E&&p){m||(g=(m=n.createElement("canvas")).getContext("2d"));let t=e,r=t.currentSrc||t.getAttribute("src")||"<unknown-src>",o=t.crossOrigin,i=()=>{t.removeEventListener("load",i);
18try{m.width=t.naturalWidth,m.height=t.naturalHeight,g.drawImage(t,0,0),P.rr_dataURL=m.toDataURL(c.type,c.quality)}catch(e){if("anonymous"!==t.crossOrigin){t.crossOrigin="anonymous",t.complete&&0!==t.naturalWidth?i():t.addEventListener("load",i);return}console.warn(`Cannot inline img src=${r}! Error: ${e}`)}"anonymous"===t.crossOrigin&&(o?P.crossOrigin=o:t.removeAttribute("crossorigin"))};t.complete&&0!==t.naturalWidth?i():t.addEventListener("load",i)}if(("audio"===E||"video"===E)&&(P.rr_mediaState=e.paused?"paused":"played",P.rr_mediaCurrentTime=e.currentTime),!y&&(e.scrollLeft&&(P.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(P.rr_scrollTop=e.scrollTop)),T){let{width:t,height:r}=e.getBoundingClientRect();P={class:P.class,rr_width:`${t}px`,rr_height:`${r}px`}}"iframe"!==E||f(P.src)||(T||lS(e)||(P.rr_src=P.src),delete P.src);try{customElements.get(E)&&(r=!0)}catch(e){}return{type:u3.Element,tagName:E,attributes:P,childNodes:[],isSVG:lB(e)||void 0,needBlock:T,rootId:b,isCustom:r}}function l0(e){return null==e?"":e.toLowerCase()}function l1(e,t){if(t.comment&&e.type===u3.Comment)return!0;if(e.type===u3.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===lm(e.attributes.href))||t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(l0(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===l0(e.attributes.name)||"icon"===l0(e.attributes.rel)||"apple-touch-icon"===l0(e.attributes.rel)||"shortcut icon"===l0(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&l0(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(l0(e.attributes.property).match(/^(og|twitter|fb):/)||l0(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===l0(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===l0(e.attributes.name)||"googlebot"===l0(e.attributes.name)||"bingbot"===l0(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===l0(e.attributes.name)||"generator"===l0(e.attributes.name)||"framework"===l0(e.attributes.name)||"publisher"===l0(e.attributes.name)||"progid"===l0(e.attributes.name)||l0(e.attributes.property).match(/^article:/)||l0(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===l0(e.attributes.name)||"yandex-verification"===l0(e.attributes.name)||"csrf-token"===l0(e.attributes.name)||"p:domain_verify"===l0(e.attributes.name)||"verify-v1"===l0(e.attributes.name)||"verification"===l0(e.attributes.name)||"shopify-checkout-api-token"===l0(e.attributes.name)))return!0}}return!1}function l2(e,t){let r;let{doc:n,mirror:o,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:u,maskTextClass:l,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:p,skipChild:h=!1,inlineStylesheet:f=!0,maskInputOptions:m={},maskAttributeFn:g,maskTextFn:y,maskInputFn:b,slimDOMOptions:v,dataURLOptions:S={},inlineImages:_=!1,recordCanvas:w=!1,onSerialize:x,onIframeLoad:T,iframeLoadTimeout:E=5e3,onBlockedImageLoad:P,onStylesheetLoad:k,stylesheetLoadTimeout:D=5e3,keepIframeSrcFn:A=()=>!1,newlyAddedElement:O=!1,ignoreCSSAttributes:N}=t,{preserveWhiteSpace:C=!0}=t,$=lZ(e,{doc:n,mirror:o,blockClass:i,blockSelector:a,maskAllText:u,unblockSelector:s,maskTextClass:l,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:p,inlineStylesheet:f,maskInputOptions:m,maskAttributeFn:g,maskTextFn:y,maskInputFn:b,dataURLOptions:S,inlineImages:_,recordCanvas:w,keepIframeSrcFn:A,newlyAddedElement:O,ignoreCSSAttributes:N});if(!$)return console.warn(e,"not serialized"),null;r=o.hasNode(e)?o.getId(e):!l1($,v)&&(C||$.type!==u3.Text||$.isStyle||$.textContent.trim().length)?lE():lT;let M=Object.assign($,{id:r});if(o.add(e,M),r===lT)return null;x&&x(e);let I=!h;if(M.type===u3.Element){I=I&&!M.needBlock;let t=e.shadowRoot;t&&u9(t)&&(M.isShadowHost=!0)}if((M.type===u3.Document||M.type===u3.Element)&&I){v.headWhitespace&&M.type===u3.Element&&"head"===M.tagName&&(C=!1);let t={doc:n,mirror:o,blockClass:i,blockSelector:a,maskAllText:u,unblockSelector:s,maskTextClass:l,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:p,skipChild:h,inlineStylesheet:f,maskInputOptions:m,maskAttributeFn:g,maskTextFn:y,maskInputFn:b,slimDOMOptions:v,dataURLOptions:S,inlineImages:_,recordCanvas:w,preserveWhiteSpace:C,onSerialize:x,onIframeLoad:T,iframeLoadTimeout:E,onBlockedImageLoad:P,onStylesheetLoad:k,stylesheetLoadTimeout:D,keepIframeSrcFn:A,ignoreCSSAttributes:N};for(let r of e.childNodes?Array.from(e.childNodes):[]){let e=l2(r,t);e&&M.childNodes.push(e)}if(u4(e)&&e.shadowRoot)for(let r of Array.from(e.shadowRoot.childNodes)){let n=l2(r,t);n&&(u9(e.shadowRoot)&&(n.isShadow=!0),M.childNodes.push(n))}}if(e.parentNode&&u5(e.parentNode)&&u9(e.parentNode)&&(M.isShadow=!0),M.type!==u3.Element||"iframe"!==M.tagName||M.needBlock||lY(e,()=>{let t=lS(e);if(t&&T){let r=l2(t,{doc:t,mirror:o,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:u,maskTextClass:l,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:p,skipChild:!1,inlineStylesheet:f,maskInputOptions:m,maskAttributeFn:g,maskTextFn:y,maskInputFn:b,slimDOMOptions:v,dataURLOptions:S,inlineImages:_,recordCanvas:w,preserveWhiteSpace:C,onSerialize:x,onIframeLoad:T,iframeLoadTimeout:E,onStylesheetLoad:k,stylesheetLoadTimeout:D,keepIframeSrcFn:A,ignoreCSSAttributes:N});r&&T(e,r)}},E),M.type===u3.Element&&"img"===M.tagName&&!e.complete&&M.needBlock){let t=e,r=()=>{if(t.isConnected&&!t.complete&&P)try{let e=t.getBoundingClientRect();e.width>0&&e.height>0&&P(t,M,e)}catch(e){}t.removeEventListener("load",r)};t.isConnected&&t.addEventListener("load",r)}return M.type===u3.Element&&"link"===M.tagName&&"string"==typeof M.attributes.rel&&("stylesheet"===M.attributes.rel||"preload"===M.attributes.rel&&"string"==typeof M.attributes.href&&"css"===lm(M.attributes.href))&&lK(e,()=>{if(k){let t=l2(e,{doc:n,mirror:o,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:u,maskTextClass:l,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:p,skipChild:!1,inlineStylesheet:f,maskInputOptions:m,maskAttributeFn:g,maskTextFn:y,maskInputFn:b,slimDOMOptions:v,dataURLOptions:S,inlineImages:_,recordCanvas:w,preserveWhiteSpace:C,onSerialize:x,onIframeLoad:T,iframeLoadTimeout:E,onStylesheetLoad:k,stylesheetLoadTimeout:D,keepIframeSrcFn:A,ignoreCSSAttributes:N});t&&k(e,t)}},D),M.type===u3.Element&&delete M.needBlock,M}
18function l3(e,t){let{mirror:r=new li,blockClass:n="rr-block",blockSelector:o=null,unblockSelector:i=null,maskAllText:a=!1,maskTextClass:s="rr-mask",unmaskTextClass:u=null,maskTextSelector:l=null,unmaskTextSelector:d=null,inlineStylesheet:c=!0,inlineImages:p=!1,recordCanvas:h=!1,maskAllInputs:f=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:b=!1,dataURLOptions:v,preserveWhiteSpace:S,onSerialize:_,onIframeLoad:w,iframeLoadTimeout:x,onBlockedImageLoad:T,onStylesheetLoad:E,stylesheetLoadTimeout:P,keepIframeSrcFn:k=()=>!1,ignoreCSSAttributes:D=new Set([])}=t||{};return l2(e,{doc:e,mirror:r,blockClass:n,blockSelector:o,unblockSelector:i,maskAllText:a,maskTextClass:s,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:c,maskInputOptions:!0===f?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===f?{}:f,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===b||"all"===b?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===b,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===b?{}:b,dataURLOptions:v,inlineImages:p,recordCanvas:h,preserveWhiteSpace:S,onSerialize:_,onIframeLoad:w,iframeLoadTimeout:x,onBlockedImageLoad:T,onStylesheetLoad:E,stylesheetLoadTimeout:P,keepIframeSrcFn:k,newlyAddedElement:!1,ignoreCSSAttributes:D})}function l4(e){try{return e.contentDocument}catch(e){}}function l5(e){try{return e.contentWindow}catch(e){}}function l9(e,t,r=document){let n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>r.removeEventListener(e,t,n)}let l8="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",l6={map:{},getId:()=>(console.error(l8),-1),getNode:()=>(console.error(l8),null),removeNodeFromMap(){console.error(l8)},has:()=>(console.error(l8),!1),reset(){console.error(l8)}};function l7(e,t,r={}){let n=null,o=0;return function(...i){let a=Date.now();o||!1!==r.leading||(o=a);let s=t-(a-o),u=this;s<=0||s>t?(n&&(dP(n),n=null),o=a,e.apply(u,i)):n||!1===r.trailing||(n=dE(()=>{o=!1===r.leading?0:Date.now(),n=null,e.apply(u,i)},s))}}function de(e,t,r,n,o=window){let i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,n?r:{set(e){dE(()=>{r.set.call(this,e)},0),i&&i.set&&i.set.call(this,e)}}),()=>de(e,t,i||{},!0)}function dt(e,t,r){try{if(!(t in e))return()=>{};let n=e[t],o=r(n);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=o,()=>{e[t]=n}}catch{return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(l6=new Proxy(l6,{get:(e,t,r)=>("map"===t&&console.error(l8),Reflect.get(e,t,r))}));let dr=Date.now;function dn(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function di(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function da(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function ds(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function du(e,t,r,n,o){if(!e)return!1;let i=ds(e);if(!i)return!1;let a=lG(t,r);if(!o){let e=n&&i.matches(n);return a(i)&&!e}let s=lW(i,a),u=-1;return!(s<0)&&(n&&(u=lW(i,lG(null,n))),s>-1&&u<0||s<u)}function dl(e,t){return -1!==t.getId(e)}function dd(e,t){return t.getId(e)===lT}function dc(e,t){if(u5(e))return!1;let r=t.getId(e);return!t.has(r)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||dc(e.parentNode,t))}function dp(e){return!!e.changedTouches}function dh(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode);return!1})}
18function df(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function dm(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function dg(e){return!!e?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(dr=()=>new Date().getTime());class dy{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){let r;return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function db(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function dv(e){let t,r=e;for(;t=db(r);)r=t;return r}function dS(e){let t=e.ownerDocument;if(!t)return!1;let r=dv(e);return t.contains(r)}function d_(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||dS(e))}let dw={};function dx(e){let t=dw[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let o=t.contentWindow;o&&o[e]&&(n=o[e]),r.head.removeChild(t)}catch(e){}return dw[e]=n.bind(window)}function dT(...e){return dx("requestAnimationFrame")(...e)}function dE(...e){return dx("setTimeout")(...e)}function dP(...e){return dx("clearTimeout")(...e)}var dk=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(dk||{}),dD=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(dD||{}),dA=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(dA||{}),dO=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(dO||{}),dN=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(dN||{});class dC{constructor(e){this.doc=e,this.unattachedDoc=null}parse(e){return this.parseWithConstructableStylesheet(e)||this.parseWithDetachedElement(e)}parseWithConstructableStylesheet(e){if("undefined"==typeof CSSStyleSheet||"function"!=typeof CSSStyleSheet.prototype.replaceSync)return null;try{let t=new CSSStyleSheet;t.replaceSync(`x { ${e} }`);let r=t.cssRules[0];if(!r||r.type!==CSSRule.STYLE_RULE)return null;return r.style}catch{return null}}parseWithDetachedElement(e){let t=this.getUnattachedDoc().createElement("span");return t.setAttribute("style",e),t.style}getUnattachedDoc(){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}return this.unattachedDoc}}function d$(e){return"__ln"in e}class dM{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let r=0;r<e;r++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&d$(e.previousSibling)){let r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&d$(e.nextSibling)&&e.nextSibling.__ln.previous){let r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;
18this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let dI=(e,t)=>`${e}@${t}`;class dL{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,r=new dM,n=e=>{let t=e,r=lT;for(;r===lT;)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r},o=o=>{if(!o.parentNode||!d_(o))return;let i=u5(o.parentNode)?this.mirror.getId(db(o)):this.mirror.getId(o.parentNode),a=n(o);if(-1===i||-1===a)return r.addNode(o);let s=l2(o,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{df(e,this.mirror)&&!du(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),dm(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),dg(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{if(du(e,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(e,t);let r=l5(e);r&&this.canvasManager.addWindow(r),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:r,height:n})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${r}px`,height:`${n}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:i,nextId:a,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!dF(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&o(e);for(let e of this.addedSet)dU(this.droppedSet,e)||dF(this.removes,e,this.mirror)?dU(this.movedSet,e)?o(e):this.droppedSet.add(e):o(e);let i=null;for(;r.length;){let e=null;if(i){let t=this.mirror.getId(i.value.parentNode),r=n(i.value);-1!==t&&-1!==r&&(e=i)}if(!e){let t=r.tail;for(;t;){let r=t;if(t=t.previous,r){let t=this.mirror.getId(r.value.parentNode);if(-1===n(r.value))continue;if(-1!==t){e=r;break}{let t=r.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let n=t.parentNode.host;if(-1!==this.mirror.getId(n)){e=r;break}}}}}}if(!e){for(;r.head;)r.removeNode(r.head.value);break}i=e.previous,r.removeNode(e.value),o(e.value)}let a={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(a.texts.length||a.attributes.length||a.removes.length||a.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=e=>{if(!dd(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;du(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:lq(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,ds(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,r=e.attributeName,n=e.target.getAttribute(r);if("value"===r){let r=lh(t),o=t.tagName;n=lf(t,o,r);let i=ls({maskInputOptions:this.maskInputOptions,tagName:o,type:r});n=lu({isMasked:lq(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,i),element:t,value:n,maskInputFn:this.maskInputFn})}if(du(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===e.oldValue)return;let o=this.attributeMap.get(e.target);
18if("IFRAME"===t.tagName&&"src"===r&&!this.keepIframeSrcFn(n)){if(l4(t))return;r="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(e.target,o)),"type"===r&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!lV(t.tagName,r)&&(o.attributes[r]=lj(this.doc,ll(t.tagName),ll(r),n,t,this.maskAttributeFn),"style"===r)){let r=e.oldValue?this.styleDeclarationParser.parse(e.oldValue):null;for(let e of Array.from(t.style)){let n=t.style.getPropertyValue(e),i=t.style.getPropertyPriority(e);n!==(r?.getPropertyValue(e)||"")||i!==(r?.getPropertyPriority(e)||"")?""===i?o.styleDiff[e]=n:o.styleDiff[e]=[n,i]:o._unchangedStyles[e]=[n,i]}if(r)for(let e of Array.from(r))""===t.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(du(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let r=this.mirror.getId(t),n=u5(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);!(du(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||dd(t,this.mirror))&&dl(t,this.mirror)&&(this.addedSet.has(t)?(dR(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||dc(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[dI(r,n)]?dR(this.movedSet,t):this.removes.push({parentId:n,id:r,isShadow:!!(u5(e.target)&&u9(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(dd(e,this.mirror))return;this.movedSet.add(e);let r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&-1!==r&&(this.movedMap[dI(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!du(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),dg(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(t=>{this[t]=e[t]}),this.styleDeclarationParser=new dC(this.doc)}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function dR(e,t){e.delete(t),t.childNodes?.forEach(t=>dR(e,t))}function dF(e,t,r){return 0!==e.length&&dB(e,t,r)}function dB(e,t,r){let n=t.parentNode;for(;n;){let t=r.getId(n);if(e.some(e=>e.id===t))return!0;n=n.parentNode}return!1}function dU(e,t){return 0!==e.size&&dj(e,t)}function dj(e,t){let{parentNode:r}=t;return!!r&&(!!e.has(r)||dj(e,r))}function dV(e){y=e}function dz(){y=void 0}let dH=e=>y?(...t)=>{try{return e(...t)}catch(e){if(y&&!0===y(e))return()=>{};throw e}}:e,dW=[];function dG(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function dq(e,t){let r=new dL;dW.push(r),r.init(e);let n=window.MutationObserver||window.__rrMutationObserver,o=window?.Zone?.__symbol__?.("MutationObserver");o&&window[o]&&(n=window[o]);let i=new n(dH(t=>{e.onMutation&&!1===e.onMutation(t)||r.processMutations.bind(r)(t)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function dY({mousemoveCb:e,sampling:t,doc:r,mirror:n}){let o;if(!1===t.mousemove)return()=>{};let i="number"==typeof t.mousemove?t.mousemove:50,a="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,s=[],u=l7(dH(t=>{let r=Date.now()-o;e(s.map(e=>(e.timeOffset-=r,e)),t),s=[],o=null}),a),l=dH(l7(dH(e=>{let t=dG(e),{clientX:r,clientY:i}=dp(e)?e.changedTouches[0]:e;o||(o=dr()),s.push({x:r,y:i,id:n.getId(t),timeOffset:dr()-o}),u("undefined"!=typeof DragEvent&&e instanceof DragEvent?dD.Drag:e instanceof MouseEvent?dD.MouseMove:dD.TouchMove)}),i,{trailing:!1})),d=[l9("mousemove",l,r),l9("touchmove",l,r),l9("drag",l,r)];return dH(()=>
18{d.forEach(e=>e())})}function dK({mouseInteractionCb:e,doc:t,mirror:r,blockClass:n,blockSelector:o,unblockSelector:i,sampling:a}){if(!1===a.mouseInteraction)return()=>{};let s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,u=[],l=null,d=t=>a=>{let s=dG(a);if(du(s,n,o,i,!0))return;let u=null,d=t;if("pointerType"in a){switch(a.pointerType){case"mouse":u=dO.Mouse;break;case"touch":u=dO.Touch;break;case"pen":u=dO.Pen}u===dO.Touch?dA[t]===dA.MouseDown?d="TouchStart":dA[t]===dA.MouseUp&&(d="TouchEnd"):dO.Pen}else dp(a)&&(u=dO.Touch);null!==u?(l=u,(d.startsWith("Touch")&&u===dO.Touch||d.startsWith("Mouse")&&u===dO.Mouse)&&(u=null)):dA[t]===dA.Click&&(u=l,l=null);let c=dp(a)?a.changedTouches[0]:a;if(!c)return;let p=r.getId(s),{clientX:h,clientY:f}=c;dH(e)({type:dA[d],id:p,x:h,y:f,...null!==u&&{pointerType:u}})};return Object.keys(dA).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(e=>{let r=ll(e),n=d(e);if(window.PointerEvent)switch(dA[e]){case dA.MouseDown:case dA.MouseUp:r=r.replace("mouse","pointer");break;case dA.TouchStart:case dA.TouchEnd:return}u.push(l9(r,n,t))}),dH(()=>{u.forEach(e=>e())})}function dZ({scrollCb:e,doc:t,mirror:r,blockClass:n,blockSelector:o,unblockSelector:i,sampling:a}){return l9("scroll",dH(l7(dH(a=>{let s=dG(a);if(!s||du(s,n,o,i,!0))return;let u=r.getId(s);if(s===t&&t.defaultView){let r=dn(t.defaultView);e({id:u,x:r.left,y:r.top})}else e({id:u,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),t)}function dJ({viewportResizeCb:e},{win:t}){let r=-1,n=-1;return l9("resize",dH(l7(dH(()=>{let t=di(),o=da();(r!==t||n!==o)&&(e({width:Number(o),height:Number(t)}),r=t,n=o)}),200)),t)}let dX=["INPUT","TEXTAREA","SELECT"],dQ=new WeakMap;function d0({inputCb:e,doc:t,mirror:r,blockClass:n,blockSelector:o,unblockSelector:i,ignoreClass:a,ignoreSelector:s,maskInputOptions:u,maskInputFn:l,sampling:d,userTriggeredOnInput:c,maskTextClass:p,unmaskTextClass:h,maskTextSelector:f,unmaskTextSelector:m}){function g(e){let r=dG(e),d=e.isTrusted,g=r&&ld(r.tagName);if("OPTION"===g&&(r=r.parentElement),!r||!g||0>dX.indexOf(g)||du(r,n,o,i,!0))return;let b=r;if(b.classList.contains(a)||s&&b.matches(s))return;let v=lh(r),S=lf(b,g,v),_=!1,w=ls({maskInputOptions:u,tagName:g,type:v}),x=lq(r,p,f,h,m,w);("radio"===v||"checkbox"===v)&&(_=r.checked),S=lu({isMasked:x,element:r,value:S,maskInputFn:l}),y(r,c?{text:S,isChecked:_,userTriggered:d}:{text:S,isChecked:_});let T=r.name;"radio"===v&&T&&_&&t.querySelectorAll(`input[type="radio"][name="${T}"]`).forEach(e=>{if(e!==r){let t=lu({isMasked:x,element:e,value:lf(e,g,v),maskInputFn:l});y(e,c?{text:t,isChecked:!_,userTriggered:!1}:{text:t,isChecked:!_})}})}function y(t,n){let o=dQ.get(t);if(!o||o.text!==n.text||o.isChecked!==n.isChecked){dQ.set(t,n);let o=r.getId(t);dH(e)({...n,id:o})}}let b=("last"===d.input?["change"]:["input","change"]).map(e=>l9(e,dH(g),t)),v=t.defaultView;if(!v)return()=>{b.forEach(e=>e())};let S=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),_=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return S&&S.set&&b.push(..._.map(e=>de(e[0],e[1],{set(){dH(g)({target:this,isTrusted:!1})}},!1,v))),dH(()=>{b.forEach(e=>e())})}function d1(e){return function(e,t){return ct("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||ct("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||ct("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||ct("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule?t.unshift(Array.from(e.parentRule.cssRules).indexOf(e)):e.parentStyleSheet&&t.unshift(Array.from(e.parentStyleSheet.cssRules).indexOf(e)),t}(e,[])}function d2(e,t,r){let n,o;return e?(e.ownerNode?n=t.getId(e.ownerNode):o=r.getId(e),{styleId:o,id:n}):{}}function d3({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:n}){let o,i;if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};let a=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:dH((n,o,i)=>{let[a,s]=i,{id:u,styleId:l}=d2(o,t,r.styleMirror);return(u&&-1!==u||l&&-1!==l)&&e({id:u,styleId:l,adds:[{rule:a,index:s}]}),n.apply(o,i)})});let s=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:dH((n,o,i)=>{let[a]=i,{id:s,styleId:u}=d2(o,t,r.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,removes:[{index:a}]}),n.apply(o,i)})}
18),n.CSSStyleSheet.prototype.replace&&(o=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:dH((n,o,i)=>{let[a]=i,{id:s,styleId:u}=d2(o,t,r.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,replace:a}),n.apply(o,i)})})),n.CSSStyleSheet.prototype.replaceSync&&(i=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(i,{apply:dH((n,o,i)=>{let[a]=i,{id:s,styleId:u}=d2(o,t,r.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,replaceSync:a}),n.apply(o,i)})}));let u={};cr("CSSGroupingRule")?u.CSSGroupingRule=n.CSSGroupingRule:(cr("CSSMediaRule")&&(u.CSSMediaRule=n.CSSMediaRule),cr("CSSConditionRule")&&(u.CSSConditionRule=n.CSSConditionRule),cr("CSSSupportsRule")&&(u.CSSSupportsRule=n.CSSSupportsRule));let l={};return Object.entries(u).forEach(([n,o])=>{l[n]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(l[n].insertRule,{apply:dH((n,o,i)=>{let[a,s]=i,{id:u,styleId:l}=d2(o.parentStyleSheet,t,r.styleMirror);return(u&&-1!==u||l&&-1!==l)&&e({id:u,styleId:l,adds:[{rule:a,index:[...d1(o),s||0]}]}),n.apply(o,i)})}),o.prototype.deleteRule=new Proxy(l[n].deleteRule,{apply:dH((n,o,i)=>{let[a]=i,{id:s,styleId:u}=d2(o.parentStyleSheet,t,r.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,removes:[{index:[...d1(o),a]}]}),n.apply(o,i)})})}),dH(()=>{n.CSSStyleSheet.prototype.insertRule=a,n.CSSStyleSheet.prototype.deleteRule=s,o&&(n.CSSStyleSheet.prototype.replace=o),i&&(n.CSSStyleSheet.prototype.replaceSync=i),Object.entries(u).forEach(([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule})})}function d4({mirror:e,stylesheetManager:t},r){let n=null;n="#document"===r.nodeName?e.getId(r):e.getId(r.host);let o="#document"===r.nodeName?r.defaultView?.Document:r.ownerDocument?.defaultView?.ShadowRoot,i=o?.prototype?Object.getOwnPropertyDescriptor(o?.prototype,"adoptedStyleSheets"):void 0;return null!==n&&-1!==n&&o&&i?(Object.defineProperty(r,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return i.get?.call(this)},set(e){let r=i.set?.call(this,e);if(null!==n&&-1!==n)try{t.adoptStyleSheets(e,n)}catch(e){}return r}}),dH(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})})):()=>{}}function d5({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:n},{win:o}){let i=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:dH((o,a,s)=>{let[u,l,d]=s;if(r.has(u))return i.apply(a,[u,l,d]);let{id:c,styleId:p}=d2(a.parentRule?.parentStyleSheet,t,n.styleMirror);return(c&&-1!==c||p&&-1!==p)&&e({id:c,styleId:p,set:{property:u,value:l,priority:d},index:d1(a.parentRule)}),o.apply(a,s)})});let a=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:dH((o,i,s)=>{let[u]=s;if(r.has(u))return a.apply(i,[u]);let{id:l,styleId:d}=d2(i.parentRule?.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||d&&-1!==d)&&e({id:l,styleId:d,remove:{property:u},index:d1(i.parentRule)}),o.apply(i,s)})}),dH(()=>{o.CSSStyleDeclaration.prototype.setProperty=i,o.CSSStyleDeclaration.prototype.removeProperty=a})}function d9({mediaInteractionCb:e,blockClass:t,blockSelector:r,unblockSelector:n,mirror:o,sampling:i,doc:a}){let s=dH(a=>l7(dH(i=>{let s=dG(i);if(!s||du(s,t,r,n,!0))return;let{currentTime:u,volume:l,muted:d,playbackRate:c}=s;e({type:a,id:o.getId(s),currentTime:u,volume:l,muted:d,playbackRate:c})}),i.media||500)),u=[l9("play",s(dN.Play),a),l9("pause",s(dN.Pause),a),l9("seeked",s(dN.Seeked),a),l9("volumechange",s(dN.VolumeChange),a),l9("ratechange",s(dN.RateChange),a)];return dH(()=>{u.forEach(e=>e())})}function d8({fontCb:e,doc:t}){let r=t.defaultView;if(!r)return()=>{};let n=[],o=new WeakMap,i=r.FontFace;r.FontFace=function(e,t,r){let n=new i(e,t,r);return o.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};let a=dt(t.fonts,"add",function(t){return function(r){return dE(dH(()=>
18{let t=o.get(r);t&&(e(t),o.delete(r))}),0),t.apply(this,[r])}});return n.push(()=>{r.FontFace=i}),n.push(a),dH(()=>{n.forEach(e=>e())})}function d6(e){let{doc:t,mirror:r,blockClass:n,blockSelector:o,unblockSelector:i,selectionCb:a}=e,s=!0,u=dH(()=>{let e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;let u=[],l=e.rangeCount||0;for(let t=0;t<l;t++){let{startContainer:a,startOffset:s,endContainer:l,endOffset:d}=e.getRangeAt(t);du(a,n,o,i,!0)||du(l,n,o,i,!0)||u.push({start:r.getId(a),startOffset:s,end:r.getId(l),endOffset:d})}a({ranges:u})});return u(),l9("selectionchange",u)}function d7({doc:e,customElementCb:t}){let r=e.defaultView;return r&&r.customElements?dt(r.customElements,"define",function(e){return function(r,n,o){try{t({define:{name:r}})}catch(e){}return e.apply(this,[r,n,o])}}):()=>{}}function ce(e,t={}){let r;let n=e.doc.defaultView;if(!n)return()=>{};e.recordDOM&&(r=dq(e,e.doc));let o=dY(e),i=dK(e),a=dZ(e),s=dJ(e,{win:n}),u=d0(e),l=d9(e),d=()=>{},c=()=>{},p=()=>{},h=()=>{};e.recordDOM&&(d=d3(e,{win:n}),c=d4(e,e.doc),p=d5(e,{win:n}),e.collectFonts&&(h=d8(e)));let f=d6(e),m=d7(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,n,t.options));return dH(()=>{dW.forEach(e=>e.reset()),r?.disconnect(),o(),i(),a(),s(),u(),l(),d(),c(),p(),h(),f(),m(),g.forEach(e=>e())})}function ct(e){return void 0!==window[e]}function cr(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class cn{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,r,n){let o=r||this.getIdToRemoteIdMap(e),i=n||this.getRemoteIdToIdMap(e),a=o.get(t);return a||(a=this.generateIdFn(),o.set(t,a),i.set(a,t)),a}getIds(e,t){let r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,r,n))}getRemoteId(e,t,r){let n=r||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:n.get(t)||-1}getRemoteIds(e,t){let r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,r))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class co{constructor(){this.crossOriginIframeMirror=new cn(lE),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class ci{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new cn(lE),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new cn(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0);let t=l5(e);t&&this.crossOriginIframeMap.set(t,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&l5(e)?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);let r=l4(e);r&&r.adoptedStyleSheets&&r.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}handleMessage(e){let t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin||!e.source)return;let r=this.crossOriginIframeMap.get(e.source);if(!r)return;let n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case dk.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),{timestamp:t.timestamp,type:dk.IncrementalSnapshot,data:{source:dD.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case dk.Meta:case dk.Load:case dk.DomContentLoaded:break;case dk.Plugin:return t;case dk.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case dk.IncrementalSnapshot:switch(t.data.source){case dD.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let r=this.crossOriginIframeRootIdMap.get(e);r&&this.patchRootIdOnNode(t.node,r)}
18),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case dD.Drag:case dD.TouchMove:case dD.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case dD.ViewportResize:return!1;case dD.MediaInteraction:case dD.MouseInteraction:case dD.Scroll:case dD.CanvasMutation:case dD.Input:return this.replaceIds(t.data,e,["id"]),t;case dD.StyleSheetRule:case dD.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case dD.Font:return t;case dD.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case dD.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,r,n){for(let o of n)(Array.isArray(t[o])||"number"==typeof t[o])&&(Array.isArray(t[o])?t[o]=e.getIds(r,t[o]):t[o]=e.getId(r,t[o]));return t}replaceIds(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)}replaceStyleIds(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===u3.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class ca{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class cs{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!u9(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let r=dq({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(dZ({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),dE(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(d4({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=l4(e),r=l5(e);t&&r&&this.patchAttachShadow(r.Element,t)}patchAttachShadow(e,t){let r=this;this.restoreHandlers.push(dt(e.prototype,"attachShadow",function(e){return function(n){let o=e.call(this,n);return this.shadowRoot&&d_(this)&&r.addShadowRoot(this.shadowRoot,t),o}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var cu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cl="undefined"==typeof Uint8Array?[]:new Uint8Array(256),cd=0;cd<cu.length;cd++)cl[cu.charCodeAt(cd)]=cd;class cc{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class cp{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new dy,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let r={id:t,styleIds:[]},n=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),n.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:lt(e),index:t}))})),r.styleIds.push(e)}n.length>0&&(r.styles=n),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class ch{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let r=this.nodeMap.get(e);return r&&Array.from(r).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,dT(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}
18try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let cf=la();function cm(e={}){let t;let{emit:r,checkoutEveryNms:n,checkoutEveryNth:o,blockClass:i="rr-block",blockSelector:a=null,unblockSelector:s=null,ignoreClass:u="rr-ignore",ignoreSelector:l=null,maskAllText:d=!1,maskTextClass:c="rr-mask",unmaskTextClass:p=null,maskTextSelector:h=null,unmaskTextSelector:f=null,inlineStylesheet:m=!0,maskAllInputs:g,maskInputOptions:y,slimDOMOptions:S,maskAttributeFn:_,maskInputFn:w,maskTextFn:x,maxCanvasSize:T=null,packFn:E,sampling:P={},dataURLOptions:k={},mousemoveWait:D,recordDOM:A=!0,recordCanvas:O=!1,recordCrossOriginIframes:N=!1,recordAfter:C="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:$=!1,collectFonts:M=!1,inlineImages:I=!1,plugins:L,keepIframeSrcFn:R=()=>!1,ignoreCSSAttributes:F=new Set([]),errorHandler:B,onMutation:U,getCanvasManager:j}=e;dV(B);let V=!N||window.parent===window,z=!1;if(!V)try{window.parent.document&&(z=!1)}catch(e){z=!0}if(V&&!r)throw Error("emit function is required");if(!V&&!z)return()=>{};void 0!==D&&void 0===P.mousemove&&(P.mousemove=D),cf.reset();let H=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==y?y:{},W=!0===S||"all"===S?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===S,headMetaDescKeywords:"all"===S}:S||{};dh();let G=0,q=e=>{for(let t of L||[])t.eventProcessor&&(e=t.eventProcessor(e));return E&&!z&&(e=E(e)),e};b=(e,i)=>{let a=e;if(a.timestamp=dr(),dW[0]?.isFrozen()&&a.type!==dk.FullSnapshot&&!(a.type===dk.IncrementalSnapshot&&a.data.source===dD.Mutation)&&dW.forEach(e=>e.unfreeze()),V)r?.(q(a),i);else if(z){let e={type:"rrweb",event:q(a),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,"*")}if(a.type===dk.FullSnapshot)t=a,G=0;else if(a.type===dk.IncrementalSnapshot){if(a.data.source===dD.Mutation&&a.data.isAttachIframe)return;G++;let e=o&&G>=o,r=n&&t&&a.timestamp-t.timestamp>n;(e||r)&&er(!0)}};let Y=e=>{b({type:dk.IncrementalSnapshot,data:{source:dD.Mutation,...e}})},K=e=>b({type:dk.IncrementalSnapshot,data:{source:dD.Scroll,...e}}),Z=e=>b({type:dk.IncrementalSnapshot,data:{source:dD.CanvasMutation,...e}}),J=new cp({mutationCb:Y,adoptedStyleSheetCb:e=>b({type:dk.IncrementalSnapshot,data:{source:dD.AdoptedStyleSheet,...e}})}),X="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new co:new ci({mirror:cf,mutationCb:Y,stylesheetManager:J,recordCrossOriginIframes:N,wrappedEmit:b});for(let e of L||[])e.getMirror&&e.getMirror({nodeMirror:cf,crossOriginIframeMirror:X.crossOriginIframeMirror,crossOriginIframeStyleMirror:X.crossOriginIframeStyleMirror});let Q=new ch,ee=cy(j,{mirror:cf,win:window,mutationCb:e=>b({type:dk.IncrementalSnapshot,data:{source:dD.CanvasMutation,...e}}),recordCanvas:O,blockClass:i,blockSelector:a,unblockSelector:s,maxCanvasSize:T,sampling:P.canvas,dataURLOptions:k,errorHandler:B}),et="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new ca:new cs({mutationCb:Y,scrollCb:K,bypassOptions:{onMutation:U,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:d,maskTextClass:c,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:f,inlineStylesheet:m,maskInputOptions:H,dataURLOptions:k,maskAttributeFn:_,maskTextFn:x,maskInputFn:w,recordCanvas:O,inlineImages:I,sampling:P,slimDOMOptions:W,iframeManager:X,stylesheetManager:J,canvasManager:ee,keepIframeSrcFn:R,processedNodeManager:Q,ignoreCSSAttributes:F},mirror:cf}),er=(e=!1)=>{if(!A)return;b({type:dk.Meta,data:{href:window.location.href,width:da(),height:di()}},e),J.reset(),et.init(),dW.forEach(e=>e.lock());let t=l3(document,{mirror:cf,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:d,maskTextClass:c,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:f,inlineStylesheet:m,maskAllInputs:H,maskAttributeFn:_,maskInputFn:w,maskTextFn:x,slimDOM:W,dataURLOptions:k,recordCanvas:O,inlineImages:I,onSerialize:e=>{df(e,cf)&&X.addIframe(e),dm(e,cf)&&J.trackLinkElement(e),dg(e)&&et.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{X.attachIframe(e,t);let r=l5(e);r&&ee.addWindow(r),et.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{J.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:r,height:n})=>{Y({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${r}px`,height:`${n}px`}}}]})},keepIframeSrcFn:R,ignoreCSSAttributes:F});if(!t)return console.warn("Failed to snapshot the document");b({type:dk.FullSnapshot,data:{node:t,initialOffset:dn(window)}}
18),dW.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&J.adoptStyleSheets(document.adoptedStyleSheets,cf.getId(document))};v=er;try{let e=[],t=e=>dH(ce)({onMutation:U,mutationCb:Y,mousemoveCb:(e,t)=>b({type:dk.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>b({type:dk.IncrementalSnapshot,data:{source:dD.MouseInteraction,...e}}),scrollCb:K,viewportResizeCb:e=>b({type:dk.IncrementalSnapshot,data:{source:dD.ViewportResize,...e}}),inputCb:e=>b({type:dk.IncrementalSnapshot,data:{source:dD.Input,...e}}),mediaInteractionCb:e=>b({type:dk.IncrementalSnapshot,data:{source:dD.MediaInteraction,...e}}),styleSheetRuleCb:e=>b({type:dk.IncrementalSnapshot,data:{source:dD.StyleSheetRule,...e}}),styleDeclarationCb:e=>b({type:dk.IncrementalSnapshot,data:{source:dD.StyleDeclaration,...e}}),canvasMutationCb:Z,fontCb:e=>b({type:dk.IncrementalSnapshot,data:{source:dD.Font,...e}}),selectionCb:e=>{b({type:dk.IncrementalSnapshot,data:{source:dD.Selection,...e}})},customElementCb:e=>{b({type:dk.IncrementalSnapshot,data:{source:dD.CustomElement,...e}})},blockClass:i,ignoreClass:u,ignoreSelector:l,maskAllText:d,maskTextClass:c,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:f,maskInputOptions:H,inlineStylesheet:m,sampling:P,recordDOM:A,recordCanvas:O,inlineImages:I,userTriggeredOnInput:$,collectFonts:M,doc:e,maskAttributeFn:_,maskInputFn:w,maskTextFn:x,keepIframeSrcFn:R,blockSelector:a,unblockSelector:s,slimDOMOptions:W,dataURLOptions:k,mirror:cf,iframeManager:X,stylesheetManager:J,shadowDomManager:et,processedNodeManager:Q,canvasManager:ee,ignoreCSSAttributes:F,plugins:L?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>b({type:dk.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});X.addLoadListener(r=>{try{e.push(t(r.contentDocument))}catch(e){console.warn(e)}});let r=()=>{er(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?r():(e.push(l9("DOMContentLoaded",()=>{b({type:dk.DomContentLoaded,data:{}}),"DOMContentLoaded"===C&&r()})),e.push(l9("load",()=>{b({type:dk.Load,data:{}}),"load"===C&&r()},window))),()=>{e.forEach(e=>e()),Q.destroy(),v=void 0,dz()}}catch(e){console.warn(e)}}function cg(e){if(!v)throw Error("please take full snapshot after start recording");v(e)}function cy(e,t){try{return e?e(t):new cc}catch{return console.warn("Unable to initialize CanvasManager"),new cc}}cm.mirror=cf,cm.takeFullSnapshot=cg,function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(x||(x={}));let cb=3,cv=5;function cS(e){return e>0x2540be3ff?e:1e3*e}function c_(e){return e>0x2540be3ff?e/1e3:e}function cw(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:dk.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,eA.S8)(t,10,1e3)}}),"console"===t.category)))}let cx="button,a";function cT(e){return e.closest(cx)||e}function cE(e){let t=cP(e);return t&&t instanceof Element?cT(t):t}function cP(e){return ck(e)?e.target:e}function ck(e){return"object"==typeof e&&!!e&&"target"in e}function cD(e){return S||(S=[],cA()),S.push(e),()=>{let t=S?S.indexOf(e):-1;t>-1&&S.splice(t,1)}}function cA(){(0,ee.GS)(uI,"open",function(e){return function(...t){if(S)try{S.forEach(e=>e())}catch{}return e.apply(uI,t)}})}let cO=new Set([dD.Mutation,dD.StyleSheetRule,dD.StyleDeclaration,dD.AdoptedStyleSheet,dD.CanvasMutation,dD.Selection,dD.MediaInteraction]);function cN(e,t,r){e.handleClick(t,r)}class cC{constructor(e,t,r=cw){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){let e=cD(()=>{this._lastMutation=cL()});this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(cM(t,this._ignoreSelector)||!cI(e))return;let r={timestamp:c_(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===r.node&&1>
18Math.abs(e.timestamp-r.timestamp))||(this._clicks.push(r),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=c_(e)}registerScroll(e=Date.now()){this._lastScroll=c_(e)}registerClick(e){let t=cT(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=cL();for(let r of(this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=t&&e.push(r)}),e)){let e=this._clicks.indexOf(r);e>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,r=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,n=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:o,clickBreadcrumb:i}=e;if(!r&&!n){let r=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),n=r<1e3*this._timeout?"mutation":"timeout",a={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.slowClickDetected",data:{...i.data,url:uI.location.href,route:t.getCurrentRoute(),timeAfterClickMs:r,endReason:n,clickCount:o||1}};this._addBreadcrumbEvent(t,a);return}if(o>1){let e={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.multiClick",data:{...i.data,url:uI.location.href,route:t.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=on(()=>this._checkClicks(),1e3)}}let c$=["A","BUTTON","INPUT"];function cM(e,t){return!!(!c$.includes(e.tagName)||"INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||"")||"A"===e.tagName&&(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target"))||t&&e.matches(t))}function cI(e){return!!(e.data&&"number"==typeof e.data.nodeId&&e.timestamp)}function cL(){return Date.now()/1e3}function cR(e,t){try{if(!cF(t))return;let{source:r}=t.data;if(cO.has(r)&&e.registerMutation(t.timestamp),r===dD.Scroll&&e.registerScroll(t.timestamp),cB(t)){let{type:r,id:n}=t.data,o=cm.mirror.getNode(n);o instanceof HTMLElement&&r===dA.Click&&e.registerClick(o)}}catch{}}function cF(e){return e.type===cb}function cB(e){return e.data.source===dD.MouseInteraction}function cU(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var cj=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(cj||{});let cV=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function cz(e){let t={};for(let r in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(cV.has(r)){let n=r;("data-testid"===r||"data-test-id"===r)&&(n="testId"),t[n]=e[r]}return t}let cH=e=>t=>{if(!e.isEnabled())return;let r=cG(t);if(!r)return;let n="click"===t.name,o=n?t.event:void 0;n&&e.clickDetector&&o?.target&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&cN(e.clickDetector,r,cE(t.event)),cw(e,r)};function cW(e,t){let r=cm.mirror.getId(e),n=r&&cm.mirror.getNode(r),o=n&&cm.mirror.getMeta(n),i=o&&cY(o)?o:null;return{message:t,data:i?{nodeId:r,node:{id:r,tagName:i.tagName,textContent:Array.from(i.childNodes).map(e=>e.type===cj.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:cz(i.attributes)}}:{}}}function cG(e){let{target:t,message:r}=cq(e);return cU({category:`ui.${e.name}`,...cW(t,r)})}function cq(e){let t;let r="click"===e.name,n=null;try{n=r?cE(e.event):cP(e.event),t=(0,ra.Hd)(n,{maxStringLength:200})||"<unknown>"}catch{t="<unknown>"}return{target:n,message:t}}function cY(e){return e.type===cj.Element}function cK(e,t){if(!e.isEnabled())return;e.updateUserActivity();let r=cZ(t);r&&cw(e,r)}function cZ(e){let{metaKey:t,shiftKey:r,ctrlKey:n,altKey:o,key:i,target:a}=e;if(!a||cJ(a)||!i)return null;let s=t||n||o,u=1===i.length;if(!s&&u)return null;let l=(0,ra.Hd)(a,{maxStringLength:200})||"<unknown>",d=cW(a,l);return cU({category:"ui.keyDown",message:l,data:{...d.data,metaKey:t,shiftKey:r,ctrlKey:n,altKey:o,key:i}})}function cJ(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.
18isContentEditable}let cX={resource:c5,paint:c3,navigation:c4};function cQ(e,t){return({metric:r})=>void t.replayPerformanceEntries.push(e(r))}function c0(e){return e.map(c1).filter(Boolean)}function c1(e){let t=cX[e.entryType];return t?t(e):null}function c2(e){return(((0,t_.k3)()||uI.performance.timeOrigin)+e)/1e3}function c3(e){let{duration:t,entryType:r,name:n,startTime:o}=e,i=c2(o);return{type:r,name:n,start:i,end:i+t,data:void 0}}function c4(e){let{entryType:t,name:r,decodedBodySize:n,duration:o,domComplete:i,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,domInteractive:l,loadEventStart:d,loadEventEnd:c,redirectCount:p,startTime:h,transferSize:f,type:m}=e;return 0===o?null:{type:`${t}.${m}`,start:c2(h),end:c2(i),name:r,data:{size:f,decodedBodySize:n,encodedBodySize:a,duration:o,domInteractive:l,domContentLoadedEventStart:s,domContentLoadedEventEnd:u,loadEventStart:d,loadEventEnd:c,domComplete:i,redirectCount:p}}}function c5(e){let{entryType:t,initiatorType:r,name:n,responseEnd:o,startTime:i,decodedBodySize:a,encodedBodySize:s,responseStatus:u,transferSize:l}=e;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${t}.${r}`,start:c2(i),end:c2(o),name:n,data:{size:l,statusCode:u,decodedBodySize:a,encodedBodySize:s}}}function c9(e){let t=e.entries[e.entries.length-1];return pe(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function c8(e){return void 0!==e.sources}function c6(e){let t=[],r=[];for(let n of e.entries)if(c8(n)){let e=[];for(let t of n.sources)if(t.node){r.push(t.node);let n=cm.mirror.getId(t.node);n&&e.push(n)}t.push({value:n.value,nodeIds:e.length?e:void 0})}return pe(e,"cumulative-layout-shift",r,t)}function c7(e){let t=e.entries[e.entries.length-1];return pe(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function pe(e,t,r,n){let o=e.value,i=e.rating,a=c2(o);return{type:"web-vital",name:t,start:a,end:a,data:{value:o,size:o,rating:i,nodeIds:r?r.map(e=>cm.mirror.getId(e)):void 0,attributions:n}}}function pt(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function r({entries:e}){e.forEach(t)}let n=[];return["navigation","paint","resource"].forEach(e=>{n.push(iz(e,r))}),n.push(iU(cQ(c9,e)),iB(cQ(c6,e)),iV(cQ(c7,e))),()=>{n.forEach(e=>e())}}let pr=!1,pn='
vendor: 10,329 bytes, line 18
18var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
18';function po(){let e=new Blob([pn]);return URL.createObjectURL(e)}let pi=["log","warn","error"],pa="[Replay] ";function ps(e,t="info"){rF({category:"console",data:{logger:"replay"},level:t,message:`${pa}${e}`},{level:t})}let pu=function(){let e=!1,t=!1,r={exception:()=>void 0,infoTick:()=>void 0,setConfig:r=>{e=!!r.captureExceptions,t=!!r.traceInternals}};return pr?(pi.forEach(e=>{r[e]=(...r)=>{E.Yz[e](pa,...r),t&&ps(r.join(""),rB(e))}}),r.exception=(n,...o)=>{o.length&&r.error&&r.error(...o),E.Yz.error(pa,n),e?(0,D.Cp)(n,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&ps(n,"error")},r.infoTick=(...e)=>{E.Yz.log(pa,...e),t&&setTimeout(()=>ps(e[0]),0)}):pi.forEach(e=>{r[e]=()=>void 0}),r}();class pl extends Error{constructor(){super(`Event buffer exceeded maximum size of ${uZ}.`)}}class pd{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>uZ)throw new pl;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=null;for(let{timestamp:t}of this.events)(null===e||t<e)&&(e=t);return null===e?e:cS(e)}}class pc{constructor(e){pc.prototype.__init.call(this),this._worker=e,this._id=0,this._pending=new Map,this._worker.addEventListener("message",this._onMessage)}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:r})=>{r.success?e():(pr&&pu.warn("Received worker message with unsuccessful status",r),t(Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",e=>
18{pr&&pu.warn("Failed to load Replay compression worker",e),t(Error(`Failed to load Replay compression worker: ${e instanceof ErrorEvent&&e.message?e.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})})),this._ensureReadyPromise}destroy(){pr&&pu.log("Destroying compression worker"),this._worker.removeEventListener("message",this._onMessage),this._pending.forEach(e=>e.reject(Error("Worker destroyed"))),this._pending.clear(),this._worker.terminate()}postMessage(e,t){let r=this._getAndIncrementId();return new Promise((n,o)=>{this._pending.set(r,{method:e,resolve:n,reject:o});try{this._worker.postMessage({id:r,method:e,arg:t})}catch(e){this._pending.delete(r),o(e)}})}__init(){this._onMessage=({data:e})=>{let t=e;if("number"!=typeof t.id)return;let r=this._pending.get(t.id);if(r&&r.method===t.method){if(this._pending.delete(t.id),!t.success){pr&&pu.error("Error in compression worker: ",t.response),r.reject(Error("Error in compression worker"));return}r.resolve(t.response)}}}_getAndIncrementId(){return this._id++}}class pp{constructor(e){this._worker=new pc(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=cS(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let r=JSON.stringify(e);return(this._totalSize+=r.length,this._totalSize>uZ)?Promise.reject(new pl):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{pr&&pu.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class ph{constructor(e){this._fallback=new pd,this._compression=new pp(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){pr&&pu.exception(e,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:r}=this._fallback,n=[];for(let t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(n),this._fallback.clear()}catch(e){pr&&pu.exception(e,"Failed to add events when switching buffers.")}}}function pf({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=pm(t);if(e)return e}return pr&&pu.log("Using simple buffer"),new pd}function pm(e){try{let t=e||pg();if(!t)return;pr&&pu.log(`Using compression worker${e?` from ${e}`:""}`);let r=new Worker(t);return new ph(r)}catch(e){pr&&pu.exception(e,"Failed to create compression worker")}}function pg(){return"undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":po()}function py(){try{return"sessionStorage"in uI&&!!uI.sessionStorage}catch{return!1}}function pb(e){pv(),e.session=void 0}function pv(){if(py())try{uI.sessionStorage.removeItem(uL)}catch{}}function pS(e){return void 0!==e&&Math.random()<e}function p_(e){if(py())try{uI.sessionStorage.setItem(uL,JSON.stringify(e))}catch{}}function pw(e){let t=Date.now(),r=e.id||(0,F.eJ)(),n=e.started||t,o=e.lastActivity||t,i=e.segmentId||0;return{id:r,started:n,lastActivity:o,segmentId:i,sampled:e.sampled,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function px(e,t){return pS(e)?"session":!!t&&"buffer"}function pT({sessionSampleRate:e,allowBuffering:t,stickySession:r=!1},{previousSessionId:n}={}){let o=pw({sampled:px(e,t),previousSessionId:n});return r&&p_(o),o}function pE(){if(!py())return null;try{let e=uI.sessionStorage.getItem(uL);if(!e)return null;let t=JSON.parse(e);return pr&&pu.infoTick("Loading existing session"),pw(t)}catch{return null}}function pP(e,t,r=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=r}function pk(e,{maxReplayDuration:t,sessionIdleExpire:r,targetTime:n=Date.now()}){return pP(e.started,t,n)||pP(e.lastActivity,r,n)}function pD(e,{sessionIdleExpire:t,maxReplayDuration:r}){return!!pk(e,{sessionIdleExpire:t,maxReplayDuration:r})&&("buffer"!==e.sampled||0!==e.segmentId)}function pA({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:r},n){let o=n.stickySession&&pE();return o?pD(o,{sessionIdleExpire:e,maxReplayDuration:t})?(pr&&pu.infoTick("Session in sessionStorage is expired, creating new one..."),pT(n,{previousSessionId:o.id})):o:(pr&&pu.infoTick("Creating new session"),pT(n,{previousSessionId:r}))}function pO(e){return e.type===dk.Custom}function pN(e,t,r){return!!pM(e,t)&&(p$(e,t,r),!0)}function pC(e,t,r){return pM(e,t)?p$(e,t,r):Promise.resolve(null)}async function p$(e,t,r){let{eventBuffer:n}=e;if(!n||n.waitForCheckout&&!r)return null;let o="buffer"===e.recordingMode;try{r&&o&&n.clear(),r&&(n.hasCheckout=!0,n.waitForCheckout=!1);let i=e.getOptions(),a=pI(t,i.beforeAddRecordingEvent);if(!a)return;return await n.addEvent(a)}catch(a){let t=a&&a instanceof pl,r=t?"eventBufferOverflow":"eventBufferError",i=(0,Q.KU)();if(i){let e=t?"buffer_overflow":"internal_sdk_error";i.recordDroppedEvent(e,"replay")}if(t&&o)return n.clear(),n.waitForCheckout=!0,null;e.handleException(a),await e.stop({reason:r})}}
18function pM(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let r=cS(t.timestamp);return!(r+e.timeouts.sessionIdlePause<Date.now())&&(!(r>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(pr&&pu.infoTick(`Skipping event with timestamp ${r} because it is after maxReplayDuration`),!1))}function pI(e,t){try{if("function"==typeof t&&pO(e))return t(e)}catch(e){return pr&&pu.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function pL(e){return!e.type}function pR(e){return"transaction"===e.type}function pF(e){return"replay_event"===e.type}function pB(e){return"feedback"===e.type}function pU(e){return(t,r)=>{if(!e.isEnabled()||!pL(t)&&!pR(t))return;let n=r.statusCode;if(n&&!(n<200)&&!(n>=300)){if(pR(t)){pj(e,t);return}pV(e,t)}}}function pj(e,t){let r=e.getContext();t.contexts?.trace?.trace_id&&r.traceIds.size<100&&r.traceIds.add(t.contexts.trace.trace_id)}function pV(e,t){let r=e.getContext();if(t.event_id&&r.errorIds.size<100&&r.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags?.replayId)return;let{beforeErrorSampling:n}=e.getOptions();("function"!=typeof n||n(t))&&on(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}function pz(e){return t=>{e.isEnabled()&&pL(t)&&pH(e,t)}}function pH(e,t){let r=t.exception?.values?.[0]?.value;"string"==typeof r&&(r.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||r.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&cw(e,cU({category:"replay.hydrate-error",data:{url:(0,ra.$N)()}}))}function pW(e){let t=(0,Q.KU)();t&&t.on("beforeAddBreadcrumb",t=>pG(e,t))}function pG(e,t){if(!e.isEnabled()||!pK(t))return;let r=pq(t);r&&cw(e,r)}function pq(e){return!pK(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:"console"===e.category?pY(e):cU(e)}function pY(e){let t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return cU(e);let r=!1,n=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>uq?(r=!0,`${e.slice(0,uq)}…`):e;if("object"==typeof e)try{let t=(0,eA.S8)(e,7);if(JSON.stringify(t).length>uq)return r=!0,`${JSON.stringify(t,null,2).slice(0,uq)}…`;return t}catch{}return e});return cU({...e,data:{...e.data,arguments:n,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function pK(e){return!!e.category}function pZ(e,t){return!e.type&&!!e.exception?.values?.length&&!!t.originalException?.__rrweb__}function pJ(){let e=(0,Q.o5)().getPropagationContext().dsc;e&&delete e.replay_id;let t=(0,ei.Bk)();if(t){let e=(0,eE.k1)(t);delete e.replay_id}}function pX(e){let t=(0,Q.o5)().getPropagationContext().dsc;t&&(t.replay_id=e);let r=(0,ei.Bk)();r&&((0,eE.k1)(r).replay_id=e)}function pQ(e,t){e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:dk.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1))}function p0(e,t){return"buffer"===e.recordingMode&&t.message!==uF&&!!t.exception&&!t.type&&pS(e.getOptions().errorSampleRate)}function p1(e){return Object.assign((t,r)=>{if(e.session&&pD(e.session,{maxReplayDuration:e.getOptions().maxReplayDuration,sessionIdleExpire:e.timeouts.sessionIdleExpire})&&pJ(),!e.isEnabled()||e.isPaused())return t;if(pF(t))return delete t.breadcrumbs,t;if(!pL(t)&&!pR(t)&&!pB(t))return t;if(!e.checkAndHandleExpiredSession())return pJ(),t;if(pB(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),pQ(e,t),t;if(pZ(t,r)&&!e.getOptions()._experiments.captureExceptions)return pr&&pu.log("Ignoring error from rrweb internals",t),null;let n=p0(e,t);if((n||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&"buffer"===e.recordingMode&&e.session?.sampled==="buffer"){let t=e.session;t.dirty=!0,e.getOptions().stickySession&&p_(t)}return t},{id:"Replay"})}function p2(e,t){return t.map(({type:t,start:r,end:n,name:o,data:i})=>{let a=e.throttledAddEvent({type:dk.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:t,description:o,startTimestamp:r,endTimestamp:n,data:i}}});return"string"==typeof a?Promise.resolve(null):a})}function p3(e){let{from:t,to:r}=e,n=Date.now()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:t}}}function p4(e){return t=>{if(!e.isEnabled())return;let r=p3(t);null!==r&&(e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(()=>(p2(e,[r]),!1)))}}function p5(e,t){return(!pr||!e.getOptions()._experiments.traceInternals)&&uA(t,(0,Q.KU)())}function p9(e,t){!e.isEnabled()||null===t||p5(e,t.name)||e.addUpdate(()=>(p2(e,[t]),!0))}function p8(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let r=ss(e);return t.encode(r).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function p6(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function p7(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let r={...e._meta},n=r.warnings||[];return r.warnings=[...n,t],e._meta=r,e}function he(e,t){if(!t)return null;let{startTimestamp:r,endTimestamp:n,url:o,method:i,statusCode:a,request:s,response:u}=t;return{type:e,start:r/1e3,end:n/1e3,name:o,data:{method:i,statusCode:a,request:s,response:u}}}function ht(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function hr(e,t,r){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!r)return{headers:e,size:t};let n={headers:e,size:t},{body:o,warnings:i}=ho(r);return n.body=o,i?.length&&(n._meta={warnings:i}),n}function hn(e,t){return Object.entries(e).reduce((r,[n,o])=>{let i=n.toLowerCase();return t.includes(i)&&e[n]&&(r[i]=o),r},{})}function ho(e){if(!e||"string"!=typeof e)return{body:e};let t=e.length>uG,r=hi(e);if(t){let t=e.slice(0,uG);return r?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(r)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function hi(e){let t=e[0],r=e[e.length-1];return"["===t&&"]"===r||"{"===t&&"}"===r}function ha(e,t){let r=hs(e);return(0,B.Xr)(r,t)}function hs(e,t=uI.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(uI.location.origin))return e;let r=new URL(e,t);if(r.origin!==new URL(t).origin)return e;let n=r.href;return!e.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}async function hu(e,t,r){try{let n=await hd(e,t,r),o=he("resource.fetch",n);p9(r.replay,o)}catch(e){pr&&pu.exception(e,"Failed to capture fetch breadcrumb")}}
18function hl(e,t){let{input:r,response:n}=t,o=p8(r?sl(r):void 0),i=n?p6(n.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==i&&(e.data.response_body_size=i)}async function hd(e,t,r){let n=Date.now(),{startTimestamp:o=n,endTimestamp:i=n}=t,{url:a,method:s,status_code:u=0,request_body_size:l,response_body_size:d}=e.data,c=ha(a,r.networkDetailAllowUrls)&&!ha(a,r.networkDetailDenyUrls);return{startTimestamp:o,endTimestamp:i,url:a,method:s,statusCode:u,request:c?hc(r,t.input,l):ht(l),response:await hp(c,r,t.response,d)}}function hc({networkCaptureBodies:e,networkRequestHeaders:t},r,n){let o=r?hg(r,t):{};if(!e)return hr(o,n,void 0);let[i,a]=su(sl(r),pu),s=hr(o,n,i);return a?p7(s,a):s}async function hp(e,{networkCaptureBodies:t,networkResponseHeaders:r},n,o){if(!e&&void 0!==o)return ht(o);let i=n?hm(n.headers,r):{};if(!n||!t&&void 0!==o)return hr(i,o,void 0);let[a,s]=await hf(n),u=hh(a,{networkCaptureBodies:t,responseBodySize:o,captureDetails:e,headers:i});return s?p7(u,s):u}function hh(e,{networkCaptureBodies:t,responseBodySize:r,captureDetails:n,headers:o}){try{let i=e?.length&&void 0===r?p8(e):r;if(!n)return ht(i);if(t)return hr(o,i,e);return hr(o,i,void 0)}catch(e){return pr&&pu.exception(e,"Failed to serialize response body"),hr(o,r,void 0)}}async function hf(e){let t=hb(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await hv(t)]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return pr&&pu.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"];return pr&&pu.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function hm(e,t){let r={};return t.forEach(t=>{e.get(t)&&(r[t]=e.get(t))}),r}function hg(e,t){return 1===e.length&&"string"!=typeof e[0]?hy(e[0],t):2===e.length?hy(e[1],t):{}}function hy(e,t){if(!e)return{};let r=e.headers;return r?r instanceof Headers?hm(r,t):Array.isArray(r)?{}:hn(r,t):{}}function hb(e){try{return e.clone()}catch(e){pr&&pu.exception(e,"Failed to clone response body")}}function hv(e){return new Promise((t,r)=>{let n=on(()=>r(Error("Timeout while trying to read response body")),500);hS(e).then(e=>t(e),e=>r(e)).finally(()=>clearTimeout(n))})}async function hS(e){return await e.text()}async function h_(e,t,r){try{let n=hx(e,t,r),o=he("resource.xhr",n);p9(r.replay,o)}catch(e){pr&&pu.exception(e,"Failed to capture xhr breadcrumb")}}function hw(e,t){let{xhr:r,input:n}=t;if(!r)return;let o=p8(n),i=r.getResponseHeader("content-length")?p6(r.getResponseHeader("content-length")):hP(r.response,r.responseType);void 0!==o&&(e.data.request_body_size=o),void 0!==i&&(e.data.response_body_size=i)}function hx(e,t,r){let n=Date.now(),{startTimestamp:o=n,endTimestamp:i=n,input:a,xhr:s}=t,{url:u,method:l,status_code:d=0,request_body_size:c,response_body_size:p}=e.data;if(!u)return null;if(!s||!ha(u,r.networkDetailAllowUrls)||ha(u,r.networkDetailDenyUrls))return{startTimestamp:o,endTimestamp:i,url:u,method:l,statusCode:d,request:ht(c),response:ht(p)};let h=s[r2],f=h?hn(h.request_headers,r.networkRequestHeaders):{},m=hn(sd(s),r.networkResponseHeaders),[g,y]=r.networkCaptureBodies?su(a,pu):[void 0],[b,v]=r.networkCaptureBodies?hT(s):[void 0],S=hr(f,c,g),_=hr(m,p,b);return{startTimestamp:o,endTimestamp:i,url:u,method:l,statusCode:d,request:y?p7(S,y):S,response:v?p7(_,v):_}}function hT(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return hE(e.response,e.responseType)}catch(e){t.push(e)}return pr&&pu.warn("Failed to get xhr response body",...t),[void 0]}function hE(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return pr&&pu.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return pr&&pu.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function hP(e,t){try{let r="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return p8(r)}catch{return}}function hk(e){let t=(0,Q.KU)();try{let{networkDetailAllowUrls:r,networkDetailDenyUrls:n,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:a}=e.getOptions(),s={replay:e,networkDetailAllowUrls:r,networkDetailDenyUrls:n,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:a};t&&t.on("beforeAddBreadcrumb",(e,t)=>hD(s,e,t))}catch{}}function hD(e,t,r){if(t.data)try{hA(t)&&hN(r)&&(hw(t,r),h_(t,r,e)),hO(t)&&hC(r)&&(hl(t,r),hu(t,r,e))}
18catch(e){pr&&pu.exception(e,"Error when enriching network breadcrumb")}}function hA(e){return"xhr"===e.category}function hO(e){return"fetch"===e.category}function hN(e){return e?.xhr}function hC(e){return e?.input!==void 0}function h$(e){let t=(0,Q.KU)();rZ(cH(e)),r9(p4(e)),pW(e),hk(e);let r=p1(e);(0,D.SA)(r),t&&(t.on("beforeSendEvent",pz(e)),t.on("afterSendEvent",pU(e)),t.on("createDsc",t=>{let r=e.getSessionId();r&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=r)}),t.on("spanStart",t=>{e.lastActiveSpan=t}),t.on("spanEnd",t=>{e.lastActiveSpan=t}),t.on("beforeSendFeedback",async(t,r)=>{let n=e.getSessionId();r?.includeReplay&&e.isEnabled()&&n&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=n)}),t.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}async function hM(e){try{return Promise.all(p2(e,[hI(uI.performance.memory)]))}catch{return[]}}function hI(e){let{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}=e,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}}}}function hL(e,t,r){return uM(e,t,{...r,setTimeoutImpl:on})}let hR=T.O.navigator;function hF(){return/iPhone|iPad|iPod/i.test(hR?.userAgent??"")||/Macintosh/i.test(hR?.userAgent??"")&&hR?.maxTouchPoints&&hR?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{}}function hB(e){let t=!1;return(r,n)=>{if(!e.checkAndHandleExpiredSession()){pr&&pu.warn("Received replay event after session expired.");return}let o=n||!t;t=!0,hU(r),e.clickDetector&&cR(e.clickDetector,r),e.addUpdate(()=>{if("buffer"===e.recordingMode&&o&&e.setInitialState(),!pN(e,r,o))return!0;if(!o)return!1;let t=e.session;if(hV(e,o),"buffer"===e.recordingMode&&t&&e.eventBuffer&&!t.dirty){let r=e.eventBuffer.getEarliestTimestamp();r&&(pr&&pu.log(`Updating session start time to earliest event in buffer to ${new Date(r)}`),t.started=r,e.getOptions().stickySession&&p_(t))}return!!t?.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}}function hU(e){let t=e.data;if(e.type===dk.IncrementalSnapshot&&t&&"object"==typeof t&&"source"in t&&t.source===dD.Mutation&&"attributes"in t&&Array.isArray(t.attributes))for(let e of t.attributes){let t=cm.mirror.getNode(e.id),r=t&&cm.mirror.getMeta(t);if(r?.type===cj.Element)for(let[t,n]of Object.entries(e.attributes))null===n?delete r.attributes[t]:r.attributes[t]=n}}function hj(e){let t=e.getOptions();return{type:dk.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function hV(e,t){t&&e.session?.segmentId===0&&pN(e,hj(e),!1)}function hz(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function hH(e,t,r,n){return eO(ez(e,eV(e),n,r),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?new TextEncoder().encode(t).length:t.length},t]])}function hW({recordingData:e,headers:t}){let r;let n=`${JSON.stringify(t)}
19`;if("string"==typeof e)r=`${n}${e}`;else{let t=new TextEncoder().encode(n);(r=new Uint8Array(t.length+e.length)).set(t),r.set(e,t.length)}return r}async function hG({client:e,scope:t,replayId:r,event:n}){let o={event_id:r,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",n,o);let i=await (0,tP.mG)(e.getOptions(),n,o,t,e,(0,Q.rm)());if(!i)return null;e.emit("postprocessEvent",i,o),i.platform=i.platform||"javascript";let a=e.getSdkMetadata(),{name:s,version:u,settings:l}=a?.sdk||{};return i.sdk={...i.sdk,name:s||"sentry.javascript.unknown",version:u||"0.0.0",settings:l},i}async function hq({recordingData:e,replayId:t,segmentId:r,eventContext:n,timestamp:o,session:i}){let a;let s=hW({recordingData:e,headers:{segment_id:r}}),{urls:u,errorIds:l,traceIds:d,initialTimestamp:c}=n,p=(0,Q.KU)(),h=(0,Q.o5)(),f=p?.getTransport(),m=p?.getDsn();if(!p||!f||!m||!i.sampled)return Promise.resolve({});let g={type:uR,replay_start_timestamp:c/1e3,timestamp:o/1e3,error_ids:l,trace_ids:d,urls:u,replay_id:t,segment_id:r,replay_type:i.sampled},y=await hG({scope:h,client:p,replayId:t,event:g});if(!y)return p.recordDroppedEvent("event_processor","replay"),pr&&pu.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete y.sdkProcessingMetadata;let b=hH(y,s,m,p.getOptions().tunnel);try{a=await f.send(b)}catch(t){let e=Error(uF);try{e.cause=t}catch{}throw e}let v=tb({},a);if(ty(v,"replay"))throw new hK(v);if("number"==typeof a.statusCode&&(a.statusCode<200||a.statusCode>=300))throw new hY(a.statusCode);return a}
19class hY extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class hK extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}class hZ extends Error{constructor(){super("Session is too long, not sending replay")}}async function hJ(e,t={count:0,interval:uH}){let{recordingData:r,onError:n}=e;if(r.length)try{return await hq(e),!0}catch(r){if(r instanceof hY||r instanceof hK)throw r;if((0,D.o)("Replays",{_retryCount:t.count}),n&&n(r),t.count>=uW){let e=Error(`${uF} - max retries exceeded`);try{e.cause=r}catch{}throw e}return t.interval*=++t.count,new Promise((r,n)=>{on(async()=>{try{await hJ(e,t),r(!0)}catch(e){n(e)}},t.interval)})}}let hX="__THROTTLED",hQ="__SKIPPED";function h0(e,t,r){let n=new Map,o=e=>{let t=e-r;n.forEach((e,r)=>{r<t&&n.delete(r)})},i=()=>[...n.values()].reduce((e,t)=>e+t,0),a=!1;return(...r)=>{let s=Math.floor(Date.now()/1e3);if(o(s),i()>=t){let e=a;return a=!0,e?hQ:hX}a=!1;let u=n.get(s)||0;return n.set(s,u+1),e(...r)}}class h1{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:uB,sessionIdleExpire:uU},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=hL(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=h0((e,t)=>pC(this,e,t),300,5);let{slowClickTimeout:r,slowClickIgnoreSelectors:n}=this.getOptions(),o=r?{threshold:Math.min(uY,r),timeout:r,scrollTimeout:uK,ignoreSelector:n?n.join(","):""}:void 0;if(o&&(this.clickDetector=new cC(this,o)),pr){let t=e._experiments;pu.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===uI.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=cU({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=cU({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{cK(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){pr&&pu.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:r}=this._options,n=t<=0&&r<=0;if(this._requiresManualStart=n,!n){if(this._initializeSessionForSampling(e),!this.session){pr&&pu.exception(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",pr&&pu.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode){pr&&pu.log("Recording is already in progress");return}if(this._isEnabled&&"buffer"===this.recordingMode){pr&&pu.log("Buffering is in progress, call `flush()` to save the replay");return}pr&&pu.infoTick("Starting replay in session mode"),this._updateUserActivity();let e=pA({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled){pr&&pu.log("Buffering is in progress, call `flush()` to save the replay");return}pr&&pu.infoTick("Starting replay in buffer mode");let e=pA({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{let e=this._canvas;this._stopRecording=cm({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:uz}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:hB(this),...hF(),onMutation:this._onMutationHandler.bind(this),...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(!this._isEnabled)return;this._isEnabled=!1,this.recordingMode="buffer";let r=t??"manual";Q.KU()?.emit("replayEnd",{sessionId:this.session?.id,reason:r});try{pr&&pu.log(`Stopping Replay triggered by ${r}`),pJ(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,pb(this)}catch(e){this.handleException(e)}}pause(){!this._isPaused&&(this._isPaused=!0,this.stopRecording(),pr&&pu.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),pr&&pu.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();pr&&pu.log("Converting buffer to session"),await this.flushImmediate();let r=this.stopRecording();e&&r&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(e){if(!e||this.session?.sampled!==!1)return this.session?.id}
19checkAndHandleExpiredSession(){if(this._lastActivity&&pP(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session?.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${uI.location.pathname}${uI.location.hash}${uI.location.search}`,t=`${uI.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let r=this._throttledAddEvent(e,t);if(r===hX){let e=cU({category:"replay.throttled"});this.addUpdate(()=>!pN(this,{type:cv,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return r}getCurrentRoute(){let e=this.lastActiveSpan||(0,ei.Bk)(),t=e&&(0,ei.zU)(e),r=(t&&(0,ei.et)(t).data||{})[eo.i_];if(t&&r&&["route","custom"].includes(r))return(0,ei.et)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=pf({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session&&Q.KU()?.emit("replayStart",{sessionId:this.session.id,recordingMode:this.recordingMode}),this.startRecording(),"session"===this.recordingMode&&this.session&&pX(this.session.id)}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,r=pA({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=r}_checkSession(){if(!this.session)return!1;let e=this.session;return!pD(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"sessionExpired"}),this.initializeSampling(e.id))}_addListeners(){try{uI.document.addEventListener("visibilitychange",this._handleVisibilityChange),uI.addEventListener("blur",this._handleWindowBlur),uI.addEventListener("focus",this._handleWindowFocus),uI.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(h$(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=pt(this)}_removeListeners(){try{uI.document.removeEventListener("visibilitychange",this._handleVisibilityChange),uI.removeEventListener("blur",this._handleWindowBlur),uI.removeEventListener("focus",this._handleWindowFocus),uI.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){if(this.session){if(pD(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})){pJ();return}e&&this._createCustomBreadcrumb(e),this.conditionalFlush()}}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){pr&&pu.log("Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:dk.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=c0(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(p2(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let r=t.getEarliestTimestamp();
19r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){pr&&pu.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents&&(await hM(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new hZ;let r=this._popEventContext(),n=this.session.segmentId++;this._maybeSaveSession();let o=await this.eventBuffer.finish();await hJ({replayId:e,recordingData:o,segmentId:n,eventContext:r,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendError"});let e=(0,Q.KU)();if(e){let r;r=t instanceof hK?"ratelimit_backoff":t instanceof hZ?"invalid":"send_error",e.recordDroppedEvent(r,"replay")}}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){pr&&pu.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started,r=Date.now()-t;this._debouncedFlush.cancel();let n=r<this._options.minReplayDuration,o=r>this._options.maxReplayDuration+5e3;if(n||o){pr&&pu.log(`Session duration (${Math.floor(r/1e3)}s) is too ${n?"short":"long"}, not sending replay.`),n&&this._debouncedFlush();return}let i=this.eventBuffer;i&&0===this.session.segmentId&&!i.hasCheckout&&pr&&pu.log("Flushing initial segment without checkout.");let a=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,a&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&p_(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{let r=hz(e.target),n=t.join(",");return r?.matches(n)}))return!1;let r=e.length,n=this._options.mutationLimit,o=this._options.mutationBreadcrumbLimit,i=n&&r>n;if(r>o||i){let e=cU({category:"replay.mutations",data:{count:r,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function h2(e,t){return[...e,...t].join(",")}function h3({mask:e,unmask:t,block:r,unblock:n,ignore:o}){let i=["base","iframe[srcdoc]:not([src])"];return{maskTextSelector:h2(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:h2(t,[]),blockSelector:h2(r,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:h2(n,[]),ignoreSelector:h2(o,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function h4({el:e,key:t,maskAttributes:r,maskAllText:n,privacyOptions:o,value:i}){if(o.unmaskTextSelector&&e.matches(o.unmaskTextSelector))return i;let a=r.includes(t),s=n&&"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"");return a||s?i.replace(/[\S]/g,"*"):i}let h5='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',h9=["content-length","content-type","accept"],h8=Symbol.for("sentry__originalRequestBody"),h6=!1,h7=!1;function fe(){if("undefined"==typeof Request||h7)return;let e=Request;try{let t=function(t,r){let n=new e(t,r);return r?.body!=null&&(n[h8]=r.body),n};t.prototype=e.prototype,T.O.Request=t,h7=!0}catch{}}let ft=e=>new fr(e);class fr{constructor({flushMinDelay:e=uj,flushMaxDelay:t=uV,minReplayDuration:r=uJ,maxReplayDuration:n=uQ,stickySession:o=!0,useCompression:i=!0,workerUrl:a,_experiments:s={},maskAllText:u=!0,maskAllInputs:l=!0,blockAllMedia:d=!0,mutationBreadcrumbLimit:c=750,mutationLimit:p=1e4,slowClickTimeout:h=7e3,slowClickIgnoreSelectors:f=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:b=[],networkResponseHeaders:v=[],mask:S=[],maskAttributes:_=["title","placeholder","aria-label"],unmask:w=[],block:x=[],unblock:T=[],ignore:E=[],maskFn:P,beforeAddRecordingEvent:k,beforeErrorSampling:D,onError:A,attachRawBodyFromRequest:O=!1}={}){this.name="Replay";let N=h3({mask:S,unmask:w,block:x,unblock:T,ignore:E});if(this._recordingOptions={maskAllInputs:l,maskAllText:u,maskInputOptions:{password:!0},maskTextFn:P,maskInputFn:P,maskAttributeFn:(e,t,r)=>h4({maskAttributes:_,maskAllText:u,privacyOptions:N,key:e,value:t,el:r}),...N,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!s.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(r,uX),maxReplayDuration:Math.min(n,uQ),stickySession:o,useCompression:i,workerUrl:a,blockAllMedia:d,maskAllInputs:l,maskAllText:u,mutationBreadcrumbLimit:c,mutationLimit:p,slowClickTimeout:h,slowClickIgnoreSelectors:f,
19networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:fo(b),networkResponseHeaders:fo(v),beforeAddRecordingEvent:k,beforeErrorSampling:D,onError:A,attachRawBodyFromRequest:O,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${h5}`:h5,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&e3())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return h6}set _isInitialized(e){h6=e}afterAllSetup(e){e3()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&fe(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode,reason:"manual"}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){let t=fn(this._initialOptions,e);this._replay=new h1({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function fn(e,t){let r=t.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...e},o=(0,tE.i)(r.replaysSessionSampleRate),i=(0,tE.i)(r.replaysOnErrorSampleRate);return null==o&&null==i&&(0,E.pq)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=o&&(n.sessionSampleRate=o),null!=i&&(n.errorSampleRate=i),n}function fo(e){return[...h9,...e.map(e=>e.toLowerCase())]}var fi=r(85059);globalThis._sentryRewritesTunnelPath="/monitoring",globalThis.SENTRY_RELEASE=void 0,globalThis._sentryBasePath=void 0,globalThis._sentryNextJsVersion="15.1.7",globalThis._sentryRewriteFramesAssetPrefixPath="",globalThis._sentryAssetPrefix=void 0,globalThis._sentryExperimentalThirdPartyOriginStackFrames=void 0,globalThis._sentryRouteManifest='{"isrRoutes":[],"dynamicRoutes":[],"staticRoutes":[]}';let fa=(0,fi.Fj)();uk({...(0,fi.Bm)(),integrations:fa?[ft({blockSelector:"iframe",maskAllText:!1,blockAllMedia:!1})]:[],beforeSend(e,t){if(t.originalException){var r,n,o,i,a,s;let e=t.originalException;if(e instanceof DOMException&&18===e.code&&((null===(r=e.message)||void 0===r?void 0:r.includes("HTMLCanvasElement"))||(null===(n=e.message)||void 0===n?void 0:n.includes("cross-origin"))||(null===(o=e.message)||void 0===o?void 0:o.includes("Permission denied")))||e instanceof Error&&"SecurityError"===e.name&&((null===(i=e.message)||void 0===i?void 0:i.includes("HTMLCanvasElement"))||(null===(a=e.message)||void 0===a?void 0:a.includes("cross-origin"))||(null===(s=e.message)||void 0===s?void 0:s.includes("Permission denied"))))return null}return e},replaysSessionSampleRate:fa?.1:0,replaysOnErrorSampleRate:fa?1:0})},48343:(e,t,r)=>{"use strict";function n(){throw Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled.")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return n}}),r(98191).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},90094:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return n},isDynamicServerError:function(){return o}});let r="DYNAMIC_SERVER_USAGE";
19class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return d.ServerInsertedHTMLContext},forbidden:function(){return u.forbidden},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},unauthorized:function(){return u.unauthorized},unstable_rethrow:function(){return u.unstable_rethrow},useParams:function(){return f},usePathname:function(){return p},useRouter:function(){return h},useSearchParams:function(){return c},useSelectedLayoutSegment:function(){return y},useSelectedLayoutSegments:function(){return g},useServerInsertedHTML:function(){return d.useServerInsertedHTML}});let n=r(44349),o=r(46874),i=r(87287),a=r(66813),s=r(72674),u=r(5795),l=r(7858),d=r(92577);function c(){let e=(0,n.useContext)(i.SearchParamsContext);return(0,n.useMemo)(()=>e?new u.ReadonlyURLSearchParams(e):null,[e])}function p(){return(0,l.useDynamicRouteParams)("usePathname()"),(0,n.useContext)(i.PathnameContext)}function h(){let e=(0,n.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function f(){return(0,l.useDynamicRouteParams)("useParams()"),(0,n.useContext)(i.PathParamsContext)}function m(e,t,r,n){let o;if(void 0===r&&(r=!0),void 0===n&&(n=[]),r)o=e[1][t];else{var i;let t=e[1];o=null!=(i=t.children)?i:Object.values(t)[0]}if(!o)return n;let u=o[0],l=(0,a.getSegmentValue)(u);return!l||l.startsWith(s.PAGE_SEGMENT_KEY)?n:(n.push(l),m(o,t,!1,n))}function g(e){void 0===e&&(e="children"),(0,l.useDynamicRouteParams)("useSelectedLayoutSegments()");let t=(0,n.useContext)(o.LayoutRouterContext);return t?m(t.tree,e):null}function y(e){void 0===e&&(e="children"),(0,l.useDynamicRouteParams)("useSelectedLayoutSegment()");let t=g(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===s.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5795:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return d},RedirectType:function(){return o.RedirectType},forbidden:function(){return a.forbidden},notFound:function(){return i.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect},unauthorized:function(){return s.unauthorized},unstable_rethrow:function(){return u.unstable_rethrow}});let n=r(63864),o=r(67403),i=r(16158),a=r(48343),s=r(82026),u=r(79454);class l extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class d extends URLSearchParams{append(){throw new l}delete(){throw new l}set(){throw new l}sort(){throw new l}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return o}});let n=""+r(98191).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function o(){let e=Error(n);throw e.digest=n,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
19dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63864:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRedirectError:function(){return a},getRedirectStatusCodeFromError:function(){return c},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return u},redirect:function(){return s}});let n=r(76938),o=r(61285),i=r(67403);function a(e,t,r){void 0===r&&(r=o.RedirectStatusCode.TemporaryRedirect);let n=Error(i.REDIRECT_ERROR_CODE);return n.digest=i.REDIRECT_ERROR_CODE+";"+t+";"+e+";"+r+";",n}function s(e,t){let r=n.actionAsyncStorage.getStore();throw a(e,t||((null==r?void 0:r.isAction)?i.RedirectType.push:i.RedirectType.replace),o.RedirectStatusCode.TemporaryRedirect)}function u(e,t){throw void 0===t&&(t=i.RedirectType.replace),a(e,t,o.RedirectStatusCode.PermanentRedirect)}function l(e){return(0,i.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function d(e){if(!(0,i.isRedirectError)(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function c(e){if(!(0,i.isRedirectError)(e))throw Error("Not a redirect error");return Number(e.digest.split(";").at(-2))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66813:(e,t)=>{"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},23560:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{StaticGenBailoutError:function(){return n},isStaticGenBailoutError:function(){return o}});let r="NEXT_STATIC_GEN_BAILOUT";class n extends Error{constructor(...e){super(...e),this.code=r}}function o(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82026:(e,t,r)=>{"use strict";function n(){throw Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled.")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return n}}),r(98191).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79454:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return s}});let n=r(96503),o=r(30576),i=r(65327),a=r(16539);function s(e){if((0,a.isNextRouterError)(e)||(0,i.isBailoutToCSRError)(e)||(0,n.isDynamicUsageError)(e)||(0,o.isPostpone)(e))throw e;e instanceof Error&&"cause"in e&&s(e.cause)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},92577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return i}});let n=r(48509)._(r(44349)),o=n.default.createContext(null);function i(e){let t=(0,n.useContext)(o);t&&t(e)}},45486:(e,t,r)=>{"use strict";function n(e){let t=[];for(let a=0;a<e.length;a+=4){var r,n,o,i;t.push(((null!==(r=e[a])&&void 0!==r?r:0)<<24|(null!==(n=e[a+1])&&void 0!==n?n:0)<<16|(null!==(o=e[a+2])&&void 0!==o?o:0)<<8|(null!==(i=e[a+3])&&void 0!==i?i:0))>>>0)}return CryptoJS.MD5(CryptoJS.lib.WordArray.create(t,e.length)).toString()}r(27594);var o=r(31943);r.n(o)()({storeAsString:!0})},66309:(e,t,r)=>{"use strict";r.d(t,{i0x:()=>$,RzB:()=>g,G$A:()=>O,u_K:()=>x,xei:()=>i,wM6:()=>C,rNN:()=>p,zId:()=>d,ooL:()=>n.oo,icU:()=>c,riR:()=>a,NZz:()=>b,AQ_:()=>s,fiG:()=>D,XXc:()=>f,Jlo:()=>k,T8D:()=>E,zRD:()=>v,p22:()=>S,AaI:()=>_,Fe3:()=>N,ir4:()=>u,U6L:()=>w,QdB:()=>m,$iB:()=>h,Nkm:()=>A,KNB:()=>P,Wrw:()=>T,CEv:()=>y});var n=r(39640);class o{constructor(e,t,r=!1){this.baseUrl=r?(0,n.iq)(e):(0,n.e9)(e),this.request=t}}class i extends o{getChannel(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/configuration/api/sources"),headers:e})}getChannelReqUrl(){return"".concat(this.baseUrl,"/configuration/api/sources")}getCountryList(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/geolocation/api/countries?smsAvailable=true&sticky=false&language=").concat(e)})}getCountryReqUrl(e){return"".concat(this.baseUrl,"/geolocation/api/countries?smsAvailable=true&sticky=false&language=").concat(e)}needCaptcha(e,t,r){return this.request({method:"GET",url:"".concat(this.baseUrl,"/verification/api/captcha/app/security/anonymous/doRisk?captcha_type=").concat(e,"&type=").concat(t,"&identity=").concat(encodeURIComponent(r))})}sendCaptcha(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/verification/api/captcha/app/security/anonymous"),headers:{platformType:"3"},data:e})}verifyCaptcha(e){return this.request({method:"PATCH",url:"".concat(this.baseUrl,"/verification/api/captcha"),data:e})}isRegister(e,t){return this.request({method:"GET",url:"".concat(this.baseUrl,"/account/api/users/accounts?type=").concat(e,"&identity=").concat(t)})}register(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/account/api/users/accounts"),data:e})}login(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/account/api/token"),data:e})}verifyToken(e){return this.request({method:"PATCH",url:"".concat(this.baseUrl,"/verification/api/token"),data:e})}refreshToken(){return this.request({method:"PUT",url:"".concat(this.baseUrl,"/account/api/token")})}logout(){return this.request({method:"DELETE",url:"".concat(this.baseUrl,"/account/api/token")})}passwordLogin(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/account/api/token"),data:e})}changePassword(e){return this.request({method:"PATCH",url:"".concat(this.baseUrl,"/_api/users/accounts/password"),data:e})}supplementPassword(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/account/api/users/accounts/password"),data:e})}forgotPassword(e){return this.request({method:"PUT",url:"".concat(this.baseUrl,"/_api/users/accounts/password"),data:e})}bindIdentity(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/account/api/users/accounts/identity"),data:e})}updateIdentity(e){return this.request({method:"PATCH",url:"".concat(this.baseUrl,"/_api/users/accounts/identity"),data:e})}setTransactionCode(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/masterAccount/api/masterAccounts/transactionCode"),data:e})}verifyTransactionCode(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/masterAccount/api/masterAccounts/transactionCode/verification"),data:e})}updateTransactionCode(e){return this.request({method:"PATCH",url:"".concat(this.baseUrl,"/masterAccount/api/masterAccounts/transactionCode"),data:e})}verifyIDNumber(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/masterAccount/api/masterAccounts/idNumber/ver
19ification"),data:e})}forgotTransactionCode(e){return this.request({method:"PUT",url:"".concat(this.baseUrl,"/_api/masterAccounts/transactionCode"),data:e})}getSecurityStatus(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/_api/users/accounts/security/status")})}updateNickname(e){return this.request({method:"PATCH",url:"".concat(this.baseUrl,"/profile/api/users/profile/nickname"),data:e})}verifyLoginPassword(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/account/api/users/accounts/password/verification"),data:e})}getAnonymousToken(){return this.request({method:"POST",url:"".concat(this.baseUrl,"/account/api/token/virtualization"),data:{}})}verifyOauthToken(e,t){return this.request({method:"POST",url:"".concat(this.baseUrl,"/verification/api/oauth/").concat(e,"/token"),data:t})}bindOauth(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/account/api/oauth/bind"),data:e})}bindOauthByChannel(e,t){return this.request({method:"POST",url:"".concat(this.baseUrl,"/verification/api/oauth/").concat(e,"/bind"),data:t})}deleteAccount(e){let{captcha:t}=e;return this.request({method:"POST",url:"".concat(this.baseUrl,"/_api/users/accounts/logoff"),data:{captcha:t}})}}class a extends o{getEarningCalendar(e){let t="".concat(this.baseUrl,"/ticker/financial/report/api/report/").concat(e);return this.request({method:"GET",url:t})}getOptionEarnProducts(){let e="".concat(this.baseUrl,"/ticker/api/products");return this.request({method:"GET",url:e})}getOwnedOptionEarnProducts(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fund",r="".concat(this.baseUrl,"/portfolio/api/products/").concat(t,"/users/").concat(e,"/orders");return this.request({method:"GET",url:r})}getEarnHistoryProfit(e){let t="".concat(this.baseUrl,"/portfolio/api/products/users/").concat(e,"/aggregate");return this.request({method:"GET",url:t})}addEarnOptionOrder(e,t,r){let n="".concat(this.baseUrl,"/portfolio/api/products/users/").concat(e,"/orders");return this.request({method:"POST",url:n,data:t,headers:{nonce:r}})}updateAutoOrder(e,t,r){let n="".concat(this.baseUrl,"/portfolio/api/products/users/").concat(e,"/orders/").concat(t);return this.request({method:"PATCH",url:n,data:{rolling:r}})}getEarnOrderDetail(e,t){let r="".concat(this.baseUrl,"/portfolio/api/products/users/").concat(e,"/orders/").concat(t);return this.request({method:"GET",url:r})}cancelEarnOrder(e,t){let r="".concat(this.baseUrl,"/portfolio/api/products/users/").concat(e,"/orders/").concat(t);return this.request({method:"DELETE",url:r})}getEarnProductDetail(e){let t="".concat(this.baseUrl,"/ticker/api/products/").concat(e);return this.request({method:"GET",url:t})}getSymbolOrder(e,t){let r="".concat(this.baseUrl,"/portfolio/api/products/fund/symbols/").concat(t,"/users/").concat(e);return this.request({method:"GET",url:r})}checkoutProductHasOrder(e,t){let r="".concat(this.baseUrl,"/portfolio/api/products/fund/symbols/").concat(t,"/users/").concat(e);return this.request({method:"GET",url:r})}getBetterBuys(){let e="".concat(this.baseUrl,"/ticker/api/v2/options/betterBuys");return this.request({method:"GET",url:e})}getMoneyRatio(){let e="".concat(this.baseUrl,"/portfolio/api/moneyBox");return this.request({method:"GET",url:e})}getMoneyBox(e,t){let r="".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/currencies/").concat(t,"/assets");return this.request({method:"GET",url:r})}getFundList(){let e="".concat(this.baseUrl,"/ticker/api/products?underlyingSymbol=morgan_fund&limit=100");return this.request({method:"GET",url:e})}getWealthList(e){let t="".concat(this.baseUrl,"/ticker/api/products?underlyingSymbol=").concat(e);return this.request({method:"GET",url:t})}createFundSubscribe(e){let t="".concat(this.baseUrl,"/portfolio/api/fundOrders");return this.request({method:"POST",url:t,data:e})}changeFundRolling(e,t,r,n){let o="".concat(this.baseUrl,"/portfolio/api/products/users/").concat(e,"/orders/").concat(t);return this.request({method:"PATCH",url:o,data:{rolling:r},headers:{nonce:n}})}getFundSubscribeDetail(e){let t="".concat(this.baseUrl,"/portfolio/api/fundOrders/").concat(e);return this.request({method:"GET",url:t})}getFundOrderDetail(e,t){let r="".concat(this.baseUrl,"/portfolio/api/products/users/").concat(e,"/orders/").concat(t);return this.request({method:"GET",url:r})}postVote(e,t){let r="".concat(this.baseUrl,"/ticker/api/financial/report/votes");return this.request({method:"POST",url:r,data:{reportId:e,put:t}})}}class s extends o{getMasterAccountPath(){return"".concat(this.baseUrl,"/masterAccount/api/masterAccounts/status")}useGetMasterAccountPath(){return this.getMasterAccountPath()}getMasterAccount(){return this.request({method:"GET",url:this.getMasterAccountPath()})}getUserStatusInfo(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/_api/users/accounts/security/status")})}submitQuestionnaire(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/masterAccount/api/questions/answers"),data:e})}getQuestionnaire(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/masterAccount/api/questions?type=").concat(e)})}getAnswers(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/masterAccount/api/questions/answers?questionType=").concat(e)})}}class u extends o{getUserProfile(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/profile/api/users/profile")})}updateUserProfile(e){return this.request({method:"PUT",url:"".concat(this.baseUrl,"/profile/api/users/profile"),data:e})}getShareCode(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/promotion/api/invite/code")})}getProfilePrivacy(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/profile/api/privacy")}).then(e=>200!==e.code?Promise.reject(e.message):e.data).catch(e=>(console.error(e),null))}getCanReadMoments(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/social/api/moments/read")}).then(e=>200!==e.code?Promise.reject(e.message):e.data).catch(e=>(console.error(e),null))}getMasterAccountStatus(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/masterAccount/api/masterAccounts/status")}).then(e=>200!==e.code?Promise.reject(e.message):e.data).catch(e=>(console.error(e),null))}bindInviter(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/promotion/api/invite/bindInviter?inviteCode=").concat(e),headers:{resourceId:"promotion/api/invite/bindInviter"}})}}var l=r(40757);class d{getGuideConfig(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/bobby/api/users/").concat(e,"/guide")}}getRecommendButtons(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/bobby/api/users/").concat(e,"/recommend/button")}}getTips(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/bobby/api/users/").concat(e,"/tips")}}getChatConfig(){return{method:"GET",getPath:()=>"".concat(this.baseUrl,"/bot/api/chats/default")}}sendMessageFirst(){return{method:"POST",getPath:()=>"".concat(this.baseUrl,"/bot/api/chats")}}sendMessage(){return{method:"POST",getPath:e=>"".concat(this.baseUrl,"/bot/api/chats/").concat(e,"/blocks")}}abortBlock(){return{method:"POST",getPath:(e,t)=>"".concat(this.baseUrl,"/bot/api/chats/").concat(e,"/blocks/").concat(t,"/abort")}}registerAttachment(){return{method:"POST",getPath:()=>"".concat(this.baseUrl,"/bot/api/attachments")}}uploadAttachment(){return this.registerAttachment()}resumeBlockStream(){return{method:"GET",getPath:(e,t,r)=>{let n="".concat(this.baseUrl,"/bot/api/chats/").concat(e,"/blocks/").concat(t,"/stream");if(!r)return n;let o=new URLSearchParams({after:r});return"".concat(n,"?").concat(o.toString())}}}getChatHistoryMessage(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/bot/api/chats/").concat(e)}}getHistory(){return{method:"GET",getPath:(e,t,r)=>{let n="".concat(this.baseUrl,"/bot/api/chats"),o=new URLSearchParams;e&&o.set("cursor",e),null!=t&&o.set("limit",String(t)),r&&o.set("bobb
19yMode",r);let i=o.toString();return i?"".concat(n,"?").concat(i):n}}}updateChatTitle(){return{method:"PATCH",getPath:e=>"".concat(this.baseUrl,"/bot/api/chats/").concat(e,"/title")}}updateChatPin(){return{method:"PATCH",getPath:e=>"".concat(this.baseUrl,"/bot/api/chats/").concat(e,"/pin")}}deleteChat(){return{method:"DELETE",getPath:(e,t)=>{let r="".concat(this.baseUrl,"/bot/api/chats/").concat(e);return"pro"===t?"".concat(r,"?bobbyMode=pro"):r}}}searchChats(){return{method:"POST",getPath:()=>"".concat(this.baseUrl,"/bot/api/chats/search")}}likeOrDislike(){return{method:"POST",getPath:(e,t)=>"".concat(this.baseUrl,"/bot/api/chats/").concat(e,"/blocks/").concat(t,"/feedback")}}createShare(){return{method:"POST",getPath:()=>"".concat(this.baseUrl,"/bot/social/api/ai/conversation/share")}}getShareBlockIds(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/bot/social/api/ai/conversation/share/").concat(e)}}batchGetMessages(){return{method:"GET",getPath:(e,t,r)=>{let n=new URLSearchParams({ids:e});t&&n.set("bobbyMode",t);let o=null==r?void 0:r.trim();return o&&n.set("chatId",o),"".concat(this.baseUrl,"/bot/api/chats/blocks?").concat(n.toString())}}}createNotificationEventsWsTicket(){var e=this;return{method:"POST",getPath:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pro",r=new URLSearchParams({bobbyMode:t});return"".concat(e.baseUrl,"/bot/api/chats/notification-events/ws-ticket?").concat(r.toString())}}}listNotificationEvents(){return{method:"GET",getPath:e=>{var t;let r=new URLSearchParams;return r.set("bobbyMode",null!==(t=null==e?void 0:e.bobbyMode)&&void 0!==t?t:"pro"),(null==e?void 0:e.cursor)&&r.set("cursor",e.cursor),(null==e?void 0:e.limit)!=null&&r.set("limit",String(e.limit)),(null==e?void 0:e.conversationId)&&r.set("conversationId",e.conversationId),"".concat(this.baseUrl,"/bot/api/chats/notification-events?").concat(r.toString())}}}getSuggestion(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/bobby/api/users/").concat(e,"/daily/trending")}}constructor(e,t="api"){this.baseUrl="bobby"===t?(0,l.iq)(e):(0,l.e9)(e)}}class c extends o{getAppSettings(e){let t=e?"?version=".concat(e):"";return this.request({method:"GET",url:"".concat(this.baseUrl,"/configuration/api/settings").concat(t)})}getAppConfigByUid(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/configuration/api/users/").concat(e,"/settings")})}setAppConfigByUid(e,t){return this.request({method:"POST",url:"".concat(this.baseUrl,"/configuration/api/users/").concat(e,"/settings"),data:t})}getUserConfigByKey(e,t){return this.request({method:"GET",url:"".concat(this.baseUrl,"/configuration/api/users/").concat(e,"/settings/").concat(encodeURIComponent(t))})}getLatestAppVersion(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/configuration/api/versions/latest")})}getRegionMatch(e){let t=encodeURIComponent(e);return this.request({method:"GET",url:"".concat(this.baseUrl,"/masterAccount/api/regions/").concat(t,"/match")})}}class p extends o{getStatus(e){let t=new URLSearchParams;(null==e?void 0:e.with_profile)&&t.set("with_profile","1"),(null==e?void 0:e.reauth)&&t.set("reauth","1");let r=t.toString();return this.request({method:"GET",url:"".concat(this.baseUrl,"/bot/api/bobby-auth/status").concat(r?"?".concat(r):"")})}revoke(){return this.request({method:"POST",url:"".concat(this.baseUrl,"/bot/api/bobby-auth/revoke")})}switchLive(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/bot/api/bobby-auth/switch-live"),data:{live:e}})}approve(e,t){let r={auth_request_token:e};return(null==t?void 0:t.live)!==void 0&&(r.live=t.live),this.request({method:"POST",url:"".concat(this.baseUrl,"/bot/api/bobby-auth/approve"),data:r})}}class h extends o{getTickers(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/tickers/").concat(encodeURI(e))}).then(e=>{if(200!==e.code)throw Error(e.message);return e.data}).catch(e=>(console.error(e),[]))}getOption(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/options/").concat(encodeURI(e))}).then(e=>{if(200!==e.code)throw Error(e.message);return e.data}).catch(e=>(console.error(e),null))}getLatestTick(e,t){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/markets/").concat(t,"/ticks/").concat(encodeURI(e),"/latest")}).then(e=>{if(200!==e.code)throw Error(e.message);return e.data}).catch(e=>(console.error(e),null))}fetchQuote(e,t){return this.request({method:"GET",url:"".concat(this.baseUrl,"/_api/markets/").concat(e,"/quotes/").concat(encodeURI(t))}).then(e=>{if(200!==e.code)throw Error(e.message);return e.data}).catch(e=>(console.error(e),null))}checkBetterBuyProducts(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/options/betterBuy/").concat(encodeURI(e))}).then(e=>{if(200!==e.code)throw Error(e.message);return e.data}).catch(e=>(console.error(e),null))}searchTick(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/search/").concat(encodeURIComponent(e))})}fetchPosition(e,t){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/users/").concat(t,"/symbols/").concat(encodeURI(e),"/position")}).then(e=>{if(200!==e.code)throw Error(e.message);return e.data}).catch(e=>(console.error(e),null))}constructor(e,t,r=!1){super(e,t,r)}}class f extends o{getOrderDetail(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/orders/").concat(e)}).then(e=>{if(200!==e.code)throw Error(e.message);return e.data}).catch(e=>(console.error(e),null))}getTwapOrderDetail(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/algoOrders/").concat(e)}).then(e=>{if(200!==e.code)throw Error(e.message);return e.data}).catch(e=>(console.error(e),null))}getOrderListQuery(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:30,i=arguments.length>5?arguments[5]:void 0;return"".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/orders?tab=").concat(t,"&filled=").concat(r,"&daysBeyond=").concat(n,"&limit=").concat(o).concat(i?"&cursor=".concat(i):"")}getTwapOrderListQuery(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:30,i=arguments.length>5?arguments[5]:void 0;return"".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/algoOrders?filled=").concat(r,"&daysBeyond=").concat(n,"&limit=").concat(o).concat(i?"&cursor=".concat(i):"")}getOrderList(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:30,a=this.getOrderListQuery(e,t,r,n,i,o);return this.request({method:"GET",url:a})}fetchOrderListInfinite(e){return this.request({method:"GET",url:e})}getCopyOrderListQuery(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30;return"".concat(this.baseUrl,"/social/api/users/").concat(e,"/working/copyTradingPlans?completed=").concat(t,"&limit=").concat(n).concat(r?"&cursor=".concat(r):"")}fetchCopyOrderListInfinite(e){return this.request({method:"GET",url:e})}getCopyOrderLists(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30,o=this.getCopyOrderListQuery(e,t,r,n);return this.fetchCopyOrderListInfinite(o)}getEarnOrderListQuery(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:30;return"".concat(this.baseUrl,"/portfolio/api/products/users/").concat(e,"/orders?filled=").concat(t,"&daysBeyond=").concat(r,"&limit=").concat(o).concat(n?"&cursor=".concat(n):"")}fetchEarnOrderListInfinite(e){return this.request({method:"GET",url:e})}getEarnOrderLists(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:30,i=this.getEarnOrderListQuery(e,t,r,n,o);return this.fetchEarnOrderListInfinite(i)}cancelEarnOrder(e,t){let r="".concat(this.baseUrl,"/portfolio/api/products/users/").concat(e,"/orders/").concat(t);return this.request({method:"DELETE",url:r}).then(e=>{if(200!==e.code)throw Error(e.message);return e}).catch(e=>(console.error("Failed to cancel order:",e),null))}getFundOrderListQuery(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;return"".concat(this.baseUrl,"/portfolio/api/cash/users/").concat(e,"?limit=").concat(r).concat(t?"&cursor=".concat(t):"")}fetchFundOrderListInfinite(e){return this.request({method:"GET",url:e})}getFundOrders(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,n=this.getFundOrderListQuery(e,t,r);return this.fetchFundOrderListInfinite(n)}cancelOrder(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t?"algoOrders":"orders";return this.request({method:"DELETE",url:"".concat(this.baseUrl,"/portfolio/api/").concat(r,"/").concat(e)})}getOrderAttachments(e,t){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/orders/").concat(t,"/attachments")})}placeNormalOrder(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/portfolio/api/orders"),data:e})}placeAlgoOrder(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/portfolio/api/algoOrders"),data:e})}placeOcoOrder(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/portfolio/api/advancedOrders/oco/orders"),data:e})}constructor(e,t,r=!1){super(e,t,r)}}class m extends o{getRockStar(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/social/api/rockStar/").concat(e)}).then(e=>200!==e.code?Promise.reject(e.message):e.data).catch(e=>(console.error(e),null))}getRockStarList(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/social/api/rockStar/list?").concat(e.map(e=>"userIds=".concat(e)).join("&"))}).then(e=>200!==e.code?Promise.reject(e.message):e.data.map(e=>({...e,userId:"".concat(e.userId)}))).catch(e=>(console.error(e),[]))}constructor(e,t,r=!1){super(e,t,r)}}class g{getAiStrategies(){var e=this;return{method:"GET",getPath:function(t,r){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,i=arguments.length>4?arguments[4]:void 0,a=i?"&cursor=".concat(i):"";return"".concat(e.baseUrl,"/social/api/strategies?filter=").concat(t,"&sort=").concat(r,"&asc=").concat(n,"&limit=").concat(o).concat(a)}}}getUserStats(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/social/api/users/").concat(e,"/stats")}}getEarningYieldsChart(){return{method:"GET",getPath:(e,t)=>"".concat(this.baseUrl,"/social/api/earningYields/users/").concat(e,"/chart?type=").concat(t)}}getBackTests(){return{method:"GET",getPath:(e,t)=>"".concat(this.baseUrl,"/social/api/users/").concat(e,"/backTests?timeframe=").concat(t)}}checkBackTestExists(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/social/api/users/backTests/").concat(e,"/exists")}}createBackTest(){return{method:"POST",getPath:e=>"".concat(this.baseUrl,"/strategy/api/users/").concat(e,"/backTests")}}getBackTest(){return{method:"GET",getPath:(e,t,r)=>"".concat(this.baseUrl,"/strategy/api/users/").concat(e,"/backTests/").concat(t,"?timeframe=").concat(r)}}getTickers(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/ticker/api/tickers/").concat(e)}}getPortfolio(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/social/api/users/").concat(e,"/portfolio")}}getCopyTradingPlans(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/social/api/leaders/").concat(e,"/copyTradingPlans")}}
19getInspirations(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/social/api/users/").concat(e,"/inspirations")}}constructor(e){this.baseUrl=(0,l.e9)(e)}}class y extends o{getWatchlistDetail(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/watchlist/api/watchlist/").concat(e)}}getStockListInWatchlist(){return{method:"GET",getPath:(e,t)=>"".concat(this.baseUrl,"/watchlist/api/watchlist/").concat(e,"/symbols?sort=").concat(t)}}getTickerChart(){return{method:"GET",getPath:(e,t)=>"".concat(this.baseUrl,"/ticker/api/chart/").concat(e,"/").concat(t,"?span=1month")}}getModuleWatchlist(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/portal/api/page/watchlists?tagId=").concat(e)}}getWatchlistAggregation(){return{method:"GET",getPath:e=>"".concat(this.baseUrl,"/portal/api/page/watchlists/aggregation?moduleId=").concat(e,"&limit=100")}}getMyWatchLists(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3,n=arguments.length>3?arguments[3]:void 0,o="".concat(this.baseUrl,"/watchlist/api/v2/watchlist?sort=").concat(e,"&type=").concat(t,"&limit=").concat(r);if(n&&(o+="&cursor=".concat(n)),!this.request)throw Error("Request instance is not initialized");return this.request({method:"GET",url:o}).then(e=>{if(200!==e.code)throw Error(e.message);return e}).catch(e=>(console.error("Failed to get mywatchlist:",e),null))}getWatchListSymbols(e,t){let r="".concat(this.baseUrl,"/watchlist/api/watchlist/").concat(e,"/symbols?sort=").concat(t);if(!this.request)throw Error("Request instance is not initialized");return this.request({method:"GET",url:r}).then(e=>{if(200!==e.code)throw Error(e.message);return e}).catch(e=>(console.error("Failed to get watchlist symbols:",e),null))}adjustWatchList(e,t){if(!this.request)throw Error("Request instance is not initialized");let r={method:"POST",url:"".concat(this.baseUrl,"/watchlist/api/watchlist/").concat(e,"/symbols"),headers:{resourceId:"watchlist/api/watchlist/".concat(e,"/symbols")},data:t};return this.request(r)}getAuthoredSymbols(){let e="".concat(this.baseUrl,"/watchlist/api/watchlist/authoredSymbols");return this.request({method:"GET",url:e})}getHotSearch(){let e="".concat(this.baseUrl,"/watchlist/api/hot/search");return this.request({method:"GET",url:e})}searchWatchlist(e){let t="".concat(this.baseUrl,"/watchlist/api/search/").concat(encodeURIComponent(e));return this.request({method:"GET",url:t})}constructor(e,t,r=!1){super(e,t,r)}}class b extends o{getMarketRules(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/markets/subscriptions/rules")})}constructor(e,t,r=!1){super(e,t,r)}}class v extends o{getPageSymbols(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r="".concat(this.baseUrl,"/portal/api/page/symbols?tagId=").concat(e,"&limit=").concat(t);return this.request({method:"GET",url:r})}getPageModules(e){let t="".concat(this.baseUrl,"/portal/api/page/modules?location=").concat(e);return this.request({method:"GET",url:t})}getAppTags(e){let t="".concat(this.baseUrl,"/api/page/tags?tagType=").concat(e,"&location=home");return this.request({method:"GET",url:t})}getAppTagSymbols(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,r="".concat(this.baseUrl,"/portal/api/page/symbols?tagId=").concat(e,"&limit=").concat(t);return this.request({method:"GET",url:r})}constructor(e,t,r=!1){super(e,t,r)}}class S extends o{getAssetEarningYieldChart(e){let t="".concat(this.baseUrl,"/portfolio/api/asset/earningYield/chart?type=").concat(e);return this.request({method:"GET",url:t})}getTemplatesMaxQuantities(e){let t="".concat(this.baseUrl,"/portfolio/api/templates/max/quantities").concat(e?"?templateId=".concat(e):"");return this.request({method:"GET",url:t})}getUsersAssets(e){let t="".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/assets");return this.request({method:"GET",url:t})}getUserSymbolPosition(e,t){let r="".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/symbols/").concat(encodeURI(t),"/position");return this.request({method:"GET",url:r})}getSymbolPendingOrders(e){let t="".concat(this.baseUrl,"/portfolio/api/symbols/").concat(encodeURI(e),"/orders/pending");return this.request({method:"GET",url:t})}getSymbolPendingAlgoOrders(e){let t="".concat(this.baseUrl,"/portfolio/api/symbols/").concat(encodeURI(e),"/algoOrders/pending");return this.request({method:"GET",url:t})}constructor(e,t,r=!1){super(e,t,r)}}class _ extends o{getPositionLists(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/positions")})}getPositionBySymbol(e,t){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/symbols/").concat(encodeURI(t),"/position")})}getEarnPositionLists(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/products/users/").concat(e,"/positions")})}constructor(e,t,r=!1){super(e,t,r)}}class w extends o{getFrozenRewards(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/promotion/api/reward/frozen?symbol=").concat(encodeURIComponent(e))})}constructor(e,t,r=!1){super(e,t,r)}}class x extends o{getUserAssets(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/assets")})}getCurrencyAssets(e,t){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/currencies/").concat(t,"/assets")})}getExchangeCurrencies(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/currencies"),headers:{resourceId:"portfolio/api/currencies"}})}moneyBoxAmount(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/moneyBox"),params:{currency:e}})}getAssetsGuideTips(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/configuration/api/entrances")})}getCurrencyExchangeRate(e,t){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/currencies/").concat(e).concat(t)})}constructor(e,t,r=!1){super(e,t,r)}}class T extends o{cancelWithdraw(e){return this.request({method:"DELETE",url:"".concat(this.baseUrl,"/masterAccount/api/masterAccounts/withdrawal/").concat(e)})}getWithdrawReminder(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/masterAccount/api/masterAccounts/withdrawal/remind")})}cancelWireTransfer(e){return this.request({method:"PUT",url:"".concat(this.baseUrl,"/masterAccount/api/masterAccounts/deposit/cancel/").concat(e)})}getTransferRecordQuery(e){let t="".concat(this.baseUrl,"/masterAccount/api/masterAccounts/transfers"),r=["limit=10"];return void 0!==e.type&&-1!==e.type&&r.push("transferType=".concat(e.type)),void 0!==e.status&&-1!==e.status&&r.push("status=".concat(e.status)),e.startDate&&r.push("startDate=".concat(e.startDate)),e.endDate&&r.push("endDate=".concat(e.endDate)),e.cursor&&r.push("cursor=".concat(e.cursor)),"".concat(t,"?").concat(r.join("&"))}fetchTransferRecordInfinite(e){return this.request({method:"GET",url:e})}getTransferRecordDetail(e,t){let r="".concat(this.baseUrl,"/masterAccount/api/masterAccounts/transfer/").concat(e,"/detail?transferType=").concat(t);return this.request({method:"GET",url:r})}constructor(e,t,r=!1){super(e,t,r)}}class E extends o{fetchUnfilledNormalOrders(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/symbols/").concat(encodeURI(e),"/orders/pending")})}fetchUnfilledAlgoOrders(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/symbols/").concat(encodeURI(e),"/algoOrders/pending")})}async fetchAllUnfilledStockAndOptionOrdersCombined(e){try{let[t,r]=await Promise.all([this.fetchUnfilledNormalOrders(e),this.fetchUnfilledAlgoOrders(e)]);if(200!==t.code)return t;if(200!==r.code)return r;let n=t.data||[],o=r.data||[],i=[...n,...o];return i.sort((e,t)=>
19(t.createTime||0)-(e.createTime||0)),{code:200,message:"Success",data:i}}catch(t){let e=t instanceof Error?t.message:"An unknown error occurred";return{code:-1,message:"Failed to fetch combined unfilled orders: ".concat(e),data:[]}}}constructor(e,t,r=!1){super(e,t,r)}}class P extends o{fetchAllTradingHours(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/tradingHours/all")})}constructor(e,t,r=!1){super(e,t,r)}}class k extends o{getMaxOrderableQuantity(e,t,r,n,o,i){let a=new URLSearchParams({symbol:t,market:n,price:String(r),side:String(o)});i&&a.set("greyMarket","true");let s="".concat(this.baseUrl,"/portfolio/api/users/").concat(e,"/quantities?").concat(a.toString());return this.request({method:"GET",url:s})}constructor(e,t,r=!1){super(e,t,r)}}class D extends o{getOptionList(e){let{limit:t,cursor:r,...n}=e,o="/ticker/api/v2/options?limit=".concat(t);return r&&(o+="&cursor=".concat(r)),this.request({method:"POST",url:"".concat(this.baseUrl).concat(o),data:n})}getSymbolBetterBuys(e){let{symbol:t,limit:r,cursor:n,...o}=e,i="/ticker/api/v2/options/betterBuys/".concat(encodeURIComponent(t),"?limit=").concat(r,"&needWeeklyQuote=false");return n&&(i+="&cursor=".concat(encodeURIComponent(n))),this.request({method:"POST",url:"".concat(this.baseUrl).concat(i),data:o})}getExpireDateList(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/v2/options/expireDates?symbol=").concat(encodeURIComponent(e))})}getStrikePriceRange(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/ticker/api/v2/options/strikePrice"),data:e})}getWithinBudgetParameters(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/portfolio/api/templates/max/quantities")})}constructor(e,t,r=!1){super(e,t,r)}}class A extends o{getOptionsV2(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,r=arguments.length>2?arguments[2]:void 0;return this.request({method:"POST",url:"".concat(this.baseUrl,"/ticker/api/v2/options?limit=").concat(t).concat(r?"&cursor=".concat(r):""),data:e})}getOptionsStrikePriceV2(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/ticker/api/v2/options/strikePrice"),data:e})}getOptionsExpireDatesV2(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/v2/options/expireDates?symbol=").concat(e)})}getLatestTick(e,t){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/markets/").concat(t,"/ticks/").concat(encodeURIComponent(e),"/latest")})}getProfile(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/profile/").concat(e)})}getOption(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/options/").concat(e),headers:{language:t}})}getChart(e,t,r){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/chart/").concat(t,"/").concat(e,"?span=").concat(r)})}getTradingHours(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/tradingHours/").concat(e)})}getIPOInfo(e){return this.request({method:"GET",url:"".concat(this.baseUrl,"/ticker/api/ipo/").concat(encodeURIComponent(e))})}constructor(e,t,r=!1){super(e,t,r)}}class O{saveAds(e){var t;let r=(null!==(t=e.clientId)&&void 0!==t?t:"").trim();return r?this.request({method:"POST",url:"".concat(this.baseUrl,"/analytic/api/ads"),data:{adId:e.gclid||"",clientId:r}}).then(e=>{if(200!==e.code)throw Error(e.message)}).catch(e=>(console.error(e),null)):Promise.resolve(null)}constructor(e,t){this.baseUrl=e,this.request=t}}class N extends o{loadPrivacySettings(){return this.request({method:"GET",url:"".concat(this.baseUrl,"/profile/api/privacy")})}updatePrivacySettings(e){return this.request({method:"POST",url:"".concat(this.baseUrl,"/profile/api/privacy"),data:e})}syncTradeActivity(e,t){return this.request({method:"POST",url:"".concat(this.baseUrl,"/social/api/moments/sync/").concat(e),data:t})}constructor(e,t,r=!1){super(e,t,r)}}r(90049),r(45486),r(27594),r(10841);
19let C="0.7.0",$={appId:"2",appVersion:"1.0.0",deviceId:"h5-node-server",osVersion:"linux",platformType:"3",region:"CN",language:"en"};var M=r(12064);r.n(M)().PhoneNumberUtil.getInstance()},90049:(e,t,r)=>{},40757:(e,t,r)=>{"use strict";r.d(t,{e9:()=>a,iq:()=>s,s0:()=>u});let n={development:"https://api.rockflow.net",staging:"https://api.rockflow.net",production:"https://api.rockflow.tech"},o={development:"https://bobby-api.rockflow.net",staging:"https://bobby-api.rockflow.net",production:"https://api.bobby.ai"};function i(){return!1}function a(e){return"development"===e?n.development:i()?"http://api-gateway:80":n[e]}function s(e){return o[e]}let u={development:"wss://feed.rockflow.net/api/feed",staging:"wss://feed.rockflow.net/api/feed",production:"wss://feed.rockflow.ai/api/feed"}},39640:(e,t,r)=>{"use strict";r.d(t,{oo:()=>a,s0:()=>n.s0,Mf:()=>s,gE:()=>i,Sz:()=>o,e9:()=>n.e9,iq:()=>n.iq});var n=r(40757),o=function(e){return e[e.IPO=0]="IPO",e[e.LOCKED=1]="LOCKED",e[e.CLEARING=2]="CLEARING",e[e.CLEARED=3]="CLEARED",e}({}),i=function(e){return e[e.APPLIED=0]="APPLIED",e[e.LOCKED=1]="LOCKED",e[e.CLEARING=2]="CLEARING",e[e.CLEARED=3]="CLEARED",e[e.CANCELED=4]="CANCELED",e}({}),a=function(e){return e.USER="user",e.ASSISTANT="assistant",e}({});r(10841),Object.fromEntries(Object.keys(function(e){return e.CREATE_TIME="CREATE_TIME",e.TRADING_AMOUNT="TRADING_AMOUNT",e.COPY_TRADERS="COPY_TRADERS",e.FOLLOWERS="FOLLOWERS",e.WEEKLY_YIELD_RATE="WEEKLY_YIELD_RATE",e.MONTHLY_YIELD_RATE="MONTHLY_YIELD_RATE",e.YEARLY_YIELD_RATE="YEARLY_YIELD_RATE",e.WEEKLY_BACK_TEST_PROFIT_PERCENT="WEEKLY_BACK_TEST_PROFIT_PERCENT",e.MONTHLY_BACK_TEST_PROFIT_PERCENT="MONTHLY_BACK_TEST_PROFIT_PERCENT",e.THREE_MONTH_BACK_TEST_PROFIT_PERCENT="THREE_MONTH_BACK_TEST_PROFIT_PERCENT",e.YEARLY_BACK_TEST_PROFIT_PERCENT="YEARLY_BACK_TEST_PROFIT_PERCENT",e.FIVE_YEAR_BACK_TEST_PROFIT_PERCENT="FIVE_YEAR_BACK_TEST_PROFIT_PERCENT",e}({})).filter(e=>isNaN(Number(e))).map(e=>[e,e]));var s=function(e){return e[e.BUY=0]="BUY",e[e.SELL=1]="SELL",e}({});r(90049)},10841:(e,t,r)=>{"use strict";r(40757)},89474:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>i,zS:()=>a,qU:()=>n,O3:()=>o,_D:()=>s});let n={DEEP_LINK:"deepLink",DEEP_LINK_PREFIX:"rockflow://client/deeplink",DEV_DEEP_LINK_PREFIX:"rockflowdev://client/deeplink",TARGET_PARAM:"target",DEPOSIT:"deposit"},o={TOKEN_KEY:"token",USER_ID_KEY:"userId",REGION_KEY:"region",DEVICE_ID_KEY:"deviceId",ACTIVITY_ID_KEY:"activityId",AD_SOURCE_KEY:"ad_source"},i={script:"https://o.alicdn.com/captcha-frontend/aliyunCaptcha/AliyunCaptcha.js",prefix:"1mpaex0",scene_id:"o7ev3ngds"},a={scene_id:"1qd35nw62",logo:"https://web-cdn.rockflow.tech/unifux/bobby-logo.png"},s={script:"https://web-cdn.rockflow.tech/third-party/sensorsdata.min.js",serverUrl:{development:"https://sensor-events.rockflow.ai/sa?project=default",staging:"https://sensor-events.rockflow.ai/sa?project=default",production:"https://sensor-events.rockflow.ai/sa?project=production"}}},47366:(e,t,r)=>{"use strict";r.d(t,{YF:()=>d,Vz:()=>l,LB:()=>s,kv:()=>u,fz:()=>n,U5:()=>i,BV:()=>o,HY:()=>a});let n={0:"card.order.orderTypes.0",1:"card.order.orderTypes.1",2:"card.order.orderTypes.2",3:"card.order.orderTypes.3",4:"card.order.orderTypes.4",5:"card.order.orderTypes.5",6:"card.order.orderTypes.6",10:"card.order.orderTypes.10"},o={0:"card.order.sides.0",1:"card.order.sides.1"},i={0:"card.order.sessions.0",1:"card.order.sessions.1",2:"card.order.sessions.2"},a={0:"card.order.validtties.0",1:"card.order.validtties.1"};var s=function(e){return e[e.UN_COMMIT=0]="UN_COMMIT",e[e.AUDIT_PENDING=1]="AUDIT_PENDING",e[e.AUDIT_PASS=2]="AUDIT_PASS",e[e.AUDIT_REJECT=3]="AUDIT_REJECT",e[e.NEED_NOT_SUBMIT=9]="NEED_NOT_SUBMIT",e}({}),u=function(e){return e[e.UNKNOWN=-1]="UNKNOWN",e[e.PENDING_SUBMIT=1]="PENDING_SUBMIT",e[e.SYSTEM_AUDIT=2]="SYSTEM_AUDIT",e[e.MANUAL_INITIAL_REVIEW=3]="MANUAL_INITIAL_REVIEW",e[e.MANUAL_SECONDARY_REVIEW=4]="MANUAL_SECONDARY_REVIEW",e[e.APPROVED=5]="APPROVED",e[e.FINISHED=6]="FINISHED",e[e.USER_CONFIRMATION=11]="USER_CONFIRMATION",e[e.REJECTED=21]="REJECTED",e}({}),l=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.SUBMIT_PENDING=1]="SUBMIT_PENDING",e[e.SUBMITTED=2]="SUBMITTED",e[e.AUDIT_PASS=3]="AUDIT_PASS",e[e.REJECT=4]="REJECT",e}({}),d=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.SUBMIT_PENDING=1]="SUBMIT_PENDING",e[e.SUBMITTED=2]="SUBMITTED",e[e.AUDIT_PASS=3]="AUDIT_PASS",e[e.REJECT=4]="REJECT",e}({})},11508:(e,t,r)=>{"use strict";r.d(t,{n_:()=>f,al:()=>i});var n=r(44349);let o=768;function i(e){let[t,r]=n.useState(void 0);return e=null!=e?e:o,n.useEffect(()=>{let t=window.matchMedia("(max-width: ".concat(e-1,"px)")),n=()=>{r(window.innerWidth<e)};return t.addEventListener("change",n),r(window.innerWidth<e),()=>t.removeEventListener("change",n)},[]),!!t}var a=r(45402),s=r(19374);let u={intl:"https://rockflow.onelink.me/P4Wc",cn:"https://rockflow.onelink.me/GOzK"},l={default:"https://bobby.onelink.me/M08S"};function d(){var e,t,r,n;if(void 0!==s)return(null===(t=s.env)||void 0===t?void 0:null===(e=t.NEXT_PUBLIC_BOBBY_ONELINK_URL)||void 0===e?void 0:e.trim())||(null===(n=s.env)||void 0===n?void 0:null===(r=n.NEXT_PUBLIC_BOBBY_ONELINK_URL_CN)||void 0===r?void 0:r.trim())||void 0}function c(e){return(null==e?void 0:e.oneLinkURL)||(null==e?void 0:e.oneLinkURLInChain)||d()||l.default}function p(e,t){return e?(null==t?void 0:t.oneLinkURLInChain)||u.cn:(null==t?void 0:t.oneLinkURL)||u.intl}function h(e,t,r){return"bobby"===t?c(r):p(e,r)}function f(e){let t="string"==typeof e?{defaultDeeplink:e,product:"rockflow"}:e||{product:"rockflow"}
19,r=t.product||"rockflow",o=t.defaultDeeplink,[i,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{var e,t,r;if(void 0!==(null===(e=window)||void 0===e?void 0:e.chrome)&&(null===(t=window)||void 0===t?void 0:t.chrome.runtime)&&(null===(r=window)||void 0===r?void 0:r.chrome.runtime.id))return;if(window.AF_SMART_SCRIPT){s(!0);return}let n=document.createElement("script");n.src="https://web-cdn.rockflow.tech/third-party/appsflyer.min.js";let o=()=>{s(!0)};return n.addEventListener("load",o),document.body.appendChild(n),()=>{n.removeEventListener("load",o),n.parentNode&&n.parentNode.removeChild(n)}},[]),{isReady:i,generateOnelinkUrl:function(e,n,i,s,u){let l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},d=arguments.length>6?arguments[6]:void 0;if(!window.AF_SMART_SCRIPT)return"";let c=(0,a.rk)()||{mediaSource:"",campaign:"",channel:"",campaignId:""},p=i||c.mediaSource||"",f=s||c.campaign||c.campaignId||"",m=u||c.channel||"",g=(null==c?void 0:c.campaignId)||"";if(!p)return"";let y=(null==d?void 0:d.trim())||h(e,r,t),b={...l},v=(0,a.tT)(),S=(0,a.IP)();v&&(b.afSub2=v),S&&(b.afSub3=S),c.content&&!b.ad&&(b.ad=c.content),g&&!b.ad&&(b.ad=g);let _=c.inviteCode;_&&!b.afSub5&&(b.afSub5=_);let w=window.AF_SMART_SCRIPT.generateOneLinkURL({oneLinkURL:y,afParameters:{mediaSource:{defaultValue:p},campaign:{defaultValue:f},channel:{defaultValue:m},afChannel:{defaultValue:m},afCampaign:{defaultValue:f},afSub1:{defaultValue:p},...b.afSub2&&{afSub2:{defaultValue:b.afSub2}},...b.afSub3&&{afSub3:{defaultValue:b.afSub3}},...b.afSub4&&{afSub4:{defaultValue:b.afSub4}},...b.afSub5&&{afSub5:{defaultValue:b.afSub5}},...b.ad&&{ad:{defaultValue:b.ad}},afCustom:[{paramKey:"af_ss_ui",defaultValue:"true"}],deepLinkValue:{defaultValue:encodeURIComponent(n||o||"")}}});return w&&w.clickURL?w.clickURL:""}}}},77427:(e,t,r)=>{"use strict";r.d(t,{$qQ:()=>o.$q,Ay4:()=>a.Ay,B2q:()=>o.B2,BFR:()=>i.BF,BbZ:()=>i.Bb,CDT:()=>o.CD,CMe:()=>i.CM,DBV:()=>o.DB,DTn:()=>o.DT,Dn4:()=>i.Dn,DyF:()=>o.Dy,FcL:()=>o.Yz,FcV:()=>o.Fc,FrL:()=>o.Fr,G8M:()=>i.G8,I22:()=>i.I2,JlV:()=>o.Jl,LBs:()=>s.LB,LcC:()=>o.Lc,MP5:()=>i.MP,MXx:()=>i.MX,Mf8:()=>i.Mf,NiO:()=>i.Ni,O1V:()=>o.O1,Oj1:()=>o.Oj,PrC:()=>o.Pr,Q9:()=>o.Q9,Rhk:()=>i.Rh,UjN:()=>o.Uj,VtN:()=>o.Vt,W6o:()=>o.W6,WdR:()=>o.Wd,XYX:()=>o.XY,YFn:()=>s.YF,YrO:()=>i.Yr,Zbj:()=>o.Zb,_Do:()=>a._D,a_z:()=>o.a_,alo:()=>n.al,bdR:()=>o.bd,c4R:()=>i.c4,cYM:()=>o.cY,crk:()=>o.cr,dOT:()=>o.dO,djp:()=>o.dj,e23:()=>o.e2,ehQ:()=>o.eh,f2E:()=>o.f2,fCS:()=>o.fC,fcB:()=>i.fc,hKz:()=>i.hK,hO1:()=>o.hO,i5n:()=>i.i5,jqd:()=>o.jq,kY_:()=>o.WG,kvj:()=>s.kv,o1T:()=>o.o1,oLV:()=>o.oL,ooL:()=>i.oo,opu:()=>i.op,p6N:()=>o.p6,pUb:()=>o.pU,pxF:()=>i.px,qM6:()=>i.qM,qU7:()=>o.qU,qUT:()=>a.qU,qel:()=>o.ZS,ql2:()=>i.ql,rks:()=>o.rk,s8z:()=>o.s8,t50:()=>i.t5,tly:()=>i.tl,uQM:()=>i.uQ,uSG:()=>i.uS,ueN:()=>o.ue,vWT:()=>i.vW,vl9:()=>o.vl,xSW:()=>o.xS,xc5:()=>o.xc,yNL:()=>o.yN,zS1:()=>a.zS,zqR:()=>i.zq});var n=r(11508),o=r(45402),i=r(69783),a=r(89474),s=r(47366)},69783:(e,t,r)=>{"use strict";r.d(t,{tl:()=>y,oo:()=>u.ooL,MP:()=>a,Ni:()=>n,px:()=>v,Dn:()=>S,op:()=>E,fc:()=>f,I2:()=>w,zq:()=>P,CM:()=>l,t5:()=>s,hK:()=>g,vW:()=>h,Mf:()=>c,Yr:()=>p,i5:()=>d,ql:()=>m,uS:()=>T,Rh:()=>x,G8:()=>o,BF:()=>i,c4:()=>b,Bb:()=>_,uQ:()=>A,qM:()=>D,MX:()=>O,GX:()=>C}),Object.fromEntries(Object.keys(function(e){return e.CREATE_TIME="CREATE_TIME",e.TRADING_AMOUNT="TRADING_AMOUNT",e.COPY_TRADERS="COPY_TRADERS",e.FOLLOWERS="FOLLOWERS",e.WEEKLY_YIELD_RATE="WEEKLY_YIELD_RATE",e.MONTHLY_YIELD_RATE="MONTHLY_YIELD_RATE",e.YEARLY_YIELD_RATE="YEARLY_YIELD_RATE",e.WEEKLY_BACK_TEST_PROFIT_PERCENT="WEEKLY_BACK_TEST_PROFIT_PERCENT",e.MONTHLY_BACK_TEST_PROFIT_PERCENT="MONTHLY_BACK_TEST_PROFIT_PERCENT",e.THREE_MONTH_BACK_TEST_PROFIT_PERCENT="THREE_MONTH_BACK_TEST_PROFIT_PERCENT",e.YEARLY_BACK_TEST_PROFIT_PERCENT="YEARLY_BACK_TEST_PROFIT_PERCENT",e.FIVE_YEAR_BACK_TEST_PROFIT_PERCENT="FIVE_YEAR_BACK_TEST_PROFIT_PERCENT",e}({})).filter(e=>isNaN(Number(e))).map(e=>[e,e]));var n=function(e){return e[e.phone=1]="phone",e[e.email=2]="email",e}({}),o=function(e){return e[e.web=1]="web",e}({}),i=function(e){return e[e.verifyCode=3]="verifyCode",e[e.thirdParty=4]="thirdParty",e}({}),a=function(e){return e.ALI_CLOUD="ALI_CLOUD",e.GOOGLE="GOOGLE",e}({}),s=function(e){return e[e.phonePassword=1]="phonePassword",e[e.emailPassword=2]="emailPassword",e[e.validateCode=3]="validateCode",e}({}),u=r(66309),l=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.STOCK=1]="STOCK",e[e.OPTION=2]="OPTION",e[e.FUTURE=3]="FUTURE",e[e.FOREX=4]="FOREX",e[e.CRYPTO=5]="CRYPTO",e[e.FX_CONVERSION=6]="FX_CONVERSION",e[e.CFD=7]="CFD",e[e.RF_MONEY_BOX=8]="RF_MONEY_BOX",e}({}),d=function(e){return e[e.MARKET_ORDER=0]="MARKET_ORDER",e[e.LIMIT_ORDER=1]="LIMIT_ORDER",e[e.STOP_ORDER=2]="STOP_ORDER",e[e.STOP_LIMIT_ORDER=3]="STOP_LIMIT_ORDER",e[e.TRAILING_STOP_AMOUNT_ORDER=4]="TRAILING_STOP_AMOUNT_ORDER",e[e.TRAILING_STOP_PERCENT_ORDER=5]="TRAILING_STOP_PERCENT_ORDER",e[e.TWAP_ORDER=10]="TWAP_ORDER",e[e.LIMIT_IF_TOUCHED_ORDER=6]="LIMIT_IF_TOUCHED_ORDER",e}({}),c=function(e){return e[e.BUY=0]="BUY",e[e.SELL=1]="SELL",e}({}),p=function(e){return e[e.ORDER_SUBMITTED=0]="ORDER_SUBMITTED",e[e.ORDER_PARTIALLY_FILLED=1]="ORDER_PARTIALLY_FILLED",e[e.ORDER_FILLED=2]="ORDER_FILLED",e[e.ORDER_CANCELLING=3]="ORDER_CANCELLING",e[e.ORDER_PARTIALLY_CANCELLED=4]="ORDER_PARTIALLY_CANCELLED",e[e.ORDER_CANCELLED=5]="ORDER_CANCELLED",e[e.ORDER_SUBMIT_FAILED=6]="ORDER_SUBMIT_FAILED",e[e.ORDER_ERROR=7]="ORDER_ERROR",e[e.ORDER_EXPIRED=8]="ORDER_EXPIRED",e[e.ORDER_CANCEL_FAILED=9]="ORDER_CANCEL_FAILED",e[e.ORDER_UNDEFINED=15]="ORDER_UNDEFINED",e}({}),h=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.OPEN=1]="OPEN",e[e.CLOSE=2]="CLOSE",e[e.OPEN_CLOSE=3]="OPEN_CLOSE",e}({}),f=function(e){return e[e.APPLIED=0]="APPLIED",e[e.LOCKED=1]="LOCKED",e[e.CLEARING=2]="CLEARING",e[e.CLEARED=3]="CLEARED",e[e.CANCELED=4]="CANCELED",e}({});let m={ALL:{tab:0,name:"all"},US_STOCKS:{tab:1,name:"us_stock"},BULL_BEAR:{tab:2,name:"bull_bear"},BETTER_BUY:{tab:3,name:"better_buy"},HK_STOCKS:{tab:4,name:"hk_stock"},EARN:{tab:5,name:"earn"},COPY_RECORDS:{tab:127,name:"copy_records"},FX_CONVERSION:{tab:128,name:"fund"},TWAP:{tab:129,name:"twap"},AUTO_TRADE:{tab:7,name:"auto_trade"}};var g=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.SELF_BUY=1]="SELF_BUY",e[e.SELF_SELL=2]="SELF_SELL",e[e.COPY_BUY=3]="COPY_BUY",e[e.COPY_SELL=4]="COPY_SELL",e[e.FOLLOW_SYMBOL=5]="FOLLOW_SYMBOL",e[e.FOLLOW_USER=6]="FOLLOW_USER",e[e.FOLLOW_WATCHLIST=7]="FOLLOW_WATCHLIST",e[e.COPY_WATCHLIST=8]="COPY_WATCHLIST",e[e.AUTO_COPY=9]="AUTO_COPY",e}({}),y=function(e){return e[e.TYPE_ASSETS=10]="TYPE_ASSETS",e[e.TYPE_MINE=11]="TYPE_MINE",e[e.TYPE_ROLL=12]="TYPE_ROLL",e}({}),b=function(e){return e[e.TRADE_BULL_BEAR=3]="TRADE_BULL_BEAR",e[e.TRADE_OPTION=4]="TRADE_OPTION",e}({}
19),v=function(e){return e[e.PENDING=0]="PENDING",e[e.OUTGOING=1]="OUTGOING",e[e.COMPLETED=2]="COMPLETED",e[e.STOPING=3]="STOPING",e}({}),S=function(e){return e[e.COPY_STOCK_LIST=1]="COPY_STOCK_LIST",e[e.AUTO_COPY_TASK=2]="AUTO_COPY_TASK",e}({}),_=function(e){return e[e.UNKNOWN=-1]="UNKNOWN",e[e.NORMAL=0]="NORMAL",e[e.VIRTUAL=1]="VIRTUAL",e[e.AI_PORTFOLIO=2]="AI_PORTFOLIO",e[e.AI_STRATEGY=3]="AI_STRATEGY",e}({}),w=function(e){return e[e.COMMISSION_COUPON=28]="COMMISSION_COUPON",e[e.BETTER_BUY=13]="BETTER_BUY",e[e.CURRENCY_EXCHANGE=21]="CURRENCY_EXCHANGE",e}({}),x=function(e){return e[e.deposit=0]="deposit",e[e.withdraw=1]="withdraw",e}({}),T=function(e){return e[e.canceled=0]="canceled",e[e.processing=1]="processing",e[e.success=2]="success",e[e.failed=3]="failed",e[e.unfinished=4]="unfinished",e}({}),E=function(e){return e.unsubmitted="unsubmitted",e.submitted="submitted",e.processing="processing",e.completed="completed",e.failed="failed",e.cancelled="cancelled",e}({}),P=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.TRADE_PRICE=1]="TRADE_PRICE",e[e.CHANGE_PERCENT=2]="CHANGE_PERCENT",e[e.VOLUME=3]="VOLUME",e[e.LEVERAGE_RATIO=4]="LEVERAGE_RATIO",e[e.WIN_RATE=5]="WIN_RATE",e[e.STRIKE_PRICE=6]="STRIKE_PRICE",e[e.OPEN_INTEREST=7]="OPEN_INTEREST",e[e.DELTA=8]="DELTA",e[e.GAMMA=9]="GAMMA",e[e.VEGA=10]="VEGA",e[e.RHO=11]="RHO",e[e.IV=12]="IV",e[e.BREAKEVEN=13]="BREAKEVEN",e[e.EXPIRY_DATE=14]="EXPIRY_DATE",e}({});function k(e){return 2===e||4===e}function D(e){return void 0!==e.ipoPermission&&null!==e.ipoPermission?k(e.ipoPermission):e.greyMarketTrading}function A(e){let t=Date.now(),r=t>=e.greyMarketTradingStartTime&&t<e.greyMarketTradingEndTime;return void 0!==e.ipoPermission&&null!==e.ipoPermission?k(e.ipoPermission)&&r:e.greyMarketTrading&&r}function O(e){let t=Date.now(),r=t>=e.greyMarketTradingStartTime&&t<e.listingTime;return void 0!==e.ipoPermission&&null!==e.ipoPermission?k(e.ipoPermission)&&r:e.greyMarketTrading&&r}function N(e){return Date.now()>=e.listingTime}function C(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();if(N(e))return!1;if(r>=e.greyMarketTradingStartTime&&r<e.greyMarketTradingEndTime)return!0;let n=null!==(t=e.listingTime)&&void 0!==t?t:0;return n>0&&r>=e.greyMarketTradingEndTime&&r<n}},45402:(e,t,r)=>{"use strict";r.d(t,{cY:()=>e_,fC:()=>ef,DB:()=>e$,dj:()=>c,tT:()=>O,Fc:()=>D,IP:()=>A,XY:()=>eW,Wd:()=>v,xc:()=>e7,rk:()=>e6,ue:()=>eL,eh:()=>eg,pU:()=>b,hO:()=>y,Q9:()=>m,o1:()=>S,Fr:()=>eM,oL:()=>g,f2:()=>f,O1:()=>eq,e2:()=>eY,Yz:()=>eG,Uj:()=>eS,Dy:()=>eo,jq:()=>_,qU:()=>w,yN:()=>eu,$q:()=>ea,bd:()=>es,a_:()=>em,dO:()=>eb,ZS:()=>eA,p6:()=>eO,Jl:()=>eD,cr:()=>eP,xS:()=>ek,Zb:()=>ex,s8:()=>eE,WG:()=>ew,Lc:()=>eT,B2:()=>ey,vl:()=>k,Pr:()=>e8,CD:()=>eI,DT:()=>eX,Oj:()=>e2,Vt:()=>e0,W6:()=>eQ}),r(59585);var n=r(80286),o=r.n(n);r(84260),r(19412),r(71467),r(44510),r(78246),r(62027),r(78742),r(489),r(18648),r(97783);var i=r(21927),a=r.n(i),s=r(48515),u=r.n(s),l=r(9766),d=r.n(l);o().extend(a()),o().extend(u()),o().extend(d());function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MM/DD",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY/MM/DD",n=o()(e).tz("America/New_York"),i=o()().tz("America/New_York");return n.format(n.isSame(i,"year")?t:r)}function p(e){return e.substring(6,12)}function h(e){return parseFloat("".concat(e.substring(13,18),".").concat(e.substring(18,21)))}function f(e){return!(e.length<27)&&"P"===e.substring(12,13)}function m(e){return!(e.length<27)&&"C"===e.substring(12,13)}let g=e=>f(e)||m(e);function y(e){return e.includes("|OS")&&e.endsWith("S")}function b(e){return e.includes("|OS")&&e.endsWith("L")}function v(e){let t=p(e),r=h(e);return{isPut:f(e),strikePrice:r,expiryDate:t}}let S=e=>e.toUpperCase().includes(".HK");function _(e,t){return new Intl.NumberFormat("en-US",{minimumFractionDigits:t,maximumFractionDigits:t,useGrouping:!1}).format(e)}function w(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e>0?"+":e<0?"-":t?"":"+"}var x=r(29828),T=r(89474);let E=365,P=()=>{let e=window.location.hostname,t=e.split(".");return"localhost"===e||/^\d+\.\d+\.\d+\.\d+$/.test(e)?e:t.length>2?t.slice(-2).join("."):e},k=(e,t,r)=>{let n=P();x.A.set(T.O3.USER_ID_KEY,e,{expires:E,domain:n,sameSite:"strict"}),x.A.set(T.O3.TOKEN_KEY,t,{expires:E,domain:n,sameSite:"strict"}),x.A.set(T.O3.REGION_KEY,r,{expires:E,domain:n,sameSite:"strict"})},D=()=>({userId:x.A.get(T.O3.USER_ID_KEY),token:x.A.get(T.O3.TOKEN_KEY),region:x.A.get(T.O3.REGION_KEY)}),A=()=>x.A.get(T.O3.DEVICE_ID_KEY),O=()=>x.A.get(T.O3.ACTIVITY_ID_KEY),N=e=>{let t=P();x.A.set(T.O3.AD_SOURCE_KEY,e,{expires:E,domain:t,sameSite:"strict"})},C=()=>{try{return JSON.parse(x.A.get(T.O3.AD_SOURCE_KEY)||"{}")}catch(e){return{}}};var $=r(36868),M={createBigNumberClass:r(6276).g},I={createComplexClass:r(72250).z},L={createMatrixClass:r(26412).w},R={MatrixDependencies:L,createDenseMatrixClass:r(90487).j},F={createFractionClass:r(55384).z}
19,B={BigNumberDependencies:M,ComplexDependencies:I,DenseMatrixDependencies:R,FractionDependencies:F,createTyped:r(52545).B},U={BigNumberDependencies:M,typedDependencies:B,createBignumber:r(2751)._},j={typedDependencies:B,createIsInteger:r(8979).r},V={typedDependencies:B,createEqualScalar:r(78335).p},z={MatrixDependencies:L,equalScalarDependencies:V,typedDependencies:B,createSparseMatrixClass:r(85008).g},H={DenseMatrixDependencies:R,MatrixDependencies:L,SparseMatrixDependencies:z,typedDependencies:B,createMatrix:r(47145).u},W={isIntegerDependencies:j,matrixDependencies:H,typedDependencies:B,createConcat:r(92853).z},G={typedDependencies:B,createSubtractScalar:r(91886).f},q={typedDependencies:B,createUnaryMinus:r(48187).e},Y={DenseMatrixDependencies:R,concatDependencies:W,equalScalarDependencies:V,matrixDependencies:H,subtractScalarDependencies:G,typedDependencies:B,unaryMinusDependencies:q,createSubtract:r(57086).t},K={typedDependencies:B,createAddScalar:r(80811).w},Z={typedDependencies:B,createConj:r(40580).x},J={typedDependencies:B,createMultiplyScalar:r(21474).J},X={addScalarDependencies:K,conjDependencies:Z,multiplyScalarDependencies:J,sizeDependencies:{matrixDependencies:H,typedDependencies:B,createSize:r(20992).A},typedDependencies:B,createDot:r(77674).Y},Q={addScalarDependencies:K,dotDependencies:X,equalScalarDependencies:V,matrixDependencies:H,multiplyScalarDependencies:J,typedDependencies:B,createMultiply:r(83194).F},ee={numericDependencies:{bignumberDependencies:U,fractionDependencies:{FractionDependencies:F,typedDependencies:B,createFraction:r(27821).l},numberDependencies:{typedDependencies:B,createNumber:r(19002).G},createNumeric:r(23202).y},typedDependencies:B,createDivideScalar:r(10359).Q},et={absDependencies:{typedDependencies:B,createAbs:r(65636).r},addScalarDependencies:K,detDependencies:{divideScalarDependencies:ee,isZeroDependencies:{equalScalarDependencies:V,typedDependencies:B,createIsZero:r(65615).L},matrixDependencies:H,multiplyDependencies:Q,subtractScalarDependencies:G,typedDependencies:B,unaryMinusDependencies:q,createDet:r(27280).k},divideScalarDependencies:ee,identityDependencies:{BigNumberDependencies:M,DenseMatrixDependencies:R,SparseMatrixDependencies:z,matrixDependencies:H,typedDependencies:B,createIdentity:r(5127).D},matrixDependencies:H,multiplyDependencies:Q,typedDependencies:B,unaryMinusDependencies:q,createInv:r(38346).K},er={divideScalarDependencies:ee,equalScalarDependencies:V,invDependencies:et,matrixDependencies:H,multiplyDependencies:Q,typedDependencies:B,createDivide:r(53603).G};let en={number:"BigNumber",precision:64},eo=(0,$.v)({bignumberDependencies:U,subtractDependencies:Y,multiplyDependencies:Q,divideDependencies:er},en),ei=["好买","好買","Better Buy"],ea=e=>{let{name:t,t:r}=e;return t&&ei.forEach(e=>{t=(null==t?void 0:t.endsWith(e))?null==t?void 0:t.replace(e,r("card.dip_sniper")):t}),t},es=(e,t)=>{let r=v(e),n=r.expiryDate.substring(0,2),o=r.expiryDate.substring(2,4),i=r.expiryDate.substring(4,6),a="".concat(t(r.isPut?"card.below":"card.over")," ").concat(r.strikePrice," \xb7 ");return"20".concat(n)==="".concat(new Date().getFullYear())?a+="".concat(o,"/").concat(i):a+="".concat(n,"/").concat(o,"/").concat(i),a},eu=(e,t)=>{let r=v(e),n=r.expiryDate.substring(0,2),o=r.expiryDate.substring(2,4),i=r.expiryDate.substring(4,6),a="".concat(t("card.buy_at",{value:r.strikePrice})," \xb7 ");return"20".concat(n)==="".concat(new Date().getFullYear())?a+="".concat(o,"/").concat(i):a+="".concat(n,"/").concat(o,"/").concat(i),a};var el=r(72059);new el.UAParser().getResult().os.name;let ed=new el.UAParser().getResult().browser,ec=()=>"WeChat"===ed.name,ep=()=>"QQBrowser"===ed.name,eh=()=>"Weibo"===ed.name;var ef=function(e){return e[e.RockFlow=1]="RockFlow",e[e.Bobby=2]="Bobby",e}({});function em(e){window.sensorsDataAnalytic201505&&window.sensorsDataAnalytic201505.register({...e})}let eg=e=>{let t=window.sensorsDataAnalytic201505,r=T._D.serverUrl[e];t&&r&&(t.init({server_url:r,heatmap:{scroll_notice_map:"not_collect"},is_track_single_page:!0,use_client_time:!0,send_type:"beacon",show_log:!1,app_js_bridge:!1,cross_subdomain:!0}),eN(),t.quick("autoTrack"),t.use("PageLeave"),t.use("PageLoad"))};function ey(e){window.sensorsDataAnalytic201505&&window.sensorsDataAnalytic201505.login(e)}function eb(e){window.sensorsDataAnalytic201505&&window.sensorsDataAnalytic201505.setProfile({...e})}function ev(e){window.sensorsDataAnalytic201505&&window.sensorsDataAnalytic201505.registerPage({...e})}function eS(e,t){if(!window.sensorsDataAnalytic201505)return;let r={};t&&(r={...t}),window.sensorsDataAnalytic201505.track(e,{...r})}var e_=function(e){return e.bind_register_h5="login_userRegister",e.login_userSource="login_userSource",e.login_google_recaptcha_show="login_google_recaptcha_show",e.login_google_recaptcha_success="login_google_recaptcha_success",e.login_google_recaptcha_error="login_google_recaptcha_error",e.ali_captcha_initial_success="al
19i_captcha_initial_success",e.ali_captcha_initial_error="ali_captcha_initial_error",e.ali_captcha_verify_success="ali_captcha_verify_success",e.ali_captcha_verify_error="ali_captcha_verify_error",e.start_request_code="start_request_code",e.response_request_code="response_request_code",e.start_request_verify_code="start_request_verify_code",e.response_verify_code="response_verify_code",e.login_discernCode="login_discernCode",e.website_download_btn_click="website_download_btn_click",e.website_download_qrCode_show="website_download_qrCode_show",e.website_mcp_copy_click="website_mcp_copy_click",e.website_mcp_cta_click="website_mcp_cta_click",e.da_h5downloadAppBtn_click="da_h5downloadAppBtn_click",e.da_h5bobbyChatSharePage_continueChatBtn_click="da_h5bobbyChatSharePage_continueChatBtn_click",e.earnings_catalyst_date_select="earnings_catalyst_date_select",e.earnings_catalyst_card_view="earnings_catalyst_card_view",e.earnings_catalyst_analyze_click="earnings_catalyst_analyze_click",e.earnings_catalyst_powered_by_click="earnings_catalyst_powered_by_click",e.bobby_verify_code_btn_click="bobby_verify_code_btn_click",e.bobby_register_start_btn_click="bobby_register_start_btn_click",e.click_trade_symbol="click_trade_symbol",e.placeOrder_limitOrderConfirm="placeOrder_limitOrderConfirm",e.placeOrder_marketOrderView="placeOrder_marketOrderView",e.trade_didClickConfirmButton="trade_didClickConfirmButton",e.trade_afterInputTransactionCode="trade_afterInputTransactionCode",e.order_submit_succ="order_submit_succ",e}({});function ew(e,t){(t||eS)("start_request_code",{scene:"login",isH5:!0,...e})}function ex(e,t){(t||eS)("response_request_code",{scene:"login",isH5:!0,...e})}function eT(e,t){(t||eS)("start_request_verify_code",{scene:"login",isH5:!0,...e})}function eE(e,t){(t||eS)("response_verify_code",{scene:"login",isH5:!0,...e})}function eP(e,t){(t||eS)("login_discernCode",{scene:"login",isH5:!0,...e})}function ek(e,t,r,n){var o;let i=n||eS;(r||eb)({source_id_client:e.channelId,source_name_client:e.channelName}),i("login_userSource",{...t,referral:"undefined"!=typeof document&&null!==(o=document.referrer)&&void 0!==o?o:""})}function eD(e,t){(t||eS)("login_userRegister",{...e})}function eA(e,t){(t||eS)(e?"ali_captcha_initial_success":"ali_captcha_initial_error")}function eO(e,t){(t||eS)(e?"ali_captcha_verify_success":"ali_captcha_verify_error")}function eN(){ev({af_sub3:A()||void 0})}class eC{loginPage(e){return this.scheme+"://client/deeplink?target=login&inviteCode="+e}home(){return this.scheme+"://client/deeplink?target=home"}assetPage(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.scheme+"://client/deeplink?target=asset"+e}depositPage(){return this.scheme+"://client/deeplink?target=deposit"}wireTransfer(e,t){return"".concat(this.scheme,"://client/deeplink?target=wireTransfer&currency=").concat(e,"&amount=").concat(t)}customer(){return"".concat(this.scheme,"://client/deeplink?target=customerservice")}depositAmount(e,t){return"".concat(this.scheme,"://client/deeplink?target=deposit_amount&currency=").concat(e,"&amount=").concat(t)}optiontab(){return"".concat(this.scheme,"://client/deeplink?target=option")}moneyBox(){return"".concat(this.scheme,"://client/deeplink?target=moneyBox")}betterBuyOmnibus(e){let{tab:t,symbol:r,extra:n=""}=e,o="".concat(this.scheme,"://client/deeplink?target=option_betterBuy");return t&&(o+="&tab=".concat(t)),r&&(o+="&symbol=".concat(r)),n&&(o+=n),o}betterBuyDetail(e,t){return"".concat(this.scheme,"://client/deeplink?target=stockOption_betterBuy&symbol=").concat(e,"&market=").concat(t)}stockDetail(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return"".concat(this.scheme,"://client/deeplink?target=stockDetail&market=").concat(e,"&symbol=").concat(t).concat(r)}optionDetail(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(this.scheme,"://client/deeplink?target=option_detail&symbol=").concat(e).concat(t)}userHonePage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(this.scheme,"://client/deeplink?target=userHomePage&userId=").concat(e).concat(t)}watchListDetail(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(this.scheme,"://client/deeplink?target=watchListDetail&id=").concat(e).concat(t)}depositQuestionsAnswer(){return"".concat(this.scheme,"://client/deeplink?target=depositQuestionsAnswer")}orderDetail(e){let{id:t}=e;
19return"".concat(this.scheme,"://client/deeplink?target=orderDetail&orderId=").concat(t)}orderList(e){return"".concat(this.scheme,"://client/deeplink?target=orderList&type=").concat(e)}aliIdVerify(){return"".concat(this.scheme,"://client/deeplink?target=aliIdVerify")}community(){return"".concat(this.scheme,"://client/deeplink?target=community")}financialOrderDetail(e){return"".concat(this.scheme,"://client/deeplink?target=financialOrderDetail&orderId=").concat(e)}rockStarRankList(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(this.scheme,"://client/deeplink?target=rockStarRankList&tab=").concat(e).concat(t)}stockButterBuy(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return"".concat(this.scheme,"://client/deeplink?target=stockOption_betterBuy&symbol=").concat(e,"&market=").concat(t).concat(r)}babyBullAndBear(e,t,r){return"".concat(this.scheme,"://client/deeplink?target=option_filter&symbol=").concat(e,"&market=").concat(t,"&call=").concat(r)}tradeGPTList(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"".concat(this.scheme,"://client/deeplink?target=tradeGpt").concat(e)}tradeGPTDetail(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(this.scheme,"://client/deeplink?target=gptDetail&feedId=").concat(e).concat(t)}webview(e,t){let r="",n=t?"":"&title= ";"string"==typeof t&&(n="&title=".concat(t));let o="";return r&&(o="&rightBtn=".concat(r)),"".concat(this.scheme,"://client/deeplink?target=webview&forceLogin=1").concat(n,"&url=").concat(encodeURIComponent(e)).concat(o)}cardValidate(e){return"".concat(this.scheme,"://client/deeplink?target=checkoutCardVerfy&cardId=").concat(e)}custom(e){return"".concat(this.scheme,"://client/deeplink").concat(e)}gptTab(e){let t="".concat(this.scheme,"://client/deeplink?target=tradeGpt");return e&&(t+="&templateId=".concat(e)),t}joinGroup(){return"".concat(this.scheme,"://client/deeplink?target=joinGroup")}rockBot(e){let t=e?"&shareId=".concat(e):"";return"".concat(this.scheme,"://client/deeplink?target=rockbot").concat(t)}aiPortfolio(e){let{filter:t,sort:r,asc:n,isInApp:o}=e||{},i=o?"&source=h5_in_app":"&source=h5";return"".concat(this.scheme,"://client/deeplink?target=aiPortfolio&filter=").concat(t,"&sort=").concat(r,"&asc=").concat(n).concat(i)}constructor(){this.scheme="rockflow"}}let e$=new eC;function eM(){return/(android|iphone|ipad|mobile)/i.test(navigator.userAgent)}function eI(){return!(ep()||eh()||ec())}function eL(e,t,r){eU(e),eR(()=>{if(t){eU(t);return}if(r){r();return}eU("/download")})}function eR(e){let{hidden:t,visibilityChange:r}=eB(),n=setTimeout(()=>{eF(t)||e()},2e3);void 0!==r?document.addEventListener(r,()=>{clearTimeout(n)}):window.addEventListener("pagehide",()=>{clearTimeout(n)})}function eF(e){return"undefined"!=typeof document&&void 0!==e&&document[e]}function eB(){let e,t;return"undefined"==typeof document||(void 0!==document.hidden?(e="hidden",t="visibilitychange"):void 0!==document.msHidden?(e="msHidden",t="msvisibilitychange"):void 0!==document.webkitHidden&&(e="webkitHidden",t="webkitvisibilitychange")),{hidden:e,visibilityChange:t}}function eU(e){window.top?window.top.location.href=e:window.location.href=e}var ej=function(e){return e[e.homeAssetsShare=1]="homeAssetsShare",e[e.betterBuyHomePageDynamic=2]="betterBuyHomePageDynamic",e[e.betterBuyCopyTradingDynamic=3]="betterBuyCopyTradingDynamic",e[e.betterBuyAssets=4]="betterBuyAssets",e[e.betterBuyDetail=5]="betterBuyDetail",e[e.betterBuyOrderDetail=6]="betterBuyOrderDetail",e[e.closePositionOrderSuccess=7]="closePositionOrderSuccess",e[e.closePositionOrderList=8]="closePositionOrderList",e[e.closePositionOrderDetail=9]="closePositionOrderDetail",e[e.positionShareOptionDetail=10]="positionShareOptionDetail",e[e.positionShareStockDetail=11]="positionShareStockDetail",e[e.positionShareAssets=12]="positionShareAssets",e[e.profitShareSupportShareGuide=13]="profitShareSupportShareGuide",e[e.profitShareAssets=14]="profitShareAssets",e[e.profitShareTodayProfit=15]="profitShareTodayProfit",e[e.tradeShareCopyTradingDynamic=16]="tradeShareCopyTradingDynamic",e[e.tradeShareHomepageDynamic=17]="tradeShareHomepageDynamic",e[e.tradeGptLists=18]="tradeGptLists",e[e.tradeGptDetailRightTop=19]="tradeGptDetailRightTop",e[e.tradeGptDetailShareBtn=20]="tradeGptDetailShareBtn",e[e.quoteShareStockDetail=21]="quoteShareStockDetail",e[e.quoteShareOptionDetail=22]="quoteShareOptionDetail",e[e.userShareHomePageQrcode=23]="userShareHomePageQrcode",e[e.userShareHomePageShareBtn=24]="userShareHomePageShareBtn",e[e.userShareContinuouslyOnBoard=25]="userShareContinuouslyOnBoard",e[e.userShareCopyTradingPlShare=26]="userShareCopyTradingPlShare",e[e.watchListDetailShare=27]="watchListDetailShare",e[e.gptListsPageShare=28]="gptListsPageShare",e[e.copyTradingRankListsShare=29]="copyTradingRankListsShare",e[e.rockBotChatItemShare=30]="rockBotChatItemShare",e[e.earnCalendarShare=31]="earnCalendarShare",e[e.screenShotShare=32]="screenShotShare",e}({}),eV=function(e){return e[e.qrcode=1]="qrcode",e[e.copy_link=2]="copy_link",e[e.facebook_group=3]="facebook_group",e[e.facebook_new_feed=4]="facebook_new_feed",e[e.messenger=5]="messenger",e[e.instagram=6]="instagram",e[e.line=7]="line",e[e.more=8]="more",e[e.snapchat=9]="snapchat",e[e.telegram=10]="telegram",e[e.twitter_direct_meessage=11]="twitter_direct_meessage",e[e.tweet=12]="tweet",e[e.wechat_friends=13]="wechat_friends",e[e.wechat=14]="wechat",e[e.whatsApp=15]="whatsApp",e[e.xiaohongshu=16]="xiaohongshu",e[e.click_share_img_link=17]="click_share_img_link",e[e.im=18]="im",e}({});function ez(e){let t=Number(e),r=Object.keys(ej).filter(e=>isNaN(Number(e))),n=Object.values(ej).filter(e=>"number"==typeof e).indexOf(t);return -1!==n?r[n]:"Unknown"}function eH(e){let t=Number(e),r=Object.keys(eV).filter(e=>isNaN(Number(e))),n=Object.values(eV).filter(e=>"number"==typeof e).indexOf(t);return -1!==n?r[n]:"Unknown"}function eW(e){let{c:t,e:r,p:n}=e;return{campaign:t?String(t):"",mediaSource:r?ez(String(r)):"",channel:n?eH(String(n)):"",campaignId:e.campaignId?String(e.campaignId):""}}let eG=e=>{let{market:t,symbol:r,isInApp:n,fallback:o=()=>{}}
19=e,i=y(r),a=g(r),s=eM(),u=eI(),l=i?e$.betterBuyOmnibus({symbol:r}):a?e$.optionDetail(r):e$.stockDetail(t,r),d="https://rockflow.ai/stock/".concat(r),c="https://rockflow.ai/option/".concat(r),p=a?c:d;n?window.location.href=l:s&&u?i||a?eL(l,p,()=>{o()}):eL(l,d):i?o():window.open(p,"_blank")},eq=e=>{let t=eM(),r=eI(),n=e$.aiPortfolio({isInApp:e}),o="https://rockflow.ai/ai/portfolio";e?window.location.href=n:t&&r?eL(n,o):window.open(o,"_blank")},eY=e=>{let{userId:t,isInApp:r}=e,n=eM(),o=eI(),i=e$.userHonePage(t),a="https://rockflow.ai/download";r?window.location.href=i:n&&o?eL(i,a):window.open(a,"_blank")};var eK=r(12064);let eZ=r.n(eK)().PhoneNumberUtil.getInstance(),eJ=/^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,7}$/,eX=e=>!!e&&eJ.test(e),eQ=e=>/^\d{6}$/.test(e),e0=e=>{try{if(void 0===e)return!1;let t=e.replaceAll(" ","");if(t.startsWith("0086000")&&15===t.length||4===t.length)return!0;let r="+"+parseInt(t,10),n=eZ.parseAndKeepRawInput(r);return eZ.isValidNumber(n)}catch(e){return!1}},e1=/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,24}$/,e2=e=>e1.test(e);function e3(e){let t="string"==typeof e?new URLSearchParams(e):e;return(t.get("c")||t.get("inviteCode")||t.get("invite_code")||"").trim()}function e4(e,t,r){let n=(r||"").trim();n&&(e[t]=n)}function e5(e,t){let r={...e};return Object.keys(t).forEach(n=>{let o=t[n];if(void 0!==o){if("afParameters"===n&&o&&"object"==typeof o){r.afParameters={...e.afParameters||{},...o};return}r[n]=o}}),r}function e9(){if(!window.location.search)return;let e=new URLSearchParams(window.location.search),t={};return e.get("utm_medium")&&e4(t,"medium",e.get("utm_medium")),e4(t,"channel",e.get("utm_source")),e4(t,"mediaSource",e.get("utm_source")),e4(t,"campaignId",e.get("utm_campaign")),e4(t,"campaignId",e.get("utm_campaignId")),e4(t,"campaignId",e.get("utm_campaignid")),e4(t,"content",e.get("utm_content")),e4(t,"term",e.get("utm_term")),e4(t,"campaign",e.get("campaign")),e4(t,"mediaSource",e.get("pid")),e4(t,"mediaSource",e.get("mediaSource")),e4(t,"channel",e.get("channel")),e4(t,"sub",e.get("sub")),e4(t,"inviteCode",e3(e)),Object.values(t).some(e=>"string"==typeof e&&e.length>0)?t:void 0}function e8(e){if(e)return N(JSON.stringify(e)),e;let t=e9();if(!t)return;let r=e5(C()||{},t);return N(JSON.stringify(r)),r}function e6(){return C()}function e7(){let e=e6(),t={};return(null==e?void 0:e.campaign)&&(t.af_campaign=null==e?void 0:e.campaign),(null==e?void 0:e.mediaSource)&&(t.af_media_source=null==e?void 0:e.mediaSource),(null==e?void 0:e.channel)&&(t.af_af_channel=null==e?void 0:e.channel),(null==e?void 0:e.campaignId)&&(t.af_af_ad=null==e?void 0:e.campaignId),(null==e?void 0:e.sub)&&(t.af_sub1=null==e?void 0:e.sub),(null==e?void 0:e.content)&&(t.af_ad=e.content),(null==e?void 0:e.inviteCode)&&(t.invitation_code=e.inviteCode),t}},50445:(e,t,r)=>{"use strict";r.d(t,{l:()=>G,o:()=>K});var n=r(44489),o=r(44349),i=(e,t,r,n,o,i,a,s)=>{let u=document.documentElement,l=["light","dark"];function d(t){(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&i?o.map(e=>i[e]||e):o;r?(u.classList.remove(...n),u.classList.add(i&&i[t]?i[t]:t)):u.setAttribute(e,t)}),c(t)}function c(e){s&&l.includes(e)&&(u.style.colorScheme=e)}function p(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(n)d(n);else try{let e=localStorage.getItem(t)||r,n=a&&"system"===e?p():e;d(n)}catch(e){}},a="(prefers-color-scheme: dark)",s="undefined"==typeof window,u=o.createContext(void 0),l={setTheme:e=>{},themes:[]},d=()=>{var e;return null!=(e=o.useContext(u))?e:l},c=(o.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:n,enableColorScheme:a,defaultTheme:s,value:u,themes:l,nonce:d,scriptProps:c})=>{let p=JSON.stringify([r,t,s,e,l,u,n,a]).slice(1,-1);return o.createElement("script",{...c,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?d:"",dangerouslySetInnerHTML:{__html:`(${i.toString()})(${p})`}})}),r(6828));function p(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}let h=e=>{switch(e){case"success":return g;case"info":return b;case"warning":return y;case"error":return v;default:return null}},f=Array(12).fill(0),m=({visible:e,className:t})=>o.createElement("div",{className:["sonner-loading-wrapper",t].filter(
vendor: 3,464 bytes, line 19
19Boolean).join(" "),"data-visible":e},o.createElement("div",{className:"sonner-spinner"},f.map((e,t)=>o.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),g=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),y=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),b=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),v=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),S=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},o.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),_=()=>{let[e,t]=o.useState(document.hidden);return o.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e},w=1;class x{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,o="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:w++,i=this.toasts.find(e=>e.id===o),a=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(t=>t.id===o?(this.publish({...t,...e,id:o,title:r}),{...t,...e,id:o,dismissible:a,title:r}):t):this.addToast({title:r,...n,dismissible:a,id:o}),o},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
19this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let r,n;if(!t)return;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let i=Promise.resolve(e instanceof Function?e():e),a=void 0!==n,s=i.then(async e=>{if(r=["resolve",e],o.isValidElement(e))a=!1,this.create({id:n,type:"default",message:e});else if(E(e)&&!e.ok){a=!1;let r="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,i="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description,s="object"!=typeof r||o.isValidElement(r)?{message:r}:r;this.create({id:n,type:"error",description:i,...s})}else if(e instanceof Error){a=!1;let r="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof r||o.isValidElement(r)?{message:r}:r;this.create({id:n,type:"error",description:i,...s})}else if(void 0!==t.success){a=!1;let r="function"==typeof t.success?await t.success(e):t.success,i="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof r||o.isValidElement(r)?{message:r}:r;this.create({id:n,type:"success",description:i,...s})}}).catch(async e=>{if(r=["reject",e],void 0!==t.error){a=!1;let r="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof r||o.isValidElement(r)?{message:r}:r;this.create({id:n,type:"error",description:i,...s})}}).finally(()=>{a&&(this.dismiss(n),n=void 0),null==t.finally||t.finally.call(t)}),u=()=>new Promise((e,t)=>s.then(()=>"reject"===r[0]?t(r[1]):e(r[1])).catch(t));return"string"!=typeof n&&"number"!=typeof n?{unwrap:u}:Object.assign(n,{unwrap:u})},this.custom=(e,t)=>{let r=(null==t?void 0:t.id)||w++;return this.create({jsx:e(r),id:r,...t}),r},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}let T=new x,E=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,P=()=>T.toasts,k=()=>T.getActiveToasts(),D=Object.assign((e,t)=>{let r=(null==t?void 0:t.id)||w++;return T.addToast({title:e,...t,id:r}),r},{success:T.success,info:T.info,warning:T.warning,error:T.error,custom:T.custom,message:T.message,promise:T.promise,dismiss:T.dismiss,loading:T.loading},{getHistory:P,getToasts:k});function A(e){return void 0!==e.label}p
vendor: 14,864 bytes, line 19
19("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
19let O=3,N="24px",C="16px",$=4e3,M=356,I=14,L=45,R=200;function F(...e){return e.filter(Boolean).join(" ")}function B(e){let[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}let U=e=>{var t,r,n,i,a,s,u,l,d,c,p;let{invert:f,toast:g,unstyled:y,interacting:b,setHeights:v,visibleToasts:w,heights:x,index:T,toasts:E,expanded:P,removeToast:k,defaultRichColors:D,closeButton:O,style:N,cancelButtonStyle:C,actionButtonStyle:M,className:I="",descriptionClassName:U="",duration:j,position:V,gap:z,expandByDefault:H,classNames:W,icons:G,closeButtonAriaLabel:q="Close toast"}
19=e,[Y,K]=o.useState(null),[Z,J]=o.useState(null),[X,Q]=o.useState(!1),[ee,et]=o.useState(!1),[er,en]=o.useState(!1),[eo,ei]=o.useState(!1),[ea,es]=o.useState(!1),[eu,el]=o.useState(0),[ed,ec]=o.useState(0),ep=o.useRef(g.duration||j||$),eh=o.useRef(null),ef=o.useRef(null),em=0===T,eg=T+1<=w,ey=g.type,eb=!1!==g.dismissible,ev=g.className||"",eS=g.descriptionClassName||"",e_=o.useMemo(()=>x.findIndex(e=>e.toastId===g.id)||0,[x,g.id]),ew=o.useMemo(()=>{var e;return null!=(e=g.closeButton)?e:O},[g.closeButton,O]),ex=o.useMemo(()=>g.duration||j||$,[g.duration,j]),eT=o.useRef(0),eE=o.useRef(0),eP=o.useRef(0),ek=o.useRef(null),[eD,eA]=V.split("-"),eO=o.useMemo(()=>x.reduce((e,t,r)=>r>=e_?e:e+t.height,0),[x,e_]),eN=_(),eC=g.invert||f,e$="loading"===ey;eE.current=o.useMemo(()=>e_*z+eO,[e_,eO]),o.useEffect(()=>{ep.current=ex},[ex]),o.useEffect(()=>{Q(!0)},[]),o.useEffect(()=>{let e=ef.current;if(e){let t=e.getBoundingClientRect().height;return ec(t),v(e=>[{toastId:g.id,height:t,position:g.position},...e]),()=>v(e=>e.filter(e=>e.toastId!==g.id))}},[v,g.id]),o.useLayoutEffect(()=>{if(!X)return;let e=ef.current,t=e.style.height;e.style.height="auto";let r=e.getBoundingClientRect().height;e.style.height=t,ec(r),v(e=>e.find(e=>e.toastId===g.id)?e.map(e=>e.toastId===g.id?{...e,height:r}:e):[{toastId:g.id,height:r,position:g.position},...e])},[X,g.title,g.description,v,g.id,g.jsx,g.action,g.cancel]);let eM=o.useCallback(()=>{et(!0),el(eE.current),v(e=>e.filter(e=>e.toastId!==g.id)),setTimeout(()=>{k(g)},R)},[g,k,v,eE]);function eI(){var e,t;return(null==G?void 0:G.loading)?o.createElement("div",{className:F(null==W?void 0:W.loader,null==g?void 0:null==(t=g.classNames)?void 0:t.loader,"sonner-loader"),"data-visible":"loading"===ey},G.loading):o.createElement(m,{className:F(null==W?void 0:W.loader,null==g?void 0:null==(e=g.classNames)?void 0:e.loader),visible:"loading"===ey})}o.useEffect(()=>{let e;if(g.promise&&"loading"===ey||g.duration===1/0||"loading"===g.type)return;let t=()=>{if(eP.current<eT.current){let e=new Date().getTime()-eT.current;ep.current=ep.current-e}eP.current=new Date().getTime()},r=()=>{ep.current!==1/0&&(eT.current=new Date().getTime(),e=setTimeout(()=>{null==g.onAutoClose||g.onAutoClose.call(g,g),eM()},ep.current))};return P||b||eN?t():r(),()=>clearTimeout(e)},[P,b,g,ey,eN,eM]),o.useEffect(()=>{g.delete&&(eM(),null==g.onDismiss||g.onDismiss.call(g,g))},[eM,g.delete]);let eL=g.icon||(null==G?void 0:G[ey])||h(ey);return o.createElement("li",{tabIndex:0,ref:ef,className:F(I,ev,null==W?void 0:W.toast,null==g?void 0:null==(t=g.classNames)?void 0:t.toast,null==W?void 0:W.default,null==W?void 0:W[ey],null==g?void 0:null==(r=g.classNames)?void 0:r[ey]),"data-sonner-toast":"","data-rich-colors":null!=(c=g.richColors)?c:D,"data-styled":!(g.jsx||g.unstyled||y),"data-mounted":X,"data-promise":!!g.promise,"data-swiped":ea,"data-removed":ee,"data-visible":eg,"data-y-position":eD,"data-x-position":eA,"data-index":T,"data-front":em,"data-swiping":er,"data-dismissible":eb,"data-type":ey,"data-invert":eC,"data-swipe-out":eo,"data-swipe-direction":Z,"data-expanded":!!(P||H&&X),"data-testid":g.testId,style:{"--index":T,"--toasts-before":T,"--z-index":E.length-T,"--offset":`${ee?eu:eE.current}px`,"--initial-height":H?"auto":`${ed}px`,...N,...g.style},onDragEnd:()=>{en(!1),K(null),ek.current=null},onPointerDown:e=>{2!==e.button&&!e$&&eb&&(eh.current=new Date,el(eE.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(en(!0),ek.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,r,n,o;if(eo||!eb)return;ek.current=null;let i=Number((null==(e=ef.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),a=Number((null==(t=ef.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),s=new Date().getTime()-(null==(r=eh.current)?void 0:r.getTime()),u="x"===Y?i:a,l=Math.abs(u)/s;if(Math.abs(u)>=L||l>.11){el(eE.current),null==g.onDismiss||g.onDismiss.call(g,g),"x"===Y?J(i>0?"right":"left"):J(a>0?"down":"up"),eM(),ei(!0);return}null==(n=ef.current)||n.style.setProperty("--swipe-amount-x","0px"),null==(o=ef.current)||o.style.setProperty("--swipe-amount-y","0px"),es(!1),en(!1),K(null)},onPointerMove:t=>{var r,n,o,i;if(!ek.current||!eb||(null==(r=window.getSelection())?void 0:r.toString().length)>0)return;let a=t.clientY-ek.current.y,s=t.clientX-ek.current.x,u=null!=(i=e.swipeDirections)?i:B(V);!Y&&(Math.abs(s)>1||Math.abs(a)>1)&&K(Math.abs(s)>Math.abs(a)?"x":"y");let l={x:0,y:0},d=e=>1/(1.5+Math.abs(e)/20);if("y"===Y){if(u.includes("top")||u.includes("bottom")){if(u.includes("top")&&a<0||u.includes("bottom")&&a>0)l.y=a;else{let e=a*d(a);l.y=Math.abs(e)<Math.abs(a)?e:a}}}else if("x"===Y&&(u.includes("left")||u.includes("right"))){if(u.includes("left")&&s<0||u.includes("right")&&s>0)l.x=s;else{let e=s*d(s);l.x=Math.abs(e)<Math.abs(s)?e:s}}(Math.abs(l.x)>
vendor: 5,549 bytes, line 19
190||Math.abs(l.y)>0)&&es(!0),null==(n=ef.current)||n.style.setProperty("--swipe-amount-x",`${l.x}px`),null==(o=ef.current)||o.style.setProperty("--swipe-amount-y",`${l.y}px`)}},ew&&!g.jsx&&"loading"!==ey?o.createElement("button",{"aria-label":q,"data-disabled":e$,"data-close-button":!0,onClick:e$||!eb?()=>{}:()=>{eM(),null==g.onDismiss||g.onDismiss.call(g,g)},className:F(null==W?void 0:W.closeButton,null==g?void 0:null==(n=g.classNames)?void 0:n.closeButton)},null!=(p=null==G?void 0:G.close)?p:S):null,(ey||g.icon||g.promise)&&null!==g.icon&&((null==G?void 0:G[ey])!==null||g.icon)?o.createElement("div",{"data-icon":"",className:F(null==W?void 0:W.icon,null==g?void 0:null==(i=g.classNames)?void 0:i.icon)},g.promise||"loading"===g.type&&!g.icon?g.icon||eI():null,"loading"!==g.type?eL:null):null,o.createElement("div",{"data-content":"",className:F(null==W?void 0:W.content,null==g?void 0:null==(a=g.classNames)?void 0:a.content)},o.createElement("div",{"data-title":"",className:F(null==W?void 0:W.title,null==g?void 0:null==(s=g.classNames)?void 0:s.title)},g.jsx?g.jsx:"function"==typeof g.title?g.title():g.title),g.description?o.createElement("div",{"data-description":"",className:F(U,eS,null==W?void 0:W.description,null==g?void 0:null==(u=g.classNames)?void 0:u.description)},"function"==typeof g.description?g.description():g.description):null),o.isValidElement(g.cancel)?g.cancel:g.cancel&&A(g.cancel)?o.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||C,onClick:e=>{A(g.cancel)&&eb&&(null==g.cancel.onClick||g.cancel.onClick.call(g.cancel,e),eM())},className:F(null==W?void 0:W.cancelButton,null==g?void 0:null==(l=g.classNames)?void 0:l.cancelButton)},g.cancel.label):null,o.isValidElement(g.action)?g.action:g.action&&A(g.action)?o.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||M,onClick:e=>{A(g.action)&&(null==g.action.onClick||g.action.onClick.call(g.action,e),e.defaultPrevented||eM())},className:F(null==W?void 0:W.actionButton,null==g?void 0:null==(d=g.classNames)?void 0:d.actionButton)},g.action.label):null)};function j(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}function V(e,t){let r={};return[e,t].forEach((e,t)=>{let n=1===t,o=n?"--mobile-offset":"--offset",i=n?C:N;function a(e){["top","right","bottom","left"].forEach(t=>{r[`${o}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?a(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?r[`${o}-${t}`]=i:r[`${o}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):a(i)}),r}let z=o.forwardRef(function(e,t){let{id:r,invert:n,position:i="bottom-right",hotkey:a=["altKey","KeyT"],expand:s,closeButton:u,className:l,offset:d,mobileOffset:p,theme:h="light",richColors:f,duration:m,style:g,visibleToasts:y=O,toastOptions:b,dir:v=j(),gap:S=I,icons:_,containerAriaLabel:w="Notifications"}=e,[x,E]=o.useState([]),P=o.useMemo(()=>r?x.filter(e=>e.toasterId===r):x.filter(e=>!e.toasterId),[x,r]),k=o.useMemo(()=>Array.from(new Set([i].concat(P.filter(e=>e.position).map(e=>e.position)))),[P,i]),[D,A]=o.useState([]),[N,C]=o.useState(!1),[$,L]=o.useState(!1),[R,F]=o.useState("system"!==h?h:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=o.useRef(null),z=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),H=o.useRef(null),W=o.useRef(!1),G=o.useCallback(e=>{E(t=>{var r;return(null==(r=t.find(t=>t.id===e.id))?void 0:r.delete)||T.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return o.useEffect(()=>T.subscribe(e=>{if(e.dismiss){requestAnimationFrame(()=>{E(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))});return}setTimeout(()=>{c.flushSync(()=>{E(t=>{let r=t.findIndex(t=>t.id===e.id);return -1!==r?[...t.slice(0,r),{...t[r],...e},...t.slice(r+1)]:[e,...t]})})})}),[x]),o.useEffect(()=>{if("system"!==h){F(h);return}if("system"===h&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?F("dark"):F("light")),"undefined"==typeof window)return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{e?F("dark"):F("light")})}catch(t){e.addListener(({matches:e})=>{try{e?F("dark"):F("light")}catch(e){console.error(e)}})}},[h]),o.useEffect(()=>{x.length<=1&&C(!1)},[x]),o.useEffect(()=>{let e=e=>{var t,r;a.every(t=>e[t]||e.code===t)&&(C(!0),null==(r=B.current)||r.focus()),"Escape"===e.code&&(document.activeElement===B.current||(null==(t=B.current)?void 0:t.contains(document.activeElement)))&&C(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[a]),o.useEffect(()=>{if(B.current)return()=>{H.current&&(H.current.focus({preventScroll:!0}),H.current=null,W.current=!1)}},[B.current]),o.createElement("section",{ref:t,"aria-label":`${w} ${z}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((t,r)=>{var i;let[a,c]=t.split("-");return P.length?o.createElement("ol",{key:t,dir:"auto"===v?j():v,tabIndex:-1,ref:B,className:l,"data-sonner-toaster":!0,"data-sonner-theme":R,"data-y-position":a,"data-x-position":c,style:{"--front-toast-height":`${(null==(i=D[0])?void 0:i.height)||0}px`,"--width":`${M}px`,"--gap":`${S}px`,...g,...V(d,p)},onBlur:e=>{W.current&&!e.currentTarget.contains(e.relatedTarget)&&(W.current=!1,H.
19current&&(H.current.focus({preventScroll:!0}),H.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||W.current||(W.current=!0,H.current=e.relatedTarget)},onMouseEnter:()=>C(!0),onMouseMove:()=>C(!0),onMouseLeave:()=>{$||C(!1)},onDragEnd:()=>C(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||L(!0)},onPointerUp:()=>L(!1)},P.filter(e=>!e.position&&0===r||e.position===t).map((r,i)=>{var a,l;return o.createElement(U,{key:r.id,icons:_,index:i,toast:r,defaultRichColors:f,duration:null!=(a=null==b?void 0:b.duration)?a:m,className:null==b?void 0:b.className,descriptionClassName:null==b?void 0:b.descriptionClassName,invert:n,visibleToasts:y,closeButton:null!=(l=null==b?void 0:b.closeButton)?l:u,interacting:$,position:t,style:null==b?void 0:b.style,unstyled:null==b?void 0:b.unstyled,classNames:null==b?void 0:b.classNames,cancelButtonStyle:null==b?void 0:b.cancelButtonStyle,actionButtonStyle:null==b?void 0:b.actionButtonStyle,closeButtonAriaLabel:null==b?void 0:b.closeButtonAriaLabel,removeToast:G,toasts:P.filter(e=>e.position==r.position),heights:D.filter(e=>e.position==r.position),setHeights:A,expandByDefault:s,gap:S,expanded:N,swipeDirections:e.swipeDirections})})):null}))});var H=r(70851);let W={info:"bg-primary"},G=e=>{let{...t}=e,{theme:r="system"}=d();return(0,n.jsx)(z,{theme:r,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:p-0 group-[.toaster]:bg-black group-[.toaster]:text-white group-[.toaster]:border-0 group-[.toaster]:shadow-[0_3px_14px_0_rgba(0,0,0,0.1)]",content:"flex-1 text-sm",icon:"!w-[22px] !h-[22px] !m-0 shrink-0",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},icons:{info:Y},...t})},q=e=>{let{type:t,children:r,icon:o}=e;return(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsxs)("div",{className:"p-4 flex items-center gap-3",children:[(0,n.jsx)("div",{className:"shrink-0",children:o}),r]}),(0,n.jsx)("div",{className:"rounded-b-lg overflow-hidden",children:(0,n.jsx)("div",{className:(0,H.$)("h-[6px] animate-expand-x group-hover:paused",W[t])})})]})},Y=(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:"M11 22C17.0751 22 22 17.0751 22 11C22 4.92487 17.0751 0 11 0C4.92487 0 0 4.92487 0 11C0 17.0751 4.92487 22 11 22Z",className:"fill-[#F2E9FE] dark:fill-primary"}),(0,n.jsxs)("g",{className:"fill-primary dark:fill-[#170926]",children:[(0,n.jsx)("path",{d:"M10.7752 10.0068C10.5163 10.0068 10.2679 10.1097 10.0848 10.2928C9.9017 10.4759 9.79883 10.7243 9.79883 10.9832V15.5232C9.79883 15.7821 9.9017 16.0305 10.0848 16.2136C10.2679 16.3967 10.5163 16.4996 10.7752 16.4996C11.0342 16.4996 11.2825 16.3967 11.4657 16.2136C11.6488 16.0305 11.7516 15.7821 11.7516 15.5232V10.9832C11.7516 10.7243 11.6488 10.4759 11.4657 10.2928C11.2825 10.1097 11.0342 10.0068 10.7752 10.0068Z"}),(0,n.jsx)("path",{d:"M10.7754 8.72365C11.3894 8.72365 11.8872 8.22587 11.8872 7.61182C11.8872 6.99778 11.3894 6.5 10.7754 6.5C10.1614 6.5 9.66357 6.99778 9.66357 7.61182C9.66357 8.22587 10.1614 8.72365 10.7754 8.72365Z"})]})]})}),K=(e,t)=>D(e,t);K.info=(e,t)=>{D((0,n.jsx)(q,{type:"info",icon:Y,children:e}),t)}},52493:()=>{},92164:()=>{},96503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicUsageError",{enumerable:!0,get:function(){return s}});let n=r(90094),o=r(65327),i=r(16539),a=r(7858),s=e=>(0,n.isDynamicServerError)(e)||(0,o.isBailoutToCSRError)(e)||(0,i.isNextRouterError)(e)||(0,a.isDynamicPostpone)(e)},51984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{METADATA_BOUNDARY_NAME:function(){return r},OUTLET_BOUNDARY_NAME:function(){return o},VIEWPORT_BOUNDARY_NAME:function(){return n}});let r="__next_metadata_boundary__",n="__next_viewport_boundary__",o="__next_outlet_boundary__"},67075:(e,t,r)=>{"use strict";
19Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(81704).createAsyncLocalStorage)()},76938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorageInstance}});let n=r(67075)},81704:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bindSnapshot:function(){return a},createAsyncLocalStorage:function(){return i},createSnapshot:function(){return s}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let o="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function i(){return o?new o:new n}function a(e){return o?o.bind(e):n.bind(e)}function s(){return o?o.snapshot():function(e,...t){return e(...t)}}},7858:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Postpone:function(){return T},abortAndThrowOnSynchronousRequestDataAccess:function(){return w},abortOnSynchronousPlatformIOAccess:function(){return S},accessedDynamicData:function(){return C},annotateDynamicAccess:function(){return R},consumeDynamicAccess:function(){return $},createDynamicTrackingState:function(){return p},createDynamicValidationState:function(){return h},createPostponedAbortSignal:function(){return L},formatDynamicAPIAccesses:function(){return M},getFirstDynamicReason:function(){return f},isDynamicPostpone:function(){return k},isPrerenderInterruptedError:function(){return N},markCurrentScopeAsDynamic:function(){return m},postponeWithTracking:function(){return E},throwIfDisallowedDynamic:function(){return W},throwToInterruptStaticGeneration:function(){return y},trackAllowedDynamicAccess:function(){return z},trackDynamicDataInDynamicRender:function(){return b},trackFallbackParamAccessed:function(){return g},trackSynchronousPlatformIOAccessInDev:function(){return _},trackSynchronousRequestDataAccessInDev:function(){return x},useDynamicRouteParams:function(){return F}});let n=d(r(44349)),o=r(90094),i=r(23560),a=r(58628),s=r(82683),u=r(5695),l=r(51984);function d(e){return e&&e.__esModule?e:{default:e}}let c="function"==typeof n.default.unstable_postpone;function p(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicExpression:void 0,syncDynamicErrorWithStack:null}}function h(){return{hasSuspendedDynamic:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasSyncDynamicErrors:!1,dynamicErrors:[]}}function f(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function m(e,t,r){if((!t||"cache"!==t.type&&"unstable-cache"!==t.type)&&!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw new i.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(t){if("prerender-ppr"===t.type)E(e.route,r,t.dynamicTracking);else if("prerender-legacy"===t.type){t.revalidate=0;let n=new o.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=r,e.dynamicUsageStack=n.stack,n}}}}function g(e,t){let r=a.workUnitAsyncStorage.getStore();r&&"prerender-ppr"===r.type&&E(e.route,t,r.dynamicTracking)}function y(e,t,r){let n=new o.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw r.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}function b(e,t){t&&"cache"!==t.type&&"unstable-cache"!==t.type&&("prerender"===t.type||"prerender-legacy"===t.type)&&(t.revalidate=0)}function v(e,t,r){let n=O(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`);r.controller.abort(n);let o=r.dynamicTracking;o&&o.dynamicAccesses.push({stack:o.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function S(e,t,r,n){let o=n.dynamicTracking;return o&&null===o.syncDynamicErrorWithStack&&(o.syncDynamicExpression=t,o.syncDynamicErrorWithStack=r),v(e,t,n)}function _(e){e.prerenderPhase=!1}function w(e,t,r,n){let o=n.dynamicTracking;throw o&&null===o.syncDynamicErrorWithStack&&(o.syncDynamicExpression=t,o.syncDynamicErrorWithStack=r,!0===n.validating&&(o.syncDynamicLogged=!0)),v(e,t,n),O(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`)}let x=_;function T({reason:e,route:t}){let r=a.workUnitAsyncStorage.getStore();E(t,e,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function E(e,t,r){I(),r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),n.default.unstable_postpone(P(e,t))}function P(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function k(e){return"object"==typeof e&&null!==e&&"string"==typeof e.message&&D(e.message)}function D(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===D(P("%%%","^^^")))throw Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js");let A="NEXT_PRERENDER_INTERRUPTED";function O(e){let t=Error(e);return t.digest=A,t}function N(e){return"object"==typeof e&&null!==e&&e.digest===A&&"name"in e&&"message"in e&&e instanceof Error}function C(e){return e.length>0}function $(e,t){return e.dynamicAccesses.push(...t.dynamicAccesses),e.dynamicAccesses}function M(e){return e.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" (<anonymous>)")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}:
20${t}`))}function I(){if(!c)throw Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js")}function L(e){I();let t=new AbortController;try{n.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}function R(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function F(e){if("undefined"==typeof window){let t=s.workAsyncStorage.getStore();
20if(t&&t.isStaticGeneration&&t.fallbackRouteParams&&t.fallbackRouteParams.size>0){let r=a.workUnitAsyncStorage.getStore();r&&("prerender"===r.type?n.default.use((0,u.makeHangingPromise)(r.renderSignal,e)):"prerender-ppr"===r.type?E(t.route,e,r.dynamicTracking):"prerender-legacy"===r.type&&y(e,t,r))}}}let B=/\n\s+at Suspense \(<anonymous>\)/,U=RegExp(`\\n\\s+at ${l.METADATA_BOUNDARY_NAME}[\\n\\s]`),j=RegExp(`\\n\\s+at ${l.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),V=RegExp(`\\n\\s+at ${l.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function z(e,t,r,n,o){if(!V.test(t)){if(U.test(t)){r.hasDynamicMetadata=!0;return}if(j.test(t)){r.hasDynamicViewport=!0;return}if(B.test(t)){r.hasSuspendedDynamic=!0;return}if(n.syncDynamicErrorWithStack||o.syncDynamicErrorWithStack){r.hasSyncDynamicErrors=!0;return}else{let n=H(`Route "${e}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,t);r.dynamicErrors.push(n);return}}}function H(e,t){let r=Error(e);return r.stack="Error: "+e+t,r}function W(e,t,r,n){let o,a,s;if(r.syncDynamicErrorWithStack?(o=r.syncDynamicErrorWithStack,a=r.syncDynamicExpression,s=!0===r.syncDynamicLogged):n.syncDynamicErrorWithStack?(o=n.syncDynamicErrorWithStack,a=n.syncDynamicExpression,s=!0===n.syncDynamicLogged):(o=null,a=void 0,s=!1),t.hasSyncDynamicErrors&&o)throw s||console.error(o),new i.StaticGenBailoutError;let u=t.dynamicErrors;if(u.length){for(let e=0;e<u.length;e++)console.error(u[e]);throw new i.StaticGenBailoutError}if(!t.hasSuspendedDynamic){if(t.hasDynamicMetadata){if(o)throw console.error(o),new i.StaticGenBailoutError(`Route "${e}" has a \`generateMetadata\` that could not finish rendering before ${a} was used. Follow the instructions in the error for this expression to resolve.`);throw new i.StaticGenBailoutError(`Route "${e}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateMetadata\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`)}if(t.hasDynamicViewport){if(o)throw console.error(o),new i.StaticGenBailoutError(`Route "${e}" has a \`generateViewport\` that could not finish rendering before ${a} was used. Follow the instructions in the error for this expression to resolve.`);throw new i.StaticGenBailoutError(`Route "${e}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateViewport\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`)}}}},59606:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(81704).createAsyncLocalStorage)()},82683:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=r(59606)},20329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(81704).createAsyncLocalStorage)()},58628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return o},getPrerenderResumeDataCache:function(){return i},getRenderResumeDataCache:function(){return a},workUnitAsyncStorage:function(){return n.workUnitAsyncStorageInstance}});let n=r(20329);function o(e){let t=n.workUnitAsyncStorageInstance.getStore();if(t){if("request"===t.type)return t;if("prerender"===t.type||"prerender-ppr"===t.type||"prerender-legacy"===t.type)throw Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`);if("cache"===t.type)throw Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`);if("unstable-cache"===t.type)throw Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`)}throw Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`)}function i(e){return"prerender"===e.type||"prerender-ppr"===e.type?e.prerenderResumeDataCache:null}function a(e){return"prerender-legacy"!==e.type&&"cache"!==e.type&&"unstable-cache"!==e.type?"request"===e.type?e.renderResumeDataCache:e.prerenderResumeDataCache:null}},5695:(e,t)=>{"use strict";function r(e,t){let r=new Promise((r,n)=>{e.addEventListener("abort",()=>{n(Error(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t}
20 to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`))},{once:!0})});return r.catch(n),r}function n(){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"makeHangingPromise",{enumerable:!0,get:function(){return r}})},30576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isPostpone",{enumerable:!0,get:function(){return n}});let r=Symbol.for("react.postpone");function n(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}},54450:(e,t,r)=>{e.exports=r(40198)},7261:(e,t,r)=>{e.exports=r(54328)},35122:e=>{function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=35122,e.exports=t},93439:(e,t,r)=>{"use strict";var n=o(r(12147));function o(e){return e&&e.__esModule?e:{default:e}}var i={tags:function(e){var t=e.id,r=e.events,o=e.dataLayer,i=e.dataLayerName,a=e.preview,s="&gtm_auth="+e.auth,u="&gtm_preview="+a;return t||(0,n.default)("GTM Id is required"),{iframe:'\n      <iframe src="https://www.googletagmanager.com/ns.html?id='+t+s+u+'&gtm_cookies_win=x"\n        height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:"\n      (function(w,d,s,l,i){w[l]=w[l]||[];\n        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(r).slice(1,-1)+"});\n        var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n        j.async=true;
20j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+s+u+"&gtm_cookies_win=x';\n        f.parentNode.insertBefore(j,f);\n      })(window,document,'script','"+i+"','"+t+"');",dataLayerVar:this.dataLayer(o,i)}},dataLayer:function(e,t){return"\n      window."+t+" = window."+t+" || [];\n      window."+t+".push("+JSON.stringify(e)+")"}};e.exports=i},74938:(e,t,r)=>{"use strict";var n=o(r(93439));function o(e){return e&&e.__esModule?e:{default:e}}var i={dataScript:function(e){var t=document.createElement("script");return t.innerHTML=e,t},gtm:function(e){var t=n.default.tags(e);return{noScript:function(){var e=document.createElement("noscript");return e.innerHTML=t.iframe,e},script:function(){var e=document.createElement("script");return e.innerHTML=t.script,e},dataScript:this.dataScript(t.dataLayerVar)}},initialize:function(e){var t=e.gtmId,r=e.events,n=void 0===r?{}:r,o=e.dataLayer,i=e.dataLayerName,a=void 0===i?"dataLayer":i,s=e.auth,u=void 0===s?"":s,l=e.preview,d=void 0===l?"":l,c=this.gtm({id:t,events:n,dataLayer:o||void 0,dataLayerName:a,auth:u,preview:d});o&&document.head.appendChild(c.dataScript),document.head.insertBefore(c.script(),document.head.childNodes[0]),document.body.insertBefore(c.noScript(),document.body.childNodes[0])},dataLayer:function(e){var t=e.dataLayer,r=e.dataLayerName,o=void 0===r?"dataLayer":r;if(window[o])return window[o].push(t);var i=n.default.dataLayer(t,o),a=this.dataScript(i);document.head.insertBefore(a,document.head.childNodes[0])}};e.exports=i},14993:(e,t,r)=>{"use strict";var n=o(r(74938));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=n.default},12147:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){console.warn("[react-gtm]",e)};t.default=r},35360:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,c=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case d:case c:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case g:case m:case u:return e;default:return t}}case o:return t}}}function w(e){return _(e)===c}t.AsyncMode=d,t.ConcurrentMode=c,t.ContextConsumer=l,t.ContextProvider=u,t.Element=n,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||_(e)===d},t.isConcurrentMode=w,t.isContextConsumer=function(e){return _(e)===l},t.isContextProvider=function(e){return _(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return _(e)===p},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===g},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===s||e===a||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===S||e.$$typeof===y)},t.typeOf=_},17020:(e,t,r)=>{"use strict";e.exports=r(35360)},22599:e=>{function t(){}t.prototype={on:function(e,t,r){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var n=this;function o(){n.off(e,o),t.apply(r,arguments)}return o._=t,this.on(e,o,r)}
20,emit:function(e){for(var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),n=0,o=r.length;n<o;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],o=[];if(n&&t)for(var i=0,a=n.length;i<a;i++)n[i].fn!==t&&n[i].fn._!==t&&o.push(n[i]);return o.length?r[e]=o:delete r[e],this}},e.exports=t,e.exports.TinyEmitter=t},39687:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},72059:function(e,t,r){var n;!function(o,i){"use strict";var a="1.0.41",s="",u="?",l="function",d="undefined",c="object",p="string",h="major",f="model",m="name",g="type",y="vendor",b="version",v="architecture",S="console",_="mobile",w="tablet",x="smarttv",T="wearable",E="embedded",P=500,k="Amazon",D="Apple",A="ASUS",O="BlackBerry",N="Browser",C="Chrome",$="Firefox",M="Google",I="Honor",L="Huawei",R="LG",F="Microsoft",B="Motorola",U="Nvidia",j="OnePlus",V="Opera",z="OPPO",H="Samsung",W="Sharp",G="Sony",q="Xiaomi",Y="Zebra",K="Facebook",Z="Chromium OS",J="Mac OS",X=" Browser",Q=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},ee=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},et=function(e,t){return typeof e===p&&-1!==er(t).indexOf(er(e))},er=function(e){return e.toLowerCase()},en=function(e){return typeof e===p?e.replace(/[^\d\.]/g,s).split(".")[0]:void 0},eo=function(e,t){if(typeof e===p)return e=e.replace(/^\s\s*/,s),typeof t===d?e:e.substring(0,P)},ei=function(e,t){for(var r,n,o,a,s,u,d=0;d<t.length&&!s;){var p=t[d],h=t[d+1];for(r=n=0;r<p.length&&!s&&p[r];)if(s=p[r++].exec(e))for(o=0;o<h.length;o++)u=s[++n],typeof(a=h[o])===c&&a.length>0?2===a.length?typeof a[1]==l?this[a[0]]=a[1].call(this,u):this[a[0]]=a[1]:3===a.length?typeof a[1]!==l||a[1].exec&&a[1].test?this[a[0]]=u?u.replace(a[1],a[2]):void 0:this[a[0]]=u?a[1].call(this,u,a[2]):void 0:4===a.length&&(this[a[0]]=u?a[3].call(this,u.replace(a[1],a[2])):i):this[a]=u||i;d+=2}},ea=function(e,t){for(var r in t)if(typeof t[r]===c&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(et(t[r][n],e))return r===u?i:r}else if(et(t[r],e))return r===u?i:r;return t.hasOwnProperty("*")?t["*"]:e},es={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},eu={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,b],[/opios[\/ ]+([\w\.]+)/i],[b,[m,V+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[b,[m,V+" GX"]],[/\bopr\/([\w\.]+)/i],[b,[m,V]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[b,[m,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[b,[m,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,b],[/quark(?:pc)?\/([-\w\.]+)/i],[b,[m,"Quark"]],[/\bddg\/([\w\.]+)/i],[b,[m,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[m,"UC"+N]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[b,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[b,[m,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[b,[m,"Smart Lenovo "+N]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+
vendor: 5,605 bytes, line 20
20)/,"$1 Secure "+N],b],[/\bfocus\/([\w\.]+)/i],[b,[m,$+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[m,V+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[m,V+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[m,"MIUI"+X]],[/fxios\/([\w\.-]+)/i],[b,[m,$]],[/\bqihoobrowser\/?([\w\.]*)/i],[b,[m,"360"]],[/\b(qq)\/([\w\.]+)/i],[[m,/(.+)/,"$1Browser"],b],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1"+X],b],[/samsungbrowser\/([\w\.]+)/i],[b,[m,H+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[b,[m,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[m,"Sogou Mobile"],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[m,b],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[m],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[b,m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,K],b],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[m,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[b,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[m,C+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,C+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[m,"Android "+N]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[b,ea,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[m,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],b],[/(wolvic|librewolf)\/([\w\.]+)/i],[m,b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[m,$+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[m,[b,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[m,[b,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[v,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[v,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[v,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[v,/ower/,s,er]],[/ sun4\w[;\)]/i],[[v,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[v,er]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[y,H],[g,w]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[f,[y,H],[g,_]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[y,D],[g,_]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[y,D],[g,w]],[/(macintosh);/i],[f,[y,D]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[y,W],[g,_]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[f,[y,I],[g,w]],[/honor([-\w ]+)[;\)]/i],[f,[y,I],[g,_]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[f,[y,L],[g,w]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[y,L],[g,_]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[f,/_/g," "],[y,q],[g,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[f,/_/g," "],[y,q],[g,_]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[y,z],[g,_]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[f,[y,ea,{OnePlus:["304","403","203"],"*":z}],[g,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[y,"Vivo"],[g,_]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[y,"Realme"],[g,_]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[y,B],[g,_]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[y,B],[g,w]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[y,R],[g,w]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[y,R],[g,_]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}
vendor: 4,943 bytes, line 20
20(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[f,[y,"Lenovo"],[g,w]],[/(nokia) (t[12][01])/i],[y,f,[g,w]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[f,/_/g," "],[g,_],[y,"Nokia"]],[/(pixel (c|tablet))\b/i],[f,[y,M],[g,w]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[y,M],[g,_]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[y,G],[g,_]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[y,G],[g,w]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[y,j],[g,_]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[y,k],[g,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[y,k],[g,_]],[/(playbook);[-\w\),; ]+(rim)/i],[f,y,[g,w]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[y,O],[g,_]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[y,A],[g,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[y,A],[g,_]],[/(nexus 9)/i],[f,[y,"HTC"],[g,w]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[y,[f,/_/g," "],[g,_]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[f,[y,"TCL"],[g,w]],[/(itel) ((\w+))/i],[[y,er],f,[g,ea,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[y,"Acer"],[g,w]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[y,"Meizu"],[g,_]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[y,"Ulefone"],[g,_]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[f,[y,"Energizer"],[g,_]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[f,[y,"Cat"],[g,_]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[f,[y,"Smartfren"],[g,_]],[/droid.+; (a(?:015|06[35]|142p?))/i],[f,[y,"Nothing"],[g,_]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[f,[y,"Archos"],[g,w]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[f,[y,"Archos"],[g,_]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[y,f,[g,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[y,f,[g,_]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[y,f,[g,w]],[/(surface duo)/i],[f,[y,F],[g,w]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[y,"Fairphone"],[g,_]],[/(u304aa)/i],[f,[y,"AT&T"],[g,_]],[/\bsie-(\w*)/i],[f,[y,"Siemens"],[g,_]],[/\b(rct\w+) b/i],[f,[y,"RCA"],[g,w]],[/\b(venue[\d ]{2,7}) b/i],[f,[y,"Dell"],[g,w]],[/\b(q(?:mv|ta)\w+) b/i],[f,[y,"Verizon"],[g,w]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[y,"Barnes & Noble"],[g,w]],[/\b(tm\d{3}\w+) b/i],[f,[y,"NuVision"],[g,w]],[/\b(k88) b/i],[f,[y,"ZTE"],[g,w]],[/\b(nx\d{3}j) b/i],[f,[y,"ZTE"],[g,_]],[/\b(gen\d{3}) b.+49h/i],[f,[y,"Swiss"],[g,_]],[/\b(zur\d{3}) b/i],[f,[y,"Swiss"],[g,w]],[/\b((zeki)?tb.*\b) b/i],[f,[y,"Zeki"],[g,w]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[y,"Dragon Touch"],f,[g,w]],[/\b(ns-?\w{0,9}) b/i],[f,[y,"Insignia"],[g,w]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[y,"NextBook"],[g,w]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[y,"Voice"],f,[g,_]],[/\b(lvtel\-)?(v1[12]) b/i],[[y,"LvTel"],f,[g,_]],[/\b(ph-1) /i],[f,[y,"Essential"],[g,_]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[y,"Envizen"],[g,w]],[/\b(trio[-\w\. ]+) b/i],[f,[y,"MachSpeed"],[g,w]],[/\btu_(1491) b/i],[f,[y,"Rotor"],[g,w]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[f,[y,U],[g,w]],[/(sprint) (\w+)/i],[y,f,[g,_]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[y,F],[g,_]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[y,Y],[g,w]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[y,Y],[g,_]],[/smart-tv.+(samsung)/i],[y,[g,x]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[y,H],[g,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[y,R],[g,x]],[/(apple) ?tv/i],[y,[f,D+" TV"],[g,x]],[/crkey/i],[[f,C+"cast"],[y,M],[g,x]],[/droid.+aft(\w+)( bui|\))/i],[f,[y,k],[g,x]],[/(shield \w+ tv)/i],[f,[y,U],[g,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[y,W],[g,x]],[/(bravia[\w ]+)( bui|\))/i],[f,[y,G],[g,x]],[/(mi(tv|box)-?\w+) bui/i],[f,[y,q],[g,x]],[/
vendor: 2,579 bytes, line 20
20Hbbtv.*(technisat) (.*);/i],[y,f,[g,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[y,eo],[f,eo],[g,x]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[f,[g,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[g,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[y,f,[g,S]],[/droid.+; (shield)( bui|\))/i],[f,[y,U],[g,S]],[/(playstation \w+)/i],[f,[y,G],[g,S]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[y,F],[g,S]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[f,[y,H],[g,T]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[y,f,[g,T]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[f,[y,z],[g,T]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[y,D],[g,T]],[/(opwwe\d{3})/i],[f,[y,j],[g,T]],[/(moto 360)/i],[f,[y,B],[g,T]],[/(smartwatch 3)/i],[f,[y,G],[g,T]],[/(g watch r)/i],[f,[y,R],[g,T]],[/droid.+; (wt63?0{2,3})\)/i],[f,[y,Y],[g,T]],[/droid.+; (glass) \d/i],[f,[y,M],[g,T]],[/(pico) (4|neo3(?: link|pro)?)/i],[y,f,[g,T]],[/; (quest( \d| pro)?)/i],[f,[y,K],[g,T]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[y,[g,E]],[/(aeobc)\b/i],[f,[y,k],[g,E]],[/(homepod).+mac os/i],[f,[y,D],[g,E]],[/windows iot/i],[[g,E]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[g,_]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[g,w]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[g,w]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[g,_]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[f,[y,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[m,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[m,b],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,b],[/ladybird\//i],[[m,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,b],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[m,[b,ea,es]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[b,ea,es],[m,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,J],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,m],[/(ubuntu) ([\w\.]+) like android/i],[[m,/(.+
20)/,"$1 Touch"],b],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[m,b],[/\(bb(10);/i],[b,[m,O]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[b,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[m,$+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[b,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[b,[m,C+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,Z],b],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,b],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,b]]},el=function(e,t){if(typeof e===c&&(t=e,e=i),!(this instanceof el))return new el(e,t).getResult();var r=typeof o!==d&&o.navigator?o.navigator:i,n=e||(r&&r.userAgent?r.userAgent:s),a=r&&r.userAgentData?r.userAgentData:i,u=t?Q(eu,t):eu,S=r&&r.userAgent==n;return this.getBrowser=function(){var e={};return e[m]=i,e[b]=i,ei.call(e,n,u.browser),e[h]=en(e[b]),S&&r&&r.brave&&typeof r.brave.isBrave==l&&(e[m]="Brave"),e},this.getCPU=function(){var e={};return e[v]=i,ei.call(e,n,u.cpu),e},this.getDevice=function(){var e={};return e[y]=i,e[f]=i,e[g]=i,ei.call(e,n,u.device),S&&!e[g]&&a&&a.mobile&&(e[g]=_),S&&"Macintosh"==e[f]&&r&&typeof r.standalone!==d&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[f]="iPad",e[g]=w),e},this.getEngine=function(){var e={};return e[m]=i,e[b]=i,ei.call(e,n,u.engine),e},this.getOS=function(){var e={};return e[m]=i,e[b]=i,ei.call(e,n,u.os),S&&!e[m]&&a&&a.platform&&"Unknown"!=a.platform&&(e[m]=a.platform.replace(/chrome os/i,Z).replace(/macos/i,J)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===p&&e.length>P?eo(e,P):e,this},this.setUA(n),this};el.VERSION=a,el.BROWSER=ee([m,b,h]),el.CPU=ee([v]),el.DEVICE=ee([f,y,g,S,_,x,w,T,E]),el.ENGINE=el.OS=ee([m,b]),typeof t!==d?("object"!==d&&e.exports&&(t=e.exports=el),t.UAParser=el):"function"===l&&r.amdO?i!==(n=(function(){return el}).call(t,r,t,e))&&(e.exports=n):typeof o!==d&&(o.UAParser=el);var ed=typeof o!==d&&(o.jQuery||o.Zepto);if(ed&&!ed.ua){var ec=new el;ed.ua=ec.getResult(),ed.ua.get=function(){return ec.getUA()},ed.ua.set=function(e){ec.setUA(e);var t=ec.getResult();for(var r in t)ed.ua[r]=t[r]}}}("object"==typeof window?window:this)},22817:(e,t,r)=>{"use strict";var n=r(44349);function o(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var i="function"==typeof Object.is?Object.is:o,a=n.useState,s=n.useEffect,u=n.useLayoutEffect,l=n.useDebugValue;function d(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),o=n[0].inst,i=n[1];return u(function(){o.value=r,o.getSnapshot=t,c(o)&&i({inst:o})},[e,r,t]),s(function(){return c(o)&&i({inst:o}),e(function(){c(o)&&i({inst:o})})},[e]),l(r),r}function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}function p(e,t){return t()}var h="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?p:d;t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:h},91364:(e,t,r)=>{"use strict";e.exports=r(22817)},73752:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},57167:()=>{},17284:function(e,t){var r;!function(n,o){function i(e){return e.default||e}void 0!==(r=(function(){var e={};return o(e),i(e)}).apply(t,[]))&&(e.exports=r)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,function(e){"use strict";
vendor: 5,207 bytes, line 20
20Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function r(e,t,r){this.low=0|e,this.high=0|t,this.unsigned=!!r}function n(e){return!0===(e&&e.__isLong__)}function o(e){var t=Math.clz32(e&-e);return e?31-t:t}r.prototype.__isLong__,Object.defineProperty(r.prototype,"__isLong__",{value:!0}),r.isLong=n;var i={},a={};function s(e,t){var r,n,o;return t?(e>>>=0,(o=0<=e&&e<256)&&(n=a[e]))?n:(r=l(e,0,!0),o&&(a[e]=r),r):(e|=0,(o=-128<=e&&e<128)&&(n=i[e]))?n:(r=l(e,e<0?-1:0,!1),o&&(i[e]=r),r)}function u(e,t){if(isNaN(e))return t?b:y;if(t){if(e<0)return b;if(e>=f)return x}else{if(e<=-m)return T;if(e+1>=m)return w}return e<0?u(-e,t).neg():l(e%h|0,e/h|0,t)}function l(e,t,n){return new r(e,t,n)}r.fromInt=s,r.fromNumber=u,r.fromBits=l;var d=Math.pow;function c(e,t,r){if(0===e.length)throw Error("empty string");if("number"==typeof t?(r=t,t=!1):t=!!t,"NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return t?b:y;if((r=r||10)<2||36<r)throw RangeError("radix");if((n=e.indexOf("-"))>0)throw Error("interior hyphen");if(0===n)return c(e.substring(1),t,r).neg();for(var n,o=u(d(r,8)),i=y,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),l=parseInt(e.substring(a,a+s),r);if(s<8){var p=u(d(r,s));i=i.mul(p).add(u(l))}else i=(i=i.mul(o)).add(u(l))}return i.unsigned=t,i}function p(e,t){return"number"==typeof e?u(e,t):"string"==typeof e?c(e,t):l(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}r.fromString=c,r.fromValue=p;var h=0x100000000,f=0xffffffffffffffff,m=0x8000000000000000,g=s(0x1000000),y=s(0);r.ZERO=y;var b=s(0,!0);r.UZERO=b;var v=s(1);r.ONE=v;var S=s(1,!0);r.UONE=S;var _=s(-1);r.NEG_ONE=_;var w=l(-1,0x7fffffff,!1);r.MAX_VALUE=w;var x=l(-1,-1,!0);r.MAX_UNSIGNED_VALUE=x;var T=l(0,-0x80000000,!1);r.MIN_VALUE=T;var E=r.prototype;E.toInt=function(){return this.unsigned?this.low>>>0:this.low},E.toNumber=function(){return this.unsigned?(this.high>>>0)*h+(this.low>>>0):this.high*h+(this.low>>>0)},E.toString=function(e){if((e=e||10)<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(!this.eq(T))return"-"+this.neg().toString(e);var t=u(e),r=this.div(t),n=r.mul(t).sub(this);return r.toString(e)+n.toInt().toString(e)}for(var o=u(d(e,6),this.unsigned),i=this,a="";;){var s=i.div(o),l=(i.sub(s.mul(o)).toInt()>>>0).toString(e);if((i=s).isZero())return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}},E.getHighBits=function(){return this.high},E.getHighBitsUnsigned=function(){return this.high>>>0},E.getLowBits=function(){return this.low},E.getLowBitsUnsigned=function(){return this.low>>>0},E.getNumBitsAbs=function(){if(this.isNegative())return this.eq(T)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&(e&1<<t)==0;t--);return 0!=this.high?t+33:t+1},E.isSafeInteger=function(){var e=this.high>>21;return!e||!this.unsigned&&-1===e&&!(0===this.low&&-2097152===this.high)},E.isZero=function(){return 0===this.high&&0===this.low},E.eqz=E.isZero,E.isNegative=function(){return!this.unsigned&&this.high<0},E.isPositive=function(){return this.unsigned||this.high>=0},E.isOdd=function(){return(1&this.low)==1},E.isEven=function(){return(1&this.low)==0},E.equals=function(e){return n(e)||(e=p(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low},E.eq=E.equals,E.notEquals=function(e){return!this.eq(e)},E.neq=E.notEquals,E.ne=E.notEquals,E.lessThan=function(e){return 0>this.comp(e)},E.lt=E.lessThan,E.lessThanOrEqual=function(e){return 0>=this.comp(e)},E.lte=E.lessThanOrEqual,E.le=E.lessThanOrEqual,E.greaterThan=function(e){return this.comp(e)>0},E.gt=E.greaterThan,E.greaterThanOrEqual=function(e){return this.comp(e)>=0},E.gte=E.greaterThanOrEqual,E.ge=E.greaterThanOrEqual,E.compare=function(e){if(n(e)||(e=p(e)),this.eq(e))return 0;var t=this.isNegative(),r=e.isNegative();return t&&!r?-1:!t&&r?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},E.comp=E.compare,E.negate=function(){return!this.unsigned&&this.eq(T)?T:this.not().add(v)},E.neg=E.negate,E.add=function(e){n(e)||(e=p(e));var t,r,o=this.high>>>16,i=65535&this.high,a=this.low>>>16,s=65535&this.low,u=e.high>>>16,d=65535&e.high,c=e.low>>>16,h=65535&e.low,f=0,m=0;
20return t=0+((r=0+(s+h))>>>16),r&=65535,t+=a+c,m+=t>>>16,t&=65535,m+=i+d,f+=m>>>16,m&=65535,f+=o+u,l(t<<16|r,(f&=65535)<<16|m,this.unsigned)},E.subtract=function(e){return n(e)||(e=p(e)),this.add(e.neg())},E.sub=E.subtract,E.multiply=function(e){if(this.isZero())return this;if(n(e)||(e=p(e)),t)return l(t.mul(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned);if(e.isZero())return this.unsigned?b:y;if(this.eq(T))return e.isOdd()?T:y;if(e.eq(T))return this.isOdd()?T:y;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(g)&&e.lt(g))return u(this.toNumber()*e.toNumber(),this.unsigned);var r,o,i=this.high>>>16,a=65535&this.high,s=this.low>>>16,d=65535&this.low,c=e.high>>>16,h=65535&e.high,f=e.low>>>16,m=65535&e.low,v=0,S=0;return r=0+((o=0+d*m)>>>16),o&=65535,r+=s*m,S+=r>>>16,r&=65535,r+=d*f,S+=r>>>16,r&=65535,S+=a*m,v+=S>>>16,S&=65535,S+=s*f,v+=S>>>16,S&=65535,S+=d*h,v+=S>>>16,S&=65535,v+=i*m+a*f+s*h+d*c,l(r<<16|o,(v&=65535)<<16|S,this.unsigned)},E.mul=E.multiply,E.divide=function(e){if(n(e)||(e=p(e)),e.isZero())throw Error("division by zero");if(t){var r,o,i;return this.unsigned||-0x80000000!==this.high||-1!==e.low||-1!==e.high?l((this.unsigned?t.div_u:t.div_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this}if(this.isZero())return this.unsigned?b:y;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return b;if(e.gt(this.shru(1)))return S;i=b}else{if(this.eq(T))return e.eq(v)||e.eq(_)?T:e.eq(T)?v:(r=this.shr(1).div(e).shl(1)).eq(y)?e.isNegative()?v:_:(o=this.sub(e.mul(r)),i=r.add(o.div(e)));if(e.eq(T))return this.unsigned?b:y;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();i=y}for(o=this;o.gte(e);){for(var a=Math.ceil(Math.log(r=Math.max(1,Math.floor(o.toNumber()/e.toNumber())))/Math.LN2),s=a<=48?1:d(2,a-48),c=u(r),h=c.mul(e);h.isNegative()||h.gt(o);)r-=s,h=(c=u(r,this.unsigned)).mul(e);c.isZero()&&(c=v),i=i.add(c),o=o.sub(h)}return i},E.div=E.divide,E.modulo=function(e){return(n(e)||(e=p(e)),t)?l((this.unsigned?t.rem_u:t.rem_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},E.mod=E.modulo,E.rem=E.modulo,E.not=function(){return l(~this.low,~this.high,this.unsigned)},E.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},E.clz=E.countLeadingZeros,E.countTrailingZeros=function(){return this.low?o(this.low):o(this.high)+32},E.ctz=E.countTrailingZeros,E.and=function(e){return n(e)||(e=p(e)),l(this.low&e.low,this.high&e.high,this.unsigned)},E.or=function(e){return n(e)||(e=p(e)),l(this.low|e.low,this.high|e.high,this.unsigned)},E.xor=function(e){return n(e)||(e=p(e)),l(this.low^e.low,this.high^e.high,this.unsigned)},E.shiftLeft=function(e){return(n(e)&&(e=e.toInt()),0==(e&=63))?this:e<32?l(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):l(0,this.low<<e-32,this.unsigned)},E.shl=E.shiftLeft,E.shiftRight=function(e){return(n(e)&&(e=e.toInt()),0==(e&=63))?this:e<32?l(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):l(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},E.shr=E.shiftRight,E.shiftRightUnsigned=function(e){return(n(e)&&(e=e.toInt()),0==(e&=63))?this:e<32?l(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned):32===e?l(this.high,0,this.unsigned):l(this.high>>>e-32,0,this.unsigned)},E.shru=E.shiftRightUnsigned,E.shr_u=E.shiftRightUnsigned,E.rotateLeft=function(e){var t;return(n(e)&&(e=e.toInt()),0==(e&=63))?this:32===e?l(this.high,this.low,this.unsigned):e<32?(t=32-e,l(this.low<<e|this.high>>>t,this.high<<e|this.low>>>t,this.unsigned)):(e-=32,t=32-e,l(this.high<<e|this.low>>>t,this.low<<e|this.high>>>t,this.unsigned))},E.rotl=E.rotateLeft,E.rotateRight=function(e){var t;return(n(e)&&(e=e.toInt()),0==(e&=63))?this:32===e?l(this.high,this.low,this.unsigned):e<32?(t=32-e,l(this.high<<t|this.low>>>e,this.low<<t|this.high>>>e,this.unsigned)):(e-=32,t=32-e,l(this.low<<t|this.high>>>e,this.high<<t|this.low>>>e,this.unsigned))},E.rotr=E.rotateRight,E.toSigned=function(){return this.unsigned?l(this.low,this.high,!1):this},E.toUnsigned=function(){return this.unsigned?this:l(this.low,this.high,!0)},E.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},E.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},E.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},r.fromBytes=function(e,t,n){return n?r.fromBytesLE(e,t):r.fromBytesBE(e,t)},r.fromBytesLE=function(e,t){return new r(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},r.fromBytesBE=function(e,t){return new r(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)},"function"==typeof BigInt&&(r.fromBigInt=function(e,t){return l(Number(BigInt.asIntN(32,e)),Number(BigInt.asIntN(32,e>>BigInt(32))),t)},r.fromValue=function(e,t){return"bigint"==typeof e?r.fromBigInt(e,t):p(e,t)},E.toBigInt=function(){var e=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|e}),e.default=r})},81327:(e,t,r)=>{"use strict";e.exports=r(89955)},89955:(e,t,r)=>{"use strict";var n=t;function o(){n.util._configure(),n.Writer._configure(n.BufferWriter),n.Reader._
20configure(n.BufferReader)}n.build="minimal",n.Writer=r(25670),n.BufferWriter=r(36855),n.Reader=r(438),n.BufferReader=r(60167),n.util=r(73593),n.rpc=r(82858),n.roots=r(71852),n.configure=o,o()},438:(e,t,r)=>{"use strict";e.exports=u;var n,o=r(73593),i=o.LongBits,a=o.utf8;function s(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function u(e){this.buf=e,this.pos=0,this.len=e.length}var l="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new u(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new u(e);throw Error("illegal buffer")},d=function(){return o.Buffer?function(e){return(u.create=function(e){return o.Buffer.isBuffer(e)?new n(e):l(e)})(e)}:l};function c(){var e=new i(0,0),t=0;if(this.len-this.pos>4){for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;t=0}else{for(;t<3;++t){if(this.pos>=this.len)throw s(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}if(this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw s(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function p(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function h(){if(this.pos+8>this.len)throw s(this,8);return new i(p(this.buf,this.pos+=4),p(this.buf,this.pos+=4))}u.create=d(),u.prototype._slice=o.Array.prototype.subarray||o.Array.prototype.slice,u.prototype.raw=function(e,t){return Array.isArray(this.buf)?this.buf.slice(e,t):e===t?new this.buf.constructor(0):this._slice.call(this.buf,e,t)},u.prototype.uint32=function(){var e=this.buf,t=this.pos,r=(127&e[t])>>>0;if(e[t++]<128||(r=(r|(127&e[t])<<7)>>>0,e[t++]<128)||(r=(r|(127&e[t])<<14)>>>0,e[t++]<128)||(r=(r|(127&e[t])<<21)>>>0,e[t++]<128)||(r=(r|(15&e[t])<<28)>>>0,e[t++]<128))return this.pos=t,r;for(var n=0;n<5;++n){if(t>=this.len)throw this.pos=t,s(this);if(e[t++]<128)return this.pos=t,r}throw this.pos=t,Error("invalid varint encoding")},u.prototype.tag=function(){var e=this.buf,t=this.pos,r=(127&e[t])>>>0;if(e[t++]<128||(r=(r|(127&e[t])<<7)>>>0,e[t++]<128)||(r=(r|(127&e[t])<<14)>>>0,e[t++]<128)||(r=(r|(127&e[t])<<21)>>>0,e[t++]<128))return this.pos=t,r;if(r=(r|(15&e[t])<<28)>>>0,e[t]<128&&(112&e[t])==0)return this.pos=t+1,r;throw this.pos=t+1,Error("invalid tag encoding")},u.prototype.int32=function(){return 0|this.uint32()},u.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},u.prototype.bool=function(){for(var e,t=!1,r=0;r<10;++r){if(this.pos>=this.len)throw s(this);if(127&(e=this.buf[this.pos++])&&(t=!0),e<128)return t}throw Error("invalid varint encoding")},u.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return p(this.buf,this.pos+=4)},u.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|p(this.buf,this.pos+=4)},u.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var e=o.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},u.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var e=o.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},u.prototype.bytes=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw s(this,e);return this.pos=r,this.raw(t,r)},u.prototype.string=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw s(this,e);return this.pos=r,a.read(this.buf,t,r)},u.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw s(this,e);this.pos+=e}else do if(this.pos>=this.len)throw s(this);while(128&this.buf[this.pos++]);return this},u.recursionLimit=o.recursionLimit,u.prototype.skipType=function(e,t,r){if(void 0===t&&(t=0),t>u.recursionLimit)throw Error("max depth exceeded");if(0===r)throw Error("illegal tag: field number 0");switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;;){var n=this.tag(),o=n>>>3;if(e=7&n,!o)throw Error("illegal tag: field number 0");if(4===e){if(void 0!==r&&o!==r)throw Error("invalid end group tag");break}this.skipType(e,t+1,o)}break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},u._configure=function(e){n=e,u.create=d(),n._configure();var t=o.Long?"toLong":"toNumber";o.merge(u.prototype,{int64:function(){return c.call(this)[t](!1)},uint64:function(){return c.call(this)[t](!0)},sint64:function(){return c.call(this).zzDecode()[t](!1)},fixed64:function(){return h.call(this)[t](!0)},sfixed64:function(){return h.call(this)[t](!1)}})}},60167:(e,t,r)=>{"use strict";e.exports=i;var n=r(438);(i.prototype=Object.create(n.prototype)).constructor=i;var o=r(73593);function i(e){n.call(this,e)}i._configure=function(){o.Buffer&&(i.prototype._slice=o.Buffer.prototype.slice)},i.prototype.raw=function(e,t){return e===t?o.Buffer.alloc(0):this._slice.call(this.buf,e,t)},i.prototype.string=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw RangeError("index out of range: "+this.pos+" + "+e+" > "+this.len);return this.pos=r,this.buf.utf8Slice?this.buf.utf8Slice(t,r):this.buf.toString("utf-8",t,r)},i._configure()},71852:e=>{"use strict";e.exports={}},82858:(e,t,r)=>{"use strict";t.Service=r(72314)},72314:(e,t,r)=>{"use strict";e.exports=o;var n=r(73593);function o(e,t,r){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=!!t,this.responseDelimited=!!r}(o.prototype=Object.create(n.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,r,o,i,a){if(!i)throw TypeError("request must be specified");var s=this;if(!a)return n.asPromise(e,s,t,r,o,i);if(!s.rpcImpl){setTimeout(function(){a(Error("already ended"))},0);return}
vendor: 7,001 bytes, line 20
20try{return s.rpcImpl(t,r[s.requestDelimited?"encodeDelimited":"encode"](i).finish(),function(e,r){if(e)return s.emit("error",e,t),a(e);if(null===r){s.end(!0);return}if(!(r instanceof o))try{r=o[s.responseDelimited?"decodeDelimited":"decode"](r)}catch(e){return s.emit("error",e,t),a(e)}return s.emit("data",r,t),a(null,r)})}catch(e){s.emit("error",e,t),setTimeout(function(){a(e)},0);return}},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},14051:e=>{"use strict";function t(e,t){for(var r=Array(arguments.length-1),n=0,o=2,i=!0;o<arguments.length;)r[n++]=arguments[o++];return new Promise(function(o,a){r[n]=function(e){if(i){if(i=!1,e)a(e);else{for(var t=Array(arguments.length-1),r=0;r<t.length;)t[r++]=arguments[r];o.apply(null,t)}}};try{e.apply(t||null,r)}catch(e){i&&(i=!1,a(e))}})}e.exports=t},93859:(e,t)=>{"use strict";var r=t;r.length=function(e){var t=e.length;if(!t)return 0;for(;t>0&&"="===e.charAt(t-1);)--t;return Math.floor(3*t/4)};for(var n=Array(64),o=Array(123),i=0;i<64;)o[n[i]=i<26?i+65:i<52?i+71:i<62?i-4:i-59|43]=i++;o[45]=62,o[95]=63,r.encode=function(e,t,r){for(var o,i=null,a=[],s=0,u=0;t<r;){var l=e[t++];switch(u){case 0:a[s++]=n[l>>2],o=(3&l)<<4,u=1;break;case 1:a[s++]=n[o|l>>4],o=(15&l)<<2,u=2;break;case 2:a[s++]=n[o|l>>6],a[s++]=n[63&l],u=0}s>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,a)),s=0)}return(u&&(a[s++]=n[o],a[s++]=61,1===u&&(a[s++]=61)),i)?(s&&i.push(String.fromCharCode.apply(String,a.slice(0,s))),i.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var a="invalid encoding";r.decode=function(e,t,r){for(var n,i=r,s=0,u=0;u<e.length;){var l=e.charCodeAt(u++);if(61===l&&s>1)break;if(void 0===(l=o[l]))throw Error(a);switch(s){case 0:n=l,s=1;break;case 1:t[r++]=n<<2|(48&l)>>4,n=l,s=2;break;case 2:t[r++]=(15&n)<<4|(60&l)>>2,n=l,s=3;break;case 3:t[r++]=(3&n)<<6|l,s=0}}if(1===s)throw Error(a);return r-i};var s=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,u=/[-_]/,l=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2}(?:==)?|[A-Za-z0-9_-]{3}=?)?$/;r.test=function(e){return s.test(e)||u.test(e)&&l.test(e)}},98322:e=>{"use strict";function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,r){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:r||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var r=this._listeners[e],n=0;n<r.length;)r[n].fn===t?r.splice(n,1):++n;return this},t.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var r=[],n=1;n<arguments.length;)r.push(arguments[n++]);for(n=0;n<t.length;)t[n].fn.apply(t[n++].ctx,r)}return this}},99580:e=>{"use strict";function t(e){return"undefined"!=typeof Float32Array?function(){var t=new Float32Array([-0]),r=new Uint8Array(t.buffer),n=128===r[3];function o(e,n,o){t[0]=e,n[o]=r[0],n[o+1]=r[1],n[o+2]=r[2],n[o+3]=r[3]}function i(e,n,o){t[0]=e,n[o]=r[3],n[o+1]=r[2],n[o+2]=r[1],n[o+3]=r[0]}function a(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],t[0]}function s(e,n){return r[3]=e[n],r[2]=e[n+1],r[1]=e[n+2],r[0]=e[n+3],t[0]}e.writeFloatLE=n?o:i,e.writeFloatBE=n?i:o,e.readFloatLE=n?a:s,e.readFloatBE=n?s:a}():function(){function t(e,t,r,n){var o=t<0?1:0;if(o&&(t=-t),0===t)e(1/t>0?0:0x80000000,r,n);else if(isNaN(t))e(0x7fc00000,r,n);else if(t>34028234663852886e22)e((o<<31|0x7f800000)>>>0,r,n);else if(t<11754943508222875e-54)e((o<<31|Math.round(t/1401298464324817e-60))>>>0,r,n);else{var i=Math.floor(Math.log(t)/Math.LN2),a=8388607&Math.round(t*Math.pow(2,-i)*8388608);e((o<<31|i+127<<23|a)>>>0,r,n)}}function a(e,t,r){var n=e(t,r),o=(n>>31)*2+1,i=n>>>23&255,a=8388607&n;return 255===i?a?NaN:1/0*o:0===i?1401298464324817e-60*o*a:o*Math.pow(2,i-150)*(a+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=a.bind(null,o),e.readFloatBE=a.bind(null,i)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),r=new Uint8Array(t.buffer),n=128===r[7];function o(e,n,o){t[0]=e,n[o]=r[0],n[o+1]=r[1],n[o+2]=r[2],n[o+3]=r[3],n[o+4]=r[4],n[o+5]=r[5],n[o+6]=r[6],n[o+7]=r[7]}function i(e,n,o){t[0]=e,n[o]=r[7],n[o+1]=r[6],n[o+2]=r[5],n[o+3]=r[4],n[o+4]=r[3],n[o+5]=r[2],n[o+6]=r[1],n[o+7]=r[0]}function a(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],r[4]=e[n+4],r[5]=e[n+5],r[6]=e[n+6],r[7]=e[n+7],t[0]}function s(e,n){return r[7]=e[n],r[6]=e[n+1],r[5]=e[n+2],r[4]=e[n+3],r[3]=e[n+4],r[2]=e[n+5],r[1]=e[n+6],r[0]=e[n+7],t[0]}e.writeDoubleLE=n?o:i,e.writeDoubleBE=n?i:o,e.readDoubleLE=n?a:s,e.readDoubleBE=n?s:a}():function(){function t(e,t,r,n,o,i){var a,s=n<0?1:0;if(s&&(n=-n),0===n)e(0,o,i+t),e(1/n>0?0:0x80000000,o,i+r);else if(isNaN(n))e(0,o,i+t),e(0x7ff80000,o,i+r);else if(n>17976931348623157e292)e(0,o,i+t),e((s<<31|0x7ff00000)>>>0,o,i+r);else if(n<22250738585072014e-324)e((a=n/5e-324)>>>0,o,i+t),e((s<<31|a/0x100000000)>>>0,o,i+r);else{var u=Math.floor(Math.log(n)/Math.LN2);1024===u&&(u=1023),e(0x10000000000000*(a=n*Math.pow(2,-u))>>>0,o,i+t),e((s<<31|u+1023<<20|1048576*a&1048575)>>>0,o,i+r)}}function a(e,t,r,n,o){var i=e(n,o+t),a=e(n,o+r),s=(a>>31)*2+1,u=a>>>20&2047,l=0x100000000*(1048575&a)+i;return 2047===u?l?NaN:1/0*s:0===u?5e-324*s*l:s*Math.pow(2,u-1075)*(l+0x10000000000000)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,n,4,0),e.readDoubleLE=a.bind(null,o,0,4),e.readDoubleBE=a.bind(null,i,4,0)}(),e}function r(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}function n(e,t,r){t[r]=e>>>24,t[r+1]=e>>>16&255,t[r+2]=e>>>8&255,t[r+3]=255&e}function o(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function i(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},73019:(e,t,r)=>{"use strict";function n(e){try{var t=r(35122)(e);if(t&&(t.length||Object.keys(t).length))return t;return null}catch(e){return null}}e.exports=n},50370:(e,t,r)=>{"use strict";e.exports=o;var n=r(73593);function o(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=o.zero=new o(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var a=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return i;var t=e<0;t&&(e=-e);var r=e>>>0,n=(e-r)/0x100000000>>>0;return t&&(n=~n>>>0,r=~r>>>0,++r>0xffffffff&&(r=0,++n>0xffffffff&&(n=0))),new o(r,n)},o.from=function(e){if("number"==typeof e)return o.fromNumber(e);if(n.isString(e)){if(!n.Long)return o.fromNumber(parseInt(e,10));e=n.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):i},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=~this.lo+1>>>0,r=~this.hi>>>0;return t||(r=r+1>>>0),-(t+0x100000000*r)}return this.lo+0x100000000*this.hi},o.prototype.toLong=function(e){return n.Long?new n.Long(0|this.lo,0|this.hi,!!e):{low:0|this.lo,high:0|this.hi,unsigned:!!e}};var s=String.prototype.charCodeAt;o.fromHash=function(e){return e===a?i:new o((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>
200,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:r<128?9:10}},73593:function(e,t,r){"use strict";var n=t;function o(e,t,r){for(var n=Object.keys(t),o=0;o<n.length;++o)void 0!==e[n[o]]&&r||"__proto__"===n[o]||(e[n[o]]=t[n[o]]);return e}function i(e){function t(e,r){if(!(this instanceof t))return new t(e,r);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:Error().stack||""}),r&&o(this,r)}return t.prototype=Object.create(Error.prototype,{constructor:{value:t,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return e},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),t}n.asPromise=r(14051),n.base64=r(93859),n.EventEmitter=r(98322),n.float=r(99580),n.inquire=r(73019),n.utf8=r(61531),n.pool=r(86898),n.LongBits=r(50370),n.isNode=!!(void 0!==r.g&&r.g&&r.g.process&&r.g.process.versions&&r.g.process.versions.node),n.global=n.isNode&&r.g||"undefined"!=typeof window&&window||"undefined"!=typeof self&&self||this,n.emptyArray=Object.freeze?Object.freeze([]):[],n.emptyObject=Object.freeze?Object.freeze({}):{},n.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},n.isString=function(e){return"string"==typeof e||e instanceof String},n.isObject=function(e){return e&&"object"==typeof e},n.isset=n.isSet=function(e,t){var r=e[t];return!!(null!=r&&e.hasOwnProperty(t))&&("object"!=typeof r||(Array.isArray(r)?r.length:Object.keys(r).length)>0)},n.Buffer=function(){try{var e=n.global.Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return"number"==typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},n.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,n.Long=n.global.dcodeIO&&n.global.dcodeIO.Long||n.global.Long||function(){try{var e=r(17284);return e&&e.isLong?e:null}catch(e){return null}}(),n.key2Re=/^(?:true|false|0|1)$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\x00-\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var r=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(r.lo,r.hi,t):r.toNumber(!!t)},n.longFromKey=function(e,t){return n.key64Re.test(e)&&!n.key32Re.test(e)?n.longFromHash(e,t):e},n.boolFromKey=function(e){return"true"===e||"1"===e},n.merge=o,n.nestingLimit=32,n.recursionLimit=100,n.makeProp=function(e,t,r){Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:void 0===r||r,configurable:!0,writable:!0})},n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=i,n.ProtocolError=i("ProtocolError"),n.oneOfGetter=function(e){for(var t={},r=0;r<e.length;++r)t[e[r]]=1;return function(){for(var e=Object.keys(this),r=e.length-1;r>-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},n.oneOfSetter=function(e){return function(t){for(var r=0;r<e.length;++r)e[r]!==t&&delete this[e[r]]}},n.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},n._configure=function(){var e=n.Buffer;if(!e){n._Buffer_from=n._Buffer_allocUnsafe=null;return}n._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,r){return new e(t,r)},n._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}}},86898:e=>{"use strict";function t(e,t,r){var n=r||8192,o=n>>>1,i=null,a=n;return function(r){if(r<1||r>o)return e(r);a+r>n&&(i=e(n),a=0);var s=t.call(i,a,a+=r);return 7&a&&(a=(7|a)+1),s}}e.exports=t},61531:(e,t)=>{"use strict";var r=t,n="�";function o(e,t,r,o){for(var i=t;i<r;){var a=e[i++];if(a<=127)o+=String.fromCharCode(a);else if(a>=192&&a<224){var s=(31&a)<<6|63&e[i++];o+=s>=128?String.fromCharCode(s):n}else if(a>=224&&a<240){var u=(15&a)<<12|(63&e[i++])<<6|63&e[i++];o+=u>=2048?String.fromCharCode(u):n}else if(a>=240){var l=(7&a)<<18|(63&e[i++])<<12|(63&e[i++])<<6|63&e[i++];l<65536||l>1114111?o+=n:(l-=65536,o+=String.fromCharCode(55296+(l>>10)),o+=String.fromCharCode(56320+(1023&l)))}}return o}r.length=function(e){for(var t=0,r=0,n=0;n<e.length;
20++n)(r=e.charCodeAt(n))<128?t+=1:r<2048?t+=2:(64512&r)==55296&&(64512&e.charCodeAt(n+1))==56320?(++n,t+=4):t+=3;return t},r.read=function(e,t,r){if(r-t<1)return"";for(var n,i,a,s,u,l,d,c,p="",h=t;h+7<r;h+=8){if(n=e[h],i=e[h+1],a=e[h+2],s=e[h+3],u=e[h+4],(n|i|a|s|u|(l=e[h+5])|(d=e[h+6])|(c=e[h+7]))&128)return o(e,h,r,p);p+=String.fromCharCode(n,i,a,s,u,l,d,c)}for(;h<r;++h){if(128&(n=e[h]))return o(e,h,r,p);p+=String.fromCharCode(n)}return p},r.write=function(e,t,r){for(var n,o,i=r,a=0;a<e.length;++a)(n=e.charCodeAt(a))<128?t[r++]=n:(n<2048?t[r++]=n>>6|192:((64512&n)==55296&&(64512&(o=e.charCodeAt(a+1)))==56320?(n=65536+((1023&n)<<10)+(1023&o),++a,t[r++]=n>>18|240,t[r++]=n>>12&63|128):t[r++]=n>>12|224,t[r++]=n>>6&63|128),t[r++]=63&n|128);return r-i}},25670:(e,t,r)=>{"use strict";e.exports=c;var n,o=r(73593),i=o.LongBits,a=o.base64,s=o.utf8;function u(e,t,r){this.fn=e,this.len=t,this.next=void 0,this.val=r}function l(){}function d(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function c(){this.len=0,this.head=new u(l,0,0),this.tail=this.head,this.states=null}var p=function(){return o.Buffer?function(){return(c.create=function(){return new n})()}:function(){return new c}};function h(e,t,r){t[r]=255&e}function f(e,t,r){for(var n=0;n<e.length;)t[r++]=e.charCodeAt(n++)}function m(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e}function g(e,t){this.len=e,this.next=void 0,this.val=t}function y(e,t,r){for(;e.hi;)t[r++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function b(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}c.create=p(),c.alloc=function(e){return new o.Array(e)},o.Array!==Array&&(c.alloc=o.pool(c.alloc,o.Array.prototype.subarray)),c.prototype._push=function(e,t,r){return this.tail=this.tail.next=new u(e,t,r),this.len+=t,this},g.prototype=Object.create(u.prototype),g.prototype.fn=m,c.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new g((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<0x10000000?4:5,e)).len,this},c.prototype.int32=function(e){return e<0?this._push(y,10,i.fromNumber(e)):this.uint32(e)},c.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},c.prototype.uint64=function(e){var t=i.from(e);return this._push(y,t.length(),t)},c.prototype.int64=c.prototype.uint64,c.prototype.sint64=function(e){var t=i.from(e).zzEncode();return this._push(y,t.length(),t)},c.prototype.bool=function(e){return this._push(h,1,e?1:0)},c.prototype.fixed32=function(e){return this._push(b,4,e>>>0)},c.prototype.sfixed32=c.prototype.fixed32,c.prototype.fixed64=function(e){var t=i.from(e);return this._push(b,4,t.lo)._push(b,4,t.hi)},c.prototype.sfixed64=c.prototype.fixed64,c.prototype.float=function(e){return this._push(o.float.writeFloatLE,4,e)},c.prototype.double=function(e){return this._push(o.float.writeDoubleLE,8,e)};var v=o.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var n=0;n<e.length;++n)t[r+n]=e[n]};c.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(h,1,0);if(o.isString(e)){var r=c.alloc(t=a.length(e));a.decode(e,r,0),e=r}return this.uint32(t)._push(v,t,e)},c.prototype.raw=function(e){var t=e.length>>>0;return t?this._push(v,t,e):this},c.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(t===e.length?f:s.write,t,e):this._push(h,1,0)},c.prototype.fork=function(){return this.states=new d(this),this.head=this.tail=new u(l,0,0),this.len=0,this},c.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new u(l,0,0),this.len=0),this},c.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},c.prototype.finish=function(){return this.finishInto(this.constructor.alloc(this.len),0)},c.prototype.finishInto=function(e,t){void 0===t&&(t=0);for(var r=this.head.next,n=t;r;)r.fn(r.val,e,n),n+=r.len,r=r.next;return e},c._configure=function(e){n=e,c.create=p(),n._configure()}},36855:(e,t,r)=>{"use strict";e.exports=i;var n=r(25670);(i.prototype=Object.create(n.prototype)).constructor=i;var o=r(73593);function i(){n.call(this)}function a(e,t,r){for(var n=0;n<e.length;)t[r++]=e.charCodeAt(n++)}function s(e,t,r){e.length<40?o.utf8.write(e,t,r):t.utf8Write?t.utf8Write(e,r):t.write(e,r)}i._configure=function(){i.alloc=o._Buffer_allocUnsafe,i.writeBytesBuffer=o.Buffer&&o.Buffer.prototype instanceof Uint8Array&&"set"===o.Buffer.prototype.set.name?function(e,t,r){t.set(e,r)}:function(e,t,r){if(e.copy)e.copy(t,r,0,e.length);else for(var n=0;n<e.length;)t[r++]=e[n++]}},i.prototype.bytes=function(e){o.isString(e)&&(e=o._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(i.writeBytesBuffer,t,e),this},i.prototype.raw=function(e){var t=e.length>>>0;return t?this._push(i.writeBytesBuffer,t,e):this},i.prototype.string=function(e){var t=o.Buffer.byteLength(e);return this.uint32(t),t&&this._push(t===e.length&&t<40?a:s,t,e),this},i._configure()},79605:function(e){!function(t,r){e.exports=r()}(0,function(){"use strict";function e(){return!0}function t(){return!1}function r(){}let n="Argument is not a typed-function.";function o(){let i,a;function s(e){return"object"==typeof e&&null!==e&&e.constructor===Object}let u=[{name:"number",test:function(e){return"number"==typeof e}},{name:"string",test:function(e){return"string"==typeof e}},{name:"boolean",test:function(e){return"boolean"==typeof e}},{name:"Function",test:function(e){return"function"==typeof e}},{name:"Array",test:Array.isArray},{name:"Date",test:function(e){return e instanceof Date}},{name:"RegExp",test:function(e){return e instanceof RegExp}},{name:"Object",test:s},{name:"null",test:function(e){return null===e}},{name:"undefined",test:function(e){return void 0===e}}],l={name:"any",test:e,isAny:!0},d=0,c={createCount:0};function p(e){let t;let r=i.get(e);if(r)return r;let n='Unknown type "'+e+'"',o=e.toLowerCase();for(t of a)if(t.toLowerCase()===o){n+='. Did you mean "'+t+'" ?';break}throw TypeError(n)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"any",r=t?p(t).index:a.length,n=[];for(let t=0;t<e.length;++t){if(!e[t]||"string"!=typeof e[t].name||"function"!=typeof e[t].test)throw TypeError("Object with properties {name: string, test: function} expected");let o=e[t].name;if(i.has(o))throw TypeError('Duplicate type name "'+o+'"');n.push(o),i.set(o,{name:o,test:e[t].test,isAny:e[t].isAny,index:r+t,conversionsTo:[]})}let o=a.slice(r);a=a.slice(0,r).concat(n).concat(o);for(let e=r+n.length;e<a.length;++e)i.get(a[e]).index=e}function f(){i=new Map,a=[],d=0,h([l],!1)}function m(){let e;
20for(e of a)i.get(e).conversionsTo=[];d=0}function g(e){let t=a.filter(t=>{let r=i.get(t);return!r.isAny&&r.test(e)});return t.length?t:["any"]}function y(e){return e&&"function"==typeof e&&"_typedFunctionData"in e}function b(e,t,r){let o,i;if(!y(e))throw TypeError(n);let a=r&&r.exact,s=E(Array.isArray(t)?t.join(","):t),u=_(s);if(!a||u in e.signatures){let t=e._typedFunctionData.signatureMap.get(u);if(t)return t}let l=s.length;if(a){let t;for(t in o=[],e.signatures)o.push(e._typedFunctionData.signatureMap.get(t))}else o=e._typedFunctionData.signatures;for(let e=0;e<l;++e){let t;let r=s[e],n=[];for(t of o){let o=A(t.params,e);if(o&&(!r.restParam||o.restParam)){if(!o.hasAny){let e=T(o);if(r.types.some(t=>!e.has(t.name)))continue}n.push(t)}}if(0===(o=n).length)break}for(i of o)if(i.params.length<=l)return i;throw TypeError("Signature not found (signature: "+(e.name||"unnamed")+"("+_(s,", ")+"))")}function v(e,t,r){return b(e,t,r).implementation}function S(e,t){let r=p(t);if(r.test(e))return e;let n=r.conversionsTo;if(0===n.length)throw Error("There are no conversions to "+t+" defined.");for(let t=0;t<n.length;t++)if(p(n[t].from).test(e))return n[t].convert(e);throw Error("Cannot convert "+e+" to "+t)}function _(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",";return e.map(e=>e.name).join(t)}function w(e){let t=0===e.indexOf("..."),r=(t?e.length>3?e.slice(3):"any":e).split("|").map(e=>p(e.trim())),n=!1,o=t?"...":"";return{types:r.map(function(e){return n=e.isAny||n,o+=e.name+"|",{name:e.name,typeIndex:e.index,test:e.test,isAny:e.isAny,conversion:null,conversionIndex:-1}}),name:o.slice(0,-1),hasAny:n,hasConversion:!1,restParam:t}}function x(e){let t=F(e.types.map(e=>e.name)),r=e.hasAny,n=e.name,o=t.map(function(e){let t=p(e.from);return r=t.isAny||r,n+="|"+e.from,{name:e.from,typeIndex:t.index,test:t.test,isAny:t.isAny,conversion:e,conversionIndex:e.index}});return{types:e.types.concat(o),name:n,hasAny:r,hasConversion:o.length>0,restParam:e.restParam}}function T(e){return e.typeSet||(e.typeSet=new Set,e.types.forEach(t=>e.typeSet.add(t.name))),e.typeSet}function E(e){let t=[];if("string"!=typeof e)throw TypeError("Signatures must be strings");let r=e.trim();if(""===r)return t;let n=r.split(",");for(let e=0;e<n.length;++e){let r=w(n[e].trim());if(r.restParam&&e!==n.length-1)throw SyntaxError('Unexpected rest parameter "'+n[e]+'": only allowed for the last parameter');if(0===r.types.length)return null;t.push(r)}return t}function P(e){let t=Z(e);return!!t&&t.restParam}function k(t){if(!t||0===t.types.length)return e;if(1===t.types.length)return p(t.types[0].name).test;if(2===t.types.length){let e=p(t.types[0].name).test,r=p(t.types[1].name).test;return function(t){return e(t)||r(t)}}{let e=t.types.map(function(e){return p(e.name).test});return function(t){for(let r=0;r<e.length;r++)if(e[r](t))return!0;return!1}}}function D(e){let t,r,n;if(P(e)){let r=(t=K(e).map(k)).length,n=k(Z(e)),o=function(e){for(let t=r;t<e.length;t++)if(!n(e[t]))return!1;return!0};return function(e){for(let r=0;r<t.length;r++)if(!t[r](e[r]))return!1;return o(e)&&e.length>=r+1}}return 0===e.length?function(e){return 0===e.length}:1===e.length?(r=k(e[0]),function(e){return r(e[0])&&1===e.length}):2===e.length?(r=k(e[0]),n=k(e[1]),function(e){return r(e[0])&&n(e[1])&&2===e.length}):(t=e.map(k),function(e){for(let r=0;r<t.length;r++)if(!t[r](e[r]))return!1;return e.length===t.length})}function A(e,t){return t<e.length?e[t]:P(e)?Z(e):null}function O(e,t){let r=A(e,t);return r?T(r):new Set}function N(e){return null===e.conversion||void 0===e.conversion}function C(e,t){let r=new Set;return e.forEach(e=>{let n;for(n of O(e.params,t))r.add(n)}),r.has("any")?["any"]:Array.from(r)}function $(e,t,r){let n,o,i;let a=e||"unnamed",s=r;for(i=0;i<t.length;i++){let e=[];
20if(s.forEach(r=>{let n=k(A(r.params,i));(i<r.params.length||P(r.params))&&n(t[i])&&e.push(r)}),0===e.length){if((o=C(s,i)).length>0){let e=g(t[i]);return(n=TypeError("Unexpected type of argument in function "+a+" (expected: "+o.join(" or ")+", actual: "+e.join(" | ")+", index: "+i+")")).data={category:"wrongType",fn:a,index:i,actual:e,expected:o},n}}else s=e}let u=s.map(function(e){return P(e.params)?1/0:e.params.length});if(t.length<Math.min.apply(null,u))return(n=TypeError("Too few arguments in function "+a+" (expected: "+(o=C(s,i)).join(" or ")+", index: "+t.length+")")).data={category:"tooFewArgs",fn:a,index:t.length,expected:o},n;let l=Math.max.apply(null,u);if(t.length>l)return(n=TypeError("Too many arguments in function "+a+" (expected: "+l+", actual: "+t.length+")")).data={category:"tooManyArgs",fn:a,index:t.length,expectedLength:l},n;let d=[];for(let e=0;e<t.length;++e)d.push(g(t[e]).join("|"));return(n=TypeError('Arguments of type "'+d.join(", ")+'" do not match any of the defined signatures of function '+a+".")).data={category:"mismatch",actual:d},n}function M(e){let t=a.length+1;for(let r=0;r<e.types.length;r++)t=Math.min(t,e.types[r].typeIndex);return t}function I(e){let t=d+1;for(let r=0;r<e.types.length;r++)N(e.types[r])||(t=Math.min(t,e.types[r].conversionIndex));return t}function L(e,t){if(e.hasAny){if(!t.hasAny)return .1}else if(t.hasAny)return -.1;if(e.restParam){if(!t.restParam)return .01}else if(t.restParam)return -.01;let r=M(e)-M(t);if(r<0)return -.001;if(r>0)return .001;let n=I(e),o=I(t);if(e.hasConversion){if(!t.hasConversion)return(1+n)*1e-6}else if(t.hasConversion)return-(1e-6*(1+o));let i=n-o;return i<0?-1e-7:i>0?1e-7:0}function R(e,t){let r,n;let o=e.params,i=t.params,a=Z(o),s=Z(i),u=P(o),l=P(i);if(u&&a.hasAny){if(!l||!s.hasAny)return 1e7}else if(l&&s.hasAny)return -1e7;let d=0,c=0;for(r of o)r.hasAny&&++d,r.hasConversion&&++c;let p=0,h=0;for(r of i)r.hasAny&&++p,r.hasConversion&&++h;if(d!==p)return(d-p)*1e6;if(u&&a.hasConversion){if(!l||!s.hasConversion)return 1e5}else if(l&&s.hasConversion)return -1e5;if(c!==h)return(c-h)*1e4;if(u){if(!l)return 1e3}else if(l)return -1e3;let f=(o.length-i.length)*(u?-100:100);if(0!==f)return f;let m=[],g=0;for(let e=0;e<o.length;++e){let t=L(o[e],i[e]);m.push(t),g+=t}if(0!==g)return(g<0?-10:10)+g;let y=9,b=9/(m.length+1);for(n of m){if(0!==n)return(n<0?-y:y)+n;y-=b}return 0}function F(e){if(0===e.length)return[];let t=e.map(p);if(1===e.length)return t[0].conversionsTo;let r=new Set(e),n=new Set;for(let e=0;e<t.length;++e)for(let o of t[e].conversionsTo)r.has(o.from)||n.add(o.from);let o=[];for(let e of n){let r=d+1,n=null;for(let o=0;o<t.length;++o)for(let i of t[o].conversionsTo)i.from===e&&i.index<r&&(r=i.index,n=i);o.push(n)}return o}function B(e,t){let r=t,n="";if(e.some(e=>e.hasConversion)){let o=P(e),i=e.map(U);n=i.map(e=>e.name).join(";"),r=function(){let e=[],r=o?arguments.length-1:arguments.length;for(let t=0;t<r;t++)e[t]=i[t](arguments[t]);return o&&(e[r]=arguments[r].map(i[r])),t.apply(this,e)}}let o=r;if(P(e)){let t=e.length-1;o=function(){return r.apply(this,J(arguments,0,t).concat([J(arguments,t)]))}}return n&&Object.defineProperty(o,"name",{value:n}),o}function U(e){let t,r,n,o;let i=[],a=[],s="";e.types.forEach(function(e){e.conversion&&(s+=e.conversion.from+"~>"+e.conversion.to+",",i.push(p(e.conversion.from).test),a.push(e.conversion.convert))}),s=s?s.slice(0,-1):"pass";let u=e=>e;switch(a.length){case 0:break;case 1:t=i[0],n=a[0],u=function(e){return t(e)?n(e):e};break;case 2:t=i[0],r=i[1],n=a[0],o=a[1],u=function(e){return t(e)?n(e):r(e)?o(e):e};break;default:u=function(e){for(let t=0;t<a.length;t++)if(i[t](e))return a[t](e);return e}}return Object.defineProperty(u,"name",{value:s}),u}function j(e){function t(e,r,n){if(!(r<e.length))return[n];{let o=e[r],i=[];if(o.restParam){let e=o.types.filter(N);e.length<o.types.length&&i.push({types:e,name:"..."+e.map(e=>e.name).join("|"),hasAny:e.some(e=>e.isAny),hasConversion:!1,restParam:!0}),i.push(o)}else i=o.types.map(function(e){return{types:[e],name:e.name,hasAny:e.isAny,hasConversion:e.conversion,restParam:!1}});return Q(i,function(o){return t(e,r+1,n.concat([o]))})}}return t(e,0,[])}function V(e,t){let r=Math.max(e.length,t.length);for(let n=0;n<r;n++){let r;let o=O(e,n),i=O(t,n),a=!1;for(r of i)if(o.has(r)){a=!0;break}if(!a)return!1}let n=e.length,o=t.length,i=P(e),a=P(t);return i?a?n===o:o>=n:a?n>=o:n===o}function z(e){return e.map(e=>eo(e)?er(e.referToSelf.callback):en(e)?et(e.referTo.references,e.referTo.callback):e)}function H(e,t,r){let n;let o=[];for(n of e){let e=r[n];if("number"!=typeof e)throw TypeError('No definition for referenced signature "'+n+'"');if("function"!=typeof(e=t[e]))return!1;o.push(e)}return o}function W(e,t,r){let n=z(e),o=Array(n.length).fill(!1),i=!0;for(;i;){i=!1;let e=!0;for(let a=0;a<n.length;++a){if(o[a])continue;let s=n[a];if(eo(s))n[a]=s.referToSelf.callback(r),n[a].referToSelf=s.referToSelf,o[a]=!0,e=!1;else if(en(s)){let r=H(s.referTo.references,n,t);r?(n[a]=s.referTo.callback.apply(this,r),n[a].referTo=s.referTo,o[a]=!0,e=!1):i=!0}}if(e&&i)throw SyntaxError("Circular reference detected in resolving typed.referTo")}return n}function G(e){let t=/\bthis(\(|\.signatures\b)/;Object.keys(e).forEach(r=>{let n=e[r];if(t.test(n.toString()))throw SyntaxError("Using `this` to self-reference a function is deprecated since typed-function@3. Use typed.referTo and typed.referToSelf instead.")})}function q(e,n){let o,i;if(c.createCount++,0===Object.keys(n).length)throw SyntaxError("No signatures provided");c.warnAgainstDeprecatedThis&&G(n);let a=[],s=[],u={},l=[];for(o in n){let e;if(!Object.prototype.hasOwnProperty.call(n,o))continue;let t=E(o);if(!t)continue;a.forEach(function(e){if(V(e,t))throw TypeError('Conflicting signatures "'+_(e)+'" and "'+_(t)+'".')}),a.push(t);let r=s.length;for(e of(s.push(n[o]),j(t.map(x)))){let t=_(e);l.push({params:e,name:t,fn:r}),e.every(e=>!e.hasConversion)&&(u[t]=r)}}l.sort(R);let d=W(s,u,eu);for(i in u)Object.prototype.hasOwnProperty.call(u,i)&&(u[i]=d[u[i]]);let p=[],h=new Map;for(i of l)h.has(i.name)||(i.fn=d[i.fn],p.push(i),h.set(i.name,i));let f=p[0]&&p[0].params.length<=2&&!P(p[0].params),m=p[1]&&p[1].params.length<=2&&!P(p[1].params),g=p[2]&&p[2].params.length<=2&&!P(p[2].params),y=p[3]&&p[3].params.length<=2&&!P(p[3].params),b=p[4]&&p[4].params.length<=2&&!P(p[4].params),v=p[5]&&p[5].params.length<=2&&!P(p[5].params),S=f&&m&&g&&y&&b&&v;for(let e=0;e<p.length;++e)p[e].test=D(p[e].params);let w=f?k(p[0].params[0]):t,T=m?k(p[1].params[0]):t,A=g?k(p[2].params[0]):t,O=y?k(p[3].params[0]):t,N=b?k(p[4].params[0]):t,C=v?k(p[5].params[0]):t,$=f?k(p[0].params[1]):t,M=m?k(p[1].params[1]):t,I=g?k(p[2].params[1]):t,L=y?k(p[3].params[1]):t,F=b?k(p[4].params[1]):t,U=v?k(p[5].params[1]):t;
20for(let e=0;e<p.length;++e)p[e].implementation=B(p[e].params,p[e].fn);let z=f?p[0].implementation:r,H=m?p[1].implementation:r,q=g?p[2].implementation:r,Y=y?p[3].implementation:r,K=b?p[4].implementation:r,Z=v?p[5].implementation:r,J=f?p[0].params.length:-1,X=m?p[1].params.length:-1,Q=g?p[2].params.length:-1,ee=y?p[3].params.length:-1,et=b?p[4].params.length:-1,er=v?p[5].params.length:-1,en=S?6:0,eo=p.length,ei=p.map(e=>e.test),ea=p.map(e=>e.implementation),es=function(){for(let e=en;e<eo;e++)if(ei[e](arguments))return ea[e].apply(this,arguments);return c.onMismatch(e,arguments,p)};function eu(e,t){return arguments.length===J&&w(e)&&$(t)?z.apply(this,arguments):arguments.length===X&&T(e)&&M(t)?H.apply(this,arguments):arguments.length===Q&&A(e)&&I(t)?q.apply(this,arguments):arguments.length===ee&&O(e)&&L(t)?Y.apply(this,arguments):arguments.length===et&&N(e)&&F(t)?K.apply(this,arguments):arguments.length===er&&C(e)&&U(t)?Z.apply(this,arguments):es.apply(this,arguments)}try{Object.defineProperty(eu,"name",{value:e})}catch(e){}return eu.signatures=u,eu._typedFunctionData={signatures:p,signatureMap:h},eu}function Y(e,t,r){throw $(e,t,r)}function K(e){return J(e,0,e.length-1)}function Z(e){return e[e.length-1]}function J(e,t,r){return Array.prototype.slice.call(e,t,r)}function X(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return e[r]}function Q(e,t){return Array.prototype.concat.apply([],e.map(t))}function ee(){let e=K(arguments).map(e=>_(E(e))),t=Z(arguments);if("function"!=typeof t)throw TypeError("Callback function expected as last argument");return et(e,t)}function et(e,t){return{referTo:{references:e,callback:t}}}function er(e){if("function"!=typeof e)throw TypeError("Callback function expected as first argument");return{referToSelf:{callback:e}}}function en(e){return e&&"object"==typeof e.referTo&&Array.isArray(e.referTo.references)&&"function"==typeof e.referTo.callback}function eo(e){return e&&"object"==typeof e.referToSelf&&"function"==typeof e.referToSelf.callback}function ei(e,t){if(!e)return t;if(t&&t!==e){let r=Error("Function names do not match (expected: "+e+", actual: "+t+")");throw r.data={actual:t,expected:e},r}return e}function ea(e){let t;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(y(e[r])||"string"==typeof e[r].signature)&&(t=ei(t,e[r].name));return t}function es(e,t){let r;for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r in e&&t[r]!==e[r]){let n=Error('Signature "'+r+'" is defined twice');throw n.data={signature:r,sourceFunction:t[r],destFunction:e[r]},n}e[r]=t[r]}}f(),h(u);let eu=c;function el(e){if(!e||"string"!=typeof e.from||"string"!=typeof e.to||"function"!=typeof e.convert)throw TypeError("Object with properties {from: string, to: string, convert: function} expected");if(e.to===e.from)throw SyntaxError('Illegal to define conversion from "'+e.from+'" to itself.')}return(c=function(e){let t="string"==typeof e,r=t?1:0,n=t?e:"",o={};for(let e=r;e<arguments.length;++e){let r;let i=arguments[e],a={};if("function"==typeof i?(r=i.name,"string"==typeof i.signature?a[i.signature]=i:y(i)&&(a=i.signatures)):s(i)&&(a=i,t||(r=ea(i))),0===Object.keys(a).length){let t=TypeError("Argument to 'typed' at index "+e+" is not a (typed) function, nor an object with signatures as keys and functions as values.");throw t.data={index:e,argument:i},t}t||(n=ei(n,r)),es(o,a)}return q(n||"",o)}).create=o,c.createCount=eu.createCount,c.onMismatch=Y,c.throwMismatchError=Y,c.createError=$,c.clear=f,c.clearConversions=m,c.addTypes=h,c._findType=p,c.referTo=ee,c.referToSelf=er,c.convert=S,c.findSignature=b,c.find=v,c.isTypedFunction=y,c.warnAgainstDeprecatedThis=!0,c.addType=function(e,t){let r="any";!1!==t&&i.has("Object")&&(r="Object"),c.addTypes([e],r)},c.addConversion=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{override:!1};el(e);let r=p(e.to),n=r.conversionsTo.find(t=>t.from===e.from);if(n){if(t&&t.override)c.removeConversion({from:n.from,to:e.to,convert:n.convert});else throw Error('There is already a conversion from "'+e.from+'" to "'+r.name+'"')}r.conversionsTo.push({from:e.from,to:r.name,convert:e.convert,index:d++})}
20,c.addConversions=function(e,t){e.forEach(e=>c.addConversion(e,t))},c.removeConversion=function(e){el(e);let t=p(e.to),r=X(t.conversionsTo,t=>t.from===e.from);if(!r)throw Error("Attempt to remove nonexistent conversion from "+e.from+" to "+e.to);if(r.convert!==e.convert)throw Error("Conversion to remove does not match existing conversion");let n=t.conversionsTo.indexOf(r);t.conversionsTo.splice(n,1)},c.resolve=function(e,t){if(!y(e))throw TypeError(n);let r=e._typedFunctionData.signatures;for(let e=0;e<r.length;++e)if(r[e].test(t))return r[e];return null},c}return o()})},77401:(e,t,r)=>{"use strict";function n(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}r.d(t,{A:()=>n})},48209:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(89082);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,n.A)(o.key),o)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}},80663:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(89082);function o(e,t,r){return(t=(0,n.A)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},69932:(e,t,r)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{A:()=>n})},18728:(e,t,r)=>{"use strict";function n(e){if(Array.isArray(e))return e}function o(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){if(e){if("string"==typeof e)return i(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function s(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){return n(e)||o(e,t)||a(e,t)||s()}r.d(t,{A:()=>u})},89082:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(97408);function o(e,t){if("object"!=(0,n.A)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=(0,n.A)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function i(e){var t=o(e,"string");return"symbol"==(0,n.A)(t)?t:t+""}},97408:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{A:()=>n})},865:(e,t,r)=>{"use strict";r.d(t,{h:()=>b});var n=r(82548),o=r(38744);function i(){return(0,n.BY)("defaultCurrentScope",()=>new o.H)}function a(){return(0,n.BY)("defaultIsolationScope",()=>new o.H)}let s=e=>e instanceof Promise&&!e[u],u=Symbol("chained PromiseLike"),l=(e,t,r)=>{let n=e.then(e=>(t(e),e),e=>{throw r(e),e});return s(n)&&s(e)?n:d(e,n)},d=(e,t)=>{if(!t)return e;let r=!1;for(let n in e){if(n in t)continue;r=!0;let o=e[n];"function"==typeof o?Object.defineProperty(t,n,{value:(...t)=>o.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[n]=o}return r&&Object.assign(t,{[u]:!0}),t};var c=r(47172);class p{constructor(e,t){let r,n;r=e||new o.H,n=t||new o.H,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){let t;let r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}return(0,c.Qg)(t)?l(t,()=>this._popScope(),()=>this._popScope()):(this._popScope(),t)}
20getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function h(){let e=(0,n.EU)(),t=(0,n.Se)(e);return t.stack=t.stack||new p(i(),a())}function f(e){return h().withScope(e)}function m(e,t){let r=h();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function g(e){return h().withScope(()=>e(h().getIsolationScope()))}function y(){return{withIsolationScope:g,withScope:f,withSetScope:m,withSetIsolationScope:(e,t)=>g(t),getCurrentScope:()=>h().getScope(),getIsolationScope:()=>h().getIsolationScope()}}function b(e){let t=(0,n.Se)(e);return t.acs?t.acs:y()}},82548:(e,t,r)=>{"use strict";r.d(t,{BY:()=>s,EU:()=>i,Se:()=>a});var n=r(10246),o=r(8897);function i(){return a(o.O),o.O}function a(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||n.M,t[n.M]=t[n.M]||{}}function s(e,t,r=o.O){let i=r.__SENTRY__=r.__SENTRY__||{},a=i[n.M]=i[n.M]||{};return a[e]||(a[e]=t())}},13589:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});let n="production"},14060:(e,t,r)=>{"use strict";let n;r.d(t,{Bi:()=>l,KU:()=>f,m6:()=>p,o5:()=>d,rm:()=>c,v4:()=>h,vn:()=>m});var o=r(865),i=r(82548),a=r(38744),s=r(71665);function u(){return n?.()}function l(){return void 0!==n}function d(){let e=(0,i.EU)();return(0,o.h)(e).getCurrentScope()}function c(){let e=(0,i.EU)();return(0,o.h)(e).getIsolationScope()}function p(){return(0,i.BY)("globalScope",()=>new a.H)}function h(...e){let t=(0,i.EU)(),r=(0,o.h)(t);if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function f(){return d().getClient()}function m(e){let t=u();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:r,parentSpanId:n,propagationSpanId:o}=e.getPropagationContext(),i={trace_id:r,span_id:o||(0,s.Z)()};return n&&(i.parent_span_id=n),i}},77342:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});let n=!1},30591:(e,t,r)=>{"use strict";r.d(t,{Cp:()=>d,J0:()=>g,J5:()=>v,Ol:()=>f,SA:()=>m,bX:()=>h,o:()=>p,r:()=>c});var n=r(14060),o=r(77342),i=r(20580),a=r(64390),s=r(32237),u=r(40874),l=r(8897);function d(e,t){return(0,n.o5)().captureException(e,(0,s.li)(t))}function c(e,t){return(0,n.o5)().captureEvent(e,t)}function p(e,t){(0,n.rm)().setContext(e,t)}async function h(e){let t=(0,n.KU)();return t?t.flush(e):(o.T&&a.Yz.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function f(){let e=(0,n.KU)();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function m(e){(0,n.rm)().addEventProcessor(e)}function g(e){let t=(0,n.rm)(),{user:r}=(0,u.Om)(t,(0,n.o5)()),{userAgent:o}=l.O.navigator||{},a=(0,i.fj)({user:r,...o&&{userAgent:o},...e}),s=t.getSession();return s?.status==="ok"&&(0,i.qO)(s,{status:"exited"}),y(),t.setSession(a),a}function y(){let e=(0,n.rm)(),t=(0,n.o5)().getSession()||e.getSession();t&&(0,i.Vu)(t),b(),e.setSession()}function b(){let e=(0,n.rm)(),t=(0,n.KU)(),r=e.getSession();r&&t&&t.captureSession(r)}function v(e=!1){if(e){y();return}b()}},38744:(e,t,r)=>{"use strict";r.d(t,{H:()=>m});var n=r(77342),o=r(20580),i=r(64390),a=r(47172),s=r(16802),u=r(87292),l=r(71665),d=r(33383),c=r(27953),p=r(86041),h=r(4421);let f=100;class m{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,l.e)(),sampleRand:(0,d.hY)()}}clone(){let e=new m;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,(0,c.r)(e,(0,c.f)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,o.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:r,attributes:n,extra:o,user:i,contexts:s,level:u,fingerprint:l=[],propagationContext:d,conversationId:c}=(t instanceof m?t.getScopeData():(0,a.Qd)(t)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...n},this._extra={...this._extra,...o},this._contexts={...this._contexts,...s},i&&Object.keys(i).length&&(this._user=i),u&&(this._level=u),l.length&&(this._fingerprint=l),d&&(this._propagationContext=d),c&&(this._conversationId=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,(0,c.r)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,l.e)(),sampleRand:(0,d.hY)()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:f;if(r<=0)return this;let n={timestamp:(0,h.lu)(),...e,message:e.message?(0,p.xv)(e.message,2048):e.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,c.f)(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,s.h)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}
20captureException(e,t){let r=t?.event_id||(0,u.eJ)();if(!this._client)return n.T&&i.Yz.warn("No client configured on scope - will not capture exception!"),r;let o=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:o,...t,event_id:r},this),r}captureMessage(e,t,r){let o=r?.event_id||(0,u.eJ)();if(!this._client)return n.T&&i.Yz.warn("No client configured on scope - will not capture message!"),o;let a=r?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:a,...r,event_id:o},this),o}captureEvent(e,t){let r=e.event_id||t?.event_id||(0,u.eJ)();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):n.T&&i.Yz.warn("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}},39263:(e,t,r)=>{"use strict";r.d(t,{E1:()=>p,Ef:()=>i,Fy:()=>m,JD:()=>s,Lc:()=>f,Le:()=>c,Sn:()=>l,fs:()=>u,i_:()=>n,jG:()=>h,sy:()=>o,uT:()=>a,xc:()=>d});let n="sentry.source",o="sentry.sample_rate",i="sentry.previous_trace_sample_rate",a="sentry.op",s="sentry.origin",u="sentry.idle_span_finish_reason",l="sentry.measurement_unit",d="sentry.measurement_value",c="sentry.custom_span_name",p="sentry.profile_id",h="sentry.exclusive_time",f="sentry.link.type",m="gen_ai.conversation.id"},20580:(e,t,r)=>{"use strict";r.d(t,{Vu:()=>s,fj:()=>i,qO:()=>a});var n=r(87292),o=r(4421);function i(e){let t=(0,o.zf)(),r={sid:(0,n.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>u(r)};return e&&a(r,e),r}function a(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,o.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,n.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function s(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),a(e,r)}function u(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}},90570:(e,t,r)=>{"use strict";r.d(t,{LZ:()=>h,ao:()=>m,k1:()=>g});var n=r(13589),o=r(14060),i=r(39263),a=r(5988),s=r(20291),u=r(78700),l=r(30447),d=r(70488),c=r(39590);let p="_frozenDsc";function h(e,t){let r=e;(0,l.my)(r,p,t)}function f(e,t){let r=t.getOptions(),{publicKey:o}=t.getDsn()||{},i={environment:r.environment||n.U,release:r.release,public_key:o,trace_id:e,org_id:(0,s.ul)(t)};return t.emit("createDsc",i),i}function m(e,t){let r=t.getPropagationContext();return r.dsc||f(r.traceId,e)}function g(e){let t=(0,o.KU)();if(!t)return{};let r=(0,d.zU)(e),n=(0,d.et)(r),s=n.data,l=r.spanContext().traceState,h=l?.get("sentry.sample_rate")??s[i.sy]??s[i.Ef];function m(e){return("number"==typeof h||"string"==typeof h)&&(e.sample_rate=`${h}`),e}let g=r[p];if(g)return m(g);let y=l?.get("sentry.dsc"),b=y&&(0,a.yD)(y);if(b)return m(b);let v=f(e.spanContext().traceId,t),S=s[i.i_]??s["sentry.span.source"],_=n.description;return"url"!==S&&_&&(v.transaction=_),(0,u.f)()&&(v.sampled=String((0,d.pK)(r)),v.sample_rand=l?.get("sentry.sample_rand")??c.L(r).scope?.getPropagationContext().sampleRand.toString()),m(v),t.emit("createDsc",v,r),v}},2387:(e,t,r)=>{"use strict";r.d(t,{F3:()=>o,N8:()=>s,TJ:()=>i,a3:()=>n});let n=0,o=1,i=2;function a(e){if(e<400&&e>=100)return{code:o};if(e>=400&&e<500)switch(e){case 401:return{code:i,message:"unauthenticated"};case 403:return{code:i,message:"permission_denied"};case 404:return{code:i,message:"not_found"};case 409:return{code:i,message:"already_exists"};case 413:return{code:i,message:"failed_precondition"};case 429:return{code:i,message:"resource_exhausted"};case 499:return{code:i,message:"cancelled"};default:return{code:i,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:i,message:"unimplemented"};case 503:return{code:i,message:"unavailable"};case 504:return{code:i,message:"deadline_exceeded"}}return{code:i,message:"internal_error"}}function s(e,t){e.setAttribute("http.response.status_code",t);let r=a(t);"unknown_error"!==r.message&&e.setStatus(r)}},39590:(e,t,r)=>{"use strict";r.d(t,{L:()=>d,d:()=>l});var n=r(30447),o=r(8897);
20function i(e){try{let t=o.O.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}function a(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}let s="_sentryScope",u="_sentryIsolationScope";function l(e,t,r){e&&((0,n.my)(e,u,i(r)),(0,n.my)(e,s,t))}function d(e){let t=e;return{scope:t[s],isolationScope:a(t[u])}}},5988:(e,t,r)=>{"use strict";r.d(t,{D0:()=>d,De:()=>l,sv:()=>a,yD:()=>u});var n=r(77342),o=r(64390),i=r(47172);let a="sentry-",s=8192;function u(e){let t=d(e);if(!t)return;let r=Object.entries(t).reduce((e,[t,r])=>(t.startsWith(a)&&(e[t.slice(a.length)]=r),e),{});return Object.keys(r).length>0?r:void 0}function l(e){if(e)return p(Object.entries(e).reduce((e,[t,r])=>(r&&(e[`${a}${t}`]=r),e),{}))}function d(e){return e&&((0,i.Kg)(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,t)=>(Object.entries(c(t)).forEach(([t,r])=>{e[t]=r}),e),{}):c(e):void 0}function c(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}function p(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,r],i)=>{let a=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,u=0===i?a:`${e},${a}`;return u.length>s?(n.T&&o.Yz.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):u},"")}},93650:(e,t,r)=>{"use strict";r.d(t,{$N:()=>u,Hd:()=>a,xE:()=>l});var n=r(47172);let o=r(8897).O,i=80;function a(e,t={}){if(!e)return"<unknown>";try{let r,n=e,o=5,a=[],u=0,l=0,d=" > ",c=d.length,p=Array.isArray(t)?t:t.keyAttrs,h=!Array.isArray(t)&&t.maxStringLength||i;for(;n&&u++<o&&(r=s(n,p),"html"!==r&&(!(u>1)||!(l+a.length*c+r.length>=h)));)a.push(r),l+=r.length,n=n.parentNode;return a.reverse().join(d)}catch{return"<unknown>"}}function s(e,t){let r=e,i=[];if(!r?.tagName)return"";if(o.HTMLElement&&r instanceof HTMLElement&&r.dataset){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}i.push(r.tagName.toLowerCase());let a=t?.length?t.filter(e=>r.getAttribute(e)).map(e=>[e,r.getAttribute(e)]):null;if(a?.length)a.forEach(e=>{i.push(`[${e[0]}="${e[1]}"]`)});else{r.id&&i.push(`#${r.id}`);let e=r.className;if(e&&(0,n.Kg)(e))for(let t of e.split(/\s+/))i.push(`.${t}`)}for(let e of["aria-label","type","name","title","alt"]){let t=r.getAttribute(e);t&&i.push(`[${e}="${t}"]`)}return i.join("")}function u(){try{return o.document.location.href}catch{return""}}function l(e,t=5){if(!o.HTMLElement)return null;let r=e;for(let e=0;e<t&&r;e++){if(r instanceof HTMLElement){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}r=r.parentNode}return null}},64390:(e,t,r)=>{"use strict";r.d(t,{Ow:()=>a,Yz:()=>h,Z9:()=>u,pq:()=>l});var n=r(82548),o=r(77342),i=r(8897);let a=["debug","info","warn","error","log","assert","trace"],s="Sentry Logger ",u={};function l(e){if(!("console"in i.O))return e();let t=i.O.console,r={},n=Object.keys(u);n.forEach(e=>{let n=u[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}function d(){return p().enabled}function c(e,...t){o.T&&d()&&l(()=>{i.O.console[e](`${s}[${e}]:`,...t)})}function p(){return o.T?(0,n.BY)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let h={enable:function(){p().enabled=!0},disable:function(){p().enabled=!1},isEnabled:d,log:function(...e){c("log",...e)},warn:function(...e){c("warn",...e)},error:function(...e){c("error",...e)}}},20291:(e,t,r)=>{"use strict";r.d(t,{AD:()=>f,SB:()=>u,hH:()=>l,ul:()=>h});var n=r(77342),o=r(64390);let i=/^o(\d+)\./,a=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function s(e){return"http"===e||"https"===e}function u(e,t=!1){let{host:r,path:n,pass:o,port:i,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&o?`:${o}`:""}@${r}${i?`:${i}`:""}/${n?`${n}/`:n}${a}`}function l(e){let t=a.exec(e);if(!t){(0,o.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[r,n,i="",s="",u="",l=""]=t.slice(1),c="",p=l,h=p.split("/");if(h.length>1&&(c=h.slice(0,-1).join("/"),p=h.pop()),p){let e=p.match(/^\d+/);e&&(p=e[0])}return d({host:s,pass:i,path:c,projectId:p,port:u,protocol:r,publicKey:n})}function d(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function c(e){if(!n.T)return!0;let{port:t,projectId:r,protocol:i}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(o.Yz.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?s(i)?!(t&&isNaN(parseInt(t,10)))||(o.Yz.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(o.Yz.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(o.Yz.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}function p(e){let t=e.match(i);return t?.[1]}function h(e){let t;let r=e.getOptions(),{host:n}=e.getDsn()||{};return r.orgId?t=String(r.orgId):n&&(t=p(n)),t}function f(e){let t="string"==typeof e?l(e):d(e);if(t&&c(t))return t}},78700:(e,t,r)=>{"use strict";r.d(t,{f:()=>o});var n=r(14060);function o(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||n.KU()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}},47172:(e,t,r)=>{"use strict";r.d(t,{BD:()=>s,Kg:()=>l,L2:()=>v,NF:()=>d,Qd:()=>p,Qg:()=>g,T2:()=>a,W6:()=>u,bJ:()=>o,gd:()=>m,ks:()=>S,mE:()=>y,sO:()=>c,tH:()=>b,vq:()=>f,xH:()=>h});let n=Object.prototype.toString;function o(e){switch(n.call(e)){case"[object Error]":case"[object E
20xception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return b(e,Error)}}function i(e,t){return n.call(e)===`[object ${t}]`}function a(e){return i(e,"ErrorEvent")}function s(e){return i(e,"DOMError")}function u(e){return i(e,"DOMException")}function l(e){return i(e,"String")}function d(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function c(e){return null===e||d(e)||"object"!=typeof e&&"function"!=typeof e}function p(e){return i(e,"Object")}function h(e){return"undefined"!=typeof Event&&b(e,Event)}function f(e){return"undefined"!=typeof Element&&b(e,Element)}function m(e){return i(e,"RegExp")}function g(e){return!!(e?.then&&"function"==typeof e.then)}function y(e){return p(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function b(e,t){try{return e instanceof t}catch{return!1}}function v(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue||e.__v_isVNode))}function S(e){return"undefined"!=typeof Request&&b(e,Request)}},16802:(e,t,r)=>{"use strict";function n(e,t,r=2){if(!t||"object"!=typeof t||r<=0)return t;if(e&&0===Object.keys(t).length)return e;let o={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(o[e]=n(o[e],t[e],r-1));return o}r.d(t,{h:()=>n})},87292:(e,t,r)=>{"use strict";let n;r.d(t,{$X:()=>c,GR:()=>f,M6:()=>h,dO:()=>m,eJ:()=>l,gO:()=>p});var o=r(30447),i=r(33383),a=r(8897);function s(){let e=a.O;return e.crypto||e.msCrypto}function u(){return 16*(0,i.hY)()}function l(e=s()){try{if(e?.randomUUID)return(0,i.Qw)(()=>e.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,e=>(e^(15&u())>>e/4).toString(16))}function d(e){return e.exception?.values?.[0]}function c(e){let{message:t,event_id:r}=e;if(t)return t;let n=d(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function p(e,t,r){let n=e.exception=e.exception||{},o=n.values=n.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=r||"Error")}function h(e,t){let r=d(e);if(!r)return;let n={type:"generic",handled:!0},o=r.mechanism;if(r.mechanism={...n,...o,...t},t&&"data"in t){let e={...o?.data,...t.data};r.mechanism.data=e}}function f(e){if(m(e))return!0;try{(0,o.my)(e,"__sentry_captured__",!0)}catch{}return!1}function m(e){try{return e.__sentry_captured__}catch{}}},65669:(e,t,r)=>{"use strict";r.d(t,{S8:()=>d,cd:()=>c});var n=r(47172);let o=Symbol.for("sentry.skipNormalization"),i=Symbol.for("sentry.overrideNormalizationDepth");function a(e){return!!e[o]}function s(e){let t=e[i];return"number"==typeof t?t:void 0}var u=r(30447),l=r(65553);function d(e,t=100,r=Infinity){try{return p("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function c(e,t=3,r=102400){let n=d(e,t);return g(n)>r?c(e,t-1,r):n}function p(e,t,r=Infinity,n=Infinity,o=y()){let[i,l]=o;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;let d=h(e,t);if(!d.startsWith("[object "))return d;if(a(t))return t;let c=s(t),f=void 0!==c?c:r;if(0===f)return d.replace("object ","");if(i(t))return"[Circular ~]";let m=t;if(m&&"function"==typeof m.toJSON)try{let e=m.toJSON();return p("",e,f-1,n,o)}catch{}let g=Array.isArray(t)?[]:{},b=0,v=(0,u.W4)(t);for(let e in v){if(!Object.prototype.hasOwnProperty.call(v,e))continue;if(b>=n){g[e]="[MaxProperties ~]";break}let t=v[e];g[e]=p(e,t,f-1,n,o),b++}return l(t),g}function h(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,n.L2)(t))return(0,l.nY)(t);if((0,n.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,l.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let r=f(t);
20if(/^HTML(\w*)Element$/.test(r))return`[HTMLElement: ${r}]`;return`[object ${r}]`}catch(e){return`**non-serializable** (${e})`}}function f(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function m(e){return~-encodeURI(e).split(/%..|./).length}function g(e){return m(JSON.stringify(e))}function y(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}},30447:(e,t,r)=>{"use strict";r.d(t,{GS:()=>s,HF:()=>f,W4:()=>c,my:()=>u,pO:()=>l,sp:()=>d});var n=r(77342),o=r(93650),i=r(64390),a=r(47172);function s(e,t,r){if(!(t in e))return;let o=e[t];if("function"!=typeof o)return;let a=r(o);"function"==typeof a&&l(a,o);try{e[t]=a}catch{n.T&&i.Yz.log(`Failed to replace method "${t}" in object`,e)}}function u(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{n.T&&i.Yz.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function l(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,u(e,"__sentry_original__",t)}catch{}}function d(e){return e.__sentry_original__}function c(e){if((0,a.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...h(e)};if(!(0,a.xH)(e))return e;{let t={type:e.type,target:p(e.target),currentTarget:p(e.currentTarget),...h(e)};return"undefined"!=typeof CustomEvent&&(0,a.tH)(e,CustomEvent)&&(t.detail=e.detail),t}}function p(e){try{return(0,a.vq)(e)?(0,o.Hd)(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function h(e){return"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e)):{}}function f(e){let t=Object.keys(c(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}},48841:(e,t,r)=>{"use strict";function n(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}r.d(t,{i:()=>n})},32237:(e,t,r)=>{"use strict";let n,o,i,a;r.d(t,{li:()=>A,mG:()=>w});var s=r(13589),u=r(77342),l=r(64390),d=r(47172),c=r(93158);function p(e,t,r,n=0){try{let o=h(t,r,e,n);return(0,d.Qg)(o)?o:(0,c.XW)(o)}catch(e){return(0,c.xg)(e)}}function h(e,t,r,n){let o=r[n];if(!e||!o)return e;let i=o({...e},t);return(u.T&&null===i&&l.Yz.log(`Event processor "${o.id||"?"}" dropped event`),(0,d.Qg)(i))?i.then(e=>h(e,t,r,n+1)):h(i,t,r,n+1)}var f=r(38744),m=r(8897);function g(e){let t=m.O._sentryDebugIds,r=m.O._debugIds;if(!t&&!r)return{};let s=t?Object.keys(t):[],u=r?Object.keys(r):[];if(a&&s.length===o&&u.length===i)return a;o=s.length,i=u.length,a={},n||(n={});let l=(t,r)=>{for(let o of t){let t=r[o],i=n?.[o];if(i&&a&&t)a[i[0]]=t,n&&(n[o]=[i[0],t]);else if(t){let r=e(o);for(let e=r.length-1;e>=0;e--){let i=r[e],s=i?.filename;if(s&&a&&n){a[s]=t,n[o]=[s,t];break}}}}};return t&&l(s,t),r&&l(u,r),a}var y=r(87292),b=r(65669),v=r(40874),S=r(86041),_=r(4421);function w(e,t,r,n,o,i){let{normalizeDepth:a=3,normalizeMaxBreadth:s=1e3}=e,u={...t,event_id:t.event_id||r.event_id||(0,y.eJ)(),timestamp:t.timestamp||(0,_.lu)()},l=r.integrations||e.integrations.map(e=>e.name);x(u,e),P(u,l),o&&o.emit("applyFrameMetadata",t),void 0===t.type&&T(u,e.stackParser);let d=D(n,r.captureContext);r.mechanism&&(0,y.M6)(u,r.mechanism);let h=o?o.getEventProcessors():[],f=(0,v.Om)(i,d),m=[...r.attachments||[],...f.attachments];m.length&&(r.attachments=m),(0,v.e2)(u,f);let g=[...h,...f.eventProcessors];return(r.data&&!0===r.data.__sentry__?(0,c.XW)(u):p(g,u,r)).then(e=>(e&&E(e),"number"==typeof a&&a>0)?k(e,a,s):e)}function x(e,t){let{environment:r,release:n,dist:o,maxValueLength:i}=t;e.environment=e.environment||r||s.U,!e.release&&n&&(e.release=n),!e.dist&&o&&(e.dist=o);let a=e.request;a?.url&&i&&(a.url=(0,S.xv)(a.url,i)),i&&e.exception?.values?.forEach(e=>{e.value&&(e.value=S.xv(e.value,i))})}function T(e,t){let r=g(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=r[e.filename])})})}function E(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}function P(e,t){t.length>0&&(e.sdk=e.sdk||{}
20,e.sdk.integrations=[...e.sdk.integrations||[],...t])}function k(e,t,r){if(!e)return null;let n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,b.S8)(e.data,t,r)}}))},...e.user&&{user:(0,b.S8)(e.user,t,r)},...e.contexts&&{contexts:(0,b.S8)(e.contexts,t,r)},...e.extra&&{extra:(0,b.S8)(e.extra,t,r)}};return e.contexts?.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=(0,b.S8)(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,b.S8)(e.data,t,r)}}))),e.contexts?.flags&&n.contexts&&(n.contexts.flags=(0,b.S8)(e.contexts.flags,3,r)),n}function D(e,t){if(!t)return e;let r=e?e.clone():new f.H;return r.update(t),r}function A(e){return e?O(e)||C(e)?{captureContext:e}:e:void 0}function O(e){return e instanceof f.H||"function"==typeof e}let N=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function C(e){return Object.keys(e).some(e=>N.includes(e))}},71665:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i,e:()=>o});var n=r(87292);function o(){return(0,n.eJ)()}function i(){return(0,n.eJ)().substring(16)}},33383:(e,t,r)=>{"use strict";let n;r.d(t,{Qw:()=>i,Wk:()=>s,hY:()=>a});var o=r(8897);function i(e){if(void 0!==n)return n?n(e):e();let t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),r=o.O;return t in r&&"function"==typeof r[t]?(n=r[t])(e):(n=null,e())}function a(){return i(()=>Math.random())}function s(){return i(()=>Date.now())}},40874:(e,t,r)=>{"use strict";r.d(t,{Om:()=>d,e2:()=>s});var n=r(14060),o=r(90570),i=r(16802),a=r(70488);function s(e,t){let{fingerprint:r,span:n,breadcrumbs:o,sdkProcessingMetadata:i}=t;c(e,t),n&&f(e,n),m(e,r),p(e,o),h(e,i)}function u(e,t){let{extra:r,tags:n,attributes:o,user:a,contexts:s,level:u,sdkProcessingMetadata:d,breadcrumbs:c,fingerprint:p,eventProcessors:h,attachments:f,propagationContext:m,transactionName:g,span:y}=t;l(e,"extra",r),l(e,"tags",n),l(e,"attributes",o),l(e,"user",a),l(e,"contexts",s),e.sdkProcessingMetadata=(0,i.h)(e.sdkProcessingMetadata,d,2),u&&(e.level=u),g&&(e.transactionName=g),y&&(e.span=y),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),p.length&&(e.fingerprint=[...e.fingerprint,...p]),h.length&&(e.eventProcessors=[...e.eventProcessors,...h]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...m}}function l(e,t,r){e[t]=(0,i.h)(e[t],r,1)}function d(e,t){let r=(0,n.m6)().getScopeData();return e&&u(r,e.getScopeData()),t&&u(r,t.getScopeData()),r}function c(e,t){let{extra:r,tags:n,user:o,contexts:i,level:a,transactionName:s}=t;Object.keys(r).length&&(e.extra={...r,...e.extra}),Object.keys(n).length&&(e.tags={...n,...e.tags}),Object.keys(o).length&&(e.user={...o,...e.user}),Object.keys(i).length&&(e.contexts={...i,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)}function p(e,t){let r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}function h(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function f(e,t){e.contexts={trace:(0,a.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,o.k1)(t),...e.sdkProcessingMetadata};let r=(0,a.zU)(t),n=(0,a.et)(r).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}function m(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}},27953:(e,t,r)=>{"use strict";r.d(t,{f:()=>a,r:()=>i});var n=r(30447);let o="_sentrySpan";function i(e,t){t?(0,n.my)(e,o,t):delete e[o]}function a(e){return e[o]}},70488:(e,t,r)=>{"use strict";r.d(t,{CC:()=>v,aO:()=>S,Hu:()=>j,uU:()=>P,Bk:()=>G,zU:()=>H,i$:()=>F,xO:()=>z,yW:()=>R,HQ:()=>k,VS:()=>V,xl:()=>q,pK:()=>L,cI:()=>D,et:()=>O,RD:()=>N,kX:()=>x,Qh:()=>T,G_:()=>E,Ck:()=>w,PL:()=>$});var n=r(865);function o(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")}function i(e,t){let{value:r,unit:n}=o(e)?e:{value:e,unit:void 0},i=s(r),a=n&&"string"==typeof n?{unit:n}:{};if(i)return{...i,...a};
20if(!t||"skip-undefined"===t&&void 0===r)return;let u="";try{u=JSON.stringify(r)??""}catch{}return{value:u,type:"string",...a}}function a(e,t=!1){let r={};for(let[n,o]of Object.entries(e??{})){let e=i(o,t);e&&(r[n]=e)}return r}function s(e){let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}var u=r(82548),l=r(14060),d=r(39263),c=r(2387),p=r(39590),h=r(30447),f=r(71665),m=r(4421),g=r(78296),y=r(64390),b=r(27953);let v=0,S=1,_=!1;function w(e){let{spanId:t,traceId:r}=e.spanContext(),{data:n,op:o,parent_span_id:i,status:a,origin:s,links:u}=O(e);return{parent_span_id:i,span_id:t,trace_id:r,data:n,op:o,status:a,origin:s,links:u}}function x(e){let{spanId:t,traceId:r,isRemote:n}=e.spanContext(),o=n?t:O(e).parent_span_id,i=(0,p.L)(e).scope;return{parent_span_id:o,span_id:n?i?.getPropagationContext().propagationSpanId||(0,f.Z)():t,trace_id:r}}function T(e){let{traceId:t,spanId:r}=e.spanContext(),n=L(e);return(0,g.TC)(t,r,n)}function E(e){let{traceId:t,spanId:r}=e.spanContext(),n=L(e);return(0,g.Iy)(t,r,n)}function P(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:r,...n},attributes:o})=>({span_id:e,trace_id:t,sampled:r===S,attributes:o,...n})):void 0}function k(e){return e?.length?e.map(({context:{spanId:e,traceId:t,traceFlags:r},attributes:n})=>({span_id:e,trace_id:t,sampled:r===S,attributes:n})):void 0}function D(e){return"number"==typeof e?A(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?A(e.getTime()):(0,m.zf)()}function A(e){return e>0x2540be3ff?e/1e3:e}function O(e){if(I(e))return e.getSpanJSON();let{spanId:t,traceId:r}=e.spanContext();if(M(e)){let{attributes:n,startTime:o,name:i,endTime:a,status:s,links:u}=e;return{span_id:t,trace_id:r,data:n,description:i,parent_span_id:C(e),start_timestamp:D(o),timestamp:D(a)||void 0,status:R(s),op:n[d.uT],origin:n[d.JD],links:P(u)}}return{span_id:t,trace_id:r,start_timestamp:0,data:{}}}function N(e){if(I(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:r}=e.spanContext();if(M(e)){let{attributes:n,startTime:o,name:i,endTime:a,status:s,links:u}=e;return{name:i,span_id:t,trace_id:r,parent_span_id:C(e),start_timestamp:D(o),end_timestamp:D(a),is_segment:e===W(e),status:F(s),attributes:n,links:k(u)}}return{span_id:t,trace_id:r,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===W(e)}}function C(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function $(e){return{...e,attributes:a(e.attributes),links:e.links?.map(e=>({...e,attributes:a(e.attributes)}))}}function M(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function I(e){return"function"==typeof e.getSpanJSON}function L(e){let{traceFlags:t}=e.spanContext();return t===S}function R(e){return e&&e.code!==c.a3?e.code===c.F3?"ok":e.message||"internal_error":void 0}function F(e){return e&&e.code!==c.F3&&e.code!==c.a3&&"cancelled"!==e.message?"error":"ok"}let B="_sentryChildSpans",U="_sentryRootSpan";function j(e,t){let r=e[U]||e;(0,h.my)(t,U,r),e[B]?e[B].add(t):(0,h.my)(e,B,new Set([t]))}function V(e,t){e[B]&&e[B].delete(t)}function z(e){let t=new Set;function r(e){if(!t.has(e)&&L(e))for(let n of(t.add(e),e[B]?Array.from(e[B]):[]))r(n)}return r(e),Array.from(t)}let H=W;function W(e){return e[U]||e}function G(){let e=(0,u.EU)(),t=(0,n.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,b.f)((0,l.o5)())}function q(){_||((0,y.pq)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),_=!0)}},65553:(e,t,r)=>{"use strict";r.d(t,{RV:()=>h,gd:()=>s,nY:()=>f,qQ:()=>p,vk:()=>u,yF:()=>o});let n=50,o="?",i=/\(error: (.*)\)/,a=/captureMessage|captureException/;function s(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,r=0,o=0)=>{let a=[],s=e.split("\n");for(let e=r;e<s.length;e++){let r=s[e];r.length>1024&&(r=r.slice(0,1024));let u=i.test(r)?r.replace(i,"$1"):r;if(!u.includes("Error: ")){for(let e of t){let t=e(u);if(t){a.push(t);break}}if(a.length>=n+o)break}}return l(a.slice(o))}}
20function u(e){return Array.isArray(e)?s(...e):e}function l(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(d(t).function||"")&&t.pop(),t.reverse(),a.test(d(t).function||"")&&(t.pop(),a.test(d(t).function||"")&&t.pop()),t.slice(0,n).map(e=>({...e,filename:e.filename||d(t).filename,function:e.function||o}))}function d(e){return e[e.length-1]||{}}let c="<anonymous>";function p(e){try{if(!e||"function"!=typeof e)return c;return e.name||c}catch{return c}}function h(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}}function f(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}},86041:(e,t,r)=>{"use strict";r.d(t,{Xr:()=>u,_c:()=>s,gt:()=>a,xv:()=>i});var n=r(47172),o=r(65553);function i(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function a(e,t){if(!Array.isArray(e))return"";let r=[];for(let t=0;t<e.length;t++){let i=e[t];try{(0,n.L2)(i)?r.push((0,o.nY)(i)):r.push(String(i))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function s(e,t,r=!1){return!!(0,n.Kg)(e)&&((0,n.gd)(t)?t.test(e):(0,n.Kg)(t)?r?e===t:e.includes(t):"function"==typeof t&&t(e))}function u(e,t=[],r=!1){for(let n of t)if(s(e,n,r))return!0;return!1}},93158:(e,t,r)=>{"use strict";r.d(t,{XW:()=>s,xg:()=>u});var n=r(47172);let o=0,i=1,a=2;function s(e){return new l(t=>{t(e)})}function u(e){return new l((t,r)=>{r(e)})}class l{constructor(e){this._state=o,this._handlers=[],this._runExecutor(e)}then(e,t){return new l((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new l((t,r)=>{let n,o;return this.then(t=>{o=!1,n=t,e&&e()},t=>{o=!0,n=t,e&&e()}).then(()=>{if(o){r(n);return}t(n)})})}_executeHandlers(){if(this._state===o)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===i&&e[1](this._value),this._state===a&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===o){if((0,n.Qg)(t)){t.then(r,s);return}this._state=e,this._value=t,this._executeHandlers()}},r=e=>{t(i,e)},s=e=>{t(a,e)};try{e(r,s)}catch(e){s(e)}}}},4421:(e,t,r)=>{"use strict";let n;r.d(t,{k3:()=>p,lu:()=>s,zf:()=>l});var o=r(33383),i=r(8897);let a=1e3;function s(){return(0,o.Wk)()/a}function u(){let{performance:e}=i.O;if(!e?.now||!e.timeOrigin)return s;let t=e.timeOrigin;return()=>(t+(0,o.Qw)(()=>e.now()))/a}function l(){return(n??(n=u()))()}let d=null;function c(){let{performance:e}=i.O;if(!e?.now)return;let t=3e5,r=(0,o.Qw)(()=>e.now()),n=(0,o.Wk)(),a=e.timeOrigin;if("number"==typeof a&&Math.abs(a+r-n)<t)return a;let s=e.timing?.navigationStart;return"number"==typeof s&&Math.abs(s+r-n)<t?s:n-r}function p(){return null===d&&(d=c()),d}},78296:(e,t,r)=>{"use strict";r.d(t,{Iy:()=>c,MI:()=>s,TC:()=>d,kM:()=>l});var n=r(5988),o=r(48841),i=r(71665),a=r(33383);let s=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function u(e){let t;if(!e)return;let r=e.match(s);if(r)return"1"===r[3]?t=!0:"0"===r[3]&&(t=!1),{traceId:r[1],parentSampled:t,parentSpanId:r[2]}}function l(e,t){let r=u(e),o=(0,n.yD)(t);if(!r?.traceId)return{traceId:(0,i.e)(),sampleRand:(0,a.hY)()};let s=p(r,o);o&&(o.sample_rand=s.toString());let{traceId:l,parentSpanId:d,parentSampled:c}=r;return{traceId:l,parentSpanId:d,sampled:c,dsc:o||{},sampleRand:s}}function d(e=(0,i.e)(),t=(0,i.Z)(),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`}function c(e=(0,i.e)(),t=(0,i.Z)(),r){return`00-${e}-${t}-${r?"01":"00"}`}function p(e,t){let r=(0,o.i)(t?.sample_rand);if(void 0!==r)return r;let n=(0,o.i)(t?.sample_rate);return n&&e?.parentSampled!==void 0?e.parentSampled?(0,a.hY)()*n:n+(0,a.hY)()*(1-n):(0,a.hY)()}},10246:(e,t,r)=>{"use strict";r.d(t,{M:()=>n});let n="10.53.1"},8897:(e,t,r)=>{"use strict";r.d(t,{O:()=>n});let n=globalThis},26366:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});let n=!1},70851:(e,t,r)=>{"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=n(e[t]))&&(o&&(o+=" "),o+=r)}
vendor: 14,257 bytes, line 20
20else for(r in e)e[r]&&(o&&(o+=" "),o+=r)}return o}function o(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=n(e))&&(o&&(o+=" "),o+=t);return o}r.d(t,{$:()=>o,A:()=>i});let i=o},74560:(e,t,r)=>{"use strict";r.d(t,{A:()=>eH,W:()=>ez});var n,o,i=9e15,a=1e9,s="0123456789abcdef",u="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",l="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",d={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},c=!0,p="[DecimalError] ",h=p+"Invalid argument: ",f=p+"Precision limit exceeded",m=p+"crypto unavailable",g="[object Decimal]",y=Math.floor,b=Math.pow,v=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,S=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,_=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,w=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,x=1e7,T=7,E=0x1fffffffffffff,P=u.length-1,k=l.length-1,D={toStringTag:g};function A(e){var t,r,n,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)(r=T-(n=e[t]+"").length)&&(i+=j(r)),i+=n;(r=T-(n=(a=e[t])+"").length)&&(i+=j(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}function O(e,t,r){if(e!==~~e||e<t||e>r)throw Error(h+e)}function N(e,t,r,n){var o,i,a,s;for(i=e[0];i>=10;i/=10)--t;return--t<0?(t+=T,o=0):(o=Math.ceil((t+1)/T),t%=T),i=b(10,T-t),s=e[o]%i|0,null==n?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),a=r<4&&99999==s||r>3&&49999==s||5e4==s||0==s):a=(r<4&&s+1==i||r>3&&s+1==i/2)&&(e[o+1]/i/100|0)==b(10,t-2)-1||(s==i/2||0==s)&&(e[o+1]/i/100|0)==0:t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),a=(n||r<4)&&9999==s||!n&&r>3&&4999==s):a=((n||r<4)&&s+1==i||!n&&r>3&&s+1==i/2)&&(e[o+1]/i/1e3|0)==b(10,t-3)-1,a}function C(e,t,r){for(var n,o,i=[0],a=0,u=e.length;a<u;){for(o=i.length;o--;)i[o]*=t;for(i[0]+=s.indexOf(e.charAt(a++)),n=0;n<i.length;n++)i[n]>r-1&&(void 0===i[n+1]&&(i[n+1]=0),i[n+1]+=i[n]/r|0,i[n]%=r)}return i.reverse()}function $(e,t){var r,n,o;if(t.isZero())return t;(n=t.d.length)<32?o=(1/X(4,r=Math.ceil(n/3))).toString():(r=16,o="2.3283064365386962890625e-10"),e.precision+=r,t=J(e,1,t.times(o),new e(1));for(var i=r;i--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=r,t}D.absoluteValue=D.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),I(e)},D.ceil=function(){return I(new this.constructor(this),this.e+1,2)},D.clampedTo=D.clamp=function(e,t){var r=this,n=r.constructor;if(e=new n(e),t=new n(t),!e.s||!t.s)return new n(NaN);if(e.gt(t))throw Error(h+t);return 0>r.cmp(e)?e:r.cmp(t)>0?t:new n(r)},D.comparedTo=D.cmp=function(e){var t,r,n,o,i=this,a=i.d,s=(e=new i.constructor(e)).d,u=i.s,l=e.s;if(!a||!s)return u&&l?u!==l?u:a===s?0:!a^u<0?1:-1:NaN;if(!a[0]||!s[0])return a[0]?u:s[0]?-l:0;if(u!==l)return u;if(i.e!==e.e)return i.e>e.e^u<0?1:-1;for(t=0,r=(n=a.length)<(o=s.length)?n:o;t<r;++t)if(a[t]!==s[t])return a[t]>s[t]^u<0?1:-1;return n===o?0:n>o^u<0?1:-1},D.cosine=D.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+T,n.rounding=1,r=$(n,Q(n,r)),n.precision=e,n.rounding=t,I(2==o||3==o?r.neg():r,e,t,!0)):new n(1):new n(NaN)},D.cubeRoot=D.cbrt=function(){var e,t,r,n,o,i,a,s,u,l,d=this,p=d.constructor;if(!d.isFinite()||d.isZero())return new p(d);for(c=!1,(i=d.s*b(d.s*d,1/3))&&Math.abs(i)!=1/0?n=new p(i.toString()):(r=A(d.d),(i=((e=d.e)-r.length+1)%3)&&(r+=1==i||-2==i?"0":"00"),i=b(r,1/3),e=y((e+1)/3)-(e%3==(e<0?-1:2)),(n=new p(r=i==1/0?"5e"+e:(r=i.toExponential()).slice(0,r.indexOf("e")+1)+e)).s=d.s),a=(e=p.precision)+3;;)if(n=M((l=(u=(s=n).times(s).times(s)).plus(d)).plus(d).times(s),l.plus(u),a+2,1),A(s.d).slice(0,a)===(r=A(n.d)).slice(0,a)){if("9999"!=(r=r.slice(a-3,a+1))&&(o||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(I(n,e+1,1),t=!n.times(n).times(n).eq(d));break}if(!o&&(I(s,e+1,0),s.times(s).times(s).eq(d))){n=s;break}a+=4,o=1}return c=!0,I(n,e,p.rounding,t)},D.decimalPlaces=D.dp=function(){var e,t=this.d,r=NaN;if(t){if(r=((e=t.length-1)-y(this.e/T))*T,e=t[e])for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r},D.dividedBy=D.div=function(e){return M(this,new this.constructor(e))},D.dividedToIntegerBy=D.divToInt=function(e){var t=this,r=t.constructor;return I(M(t,new r(e),0,1,1),r.precision,r.rounding)},D.equals=D.eq=function(e){return 0===this.cmp(e)},D.floor=function(){return I(new this.constructor(this),this.e+1,3)},D.greaterThan=D.gt=function(e){return this.cmp(e)>0},D.greaterThanOrEqualTo=D.gte=function(e){var t=this.cmp(e);return 1==t||0===t},D.hyperbolicCosine=D.cosh=function(){var e,t,r,n,o,i=this,a=i.constructor,s=new a(1);if(!i.isFinite())return new a(i.s?1/0:NaN);if(i.isZero())return s;r=a.precision,n=a.rounding,a.precision=r+Math.max(i.e,i.sd())+4,a.rounding=1,(o=i.d.length)<32?t=(1/X(4,e=Math.ceil(o/3))).toString():(e=16,t="2.3283064365386962890625e-10"),i=J(a,1,i.times(t),new a(1),!0);for(var u,l=e,d=new a(8);l--;)u=i.times(i),i=s.minus(u.times(d.minus(u.times(d))));return I(i,a.precision=r,a.rounding=n,!0)},D.hyperbolicSine=D.sinh=function(){var e,t,r,n,o=this,i=o.constructor;if(!o.isFinite()||o.isZero())return new i(o);if(t=i.precision,r=i.rounding,i.precision=t+Math.max(o.e,o.sd())+4,i.rounding=1,(n=o.d.length)<3)o=J(i,2,o,o,!0);else{e=(e=1.4*Math.sqrt(n))>16?16:0|e,o=J(i,2,o=o.times(1/X(5,e)),o,!0);for(var a,s=new i(5),u=new i(16),l=new i(20);e--;)a=o.times(o),o=o.times(s.plus(a.times(u.times(a).plus(l))))}return i.precision=t,i.rounding=r,I(o,t,r,!0)},D.hyperbolicTangent=D.tanh=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,M(r.sinh(),r.cosh(),n.precision=e,n.rounding=t)):new n(r.s)},D.inverseCosine=D.acos=function(){var e=this,t=e.constructor,r=e.abs().cmp(1),n=t.precision,o=t.rounding;return -1!==r?0===r?e.isNeg()?B(t,n,o):new t(0):new t(NaN):e.isZero()?B(t,n+4,o).times(.5):(t.precision=n+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=n,t.rounding=o,e.times(2))},D.inverseHyperbolicCosine=D.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,c=!1,r=r.times(r).minus(1).sqrt().plus(r),c=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)},D.inverseHyperbolicSine=D.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,c=!1,r=r.times(r).plus(1).sqrt().plus(r),c=!0,n.precision=e,n.rounding=t,r.ln())},D.inverseHyperbolicTangent=D.atanh=function(){var e,t,r,n,o=this,i=o.constructor;return o.isFinite()?o.e>=0?new i(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN):(e=i.precision,t=i.rounding,Math.max(n=o.sd(),e)<-(2*o.e)-1)?I(new i(o),e,t,!0):(i.precision=r=n-o.e,o=M(o.plus(1),new i(1).minus(o),r+e,1),i.precision=e+4,i.rounding=1,o=o.ln(),i.precision=e,i.rounding=t,o.times(.5)):new i(NaN)},D.inverseSine=D.asin=function(){var e,t,r,n,o=this,i=o.constructor;return o.isZero()?new i(o):(t=o.abs().cmp(1),r=i.precision,n=i.rounding,-1!==t)?0===t?((e=B(i,r+4,n).times(.5)).s=o.s,e):new i(NaN):(i.precision=r+6,i.rounding=1,o=o.div(new i(1).minus(o.times(o)).sqrt().plus(1)).atan(),i.precision=r,i.rounding=n,o.times(2))},D.inverseTangent=D.atan=function(){var e,t,r,n,o,i,a,s,u,l=this,d=l.constructor,p=d.precision,h=d.rounding;if(l.isFinite()){if(l.isZero())return new d(l);if(l.abs().eq(1)&&p+4<=k)return(a=B(d,p+4,h).times(.25)).s=l.s,a}else{if(!l.s)return new d(NaN);if(p+4<=k)return(a=B(d,p+4,h).times(.5)).s=l.s,a}for(d.precision=s=p+10,d.rounding=1,e=r=Math.min(28,s/T+2|0);e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(c=!1,t=Math.ceil(s/T),n=1,u=l.times(l),a=new d(l),o=l;-1!==e;)if(o=o.times(u),i=a.minus(o.div(n+=2)),o=o.times(u),void 0!==(a=i.plus(o.div(n+=2))).d[t])for(e=t;a.d[e]===i.d[e]&&e--;);return r&&(a=a.times(2<<r-1)),c=!0,I(a,d.precision=p,d.rounding=h,!0)},D.isFinite=function(){return!!this.d},D.isInteger=D.isInt=function(){return!!this.d&&y(this.e/T)>this.d.length-2},D.isNaN=function(){return!this.s},D.isNegative=D.isNeg=function(){return this.s<0},D.isPositive=D.isPos=function(){return this.s>0},D.isZero=function(){return!!this.d&&0===this.d[0]},D.lessThan=D.lt=function(e){return 0>this.cmp(e)},D.lessThanOrEqualTo=D.lte=function(e){return 1>this.cmp(e)},D.logarithm=D.log=function(e){var t,r,n,o,i,a,s,u,l=this,d=l.constructor,p=d.precision,h=d.rounding,f=5;if(null==e)e=new d(10),t=!0;else{if(r=(e=new d(e)).d,e.s<0||!r||!r[0]||e.eq(1))return new d(NaN);t=e.eq(10)}if(r=l.d,l.s<0||!r||!r[0]||l.eq(1))return new d(r&&!r[0]?-1/0:1!=l.s?NaN:r?0:1/0);if(t){if(r.length>1)i=!0;else{for(o=r[0];o%10==0;)o/=10;i=1!==o}}if(c=!1,N((u=M(a=G(l,s=p+f),n=t?F(d,s+10):G(e,s),s,1)).d,o=p,h))do if(s+=10,u=M(a=G(l,s),n=t?F(d,s+10):G(e,s),s,1),!i){+A(u.d).slice(o+1,o+15)+1==1e14&&(u=I(u,p+1,0));break}while(N(u.d,o+=10,h));return c=!0,I(u,p,h)},D.minus=D.sub=function(e){var t,r,n,o,i,a,s,u,l,d,p,h,f=this,m=f.constructor;if(e=new m(e),!f.d||!e.d)return f.s&&e.s?f.d?e.s=-e.s:e=new m(e.d||f.s!==e.s?f:NaN):e=new m(NaN),e;if(f.s!=e.s)return e.s=-e.s,f.plus(e);if(l=f.d,h=e.d,s=m.precision,u=m.rounding,!l[0]||!h[0]){if(h[0])e.s=-e.s;else{if(!l[0])return new m(3===u?-0:0);e=new m(f)}return c?I(e,s,u):e}if(r=y(e.e/T),d=y(f.e/T),l=l.slice(),i=d-r){for((p=i<0)?(t=l,i=-i,a=h.length):(t=h,r=d,a=l.length),i>(n=Math.max(Math.ceil(s/T),a)+2)&&(i=n,t.length=1),t.reverse(),n=i;n--;)t.push(0);t.reverse()}else{for((p=(n=l.length)<(a=h.length))&&(a=n),n=0;n<a;n++)if(l[n]!=h[n]){p=l[n]<h[n];break}i=0}for(p&&(t=l,l=h,h=t,e.s=-e.s),a=l.length,n=h.length-a;n>0;--n)l[a++]=0;for(n=h.length;n>i;){if(l[--n]<h[n]){for(o=n;o&&0===l[--o];)l[o]=x-1;--l[o],l[n]+=x}l[n]-=h[n]}for(;0===l[--a];)l.pop();for(;0===l[0];l.shift())--r;return l[0]?(e.d=l,e.e=R(l,r),c?I(e,s,u):e):new m(3===u?-0:0)},D.modulo=D.mod=function(e){var t,r=this,n=r.constructor;return(e=new n(e),r.d&&e.s&&(!e.d||e.d[0]))?e.d&&(!r.d||r.d[0])?(c=!1,9==n.modulo?(t=M(r,e.abs(),0,3,1),t.s*=e.s):t=M(r,e,0,n.modulo,1),t=t.times(e),c=!0,r.minus(t)):I(new n(r),n.precision,n.rounding):new n(NaN)},D.naturalExponential=D.exp=function(){return W(this)},D.naturalLogarithm=D.ln=function(){return G(this)},D.negated=D.neg=function(){var e=new this.constructor(this);return e.s=-e.s,I(e)},D.plus=D.add=function(e){var t,r,n,o,i,a,s,u,l,d,p=this,h=p.constructor;if(e=new h(e),!p.d||!e.d)return p.s&&e.s?p.d||(e=new h(e.d||p.s===e.s?p:NaN)):e=new h(NaN),e;if(p.s!=e.s)return e.s=-e.s,p.minus(e);if(l=p.d,d=e.d,s=h.precision,u=h.rounding,!l[0]||!d[0])return d[0]||(e=new h(p)),c?I(e,s,u):e;if(i=y(p.e/T),n=y(e.e/T),l=l.slice(),o=i-n){for(o<0?(r=l,o=-o,a=d.length):(r=d,n=i,a=l.length),o>(a=(i=Math.ceil(s/T))>a?i+1:a+1)&&(o=a,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for((a=l.length)-(o=d.length)<0&&(o=a,r=d,d=l,l=r),t=0;o;)t=(l[--o]=l[o]+d[o]+t)/x|0,l[o]%=x;for(t&&(l.unshift(t),++n),a=l.length;0==l[--a];)l.pop();return e.d=l,e.e=R(l,n),c?I(e,s,u):e},D.precision=D.sd=function(e){var t,r=this;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(h+e);return r.d?(t=U(r.d),e&&r.e+1>t&&(t=r.e+1)):t=NaN,t},D.round=function(){var e=this,t=e.constructor;return I(new t(e),e.e+1,t.rounding)},D.sine=D.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+T,n.rounding=1,r=Z(n,Q(n,r)),n.precision=e,n.rounding=t,I(o>2?r.neg():r,e,t,!0)):new n(NaN)},D.squareRoot=D.sqrt=function(){var e,t,r,n,o,i,a=this,s=a.d,u=a.e,l=a.s,d=a.constructor;if(1!==l||!s||!s[0])return new d(!l||l<0&&(!s||s[0])?NaN:s?a:1/0);for(c=!1,0==(l=Math.sqrt(+a))||l==1/0?(((t=A(s)).length+u)%2==0&&(t+="0"),l=Math.sqrt(t),u=y((u+1)/2)-(u<0||u%2),n=new d(t=l==1/0?"5e"+u:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+u)):n=new d(l.toString()),r=(u=d.precision)+3;;)if(n=(i=n).plus(M(a,i,r+2,1)).times(.5),A(i.d).slice(0,r)===(t=A(n.d)).slice(0,r)){if("9999"!=(t=t.slice(r-3,r+1))&&(o||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(I(n,u+1,1),e=!n.times(n).eq(a));break}if(!o&&(I(i,u+1,0),i.times(i).eq(a))){n=i;break}r+=4,o=1}return c=!0,I(n,u,d.rounding,e)},D.tangent=D.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.roun
vendor: 8,885 bytes, line 20
20ding=1,(r=r.sin()).s=1,r=M(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,I(2==o||4==o?r.neg():r,e,t,!0)):new n(NaN)},D.times=D.mul=function(e){var t,r,n,o,i,a,s,u,l,d=this,p=d.constructor,h=d.d,f=(e=new p(e)).d;if(e.s*=d.s,!h||!h[0]||!f||!f[0])return new p(e.s&&(!h||h[0]||f)&&(!f||f[0]||h)?h&&f?0*e.s:e.s/0:NaN);for(r=y(d.e/T)+y(e.e/T),(u=h.length)<(l=f.length)&&(i=h,h=f,f=i,a=u,u=l,l=a),i=[],n=a=u+l;n--;)i.push(0);for(n=l;--n>=0;){for(t=0,o=u+n;o>n;)s=i[o]+f[n]*h[o-n-1]+t,i[o--]=s%x|0,t=s/x|0;i[o]=(i[o]+t)%x|0}for(;!i[--a];)i.pop();return t?++r:i.shift(),e.d=i,e.e=R(i,r),c?I(e,p.precision,p.rounding):e},D.toBinary=function(e,t){return ee(this,2,e,t)},D.toDecimalPlaces=D.toDP=function(e,t){var r=this,n=r.constructor;return(r=new n(r),void 0===e)?r:(O(e,0,a),void 0===t?t=n.rounding:O(t,0,8),I(r,e+r.e+1,t))},D.toExponential=function(e,t){var r,n=this,o=n.constructor;return void 0===e?r=L(n,!0):(O(e,0,a),void 0===t?t=o.rounding:O(t,0,8),r=L(n=I(new o(n),e+1,t),!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r},D.toFixed=function(e,t){var r,n,o=this,i=o.constructor;return void 0===e?r=L(o):(O(e,0,a),void 0===t?t=i.rounding:O(t,0,8),r=L(n=I(new i(o),e+o.e+1,t),!1,e+n.e+1)),o.isNeg()&&!o.isZero()?"-"+r:r},D.toFraction=function(e){var t,r,n,o,i,a,s,u,l,d,p,f,m=this,g=m.d,y=m.constructor;if(!g)return new y(m);if(l=r=new y(1),n=u=new y(0),a=(i=(t=new y(n)).e=U(g)-m.e-1)%T,t.d[0]=b(10,a<0?T+a:a),null==e)e=i>0?t:l;else{if(!(s=new y(e)).isInt()||s.lt(l))throw Error(h+s);e=s.gt(t)?i>0?t:l:s}for(c=!1,s=new y(A(g)),d=y.precision,y.precision=i=g.length*T*2;p=M(s,t,0,1,1),1!=(o=r.plus(p.times(n))).cmp(e);)r=n,n=o,o=l,l=u.plus(p.times(o)),u=o,o=t,t=s.minus(p.times(o)),s=o;return o=M(e.minus(r),n,0,1,1),u=u.plus(o.times(l)),r=r.plus(o.times(n)),u.s=l.s=m.s,f=1>M(l,n,i,1).minus(m).abs().cmp(M(u,r,i,1).minus(m).abs())?[l,n]:[u,r],y.precision=d,c=!0,f},D.toHexadecimal=D.toHex=function(e,t){return ee(this,16,e,t)},D.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),null==e){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),void 0===t?t=n.rounding:O(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(c=!1,r=M(r,e,0,t,1).times(e),c=!0,I(r)):(e.s=r.s,r=e),r},D.toNumber=function(){return+this},D.toOctal=function(e,t){return ee(this,8,e,t)},D.toPower=D.pow=function(e){var t,r,n,o,i,a,s=this,u=s.constructor,l=+(e=new u(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new u(b(+s,l));if((s=new u(s)).eq(1))return s;if(n=u.precision,i=u.rounding,e.eq(1))return I(s,n,i);if((t=y(e.e/T))>=e.d.length-1&&(r=l<0?-l:l)<=E)return o=V(u,s,r,n),e.s<0?new u(1).div(o):I(o,n,i);if((a=s.s)<0){if(t<e.d.length-1)return new u(NaN);if((1&e.d[t])==0&&(a=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=a,s}return(t=0!=(r=b(+s,l))&&isFinite(r)?new u(r+"").e:y(l*(Math.log("0."+A(s.d))/Math.LN10+s.e+1)))>u.maxE+1||t<u.minE-1?new u(t>0?a/0:0):(c=!1,u.rounding=s.s=1,r=Math.min(12,(t+"").length),(o=W(e.times(G(s,n+r)),n)).d&&N((o=I(o,n+5,1)).d,n,i)&&(t=n+10,+A((o=I(W(e.times(G(s,t+r)),t),t+5,1)).d).slice(n+1,n+15)+1==1e14&&(o=I(o,n+1,0))),o.s=a,c=!0,u.rounding=i,I(o,n,i))},D.toPrecision=function(e,t){var r,n=this,o=n.constructor;return void 0===e?r=L(n,n.e<=o.toExpNeg||n.e>=o.toExpPos):(O(e,1,a),void 0===t?t=o.rounding:O(t,0,8),r=L(n=I(new o(n),e,t),e<=n.e||n.e<=o.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r},D.toSignificantDigits=D.toSD=function(e,t){var r=this,n=r.constructor;return void 0===e?(e=n.precision,t=n.rounding):(O(e,1,a),void 0===t?t=n.rounding:O(t,0,8)),I(new n(r),e,t)},D.toString=function(){var e=this,t=e.constructor,r=L(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r},D.truncated=D.trunc=function(){return I(new this.constructor(this),this.e+1,1)},D.valueOf=D.toJSON=function(){var e=this,t=e.constructor,r=L(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+r:r};var M=function(){function e(e,t,r){var n,o=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+o,e[i]=n%r|0,o=n/r|0;return o&&e.unshift(o),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function r(e,t,r,n){for(var o=0;r--;)e[r]-=o,o=e[r]<t[r]?1:0,e[r]=o*n+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(o,i,a,s,u,l){var d,c,p,h,f,m,g,b,v,S,_,w,E,P,k,D,A,O,N,C,$=o.constructor,M=o.s==i.s?1:-1,L=o.d,R=i.d;if(!L||!L[0]||!R||!R[0])return new $(o.s&&i.s&&(L?!R||L[0]!=R[0]:R)?L&&0==L[0]||!R?0*M:M/0:NaN);for(l?(f=1,c=o.e-i.e):(l=x,f=T,c=y(o.e/f)-y(i.e/f)),N=R.length,A=L.length,S=(v=new $(M)).d=[],p=0;R[p]==(L[p]||0);p++);if(R[p]>(L[p]||0)&&c--,null==a?(P=a=$.precision,s=$.rounding):P=u?a+(o.e-i.e)+1:a,P<0)S.push(1),m=!0;else{if(P=P/f+2|0,p=0,1==N){for(h=0,R=R[0],P++;(p<A||h)&&P--;p++)k=h*l+(L[p]||0),S[p]=k/R|0,h=k%R|0;m=h||p<A}else{for((h=l/(R[0]+1)|0)>1&&(R=e(R,h,l),L=e(L,h,l),N=R.length,A=L.length),D=N,w=(_=L.slice(0,N)).length;w<N;)_[w++]=0;(C=R.slice()).unshift(0),O=R[0],R[1]>=l/2&&++O;do h=0,(d=t(R,_,N,w))<0?(E=_[0],N!=w&&(E=E*l+(_[1]||0)),(h=E/O|0)>1?(h>=l&&(h=l-1),b=(g=e(R,h,l)).length,w=_.length,1==(d=t(g,_,b,w))&&(h--,r(g,N<b?C:R,b,l))):(0==h&&(d=h=1),g=R.slice()),(b=g.length)<w&&g.unshift(0),r(_,g,w,l),-1==d&&(w=_.length,(d=t(R,_,N,w))<1&&(h++,r(_,N<w?C:R,w,l))),w=_.length):0===d&&(h++,_=[0]),S[p++]=h,d&&_[0]?_[w++]=L[D]||0:(_=[L[D]],w=1);while((D++<A||void 0!==_[0])&&P--);m=void 0!==_[0]}S[0]||S.shift()}if(1==f)v.e=c,n=m;else{for(p=1,h=S[0];h>=10;h/=10)p++;v.e=p+c*f-1,I(v,u?a+v.e+1:a,s,m)}return v}}();function I(e,t,r,n){var o,i,a,s,u,l,d,p,h,f=e.constructor;e:if(null!=t){if(!(p=e.d))return e;for(o=1,s=p[0];s>=10;s/=10)o++;if((i=t-o)<0)i+=T,a=t,u=(d=p[h=0])/b(10,o-a-1)%10|0;else if((h=Math.ceil((i+1)/T))>=(s=p.length)){if(n){for(;s++<=h;)p.push(0);d=u=0,o=1,i%=T,a=i-T+1}else break e}else{for(o=1,d=s=p[h];s>=10;s/=10)o++;i%=T,u=(a=i-T+o)<0?0:d/b(10,o-a-1)%10|0}if(n=n||t<0||void 0!==p[h+1]||(a<0?d:d%b(10,o-a-1)),l=r<4?(u||n)&&(0==r||r==(e.s<0?3:2)):u>5||5==u&&(4==r||n||6==r&&(i>0?a>0?d/b(10,o-a):0:p[h-1])%10&1||r==(e.s<0?8:7)),t<1||!p[0])return p.length=0,l?(t-=e.e+1,p[0]=b(10,(T-t%T)%T),e.e=-t||0):p[0]=e.e=0,e;if(0==i?(p.length=h,s=1,h--):(p.length=h+1,s=b(10,T-i),p[h]=a>0?(d/b(10,o-a)%b(10,a)|0)*s:0),l)for(;;){if(0==h){for(i=1,a=p[0];a>=10;a/=10)i++;for(a=p[0]+=s,s=1;a>=10;a/=10)s++;i!=s&&(e.e++,p[0]==x&&(p[0]=1));break}if(p[h]+=s,p[h]!=x)break;p[h--]=0,s=1}for(i=p.length;0===p[--i];)p.pop()}return c&&(e.e>f.maxE?(e.d=null,e.e=NaN):e.e<f.minE&&(e.e=0,e.d=[0])),e}function L(e,t,r){if(!e.isFinite())return q(e);var n,o=e.e,i=A(e.d),a=i.length;return t?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+j(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):o<0?(i="0."+j(-o-1)+i,r&&(n=r-a)>0&&(i+=j(n))):o>=a?(i+=j(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+j(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=j(n))),i}function R(e,t){var r=e[0];for(t*=T;r>=10;r/=10)t++;return t}function F(e,t,r){if(t>P)throw c=!0,r&&(e.precision=r),Error(f);return I(new e(u),t,1,!0)}function B(e,t,r){if(t>k)throw Error(f);return I(new e(l),t,r,!0)}function U(e){var t=e.length-1,r=t*T+1;if(t=e[t]){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function j(e){for(var t="";e--;)t+="0";return t}function V(e,t,r,n){var o,i=new e(1),a=Math.ceil(n/T+4);for(c=!1;;){if(r%2&&et((i=i.times(t)).d,a)&&(o=!0),0===(r=y(r/2))){r=i.d.length-1,o&&0===i.d[r]&&++i.d[r];break}et((t=t.times(t)).d,a)}return c=!0,i}function z(e){return 1&e.d[e.d.length-1]}function H(e,t,r){for(var n,o,i=new e(t[0]),a=0;++a<t.length;){if(!(o=new e(t[a])).s){i=o;break}((n=i.cmp(o))===r||0===n&&i.s===r)&&(i=o)}return i}function W(e,t){var r,n,o,i,a,s,u,l=0,d=0,p=0,h=e.constructor,f=h.rounding,m=h.precision;if(!e.d||!e.d[0]||e.e>17)return new h(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:0/0);for(null==t?(c=!1,u=m):u=t,s=new h(.03125);e.e>-2;)e=e.times(s),p+=5;for(u+=n=Math.log(b(2,p))/Math.LN10*2+5|0,r=i=a=new h(1),h.precision=u;;){if(i=I(i.times(e),u,1),r=r.times(++d),A((s=a.plus(M(i,r,u,1))).d).slice(0,u)===A(a.d).slice(0,u)){for(o=p;o--;)a=I(a.times(a),u,1);if(null!=t)return h.precision=m,a;if(!(l<3&&N(a.d,u-n,f,l)))return I(a,h.precision=m,f,c=!0);h.precision=u+=10,r=i=s=new h(1),d=0,l++}a=s}}function G(e,t){var r,n,o,i,a,s,u,l,d,p,h,f=1,m=10,g=e,y=g.d,b=g.constructor,v=b.rounding,S=b.precision;if(g.s<0||!y||!y[0]||!g.e&&1==y[0]&&1==y.length)return new b(y&&!y[0]?-1/0:1!=g.s?NaN:y?0:g);if(null==t?(c=!1,d=S):d=t,b.precision=d+=m,n=(r=A(y)).charAt(0),!(15e14>Math.abs(i=g.e)))return l=F(b,d+2,S).times(i+""),g=G(new b(n+"."+r.slice(1)),d-m).plus(l),b.precision=S,null==t?I(g,S,v,c=!0):g;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=A((g=g.times(e)).d)).charAt(0),f++;for(i=g.e,n>1?(g=new b("0."+r),i++):g=new b(n+"."+r.slice(1)),p=g,u=a=g=M(g.minus(1),g.plus(1),d,1),h=I(g.times(g),d,1),o=3;;){if(a=I(a.times(h),d,1),A((l=u.plus(M(a,new b(o),d,1))).d).slice(0,d)===A(u.d).slice(0,d)){if
vendor: 4,212 bytes, line 20
20(u=u.times(2),0!==i&&(u=u.plus(F(b,d+2,S).times(i+""))),u=M(u,new b(f),d,1),null!=t)return b.precision=S,u;if(!N(u.d,d-m,v,s))return I(u,b.precision=S,v,c=!0);b.precision=d+=m,l=a=g=M(p.minus(1),p.plus(1),d,1),h=I(g.times(g),d,1),o=s=1}u=l,o+=2}}function q(e){return String(e.s*e.s/0)}function Y(e,t){var r,n,o;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);n++);for(o=t.length;48===t.charCodeAt(o-1);--o);if(t=t.slice(n,o)){if(o-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%T,r<0&&(n+=T),n<o){for(n&&e.d.push(+t.slice(0,n)),o-=T;n<o;)e.d.push(+t.slice(n,n+=T));n=T-(t=t.slice(n)).length}else n-=o;for(;n--;)t+="0";e.d.push(+t),c&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function K(e,t){var r,n,o,i,a,s,u,l,d;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),w.test(t))return Y(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(S.test(t))r=16,t=t.toLowerCase();else if(v.test(t))r=2;else if(_.test(t))r=8;else throw Error(h+t);for((i=t.search(/p/i))>0?(u=+t.slice(i+1),t=t.substring(2,i)):t=t.slice(2),a=(i=t.indexOf("."))>=0,n=e.constructor,a&&(i=(s=(t=t.replace(".","")).length)-i,o=V(n,new n(r),i,2*i)),i=d=(l=C(t,r,x)).length-1;0===l[i];--i)l.pop();return i<0?new n(0*e.s):(e.e=R(l,d),e.d=l,c=!1,a&&(e=M(e,o,4*s)),u&&(e=e.times(54>Math.abs(u)?b(2,u):ez.pow(2,u))),c=!0,e)}function Z(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:J(e,2,t,t);r=(r=1.4*Math.sqrt(n))>16?16:0|r,t=J(e,2,t=t.times(1/X(5,r)),t);for(var o,i=new e(5),a=new e(16),s=new e(20);r--;)o=t.times(t),t=t.times(i.plus(o.times(a.times(o).minus(s))));return t}function J(e,t,r,n,o){var i,a,s,u,l=e.precision,d=Math.ceil(l/T);for(c=!1,u=r.times(r),s=new e(n);;){if(a=M(s.times(u),new e(t++*t++),l,1),s=o?n.plus(a):n.minus(a),n=M(a.times(u),new e(t++*t++),l,1),void 0!==(a=s.plus(n)).d[d]){for(i=d;a.d[i]===s.d[i]&&i--;);if(-1==i)break}i=s,s=n,n=a,a=i}return c=!0,a.d.length=d+1,a}function X(e,t){for(var r=e;--t;)r*=e;return r}function Q(e,t){var r,n=t.s<0,i=B(e,e.precision,1),a=i.times(.5);if((t=t.abs()).lte(a))return o=n?4:1,t;if((r=t.divToInt(i)).isZero())o=n?3:2;else{if((t=t.minus(r.times(i))).lte(a))return o=z(r)?n?2:3:n?4:1,t;o=z(r)?n?1:4:n?3:2}return t.minus(i).abs()}function ee(e,t,r,o){var i,u,l,d,c,p,h,f,m,g=e.constructor,y=void 0!==r;if(y?(O(r,1,a),void 0===o?o=g.rounding:O(o,0,8)):(r=g.precision,o=g.rounding),e.isFinite()){for(l=(h=L(e)).indexOf("."),y?(i=2,16==t?r=4*r-3:8==t&&(r=3*r-2)):i=t,l>=0&&(h=h.replace(".",""),(m=new g(1)).e=h.length-l,m.d=C(L(m),10,i),m.e=m.d.length),u=c=(f=C(h,10,i)).length;0==f[--c];)f.pop();if(f[0]){if(l<0?u--:((e=new g(e)).d=f,e.e=u,f=(e=M(e,m,r,o,0,i)).d,u=e.e,p=n),l=f[r],d=i/2,p=p||void 0!==f[r+1],p=o<4?(void 0!==l||p)&&(0===o||o===(e.s<0?3:2)):l>d||l===d&&(4===o||p||6===o&&1&f[r-1]||o===(e.s<0?8:7)),f.length=r,p)for(;++f[--r]>i-1;)f[r]=0,r||(++u,f.unshift(1));for(c=f.length;!f[c-1];--c);for(l=0,h="";l<c;l++)h+=s.charAt(f[l]);if(y){if(c>1){if(16==t||8==t){for(l=16==t?4:3,--c;c%l;c++)h+="0";for(c=(f=C(h,i,t)).length;!f[c-1];--c);for(l=1,h="1.";l<c;l++)h+=s.charAt(f[l])}else h=h.charAt(0)+"."+h.slice(1)}h=h+(u<0?"p":"p+")+u}else if(u<0){for(;++u;)h="0"+h;h="0."+h}else if(++u>c)for(u-=c;u--;)h+="0";else u<c&&(h=h.slice(0,u)+"."+h.slice(u))}else h=y?"0p+0":"0";h=(16==t?"0x":2==t?"0b":8==t?"0o":"")+h}else h=q(e);return e.s<0?"-"+h:h}function et(e,t){if(e.length>t)return e.length=t,!0}function er(e){return new this(e).abs()}function en(e){return new this(e).acos()}function eo(e){return new this(e).acosh()}function ei(e,t){return new this(e).plus(t)}function ea(e){return new this(e).asin()}function es(e){return new this(e).asinh()}function eu(e){return new this(e).atan()}function el(e){return new this(e).atanh()}function ed(e,t){e=new this(e),t=new this(t);var r,n=this.precision,o=this.rounding,i=n+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(r=t.s<0?B(this,n,o):new this(0)).s=e.s:!e.d||t.isZero()?(r=B(this,i,1).times(.5)).s=e.s:t.s<0?(this.precision=i,this.rounding=1,r=this.atan(M(e,t,i,1)),t=B(this,i,1),this.precision=n,this.rounding=o,r=e.s<0?r.minu
20s(t):r.plus(t)):r=this.atan(M(e,t,i,1)):(r=B(this,i,1).times(t.s>0?.25:.75)).s=e.s:r=new this(NaN),r}function ec(e){return new this(e).cbrt()}function ep(e){return I(e=new this(e),e.e+1,2)}function eh(e,t,r){return new this(e).clamp(t,r)}function ef(e){if(!e||"object"!=typeof e)throw Error(p+"Object expected");var t,r,n,o=!0===e.defaults,s=["precision",1,a,"rounding",0,8,"toExpNeg",-i,0,"toExpPos",0,i,"maxE",0,i,"minE",-i,0,"modulo",0,9];for(t=0;t<s.length;t+=3)if(r=s[t],o&&(this[r]=d[r]),void 0!==(n=e[r])){if(y(n)===n&&n>=s[t+1]&&n<=s[t+2])this[r]=n;else throw Error(h+r+": "+n)}if(r="crypto",o&&(this[r]=d[r]),void 0!==(n=e[r])){if(!0===n||!1===n||0===n||1===n){if(n){if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(m)}else this[r]=!1}else throw Error(h+r+": "+n)}return this}function em(e){return new this(e).cos()}function eg(e){return new this(e).cosh()}function ey(e){var t,r,n;function o(e){var t,r,n,i=this;if(!(i instanceof o))return new o(e);if(i.constructor=o,ew(e)){i.s=e.s,c?!e.d||e.e>o.maxE?(i.e=NaN,i.d=null):e.e<o.minE?(i.e=0,i.d=[0]):(i.e=e.e,i.d=e.d.slice()):(i.e=e.e,i.d=e.d?e.d.slice():e.d);return}if("number"==(n=typeof e)){if(0===e){i.s=1/e<0?-1:1,i.e=0,i.d=[0];return}if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(t=0,r=e;r>=10;r/=10)t++;c?t>o.maxE?(i.e=NaN,i.d=null):t<o.minE?(i.e=0,i.d=[0]):(i.e=t,i.d=[e]):(i.e=t,i.d=[e]);return}if(0*e!=0){e||(i.s=NaN),i.e=NaN,i.d=null;return}return Y(i,e.toString())}if("string"===n)return 45===(r=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===r&&(e=e.slice(1)),i.s=1),w.test(e)?Y(i,e):K(i,e);if("bigint"===n)return e<0?(e=-e,i.s=-1):i.s=1,Y(i,e.toString());throw Error(h+e)}if(o.prototype=D,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=ef,o.clone=ey,o.isDecimal=ew,o.abs=er,o.acos=en,o.acosh=eo,o.add=ei,o.asin=ea,o.asinh=es,o.atan=eu,o.atanh=el,o.atan2=ed,o.cbrt=ec,o.ceil=ep,o.clamp=eh,o.cos=em,o.cosh=eg,o.div=eb,o.exp=ev,o.floor=eS,o.hypot=e_,o.ln=ex,o.log=eT,o.log10=eP,o.log2=eE,o.max=ek,o.min=eD,o.mod=eA,o.mul=eO,o.pow=eN,o.random=eC,o.round=e$,o.sign=eM,o.sin=eI,o.sinh=eL,o.sqrt=eR,o.sub=eF,o.sum=eB,o.tan=eU,o.tanh=ej,o.trunc=eV,void 0===e&&(e={}),e&&!0!==e.defaults)for(t=0,n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"];t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return o.config(e),o}function eb(e,t){return new this(e).div(t)}function ev(e){return new this(e).exp()}function eS(e){return I(e=new this(e),e.e+1,3)}function e_(){var e,t,r=new this(0);for(e=0,c=!1;e<arguments.length;)if(t=new this(arguments[e++]),t.d)r.d&&(r=r.plus(t.times(t)));else{if(t.s)return c=!0,new this(1/0);r=t}return c=!0,r.sqrt()}function ew(e){return e instanceof ez||e&&e.toStringTag===g||!1}function ex(e){return new this(e).ln()}function eT(e,t){return new this(e).log(t)}function eE(e){return new this(e).log(2)}function eP(e){return new this(e).log(10)}function ek(){return H(this,arguments,-1)}function eD(){return H(this,arguments,1)}function eA(e,t){return new this(e).mod(t)}function eO(e,t){return new this(e).mul(t)}function eN(e,t){return new this(e).pow(t)}function eC(e){var t,r,n,o,i=0,s=new this(1),u=[];if(void 0===e?e=this.precision:O(e,1,a),n=Math.ceil(e/T),this.crypto){if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(n));i<n;)(o=t[i])>=429e7?t[i]=crypto.getRandomValues(new Uint32Array(1))[0]:u[i++]=o%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);i<n;)(o=t[i]+(t[i+1]<<8)+(t[i+2]<<16)+((127&t[i+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,i):(u.push(o%1e7),i+=4);i=n/4}else throw Error(m)}else for(;i<n;)u[i++]=1e7*Math.random()|0;for(n=u[--i],e%=T,n&&e&&(o=b(10,T-e),u[i]=(n/o|0)*o);0===u[i];i--)u.pop();if(i<0)r=0,u=[0];else{for(r=-1;0===u[0];r-=T)u.shift();for(n=1,o=u[0];o>=10;o/=10)n++;n<T&&(r-=T-n)}return s.e=r,s.d=u,s}function e$(e){return I(e=new this(e),e.e+1,this.rounding)}function eM(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function eI(e){return new this(e).sin()}function eL(e){return new this(e).sinh()}function eR(e){return new this(e).sqrt()}function eF(e,t){return new this(e).sub(t)}function eB(){var e=0,t=arguments,r=new this(t[0]);for(c=!1;r.s&&++e<t.length;)r=r.plus(t[e]);return c=!0,I(r,this.precision,this.rounding)}function eU(e){return new this(e).tan()}function ej(e){return new this(e).tanh()}function eV(e){return I(e=new this(e),e.e+1,1)}D[Symbol.for("nodejs.util.inspect.custom")]=D.toString,D[Symbol.toStringTag]="Decimal";var ez=D.constructor=ey(d);u=new ez(u),l=new ez(l);let eH=ez},29828:(e,t,r)=>{"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)"__proto__"!==n&&(e[n]=r[n])}return e}
20function o(e,t){function r(r,o,i){if("undefined"!=typeof document){"number"==typeof(i=n({},t,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=r+"="+e.write(o,r)+a}}return Object.create({set:r,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(s in n||(n[s]=e.read(a,s)),t===s)break}catch{}}return t?n[t]:n}},remove:function(e,t){r(e,"",n({},t,{expires:-1}))},withAttributes:function(e){return o(this.converter,n({},this.attributes,e))},withConverter:function(e){return o(n({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}r.d(t,{A:()=>i});var i=o({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},3440:(e,t,r)=>{"use strict";r.d(t,{P:()=>n});var n={relTol:1e-12,absTol:1e-15,matrix:"Matrix",number:"number",numberFallback:"number",precision:64,predictable:!1,randomSeed:null}},36868:(e,t,r)=>{"use strict";r.d(t,{v:()=>g});var n=r(69932),o=r(79605),i=r(96965),a=r(61293),s=r(90181),u=r(28246),l=r(67406),d=r(37853),c=r(22599);function p(e){var t=new c;return e.on=t.on.bind(t),e.off=t.off.bind(t),e.once=t.once.bind(t),e.emit=t.emit.bind(t),e}var h=r(3440),f=r(82671);function m(e,t,r,n){function o(t,o,i){if(i.wrap&&"function"==typeof o&&(o=c(o)),m(o)&&(o=e(t,{[o.signature]:o})),e.isTypedFunction(r[t])&&e.isTypedFunction(o)){o=i.override?e(t,o.signatures):e(r[t],o),r[t]=o,delete n[t],a(t,o),r.emit("import",t,function(){return o});return}var s,u=void 0!==r[t],l=null===(s=r.Unit)||void 0===s?void 0:s.isValuelessUnit(t);if(!u&&!l||i.override){r[t]=o,delete n[t],a(t,o),r.emit("import",t,function(){return o});return}if(!i.silent)throw Error('Cannot import "'+t+'": already exists')}function a(e,t){t&&"function"==typeof t.transform?(r.expression.transform[e]=t.transform,g(e)&&(r.expression.mathWithTransform[e]=t.transform)):(delete r.expression.transform[e],g(e)&&(r.expression.mathWithTransform[e]=t))}function s(e){delete r.expression.transform[e],g(e)?r.expression.mathWithTransform[e]=r[e]:delete r.expression.mathWithTransform[e]}function c(e){var t=function(){for(var t=[],n=0,o=arguments.length;n<o;n++){var i=arguments[n];t[n]=i&&i.valueOf()}return e.apply(r,t)};return e.transform&&(t.transform=e.transform),t}function p(t,o){var i,a,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.fn;if(l.includes("."))throw Error("Factory name should not contain a nested path. Name: "+JSON.stringify(l));var c=b(t)?r.expression.transform:r,p=l in r.expression.transform,h=(0,d.mQ)(c,l)?c[l]:void 0,f=function(){var n={};t.dependencies.map(u.Py).forEach(e=>{if(e.includes("."))throw Error("Factory dependency should not contain a nested path. Name: "+JSON.stringify(e));"math"===e?n.math=r:"mathWithTransform"===e?n.mathWithTransform=r.expression.mathWithTransform:"classes"===e?n.classes=r:n[e]=r[e]});var i=t(n);if(i&&"function"==typeof i.transform)throw Error('Transforms cannot be attached to factory functions. Please create a separate function for it with export const path = "expression.transform"');if(void 0===h||o.override)return i;if(e.isTypedFunction(h)&&e.isTypedFunction(i))return e(h,i);if(o.silent)return h;throw Error('Cannot import "'+l+'": already exists')},m=null!==(i=null===(a=t.meta)||void 0===a?void 0:a.formerly)&&void 0!==i?i:"",g=b(t)||y(t),v=r.expression.mathWithTransform;t.meta&&!1===t.meta.lazy?(c[l]=f(),m&&(c[m]=c[l])):((0,d.RZ)(c,l,f),m&&(0,d.RZ)(c,m,f)),h&&p?(s(l),m&&s(m)):g&&((0,d.RZ)(v,l,()=>c[l]),m&&(0,d.RZ)(v,m,()=>c[l])),n[l]=t,r.emit("import",l,f)}function h(e){return"function"==typeof e||"number"==typeof e||"string"==typeof e||"boolean"==typeof e||null===e||(0,l.vO)(e)||(0,l.Zd)(e)||(0,l.C4)(e)||(0,l.fU)(e)||(0,l.OA)(e)||Array.isArray(e)}function f(e){return"object"==typeof e&&"Module"===e[Symbol.toStringTag]}function m(e){return"function"==typeof e&&"string"==typeof e.signature}function g(e){return!(0,d.mQ)(v,e)}
20function y(e){return!e.fn.includes(".")&&!(0,d.mQ)(v,e.fn)&&(!e.meta||!e.meta.isClass)}function b(e){return void 0!==e&&void 0!==e.meta&&!0===e.meta.isTransformFunction}var v={expression:!0,type:!0,docs:!0,error:!0,json:!0,chain:!0};return function(e,t){var r=arguments.length;if(1!==r&&2!==r)throw new i.X("import",r,1,2);function n(e,r,o){if(Array.isArray(r))r.forEach(t=>n(e,t));else if((0,l.Gv)(r)||f(r))for(var i in r)(0,d.mQ)(r,i)&&n(e,r[i],i);else if((0,u.T$)(r)||void 0!==o){var a=(0,u.T$)(r)?b(r)?r.fn+".transform":r.fn:o;if((0,d.mQ)(e,a)&&e[a]!==r&&!t.silent)throw Error('Cannot import "'+a+'" twice');e[a]=r}else if(!t.silent)throw TypeError("Factory, Object, or Array expected")}t||(t={});var a={};for(var s in n(a,e),a)if((0,d.mQ)(a,s)){var c=a[s];if((0,u.T$)(c))p(c,t);else if(h(c))o(s,c,t);else if(!t.silent)throw TypeError("Factory, Object, or Array expected")}}}function g(e,t){var r=(0,n.A)({},h.P,t);if("function"!=typeof Object.create)throw Error("ES5 not supported by this JavaScript engine. Please load the es5-shim and es5-sham library for compatibility.");var c=p({isNumber:l.Et,isComplex:l.Zd,isBigNumber:l.C4,isBigInt:l.sI,isFraction:l.fU,isUnit:l.vO,isString:l.Kg,isArray:l.cy,isMatrix:l.OA,isCollection:l.P3,isDenseMatrix:l.zR,isSparseMatrix:l.AF,isRange:l._Z,isIndex:l.nw,isBoolean:l.Lm,isResultSet:l.eW,isHelp:l.gS,isFunction:l.Tn,isDate:l.$P,isRegExp:l.gd,isObject:l.Gv,isMap:l.jh,isPartitionedMap:l.aZ,isObjectWrappingMap:l.uQ,isNull:l.kZ,isUndefined:l.b0,isAccessorNode:l.AS,isArrayNode:l.gO,isAssignmentNode:l.qM,isBlockNode:l.CD,isConditionalNode:l.PO,isConstantNode:l.BA,isFunctionAssignmentNode:l.m2,isFunctionNode:l.Px,isIndexNode:l.$I,isNode:l.Ll,isObjectNode:l.GJ,isOperatorNode:l.$$,isParenthesisNode:l.tv,isRangeNode:l.Ye,isRelationalNode:l.iu,isSymbolNode:l.li,isChain:l.o_});c.config=(0,f.hZ)(r,c.emit),c.expression={transform:{},mathWithTransform:{config:c.config}};var y=[],b=[];function v(e){if((0,u.T$)(e))return e(c);var t,n=e[Object.keys(e)[0]];if((0,u.T$)(n))return n(c);if(!(0,d.Mx)(e))throw console.warn("Factory object with properties `type`, `name`, and `factory` expected",e),Error("Factory object with properties `type`, `name`, and `factory` expected");var o=y.indexOf(e);return -1===o?(t=!0===e.math?e.factory(c.type,r,v,c.typed,c):e.factory(c.type,r,v,c.typed),y.push(e),b.push(t)):t=b[o],t}var S={};function _(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.typed.apply(c.typed,t)}_.isTypedFunction=o.isTypedFunction;var w=m(_,v,c,S);return c.import=w,c.on("config",()=>
20{Object.values(S).forEach(e=>{e&&e.meta&&e.meta.recreateOnConfigChange&&w(e,{override:!0})})}),c.create=g.bind(null,e),c.factory=u.P9,c.import(Object.values((0,d.rU)(e))),c.ArgumentsError=i.X,c.DimensionError=a.h,c.IndexError=s.d,c}},82671:(e,t,r)=>{"use strict";r.d(t,{hZ:()=>s,n$:()=>a,t:()=>i});var n=r(37853),o=r(3440),i=["Matrix","Array"],a=["number","BigNumber","bigint","Fraction"];function s(e,t){function r(o){if(!o)return(0,n.o8)(e);if(void 0!==o.epsilon){console.warn('Warning: The configuration option "epsilon" is deprecated. Use "relTol" and "absTol" instead.');var s=(0,n.o8)(o);return s.relTol=o.epsilon,s.absTol=.001*o.epsilon,delete s.epsilon,r(s)}var l=(0,n.o8)(e);u(o,"matrix",i),u(o,"number",a),(0,n.zw)(e,o);var d=(0,n.o8)(e);return t("config",d,l,(0,n.o8)(o)),d}return r.MATRIX_OPTIONS=i,r.NUMBER_OPTIONS=a,Object.keys(o.P).forEach(t=>{Object.defineProperty(r,t,{get:()=>e[t],enumerable:!0,configurable:!0})}),r}function u(e,t,r){void 0===e[t]||r.includes(e[t])||console.warn('Warning: Unknown value "'+e[t]+'" for configuration option "'+t+'". Available options: '+r.map(e=>JSON.stringify(e)).join(", ")+".")}},52545:(e,t,r)=>{"use strict";r.d(t,{B:()=>l});var n=r(79605),o=r(28246),i=r(67406),a=r(12071),s=function(){return s=n.create,n},u=["?BigNumber","?Complex","?DenseMatrix","?Fraction"],l=(0,o.P9)("typed",u,function(e){var{BigNumber:t,Complex:r,DenseMatrix:n,Fraction:o}=e,u=s();return u.clear(),u.addTypes([{name:"number",test:i.Et},{name:"Complex",test:i.Zd},{name:"BigNumber",test:i.C4},{name:"bigint",test:i.sI},{name:"Fraction",test:i.fU},{name:"Unit",test:i.vO},{name:"identifier",test:e=>i.Kg&&/^(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
20D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
200EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDD4A-\uDD65\uDD6F-\uDD85\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE4
200-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDDD0-\uDDED\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])*$/.test(e)},{name:"string",test:i.Kg},{name:"Chain",test:i.o_},{name:"Array",test:i.cy},{name:"Matrix",test:i.OA},{name:"DenseMatrix",test:i.zR},{name:"SparseMatrix",test:i.AF},{name:"Range",test:i._Z},{name:"Index",test:i.nw},{name:"boolean",test:i.Lm},{name:"ResultSet",test:i.eW},{name:"Help",test:i.gS},{name:"function",test:i.Tn},{name:"Date",test:i.$P},{name:"RegExp",test:i.gd},{name:"null",test:i.kZ},{name:"undefined",test:i.b0}
20,{name:"AccessorNode",test:i.AS},{name:"ArrayNode",test:i.gO},{name:"AssignmentNode",test:i.qM},{name:"BlockNode",test:i.CD},{name:"ConditionalNode",test:i.PO},{name:"ConstantNode",test:i.BA},{name:"FunctionNode",test:i.Px},{name:"FunctionAssignmentNode",test:i.m2},{name:"IndexNode",test:i.$I},{name:"Node",test:i.Ll},{name:"ObjectNode",test:i.GJ},{name:"OperatorNode",test:i.$$},{name:"ParenthesisNode",test:i.tv},{name:"RangeNode",test:i.Ye},{name:"RelationalNode",test:i.iu},{name:"SymbolNode",test:i.li},{name:"Map",test:i.jh},{name:"Object",test:i.Gv}]),u.addConversions([{from:"number",to:"BigNumber",convert:function(e){if(t||d(e),(0,a.vm)(e)>15)throw TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+e+"). Use function bignumber(x) to convert to BigNumber.");return new t(e)}},{from:"number",to:"Complex",convert:function(e){return r||c(e),new r(e,0)}},{from:"BigNumber",to:"Complex",convert:function(e){return r||c(e),new r(e.toNumber(),0)}},{from:"bigint",to:"number",convert:function(e){if(e>Number.MAX_SAFE_INTEGER)throw TypeError("Cannot implicitly convert bigint to number: value exceeds the max safe integer value (value: "+e+")");return Number(e)}},{from:"bigint",to:"BigNumber",convert:function(e){return t||d(e),new t(e.toString())}},{from:"bigint",to:"Fraction",convert:function(e){return o||h(e),new o(e)}},{from:"Fraction",to:"BigNumber",convert:function(e){throw TypeError("Cannot implicitly convert a Fraction to BigNumber or vice versa. Use function bignumber(x) to convert to BigNumber or fraction(x) to convert to Fraction.")}},{from:"Fraction",to:"Complex",convert:function(e){return r||c(e),new r(e.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(e){o||h(e);var t=new o(e);if(t.valueOf()!==e)throw TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+e+"). Use function fraction(x) to convert to Fraction.");return t}},{from:"string",to:"number",convert:function(e){var t=Number(e);if(isNaN(t))throw Error('Cannot convert "'+e+'" to a number');return t}},{from:"string",to:"BigNumber",convert:function(e){t||d(e);try{return new t(e)}catch(t){throw Error('Cannot convert "'+e+'" to BigNumber')}}},{from:"string",to:"bigint",convert:function(e){try{return BigInt(e)}catch(t){throw Error('Cannot convert "'+e+'" to BigInt')}}},{from:"string",to:"Fraction",convert:function(e){o||h(e);try{return new o(e)}catch(t){throw Error('Cannot convert "'+e+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(e){r||c(e);try{return new r(e)}catch(t){throw Error('Cannot convert "'+e+'" to Complex')}}},{from:"boolean",to:"number",convert:function(e){return+e}},{from:"boolean",to:"BigNumber",convert:function(e){return t||d(e),new t(+e)}},{from:"boolean",to:"bigint",convert:function(e){return BigInt(+e)}},{from:"boolean",to:"Fraction",convert:function(e){return o||h(e),new o(+e)}},{from:"boolean",to:"string",convert:function(e){return String(e)}},{from:"Array",to:"Matrix",convert:function(e){return n||p(),new n(e)}},{from:"Matrix",to:"Array",convert:function(e){return e.valueOf()}}]),u.onMismatch=(e,t,r)=>{var n=u.createError(e,t,r);if(["wrongType","mismatch"].includes(n.data.category)&&1===t.length&&(0,i.P3)(t[0])&&r.some(e=>!e.params.includes(","))){var o=TypeError("Function '".concat(e,"' doesn't apply to matrices. To call it ")+"elementwise on a matrix 'M', try 'map(M, ".concat(e,")'."));throw o.data=n.data,o}throw n},u.onMismatch=(e,t,r)=>{var n=u.createError(e,t,r);if(["wrongType","mismatch"].includes(n.data.category)&&1===t.length&&(0,i.P3)(t[0])&&r.some(e=>!e.params.includes(","))){var o=TypeError("Function '".concat(e,"' doesn't apply to matrices. To call it ")+"elementwise on a matrix 'M', try 'map(M, ".concat(e,")'."));throw o.data=n.data,o}throw n},u});function d(e){throw Error("Cannot convert value ".concat(e," into a BigNumber: no class 'BigNumber' provided"))}function c(e){throw Error("Cannot convert value ".concat(e," into a Complex number: no class 'Complex' provided"))}function p(){throw Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}function h(e){throw Error("Cannot convert value ".concat(e," into a Fraction, no class 'Fraction' provided."))}},96965:(e,t,r)=>{"use strict";function n(e,t,r,o){if(!(this instanceof n))throw SyntaxError("Constructor must be called with the new operator");this.fn=e,this.count=t,this.min=r,this.max=o,this.message="Wrong number of arguments in function "+e+" ("+t+" provided, "+r+(null!=o?"-"+o:"")+" expected)",this.stack=Error().stack}r.d(t,{X:()=>n}),n.prototype=Error(),n.prototype.constructor=Error,n.prototype.name="ArgumentsError",n.prototype.isArgumentsError=!0},61293:(e,t,r)=>{"use strict";function n(e,t,r){if(!(this instanceof n))throw SyntaxError("Constructor must be called with the new operator");this.actual=e,this.expected=t,this.relation=r,this.message="Dimension mismatch ("+(Array.isArray(e)?"["+e.join(", ")+"]":e)+" "+(this.relation||"!=")+" "+(Array.isArray(t)?"["+t.join(", ")+"]":t)+")",this.stack=Error().stack}r.d(t,{h:()=>n}),n.prototype=RangeError(),n.prototype.constructor=RangeError,n.prototype.name="DimensionError",n.prototype.isDimensionError=!0},90181:(e,t,r)=>{"use strict";function n(e,t,r){if(!(this instanceof n))throw SyntaxError("Constructor must be called with the new operator");this.index=e,arguments.length<3?(this.min=0,this.max=t):(this.min=t,this.max=r),void 0!==this.min&&this.index<this.min?this.message="Index out of range ("+this.index+" < "+this.min+")":void 0!==this.max&&this.index>=this.max?this.message="Index out of range ("+this.index+" > "+(this.max-1)+")":this.message="Index out of range ("+this.index+")",this.stack=Error().stack}r.d(t,{d:()=>n}),n.prototype=RangeError(),n.prototype.constructor=RangeError,n.prototype.name="IndexError",n.prototype.isIndexError=!0},65636:(e,t,r)=>{"use strict";r.d(t,{r:()=>u});var n=r(28246),o=r(33386),i=r(42435),a="abs",s=["typed"],u=(0,n.P9)(a,s,e=>{var{typed:t}=e;return t(a,{number:i.gu,"Complex | BigNumber | Fraction | Unit":e=>e.abs(),bigint:e=>e<0n?-e:e,"Array | Matrix":t.referToSelf(e=>t=>(0,o.Bl)(t,e,!0))})})},80811:(e,t,r)=>{"use strict";r.d(t,{w:()=>s});var n=r(28246),o=r(42435),i="addScalar",a=["typed"],s=(0,n.P9)(i,a,e=>{var{typed:t}=e;return t(i,{"number, number":o.LF,"Complex, Complex":function(e,t){return e.add(t)},"BigNumber, BigNumber":function(e,t){return e.plus(t)},"bigint, bigint":function(e,t){return e+t},"Fraction, Fraction":function(e,t){return e.add(t)},"Unit, Unit":t.referToSelf(e=>(r,n)=>{if(null===r.value||void 0===r.value)throw Error("Parameter x contains a unit with undefined value");if(null===n.value||void 0===n.value)throw Error("Parameter y contains a unit with undefined value");if(!r.equalBase(n))throw Error("Units do not match");var o=r.clone();return o.value=t.find(e,[o.valueType(),n.valueType()])(o.value,n.value),o.fixPrefix=!1,o})})})},53603:(e,t,r)=>{"use strict";r.d(t,{G:()=>l});var n=r(28246),o=r(37853),i=r(53476),a=r(90438),s="divide",u=["typed","matrix","multiply","equalScalar","divideScalar","inv"],l=(0,n.P9)(s,u,e=>{var{typed:t,matrix:r,multiply:n,equalScalar:s,divideScalar:u,inv:l}=e,d=(0,i.A)({typed:t,equalScalar:s}),c=(0,a.A)({typed:t});return t("divide",(0,o.X$)({"Array | Matrix, Array | Matrix":function(e,t){return n(e,l(t))},"DenseMatrix, any":function(e,t){return c(e,t,u,!1)},"SparseMatrix, any":function(e,t){return d(e,t,u,!1)},"Array, any":function(e,t){return c(r(e),t,u,!1).valueOf()},"any, Array | Matrix":function(e,t){return n(e,l(t))}},u.signatures))})},10359:(e,t,r)=>{"use strict";r.d(t,{Q:()=>a});var n=r(28246),o="divideScalar",i=["typed","numeric"],a=(0,n.P9)(o,i,e=>{var{typed:t,numeric:r}=e;return t(o,{"number, number":function(e,t){return e/t},"Complex, Complex":function(e,t){return e.div(t)},"BigNumber, BigNumber":function(e,t){return e.div(t)},"bigint, bigint":function(e,t){return e/t},"Fraction, Fraction":function(e,t){return e.div(t)},"Unit, number | Complex | Fraction | BigNumber | Unit":(e,t)=>e.divide(t),"number | Fraction | Complex | BigNumber, Unit":(e,t)=>t.divideInto(e)})})},83194:(e,t,r)=>{"use strict";r.d(t,{F:()=>d});var n=r(28246),o=r(67406),i=r(82273),a=r(53476),s=r(90438),u="multiply",l=["typed","matrix","addScalar","multiplyScalar","equalScalar","dot"],d=(0,n.P9)(u,l,e=>{var{typed:t,matrix:r,addScalar:n,multiplyScalar:l,equalScalar:d,dot:c}=e,p=(0,a.A)({typed:t,equalScalar:d}),h=(0,s.A)({typed:t});function f(e,t){switch(e.length){case 1:switch(t.length){case 1:if(e[0]!==t[0])throw RangeError("Dimension mismatch in multiplication. Vectors must have the same length");break;case 2:if(e[0]!==t[0])throw RangeError("Dimension mismatch in multiplication. Vector length ("+e[0]+") must match Matrix rows ("+t[0]+")");break;default:throw Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+t.length+" dimensions)")}
vendor: 4,153 bytes, line 20
20break;case 2:switch(t.length){case 1:if(e[1]!==t[0])throw RangeError("Dimension mismatch in multiplication. Matrix columns ("+e[1]+") must match Vector length ("+t[0]+")");break;case 2:if(e[1]!==t[0])throw RangeError("Dimension mismatch in multiplication. Matrix A columns ("+e[1]+") must match Matrix B rows ("+t[0]+")");break;default:throw Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+t.length+" dimensions)")}break;default:throw Error("Can only multiply a 1 or 2 dimensional matrix (Matrix A has "+e.length+" dimensions)")}}function m(e,t,r){if(0===r)throw Error("Cannot multiply two empty vectors");return c(e,t)}function g(e,t){if("dense"!==t.storage())throw Error("Support for SparseMatrix not implemented");return y(e,t)}function y(e,r){var o,i=e._data,a=e._size,s=e._datatype||e.getDataType(),u=r._data,d=r._size,c=r._datatype||r.getDataType(),p=a[0],h=d[1],f=n,m=l;s&&c&&s===c&&"string"==typeof s&&"mixed"!==s&&(o=s,f=t.find(n,[o,o]),m=t.find(l,[o,o]));for(var g=[],y=0;y<h;y++){for(var b=m(i[0],u[0][y]),v=1;v<p;v++)b=f(b,m(i[v],u[v][y]));g[y]=b}return e.createDenseMatrix({data:g,size:[h],datatype:s===e._datatype&&c===r._datatype?o:void 0})}var b=t("_multiplyMatrixVector",{"DenseMatrix, any":S,"SparseMatrix, any":x}),v=t("_multiplyMatrixMatrix",{"DenseMatrix, DenseMatrix":_,"DenseMatrix, SparseMatrix":w,"SparseMatrix, DenseMatrix":T,"SparseMatrix, SparseMatrix":E});function S(e,r){var o,i=e._data,a=e._size,s=e._datatype||e.getDataType(),u=r._data,d=r._datatype||r.getDataType(),c=a[0],p=a[1],h=n,f=l;s&&d&&s===d&&"string"==typeof s&&"mixed"!==s&&(o=s,h=t.find(n,[o,o]),f=t.find(l,[o,o]));for(var m=[],g=0;g<c;g++){for(var y=i[g],b=f(y[0],u[0]),v=1;v<p;v++)b=h(b,f(y[v],u[v]));m[g]=b}return e.createDenseMatrix({data:m,size:[c],datatype:s===e._datatype&&d===r._datatype?o:void 0})}function _(e,r){var o,i=e._data,a=e._size,s=e._datatype||e.getDataType(),u=r._data,d=r._size,c=r._datatype||r.getDataType(),p=a[0],h=a[1],f=d[1],m=n,g=l;s&&c&&s===c&&"string"==typeof s&&"mixed"!==s&&"mixed"!==s&&(o=s,m=t.find(n,[o,o]),g=t.find(l,[o,o]));for(var y=[],b=0;b<p;b++){var v=i[b];y[b]=[];for(var S=0;S<f;S++){for(var _=g(v[0],u[0][S]),w=1;w<h;w++)_=m(_,g(v[w],u[w][S]));y[b][S]=_}}return e.createDenseMatrix({data:y,size:[p,f],datatype:s===e._datatype&&c===r._datatype?o:void 0})}function w(e,r){var o,i=e._data,a=e._size,s=e._datatype||e.getDataType(),u=r._values,c=r._index,p=r._ptr,h=r._size,f=r._datatype||void 0===r._data?r._datatype:r.getDataType();if(!u)throw Error("Cannot multiply Dense Matrix times Pattern only Matrix");var m=a[0],g=h[1],y=n,b=l,v=d,S=0;s&&f&&s===f&&"string"==typeof s&&"mixed"!==s&&(o=s,y=t.find(n,[o,o]),b=t.find(l,[o,o]),v=t.find(d,[o,o]),S=t.convert(0,o));for(var _=[],w=[],x=[],T=r.createSparseMatrix({values:_,index:w,ptr:x,size:[m,g],datatype:s===e._datatype&&f===r._datatype?o:void 0}),E=0;E<g;E++){x[E]=w.length;var P=p[E],k=p[E+1];if(k>P)for(var D=0,A=0;A<m;A++){for(var O=A+1,N=void 0,C=P;C<k;C++){var $=c[C];D!==O?(N=b(i[A][$],u[C]),D=O):N=y(N,b(i[A][$],u[C]))}D!==O||v(N,S)||(w.push(A),_.push(N))}}return x[g]=w.length,T}function x(e,r){var o,i=e._values,a=e._index,s=e._ptr,u=e._datatype||void 0===e._data?e._datatype:e.getDataType();if(!i)throw Error("Cannot multiply Pattern only Matrix times Dense Matrix");var c=r._data,p=r._datatype||r.getDataType(),h=e._size[0],f=r._size[0],m=[],g=[],y=[],b=n,v=l,S=d,_=0;u&&p&&u===p&&"string"==typeof u&&"mixed"!==u&&(o=u,b=t.find(n,[o,o]),v=t.find(l,[o,o]),S=t.find(d,[o,o]),_=t.convert(0,o));var w=[],x=[];y[0]=0;for(var T=0;T<f;T++){var E=c[T];if(!S(E,_))for(var P=s[T],k=s[T+1],D=P;D<k;D++){var A=a[D];x[A]?w[A]=b(w[A],v(E,i[D])):(x[A]=!0,g.push(A),w[A]=v(E,i[D]))}}for(var O=g.length,N=0;N<O;N++){var C=g[N];m[N]=w[C]}return y[1]=g.length,e.createSparseMatrix({values:m,index:g,ptr:y,size:[h,1],datatype:u===e._datatype&&p===r._datatype?o:void 0})}function T(e,r){var o,i=e._values,a=e._index,s=e._ptr,u=e._datatype||void 0===e._data?e._datatype:e.getDataType();if(!i)throw Error("Cannot multiply Pattern only Matrix times Dense Matrix");var c=r._data,p=r._datatype||r.getDataType(),h=e._size[0],f=r._size[0],m=r._size[1],g=n,y=l,b=
20d,v=0;u&&p&&u===p&&"string"==typeof u&&"mixed"!==u&&(o=u,g=t.find(n,[o,o]),y=t.find(l,[o,o]),b=t.find(d,[o,o]),v=t.convert(0,o));for(var S=[],_=[],w=[],x=e.createSparseMatrix({values:S,index:_,ptr:w,size:[h,m],datatype:u===e._datatype&&p===r._datatype?o:void 0}),T=[],E=[],P=0;P<m;P++){w[P]=_.length;for(var k=P+1,D=0;D<f;D++){var A=c[D][P];if(!b(A,v))for(var O=s[D],N=s[D+1],C=O;C<N;C++){var $=a[C];E[$]!==k?(E[$]=k,_.push($),T[$]=y(A,i[C])):T[$]=g(T[$],y(A,i[C]))}}for(var M=w[P],I=_.length,L=M;L<I;L++){var R=_[L];S[L]=T[R]}}return w[m]=_.length,x}function E(e,r){var o,i,a,s,u,d,c,p,h,f=e._values,m=e._index,g=e._ptr,y=e._datatype||void 0===e._data?e._datatype:e.getDataType(),b=r._values,v=r._index,S=r._ptr,_=r._datatype||void 0===r._data?r._datatype:r.getDataType(),w=e._size[0],x=r._size[1],T=f&&b,E=n,P=l;y&&_&&y===_&&"string"==typeof y&&"mixed"!==y&&(o=y,E=t.find(n,[o,o]),P=t.find(l,[o,o]));for(var k=T?[]:void 0,D=[],A=[],O=e.createSparseMatrix({values:k,index:D,ptr:A,size:[w,x],datatype:y===e._datatype&&_===r._datatype?o:void 0}),N=T?[]:void 0,C=[],$=0;$<x;$++){A[$]=D.length;var M=$+1;for(d=S[$],c=S[$+1],u=d;u<c;u++)if(h=v[u],T)for(a=g[h],s=g[h+1],i=a;i<s;i++)C[p=m[i]]!==M?(C[p]=M,D.push(p),N[p]=P(b[u],f[i])):N[p]=E(N[p],P(b[u],f[i]));else for(a=g[h],s=g[h+1],i=a;i<s;i++)C[p=m[i]]!==M&&(C[p]=M,D.push(p));if(T)for(var I=A[$],L=D.length,R=I;R<L;R++){var F=D[R];k[R]=N[F]}}return A[x]=D.length,O}return t(u,l,{"Array, Array":t.referTo("Matrix, Matrix",e=>(t,n)=>{f((0,i.LO)(t),(0,i.LO)(n));var a=e(r(t),r(n));return(0,o.OA)(a)?a.valueOf():a}),"Matrix, Matrix":function(e,t){var r=e.size(),n=t.size();return(f(r,n),1===r.length)?1===n.length?m(e,t,r[0]):g(e,t):1===n.length?b(e,t):v(e,t)},"Matrix, Array":t.referTo("Matrix,Matrix",e=>(t,n)=>e(t,r(n))),"Array, Matrix":t.referToSelf(e=>(t,n)=>e(r(t,n.storage()),n)),"SparseMatrix, any":function(e,t){return p(e,t,l,!1)},"DenseMatrix, any":function(e,t){return h(e,t,l,!1)},"any, SparseMatrix":function(e,t){return p(t,e,l,!0)},"any, DenseMatrix":function(e,t){return h(t,e,l,!0)},"Array, any":function(e,t){return h(r(e),t,l,!1).valueOf()},"any, Array":function(e,t){return h(r(t),e,l,!0).valueOf()},"any, any":l,"any, any, ...any":t.referToSelf(e=>(t,r,n)=>{for(var o=e(t,r),i=0;i<n.length;i++)o=e(o,n[i]);return o})})})},21474:(e,t,r)=>{"use strict";r.d(t,{J:()=>s});var n=r(28246),o=r(42435),i="multiplyScalar",a=["typed"],s=(0,n.P9)(i,a,e=>{var{typed:t}=e;return t("multiplyScalar",{"number, number":o.YD,"Complex, Complex":function(e,t){return e.mul(t)},"BigNumber, BigNumber":function(e,t){return e.times(t)},"bigint, bigint":function(e,t){return e*t},"Fraction, Fraction":function(e,t){return e.mul(t)},"number | Fraction | BigNumber | Complex, Unit":(e,t)=>t.multiply(e),"Unit, number | Fraction | BigNumber | Complex | Unit":(e,t)=>e.multiply(t)})})},57086:(e,t,r)=>{"use strict";r.d(t,{t:()=>p});var n=r(28246),o=r(61869),i=r(64030),a=r(45889),s=r(12466),u=r(10943),l=r(84187),d="subtract",c=["typed","matrix","equalScalar","subtractScalar","unaryMinus","DenseMatrix","concat"],p=(0,n.P9)(d,c,e=>{var{typed:t,matrix:r,equalScalar:n,subtractScalar:c,unaryMinus:p,DenseMatrix:h,concat:f}=e,m=(0,o.Z)({typed:t}),g=(0,i.O)({typed:t}),y=(0,a.H)({typed:t,equalScalar:n}),b=(0,s.A)({typed:t,DenseMatrix:h}),v=(0,u.f)({typed:t,DenseMatrix:h}),S=(0,l.$)({typed:t,matrix:r,concat:f});return t(d,{"any, any":c},S({elop:c,SS:y,DS:m,SD:g,Ss:v,sS:b}))})},91886:(e,t,r)=>{"use strict";r.d(t,{f:()=>s});var n=r(28246),o=r(42435),i="subtractScalar",a=["typed"],s=(0,n.P9)(i,a,e=>{var{typed:t}=e;return t(i,{"number, number":o.Ki,"Complex, Complex":function(e,t){return e.sub(t)},"BigNumber, BigNumber":function(e,t){return e.minus(t)},"bigint, bigint":function(e,t){return e-t},"Fraction, Fraction":function(e,t){return e.sub(t)},"Unit, Unit":t.referToSelf(e=>(r,n)=>{if(null===r.value||void 0===r.value)throw Error("Parameter x contains a unit with undefined value");if(null===n.value||void 0===n.value)throw Error("Parameter y contains a unit with undefined value");if(!r.equalBase(n))throw Error("Units do not match");var o=r.clone();return o.value=t.find(e,[o.valueType(),n.valueType()])(o.value,n.value),o.fixPrefix=!1,o})})})},48187:(e,t,r)=>{"use strict";r.d(t,{e:()=>u});var n=r(28246),o=r(33386),i=r(42435),a="unaryMinus",s=["typed"],u=(0,n.P9)(a,s,e=>{var{typed:t}=e;return t(a,{number:i.zZ,"Complex | BigNumber | Fraction":e=>e.neg(),bigint:e=>-e,Unit:t.referToSelf(e=>r=>{var n=r.clone();return n.value=t.find(e,n.valueType())(r.value),n}),"Array | Matrix":t.referToSelf(e=>t=>(0,o.Bl)(t,e,!0))})})},40580:(e,t,r)=>{"use strict";r.d(t,{x:()=>s});var n=r(28246),o=r(33386),i="conj",a=["typed"],s=(0,n.P9)(i,a,e=>{var{typed:t}=e;return t(i,{"number | BigNumber | Fraction":e=>e,Complex:e=>e.conjugate(),Unit:t.referToSelf(e=>t=>
20new t.constructor(e(t.toNumeric()),t.formatUnits())),"Array | Matrix":t.referToSelf(e=>t=>(0,o.Bl)(t,e))})})},92853:(e,t,r)=>{"use strict";r.d(t,{z:()=>c});var n=r(67406),o=r(37853),i=r(82273),a=r(90181),s=r(61293),u=r(28246),l="concat",d=["typed","matrix","isInteger"],c=(0,u.P9)(l,d,e=>{var{typed:t,matrix:r,isInteger:u}=e;return t(l,{"...Array | Matrix | number | BigNumber":function(e){var t,l,d=e.length,c=-1,p=!1,h=[];for(t=0;t<d;t++){var f=e[t];if((0,n.OA)(f)&&(p=!0),(0,n.Et)(f)||(0,n.C4)(f)){if(t!==d-1)throw Error("Dimension must be specified as last argument");if(l=c,!u(c=f.valueOf()))throw TypeError("Integer number expected for dimension");if(c<0||t>0&&c>l)throw new a.d(c,l+1)}else{var m=(0,o.o8)(f).valueOf(),g=(0,i.LO)(m);if(h[t]=m,l=c,c=g.length-1,t>0&&c!==l)throw new s.h(l+1,c+1)}}if(0===h.length)throw SyntaxError("At least one matrix expected");for(var y=h.shift();h.length;)y=(0,i.xW)(y,h.shift(),c);return p?r(y):y},"...string":function(e){return e.join("")}})})},27280:(e,t,r)=>{"use strict";r.d(t,{k:()=>l});var n=r(67406),o=r(37853),i=r(36332),a=r(28246),s="det",u=["typed","matrix","subtractScalar","multiply","divideScalar","isZero","unaryMinus"],l=(0,a.P9)(s,u,e=>{var{typed:t,matrix:r,subtractScalar:a,multiply:u,divideScalar:l,isZero:d,unaryMinus:c}=e;return t(s,{any:function(e){return(0,o.o8)(e)},"Array | Matrix":function(e){var t;switch((t=(0,n.OA)(e)?e.size():Array.isArray(e)?(e=r(e)).size():[]).length){case 0:return(0,o.o8)(e);case 1:if(1===t[0])return(0,o.o8)(e.valueOf()[0]);if(0===t[0])return 1;throw RangeError("Matrix must be square (size: "+(0,i.GP)(t)+")");case 2:var a=t[0],s=t[1];if(a===s)return p(e.clone().valueOf(),a,s);if(0===s)return 1;throw RangeError("Matrix must be square (size: "+(0,i.GP)(t)+")");default:throw RangeError("Matrix must be two dimensional (size: "+(0,i.GP)(t)+")")}}});function p(e,t,r){if(1===t)return(0,o.o8)(e[0][0]);if(2===t)return a(u(e[0][0],e[1][1]),u(e[1][0],e[0][1]));for(var n=!1,i=Array(t).fill(0).map((e,t)=>t),s=0;s<t;s++){var p=i[s];if(d(e[p][s])){var h=void 0;for(h=s+1;h<t;h++)if(!d(e[i[h]][s])){p=i[h],i[h]=i[s],i[s]=p,n=!n;break}if(h===t)return e[p][s]}for(var f=e[p][s],m=0===s?1:e[i[s-1]][s-1],g=s+1;g<t;g++)for(var y=i[g],b=s+1;b<t;b++)e[y][b]=l(a(u(e[y][b],f),u(e[y][s],e[p][b])),m)}var v=e[i[t-1]][t-1];return n?c(v):v}})},77674:(e,t,r)=>{"use strict";r.d(t,{Y:()=>s});var n=r(28246),o=r(67406),i="dot",a=["typed","addScalar","multiplyScalar","conj","size"],s=(0,n.P9)(i,a,e=>{var{typed:t,addScalar:r,multiplyScalar:n,conj:a,size:s}=e;return t(i,{"Array | DenseMatrix, Array | DenseMatrix":l,"SparseMatrix, SparseMatrix":d});function u(e,t){var r,n,o=c(e),i=c(t);if(1===o.length)r=o[0];else if(2===o.length&&1===o[1])r=o[0];else throw RangeError("Expected a column vector, instead got a matrix of size ("+o.join(", ")+")");if(1===i.length)n=i[0];else if(2===i.length&&1===i[1])n=i[0];else throw RangeError("Expected a column vector, instead got a matrix of size ("+i.join(", ")+")");if(r!==n)throw RangeError("Vectors must have equal length ("+r+" != "+n+")");if(0===r)throw RangeError("Cannot calculate the dot product of empty vectors");return r}function l(e,i){var s=u(e,i),l=(0,o.OA)(e)?e._data:e,d=(0,o.OA)(e)?e._datatype||e.getDataType():void 0,p=(0,o.OA)(i)?i._data:i,h=(0,o.OA)(i)?i._datatype||i.getDataType():void 0,f=2===c(e).length,m=2===c(i).length,g=r,y=n;if(d&&h&&d===h&&"string"==typeof d&&"mixed"!==d){var b=d;g=t.find(r,[b,b]),y=t.find(n,[b,b])}if(!f&&!m){for(var v=y(a(l[0]),p[0]),S=1;S<s;S++)v=g(v,y(a(l[S]),p[S]));return v}if(!f&&m){for(var _=y(a(l[0]),p[0][0]),w=1;w<s;w++)_=g(_,y(a(l[w]),p[w][0]));return _}if(f&&!m){for(var x=y(a(l[0][0]),p[0]),T=1;T<s;T++)x=g(x,y(a(l[T][0]),p[T]));return x}if(f&&m){for(var E=y(a(l[0][0]),p[0][0]),P=1;P<s;P++)E=g(E,y(a(l[P][0]),p[P][0]));return E}}function d(e,t){u(e,t);for(var o=e._index,i=e._values,a=t._index,s=t._values,l=0,d=r,c=n,p=0,h=0;p<o.length&&h<a.length;){var f=o[p],m=a[h];if(f<m){p++;continue}if(f>m){h++;continue}f===m&&(l=d(l,c(i[p],s[h])),p++,h++)}return l}function c(e){return(0,o.OA)(e)?e.size():s(e)}})},5127:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(67406),o=r(82273),i=r(12071),a=r(28246),s="identity",u=["typed","config","matrix","BigNumber","DenseMatrix","SparseMatrix"],l=(0,a.P9)(s,u,e=>
20{var{typed:t,config:r,matrix:a,BigNumber:u,DenseMatrix:l,SparseMatrix:d}=e;return t(s,{"":function(){return"Matrix"===r.matrix?a([]):[]},string:function(e){return a(e)},"number | BigNumber":function(e){return p(e,e,"Matrix"===r.matrix?"dense":void 0)},"number | BigNumber, string":function(e,t){return p(e,e,t)},"number | BigNumber, number | BigNumber":function(e,t){return p(e,t,"Matrix"===r.matrix?"dense":void 0)},"number | BigNumber, number | BigNumber, string":function(e,t,r){return p(e,t,r)},Array:function(e){return c(e)},"Array, string":function(e,t){return c(e,t)},Matrix:function(e){return c(e.valueOf(),e.storage())},"Matrix, string":function(e,t){return c(e.valueOf(),t)}});function c(e,t){switch(e.length){case 0:return t?a(t):[];case 1:return p(e[0],e[0],t);case 2:return p(e[0],e[1],t);default:throw Error("Vector containing two values expected")}}function p(e,t,r){var a=(0,n.C4)(e)||(0,n.C4)(t)?u:null;if((0,n.C4)(e)&&(e=e.toNumber()),(0,n.C4)(t)&&(t=t.toNumber()),!(0,i.YN)(e)||e<1||!(0,i.YN)(t)||t<1)throw Error("Parameters in function identity must be positive integers");var s=a?new u(1):1,c=a?new a(0):0,p=[e,t];if(r){if("sparse"===r)return d.diagonal(p,s,0,c);if("dense"===r)return l.diagonal(p,s,0,c);throw TypeError('Unknown matrix type "'.concat(r,'"'))}for(var h=(0,o.XR)([],p,c),f=e<t?e:t,m=0;m<f;m++)h[m][m]=s;return h}})},38346:(e,t,r)=>{"use strict";r.d(t,{K:()=>l});var n=r(67406),o=r(82273),i=r(28246),a=r(36332),s="inv",u=["typed","matrix","divideScalar","addScalar","multiply","unaryMinus","det","identity","abs"],l=(0,i.P9)(s,u,e=>{var{typed:t,matrix:r,divideScalar:i,addScalar:u,multiply:l,unaryMinus:d,det:c,identity:p,abs:h}=e;return t(s,{"Array | Matrix":function(e){var t=(0,n.OA)(e)?e.size():(0,o.LO)(e);switch(t.length){case 1:if(1===t[0]){if((0,n.OA)(e))return r([i(1,e.valueOf()[0])]);return[i(1,e[0])]}throw RangeError("Matrix must be square (size: "+(0,a.GP)(t)+")");case 2:var s=t[0],u=t[1];if(s===u){if((0,n.OA)(e))return r(f(e.valueOf(),s,u),e.storage());return f(e,s,u)}throw RangeError("Matrix must be square (size: "+(0,a.GP)(t)+")");default:throw RangeError("Matrix must be two dimensional (size: "+(0,a.GP)(t)+")")}},any:function(e){return i(1,e)}});function f(e,t,r){if(1===t){if(0===(s=e[0][0]))throw Error("Cannot calculate inverse, determinant is zero");return[[i(1,s)]]}if(2===t){var n,o,a,s,f,m=c(e);if(0===m)throw Error("Cannot calculate inverse, determinant is zero");return[[i(e[1][1],m),i(d(e[0][1]),m)],[i(d(e[1][0]),m),i(e[0][0],m)]]}var g=e.concat();for(n=0;n<t;n++)g[n]=g[n].concat();for(var y=p(t).valueOf(),b=0;b<r;b++){var v=h(g[b][b]),S=b;for(n=b+1;n<t;)h(g[n][b])>v&&(v=h(g[n][b]),S=n),n++;if(0===v)throw Error("Cannot calculate inverse, determinant is zero");(n=S)!==b&&(f=g[b],g[b]=g[n],g[n]=f,f=y[b],y[b]=y[n],y[n]=f);var _=g[b],w=y[b];for(n=0;n<t;n++){var x=g[n],T=y[n];if(n!==b){if(0!==x[b]){for(a=i(d(x[b]),_[b]),o=b;o<r;o++)x[o]=u(x[o],l(a,_[o]));for(o=0;o<r;o++)T[o]=u(T[o],l(a,w[o]))}}else{for(a=_[b],o=b;o<r;o++)x[o]=i(x[o],a);for(o=0;o<r;o++)T[o]=i(T[o],a)}}}return y}})},20992:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(82273),o=r(28246),i=r(21230),a="size",s=["typed","config","?matrix"],u=(0,o.P9)(a,s,e=>{var{typed:t,config:r,matrix:o}=e;return t(a,{Matrix:function(e){return e.create(e.size(),"number")},Array:n.LO,string:function(e){return"Array"===r.matrix?[e.length]:o([e.length],"dense","number")},"number | Complex | BigNumber | Unit | boolean | null":function(e){return"Array"===r.matrix?[]:o?o([],"dense","number"):(0,i.zc)()}})})},89879:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});var n=(0,r(28246).P9)("compareUnits",["typed"],e=>{var{typed:t}=e;return{"Unit, Unit":t.referToSelf(e=>(r,n)=>{if(!r.equalBase(n))throw Error("Cannot compare units with different base");return t.find(e,[r.valueType(),n.valueType()])(r.value,n.value)})}})},78335:(e,t,r)=>{"use strict";r.d(t,{p:()=>d});var n=r(58979),o=r(12071),i=r(28246);function a(e,t,r,n){return(0,o.q8)(e.re,t.re,r,n)&&(0,o.q8)(e.im,t.im,r,n)}var s=r(89879),u="equalScalar",l=["typed","config"],d=(0,i.P9)(u,l,e=>{var{typed:t,config:r}=e,i=(0,s.D)({typed:t});return t(u,{"boolean, boolean":function(e,t){return e===t},"number, number":function(e,t){return(0,o.q8)(e,t,r.relTol,r.absTol)},"BigNumber, BigNumber":function(e,t){return e.eq(t)||(0,n.q)(e,t,r.relTol,r.absTol)},"bigint, bigint":function(e,t){return e===t},"Fraction, Fraction":function(e,t){return e.equals(t)},"Complex, Complex":function(e,t){return a(e,t,r.relTol,r.absTol)}},i)});(0,i.P9)(u,["typed","config"],e=>{var{typed:t,config:r}=e;return t(u,{"number, number":function(e,t){return(0,o.q8)(e,t,r.relTol,r.absTol)}})})},8979:(e,t,r)=>{"use strict";r.d(t,{r:()=>u});var n=r(33386),o=r(12071),i=r(28246),a="isInteger",s=["typed"],u=(0,i.P9)(a,s,e=>{var{typed:t}=e;return t(a,{number:o.YN,BigNumber:function(e){return e.isInt()},bigint:function(e){return!0},Fraction:function(e){return 1n===e.d},"Array | Matrix":t.referToSelf(e=>t=>(0,n.Bl)(t,e))})})},65615:(e,t,r)=>{"use strict";r.d(t,{L:()=>s});var n=r(33386),o=r(28246),i="isZero",a=["typed","equalScalar"],s=(0,o.P9)(i,a,e=>{var{typed:t,equalScalar:r}=e;return t(i,{"number | BigNumber | Complex | Fraction":e=>r(e,0),bigint:e=>0n===e,Unit:t.referToSelf(e=>r=>t.find(e,r.valueType())(r.value)),"Array | Matrix":t.referToSelf(e=>t=>(0,n.Bl)(t,e))})})},23202:(e,t,r)=>{"use strict";r.d(t,{y:()=>u});var n=r(67406),o=r(28246),i=r(21230),a="numeric",s=["number","?bignumber","?fraction"],u=(0,o.P9)(a,s,e=>{var{number:t,bignumber:r,fraction:o}=e,a={string:!0,number:!0,BigNumber:!0,Fraction:!0},s={number:e=>t(e),BigNumber:r?e=>r(e):i.j9,bigint:e=>BigInt(e),Fraction:o?e=>o(e):i.Sw};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",r=arguments.length>2?arguments[2]:void 0;
20if(void 0!==r)throw SyntaxError("numeric() takes one or two arguments");var o=(0,n.QP)(e);if(!(o in a))throw TypeError("Cannot convert "+e+' of type "'+o+'"; valid input types are '+Object.keys(a).join(", "));if(!(t in s))throw TypeError("Cannot convert "+e+' to type "'+t+'"; valid output types are '+Object.keys(s).join(", "));return t===o?e:s[t](e)}})},42435:(e,t,r)=>{"use strict";r.d(t,{Ki:()=>u,LF:()=>s,Nk:()=>b,Qb:()=>T,Wf:()=>E,YD:()=>l,ZO:()=>c,b7:()=>h,bD:()=>_,dX:()=>w,gn:()=>y,gu:()=>a,l3:()=>m,lq:()=>f,nA:()=>p,qV:()=>g,qc:()=>v,sO:()=>x,wp:()=>S,zZ:()=>d});var n=r(12071),o="number",i="number, number";function a(e){return Math.abs(e)}function s(e,t){return e+t}function u(e,t){return e-t}function l(e,t){return e*t}function d(e){return-e}function c(e){return e}function p(e){return(0,n._n)(e)}function h(e){return e*e*e}function f(e){return Math.exp(e)}function m(e){return(0,n.IY)(e)}function g(e,t){if(!(0,n.YN)(e)||!(0,n.YN)(t))throw Error("Parameters in function lcm must be integer numbers");if(0===e||0===t)return 0;for(var r,o=e*t;0!==t;)t=e%(r=t),e=r;return Math.abs(o/e)}function y(e,t){return t?Math.log(e)/Math.log(t):Math.log(e)}function b(e){return(0,n.YL)(e)}function v(e){return(0,n.p6)(e)}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=t<0;if(r&&(t=-t),0===t)throw Error("Root must be non-zero");if(e<0&&Math.abs(t)%2!=1)throw Error("Root must be odd when a is negative.");if(0===e)return r?1/0:0;if(!isFinite(e))return r?0:e;var n=Math.pow(Math.abs(e),1/t);return n=e<0?-n:n,r?1/n:n}function _(e){return(0,n._S)(e)}function w(e){return e*e}function x(e,t){var r,o,i,a=0,s=1,u=1,l=0;if(!(0,n.YN)(e)||!(0,n.YN)(t))throw Error("Parameters in function xgcd must be integer numbers");for(;t;)o=Math.floor(e/t),i=e-o*t,r=a,a=s-o*a,s=r,r=u,u=l-o*u,l=r,e=t,t=i;return e<0?[-e,-s,-l]:[e,e?s:0,l]}function T(e,t){return e*e<1&&t===1/0||e*e>1&&t===-1/0?0:Math.pow(e,t)}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(0,n.YN)(t)||t<0||t>15)throw Error("Number of decimals in function round must be an integer from 0 to 15 inclusive");return parseFloat((0,n.Mg)(e,t))}a.signature=o,s.signature=i,u.signature=i,l.signature=i,d.signature=o,c.signature=o,p.signature=o,h.signature=o,f.signature=o,m.signature=o,g.signature=i,b.signature=o,v.signature=o,_.signature=o,w.signature=o,x.signature=i,T.signature=i},6276:(e,t,r)=>{"use strict";r.d(t,{g:()=>s});var n=r(74560),o=r(28246),i="BigNumber",a=["?on","config"],s=(0,o.P9)(i,a,e=>{var{on:t,config:r}=e,o=n.A.clone({precision:r.precision,modulo:n.A.EUCLID});return o.prototype=Object.create(o.prototype),o.prototype.type="BigNumber",o.prototype.isBigNumber=!0,o.prototype.toJSON=function(){return{mathjs:"BigNumber",value:this.toString()}},o.fromJSON=function(e){return new o(e.value)},t&&t("config",function(e,t){e.precision!==t.precision&&o.config({precision:e.precision})}),o},{isClass:!0})},2751:(e,t,r)=>{"use strict";r.d(t,{_:()=>s});var n=r(28246),o=r(33386),i="bignumber",a=["typed","BigNumber"],s=(0,n.P9)(i,a,e=>{var{typed:t,BigNumber:r}=e;return t("bignumber",{"":function(){return new r(0)},number:function(e){return new r(e+"")},string:function(e){var t=e.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);if(t){var n=t[2],o=r(t[1]),i=new r(2).pow(Number(n));if(o.gt(i.sub(1)))throw SyntaxError('String "'.concat(e,'" is out of range'));var a=new r(2).pow(Number(n)-1);return o.gte(a)?o.sub(i):o}return new r(e)},BigNumber:function(e){return e},bigint:function(e){return new r(e.toString())},Unit:t.referToSelf(e=>t=>{var r=t.clone();return r.value=e(t.value),r}),Fraction:function(e){return new r(String(e.n)).div(String(e.d)).times(String(e.s))},null:function(e){return new r(0)},"Array | Matrix":t.referToSelf(e=>t=>(0,o.Bl)(t,e))})})},72250:(e,t,r)=>{"use strict";r.d(t,{z:()=>y});let n=Math.cosh||function(e){return 1e-9>Math.abs(e)?1-e:(Math.exp(e)+Math.exp(-e))*.5},o=Math.sinh||function(e){return 1e-9>Math.abs(e)?e:(Math.exp(e)-Math.exp(-e))*.5},i=e=>{let t=Math.sin(.5*e);return -2*t*t},a=function(e,t){return((e=Math.abs(e))<(t=Math.abs(t))&&([e,t]=[t,e]),e<1e8)?Math.sqrt(e*e+t*t):(t/=e,e*Math.sqrt(1+t*t))},s=function(){throw SyntaxError("Invalid Param")};function u(e,t){let r=Math.abs(e),n=Math.abs(t);return 0===e?Math.log(n):0===t?Math.log(r):r<3e3&&n<3e3?.5*Math.log(e*e+t*t):.5*Math.log((e*=.5)*e+(t*=.5)*t)+Math.LN2}let l={re:0,im:0},d=function(e,t){let r=l;if(null==e)r.re=r.im=0;else if(void 0!==t)r.re=e,r.im=t;else switch(typeof e){case"object":if("im"in e&&"re"in e)r.re=e.re,r.im=e.im;else if("abs"in e&&"arg"in e){if(!isFinite(e.abs)&&isFinite(e.arg))return c.INFINITY;r.re=e.abs*Math.cos(e.arg),r.im=e.abs*Math.sin(e.arg)}else if("r"in e&&"phi"in e){if(!isFinite(e.r)&&isFinite(e.phi))return c.INFINITY;r.re=e.r*Math.cos(e.phi),r.im=e.r*Math.sin(e.phi)}else 2===e.length?(r.re=e[0],r.im=e[1]):s();break;case"string":r.im=r.re=0;let n=e.replace(/_/g,"").match(/\d+\.?\d*e[+-]?\d+|\d+\.?\d*|\.\d+|./g),o=1,i=0;null===n&&s();for(let e=0;e<n.length;e++){let t=n[e];" "===t||"	"===t||"\n"===t||("+"===t?o++:"-"===t?i++:("i"===t||"I"===t?(o+i===0&&s()," "===n[e+1]||isNaN(n[e+1])?r.im+=parseFloat((i%2?"-":"")+"1"):(r.im+=parseFloat((i%2?"-":"")+n[e+1]),e++)):((o+i===0||isNaN(t))&&s(),"i"===n[e+1]||"I"===n[e+1]?(r.im+=parseFloat((i%2?"-":"")+t),e++):r.re+=parseFloat((i%2?"-":"")+t)),o=i=0))}o+i>0&&s();break;case"number":r.im=0,r.re=e;break;default:s()}return isNaN(r.re)||isNaN(r.im),r};function c(e,t){if(!(this instanceof c))return new c(e,t);let r=d(e,t);this.re=r.re,this.im=r.im}c.prototype={re:0,im:0,sign:function(){let e=a(this.re,this.im);return new c(this.re/e,this.im/e)},add:function(e,t){let r=d(e,t),n=this.isInfinite(),o=!(isFinite(r.re)&&isFinite(r.im));return n||o?n&&o?c.NAN:c.INFINITY:new c(this.re+r.re,this.im+r.im)},sub:function(e,t){let r=d(e,t),n=this.isInfinite(),o=!(isFinite(r.re)&&isFinite(r.im));return n||o?n&&o?c.NAN:c.INFINITY:new c(this.re-r.re,this.im-r.im)},mul:function(e,t){let r=d(e,t),n=this.isInfinite(),o=!(isFinite(r.re)&&isFinite(r.im)),i=0===this.re&&0===this.im,a=0===r.re&&0===r.im;return n&&a||o&&i?c.NAN:n||o?c.INFINITY:0===r.im&&0===this.im?new c(this.re*r.re,0):new c(this.re*r.re-this.im*r.im,this.re*r.im+this.im*r.re)},div:function(e,t){let r=d(e,t),n=this.isInfinite(),o=!(isFinite(r.re)&&isFinite(r.im)),i=0===this.re&&0===this.im,a=0===r.re&&0===r.im;if(i&&a||n&&o)return c.NAN;if(a||n)return c.INFINITY;if(i||o)return c.ZERO;if(0===r.im)return new c(this.re/r.re,this.im/r.re);if(Math.abs(r.re)<Math.abs(r.im)){let e=r.re/r.im,t=r.re*e+r.im;return new c((this.re*e+this.im)/t,(this.im*e-this.re)/t)}{let e=r.im/r.re,t=r.im*e+r.re;return new c((this.re+this.im*e)/t,(this.im-this.re*e)/t)}},pow:function(e,t){let r=d(e,t),n=0===this.re&&0===this.im;if(0===r.re&&0===r.im)return c.ONE;if(0===r.im){if(0===this.im&&this.re>0)return new c(Math.pow(this.re,r.re),0);if(0===this.re)switch((r.re%4+4)%4){case 0:return new c(Math.pow(this.im,r.re),0);case 1:return new c(0,Math.pow(this.im,r.re));case 2:return new c(-Math.pow(this.im,r.re),0);case 3:return new c(0,-Math.pow(this.im,r.re))}}if(n&&r.re>0)return c.ZERO;let o=Math.atan2(this.im,this.re),i=u(this.re,this.im),a=Math.exp(r.re*i-r.im*o),s=r.im*i+r.re*o;return new c(a*Math.cos(s),a*Math.sin(s))},sqrt:function(){let e=this.re,t=this.im;if(0===t)return e>=0?new c(Math.sqrt(e),0):new c(0,Math.sqrt(-e));let r=Math.sqrt(.5*(a(e,t)+Math.abs(e))),n=Math.abs(t)/(2*r);return e>=0?new c(r,t<0?-n:n):new c(n,t<0?-r:r)},exp:function(){let e=Math.exp(this.re);return 0===this.im?new c(e,0):new c(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){let e=this.re,t=this.im;return new c(Math.expm1(e)*Math.cos(t)+i(t),Math.exp(e)*Math.sin(t))},log:function(){let e=this.re,t=this.im;return 0===t&&e>0?new c(Math.log(e),0):new c(u(e,t),Math.atan2(t,e))},abs:function(){return a(this.re,this.im)},arg:function(){return Math.atan2(this.im,this.re)},sin:function(){let e=this.re,t=this.im;return new c(Math.sin(e)*n(t),Math.cos(e)*o(t))},cos:function(){let e=this.re,t=this.im;return new c(Math.cos(e)*n(t),-Math.sin(e)*o(t))},tan:function(){let e=2*this.re,t=2*this.im,r=Math.cos(e)+n(t);return new c(Math.sin(e)/r,o(t)/r)},cot:function(){let e=2*this.re,t=2*this.im,r=Math.cos(e)-n(t);return new c(-Math.sin(e)/r,o(t)/r)},sec:function(){let e=this.re,t=this.im,r=.5*n(2*t)+.5*Math.cos(2*e);return new c(Math.cos(e)*n(t)/r,Math.sin(e)*o(t)/r)},csc:function(){let e=this.re,t=this.im,r=.5*n(2*t)-.5*Math.cos(2*e);return new c(Math.sin(e)*n(t)/r,-Math.cos(e)*o(t)/r)},asin:function(){let e=this.re,t=this.im,r=new c(t*t-e*e+1,-2*e*t).sqrt(),n=new c(r.re-t,r.im+e).log();return new c(n.im,-n.re)},acos:function(){let e=this.re,t=this.im,r=new c(t*t-e*e+1,-2*e*t).sqrt(),n=new c(r.re-t,r.im+e).log();return new c(Math.PI/2-n.im,n.re)},atan:function(){let e=this.re,t=this.im;if(0===e){if(1===t)return new c(0,1/0);if(-1===t)return new c(0,-1/0)}let r=e*e+(1-t)*(1-t),n=new c((1-t*t-e*e)/r,-2*e/r).log();return new c(-.5*n.im,.5*n.re)},acot:function(){let e=this.re,t=this.im;if(0===t)return new c(Math.atan2(1,e),0);let r=e*e+t*t;return 0!==r?new c(e/r,-t/r).atan():new c(0!==e?e/0:0,0!==t?-t/0:0).atan()},asec:function(){let e=this.re,t=this.im;if(0===e&&0===t)return new c(0,1/0);let r=e*e+t*t;return 0!==r?new c(e/r,-t/r).acos():new c(0!==e?e/0:0,0!==t?-t/0:0).acos()},acsc:function(){let e=this.re,t=this.im;if(0===e&&0===t)return new c(Math.PI/2,1/0);let r=e*e+t*t;return 0!==r?new c(e/r,-t/r).asin():new c(0!==e?e/0:0,0!==t?-t/0:0).asin()},sinh:function(){let e=this.re,t=this.im;return new c(o(e)*Math.cos(t),n(e)*Math.sin(t))},cosh:function(){let e=this.re,t=this.im;return new c(n(e)*Math.cos(t),o(e)*Math.sin(t))},tanh:function(){let e=2*this.re,t=2*this.im,r=n(e)+Math.cos(t);return new c(o(e)/r,Math.sin(t)/r)},coth:function(){let e=2*this.re,t=2*this.im,r=n(e)-Math.cos(t);return new c(o(e)/r,-Math.sin(t)/r)},csch:function(){let e=this.re,t=this.im,r=Math.cos(2*t)-n(2*e);return new c(-2*o(e)*Math.cos(t)/r,2*n(e)*Math.sin(t)/r)},sech:function(){let e=this.re,t=this.im,r=Math.cos(2*t)+n(2*e);return new c(2*n(e)*Math.cos(t)/r,-2*o(e)*Math.sin(t)/r)},asinh:function(){let e=this.re,t=this.im;if(0===t){if(0===e)return new c(0,0);let t=Math.abs(e),r=Math.log(t+Math.sqrt(t*t+1));return new c(e<0?-r:r,0)}let r=new c(e*e-t*t+1,2*e*t).sqrt();return new c(e+r.re,t+r.im).log()},acosh:function(){let e=this.re,t=this.im;if(0===t){if(e>1)return new c(Math.log(e+Math.sqrt(e-1)*Math.sqrt(e+1)),0);if(e<-1){let t=Math.sqrt(e*e-1);return new c(Math.log(-e+t),Math.PI)}return new c(0,Math.acos(e))}let r=new c(e-1,t).sqrt(),n=new c(e+1,t).sqrt();return new c(e+r.re*n.re-r.im*n.im,t+r.re*n.im+r.im*n.re).log()},atanh:function(){let e=this.re,t=this.im;if(0===t)return 0===e?new c(0,0):1===e?new c(1/0,0):-1===e?new c(-1/0,0):-1<e&&e<1?new c(.5*Math.log((1+e)/(1-e)),0):e>1?new c(.5*Math.log((e+1)/(e-1)),-Math.PI/2):new c(.5*Math.log(-((1+e)/(1-e))),Math.PI/2);let r=1-e,n=1+e,o=r*r+t*t;if(0===o)return new c(-1!==e?e/0:0,0!==t?t/0:0);let i=(n*r-t*t)/o,a=(t*r+n*t)/o;return new c(u(i,a)/2,Math.atan2(a,i)/2)},acoth:function(){let e=this.re,t=this.im;if(0===e&&0===t)return new c(0,Math.PI/2);let r=e*e+t*t;return 0!==r?new c(e/r,-t/r).atanh():new c(0!==e?e/0:0,0!==t?-t/0:0).atanh()},acsch:function(){let e=this.re,t=this.im;if(0===t){if(0===e)return new c(1/0,0);let t=1/e;return new c(Math.log(t+Math.sqrt(t*t+1)),0)}let r=e*e+t*t;return 0!==r?new c(e/r,-t/r).asinh():new c(0!==e?e/0:0,0!==t?-t/0:0).asinh()},asech:function(){let e=this.re,t=this.im;if(this.isZero())return c.INFINITY;let r=e*e+t*t;return 0!==r?new c(e/r,-t/r).acosh():new c(0!==e?e/0:0,0!==t?-t/0:0).acosh()},inverse:function(){if(this.isZero())return c.INFINITY;if(this.isInfinite())return c.ZERO;let e=this.re,t=this.im,r=e*e+t*t;return new c(e/r,-t/r)},conjugate:function(){return new c(this.re,-this.im)},neg:function(){return new c(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new c(Math.ceil(this.re*e)/e,Math.
vendor: 1,120 bytes, line 20
20ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new c(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new c(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,t){let r=d(e,t);return Math.abs(r.re-this.re)<=c.EPSILON&&Math.abs(r.im-this.im)<=c.EPSILON},clone:function(){return new c(this.re,this.im)},toString:function(){let e=this.re,t=this.im,r="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(e)<c.EPSILON&&(e=0),Math.abs(t)<c.EPSILON&&(t=0),0===t)?r+e:(0!==e?(r+=e,r+=" ",t<0?(t=-t,r+="-"):r+="+",r+=" "):t<0&&(t=-t,r+="-"),1!==t&&(r+=t),r+"i")},toVector:function(){return[this.re,this.im]},valueOf:function(){return 0===this.im?this.re:null},isNaN:function(){return isNaN(this.re)||isNaN(this.im)},isZero:function(){return 0===this.im&&0===this.re},isFinite:function(){return isFinite(this.re)&&isFinite(this.im)},isInfinite:function(){return!this.isFinite()}},c.ZERO=new c(0,0),c.ONE=new c(1,0),c.I=new c(0,1),c.PI=new c(Math.PI,0),c.E=new c(Math.E,0),c.INFINITY=new c(1/0,1/0),c.NAN=new c(NaN,NaN),c.EPSILON=1e-15;
20var p=r(12071),h=r(67406),f=r(28246),m="Complex",g=[],y=(0,f.P9)(m,g,()=>(Object.defineProperty(c,"name",{value:"Complex"}),c.prototype.constructor=c,c.prototype.type="Complex",c.prototype.isComplex=!0,c.prototype.toJSON=function(){return{mathjs:"Complex",re:this.re,im:this.im}},c.prototype.toPolar=function(){return{r:this.abs(),phi:this.arg()}},c.prototype.format=function(e){var t=this.im,r=this.re,n=(0,p.GP)(this.re,e),o=(0,p.GP)(this.im,e),i=(0,h.Et)(e)?e:e?e.precision:null;if(null!==i){var a=Math.pow(10,-i);Math.abs(r/t)<a&&(r=0),Math.abs(t/r)<a&&(t=0)}return 0===t?n:0===r?1===t?"i":-1===t?"-i":o+"i":t<0?-1===t?n+" - i":n+" - "+o.substring(1)+"i":1===t?n+" + i":n+" + "+o+"i"},c.fromPolar=function(e){switch(arguments.length){case 1:var t=arguments[0];if("object"==typeof t)return c(t);throw TypeError("Input has to be an object with r and phi keys.");case 2:var r=arguments[0],n=arguments[1];if((0,h.Et)(r)){if((0,h.vO)(n)&&n.hasBase("ANGLE")&&(n=n.toNumber("rad")),(0,h.Et)(n))return new c({r,phi:n});throw TypeError("Phi is not a number nor an angle unit.")}throw TypeError("Radius r is not a number.");default:throw SyntaxError("Wrong number of arguments in function fromPolar")}},c.prototype.valueOf=c.prototype.toString,c.fromJSON=function(e){return new c(e)},c.compare=function(e,t){return e.re>t.re?1:e.re<t.re?-1:e.im>t.im?1:e.im<t.im?-1:0},c),{isClass:!0})},55384:(e,t,r)=>{"use strict";r.d(t,{z:()=>D}),"undefined"==typeof BigInt&&(BigInt=function(e){if(isNaN(e))throw Error("");return e});let n=BigInt(0),o=BigInt(1),i=BigInt(2),a=BigInt(3),s=BigInt(5),u=BigInt(10);BigInt(Number.MAX_SAFE_INTEGER);let l=2e3,d={s:o,n:n,d:o};function c(e,t){try{e=BigInt(e)}catch(e){throw x()}return e*t}function p(e){return"bigint"==typeof e?e:Math.floor(e)}function h(e,t){if(t===n)throw w();let r=Object.create(_.prototype);r.s=e<n?-o:o;let i=S(e=e<n?-e:e,t);return r.n=e/i,r.d=t/i,r}let f=[i*i,i,i*i,i,i*i,i*a,i,i*a];function m(e){let t=Object.create(null);if(e<=o)return t[e]=o,t;let r=e=>{t[e]=(t[e]||n)+o};for(;e%i===n;)r(i),e/=i;for(;e%a===n;)r(a),e/=a;for(;e%s===n;)r(s),e/=s;for(let t=0,o=i+s;o*o<=e;){for(;e%o===n;)r(o),e/=o;o+=f[t],t=t+1&7}return e>o&&r(e),t}let g=function(e,t){let r=n,i=o,a=o;if(null==e);else if(void 0!==t){if("bigint"==typeof e)r=e;else if(isNaN(e))throw x();else if(e%1!=0)throw T();else r=BigInt(e);if("bigint"==typeof t)i=t;else if(isNaN(t))throw x();else if(t%1!=0)throw T();else i=BigInt(t);a=r*i}else if("object"==typeof e){if("d"in e&&"n"in e)r=BigInt(e.n),i=BigInt(e.d),"s"in e&&(r*=BigInt(e.s));else if(0 in e)r=BigInt(e[0]),1 in e&&(i=BigInt(e[1]));else if("bigint"==typeof e)r=e;else throw x();a=r*i}else if("number"==typeof e){if(isNaN(e))throw x();if(e<0&&(a=-o,e=-e),e%1==0)r=BigInt(e);else{let t=1,n=0,o=1,a=1,s=1,u=1e7;for(e>=1&&(t=10**Math.floor(1+Math.log10(e)),e/=t);o<=u&&s<=u;){let t=(n+a)/(o+s);if(e===t){o+s<=u?(r=n+a,i=o+s):s>o?(r=a,i=s):(r=n,i=o);break}e>t?(n+=a,o+=s):(a+=n,s+=o),o>u?(r=a,i=s):(r=n,i=o)}r=BigInt(r)*BigInt(t),i=BigInt(i)}}else if("string"==typeof e){let t=0,s=n,l=n,d=n,p=o,h=o,f=e.replace(/_/g,"").match(/\d+|./g);if(null===f)throw x();if("-"===f[t]?(a=-o,t++):"+"===f[t]&&t++,f.length===t+1?l=c(f[t++],a):"."===f[t+1]||"."===f[t]?("."!==f[t]&&(s=c(f[t++],a)),(++t+1===f.length||"("===f[t+1]&&")"===f[t+3]||"'"===f[t+1]&&"'"===f[t+3])&&(l=c(f[t],a),p=u**BigInt(f[t].length),t++),("("===f[t]&&")"===f[t+2]||"'"===f[t]&&"'"===f[t+2])&&(d=c(f[t+1],a),h=u**BigInt(f[t+1].length)-o,t+=3)):"/"===f[t+1]||":"===f[t+1]?(l=c(f[t],a),p=c(f[t+2],o),t+=3):"/"===f[t+3]&&" "===f[t+1]&&(s=c(f[t],a),l=c(f[t+2],a),p=c(f[t+4],o),t+=5),f.length<=t)a=r=d+(i=p*h)*s+h*l;else throw x()}else if("bigint"==typeof e)r=e,a=e,i=o;else throw x();if(i===n)throw w();d.s=a<n?-o:o,d.n=r<n?-r:r,d.d=i<n?-i:i};function y(e,t,r){let i=o;for(;t>n;e=e*e%r,t>>=o)t&o&&(i=i*e%r);return i}function b(e,t){for(;t%i===n;t/=i);for(;t%s===n;t/=s);if(t===o)return n;let r=u%t,a=1;for(;r!==o;a++)if(r=r*u%t,a>l)return n;return BigInt(a)}function v(e,t,r){let n=o,i=y(u,r,t);for(let e=0;e<300;e++){if(n===i)return BigInt(e);n=n*u%t,i=i*u%t}return 0}function S(e,t){if(!e)return t;if(!t)return e;for(;;){if(!(e%=t))return t;if(!(t%=e))return e}}function _(e,t){if(g(e,t),!(this instanceof _))return h(d.s*d.n,d.d);e=S(d.d,d.n),this.s=d.s,this.n=d.n/e,this.d=d.d/e}let w=function(){return Error("Division by Zero")},x=function(){return Error("Invalid argument")},T=function(){return Error("Parameters must be integer")};_.prototype={s:o,n:n,d:o,abs:function(){return h(this.n,this.d)},neg:function(){return h(-this.s*this.n,this.d)},add:function(e,t){return g(e,t),h(this.s*this.n*d.d+d.s*this.d*d.n,this.d*d.d)},sub:function(e,t){return g(e,t),h(this.s*this.n*d.d-d.s*this.d*d.n,this.d*d.d)},mul:function(e,t){return g(e,t),h(this.s*d.s*this.n*d.n,this.d*d.d)},div:function(e,t){return g(e,t),h(this.s*d.s*this.n*d.d,this.d*d.n)},clone:function(){return h(this.s*this.n,this.d)},mod:function(e,t){if(void 0===e)return h(this.s*this.n%this.d,o);if(g(e,t),n===d.n*this.d)throw w();return h(this.s*(d.d*this.n)%(d.n*this.d),d.d*this.d)},gcd:function(e,t){return g(e,t),h(S(d.n,this.n)*S(d.d,this.d),d.d*this.d)},lcm:function(e,t){return(g(e,t),d.n===n&&this.n===n)?h(n,o):h(d.n*this.n,S(d.n,this.n)*S(d.d,this.d))},inverse:function(){return h(this.s*this.d,this.n)},pow:function(e,t){if(g(e,t),d.d===o)return d.s<n?h((this.s*this.d)**d.n,this.n**d.n):h((this.s*this.n)**d.n,this.d**d.n);if(this.s<n)return null;let r=m(this.n),i=m(this.d),a=o,s=o;for(let e in r)if("1"!==e){if("0"===e){a=n;break}if(r[e]*=d.n,r[e]%d.d!==n)return null;r[e]/=d.d,a*=BigInt(e)**r[e]}for(let e in i)if("1"!==e){if(i[e]*=d.n,i[e]%d.d!==n)return null;i[e]/=d.d,s*=BigInt(e)**i[e]}return d.s<n?h(s,a):h(a,s)},log:function(e,t){if(g(e,t),this.s<=n||d.s<=n)return null;let r=Object.create(null),o=m(d.n),i=m(d.d),a=m(this.n),s=m(this.d);for(let e in i)o[e]=(o[e]||n)-i[e];for(let e in s)a[e]=(a[e]||n)-s[e];for(let e in o)"1"!==e&&(r[e]=!0);for(let e in a)"1"!==e&&(r[e]=!0);let u=null,l=null;for(let e in r){let t=o[e]||n,r=a[e]||n;if(t===n){if(r!==n)return null;continue}let i=r,s=t,d=S(i,s);if(i/=d,s/=d,null===u&&null===l)u=i,l=s;else if(i*l!=u*s)return null}return null!==u&&null!==l?h(u,l):null},equals:function(e,t){return g(e,t),this.s*this.n*d.d==d.s*d.n*this.d},lt:function(e,t){return g(e,t),this.s*this.n*d.d<d.s*d.n*this.d},lte:function(e,t){return g(e,t),this.s*this.n*d.d<=d.s*d.n*this.d},gt:function(e,t){return g(e,t),this.s*this.n*d.d>d.s*d.n*this.d},gte:function(e,t){return g(e,t),this.s*this.n*d.d>=d.s*d.n*this.d},compare:function(e,t){g(e,t);let r=this.s*this.n*d.d-d.s*d.n*this.d;return(n<r)-(r<n)},ceil:function(e){return e=u**BigInt(e||0),h(p(this.s*e*this.n/this.d)+(e*this.n%this.d>n&&this.s>=n?o:n),e)},floor:function(e){return e=u**BigInt(e||0),h(p(this.s*e*this.n/this.d)-(e*this.n%this.d>n&&this.s<n?o:n),e)},round:function(e){return e=u**BigInt(e||0),h(p(this.s*e*this.n/this.d)+this.s*((this.s>=n?o:n)+i*(e*this.n%this.d)>this.d?o:n),e)},roundTo:function(e,t){g(e,t);let r=this.n*d.d,n=this.d*d.n,o=r%n,i=p(r/n);return o+o>=n&&i++,h(this.s*i*d.n,d.d)},divisible:function(e,t){return g(e,t),d.n!==n&&this.n*d.d%(d.n*this.d)===n}
20,valueOf:function(){return Number(this.s*this.n)/Number(this.d)},toString:function(e=15){let t=this.n,r=this.d,o=b(t,r),i=v(t,r,o),a=this.s<n?"-":"";if(a+=p(t/r),t%=r,(t*=u)&&(a+="."),o){for(let e=i;e--;)a+=p(t/r),t%=r,t*=u;a+="(";for(let e=o;e--;)a+=p(t/r),t%=r,t*=u;a+=")"}else for(let n=e;t&&n--;)a+=p(t/r),t%=r,t*=u;return a},toFraction:function(e=!1){let t=this.n,r=this.d,i=this.s<n?"-":"";if(r===o)i+=t;else{let o=p(t/r);e&&o>n&&(i+=o,i+=" ",t%=r),i+=t,i+="/",i+=r}return i},toLatex:function(e=!1){let t=this.n,r=this.d,i=this.s<n?"-":"";if(r===o)i+=t;else{let o=p(t/r);e&&o>n&&(i+=o,t%=r),i+="\\frac{",i+=t,i+="}{",i+=r,i+="}"}return i},toContinued:function(){let e=this.n,t=this.d,r=[];for(;t;){r.push(p(e/t));let n=e%t;e=t,t=n}return r},simplify:function(e=.001){let t=BigInt(Math.ceil(1/e)),r=this.abs(),n=r.toContinued();for(let e=1;e<n.length;e++){let i=h(n[e-1],o);for(let t=e-2;t>=0;t--)i=i.inverse().add(n[t]);let a=i.sub(r);if(a.n*t<a.d)return i.mul(this.s)}return this}};var E=r(28246),P="Fraction",k=[],D=(0,E.P9)(P,k,()=>(Object.defineProperty(_,"name",{value:"Fraction"}),_.prototype.constructor=_,_.prototype.type="Fraction",_.prototype.isFraction=!0,_.prototype.toJSON=function(){return{mathjs:"Fraction",n:String(this.s*this.n),d:String(this.d)}},_.fromJSON=function(e){return new _(e)},_),{isClass:!0})},27821:(e,t,r)=>{"use strict";r.d(t,{l:()=>s});var n=r(28246),o=r(33386),i="fraction",a=["typed","Fraction"],s=(0,n.P9)(i,a,e=>{var{typed:t,Fraction:r}=e;return t("fraction",{number:function(e){if(!isFinite(e)||isNaN(e))throw Error(e+" cannot be represented as a fraction");return new r(e)},string:function(e){return new r(e)},"number, number":function(e,t){return new r(e,t)},"bigint, bigint":function(e,t){return new r(e,t)},null:function(e){return new r(0)},BigNumber:function(e){return new r(e.toString())},bigint:function(e){return new r(e.toString())},Fraction:function(e){return e},Unit:t.referToSelf(e=>t=>{var r=t.clone();return r.value=e(t.value),r}),Object:function(e){return new r(e)},"Array | Matrix":t.referToSelf(e=>t=>(0,o.Bl)(t,e))})})},90487:(e,t,r)=>{"use strict";r.d(t,{j:()=>h});var n=r(67406),o=r(82273),i=r(36332),a=r(12071),s=r(37853),u=r(61293),l=r(28246),d=r(21746),c="DenseMatrix",p=["Matrix"],h=(0,l.P9)(c,p,e=>{var{Matrix:t}=e;function r(e,t){if(!(this instanceof r))throw SyntaxError("Constructor must be called with the new operator");if(t&&!(0,n.Kg)(t))throw Error("Invalid datatype: "+t);if((0,n.OA)(e))"DenseMatrix"===e.type?(this._data=(0,s.o8)(e._data),this._size=(0,s.o8)(e._size)):(this._data=e.toArray(),this._size=e.size()),this._datatype=t||e._datatype;else if(e&&(0,n.cy)(e.data)&&(0,n.cy)(e.size))this._data=e.data,this._size=e.size,(0,o.tf)(this._data,this._size),this._datatype=t||e.datatype;else if((0,n.cy)(e))this._data=g(e),this._size=(0,o.LO)(this._data),(0,o.tf)(this._data,this._size),this._datatype=t;else if(e)throw TypeError("Unsupported type of data ("+(0,n.QP)(e)+")");else this._data=[],this._size=[0],this._datatype=t}function l(e,t){if(!(0,n.nw)(t))throw TypeError("Invalid index");if(t.isScalar())return e.get(t.min());var i=t.size();if(i.length!==e._size.length)throw new u.h(i.length,e._size.length);for(var a=t.min(),s=t.max(),l=0,d=e._size.length;l<d;l++)(0,o.r7)(a[l],e._size[l]),(0,o.r7)(s[l],e._size[l]);var p=new r([]),h=c(e._data,t);return p._size=h.size,p._datatype=e._datatype,p._data=h.data,p}function c(e,t){var r=t.size().length-1,n=Array(r);return{data:i(e),size:n};function i(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.dimension(a);return(n[a]=s.size()[0],a<r)?s.map(t=>((0,o.r7)(t,e.length),i(e[t],a+1))).valueOf():s.map(t=>((0,o.r7)(t,e.length),e[t])).valueOf()}}function p(e,t,r,i){if(!t||!0!==t.isIndex)throw TypeError("Invalid index");var a,l=t.size(),d=t.isScalar();if((0,n.OA)(r)?(a=r.size(),r=r.valueOf()):a=(0,o.LO)(r),d){if(0!==a.length)throw TypeError("Scalar expected");e.set(t.min(),r,i)}else{if(!(0,s.QO)(a,l))try{r=0===a.length?(0,o.hO)([r],l):(0,o.hO)(r,l),a=(0,o.LO)(r)}catch(e){}if(l.length<e._size.length)throw new u.h(l.length,e._size.length,"<");if(a.length<l.length){for(var c=0,p=0;1===l[c]&&1===a[c];)c++;for(;1===l[c];)p++,c++;r=(0,o.iD)(r,l.length,p,a)}if(!(0,s.QO)(l,a))throw new u.h(l,a,">");m(e,t.max().map(function(e){return e+1}),i),h(e._data,t,r)}return e}function h(e,t,r){var n=t.size().length-1;function i(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=t.dimension(a);
20a<n?s.forEach((t,n)=>{(0,o.r7)(t,e.length),i(e[t],r[n[0]],a+1)}):s.forEach((t,n)=>{(0,o.r7)(t,e.length),e[t]=r[n[0]]})}i(e,r)}function f(e,t,r){if(0===t.length){for(var i=e._data;(0,n.cy)(i);)i=i[0];return i}return e._size=t.slice(0),e._data=(0,o.XR)(e._data,e._size,r),e}function m(e,t,r){for(var n=e._size.slice(0),o=!1;n.length<t.length;)n.push(0),o=!0;for(var i=0,a=t.length;i<a;i++)t[i]>n[i]&&(n[i]=t[i],o=!0);o&&f(e,n,r)}function g(e){return(0,n.OA)(e)?g(e.valueOf()):(0,n.cy)(e)?e.map(g):e}return r.prototype=new t,r.prototype.createDenseMatrix=function(e,t){return new r(e,t)},Object.defineProperty(r,"name",{value:"DenseMatrix"}),r.prototype.constructor=r,r.prototype.type="DenseMatrix",r.prototype.isDenseMatrix=!0,r.prototype.getDataType=function(){return(0,o.ig)(this._data,n.QP)},r.prototype.storage=function(){return"dense"},r.prototype.datatype=function(){return this._datatype},r.prototype.create=function(e,t){return new r(e,t)},r.prototype.subset=function(e,t,r){switch(arguments.length){case 1:return l(this,e);case 2:case 3:return p(this,e,t,r);default:throw SyntaxError("Wrong number of arguments")}},r.prototype.get=function(e){return(0,o.Jt)(this._data,e)},r.prototype.set=function(e,t,r){if(!(0,n.cy)(e))throw TypeError("Array expected");if(e.length<this._size.length)throw new u.h(e.length,this._size.length,"<");m(this,e.map(function(e){return e+1}),r);var i,a,s,l=this._data;for(i=0,a=e.length-1;i<a;i++)s=e[i],(0,o.r7)(s,l.length),l=l[s];return s=e[e.length-1],(0,o.r7)(s,l.length),l[s]=t,this},r.prototype.resize=function(e,t,r){if(!(0,n.P3)(e))throw TypeError("Array or Matrix expected");var o=e.valueOf().map(e=>Array.isArray(e)&&1===e.length?e[0]:e);return f(r?this.clone():this,o,t)},r.prototype.reshape=function(e,t){var r=t?this.clone():this;r._data=(0,o.tQ)(r._data,e);var n=r._size.reduce((e,t)=>e*t);return r._size=(0,o.cs)(e,n),r},r.prototype.clone=function(){return new r({data:(0,s.o8)(this._data),size:(0,s.o8)(this._size),datatype:this._datatype})},r.prototype.size=function(){return this._size.slice(0)},r.prototype.map=function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this,n=r._size.length-1;if(n<0)return r.clone();var o=(0,d.r)(e,r,"map",t),i=o.fn,a=r.create(void 0,r._datatype);if(a._size=r._size,t||o.isUnary)return a._data=h(r._data),a;if(0===n){for(var s=r.valueOf(),u=Array(s.length),l=0;l<s.length;l++)u[l]=i(s[l],[l],r);return a._data=u,a}var c=[];return a._data=p(r._data),a;function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=Array(e.length);if(t<n)for(var a=0;a<e.length;a++)c[t]=a,o[a]=p(e[a],t+1);else for(var s=0;s<e.length;s++)c[t]=s,o[s]=i(e[s],c.slice(),r);return o}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=Array(e.length);if(t<n)for(var o=0;o<e.length;o++)r[o]=h(e[o],t+1);else for(var a=0;a<e.length;a++)r[a]=i(e[a]);return r}},r.prototype.forEach=function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this,n=r._size.length-1;if(!(n<0)){var o=(0,d.r)(e,r,"map",t),i=o.fn;if(t||o.isUnary){l(r._data);return}if(0===n){for(var a=0;a<r._data.length;a++)i(r._data[a],[a],r);return}var s=[];u(r._data)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t<n)for(var o=0;o<e.length;o++)s[t]=o,u(e[o],t+1);else for(var a=0;a<e.length;a++)s[t]=a,i(e[a],s.slice(),r)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t<n)for(var r=0;r<e.length;r++)l(e[r],t+1);else for(var o=0;o<e.length;o++)i(e[o])}},r.prototype[Symbol.iterator]=function*(){var e=this._size.length-1;if(!(e<0)){if(0===e){for(var t=0;t<this._data.length;t++)yield{value:this._data[t],index:[t]};return}for(var r=Array(e+1).fill(0),n=this._size.reduce((e,t)=>e*t,1),o=0;o<n;o++){for(var i=this._data,a=0;a<e;a++)i=i[r[a]];yield{value:i[r[e]],index:r.slice()};for(var s=e;s>=0&&(r[s]++,!(r[s]<this._size[s]));s--)r[s]=0}}},r.prototype.rows=function(){var e=[];if(2!==this.size().length)throw TypeError("Rows can only be returned for a 2D matrix.");for(var t of this._data)e.push(new r([t],this._datatype));return e},r.prototype.columns=function(){var e=this,t=[],n=this.size();if(2!==n.length)throw TypeError("Rows can only be returned for a 2D matrix.");for(var o=this._data,i=function(n){var i=o.map(e=>[e[n]]);t.push(new r(i,e._datatype))},a=0;a<n[1];a++)i(a);return t},r.prototype.toArray=function(){return(0,s.o8)(this._data)},r.prototype.valueOf=function(){return this._data},r.prototype.format=function(e){return(0,i.GP)(this._data,e)},r.prototype.toString=function(){return(0,i.GP)(this._data)},r.prototype.toJSON=function(){return{mathjs:"DenseMatrix",data:this._data,size:this._size,datatype:this._datatype}},r.prototype.diagonal=function(e){if(e){if((0,n.C4)(e)&&(e=e.toNumber()),!(0,n.Et)(e)||!(0,a.YN)(e))throw TypeError("The parameter k must be an integer number")}else e=0;for(var t=e>0?e:0,o=e<0?-e:0,i=Math.min(this._size[0]-o,this._size[1]-t),s=[],u=0;u<i;u++)s[u]=this._data[u+o][u+t];return new r({data:s,size:[i],datatype:this._datatype})},r.diagonal=function(e,t,i,s){if(!(0,n.cy)(e))throw TypeError("Array expected, size parameter");if(2!==e.length)throw Error("Only two dimensions matrix are supported");if(e=e.map(function(e){if((0,n.C4)(e)&&(e=e.toNumber()),!(0,n.Et)(e)||!(0,a.YN)(e)||e<1)throw Error("Size values must be positive integers");return e}
20),i){if((0,n.C4)(i)&&(i=i.toNumber()),!(0,n.Et)(i)||!(0,a.YN)(i))throw TypeError("The parameter k must be an integer number")}else i=0;var u,l=i>0?i:0,d=i<0?-i:0,c=e[0],p=e[1],h=Math.min(c-d,p-l);if((0,n.cy)(t)){if(t.length!==h)throw Error("Invalid value array length");u=function(e){return t[e]}}else if((0,n.OA)(t)){var f=t.size();if(1!==f.length||f[0]!==h)throw Error("Invalid matrix length");u=function(e){return t.get([e])}}else u=function(){return t};s||(s=(0,n.C4)(u(0))?u(0).mul(0):0);var m=[];if(e.length>0){m=(0,o.XR)(m,e,s);for(var g=0;g<h;g++)m[g+d][g+l]=u(g)}return new r({data:m,size:[c,p]})},r.fromJSON=function(e){return new r(e)},r.prototype.swapRows=function(e,t){if(!(0,n.Et)(e)||!(0,a.YN)(e)||!(0,n.Et)(t)||!(0,a.YN)(t))throw Error("Row index must be positive integers");if(2!==this._size.length)throw Error("Only two dimensional matrix is supported");return(0,o.r7)(e,this._size[0]),(0,o.r7)(t,this._size[0]),r._swapRows(e,t,this._data),this},r._swapRows=function(e,t,r){var n=r[e];r[e]=r[t],r[t]=n},r},{isClass:!0})},26412:(e,t,r)=>{"use strict";r.d(t,{w:()=>a});var n=r(28246),o="Matrix",i=[],a=(0,n.P9)(o,i,()=>{function e(){if(!(this instanceof e))throw SyntaxError("Constructor must be called with the new operator")}return e.prototype.type="Matrix",e.prototype.isMatrix=!0,e.prototype.storage=function(){throw Error("Cannot invoke storage on a Matrix interface")},e.prototype.datatype=function(){throw Error("Cannot invoke datatype on a Matrix interface")},e.prototype.create=function(e,t){throw Error("Cannot invoke create on a Matrix interface")},e.prototype.subset=function(e,t,r){throw Error("Cannot invoke subset on a Matrix interface")},e.prototype.get=function(e){throw Error("Cannot invoke get on a Matrix interface")},e.prototype.set=function(e,t,r){throw Error("Cannot invoke set on a Matrix interface")},e.prototype.resize=function(e,t){throw Error("Cannot invoke resize on a Matrix interface")},e.prototype.reshape=function(e,t){throw Error("Cannot invoke reshape on a Matrix interface")},e.prototype.clone=function(){throw Error("Cannot invoke clone on a Matrix interface")},e.prototype.size=function(){throw Error("Cannot invoke size on a Matrix interface")},e.prototype.map=function(e,t){throw Error("Cannot invoke map on a Matrix interface")},e.prototype.forEach=function(e){throw Error("Cannot invoke forEach on a Matrix interface")},e.prototype[Symbol.iterator]=function(){throw Error("Cannot iterate a Matrix interface")},e.prototype.toArray=function(){throw Error("Cannot invoke toArray on a Matrix interface")},e.prototype.valueOf=function(){throw Error("Cannot invoke valueOf on a Matrix interface")},e.prototype.format=function(e){throw Error("Cannot invoke format on a Matrix interface")},e.prototype.toString=function(){throw Error("Cannot invoke toString on a Matrix interface")},e},{isClass:!0})},85008:(e,t,r)=>{"use strict";r.d(t,{g:()=>h});var n=r(67406),o=r(12071),i=r(36332),a=r(37853),s=r(82273),u=r(28246),l=r(61293),d=r(21746),c="SparseMatrix",p=["typed","equalScalar","Matrix"],h=(0,u.P9)(c,p,e=>{var{typed:t,equalScalar:r,Matrix:u}=e;function c(e,t){if(!(this instanceof c))throw SyntaxError("Constructor must be called with the new operator");if(t&&!(0,n.Kg)(t))throw Error("Invalid datatype: "+t);if((0,n.OA)(e))p(this,e,t);else if(e&&(0,n.cy)(e.index)&&(0,n.cy)(e.ptr)&&(0,n.cy)(e.size))this._values=e.values,this._index=e.index,this._ptr=e.ptr,this._size=e.size,this._datatype=t||e.datatype;else if((0,n.cy)(e))h(this,e,t);else if(e)throw TypeError("Unsupported type of data ("+(0,n.QP)(e)+")");else this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=t}function p(e,t,r){"SparseMatrix"===t.type?(e._values=t._values?(0,a.o8)(t._values):void 0,e._index=(0,a.o8)(t._index),e._ptr=(0,a.o8)(t._ptr),e._size=(0,a.o8)(t._size),e._datatype=r||t._datatype):h(e,t.valueOf(),r||t._datatype)}function h(e,o,i){e._values=[],e._index=[],e._ptr=[],e._datatype=i;var a=o.length,s=0,u=r,l=0;if((0,n.Kg)(i)&&(u=t.find(r,[i,i])||r,l=t.convert(0,i)),a>0){var d=0;do{e._ptr.push(e._index.length);for(var c=0;c<a;c++){var p=o[c];if((0,n.cy)(p)){if(0===d&&s<p.length&&(s=p.length),d<p.length){var h=p[d];u(h,l)||(e._values.push(h),e._index.push(c))}}else 0===d&&s<1&&(s=1),u(p,l)||(e._values.push(p),e._index.push(c))}d++}while(d<s)}e._ptr.push(e._index.length),e._size=[a,s]}function f(e,t){if(!(0,n.nw)(t))throw TypeError("Invalid index");if(t.isScalar())return e.get(t.min());var r,o,i,a,u=t.size();if(u.length!==e._size.length)throw new l.h(u.length,e._size.length);var d=t.min(),p=t.max();for(r=0,o=e._size.length;r<o;r++)(0,s.r7)(d[r],e._size[r]),(0,s.r7)(p[r],e._size[r]);var h=e._values,f=e._index,m=e._ptr,g=t.dimension(0),y=t.dimension(1),b=[],v=[];g.forEach(function(e,t){v[e]=t[0],b[e]=!0});var S=h?[]:void 0,_=[],w=[];
20return y.forEach(function(e){for(w.push(_.length),i=m[e],a=m[e+1];i<a;i++)!0===b[r=f[i]]&&(_.push(v[r]),S&&S.push(h[i]))}),w.push(_.length),new c({values:S,index:_,ptr:w,size:u,datatype:e._datatype})}function m(e,t,r,o){if(!t||!0!==t.isIndex)throw TypeError("Invalid index");var i,u=t.size(),d=t.isScalar();if((0,n.OA)(r)?(i=r.size(),r=r.toArray()):i=(0,s.LO)(r),d){if(0!==i.length)throw TypeError("Scalar expected");e.set(t.min(),r,o)}else{if(1!==u.length&&2!==u.length)throw new l.h(u.length,e._size.length,"<");if(i.length<u.length){for(var c=0,p=0;1===u[c]&&1===i[c];)c++;for(;1===u[c];)p++,c++;r=(0,s.iD)(r,u.length,p,i)}if(!(0,a.QO)(u,i))throw new l.h(u,i,">");if(1===u.length)t.dimension(0).forEach(function(t,n){(0,s.r7)(t),e.set([t,0],r[n[0]],o)});else{var h=t.dimension(0),f=t.dimension(1);h.forEach(function(t,n){(0,s.r7)(t),f.forEach(function(i,a){(0,s.r7)(i),e.set([t,i],r[n[0]][a[0]],o)})})}}return e}function g(e,t,r,n){if(r-t==0)return r;for(var o=t;o<r;o++)if(n[o]===e)return o;return t}function y(e,t,r,n,o){r.splice(e,1),n.splice(e,1);for(var i=t+1;i<o.length;i++)o[i]--}function b(e,t,r,n,o,i,a){o.splice(e,0,n),i.splice(e,0,t);for(var s=r+1;s<a.length;s++)a[s]++}function v(e,o,i,a){var s,u,l,d=a||0,c=r,p=0;(0,n.Kg)(e._datatype)&&(c=t.find(r,[e._datatype,e._datatype])||r,p=t.convert(0,e._datatype),d=t.convert(d,e._datatype));var h=!c(d,p),f=e._size[0],m=e._size[1];if(i>m){for(u=m;u<i;u++)if(e._ptr[u]=e._values.length,h)for(s=0;s<f;s++)e._values.push(d),e._index.push(s);e._ptr[i]=e._values.length}else i<m&&(e._ptr.splice(i+1,m-i),e._values.splice(e._ptr[i],e._values.length),e._index.splice(e._ptr[i],e._index.length));if(m=i,o>f){if(h){var g=0;for(u=0;u<m;u++){e._ptr[u]=e._ptr[u]+g,l=e._ptr[u+1]+g;var y=0;for(s=f;s<o;s++,y++)e._values.splice(l+y,0,d),e._index.splice(l+y,0,s),g++}e._ptr[m]=e._values.length}}else if(o<f){var b=0;for(u=0;u<m;u++){e._ptr[u]=e._ptr[u]-b;var v=e._ptr[u],S=e._ptr[u+1]-b;for(l=v;l<S;l++)(s=e._index[l])>o-1&&(e._values.splice(l,1),e._index.splice(l,1),b++)}e._ptr[u]=e._values.length}return e._size[0]=o,e._size[1]=i,e}function S(e,o,i,a,s,u,l){var d=[],p=[],h=[],f=r,m=0;(0,n.Kg)(e._datatype)&&(f=t.find(r,[e._datatype,e._datatype])||r,m=t.convert(0,e._datatype));for(var g=function(e,t,r){var n=u(e,t,r);f(n,m)||(d.push(n),p.push(t))},y=a;y<=s;y++){h.push(d.length);var b=e._ptr[y],v=e._ptr[y+1];if(l)for(var S=b;S<v;S++){var _=e._index[S];_>=o&&_<=i&&g(e._values[S],_-o,y-a)}else{for(var w={},x=b;x<v;x++)w[e._index[x]]=e._values[x];for(var T=o;T<=i;T++)g(T in w?w[T]:0,T-o,y-a)}}return h.push(d.length),new c({values:d,index:p,ptr:h,size:[i-o+1,s-a+1]})}function _(e,t,r,n,o){var i,s,u=n[0],l=n[1],d=[];for(i=0;i<u;i++)for(s=0,d[i]=[];s<l;s++)d[i][s]=0;for(s=0;s<l;s++)for(var c=r[s],p=r[s+1],h=c;h<p;h++)d[i=t[h]][s]=e?o?(0,a.o8)(e[h]):e[h]:1;return d}return c.prototype=new u,c.prototype.createSparseMatrix=function(e,t){return new c(e,t)},Object.defineProperty(c,"name",{value:"SparseMatrix"}),c.prototype.constructor=c,c.prototype.type="SparseMatrix",c.prototype.isSparseMatrix=!0,c.prototype.getDataType=function(){return(0,s.ig)(this._values,n.QP)},c.prototype.storage=function(){return"sparse"},c.prototype.datatype=function(){return this._datatype},c.prototype.create=function(e,t){return new c(e,t)},c.prototype.density=function(){var e=this._size[0],t=this._size[1];return 0!==e&&0!==t?this._index.length/(e*t):0},c.prototype.subset=function(e,t,r){if(!this._values)throw Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return f(this,e);case 2:case 3:return m(this,e,t,r);default:throw SyntaxError("Wrong number of arguments")}},c.prototype.get=function(e){if(!(0,n.cy)(e))throw TypeError("Array expected");if(e.length!==this._size.length)throw new l.h(e.length,this._size.length);if(!this._values)throw Error("Cannot invoke get on a Pattern only matrix");var t=e[0],r=e[1];(0,s.r7)(t,this._size[0]),(0,s.r7)(r,this._size[1]);var o=g(t,this._ptr[r],this._ptr[r+1],this._index);return o<this._ptr[r+1]&&this._index[o]===t?this._values[o]:0},c.prototype.set=function(e,o,i){if(!(0,n.cy)(e))throw TypeError("Array expected");if(e.length!==this._size.length)throw new l.h(e.length,this._size.length);if(!this._values)throw Error("Cannot invoke set on a Pattern only matrix");var a=e[0],u=e[1],d=this._size[0],c=this._size[1],p=r,h=0;(0,n.Kg)(this._datatype)&&(p=t.find(r,[this._datatype,this._datatype])||r,h=t.convert(0,this._datatype)),(a>d-1||u>c-1)&&(v(this,Math.max(a+1,d),Math.max(u+1,c),i),d=this._size[0],c=this._size[1]),(0,s.r7)(a,d),(0,s.r7)(u,c);var f=g(a,this._ptr[u],this._ptr[u+1],this._index);return f<this._ptr[u+1]&&this._index[f]===a?p(o,h)?y(f,u,this._values,this._index,this._ptr):this._values[f]=o:p(o,h)||b(f,a,u,o,this._values,this._index,this._ptr),this},c.prototype.resize=function(e,t,r){if(!(0,n.P3)(e))throw TypeError("Array or Matrix expected");var a=e.valueOf().map(e=>Array.isArray(e)&&1===e.length?e[0]:e);if(2!==a.length)throw Error("Only two dimensions matrix are supported");return a.forEach(function(e){if(!(0,n.Et)(e)||!(0,o.YN)(e)||e<0)throw TypeError("Invalid size, must contain positive integers (size: "+(0,i.GP)(a)+")")}),v(r?this.clone():this,a[0],a[1],t)},c.prototype.reshape=function(e,t){if(!(0,n.cy)(e))throw TypeError("Array expected");if(2!==e.length)throw Error("Sparse matrices can only be reshaped in two dimensions");e.forEach(function(t){if(!(0,n.Et)(t)||!(0,o.YN)(t)||t<=-2||0===t)throw TypeError("Invalid size, must contain positive integers or -1 (size: "+(0,i.GP)(e)+")")});
20var r=this._size[0]*this._size[1],a=(e=(0,s.cs)(e,r))[0]*e[1];if(r!==a)throw Error("Reshaping sparse matrix will result in the wrong number of elements");var u=t?this.clone():this;if(this._size[0]===e[0]&&this._size[1]===e[1])return u;for(var l=[],d=0;d<u._ptr.length;d++)for(var c=0;c<u._ptr[d+1]-u._ptr[d];c++)l.push(d);for(var p=u._values.slice(),h=u._index.slice(),f=0;f<u._index.length;f++){var m=h[f],y=l[f],v=m*u._size[1]+y;l[f]=v%e[1],h[f]=Math.floor(v/e[1])}u._values.length=0,u._index.length=0,u._ptr.length=e[1]+1,u._size=e.slice();for(var S=0;S<u._ptr.length;S++)u._ptr[S]=0;for(var _=0;_<p.length;_++){var w=h[_],x=l[_],T=p[_];b(g(w,u._ptr[x],u._ptr[x+1],u._index),w,x,T,u._values,u._index,u._ptr)}return u},c.prototype.clone=function(){return new c({values:this._values?(0,a.o8)(this._values):void 0,index:(0,a.o8)(this._index),ptr:(0,a.o8)(this._ptr),size:(0,a.o8)(this._size),datatype:this._datatype})},c.prototype.size=function(){return this._size.slice(0)},c.prototype.map=function(e,t){if(!this._values)throw Error("Cannot invoke map on a Pattern only matrix");var r=this,n=this._size[0],o=this._size[1],i=(0,d.r)(e,r,"map");return S(this,0,n-1,0,o-1,function(e,t,n){return i.fn(e,[t,n],r)},t)},c.prototype.forEach=function(e,t){if(!this._values)throw Error("Cannot invoke forEach on a Pattern only matrix");for(var r=this,n=this._size[0],o=this._size[1],i=(0,d.r)(e,r,"forEach"),a=0;a<o;a++){var s=this._ptr[a],u=this._ptr[a+1];if(t)for(var l=s;l<u;l++){var c=this._index[l];i.fn(this._values[l],[c,a],r)}else{for(var p={},h=s;h<u;h++)p[this._index[h]]=this._values[h];for(var f=0;f<n;f++){var m=f in p?p[f]:0;i.fn(m,[f,a],r)}}}},c.prototype[Symbol.iterator]=function*(){if(!this._values)throw Error("Cannot iterate a Pattern only matrix");for(var e=this._size[1],t=0;t<e;t++)for(var r=this._ptr[t],n=this._ptr[t+1],o=r;o<n;o++){var i=this._index[o];yield{value:this._values[o],index:[i,t]}}},c.prototype.toArray=function(){return _(this._values,this._index,this._ptr,this._size,!0)},c.prototype.valueOf=function(){return _(this._values,this._index,this._ptr,this._size,!1)},c.prototype.format=function(e){for(var t=this._size[0],r=this._size[1],n=this.density(),o="Sparse Matrix ["+(0,i.GP)(t,e)+" x "+(0,i.GP)(r,e)+"] density: "+(0,i.GP)(n,e)+"\
20n",a=0;a<r;a++)for(var s=this._ptr[a],u=this._ptr[a+1],l=s;l<u;l++){var d=this._index[l];o+="\n    ("+(0,i.GP)(d,e)+", "+(0,i.GP)(a,e)+") ==> "+(this._values?(0,i.GP)(this._values[l],e):"X")}return o},c.prototype.toString=function(){return(0,i.GP)(this.toArray())},c.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},c.prototype.diagonal=function(e){if(e){if((0,n.C4)(e)&&(e=e.toNumber()),!(0,n.Et)(e)||!(0,o.YN)(e))throw TypeError("The parameter k must be an integer number")}else e=0;var t=e>0?e:0,r=e<0?-e:0,i=this._size[0],a=this._size[1],s=Math.min(i-r,a-t),u=[],l=[],d=[];d[0]=0;for(var p=t;p<a&&u.length<s;p++)for(var h=this._ptr[p],f=this._ptr[p+1],m=h;m<f;m++){var g=this._index[m];if(g===p-t+r){u.push(this._values[m]),l[u.length-1]=g-r;break}}return d.push(u.length),new c({values:u,index:l,ptr:d,size:[s,1]})},c.fromJSON=function(e){return new c(e)},c.diagonal=function(e,i,a,s,u){if(!(0,n.cy)(e))throw TypeError("Array expected, size parameter");if(2!==e.length)throw Error("Only two dimensions matrix are supported");if(e=e.map(function(e){if((0,n.C4)(e)&&(e=e.toNumber()),!(0,n.Et)(e)||!(0,o.YN)(e)||e<1)throw Error("Size values must be positive integers");return e}),a){if((0,n.C4)(a)&&(a=a.toNumber()),!(0,n.Et)(a)||!(0,o.YN)(a))throw TypeError("The parameter k must be an integer number")}else a=0;var l,d=r,p=0;(0,n.Kg)(u)&&(d=t.find(r,[u,u])||r,p=t.convert(0,u));var h=a>0?a:0,f=a<0?-a:0,m=e[0],g=e[1],y=Math.min(m-f,g-h);if((0,n.cy)(i)){if(i.length!==y)throw Error("Invalid value array length");l=function(e){return i[e]}}else if((0,n.OA)(i)){var b=i.size();if(1!==b.length||b[0]!==y)throw Error("Invalid matrix length");l=function(e){return i.get([e])}}else l=function(){return i};for(var v=[],S=[],_=[],w=0;w<g;w++){_.push(v.length);var x=w-h;if(x>=0&&x<y){var T=l(x);d(T,p)||(S.push(x+f),v.push(T))}}return _.push(v.length),new c({values:v,index:S,ptr:_,size:[m,g]})},c.prototype.swapRows=function(e,t){if(!(0,n.Et)(e)||!(0,o.YN)(e)||!(0,n.Et)(t)||!(0,o.YN)(t))throw Error("Row index must be positive integers");if(2!==this._size.length)throw Error("Only two dimensional matrix is supported");return(0,s.r7)(e,this._size[0]),(0,s.r7)(t,this._size[0]),c._swapRows(e,t,this._size[1],this._values,this._index,this._ptr),this},c._forEachRow=function(e,t,r,n,o){for(var i=n[e],a=n[e+1],s=i;s<a;s++)o(r[s],t[s])},c._swapRows=function(e,t,r,n,o,i){for(var a=0;a<r;a++){var s=i[a],u=i[a+1],l=g(e,s,u,o),d=g(t,s,u,o);if(l<u&&d<u&&o[l]===e&&o[d]===t){if(n){var c=n[l];n[l]=n[d],n[d]=c}continue}if(l<u&&o[l]===e&&(d>=u||o[d]!==t)){var p=n?n[l]:void 0;o.splice(d,0,t),n&&n.splice(d,0,p),o.splice(d<=l?l+1:l,1),n&&n.splice(d<=l?l+1:l,1);continue}if(d<u&&o[d]===t&&(l>=u||o[l]!==e)){var h=n?n[d]:void 0;o.splice(l,0,e),n&&n.splice(l,0,h),o.splice(l<=d?d+1:d,1),n&&n.splice(l<=d?d+1:d,1)}}},c},{isClass:!0})},47145:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});var n=r(28246),o="matrix",i=["typed","Matrix","DenseMatrix","SparseMatrix"],a=(0,n.P9)(o,i,e=>{var{typed:t,Matrix:r,DenseMatrix:n,SparseMatrix:i}=e;return t(o,{"":function(){return a([])},string:function(e){return a([],e)},"string, string":function(e,t){return a([],e,t)},Array:function(e){return a(e)},Matrix:function(e){return a(e,e.storage())},"Array | Matrix, string":a,"Array | Matrix, string, string":a});function a(e,t,r){if("dense"===t||"default"===t||void 0===t)return new n(e,r);if("sparse"===t)return new i(e,r);throw TypeError("Unknown matrix type "+JSON.stringify(t)+".")}})},61869:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(28246),o=r(61293),i="matAlgo01xDSid",a=["typed"],s=(0,n.P9)(i,a,e=>{var{typed:t}=e;return function(e,r,n,i){var a,s,u=e._data,l=e._size,d=e._datatype||e.getDataType(),c=r._values,p=r._index,h=r._ptr,f=r._size,m=r._datatype||void 0===r._data?r._datatype:r.getDataType();if(l.length!==f.length)throw new o.h(l.length,f.length);if(l[0]!==f[0]||l[1]!==f[1])throw RangeError("Dimension mismatch. Matrix A ("+l+") must match Matrix B ("+f+")");if(!c)throw Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var g=l[0],y=l[1],b="string"==typeof d&&"mixed"!==d&&d===m?d:void 0,v=b?t.find(n,[b,b]):n,S=[];for(a=0;a<g;a++)S[a]=[];var _=[],w=[];for(s=0;s<y;s++){for(var x=s+1,T=h[s],E=h[s+1],P=T;P<E;P++)_[a=p[P]]=i?v(c[P],u[a][s]):v(u[a][s],c[P]),w[a]=x;for(a=0;a<g;a++)w[a]===x?S[a][s]=_[a]:S[a][s]=u[a][s]}return e.createDenseMatrix({data:S,size:[g,y],datatype:d===e._datatype&&m===r._datatype?b:void 0})}})},64030:(e,t,r)=>{"use strict";r.d(t,{O:()=>s});var n=r(28246),o=r(61293),i="matAlgo03xDSf",a=["typed"],s=(0,n.P9)(i,a,e=>{var{typed:t}=e;return function(e,r,n,i){var a,s=e._data,u=e._size,l=e._datatype||e.getDataType(),d=r._values,c=r._index,p=r._ptr,h=r._size,f=r._datatype||void 0===r._data?r._datatype:r.getDataType();if(u.length!==h.length)throw new o.h(u.length,h.length);if(u[0]!==h[0]||u[1]!==h[1])throw RangeError("Dimension mismatch. Matrix A ("+u+") must match Matrix B ("+h+")");if(!d)throw Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var m=u[0],g=u[1],y=0,b=n;"string"==typeof l&&l===f&&"mixed"!==l&&(a=l,y=t.convert(0,a),b=t.find(n,[a,a]));for(var v=[],S=0;S<m;S++)v[S]=[];for(var _=[],w=[],x=0;x<g;x++){for(var T=x+1,E=p[x],P=p[x+1],k=E;k<P;k++){var D=c[k];_[D]=i?b(d[k],s[D][x]):b(s[D][x],d[k]),w[D]=T}for(var A=0;A<m;A++)w[A]===T?v[A][x]=_[A]:v[A][x]=i?b(y,s[A][x]):b(s[A][x],y)}return e.createDenseMatrix({data:v,size:[m,g],datatype:l===e._datatype&&f===r._datatype?a:void 0})}})},45889:(e,t,r)=>{"use strict";r.d(t,{H:()=>s});var n=r(28246),o=r(61293),i="matAlgo05xSfSf",a=["typed","equalScalar"],s=(0,n.P9)(i,a,e=>{var{typed:t,equalScalar:r}=e;return function(e,n,i){var a,s,u,l,d,c=e._values,p=e._index,h=e._ptr,f=e._size,m=e._datatype||void 0===e._data?e._datatype:e.getDataType(),g=n._values,y=n._index,b=n._ptr,v=n._size,S=n._datatype||void 0===n._data?n._datatype:n.getDataType();if(f.length!==v.length)throw new o.h(f.length,v.length);if(f[0]!==v[0]||f[1]!==v[1])throw RangeError("Dimension mismatch. Matrix A ("+f+") must match Matrix B ("+v+")");var _=f[0],w=f[1],x=r,T=0,E=i;"string"==typeof m&&m===S&&"mixed"!==m&&(a=m,x=t.find(r,[a,a]),T=t.convert(0,a),E=t.find(i,[a,a]));var P=c&&g?[]:void 0,k=[],D=[],A=P?[]:void 0,O=P?[]:void 0,N=[],C=[];for(u=0;
20u<w;u++){D[u]=k.length;var $=u+1;for(l=h[u],d=h[u+1];l<d;l++)s=p[l],k.push(s),N[s]=$,A&&(A[s]=c[l]);for(l=b[u],d=b[u+1];l<d;l++)N[s=y[l]]!==$&&k.push(s),C[s]=$,O&&(O[s]=g[l]);if(P)for(l=D[u];l<k.length;){var M=N[s=k[l]],I=C[s];if(M===$||I===$){var L=E(M===$?A[s]:T,I===$?O[s]:T);x(L,T)?k.splice(l,1):(P.push(L),l++)}}}return D[w]=k.length,e.createSparseMatrix({values:P,index:k,ptr:D,size:[_,w],datatype:m===e._datatype&&S===n._datatype?a:void 0})}})},12466:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(28246),o="matAlgo10xSids",i=["typed","DenseMatrix"],a=(0,n.P9)(o,i,e=>{var{typed:t,DenseMatrix:r}=e;return function(e,n,o,i){var a,s=e._values,u=e._index,l=e._ptr,d=e._size,c=e._datatype;if(!s)throw Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var p=d[0],h=d[1],f=o;"string"==typeof c&&(a=c,n=t.convert(n,a),f=t.find(o,[a,a]));for(var m=[],g=[],y=[],b=0;b<h;b++){for(var v=b+1,S=l[b],_=l[b+1],w=S;w<_;w++){var x=u[w];g[x]=s[w],y[x]=v}for(var T=0;T<p;T++)0===b&&(m[T]=[]),y[T]===v?m[T][b]=i?f(n,g[T]):f(g[T],n):m[T][b]=n}return new r({data:m,size:[p,h],datatype:a})}})},53476:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(28246),o="matAlgo11xS0s",i=["typed","equalScalar"],a=(0,n.P9)(o,i,e=>{var{typed:t,equalScalar:r}=e;return function(e,n,o,i){var a,s=e._values,u=e._index,l=e._ptr,d=e._size,c=e._datatype;if(!s)throw Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var p=d[0],h=d[1],f=r,m=0,g=o;"string"==typeof c&&(a=c,f=t.find(r,[a,a]),m=t.convert(0,a),n=t.convert(n,a),g=t.find(o,[a,a]));for(var y=[],b=[],v=[],S=0;S<h;S++){v[S]=b.length;for(var _=l[S],w=l[S+1],x=_;x<w;x++){var T=u[x],E=i?g(n,s[x]):g(s[x],n);f(E,m)||(b.push(T),y.push(E))}}return v[h]=b.length,e.createSparseMatrix({values:y,index:b,ptr:v,size:[p,h],datatype:a})}})},10943:(e,t,r)=>{"use strict";r.d(t,{f:()=>a});var n=r(28246),o="matAlgo12xSfs",i=["typed","DenseMatrix"],a=(0,n.P9)(o,i,e=>{var{typed:t,DenseMatrix:r}=e;return function(e,n,o,i){var a,s=e._values,u=e._index,l=e._ptr,d=e._size,c=e._datatype;if(!s)throw Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var p=d[0],h=d[1],f=o;"string"==typeof c&&(a=c,n=t.convert(n,a),f=t.find(o,[a,a]));for(var m=[],g=[],y=[],b=0;b<h;b++){for(var v=b+1,S=l[b],_=l[b+1],w=S;w<_;w++){var x=u[w];g[x]=s[w],y[x]=v}for(var T=0;T<p;T++)0===b&&(m[T]=[]),y[T]===v?m[T][b]=i?f(n,g[T]):f(g[T],n):m[T][b]=i?f(n,0):f(0,n)}return new r({data:m,size:[p,h],datatype:a})}})},21476:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var n=r(28246),o=r(61293),i="matAlgo13xDD",a=["typed"],s=(0,n.P9)(i,a,e=>{var{typed:t}=e;return function(e,n,i){var a,s=e._data,u=e._size,l=e._datatype,d=n._data,c=n._size,p=n._datatype,h=[];if(u.length!==c.length)throw new o.h(u.length,c.length);for(var f=0;f<u.length;f++){if(u[f]!==c[f])throw RangeError("Dimension mismatch. Matrix A ("+u+") must match Matrix B ("+c+")");h[f]=u[f]}var m=i;"string"==typeof l&&l===p&&(a=l,m=t.find(i,[a,a]));var g=h.length>0?r(m,0,h,h[0],s,d):[];return e.createDenseMatrix({data:g,size:h,datatype:a})};function r(e,t,n,o,i,a){var s=[];if(t===n.length-1)for(var u=0;u<o;u++)s[u]=e(i[u],a[u]);else for(var l=0;l<o;l++)s[l]=r(e,t+1,n,n[t+1],i[l],a[l]);return s}})},90438:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(28246),o=r(37853),i="matAlgo14xDs",a=["typed"],s=(0,n.P9)(i,a,e=>{var{typed:t}=e;return function(e,n,i,a){var s,u=e._data,l=e._size,d=e._datatype,c=i;"string"==typeof d&&(s=d,n=t.convert(n,s),c=t.find(i,[s,s]));var p=l.length>0?r(c,0,l,l[0],u,n,a):[];return e.createDenseMatrix({data:p,size:(0,o.o8)(l),datatype:s})};function r(e,t,n,o,i,a,s){var u=[];if(t===n.length-1)for(var l=0;l<o;l++)u[l]=s?e(a,i[l]):e(i[l],a);else for(var d=0;d<o;d++)u[d]=r(e,t+1,n,n[t+1],i[d],a,s);return u}})},84187:(e,t,r)=>{"use strict";r.d(t,{$:()=>p});var n=r(28246),o=r(37853),i=r(21476),a=r(90438),s=r(82273);function u(e,t){if((0,o.QO)(e.size(),t.size()))return[e,t];var r=(0,s.Kx)(e.size(),t.size());return[e,t].map(e=>l(e,r))}function l(e,t){return(0,o.QO)(e.size(),t)?e:e.create((0,s.hO)(e.valueOf(),t),e.datatype())}var d="matrixAlgorithmSuite",c=["typed","matrix"],p=(0,n.P9)(d,c,e=>{var{typed:t,matrix:r}=e,n=(0,i.c)({typed:t}),s=(0,a.A)({typed:t});return function(e){var i,a=e.elop,l=e.SD||e.DS;a?(i={"DenseMatrix, DenseMatrix":(e,t)=>
20n(...u(e,t),a),"Array, Array":(e,t)=>n(...u(r(e),r(t)),a).valueOf(),"Array, DenseMatrix":(e,t)=>n(...u(r(e),t),a),"DenseMatrix, Array":(e,t)=>n(...u(e,r(t)),a)},e.SS&&(i["SparseMatrix, SparseMatrix"]=(t,r)=>e.SS(...u(t,r),a,!1)),e.DS&&(i["DenseMatrix, SparseMatrix"]=(t,r)=>e.DS(...u(t,r),a,!1),i["Array, SparseMatrix"]=(t,n)=>e.DS(...u(r(t),n),a,!1)),l&&(i["SparseMatrix, DenseMatrix"]=(e,t)=>l(...u(t,e),a,!0),i["SparseMatrix, Array"]=(e,t)=>l(...u(r(t),e),a,!0))):(i={"DenseMatrix, DenseMatrix":t.referToSelf(e=>(t,r)=>n(...u(t,r),e)),"Array, Array":t.referToSelf(e=>(t,o)=>n(...u(r(t),r(o)),e).valueOf()),"Array, DenseMatrix":t.referToSelf(e=>(t,o)=>n(...u(r(t),o),e)),"DenseMatrix, Array":t.referToSelf(e=>(t,o)=>n(...u(t,r(o)),e))},e.SS&&(i["SparseMatrix, SparseMatrix"]=t.referToSelf(t=>(r,n)=>e.SS(...u(r,n),t,!1))),e.DS&&(i["DenseMatrix, SparseMatrix"]=t.referToSelf(t=>(r,n)=>e.DS(...u(r,n),t,!1)),i["Array, SparseMatrix"]=t.referToSelf(t=>(n,o)=>e.DS(...u(r(n),o),t,!1))),l&&(i["SparseMatrix, DenseMatrix"]=t.referToSelf(e=>(t,r)=>l(...u(r,t),e,!0)),i["SparseMatrix, Array"]=t.referToSelf(e=>(t,n)=>l(...u(r(n),t),e,!0))));var d=e.scalar||"any";(e.Ds||e.Ss)&&(a?(i["DenseMatrix,"+d]=(e,t)=>s(e,t,a,!1),i[d+", DenseMatrix"]=(e,t)=>s(t,e,a,!0),i["Array,"+d]=(e,t)=>s(r(e),t,a,!1).valueOf(),i[d+", Array"]=(e,t)=>s(r(t),e,a,!0).valueOf()):(i["DenseMatrix,"+d]=t.referToSelf(e=>(t,r)=>s(t,r,e,!1)),i[d+", DenseMatrix"]=t.referToSelf(e=>(t,r)=>s(r,t,e,!0)),i["Array,"+d]=t.referToSelf(e=>(t,n)=>s(r(t),n,e,!1).valueOf()),i[d+", Array"]=t.referToSelf(e=>(t,n)=>s(r(n),t,e,!0).valueOf())));var c=void 0!==e.sS?e.sS:e.Ss;return a?(e.Ss&&(i["SparseMatrix,"+d]=(t,r)=>e.Ss(t,r,a,!1)),c&&(i[d+", SparseMatrix"]=(e,t)=>c(t,e,a,!0))):(e.Ss&&(i["SparseMatrix,"+d]=t.referToSelf(t=>(r,n)=>e.Ss(r,n,t,!1))),c&&(i[d+", SparseMatrix"]=t.referToSelf(e=>(t,r)=>c(r,t,e,!0)))),a&&a.signatures&&(0,o.X$)(i,a.signatures),i}})},19002:(e,t,r)=>{"use strict";r.d(t,{G:()=>l});var n=r(28246),o=r(33386),i="number",a=["typed"];function s(e){var t=e.match(/(0[box])([0-9a-fA-F]*)\.([0-9a-fA-F]*)/);return t?{input:e,radix:({"0b":2,"0o":8,"0x":16})[t[1]],integerPart:t[2],fractionalPart:t[3]}:null}function u(e){for(var t=parseInt(e.integerPart,e.radix),r=0,n=0;n<e.fractionalPart.length;n++)r+=parseInt(e.fractionalPart[n],e.radix)/Math.pow(e.radix,n+1);var o=t+r;if(isNaN(o))throw SyntaxError('String "'+e.input+'" is not a valid number');return o}var l=(0,n.P9)(i,a,e=>{var{typed:t}=e,r=t("number",{"":function(){return 0},number:function(e){return e},string:function(e){if("NaN"===e)return NaN;var t=s(e);if(t)return u(t);var r=0,n=e.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);n&&(r=Number(n[2]),e=n[1]);var o=Number(e);if(isNaN(o))throw SyntaxError('String "'+e+'" is not a valid number');if(n){if(o>2**r-1)throw SyntaxError('String "'.concat(e,'" is out of range'));o>=2**(r-1)&&(o-=2**r)}return o},BigNumber:function(e){return e.toNumber()},bigint:function(e){return Number(e)},Fraction:function(e){return e.valueOf()},Unit:t.referToSelf(e=>t=>{var r=t.clone();return r.value=e(t.value),r}),null:function(e){return 0},"Unit, string | Unit":function(e,t){return e.toNumber(t)},"Array | Matrix":t.referToSelf(e=>t=>(0,o.Bl)(t,e))});return r.fromJSON=function(e){return parseFloat(e.value)},r})},82273:(e,t,r)=>{"use strict";r.d(t,{$p:()=>h,Bl:()=>V,Bq:()=>P,Jt:()=>j,Kx:()=>R,LO:()=>d,Tj:()=>k,Wr:()=>O,XR:()=>g,cs:()=>v,fj:()=>N,hO:()=>B,iD:()=>T,ig:()=>M,jJ:()=>D,ls:()=>C,pb:()=>A,px:()=>$,r2:()=>w,r7:()=>f,tQ:()=>b,tf:()=>p,xL:()=>z,xW:()=>L,yT:()=>m});var n=r(69932),o=r(12071),i=r(67406),a=r(36332),s=r(61293),u=r(90181),l=r(37853);function d(e){for(var t=[];Array.isArray(e);)t.push(e.length),e=e[0];return t}function c(e,t,r){var n,o=e.length;if(o!==t[r])throw new s.h(o,t[r]);if(r<t.length-1){var i=r+1;for(n=0;n<o;n++){if(!Array.isArray(e[n]))throw new s.h(t.length-1,t.length,"<");c(e[n],t,i)}}else for(n=0;n<o;n++)if(Array.isArray(e[n]))throw new s.h(t.length+1,t.length,">")}function p(e,t){if(0===t.length){if(Array.isArray(e))throw new s.h(e.length,0)}else c(e,t,0)}function h(e,t){var r=e.isMatrix?e._size:d(e);t._sourceSize.forEach((e,t)=>{if(null!==e&&e!==r[t])throw new s.h(e,r[t])})}function f(e,t){if(void 0!==e){if(!(0,i.Et)(e)||!(0,o.YN)(e))throw TypeError("Index must be an integer (value: "+e+")");if(e<0||"number"==typeof t&&e>=t)throw new u.d(e,t)}}function m(e){for(var t=0;t<e._dimensions.length;++t){var r=e._dimensions[t];
20if(r._data&&(0,i.cy)(r._data)){if(0===r._size[0])return!0}else if(r.isRange){if(r.start===r.end)return!0}else if((0,i.Kg)(r)&&0===r.length)return!0}return!1}function g(e,t,r){if(!Array.isArray(t))throw TypeError("Array expected");if(0===t.length)throw Error("Resizing to scalar is not supported");return t.forEach(function(e){if(!(0,i.Et)(e)||!(0,o.YN)(e)||e<0)throw TypeError("Invalid size, must contain positive integers (size: "+(0,a.GP)(t)+")")}),((0,i.Et)(e)||(0,i.C4)(e))&&(e=[e]),y(e,t,0,void 0!==r?r:0),e}function y(e,t,r,n){var o,i,a=e.length,s=t[r],u=Math.min(a,s);if(e.length=s,r<t.length-1){var l=r+1;for(o=0;o<u;o++)Array.isArray(i=e[o])||(i=[i],e[o]=i),y(i,t,l,n);for(o=u;o<s;o++)i=[],e[o]=i,y(i,t,l,n)}else{for(o=0;o<u;o++)for(;Array.isArray(e[o]);)e[o]=e[o][0];for(o=u;o<s;o++)e[o]=n}}function b(e,t){var r=P(e,!0),n=r.length;if(!Array.isArray(e)||!Array.isArray(t))throw TypeError("Array expected");if(0===t.length)throw new s.h(0,n,"!=");var o=S(t=v(t,n));if(n!==o)throw new s.h(o,n,"!=");try{return _(r,t)}catch(e){if(e instanceof s.h)throw new s.h(o,n,"!=");throw e}}function v(e,t){var r=S(e),n=e.slice(),o=-1,i=e.indexOf(o);if(e.indexOf(o,i+1)>=0)throw Error("More than one wildcard in sizes");var a=t%r==0;if(i>=0){if(a)n[i]=-t/r;else throw Error("Could not replace wildcard, since "+t+" is no multiple of "+-r)}return n}function S(e){return e.reduce((e,t)=>e*t,1)}function _(e,t){for(var r,n=e,o=t.length-1;o>0;o--){var i=t[o];r=[];for(var a=n.length/i,s=0;s<a;s++)r.push(n.slice(s*i,(s+1)*i));n=r}return n}function w(e,t){for(var r=t||d(e);Array.isArray(e)&&1===e.length;)e=e[0],r.shift();for(var n=r.length;1===r[n-1];)n--;return n<r.length&&(e=x(e,n,0),r.length=n),e}function x(e,t,r){var n,o;if(r<t){var i=r+1;for(n=0,o=e.length;n<o;n++)e[n]=x(e[n],t,i)}else for(;Array.isArray(e);)e=e[0];return e}function T(e,t,r,n){var o=n||d(e);if(r)for(var i=0;i<r;i++)e=[e],o.unshift(1);for(e=E(e,t,0);o.length<t;)o.push(1);return e}function E(e,t,r){var n,o;if(Array.isArray(e)){var i=r+1;for(n=0,o=e.length;n<o;n++)e[n]=E(e[n],t,i)}else for(var a=r;a<t;a++)e=[e];return e}function P(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;if("boolean"!=typeof t)throw TypeError("Boolean expected for second argument of flatten");var r=[];return t?o(e):n(e),r;function n(e){for(var t=0;t<e.length;t++){var o=e[t];Array.isArray(o)?n(o):r.push(o)}}function o(e){if(Array.isArray(e[0]))for(var t=0;t<e.length;t++)o(e[t]);else for(var n=0;n<e.length;n++)r.push(e[n])}}function k(e,t){return Array.prototype.map.call(e,t)}function D(e,t){Array.prototype.forEach.call(e,t)}function A(e,t){if(1!==d(e).length)throw Error("Only one dimensional matrices supported");return Array.prototype.filter.call(e,t)}function O(e,t){if(1!==d(e).length)throw Error("Only one dimensional matrices supported");return Array.prototype.filter.call(e,e=>t.test(e))}function N(e,t){return Array.prototype.join.call(e,t)}function C(e){if(!Array.isArray(e))throw TypeError("Array input expected");if(0===e.length)return e;var t=[],r=0;t[0]={value:e[0],identifier:0};for(var n=1;n<e.length;n++)e[n]===e[n-1]?r++:r=0,t.push({value:e[n],identifier:r});return t}function $(e){if(!Array.isArray(e))throw TypeError("Array input expected");if(0===e.length)return e;for(var t=[],r=0;r<e.length;r++)t.push(e[r].value);return t}function M(e,t){for(var r,n=0,o=0;o<e.length;o++){var i=e[o],a=Array.isArray(i);if(0===o&&a&&(n=i.length),a&&i.length!==n)return;var s=a?M(i,t):t(i);if(void 0===r)r=s;else if(r!==s)return"mixed"}return r}function I(e,t,r,n){if(!(n<r))return e.concat(t);if(e.length!==t.length)throw new s.h(e.length,t.length);for(var o=[],i=0;i<e.length;i++)o[i]=I(e[i],t[i],r,n+1);return o}function L(){var e=Array.prototype.slice.call(arguments,0,-1),t=Array.prototype.slice.call(arguments,-1);if(1===e.length)return e[0];if(e.length>1)return e.slice(1).reduce(function(e,r){return I(e,r,t,0)},e[0]);throw Error("Wrong number of arguments in function concat")}function R(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=t.map(e=>e.length),o=Math.max(...n),i=Array(o).fill(null),a=0;a<t.length;a++)for(var s=t[a],u=n[a],l=0;l<u;l++){var d=o-u+l;s[l]>i[d]&&(i[d]=s[l])}for(var c=0;c<t.length;c++)F(t[c],i);return i}function F(e,t){for(var r=t.length,n=e.length,o=0;o<n;o++){var i=r-n+o;if(e[o]<t[i]&&e[o]>1||e[o]>t[i])throw Error("shape mismatch: mismatch is found in arg with shape (".concat(e,") 
20not possible to broadcast dimension ").concat(n," with size ").concat(e[o]," to size ").concat(t[i]))}}function B(e,t){var r=d(e);if((0,l.QO)(r,t))return e;F(r,t);var n=R(r,t),o=n.length,i=[...Array(o-r.length).fill(1),...r],a=H(e);r.length<o&&(r=d(a=b(a,i)));for(var s=0;s<o;s++)r[s]<n[s]&&(r=d(a=U(a,n[s],s)));return a}function U(e,t,r){return L(...Array(t).fill(e),r)}function j(e,t){if(!Array.isArray(e))throw Error("Array expected");var r=d(e);if(t.length!==r.length)throw new s.h(t.length,r.length);for(var n=0;n<t.length;n++)f(t[n],r[n]);return t.reduce((e,t)=>e[t],e)}function V(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0===e.length)return[];if(r)return i(e);var n=[];return o(e,0);function o(r,i){if(!Array.isArray(r))return t(r,n.slice(0,i),e);for(var a=r.length,s=Array(a),u=0;u<a;u++)n[i]=u,s[u]=o(r[u],i+1);return s}function i(e){if(!Array.isArray(e))return t(e);for(var r=e.length,n=Array(r),o=0;o<r;o++)n[o]=i(e[o]);return n}}function z(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!==e.length){if(r){i(e);return}var n=[];o(e,0)}function o(r,i){if(Array.isArray(r))for(var a=r.length,s=0;s<a;s++)n[i]=s,o(r[s],i+1);else t(r,n.slice(0,i),e)}function i(e){if(Array.isArray(e))for(var r=e.length,n=0;n<r;n++)i(e[n]);else t(e)}}function H(e){return(0,n.A)([],e)}},58979:(e,t,r)=>{"use strict";function n(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e-9,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;
20if(r<=0)throw Error("Relative tolerance must be greater than 0");if(n<0)throw Error("Absolute tolerance must be at least 0");return!(e.isNaN()||t.isNaN())&&(e.isFinite()&&t.isFinite()?!!e.eq(t)||e.minus(t).abs().lte(e.constructor.max(e.constructor.max(e.abs(),t.abs()).mul(r),n)):e.eq(t))}r.d(t,{q:()=>n})},33386:(e,t,r)=>{"use strict";r.d(t,{Bl:()=>l,HL:()=>s,TS:()=>d,Tb:()=>p,xL:()=>u});var n=r(67406),o=r(90181),i=r(82273),a=r(22274);function s(e){for(var t=0;t<e.length;t++)if((0,n.P3)(e[t]))return!0;return!1}function u(e,t){(0,n.OA)(e)?e.forEach(e=>t(e),!1,!0):(0,i.xL)(e,t,!0)}function l(e,t,r){if(!r)return(0,n.OA)(e)?e.map(e=>t(e),!1,!0):(0,i.Bl)(e,t,!0);var o=e=>0===e?e:t(e);return(0,n.OA)(e)?e.map(e=>o(e),!1,!0):(0,i.Bl)(e,o,!0)}function d(e,t,r){var a=Array.isArray(e)?(0,i.LO)(e):e.size();if(t<0||t>=a.length)throw new o.d(t,a.length);return(0,n.OA)(e)?e.create(c(e.valueOf(),t,r),e.datatype()):c(e,t,r)}function c(e,t,r){var n,o,i,s;if(t<=0){if(Array.isArray(e[0])){for(n=0,s=(0,a.U)(e),o=[];n<s.length;n++)o[n]=c(s[n],t-1,r);return o}for(n=1,i=e[0];n<e.length;n++)i=r(i,e[n]);return i}for(n=0,o=[];n<e.length;n++)o[n]=c(e[n],t-1,r);return o}function p(e,t,r,n,o,i,a,s,u,l,d){var c,p,h,f,m=e._values,g=e._index,y=e._ptr;if(n)for(p=y[t],h=y[t+1],c=p;c<h;c++)r[f=g[c]]!==i?(r[f]=i,a.push(f),l?(n[f]=u?s(m[c],d):s(d,m[c]),o[f]=i):n[f]=m[c]):(n[f]=u?s(m[c],n[f]):s(n[f],m[c]),o[f]=i);else for(p=y[t],h=y[t+1],c=p;c<h;c++)r[f=g[c]]!==i?(r[f]=i,a.push(f)):o[f]=i}},84676:(e,t,r)=>{"use strict";r.d(t,{HU:()=>o,Tn:()=>u,dL:()=>i,xk:()=>a,z_:()=>s});var n=r(37853);function o(e,t){if(a(e,t))return e[t];if("function"==typeof e[t]&&u(e,t))throw Error('Cannot access method "'+t+'" as a property');throw Error('No access to property "'+t+'"')}function i(e,t,r){if(a(e,t))return e[t]=r,r;throw Error('No access to property "'+t+'"')}function a(e,t){return!!(l(e)||Array.isArray(e))&&(!!(0,n.mQ)(d,t)||!(t in Object.prototype)&&!(t in Function.prototype))}function s(e,t){if(!u(e,t))throw Error('No access to method "'+t+'"');return e[t]}function u(e,t){return!(null==e||"function"!=typeof e[t]||(0,n.mQ)(e,t)&&Object.getPrototypeOf&&t in Object.getPrototypeOf(e))&&(!!(0,n.mQ)(c,t)||!(t in Object.prototype)&&!(t in Function.prototype))}function l(e){return"object"==typeof e&&e&&e.constructor===Object}var d={length:!0,name:!0},c={toString:!0,valueOf:!0,toLocaleString:!0}},28246:(e,t,r)=>{"use strict";r.d(t,{P9:()=>o,Py:()=>u,T$:()=>i});var n=r(37853);function o(e,t,r,o){function i(o){var i=(0,n.K)(o,t.map(u));return a(e,t,o),r(i)}return i.isFactory=!0,i.fn=e,i.dependencies=t.slice().sort(),o&&(i.meta=o),i}function i(e){return"function"==typeof e&&"string"==typeof e.fn&&Array.isArray(e.dependencies)}function a(e,t,r){if(!t.filter(e=>!s(e)).every(e=>void 0!==r[e])){var n=t.filter(e=>void 0===r[e]);throw Error('Cannot create function "'.concat(e,'", ')+"some dependencies are missing: ".concat(n.map(e=>'"'.concat(e,'"')).join(", "),"."))}}function s(e){return e&&"?"===e[0]}function u(e){return e&&"?"===e[0]?e.slice(1):e}},67406:(e,t,r)=>{"use strict";r.d(t,{$$:()=>V,$I:()=>B,$P:()=>w,AF:()=>m,AS:()=>O,BA:()=>I,C4:()=>i,CD:()=>$,Et:()=>o,GJ:()=>j,Gv:()=>T,Kg:()=>d,Ll:()=>U,Lm:()=>b,OA:()=>p,P3:()=>h,PO:()=>M,Px:()=>F,QP:()=>Y,Tn:()=>_,Ye:()=>H,Zd:()=>s,_Z:()=>g,aZ:()=>P,b0:()=>A,cy:()=>c,eW:()=>v,fU:()=>u,gO:()=>N,gS:()=>S,gd:()=>x,iu:()=>W,jW:()=>L,jh:()=>E,kZ:()=>D,li:()=>G,m2:()=>R,nw:()=>y,o_:()=>q,qM:()=>C,sI:()=>a,tv:()=>z,uQ:()=>k,vO:()=>l,zR:()=>f});var n=r(12242);function o(e){return"number"==typeof e}function i(e){return!!e&&"object"==typeof e&&"function"==typeof e.constructor&&(!0===e.isBigNumber&&"object"==typeof e.constructor.prototype&&!0===e.constructor.prototype.isBigNumber||"function"==typeof e.constructor.isDecimal&&!0===e.constructor.isDecimal(e))}function a(e){return"bigint"==typeof e}function s(e){return e&&"object"==typeof e&&!0===Object.getPrototypeOf(e).isComplex||!1}function u(e){return e&&"object"==typeof e&&!0===Object.getPrototypeOf(e).isFraction||!1}function l(e){return e&&!0===e.constructor.prototype.isUnit||!1}function d(e){return"string"==typeof e}var c=Array.isArray;function p(e){return e&&!0===e.constructor.prototype.isMatrix||!1}function h(e){return Array.isArray(e)||p(e)}function f(e){return e&&e.isDenseMatrix&&!0===e.constructor.prototype.isMatrix||!1}function m(e){return e&&e.isSparseMatrix&&!0===e.constructor.prototype.isMatrix||!1}function g(e){return e&&!0===e.constructor.prototype.isRange||!1}function y(e){return e&&!0===e.constructor.prototype.isIndex||!1}function b(e){return"boolean"==typeof e}function v(e){return e&&!0===e.constructor.prototype.isResultSet||!1}function S(e){return e&&!0===e.constructor.prototype.isHelp||!1}function _(e){return"function"==typeof e}function w(e){return e instanceof Date}function x(e){return e instanceof RegExp}function T(e){return!!(e&&"object"==typeof e&&e.constructor===Object&&!s(e)&&!u(e))}function E(e){return!!e&&(e instanceof Map||e instanceof n.AP||"function"==typeof e.set&&"function"==typeof e.get&&"function"==typeof e.keys&&"function"==typeof e.has)}function P(e){return E(e)&&E(e.a)&&E(e.b)}function k(e){return E(e)&&T(e.wrappedObject)}function D(e){return null===e}function A(e){return void 0===e}function O(e){return e&&!0===e.isAccessorNode&&!0===e.constructor.prototype.isNode||!1}function N(e){return e&&!0===e.isArrayNode&&!0===e.constructor.prototype.isNode||!1}function C(e){return e&&!0===e.isAssignmentNode&&!0===e.constructor.prototype.isNode||!1}function $(e){return e&&!0===e.isBlockNode&&!0===e.constructor.prototype.isNode||!1}function M(e){return e&&!0===e.isConditionalNode&&!0===e.constructor.prototype.isNode||!1}function I(e){return e&&!0===e.isConstantNode&&!0===e.constructor.prototype.isNode||!1}function L(e){return I(e)||V(e)&&1===e.args.length&&I(e.args[0])&&"-+~".includes(e.op)}function R(e){return e&&!0===e.isFunctionAssignmentNode&&!0===e.constructor.prototype.isNode||!1}function F(e){return e&&!0===e.isFunctionNode&&!0===e.constructor.prototype.isNode||!1}function B(e){return e&&!0===e.isIndexNode&&!0===e.constructor.prototype.isNode||!1}function U(e){return e&&!0===e.isNode&&!0===e.constructor.prototype.isNode||!1}function j(e){return e&&!0===e.isObjectNode&&!0===e.constructor.prototype.isNode||!1}function V(e){return e&&!0===e.isOperatorNode&&!0===e.constructor.prototype.isNode||!1}function z(e){return e&&!0===e.isParenthesisNode&&!0===e.constructor.prototype.isNode||!1}function H(e){return e&&!0===e.isRangeNode&&!0===e.constructor.prototype.isNode||!1}function W(e){return e&&!0===e.isRelationalNode&&!0===e.constructor.prototype.isNode||!1}function G(e){return e&&!0===e.isSymbolNode&&!0===e.constructor.prototype.isNode||!1}function q(e){return e&&!0===e.constructor.prototype.isChain||!1}function Y(e){var t=typeof e;return"object"===t?null===e?"null":i(e)?"BigNumber":e.constructor&&e.constructor.name?e.constructor.name:"Object":t}},12242:(e,t,r)=>{"use strict";r.d(t,{A5:()=>u,AP:()=>i,pI:()=>l,vw:()=>d,w6:()=>a});var n=r(84676),o=r(67406);class i{constructor(e){this.wrappedObject=e,this[Symbol.iterator]=this.entries}keys(){return Object.keys(this.wrappedObject).filter(e=>this.has(e)).values()}get(e){return(0,n.HU)(this.wrappedObject,e)}set(e,t){return(0,n.dL)(this.wrappedObject,e,t),this}has(e){return(0,n.xk)(this.wrappedObject,e)&&e in this.wrappedObject}entries(){return s(this.keys(),e=>[e,this.get(e)])}forEach(e){for(var t of this.keys())e(this.get(t),t,this)}delete(e){(0,n.xk)(this.wrappedObject,e)&&delete this.wrappedObject[e]}clear(){for(var e of this.keys())this.delete(e)}get size(){return Object.keys(this.wrappedObject).length}}class a{constructor(e,t,r){this.a=e,this.b=t,this.bKeys=r,this[Symbol.iterator]=this.entries}get(e){return this.bKeys.has(e)?this.b.get(e):this.a.get(e)}set(e,t){return this.bKeys.has(e)?this.b.set(e,t):this.a.set(e,t),this}has(e){return this.b.has(e)||this.a.has(e)}keys(){return new Set([...this.a.keys(),...this.b.keys()])[Symbol.iterator]()}entries(){return s(this.keys(),e=>[e,this.get(e)])}forEach(e){for(var t of this.keys())e(this.get(t),t,this)}delete(e){return this.bKeys.has(e)?this.b.delete(e):this.a.delete(e)}clear(){this.a.clear(),this.b.clear()}get size(){return[...this.keys()].length}}function s(e,t){return{next:()=>{var r=e.next();return r.done?r:{value:t(r.value),done:!1}}}}function u(){return new Map}function l(e){if(!e)return u();if((0,o.jh)(e))return e;if((0,o.Gv)(e))return new i(e);throw Error("createMap can create maps from objects or Maps")}function d(e){if(e instanceof i)return e.wrappedObject;var t={};for(var r of e.keys()){var o=e.get(r);(0,n.dL)(t,r,o)}return t}},21230:(e,t,r)=>{"use strict";function n(){throw Error('No "bignumber" implementation available')}function o(){throw Error('No "fraction" implementation available')}function i(){throw Error('No "matrix" implementation available')}r.d(t,{Sw:()=>o,j9:()=>n,zc:()=>i})},12071:(e,t,r)=>{"use strict";r.d(t,{BC:()=>i,Fq:()=>T,GP:()=>h,IY:()=>c,Kk:()=>l,L0:()=>D,Mg:()=>y,QI:()=>m,YL:()=>u,YN:()=>o,_S:()=>a,_n:()=>d,b1:()=>O,jS:()=>f,p6:()=>s,q8:()=>x,rf:()=>P,vm:()=>w,yH:()=>E,yI:()=>k,ym:()=>A});var n=r(67406);function o(e){return"boolean"==typeof e||!!isFinite(e)&&e===Math.round(e)}function i(e,t){if("bigint"===t.number)try{BigInt(e)}catch(e){return t.numberFallback}return t.number}var a=Math.sign||function(e){return e>0?1:e<0?-1:0},s=Math.log2||function(e){return Math.log(e)/Math.LN2},u=Math.log10||function(e){return Math.log(e)/Math.LN10},l=Math.log1p||function(e){return Math.log(e+1)},d=Math.cbrt||function(e){if(0===e)return e;var t,r=e<0;return r&&(e=-e),isFinite(e)?(t=Math.exp(Math.log(e)/3),t=(e/(t*t)+2*t)/3):t=e,r?-t:t},c=Math.expm1||function(e){return e>=2e-4||e<=-2e-4?Math.exp(e)-1:e+e*e/2+e*e*e/6};function p(e,t,r){var n={2:"0b",8:"0o",16:"0x"}[t],i="";if(r){if(r<1)throw Error("size must be in greater than 0");if(!o(r))throw Error("size must be an integer");if(e>2**(r-1)-1||e<-(2**(r-1)))throw Error("Value must be in range [-2^".concat(r-1,", 2^").
20concat(r-1,"-1]"));if(!o(e))throw Error("Value must be an integer");e<0&&(e+=2**r),i="i".concat(r)}var a="";return e<0&&(e=-e,a="-"),"".concat(a).concat(n).concat(e.toString(t)).concat(i)}function h(e,t){if("function"==typeof t)return t(e);if(e===1/0)return"Infinity";if(e===-1/0)return"-Infinity";if(isNaN(e))return"NaN";var{notation:r,precision:n,wordSize:o}=f(t);switch(r){case"fixed":return y(e,n);case"exponential":return b(e,n);case"engineering":return g(e,n);case"bin":return p(e,2,o);case"oct":return p(e,8,o);case"hex":return p(e,16,o);case"auto":return v(e,n,t).replace(/((\.\d*?)(0+))($|e)/,function(){var e=arguments[2],t=arguments[4];return"."!==e?e+t:t});default:throw Error('Unknown notation "'+r+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function f(e){var t,r,o="auto";if(void 0!==e){if((0,n.Et)(e))t=e;else if((0,n.C4)(e))t=e.toNumber();else if((0,n.Gv)(e))void 0!==e.precision&&(t=N(e.precision,()=>{throw Error('Option "precision" must be a number or BigNumber')})),void 0!==e.wordSize&&(r=N(e.wordSize,()=>{throw Error('Option "wordSize" must be a number or BigNumber')})),e.notation&&(o=e.notation);else throw Error("Unsupported type of options, number, BigNumber, or object expected")}return{notation:o,precision:t,wordSize:r}}function m(e){var t=String(e).toLowerCase().match(/^(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);if(!t)throw SyntaxError("Invalid number "+e);var r=t[1],n=t[2],o=parseFloat(t[4]||"0"),i=n.indexOf(".");o+=-1!==i?i-1:n.length-1;var a=n.replace(".","").replace(/^0*/,function(e){return o-=e.length,""}).replace(/0*$/,"").split("").map(function(e){return parseInt(e)});return 0===a.length&&(a.push(0),o++),{sign:r,coefficients:a,exponent:o}}function g(e,t){if(isNaN(e)||!isFinite(e))return String(e);var r=S(m(e),t),o=r.exponent,i=r.coefficients,a=o%3==0?o:o<0?o-3-o%3:o-o%3;if((0,n.Et)(t))for(;t>i.length||o-a+1>i.length;)i.push(0);else for(var s=Math.abs(o-a)-(i.length-1),u=0;u<s;u++)i.push(0);for(var l=Math.abs(o-a),d=1;l>0;)d++,l--;var c=i.slice(d).join(""),p=(0,n.Et)(t)&&c.length||c.match(/[1-9]/)?"."+c:"",h=i.slice(0,d).join("")+p+"e"+(o>=0?"+":"")+a.toString();return r.sign+h}function y(e,t){if(isNaN(e)||!isFinite(e))return String(e);var r=m(e),n="number"==typeof t?S(r,r.exponent+1+t):r,o=n.coefficients,i=n.exponent+1,a=i+(t||0);return o.length<a&&(o=o.concat(_(a-o.length))),i<0&&(o=_(-i+1).concat(o),i=1),i<o.length&&o.splice(i,0,0===i?"0.":"."),n.sign+o.join("")}function b(e,t){if(isNaN(e)||!isFinite(e))return String(e);var r=m(e),n=t?S(r,t):r,o=n.coefficients,i=n.exponent;o.length<t&&(o=o.concat(_(t-o.length)));var a=o.shift();return n.sign+a+(o.length>0?"."+o.join(""):"")+"e"+(i>=0?"+":"")+i}function v(e,t,r){if(isNaN(e)||!isFinite(e))return String(e);var n=C(null==r?void 0:r.lowerExp,-3),o=C(null==r?void 0:r.upperExp,5),i=m(e),a=t?S(i,t):i;if(a.exponent<n||a.exponent>=o)return b(e,t);var s=a.coefficients,u=a.exponent;s.length<t&&(s=s.concat(_(t-s.length))),s=s.concat(_(u-s.length+1+(s.length<t?t-s.length:0))),s=_(-u).concat(s);var l=u>0?u:0;return l<s.length-1&&s.splice(l+1,0,"."),a.sign+s.join("")}function S(e,t){for(var r={sign:e.sign,coefficients:e.coefficients,exponent:e.exponent},n=r.coefficients;t<=0;)n.unshift(0),r.exponent++,t++;if(n.length>t&&n.splice(t,n.length-t)[0]>=5){var o=t-1;for(n[o]++;10===n[o];)n.pop(),0===o&&(n.unshift(0),r.exponent++,o++),o--,n[o]++}return r}function _(e){for(var t=[],r=0;r<e;r++)t.push(0);return t}function w(e){return e.toExponential().replace(/e.*$/,"").replace(/^0\.?0*|\./,"").length}function x(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e-8,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;
20if(r<=0)throw Error("Relative tolerance must be greater than 0");if(n<0)throw Error("Absolute tolerance must be at least 0");return!(isNaN(e)||isNaN(t))&&(isFinite(e)&&isFinite(t)?e===t||Math.abs(e-t)<=Math.max(r*Math.max(Math.abs(e),Math.abs(t)),n):e===t)}var T=Math.acosh||function(e){return Math.log(Math.sqrt(e*e-1)+e)},E=Math.asinh||function(e){return Math.log(Math.sqrt(e*e+1)+e)},P=Math.atanh||function(e){return Math.log((1+e)/(1-e))/2},k=Math.cosh||function(e){return(Math.exp(e)+Math.exp(-e))/2},D=Math.sinh||function(e){return(Math.exp(e)-Math.exp(-e))/2},A=Math.tanh||function(e){var t=Math.exp(2*e);return(t-1)/(t+1)};function O(e,t){return(e>0||!(e<0)&&1/e==1/0)^(t>0||!(t<0)&&1/t==1/0)?-e:e}function N(e,t){return(0,n.Et)(e)?e:(0,n.C4)(e)?e.toNumber():void t()}function C(e,t){return(0,n.Et)(e)?e:(0,n.C4)(e)?e.toNumber():t}},37853:(e,t,r)=>{"use strict";r.d(t,{K:()=>f,Mx:()=>h,QO:()=>u,RZ:()=>c,X$:()=>a,mQ:()=>p,o8:()=>o,rU:()=>l,zw:()=>s});var n=r(67406);function o(e){var t=typeof e;if("number"===t||"bigint"===t||"string"===t||"boolean"===t||null==e)return e;if("function"==typeof e.clone)return e.clone();if(Array.isArray(e))return e.map(function(e){return o(e)});if(e instanceof Date)return new Date(e.valueOf());if((0,n.C4)(e))return e;if((0,n.Gv)(e))return i(e,o);if("function"===t)return e;throw TypeError("Cannot clone: unknown type of value (value: ".concat(e,")"))}function i(e,t){var r={};for(var n in e)p(e,n)&&(r[n]=t(e[n]));return r}function a(e,t){for(var r in t)p(t,r)&&(e[r]=t[r]);return e}function s(e,t){if(Array.isArray(t))throw TypeError("Arrays are not supported by deepExtend");for(var r in t)if(p(t,r)&&!(r in Object.prototype)&&!(r in Function.prototype)){if(t[r]&&t[r].constructor===Object)void 0===e[r]&&(e[r]={}),e[r]&&e[r].constructor===Object?s(e[r],t[r]):e[r]=t[r];else if(Array.isArray(t[r]))throw TypeError("Arrays are not supported by deepExtend");else e[r]=t[r]}return e}function u(e,t){var r,n,o;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(n=0,o=e.length;n<o;n++)if(!u(e[n],t[n]))return!1;return!0}if("function"==typeof e||!(e instanceof Object))return e===t;if(Array.isArray(t)||!(t instanceof Object))return!1;for(r in e)if(!(r in t)||!u(e[r],t[r]))return!1;for(r in t)if(!(r in e))return!1;return!0}function l(e){var t={};return d(e,t),t}function d(e,t){for(var r in e)if(p(e,r)){var n=e[r];"object"==typeof n&&null!==n?d(n,t):t[r]=n}}function c(e,t,r){var n,o=!0;Object.defineProperty(e,t,{get:function(){return o&&(n=r(),o=!1),n},set:function(e){n=e,o=!1},configurable:!0,enumerable:!0})}function p(e,t){return e&&Object.hasOwnProperty.call(e,t)}function h(e){return e&&"function"==typeof e.factory}function f(e,t){for(var r={},n=0;n<t.length;n++){var o=t[n],i=e[o];void 0!==i&&(r[o]=i)}return r}},21746:(e,t,r)=>{"use strict";r.d(t,{r:()=>a});var n=r(79605),o=r(82273),i=r(67406);function a(e,t,r,i){if(n.isTypedFunction(e)){if(i)a=1;else{var a,c,p=(t.isMatrix?t.size():(0,o.LO)(t)).map(()=>0);a=l(e,t.isMatrix?t.get(p):(0,o.Jt)(t,p),p,t)}if(t.isMatrix&&"mixed"!==t.dataType&&void 0!==t.dataType){var h=s(e,a);c=void 0!==h?h:e}else c=e;return a>=1&&a<=3?{isUnary:1===a,fn:function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return d(c,n.slice(0,a),r,e.name)}}:{isUnary:!1,fn:function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return d(c,n,r,e.name)}}}return void 0===i?{isUnary:u(e),fn:e}:{isUnary:i,fn:e}}function s(e,t){var r=[];if(Object.entries(e.signatures).forEach(e=>{var[n,o]=e;n.split(",").length===t&&r.push(o)}),1===r.length)return r[0]}function u(e){if(1!==e.length)return!1;var t=e.toString();if(/arguments/.test(t))return!1;var r=t.match(/\(.*?\)/);return!/\.\.\./.test(r)}function l(e,t,r,o){for(var i=[t,r,o],a=3;a>0;a--){var s=i.slice(0,a);if(null!==n.resolve(e,s))return a}}function d(e,t,r,n){try{return e(...t)}catch(e){c(e,t,r,n)}}function c(e,t,r,n){var o;if(e instanceof TypeError&&(null===(o=e.data)||void 0===o?void 0:o.category)==="wrongType"){var a=[];throw a.push("value: ".concat((0,i.QP)(t[0]))),t.length>=2&&a.push("index: ".concat((0,i.QP)(t[1]))),t.length>=3&&a.push("array: ".concat((0,i.QP)(t[2]))),TypeError("Function ".concat(r," cannot apply callback arguments ")+"".concat(n,"(").concat(a.join(", "),") at index ").concat(JSON.stringify(t[1])))}throw TypeError("Function ".concat(r," cannot apply callback arguments ")+"to function ".concat(n,": ").concat(e.message))}},36332:(e,t,r)=>{"use strict";r.d(t,{n6:()=>v,d5:()=>c,ih:()=>g,GP:()=>p,As:()=>f});var n=r(67406),o=r(12071);function i(e,t,r){var n=new e.constructor(2),i="";if(r){if(r<1)throw Error("size must be in greater than 0");if(!(0,o.YN)(r))throw Error("size must be an integer");if(e.greaterThan(n.pow(r-1).sub(1))||e.lessThan(n.pow(r-1).mul(-1)))throw Error("Value must be in range [-2^".concat(r-1,", 2^").
20concat(r-1,"-1]"));if(!e.isInteger())throw Error("Value must be an integer");e.lessThan(0)&&(e=e.add(n.pow(r))),i="i".concat(r)}switch(t){case 2:return"".concat(e.toBinary()).concat(i);case 8:return"".concat(e.toOctal()).concat(i);case 16:return"".concat(e.toHexadecimal()).concat(i);default:throw Error("Base ".concat(t," not supported "))}}function a(e,t){if("function"==typeof t)return t(e);if(!e.isFinite())return e.isNaN()?"NaN":e.gt(0)?"Infinity":"-Infinity";var{notation:r,precision:n,wordSize:a}=(0,o.jS)(t);switch(r){case"fixed":return l(e,n);case"exponential":return u(e,n);case"engineering":return s(e,n);case"bin":return i(e,2,a);case"oct":return i(e,8,a);case"hex":return i(e,16,a);case"auto":var c,p=d(null==t?void 0:t.lowerExp,-3),h=d(null==t?void 0:t.upperExp,5);if(e.isZero())return"0";var f=e.toSignificantDigits(n),m=f.e;return(c=m>=p&&m<h?f.toFixed():u(e,n)).replace(/((\.\d*?)(0+))($|e)/,function(){var e=arguments[2],t=arguments[4];return"."!==e?e+t:t});default:throw Error('Unknown notation "'+r+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function s(e,t){var r=e.e,n=r%3==0?r:r<0?r-3-r%3:r-r%3,o=e.mul(Math.pow(10,-n)).toPrecision(t);return o.includes("e")&&(o=new e.constructor(o).toFixed()),o+"e"+(r>=0?"+":"")+n.toString()}function u(e,t){return void 0!==t?e.toExponential(t-1):e.toExponential()}function l(e,t){return e.toFixed(t)}function d(e,t){return(0,n.Et)(e)?e:(0,n.C4)(e)?e.toNumber():t}function c(e,t){var r=e.length-t.length,n=e.length;return e.substring(r,n)===t}function p(e,t){var r=h(e,t);return t&&"object"==typeof t&&"truncate"in t&&r.length>t.truncate?r.substring(0,t.truncate-3)+"...":r}function h(e,t){return"number"==typeof e?(0,o.GP)(e,t):(0,n.C4)(e)?a(e,t):b(e)?t&&"decimal"===t.fraction?e.toString():"".concat(e.s*e.n,"/").concat(e.d):Array.isArray(e)?y(e,t):(0,n.Kg)(e)?f(e):"function"==typeof e?e.syntax?String(e.syntax):"function":e&&"object"==typeof e?"function"==typeof e.format?e.format(t):e&&e.toString(t)!==({}).toString()?e.toString(t):"{"+Object.keys(e).map(r=>f(r)+": "+p(e[r],t)).join(", ")+"}":String(e)}function f(e){for(var t=String(e),r="",n=0;n<t.length;){var o=t.charAt(n);r+=o in m?m[o]:o,n++}return'"'+r+'"'}var m={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","	":"\\t"};function g(e){return String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function y(e,t){if(!Array.isArray(e))return p(e,t);for(var r="[",n=e.length,o=0;o<n;o++)0!==o&&(r+=", "),r+=y(e[o],t);return r+"]"}function b(e){return e&&"object"==typeof e&&"bigint"==typeof e.s&&"bigint"==typeof e.n&&"bigint"==typeof e.d||!1}function v(e,t){if(!(0,n.Kg)(e))throw TypeError("Unexpected type of argument in function compareText (expected: string or Array or Matrix, actual: "+(0,n.QP)(e)+", index: 0)");if(!(0,n.Kg)(t))throw TypeError("Unexpected type of argument in function compareText (expected: string or Array or Matrix, actual: "+(0,n.QP)(t)+", index: 1)");return e===t?0:e>t?1:-1}},22274:(e,t,r)=>{"use strict";function n(e){var t,r,n=e.length,o=e[0].length,i=[];for(r=0;r<o;r++){var a=[];for(t=0;t<n;t++)a.push(e[t][r]);i.push(a)}return i}r.d(t,{U:()=>n})},56969:(e,t,r)=>{"use strict";r.d(t,{Ak:()=>o});let n="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",o=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=n[63&r[e]];return t}},88338:(e,t,r)=>{"use strict";let n;r.d(t,{IC2:()=>iw,ftF:()=>iN,X1T:()=>iA,Ehe:()=>lt,NnD:()=>lr,IGQ:()=>iO,qi5:()=>dl,mms:()=>dE,xgu:()=>lw,McH:()=>u6,Xqp:()=>ah,yoN:()=>lM,wHN:()=>u8,pQN:()=>o6,_T1:()=>uo,KD3:()=>ig,XDe:()=>iR,m11:()=>ul,$a9:()=>s7,pZ$:()=>s1,yzc:()=>aL,GJc:()=>aI,yoM:()=>uv,TEX:()=>um,dtc:()=>le,wRZ:()=>iu,rxg:()=>aF,C0q:()=>i1,abN:()=>ls,con:()=>os,oyl:()=>ou,BcC:()=>iD,uwq:()=>oi,giP:()=>oo,L6K:()=>oA,JnU:()=>uh,NlR:()=>up,sZJ:()=>i3,kl:()=>i4,sP_:()=>nq,Gwb:()=>oP,kTB:()=>n4,LZi:()=>uD,$qw:()=>of,QJk:()=>iy,t20:()=>op,w_$:()=>n3,eWr:()=>iT,r3M:()=>ik,hJy:()=>n6,_IG:()=>o_,DNO:()=>a6,Ayp:()=>nY,AED:()=>oD,SgX:()=>ix,Y2S:()=>iI,Ird:()=>lh,P9k:()=>lp,ipd:()=>lF,ps_:()=>ly,O28:()=>lx,Ebd:()=>lS,tld:()=>lg,$5R:()=>lU,J5R:()=>ln,Q_k:()=>i$,rJz:()=>lB,XFM:()=>dc,iyu:()=>dr,Ajq:()=>db,SNY:()=>dS,KAm:()=>dg,QTx:()=>lb,zZH:()=>ds,Enn:()=>di,ZGN:()=>df,Bw0:()=>uI,GQT:()=>u0,tzr:()=>sX,T$y:()=>a9,Zmx:()=>u1,yoc:()=>iK,KRV:()=>sK,OG2:()=>u9,Zru:()=>uZ,RcM:()=>uq,phs:()=>iq,Kvu:()=>uj,A8i:()=>uW,kng:()=>uR,vdz:()=>sJ,Qz6:()=>iH,GeB:()=>sh,qWB:()=>sp,PEK:()=>sf,eYT:()=>uQ,_gr:()=>uX,nmL:()=>iM,dEe:()=>lu,YRs:()=>n2,X8X:()=>i0,fwL:()=>l2,GTc:()=>lX,Dne:()=>l7,YB2:()=>o8,cKF:()=>aE,znS:()=>nK,U4k:()=>l_,_iG:()=>og,OLU:()=>ol,l5s:()=>lJ,uQM:()=>oE,qM6:()=>oT,FhW:()=>oy,pPN:()=>ov,zg_:()=>aw,zBo:()=>lR,v6S:()=>l1,KRk:()=>iC,qBy:()=>is,RnV:()=>od,ALz:()=>sZ,wL6:()=>ia,CxV:()=>lQ,WcP:()=>a8,D7i:()=>uN,WEy:()=>uO});var o,i,a,s,u=r(74560);
20class l extends Error{}class d extends l{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class c extends l{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class p extends l{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class h extends l{}class f extends l{constructor(e){super(`Invalid unit ${e}`)}}class m extends l{}class g extends l{constructor(){super("Zone is an abstract class")}}let y="numeric",b="short",v="long",S={year:y,month:y,day:y},_={year:y,month:b,day:y},w={year:y,month:b,day:y,weekday:b},x={year:y,month:v,day:y},T={year:y,month:v,day:y,weekday:v},E={hour:y,minute:y},P={hour:y,minute:y,second:y},k={hour:y,minute:y,second:y,timeZoneName:b},D={hour:y,minute:y,second:y,timeZoneName:v},A={hour:y,minute:y,hourCycle:"h23"},O={hour:y,minute:y,second:y,hourCycle:"h23"},N={hour:y,minute:y,second:y,hourCycle:"h23",timeZoneName:b},C={hour:y,minute:y,second:y,hourCycle:"h23",timeZoneName:v},$={year:y,month:y,day:y,hour:y,minute:y},M={year:y,month:y,day:y,hour:y,minute:y,second:y},I={year:y,month:b,day:y,hour:y,minute:y},L={year:y,month:b,day:y,hour:y,minute:y,second:y},R={year:y,month:b,day:y,weekday:b,hour:y,minute:y},F={year:y,month:v,day:y,hour:y,minute:y,timeZoneName:b},B={year:y,month:v,day:y,hour:y,minute:y,second:y,timeZoneName:b},U={year:y,month:v,day:y,weekday:v,hour:y,minute:y,timeZoneName:v},j={year:y,month:v,day:y,weekday:v,hour:y,minute:y,second:y,timeZoneName:v};class V{get type(){throw new g}get name(){throw new g}get ianaName(){return this.name}get isUniversal(){throw new g}offsetName(e,t){throw new g}formatOffset(e,t){throw new g}offset(e){throw new g}equals(e){throw new g}get isValid(){throw new g}}let z=null;class H extends V{static get instance(){return null===z&&(z=new H),z}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return tw(e,t,r)}formatOffset(e,t){return tP(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let W=new Map;function G(e){let t=W.get(e);return void 0===t&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),W.set(e,t)),t}let q={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Y(e,t){let r=e.format(t).replace(/\u200E/g,""),[,n,o,i,a,s,u,l]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r);return[i,n,o,a,s,u,l]}function K(e,t){let r=e.formatToParts(t),n=[];for(let e=0;e<r.length;e++){let{type:t,value:o}=r[e],i=q[t];"era"===t?n[i]=o:e9(i)||(n[i]=parseInt(o,10))}return n}let Z=new Map;class J extends V{static create(e){let t=Z.get(e);return void 0===t&&Z.set(e,t=new J(e)),t}static resetCache(){Z.clear(),W.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=J.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return tw(e,t,r,this.name)}formatOffset(e,t){return tP(this.offset(e),t)}offset(e){if(!this.valid)return NaN;let t=new Date(e);if(isNaN(t))return NaN;let r=G(this.name),[n,o,i,a,s,u,l]=r.formatToParts?K(r,t):Y(r,t);"BC"===a&&(n=-Math.abs(n)+1);let d=tb({year:n,month:o,day:i,hour:24===s?0:s,minute:u,second:l,millisecond:0}),c=+t,p=c%1e3;return(d-(c-=p>=0?p:1e3+p))/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let X={};function Q(e,t={}){let r=JSON.stringify([e,t]),n=X[r];return n||(n=new Intl.ListFormat(e,t),X[r]=n),n}let ee=new Map;function et(e,t={}){let r=JSON.stringify([e,t]),n=ee.get(r);return void 0===n&&(n=new Intl.DateTimeFormat(e,t),ee.set(r,n)),n}let er=new Map;function en(e,t={}){let r=JSON.stringify([e,t]),n=er.get(r);return void 0===n&&(n=new Intl.NumberFormat(e,t),er.set(r,n)),n}let eo=new Map;function ei(e,t={}){let{base:r,...n}=t,o=JSON.stringify([e,n]),i=eo.get(o);return void 0===i&&(i=new Intl.RelativeTimeFormat(e,t),eo.set(o,i)),i}let ea=null;function es(){return ea||(ea=new Intl.DateTimeFormat().resolvedOptions().locale)}let eu=new Map;function el(e){let t=eu.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),eu.set(e,t)),t}let ed=new Map;function ec(e){let t=ed.get(e);if(!t){let r=new Intl.Locale(e);"minimalDays"in(t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo)||(t={...e_,...t}),ed.set(e,t)}return t}function ep(e){let t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("-u-");if(-1===r)return[e];{let t,n;try{t=et(e).resolvedOptions(),n=e}catch(i){let o=e.substring(0,r);t=et(o).resolvedOptions(),n=o}let{numberingSystem:o,calendar:i}=t;return[n,o,i]}}function eh(e,t,r){return(r||t)&&(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)),e}function ef(e){let t=[];for(let r=1;r<=12;r++){let n=nW.utc(2009,r,1);t.push(e(n))}return t}function em(e){let t=[];for(let r=1;r<=7;r++){let n=nW.utc(2016,11,13+r);t.push(e(n))}return t}function eg(e,t,r,n){let o=e.listingMode();return"error"===o?null:"en"===o?r(t):n(t)}function ey(e){return(!e.numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===el(e.locale).numberingSystem)}class eb{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;let{padTo:n,floor:o,...i}=r;if(!t||Object.keys(i).length>0){let t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=en(e,t)}}format(e){if(!this.inf)return td(this.floor?Math.floor(e):tf(e,3),this.padTo);{let t=this.floor?Math.floor(e):e;return this.inf.format(t)}}}class ev{constructor(e,t,r){let n;if(this.opts=r,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){let t=-1*(e.offset/60),r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&J.create(r).valid?(n=r,this.dt=e):(n="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,n=e.zone.name):(n="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let o={...this.opts};o.timeZone=o.timeZone||n,this.dtf=et(t,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if("timeZoneName"!==e.type)return e;{let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class eS{constructor(e,t,r){this.opts={style:"long",...r},!t&&tt()&&(this.rtf=ei(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):tW(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}let e_={firstDay:1,minimalDays:4,weekend:[6,7]};class ew{static fromOpts(e){return ew.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,n,o=!1){let i=e||eV.defaultLocale,a=i||(o?"en-US":es());return new ew(a,t||eV.defaultNumberingSystem,r||eV.defaultOutputCalendar,ts(n)||eV.defaultWeekSettings,i)}static resetCache(){ea=null,ee.clear(),er.clear(),eo.clear(),eu.clear(),ed.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:n}={}){return ew.create(e,t,r,n)}constructor(e,t,r,n,o){let[i,a,s]=ep(e);this.locale=i,this.numberingSystem=t||a||null,this.outputCalendar=r||s||null,this.weekSettings=n,this.intl=eh(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=ey(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),t=(null===this.numberingSystem||"latn"===this.numberingSystem)&&(null===this.outputCalendar||"gregory"===this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?ew.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,ts(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return eg(this,e,tN,()=>{let r="ja"===this.intl||this.intl.startsWith("ja-"),n=(t&=!r)?{month:e,day:"numeric"}:{month:e},o=t?"format":"standalone";if(!this.monthsCache[o][e]){let t=r?e=>this.dtFormatter(e,n).format():e=>this.extract(e,n,"month");this.monthsCache[o][e]=ef(t)}return this.monthsCache[o][e]})}weekdays(e,t=!1){return eg(this,e,tI,()=>{let r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},n=t?"format":"standalone";return this.weekdaysCache[n][e]||(this.weekdaysCache[n][e]=em(e=>this.extract(e,r,"weekday"))),this.weekdaysCache[n][e]})}meridiems(){return eg(this,void 0,()=>tL,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[nW.utc(2016,11,13,9),nW.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return eg(this,e,tU,()=>{let t={era:e};return this.eraCache[e]||(this.eraCache[e]=[nW.utc(-40,1,1),nW.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]}
20)}extract(e,t,r){let n=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===r);return n?n.value:null}numberFormatter(e={}){return new eb(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new ev(e,this.intl,t)}relFormatter(e={}){return new eS(this.intl,this.isEnglish(),e)}listFormatter(e={}){return Q(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||el(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:tr()?ec(this.locale):e_}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let ex=null;class eT extends V{static get utcInstance(){return null===ex&&(ex=new eT(0)),ex}static instance(e){return 0===e?eT.utcInstance:new eT(e)}static parseSpecifier(e){if(e){let t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new eT(tx(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${tP(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${tP(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return tP(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class eE extends V{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function eP(e,t){if(e9(e)||null===e)return t;if(e instanceof V)return e;if(e7(e)){let r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?H.instance:"utc"===r||"gmt"===r?eT.utcInstance:eT.parseSpecifier(r)||J.create(e)}return e8(e)?eT.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new eE(e)}let ek={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},eD={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},eA=ek.hanidec.replace(/[\[|\]]/g,"").split("");function eO(e){let t=parseInt(e,10);if(!isNaN(t))return t;t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(-1!==e[r].search(ek.hanidec))t+=eA.indexOf(e[r]);else for(let e in eD){let[r,o]=eD[e];n>=r&&n<=o&&(t+=n-r)}}return parseInt(t,10)}let eN=new Map;function eC(){eN.clear()}function e$({numberingSystem:e},t=""){let r=e||"latn",n=eN.get(r);void 0===n&&(n=new Map,eN.set(r,n));let o=n.get(t);return void 0===o&&(o=RegExp(`${ek[r]}${t}`),n.set(t,o)),o}let eM=()=>Date.now(),eI="system",eL=null,eR=null,eF=null,eB=60,eU,ej=null;class eV{static get now(){return eM}static set now(e){eM=e}static set defaultZone(e){eI=e}static get defaultZone(){return eP(eI,H.instance)}static get defaultLocale(){return eL}static set defaultLocale(e){eL=e}static get defaultNumberingSystem(){return eR}static set defaultNumberingSystem(e){eR=e}
20static get defaultOutputCalendar(){return eF}static set defaultOutputCalendar(e){eF=e}static get defaultWeekSettings(){return ej}static set defaultWeekSettings(e){ej=ts(e)}static get twoDigitCutoffYear(){return eB}static set twoDigitCutoffYear(e){eB=e%100}static get throwOnInvalid(){return eU}static set throwOnInvalid(e){eU=e}static resetCaches(){ew.resetCache(),J.resetCache(),nW.resetCache(),eC()}}class ez{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}let eH=[0,31,59,90,120,151,181,212,243,273,304,334],eW=[0,31,60,91,121,152,182,213,244,274,305,335];function eG(e,t){return new ez("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function eq(e,t,r){let n=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let o=n.getUTCDay();return 0===o?7:o}function eY(e,t,r){return r+(tm(e)?eW:eH)[t-1]}function eK(e,t){let r=tm(e)?eW:eH,n=r.findIndex(e=>e<t),o=t-r[n];return{month:n+1,day:o}}function eZ(e,t){return(e-t+7)%7+1}function eJ(e,t=4,r=1){let{year:n,month:o,day:i}=e,a=eY(n,o,i),s=eZ(eq(n,o,i),r),u=Math.floor((a-s+14-t)/7),l;return u<1?u=tS(l=n-1,t,r):u>tS(n,t,r)?(l=n+1,u=1):l=n,{weekYear:l,weekNumber:u,weekday:s,...tk(e)}}function eX(e,t=4,r=1){let{weekYear:n,weekNumber:o,weekday:i}=e,a=eZ(eq(n,1,t),r),s=tg(n),u=7*o+i-a-7+t,l;u<1?u+=tg(l=n-1):u>s?(l=n+1,u-=tg(n)):l=n;let{month:d,day:c}=eK(l,u);return{year:l,month:d,day:c,...tk(e)}}function eQ(e){let{year:t,month:r,day:n}=e,o=eY(t,r,n);return{year:t,ordinal:o,...tk(e)}}function e0(e){let{year:t,ordinal:r}=e,{month:n,day:o}=eK(t,r);return{year:t,month:n,day:o,...tk(e)}}function e1(e,t){if(!(!e9(e.localWeekday)||!e9(e.localWeekNumber)||!e9(e.localWeekYear)))return{minDaysInFirstWeek:4,startOfWeek:1};if(!e9(e.weekday)||!e9(e.weekNumber)||!e9(e.weekYear))throw new h("Cannot mix locale-based week fields with ISO-based week fields");return e9(e.localWeekday)||(e.weekday=e.localWeekday),e9(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),e9(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}function e2(e,t=4,r=1){let n=e6(e.weekYear),o=tu(e.weekNumber,1,tS(e.weekYear,t,r)),i=tu(e.weekday,1,7);return n?o?!i&&eG("weekday",e.weekday):eG("week",e.weekNumber):eG("weekYear",e.weekYear)}function e3(e){let t=e6(e.year),r=tu(e.ordinal,1,tg(e.year));return t?!r&&eG("ordinal",e.ordinal):eG("year",e.year)}function e4(e){let t=e6(e.year),r=tu(e.month,1,12),n=tu(e.day,1,ty(e.year,e.month));return t?r?!n&&eG("day",e.day):eG("month",e.month):eG("year",e.year)}function e5(e){let{hour:t,minute:r,second:n,millisecond:o}=e,i=tu(t,0,23)||24===t&&0===r&&0===n&&0===o,a=tu(r,0,59),s=tu(n,0,59),u=tu(o,0,999);return i?a?s?!u&&eG("millisecond",o):eG("second",n):eG("minute",r):eG("hour",t)}function e9(e){return void 0===e}function e8(e){return"number"==typeof e}function e6(e){return"number"==typeof e&&e%1==0}function e7(e){return"string"==typeof e}function te(e){return"[object Date]"===Object.prototype.toString.call(e)}function tt(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function tr(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function tn(e){return Array.isArray(e)?e:[e]}function to(e,t,r){if(0!==e.length)return e.reduce((e,n)=>{let o=[t(n),n];return e&&r(e[0],o[0])===e[0]?e:o},null)[1]}function ti(e,t){return t.reduce((t,r)=>(t[r]=e[r],t),{})}function ta(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ts(e){if(null==e)return null;if("object"!=typeof e)throw new m("Week settings must be an object");if(!tu(e.firstDay,1,7)||!tu(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!tu(e,1,7)))throw new m("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function tu(e,t,r){return e6(e)&&e>=t&&e<=r}function tl(e,t){return e-t*Math.floor(e/t)}function td(e,t=2){return e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function tc(e){if(!e9(e)&&null!==e&&""!==e)return parseInt(e,10)}function tp(e){if(!e9(e)&&null!==e&&""!==e)return parseFloat(e)}function th(e){if(!e9(e)&&null!==e&&""!==e)return Math.floor(1e3*parseFloat("0."+e))}function tf(e,t,r="round"){let n=10**t;switch(r){case"expand":return e>0?Math.ceil(e*n)/n:Math.floor(e*n)/n;case"trunc":return Math.trunc(e*n)/n;case"round":return Math.round(e*n)/n;case"floor":return Math.floor(e*n)/n;case"ceil":return Math.ceil(e*n)/n;default:throw RangeError(`Value rounding ${r} is out of range`)}}function tm(e){return e%4==0&&(e%100!=0||e%400==0)}function tg(e){return tm(e)?366:365}function ty(e,t){let r=tl(t-1,12)+1,n=e+(t-r)/12;return 2===r?tm(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function tb(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(e.year,e.month-1,e.day),+t}function tv(e,t,r){return-eZ(eq(e,1,t),r)+t-1}function tS(e,t=4,r=1){let n=tv(e,t,r),o=tv(e+1,t,r);return(tg(e)-n+o)/7}function t_(e){return e>99?e:e>eV.twoDigitCutoffYear?1900+e:2e3+e}function tw(e,t,r,n=null){let o=new Date(e),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(i.timeZone=n);let a={timeZoneName:t,...i},s=new Intl.DateTimeFormat(r,a).formatToParts(o).find(e=>"timezonename"===e.type.toLowerCase());return s?s.value:null}function tx(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);let n=parseInt(t,10)||0,o=r<0||Object.is(r,-0)?-n:n;return 60*r+o}function tT(e){let t=Number(e);
20if("boolean"==typeof e||""===e||!Number.isFinite(t))throw new m(`Invalid unit value ${e}`);return t}function tE(e,t){let r={};for(let n in e)if(ta(e,n)){let o=e[n];if(null==o)continue;r[t(n)]=tT(o)}return r}function tP(e,t){let r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${td(r,2)}:${td(n,2)}`;case"narrow":return`${o}${r}${n>0?`:${n}`:""}`;case"techie":return`${o}${td(r,2)}${td(n,2)}`;default:throw RangeError(`Value format ${t} is out of range for property format`)}}function tk(e){return ti(e,["hour","minute","second","millisecond"])}let tD=["January","February","March","April","May","June","July","August","September","October","November","December"],tA=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tO=["J","F","M","A","M","J","J","A","S","O","N","D"];function tN(e){switch(e){case"narrow":return[...tO];case"short":return[...tA];case"long":return[...tD];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}let tC=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],t$=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tM=["M","T","W","T","F","S","S"];function tI(e){switch(e){case"narrow":return[...tM];case"short":return[...t$];case"long":return[...tC];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}let tL=["AM","PM"],tR=["Before Christ","Anno Domini"],tF=["BC","AD"],tB=["B","A"];function tU(e){switch(e){case"narrow":return[...tB];case"short":return[...tF];case"long":return[...tR];default:return null}}function tj(e){return tL[e.hour<12?0:1]}function tV(e,t){return tI(t)[e.weekday-1]}function tz(e,t){return tN(t)[e.month-1]}function tH(e,t){return tU(t)[e.year<0?0:1]}function tW(e,t,r="always",n=!1){let o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===r&&i){let r="days"===e;switch(t){case 1:return r?"tomorrow":`next ${o[e][0]}`;case -1:return r?"yesterday":`last ${o[e][0]}`;case 0:return r?"today":`this ${o[e][0]}`}}let a=Object.is(t,-0)||t<0,s=Math.abs(t),u=1===s,l=o[e],d=n?u?l[1]:l[2]||l[1]:u?o[e][0]:e;return a?`${s} ${d} ago`:`in ${s} ${d}`}function tG(e,t){let r="";for(let n of e)n.literal?r+=n.val:r+=t(n.val);return r}let tq={D:S,DD:_,DDD:x,DDDD:T,t:E,tt:P,ttt:k,tttt:D,T:A,TT:O,TTT:N,TTTT:C,f:$,ff:I,fff:F,ffff:U,F:M,FF:L,FFF:B,FFFF:j};class tY{static create(e,t={}){return new tY(e,t)}static parseFormat(e){let t=null,r="",n=!1,o=[];for(let i=0;i<e.length;i++){let a=e.charAt(i);"'"===a?((r.length>0||n)&&o.push({literal:n||/^\s+$/.test(r),val:""===r?"'":r}),t=null,r="",n=!n):n?r+=a:a===t?r+=a:(r.length>0&&o.push({literal:/^\s+$/.test(r),val:r}),r=a,t=a)}return r.length>0&&o.push({literal:n||/^\s+$/.test(r),val:r}),o}static macroTokenToFormatOpts(e){return tq[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,r){if(this.opts.forceSimple)return td(e,t);let n={...this.opts};return t>0&&(n.padTo=t),r&&(n.signDisplay=r),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(e,t){let r="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,o=(t,r)=>this.loc.extract(e,t,r),i=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",a=()=>r?tj(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),s=(t,n)=>r?tz(e,t):o(n?{month:t}:{month:t,day:"numeric"},"month"),u=(t,n)=>r?tV(e,t):o(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),l=t=>{let r=tY.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},d=t=>r?tH(e,t):o({era:t},"era"),c=t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return n?o({day:"numeric"},"day"):this.num(e.day);case"dd":return n?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return n?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return n?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return s("short",!0);case"LLLL":return s("long",!0);case"LLLLL":return s("narrow",!0);case"M":return n?o({month:"numeric"},"month"):this.num(e.month);case"MM":return n?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return s("short",!1);case"MMMM":return s("long",!1);case"MMMMM":return s("narrow",!1);case"y":return n?o({year:"numeric"},"year"):this.num(e.year);case"yy":return n?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return n?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return n?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);
20case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return l(t)}};return tG(tY.parseFormat(t),c)}formatDurationFromString(e,t){let r="negativeLargestOnly"===this.opts.signMode?-1:1,n=e=>{switch(e[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},o=(e,t)=>o=>{let i=n(o);if(!i)return o;{let n;let a=t.isNegativeDuration&&i!==t.largestUnit?r:1;return n="negativeLargestOnly"===this.opts.signMode&&i!==t.largestUnit?"never":"all"===this.opts.signMode?"always":"auto",this.num(e.get(i)*a,o.length,n)}},i=tY.parseFormat(t),a=i.reduce((e,{literal:t,val:r})=>t?e:e.concat(r),[]),s=e.shiftTo(...a.map(n).filter(e=>e)),u={isNegativeDuration:s<0,largestUnit:Object.keys(s.values)[0]};return tG(i,o(s,u))}}let tK=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function tZ(...e){let t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function tJ(...e){return t=>e.reduce(([e,r,n],o)=>{let[i,a,s]=o(t,n);return[{...e,...i},a||r,s]},[{},null,1]).slice(0,2)}function tX(e,...t){if(null==e)return[null,null];for(let[r,n]of t){let t=r.exec(e);if(t)return n(t)}return[null,null]}function tQ(...e){return(t,r)=>{let n;let o={};for(n=0;n<e.length;n++)o[e[n]]=tc(t[r+n]);return[o,null,r+n]}}let t0=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,t1=`(?:${t0.source}?(?:\\[(${tK.source})\\])?)?`,t2=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,t3=RegExp(`${t2.source}${t1}`),t4=RegExp(`(?:[Tt]${t3.source})?`),t5=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,t9=/(\d{4})-?W(\d\d)(?:-?(\d))?/,t8=/(\d{4})-?(\d{3})/,t6=tQ("weekYear","weekNumber","weekDay"),t7=tQ("year","ordinal"),re=/(\d{4})-(\d\d)-(\d\d)/,rt=RegExp(`${t2.source} ?(?:${t0.source}|(${tK.source}))?`),rr=RegExp(`(?: ${rt.source})?`);function rn(e,t,r){let n=e[t];return e9(n)?r:tc(n)}function ro(e,t){return[{year:rn(e,t),month:rn(e,t+1,1),day:rn(e,t+2,1)},null,t+3]}function ri(e,t){return[{hours:rn(e,t,0),minutes:rn(e,t+1,0),seconds:rn(e,t+2,0),milliseconds:th(e[t+3])},null,t+4]}function ra(e,t){let r=!e[t]&&!e[t+1],n=tx(e[t+1],e[t+2]);return[{},r?null:eT.instance(n),t+3]}function rs(e,t){return[{},e[t]?J.create(e[t]):null,t+1]}let ru=RegExp(`^T?${t2.source}$`),rl=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function rd(e){let[t,r,n,o,i,a,s,u,l]=e,d="-"===t[0],c=u&&"-"===u[0],p=(e,t=!1)=>void 0!==e&&(t||e&&d)?-e:e;return[{years:p(tp(r)),months:p(tp(n)),weeks:p(tp(o)),days:p(tp(i)),hours:p(tp(a)),minutes:p(tp(s)),seconds:p(tp(u),"-0"===u),milliseconds:p(th(l),c)}]}let rc={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function rp(e,t,r,n,o,i,a){let s={year:2===t.length?t_(tc(t)):tc(t),month:tA.indexOf(r)+1,day:tc(n),hour:tc(o),minute:tc(i)};return a&&(s.second=tc(a)),e&&(s.weekday=e.length>3?tC.indexOf(e)+1:t$.indexOf(e)+1),s}let rh=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function rf(e){let t;let[,r,n,o,i,a,s,u,l,d,c,p]=e;return[rp(r,i,o,n,a,s,u),new eT(t=l?rc[l]:d?0:tx(c,p))]}function rm(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}let rg=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ry=/^(Monday|Tuesday|Wednesday|Thursday|Frid
20ay|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,rb=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rv(e){let[,t,r,n,o,i,a,s]=e;return[rp(t,o,n,r,i,a,s),eT.utcInstance]}function rS(e){let[,t,r,n,o,i,a,s]=e;return[rp(t,s,r,n,o,i,a),eT.utcInstance]}let r_=tZ(t5,t4),rw=tZ(t9,t4),rx=tZ(t8,t4),rT=tZ(t3),rE=tJ(ro,ri,ra,rs),rP=tJ(t6,ri,ra,rs),rk=tJ(t7,ri,ra,rs),rD=tJ(ri,ra,rs);function rA(e){return tX(e,[r_,rE],[rw,rP],[rx,rk],[rT,rD])}function rO(e){return tX(rm(e),[rh,rf])}function rN(e){return tX(e,[rg,rv],[ry,rv],[rb,rS])}function rC(e){return tX(e,[rl,rd])}let r$=tJ(ri);function rM(e){return tX(e,[ru,r$])}let rI=tZ(re,rr),rL=tZ(rt),rR=tJ(ri,ra,rs);function rF(e){return tX(e,[rI,rE],[rL,rR])}let rB="Invalid Duration",rU={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},rj={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...rU},rV={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:0x1e18558,milliseconds:31556952e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:7889238,milliseconds:7889238e3},months:{weeks:30.436875/7,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...rU},rz=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rH=rz.slice(0).reverse();function rW(e,t,r=!1){return new rK({values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix})}function rG(e,t){let r=t.milliseconds??0;for(let n of rH.slice(1))t[n]&&(r+=t[n]*e[n].milliseconds);return r}function rq(e,t){let r=0>rG(e,t)?-1:1;rz.reduceRight((n,o)=>
20{if(e9(t[o]))return n;if(n){let i=t[n]*r,a=e[o][n],s=Math.floor(i/a);t[o]+=s*r,t[n]-=s*a*r}return o},null),rz.reduce((r,n)=>{if(e9(t[n]))return r;if(r){let o=t[r]%1;t[r]-=o,t[n]+=o*e[r][n]}return n},null)}function rY(e){let t={};for(let[r,n]of Object.entries(e))0!==n&&(t[r]=n);return t}class rK{constructor(e){let t="longterm"===e.conversionAccuracy,r=t?rV:rj;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||ew.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return rK.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new m(`Duration.fromObject: argument expected to be an object, got ${null===e?"null":typeof e}`);return new rK({values:tE(e,rK.normalizeUnit),loc:ew.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(e8(e))return rK.fromMillis(e);if(rK.isDuration(e))return e;if("object"==typeof e)return rK.fromObject(e);throw new m(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){let[r]=rC(e);return r?rK.fromObject(r,t):rK.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){let[r]=rM(e);return r?rK.fromObject(r,t):rK.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new m("need to specify a reason the Duration is invalid");let r=e instanceof ez?e:new ez(e,t);if(!eV.throwOnInvalid)return new rK({invalid:r});throw new p(r)}static normalizeUnit(e){let t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new f(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){let r={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?tY.create(this.loc,r).formatDurationFromString(this,e):rB}toHuman(e={}){if(!this.isValid)return rB;let t=!1!==e.showZeros,r=rz.map(r=>{let n=this.values[r];return e9(n)||0===n&&!t?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:r.slice(0,-1)}).format(n)}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(e+=tf(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},nW.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?rG(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let t=rK.fromDurationLike(e),r={};for(let e of rz)(ta(t.values,e)||ta(this.values,e))&&(r[e]=t.get(e)+this.get(e));return rW(this,{values:r},!0)}minus(e){if(!this.isValid)return this;let t=rK.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let r of Object.keys(this.values))t[r]=tT(e(this.values[r],r));return rW(this,{values:t},!0)}get(e){return this[rK.normalizeUnit(e)]}set(e){return this.isValid?rW(this,{values:{...this.values,...tE(e,rK.normalizeUnit)}}):this}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:n}={}){return rW(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:n,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return rq(this.matrix,e),rW(this,{values:e},!0)}rescale(){return this.isValid?rW(this,{values:rY(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...e){let t;if(!this.isValid||0===e.length)return this;e=e.map(e=>rK.normalizeUnit(e));let r={},n={},o=this.toObject();for(let i of rz)if(e.indexOf(i)>=0){t=i;let e=0;for(let t in n)e+=this.matrix[t][i]*n[t],n[t]=0;e8(o[i])&&(e+=o[i]);let a=Math.trunc(e);r[i]=a,n[i]=(1e3*e-1e3*a)/1e3}else e8(o[i])&&(n[i]=o[i]);for(let e in n)0!==n[e]&&(r[t]+=e===t?n[e]:n[e]/this.matrix[t][e]);return rq(this.matrix,r),rW(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return rW(this,{values:e},!0)}removeZeros(){return this.isValid?rW(this,{values:rY(this.values)},!0):this}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(e,t){return void 0===e||0===e?void 0===t||0===t:e===t}for(let r of rz)if(!t(this.values[r],e.values[r]))return!1;return!0}}let rZ="Invalid Interval";function rJ(e,t){return e&&e.isValid?t&&t.isValid?t<e?rX.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null:rX.invalid("missing or invalid end"):rX.invalid("missing or invalid start")}class rX{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}
20static invalid(e,t=null){if(!e)throw new m("need to specify a reason the Interval is invalid");let r=e instanceof ez?e:new ez(e,t);if(!eV.throwOnInvalid)return new rX({invalid:r});throw new c(r)}static fromDateTimes(e,t){let r=nG(e),n=nG(t),o=rJ(r,n);return null==o?new rX({start:r,end:n}):o}static after(e,t){let r=rK.fromDurationLike(t),n=nG(e);return rX.fromDateTimes(n,n.plus(r))}static before(e,t){let r=rK.fromDurationLike(t),n=nG(e);return rX.fromDateTimes(n.minus(r),n)}static fromISO(e,t){let[r,n]=(e||"").split("/",2);if(r&&n){let e,o,i,a;try{o=(e=nW.fromISO(r,t)).isValid}catch(e){o=!1}try{a=(i=nW.fromISO(n,t)).isValid}catch(e){a=!1}if(o&&a)return rX.fromDateTimes(e,i);if(o){let r=rK.fromISO(n,t);if(r.isValid)return rX.after(e,r)}else if(a){let e=rK.fromISO(r,t);if(e.isValid)return rX.before(i,e)}}return rX.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){let r;if(!this.isValid)return NaN;let n=this.start.startOf(e,t);return Math.floor((r=(r=t?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end).startOf(e,t)).diff(n,e).get(e))+(r.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&this.s<=e&&this.e>e}set({start:e,end:t}={}){return this.isValid?rX.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];let t=e.map(nG).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),r=[],{s:n}=this,o=0;for(;n<this.e;){let e=t[o]||this.e,i=+e>+this.e?this.e:e;r.push(rX.fromDateTimes(n,i)),n=i,o+=1}return r}splitBy(e){let t=rK.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let{s:r}=this,n=1,o,i=[];for(;r<this.e;){let e=this.start.plus(t.mapUnits(e=>e*n));o=+e>+this.e?this.e:e,i.push(rX.fromDateTimes(r,o)),r=o,n+=1}return i}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e==+e.s}abutsEnd(e){return!!this.isValid&&+e.e==+this.s}engulfs(e){return!!this.isValid&&this.s<=e.s&&this.e>=e.e}equals(e){return!!this.isValid&&!!e.isValid&&this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let t=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return t>=r?null:rX.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;let t=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return rX.fromDateTimes(t,r)}static merge(e){let[t,r]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],r)=>t?t.overlaps(r)||t.abutsStart(r)?[e,t.union(r)]:[e.concat([t]),r]:[e,r],[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0,n=[],o=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]);for(let e of Array.prototype.concat(...o).sort((e,t)=>e.time-t.time))1===(r+="s"===e.type?1:-1)?t=e.time:(t&&+t!=+e.time&&n.push(rX.fromDateTimes(t,e.time)),t=null);return rX.merge(n)}difference(...e){return rX.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:rZ}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=S,t={}){return this.isValid?tY.create(this.s.loc.clone(t),e).formatInterval(this):rZ}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:rZ}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:rZ}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:rZ}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:rZ}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):rK.invalid(this.invalidReason)}mapEndpoints(e){return rX.fromDateTimes(e(this.s),e(this.e))}}class rQ{static hasDST(e=eV.defaultZone){let t=nW.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return J.isValidZone(e)}static normalizeZone(e){return eP(e,eV.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||ew.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||ew.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||ew.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:o="gregory"}={}){return(n||ew.create(t,r,o)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:o="gregory"}={}){return(n||ew.create(t,r,o)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||ew.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||ew.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return ew.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return ew.create(t,null,"gregory").eras(e)}static features(){return{relative:tt(),localeWeek:tr()}}}function r0(e,t){let r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(t)-r(e);return Math.floor(rK.fromMillis(n).as("days"))}function r1(e,t,r){let n,o;let i={},a=e;for(let[s,u]of[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],["months",(e,t)=>t.month-e.month+(t.year-e.year)*12],["weeks",(e,t)=>{let r=r0(e,t);return(r-r%7)/7}],["days",r0]])r.indexOf(s)>=0&&(n=s,i[s]=u(e,t),(o=a.plus(i))>t?(i[s]--,(e=a.plus(i))>t&&(o=e,i[s]--,e=a.plus(i))):e=o);return[e,i,o,n]}function r2(e,t,r,n){let[o,i,a,s]=r1(e,t,r),u=t-o,l=r.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===l.length&&(a<t&&(a=o.plus({[s]:1})),a!==o&&(i[s]=(i[s]||0)+u/(a-o)));let d=rK.fromObject(i,n);return l.length>0?rK.fromMillis(u,n).shiftTo(...l).plus(d):d}let r3="missing Intl.DateTimeFormat.formatToParts support";function r4(e,t=e=>e){return{regex:e,deser:([e])=>t(eO(e))}}let r5=String.fromCharCode(160),r9=`[ ${r5}]`,r8=RegExp(r9,"g");function r6(e){return e.replace(/\./g,"\\.?").replace(r8,r9)}function r7(e){return e.replace(/\./g,"").replace(r8," ").toLowerCase()}function ne(e,t){return null===e?null:{regex:RegExp(e.map(r6).join("|")),deser:([r])=>e.findIndex(e=>r7(r)===r7(e))+t}}function nt(e,t){return{regex:e,deser:([,e,t])=>tx(e,t),groups:t}}function nr(e){return{regex:e,deser:([e])=>e}}
20function nn(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function no(e,t){let r=e$(t),n=e$(t,"{2}"),o=e$(t,"{3}"),i=e$(t,"{4}"),a=e$(t,"{6}"),s=e$(t,"{1,2}"),u=e$(t,"{1,3}"),l=e$(t,"{1,6}"),d=e$(t,"{1,9}"),c=e$(t,"{2,4}"),p=e$(t,"{4,6}"),h=e=>({regex:RegExp(nn(e.val)),deser:([e])=>e,literal:!0}),f=(f=>{if(e.literal)return h(f);switch(f.val){case"G":return ne(t.eras("short"),0);case"GG":return ne(t.eras("long"),0);case"y":return r4(l);case"yy":case"kk":return r4(c,t_);case"yyyy":case"kkkk":return r4(i);case"yyyyy":return r4(p);case"yyyyyy":return r4(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return r4(s);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return r4(n);case"MMM":return ne(t.months("short",!0),1);case"MMMM":return ne(t.months("long",!0),1);case"LLL":return ne(t.months("short",!1),1);case"LLLL":return ne(t.months("long",!1),1);case"o":case"S":return r4(u);case"ooo":case"SSS":return r4(o);case"u":return nr(d);case"uu":return nr(s);case"uuu":case"E":case"c":return r4(r);case"a":return ne(t.meridiems(),0);case"EEE":return ne(t.weekdays("short",!1),1);case"EEEE":return ne(t.weekdays("long",!1),1);case"ccc":return ne(t.weekdays("short",!0),1);case"cccc":return ne(t.weekdays("long",!0),1);case"Z":case"ZZ":return nt(RegExp(`([+-]${s.source})(?::(${n.source}))?`),2);case"ZZZ":return nt(RegExp(`([+-]${s.source})(${n.source})?`),2);case"z":return nr(/[a-z_+-/]{1,256}?/i);case" ":return nr(/[^\S\n\r]/);default:return h(f)}})(e)||{invalidReason:r3};return f.token=e,f}let ni={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function na(e,t,r){let{type:n,value:o}=e;if("literal"===n){let e=/^\s+$/.test(o);return{literal:!e,val:e?" ":o}}let i=t[n],a=n;"hour"===n&&(a=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":r.hour12?"hour12":"hour24");let s=ni[a];if("object"==typeof s&&(s=s[i]),s)return{literal:!1,val:s}}function ns(e){let t=e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"");return[`^${t}$`,e]}function nu(e,t,r){let n=e.match(t);if(!n)return[n,{}];{let e={},t=1;for(let o in r)if(ta(r,o)){let i=r[o],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(e[i.token.val[0]]=i.deser(n.slice(t,t+a))),t+=a}return[n,e]}}function nl(e){let t;let r=e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},n=null;return e9(e.z)||(n=J.create(e.z)),e9(e.Z)||(n||(n=new eT(e.Z)),t=e.Z),e9
20(e.q)||(e.M=(e.q-1)*3+1),e9(e.h)||(e.h<12&&1===e.a?e.h+=12:12!==e.h||0!==e.a||(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),e9(e.u)||(e.S=th(e.u)),[Object.keys(e).reduce((t,n)=>{let o=r(n);return o&&(t[o]=e[n]),t},{}),n,t]}let nd=null;function nc(){return nd||(nd=nW.fromMillis(0x16a2e5618e3)),nd}function np(e,t){if(e.literal)return e;let r=ny(tY.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r}function nh(e,t){return Array.prototype.concat(...e.map(e=>np(e,t)))}class nf{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=nh(tY.parseFormat(t),e),this.units=this.tokens.map(t=>no(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){let[e,t]=ns(this.units);this.regex=RegExp(e,"i"),this.handlers=t}}explainFromTokens(e){if(!this.isValid)return{input:e,tokens:this.tokens,invalidReason:this.invalidReason};{let[t,r]=nu(e,this.regex,this.handlers),[n,o,i]=r?nl(r):[null,null,void 0];if(ta(r,"a")&&ta(r,"H"))throw new h("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:r,result:n,zone:o,specificOffset:i}}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invali
20dReason:null}}function nm(e,t,r){return new nf(e,r).explainFromTokens(t)}function ng(e,t,r){let{result:n,zone:o,specificOffset:i,invalidReason:a}=nm(e,t,r);return[n,o,i,a]}function ny(e,t){if(!e)return null;let r=tY.create(t,e).dtFormatter(nc()),n=r.formatToParts(),o=r.resolvedOptions();return n.map(t=>na(t,e,o))}let nb="Invalid DateTime",nv=864e13;function nS(e){return new ez("unsupported zone",`the zone "${e.name}" is not supported`)}function n_(e){return null===e.weekData&&(e.weekData=eJ(e.c)),e.weekData}function nw(e){return null===e.localWeekData&&(e.localWeekData=eJ(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function nx(e,t){let r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new nW({...r,...t,old:r})}function nT(e,t,r){let n=e-6e4*t,o=r.offset(n);if(t===o)return[n,t];n-=(o-t)*6e4;let i=r.offset(n);return o===i?[n,o]:[e-6e4*Math.min(o,i),Math.max(o,i)]}function nE(e,t){let r=new Date(e+=6e4*t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function nP(e,t,r){return nT(tb(e),t,r)}function nk(e,t){let r=e.o,n=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),i={...e.c,year:n,month:o,day:Math.min(e.c.day,ty(n,o))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},a=rK.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),[s,u]=nT(tb(i),r,e.zone);return 0!==a&&(s+=a,u=e.zone.offset(s)),{ts:s,o:u}}function nD(e,t,r,n,o,i){let{setZone:a,zone:s}=r;if((!e||0===Object.keys(e).length)&&!t)return nW.invalid(new ez("unparsable",`the input "${o}" can't be parsed as ${n}`));{let n=t||s,o=nW.fromObject(e,{...r,zone:n,specificOffset:i});return a?o:o.setZone(s)}}function nA(e,t,r=!0){return e.isValid?tY.create(ew.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nO(e,t,r){let n=e.c.year>9999||e.c.year<0,o="";if(n&&e.c.year>=0&&(o+="+"),o+=td(e.c.year,n?6:4),"year"===r)return o;if(t){if(o+="-",o+=td(e.c.month),"month"===r)return o;o+="-"}else if(o+=td(e.c.month),"month"===r)return o;return o+td(e.c.day)}function nN(e,t,r,n,o,i,a){let s=!r||0!==e.c.millisecond||0!==e.c.second,u="";switch(a){case"day":case"month":case"year":break;default:if(u+=td(e.c.hour),"hour"===a)break;if(t){if(u+=":",u+=td(e.c.minute),"minute"===a)break;s&&(u+=":",u+=td(e.c.second))}else{if(u+=td(e.c.minute),"minute"===a)break;s&&(u+=td(e.c.second))}if("second"===a)break;s&&(!n||0!==e.c.millisecond)&&(u+=".",u+=td(e.c.millisecond,3))}return o&&(e.isOffsetFixed&&0===e.offset&&!i?u+="Z":e.o<0?(u+="-",u+=td(Math.trunc(-e.o/60)),u+=":",u+=td(Math.trunc(-e.o%60))):(u+="+",u+=td(Math.trunc(e.o/60)),u+=":",u+=td(Math.trunc(e.o%60)))),i&&(u+="["+e.zone.ianaName+"]"),u}let nC={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},n$={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},nM={ordinal:1,hour:0,minute:0,second:0,millisecond:0},nI=["year","month","day","hour","minute","second","millisecond"],nL=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],nR=["year","ordinal","hour","minute","second","millisecond"];function nF(e){let t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new f(e);return t}function nB(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return nF(e)}}function nU(e){if(void 0===n&&(n=eV.now()),"iana"!==e.type)return e.offset(n);let t=e.name,r=nH.get(t);return void 0===r&&(r=e.offset(n),nH.set(t,r)),r}function nj(e,t){let r,n;let o=eP(t.zone,eV.defaultZone);
vendor: 4,059 bytes, line 20
20if(!o.isValid)return nW.invalid(nS(o));let i=ew.fromObject(t);if(e9(e.year))r=eV.now();else{for(let t of nI)e9(e[t])&&(e[t]=nC[t]);let t=e4(e)||e5(e);if(t)return nW.invalid(t);let i=nU(o);[r,n]=nP(e,i,o)}return new nW({ts:r,zone:o,loc:i,o:n})}function nV(e,t,r){let n=!!e9(r.round)||r.round,o=e9(r.rounding)?"trunc":r.rounding,i=(e,i)=>(e=tf(e,n||r.calendary?0:2,r.calendary?"round":o),t.loc.clone(r).relFormatter(r).format(e,i)),a=n=>r.calendary?t.hasSame(e,n)?0:t.startOf(n).diff(e.startOf(n),n).get(n):t.diff(e,n).get(n);if(r.unit)return i(a(r.unit),r.unit);for(let e of r.units){let t=a(e);if(Math.abs(t)>=1)return i(t,e)}return i(e>t?-0:0,r.units[r.units.length-1])}function nz(e){let t={},r;return e.length>0&&"object"==typeof e[e.length-1]?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}let nH=new Map;class nW{constructor(e){let t=e.zone||eV.defaultZone,r=e.invalid||(Number.isNaN(e.ts)?new ez("invalid input"):null)||(t.isValid?null:nS(t));this.ts=e9(e.ts)?eV.now():e.ts;let n=null,o=null;if(!r){if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[n,o]=[e.old.c,e.old.o];else{let i=e8(e.o)&&!e.old?e.o:t.offset(this.ts);n=(r=Number.isNaN((n=nE(this.ts,i)).year)?new ez("invalid input"):null)?null:n,o=r?null:i}}this._zone=t,this.loc=e.loc||ew.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=n,this.o=o,this.isLuxonDateTime=!0}static now(){return new nW({})}static local(){let[e,t]=nz(arguments),[r,n,o,i,a,s,u]=t;return nj({year:r,month:n,day:o,hour:i,minute:a,second:s,millisecond:u},e)}static utc(){let[e,t]=nz(arguments),[r,n,o,i,a,s,u]=t;return e.zone=eT.utcInstance,nj({year:r,month:n,day:o,hour:i,minute:a,second:s,millisecond:u},e)}static fromJSDate(e,t={}){let r=te(e)?e.valueOf():NaN;if(Number.isNaN(r))return nW.invalid("invalid input");let n=eP(t.zone,eV.defaultZone);return n.isValid?new nW({ts:r,zone:n,loc:ew.fromObject(t)}):nW.invalid(nS(n))}static fromMillis(e,t={}){if(e8(e))return e<-nv||e>nv?nW.invalid("Timestamp out of range"):new nW({ts:e,zone:eP(t.zone,eV.defaultZone),loc:ew.fromObject(t)});throw new m(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(e8(e))return new nW({ts:1e3*e,zone:eP(t.zone,eV.defaultZone),loc:ew.fromObject(t)});throw new m("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};let r=eP(t.zone,eV.defaultZone);if(!r.isValid)return nW.invalid(nS(r));let n=ew.fromObject(t),o=tE(e,nB),{minDaysInFirstWeek:i,startOfWeek:a}=e1(o,n),s=eV.now(),u=e9(t.specificOffset)?r.offset(s):t.specificOffset,l=!e9(o.ordinal),d=!e9(o.year),c=!e9(o.month)||!e9(o.day),p=d||c,f=o.weekYear||o.weekNumber;if((p||l)&&f)throw new h("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&l)throw new h("Can't mix ordinal dates with month/day");let m=f||o.weekday&&!p,g,y,b=nE(s,u);m?(g=nL,y=n$,b=eJ(b,i,a)):l?(g=nR,y=nM,b=eQ(b)):(g=nI,y=nC);let v=!1;for(let e of g)e9(o[e])?v?o[e]=y[e]:o[e]=b[e]:v=!0;let S=(m?e2(o,i,a):l?e3(o):e4(o))||e5(o);if(S)return nW.invalid(S);let[_,w]=nP(m?eX(o,i,a):l?e0(o):o,u,r),x=new nW({ts:_,zone:r,o:w,loc:n});return o.weekday&&p&&e.weekday!==x.weekday?nW.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${x.toISO()}`):x.isValid?x:nW.invalid(x.invalid)}static fromISO(e,t={}){let[r,n]=rA(e);return nD(r,n,t,"ISO 8601",e)}static fromRFC2822(e,t={}){let[r,n]=rO(e);return nD(r,n,t,"RFC 2822",e)}static fromHTTP(e,t={}){let[r,n]=rN(e);return nD(r,n,t,"HTTP",t)}static fromFormat(e,t,r={}){if(e9(e)||e9(t))throw new m("fromFormat requires an input string and a format");let{locale:n=null,numberingSystem:o=null}=r,[i,a,s,u]=ng(ew.fromOpts({locale:n,numberingSystem:o,defaultToEN:!0}),e,t);return u?nW.invalid(u):nD(i,a,r,`format ${t}`,e,s)}static fromString(e,t,r={}){return nW.fromFormat(e,t,r)}static fromSQL(e,t={}){let[r,n]=rF(e);return nD(r,n,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new m("need to specify a reason the DateTime is invalid");let r=e instanceof ez?e:new ez(e,t);
vendor: 5,564 bytes, line 20
20if(!eV.throwOnInvalid)return new nW({invalid:r});throw new d(r)}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let r=ny(e,ew.fromObject(t));return r?r.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return nh(tY.parseFormat(e),ew.fromObject(t)).map(e=>e.val).join("")}static resetCache(){n=void 0,nH.clear()}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?n_(this).weekYear:NaN}get weekNumber(){return this.isValid?n_(this).weekNumber:NaN}get weekday(){return this.isValid?n_(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?nw(this).weekday:NaN}get localWeekNumber(){return this.isValid?nw(this).weekNumber:NaN}get localWeekYear(){return this.isValid?nw(this).weekYear:NaN}get ordinal(){return this.isValid?eQ(this.c).ordinal:NaN}get monthShort(){return this.isValid?rQ.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?rQ.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?rQ.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?rQ.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,t=6e4,r=tb(this.c),n=this.zone.offset(r-e),o=this.zone.offset(r+e),i=this.zone.offset(r-n*t),a=this.zone.offset(r-o*t);if(i===a)return[this];let s=r-i*t,u=r-a*t,l=nE(s,i),d=nE(u,a);return l.hour===d.hour&&l.minute===d.minute&&l.second===d.second&&l.millisecond===d.millisecond?[nx(this,{ts:s}),nx(this,{ts:u})]:[this]}get isInLeapYear(){return tm(this.year)}get daysInMonth(){return ty(this.year,this.month)}get daysInYear(){return this.isValid?tg(this.year):NaN}get weeksInWeekYear(){return this.isValid?tS(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?tS(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:r,calendar:n}=tY.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:n}}toUTC(e=0,t={}){return this.setZone(eT.instance(e),t)}toLocal(){return this.setZone(eV.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=eP(e,eV.defaultZone)).equals(this.zone))return this;if(!e.isValid)return nW.invalid(nS(e));{let n=this.ts;if(t||r){let t=e.offset(this.ts),r=this.toObject();[n]=nP(r,t,e)}return nx(this,{ts:n,zone:e})}}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return nx(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){let t;if(!this.isValid)return this;let r=tE(e,nB),{minDaysInFirstWeek:n,startOfWeek:o}=e1(r,this.loc),i=!e9(r.weekYear)||!e9(r.weekNumber)||!e9(r.weekday),a=!e9(r.ordinal),s=!e9(r.year),u=!e9(r.month)||!e9(r.day),l=s||u,d=r.weekYear||r.weekNumber;if((l||a)&&d)throw new h("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&a)throw new h("Can't mix ordinal dates with month/day");i?t=eX({...eJ(this.c,n,o),...r},n,o):e9(r.ordinal)?(t={...this.toObject(),...r},e9(r.day)&&(t.day=Math.min(ty(t.year,t.month),t.day))):t=e0({...eQ(this.c),...r});let[c,p]=nP(t,this.o,this.zone);return nx(this,{ts:c,o:p})}plus(e){return this.isValid?nx(this,nk(this,rK.fromDurationLike(e))):this}minus(e){return this.isValid?nx(this,nk(this,rK.fromDurationLike(e).negate())):this}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;let r={},n=rK.normalizeUnit(e);switch(n){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0}if("weeks"===n){if(t){let e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(r.weekNumber=this.weekNumber-1),r.weekday=e}else r.weekday=1}if("quarters"===n){let e=Math.ceil(this.month/3);r.month=(e-1)*3+1}return this.set(r)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?tY.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):nb}
vendor: 4,093 bytes, line 20
20toLocaleString(e=S,t={}){return this.isValid?tY.create(this.loc.clone(t),e).formatDateTime(this):nb}toLocaleParts(e={}){return this.isValid?tY.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:r=!1,includeOffset:n=!0,extendedZone:o=!1,precision:i="milliseconds"}={}){if(!this.isValid)return null;i=nF(i);let a="extended"===e,s=nO(this,a,i);return nI.indexOf(i)>=3&&(s+="T"),s+=nN(this,a,t,r,n,o,i)}toISODate({format:e="extended",precision:t="day"}={}){return this.isValid?nO(this,"extended"===e,nF(t)):null}toISOWeekDate(){return nA(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:n=!1,extendedZone:o=!1,format:i="extended",precision:a="milliseconds"}={}){return this.isValid?(a=nF(a),(n&&nI.indexOf(a)>=3?"T":"")+nN(this,"extended"===i,t,e,r,o,a)):null}toRFC2822(){return nA(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return nA(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?nO(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let n="HH:mm:ss.SSS";return(t||e)&&(r&&(n+=" "),t?n+="z":e&&(n+="ZZ")),nA(this,n,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():nb}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",r={}){if(!this.isValid||!e.isValid)return rK.invalid("created by diffing an invalid DateTime");let n={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=tn(t).map(rK.normalizeUnit),i=e.valueOf()>this.valueOf(),a=r2(i?this:e,i?e:this,o,n);return i?a.negate():a}diffNow(e="milliseconds",t={}){return this.diff(nW.now(),e,t)}until(e){return this.isValid?rX.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;let n=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(t,r)<=n&&n<=o.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let t=e.base||nW.fromObject({},{zone:this.zone}),r=e.padding?this<t?-e.padding:e.padding:0,n=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(n=e.unit,o=void 0),nV(t,this.plus(r),{...e,numeric:"always",units:n,unit:o})}toRelativeCalendar(e={}){return this.isValid?nV(e.base||nW.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(nW.isDateTime))throw new m("min requires all arguments be DateTimes");return to(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(nW.isDateTime))throw new m("max requires all arguments be DateTimes");return to(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){let{locale:n=null,numberingSystem:o=null}=r;return nm(ew.fromOpts({locale:n,numberingSystem:o,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return nW.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){let{locale:r=null,numberingSystem:n=null}=t;return new nf(ew.fromOpts({locale:r,numberingSystem:n,defaultToEN:!0}),e)}static fromFormatParser(e,t,r={}){if(e9(e)||e9(t))throw new m("fromFormatParser requires an input string and a format parser");let{locale:n=null,numberingSystem:o=null}=r,i=ew.fromOpts({locale:n,numberingSystem:o,defaultToEN:!0});
20if(!i.equals(t.locale))throw new m(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${t.locale}`);let{result:a,zone:s,specificOffset:u,invalidReason:l}=t.explainFromTokens(e);return l?nW.invalid(l):nD(a,s,r,`format ${t.format}`,e,u)}static get DATE_SHORT(){return S}static get DATE_MED(){return _}static get DATE_MED_WITH_WEEKDAY(){return w}static get DATE_FULL(){return x}static get DATE_HUGE(){return T}static get TIME_SIMPLE(){return E}static get TIME_WITH_SECONDS(){return P}static get TIME_WITH_SHORT_OFFSET(){return k}static get TIME_WITH_LONG_OFFSET(){return D}static get TIME_24_SIMPLE(){return A}static get TIME_24_WITH_SECONDS(){return O}static get TIME_24_WITH_SHORT_OFFSET(){return N}static get TIME_24_WITH_LONG_OFFSET(){return C}static get DATETIME_SHORT(){return $}static get DATETIME_SHORT_WITH_SECONDS(){return M}static get DATETIME_MED(){return I}static get DATETIME_MED_WITH_SECONDS(){return L}static get DATETIME_MED_WITH_WEEKDAY(){return R}static get DATETIME_FULL(){return F}static get DATETIME_FULL_WITH_SECONDS(){return B}static get DATETIME_HUGE(){return U}static get DATETIME_HUGE_WITH_SECONDS(){return j}}function nG(e){if(nW.isDateTime(e))return e;if(e&&e.valueOf&&e8(e.valueOf()))return nW.fromJSDate(e);if(e&&"object"==typeof e)return nW.fromObject(e);throw new m(`Unknown datetime argument: ${e}, of type ${typeof e}`)}var nq=(e=>(e.BEAR="bear",e.BULL="bull",e.BETTER_BUY="betterBuy",e.US="us",e.HK="hk",e.UNKNOWN="unknown",e))(nq||{}),nY=(e=>(e.USER_INPUT="userInputPrice",e.ASK="askPrice",e.CURRENT="currentPrice",e.BID="bidPrice",e.MID="midPrice",e.COST="cost",e))(nY||{}),nK=e=>e.value,nZ=e=>"askPrice"===e.type,nJ=e=>"bidPrice"===e.type,nX=e=>{switch(e.type){case"userInputPrice":case"currentPrice":return"current";case"askPrice":return"ask";case"bidPrice":return"bid";case"midPrice":return"mid";case"cost":return"cost"}},nQ=(e=>(e.LONG="long",e.SHORT="short",e.NONE="none",e))(nQ||{}),n0=(e=>(e.DEPOSIT_REWARD="DEPOSIT_REWARD",e.INVITER_REWARD="INVITER_REWARD",e.INVITEE_REWARD="INVITEE_REWARD",e.OTHER="OTHER",e))(n0||{}),n1=()=>({quantity:new u.W(0),rewards:[]}),n2=(e,t,r)=>{let n=new u.W(e),o=new u.W(t),i=null!=r?r:n1();return n.isZero()?{type:"none",share:new u.W(0),frozen:i}:n.isPositive()?{type:"long",share:n,cost:o,frozen:i}:{type:"short",share:n,cost:o,frozen:i}},n3=(e=>(e[e.BUY=0]="BUY",e[e.SELL=1]="SELL",e))(n3||{}),n4=(e=>(e.OPEN_LONG="openLong",e.OPEN_SHORT="openShort",e.CLOSE_LONG="closeLong",e.CLOSE_SHORT="closeShort",e))(n4||{}),n5=(e,t)=>{switch(e.type){case"long":return 1===t?"closeLong":"openLong";case"short":return 0===t?"closeShort":"openShort";case"none":return 0===t?"openLong":"openShort"}},n9={isCloseShort:e=>"closeShort"===e,isOpenLong:e=>"openLong"===e,isCloseLong:e=>"closeLong"===e,isClose:e=>"closeLong"===e||"closeShort"===e},n8=(e=>(e.MAX="max",e.NONE="none",e))(n8||{}),n6=(e=>(e.NORMAL="normal",e.CLOSE="close",e))(n6||{}),n7=(e=>(e.INTEGER="integer",e.CURRENCY="currency",e.PERCENTAGE="percentage",e.DECIMAL="decimal",e.SCIENTIFIC="scientific",e.COMPACT="compact",e))(n7||{}),oe=(e=>(e.CALL="call",e.PUT="put",e))(oe||{}),ot=class{static getShort(e){switch(e){case"call":return"C";case"put":return"P"}}static getFull(e){switch(e){case"call":return"CALL";case"put":return"PUT"}}static fromShort(e){return"P"===e||"p"===e?"put":"C"===e||"c"===e?"call":void 0}};(o=class e{static optionTypeFromShort(e){return ot.fromShort(e)}static isHKStock(t){return t.endsWith(e.HK_STOCK_SYMBOL_SUFFIX)}static isAllDigits(e){return/^\d+$/.test(e)}}).HK_STOCK_SYMBOL_SUFFIX=".HK";var or=(e=>(e.US_OPTION_LONG="OSUSL",e.US_OPTION_SHORT="OSUSS",e.CURRENCY="CF",e.METAL="CM",e.SPOT="ST",e.INDEX="IT",e.OPTIONS="OT",e))(or||{}),on=((i=class{static getSymbol(e){return this.SEPARATOR+e}static isValidUnderlying(e){return Object.values(or).includes(e)}static fromRawValue(e){if(this.isValidUnderlying(e))return e}static getDescription(e){switch(e){case"OSUSL":return"美股期权多头";case"OSUSS":return"美股期权空头";case"CF":return"外汇";case"CM":return"贵金属";case"ST":return"加密现货";
20case"IT":return"加密指数";case"OT":return"加密期权";default:return"未知"}}}).SEPARATOR="|",i),oo=((a=class{static setLanguageConfig(e){this.languageConfig={...this.defaultLanguageConfig,...e}}static setLocalization(e){this.localization={...this.defaultLocalization,...e}}static isBabyBull(e){return"call"===e.optionType&&"OSUSL"===e.underlying}static isBabyBear(e){return"put"===e.optionType&&"OSUSL"===e.underlying}static isBetterBuy(e){return"put"===e.optionType&&"OSUSS"===e.underlying}static isBullOrBear(e){return this.isBabyBull(e)||this.isBabyBear(e)}static getSimpleName(e){return this.isBabyBull(e)?this.localization.babyBull:this.isBabyBear(e)?this.localization.babyBear:this.isBetterBuy(e)?this.localization.betterBuy:"-"}static displayProductName(e,t){return this.languageConfig.isChinese?this.getProductNameWithUnderlying(e,t):this.getProductName(e)}static getProductName(e){let t=this.languageConfig.spacer;return this.isBabyBull(e)?e.symbol+t+this.localization.babyBull:this.isBabyBear(e)?e.symbol+t+this.localization.babyBear:this.isBetterBuy(e)?e.symbol+t+this.localization.betterBuy:e.symbol}static getProductNameWithUnderlying(e,t){let r;let n=this.languageConfig.spacer;if(this.languageConfig.isChinese){let n=5;r=t.length>n?e.symbol:t}else r=e.symbol;return this.isBabyBull(e)?r+n+this.localization.babyBull:this.isBabyBear(e)?r+n+this.localization.babyBear:this.isBetterBuy(e)?r+n+this.localization.betterBuy:t}static getDisplaySymbol(e){let t=this.isBetterBuy(e)?"-":"",r=ot.getFull(e.optionType);return"".concat(t).concat(r," ").concat(e.symbol," ").concat(e.price)}static getDisplaySymbolWhenTrading(e){return this.getStrikeAndExpiryDateBasedName(e)}static getNameAndCode(e,t,r){let n;if(this.languageConfig.isChinese){let e=5;n=t.length>e?r:t}else n=r;return n+this.languageConfig.spacer+this.getStrikeAndExpiryDateBasedName(e)}static getStrikePriceString(e){let t=parseFloat(e.price);return isNaN(t)?e.price:t.toString()}static getStrikePriceBasedName(e){if(!(this.isBullOrBear(e)||this.isBetterBuy(e)))return"-";let t=this.getStrikePriceString(e),r=this.languageConfig.spacer;return this.isBabyBear(e)?this.localization.below+r+t:this.isBabyBull(e)?this.localization.over+r+t:this.isBetterBuy(e)?this.languageConfig.isChinese?t+r+this.localization.buyAction:this.localization.positionBuyPrice+r+t:"-"}static getExpiryDateString(e){return this.getSimpleDateStringWithoutYearUS(e)}static getStrikeAndExpiryDateBasedName(e){if(!(this.isBullOrBear(e)||this.isBetterBuy(e)))return"-";let t=this.getStrikePriceBasedName(e),r=this.getExpiryDateString(e);return"".concat(t," \xb7 ").concat(r)}static getOptionDirection(e){if(this.isBetterBuy(e))return this.localization.positionBuyPrice;switch(e.optionType){case"call":return this.localization.optionOver;case"put":return this.localization.optionBelow}}static getCode(e){let t=this.languageConfig.spacer,r=this.getStrikePriceString(e),n=this.getExpiryDateString(e),o=this.getOptionDirection(e);return this.isBetterBuy(e)&&this.languageConfig.isChinese?"".concat(r).concat(t).concat(o," \xb7 ").concat(n):"".concat(o).concat(t).concat(r," \xb7 ").concat(n)}static isExpired(e){let t=new Date;return Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())>e.date.getTime()}static getSimpleDateStringCN(e){if(this.isExpired(e))return this.localization.expired;if(new Date().getFullYear()===e.date.getFullYear()){let t=(e.date.getMonth()+1).toString().padStart(2,"0"),r=e.date.getDate().toString().padStart(2,"0");return"".concat(t,"-").concat(r)}{let t=e.date.getFullYear(),r=(e.date.getMonth()+1).toString().padStart(2,"0"),n=e.date.getDate().toString().padStart(2,"0");return"".concat(t,"-").concat(r,"-").concat(n)}}static getSimpleDateStringUS(e){if(this.isExpired(e))return this.localization.expired;if(new Date().getFullYear()===e.date.getFullYear()){let t=(e.date.getMonth()+1).toString().padStart(2,"0"),r=e.date.getDate().toString().padStart(2,"0");return"".concat(t,"/").concat(r)}{let t=e.date.getFullYear(),r=(e.date.getMonth()+1).toString().padStart(2,"0"),n=e.date.getDate().toString().padStart(2,"0");return"".concat(t,"/").concat(r,"/").concat(n)}}static getSimpleDateStringWithoutYearUS(e){let t=(e.date.getMonth()+1).toString().padStart(2,"0"),r=e.date.getDate().toString().padStart(2,"0");return"".concat(t,"/").concat(r)}static equals(e,t){return e.symbol===t.symbol&&e.dateString===t.dateString&&e.date.getTime()===t.date.getTime()&&e.price===t.price&&e.o
20ptionType===t.optionType&&e.underlying===t.underlying}}).defaultLanguageConfig={isChinese:!0,spacer:" "},a.defaultLocalization={babyBull:"小牛",babyBear:"小熊",betterBuy:"抄底宝",over:"涨过",below:"跌过",buyAction:"买入",positionBuyPrice:"Buy",optionOver:"Call",optionBelow:"Put",expired:"已过期"},a.languageConfig=a.defaultLanguageConfig,a.localization=a.defaultLocalization,a),oi=class{static parseFromSymbol(e){if(!(e.length<27))try{let t,r;let n=e.substring(0,6).trim(),o=e.substring(6),i=o.substring(0,6);if(!/^\d{6}$/.test(i))return;let a=i,s=2e3+parseInt(a.substring(0,2)),u=parseInt(a.substring(2,4))-1,l=parseInt(a.substring(4,6)),d=new Date(s,u,l);if(d.getFullYear()!==s||d.getMonth()!==u||d.getDate()!==l)return;let c=o.substring(6,7),p=ot.fromShort(c);if(!p)return;let h=o.substring(7,15);if(!/^\d{8}$/.test(h))return;let f=parseFloat(h);if(isNaN(f))return;let m=f/1e3,g=o.substring(12,15);if(t=0===parseInt(g)?Math.floor(m).toString():m.toString(),o.includes("|")){let e=o.split("|");if(2!==e.length||5!==e[1].length)return;r=e[1]}else r=o.substring(15,20);let y=on.fromRawValue(r);if(!y)return;return{symbol:n,dateString:a,date:d,price:t,optionType:p,underlying:y}}catch(e){return}}static create(e,t,r,n,o,i){return{symbol:e,dateString:t,date:r,price:n,optionType:o,underlying:i}}},oa={day:"com.betterbuy.common.day_singular",days:"com.betterbuy.common.day_plural",today:"com.betterbuy.common.today",tomorrow:"com.betterbuy.common.tomorrow"},os={babyBull:"com.asset.position.function.button.babyBull",babyBear:"com.asset.position.function.button.babyBear",betterBuy:"com.asset.position.function.button.betterBuy",over:"com.OptionBullBearListController.over",below:"com.OptionBullBearListController.below",buyAction:"com.optionDetail.buyAction.title",positionBuyPrice:"better.buy.choice.betterBuy.positionBuyPrice.title",optionOver:"position.option.share.over",optionBelow:"position.option.share.below",expired:"com.tradegpt2.detail.card.BullBear.expired"},ou={babyBull:"bullbear",babyBear:"bullbear",betterBuy:"betterbuy",over:"bullbear",below:"bullbear",buyAction:"bullbear",positionBuyPrice:"bullbear",optionOver:"bullbear",optionBelow:"bullbear",expired:"bullbear"};function ol(e){return(null!=e?e:"").toLowerCase().startsWith("zh")}function od(e){return ol(e)?"":" "}var oc=((s=class{static getApplicableStep(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];for(let r of t?this.ETF_RULES:this.STOCK_RULES)if(e>=r.minPrice&&(void 0===r.maxPrice||e<r.maxPrice))return r.step}static validatePrice(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{let r=new u.A(e);if(r.isNegative())return{isValid:!1,error:"价格不能为负数",originalPrice:e};let n=r.toNumber(),o=this.getApplicableStep(n,t);if(void 0===o||o<=0)return{isValid:!1,error:"无法确定适用的价格步长规则",originalPrice:e};let i=r.mul(1e4),a=new u.A(o).mul(1e4);if(!i.mod(a).isZero())return{isValid:!1,error:"价格必须是 ".concat(this.formatStep(o)," 的整数倍"),originalPrice:e,expectedStep:o,suggestedPrices:this.getSuggestedPrices(n,o)};return{isValid:!0,originalPrice:e,validatedPrice:n,appliedStep:o}}catch(t){return{isValid:!1,error:"无效的价格格式",originalPrice:e}}}static adjustPrice(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.getApplicableStep(e,t);if(void 0!==r)return Math.round(e/r)*r}static getSuggestedPrices(e,t){let r=Math.floor(e/t),n=Math.ceil(e/t),o=[];return r>0&&o.push(r*t),n!==r&&o.push(n*t),o.map(e=>Math.round(e/t)*t)}static formatStep(e){return new u.A(e).toFixed()}static getAllRules(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?[...this.ETF_RULES]:[...this.STOCK_RULES]}static isPriceInRange(e,t,r){return!(e<t)&&(void 0===r||!(e>=r))}}).STOCK_RULES=[{minPrice:0,maxPrice:.25,step:.001},{minPrice:.25,maxPrice:.5,step:.005},{minPrice:.5,maxPrice:10,step:.01},{minPrice:10,maxPrice:20,step:.01},{minPrice:20,maxPrice:50,step:.02},{minPrice:50,maxPrice:100,step:.05},{minPrice:100,maxPrice:200,step:.1},{minPrice:200,maxPrice:500,step:.2},{minPrice:500,maxPrice:1e3,step:.5},{minPrice:1e3,maxPrice:2e3,step:1},{minPrice:2e3,maxPrice:5e3,step:2},{minPrice:5e3,step:5}
20],s.ETF_RULES=[{minPrice:0,maxPrice:1,step:.001},{minPrice:1,maxPrice:5,step:.002},{minPrice:5,maxPrice:10,step:.005},{minPrice:10,maxPrice:20,step:.01},{minPrice:20,maxPrice:100,step:.02},{minPrice:100,maxPrice:200,step:.05},{minPrice:200,maxPrice:500,step:.1},{minPrice:500,maxPrice:1e3,step:.2},{minPrice:1e3,maxPrice:2e3,step:.5},{minPrice:2e3,step:1}],s),op=(e=>(e.UNKNOWN="unknown",e.HK="HK",e.US="US",e.SZ="SZ",e.SH="SH",e))(op||{}),oh=(e=>(e.USD="USD",e.HKD="HKD",e.CNH="CNH",e.EUR="EUR",e))(oh||{}),of={OSUS:"US",US:"US",HK:"HK",SH:"SH",SZ:"SZ"},om="OSUS",og=(e,t)=>{let r=e.toUpperCase(),n=t.toUpperCase();return r===om&&n.endsWith("OSUSS")},oy=(e,t)=>{let r=e.toUpperCase(),n=t.toUpperCase();return r===om&&!n.endsWith("OSUSS")},ob="PINK",ov=e=>"string"==typeof e&&e.trim().toUpperCase()===ob,oS=class{static getType(e){var t;return null!==(t=of[e.market.toUpperCase()])&&void 0!==t?t:"unknown"}static getCurrencyType(e){switch(this.getType(e)){case"HK":return"HKD";case"SZ":case"SH":return"CNH";default:return"USD"}}static getLotSize(e){if(e.lotSize)return e.lotSize;let t=this.getType(e);return new u.W("US"===t?"0.001":"HK"===t?100:1)}static supportsOddLot(e){return e.lotSize?e.lotSize.lt(1):this.getLotSize(e).lt(1)}static isBetterBuy(e){return og(e.market,e.symbol)}static isOption(e){return oy(e.market,e.symbol)}static isEtf(e){return 1===e.stockType}static getAskPrice(e){return e.askPrice}static getBidPrice(e){return e.bidPrice}static getTradePrice(e){return e.tradePrice}},o_=(e=>(e.UNKNOWN="unknown",e.PRE_MARKET="previous",e.TRADING="trading",e.LUNCH_TIME="lunchTime",e.POST_MARKET="post",e.HOLIDAY="holiday",e.GREY_MARKET="greyMarket",e))(o_||{}),ow=(e=>(e[e.UNAVAILABLE=0]="UNAVAILABLE",e[e.GREY_MARKET_QUOTE_ONLY=1]="GREY_MARKET_QUOTE_ONLY",e[e.GREY_MARKET_TRADING_ONLY=2]="GREY_MARKET_TRADING_ONLY",e[e.IPO_SUBSCRIPTION_ONLY=3]="IPO_SUBSCRIPTION_ONLY",e[e.ALL_SUPPORT=4]="ALL_SUPPORT",e))(ow||{});function ox(e){return 2===e||4===e}function oT(e){return void 0!==e.ipoPermission&&null!==e.ipoPermission?ox(e.ipoPermission):e.greyMarketTrading}function oE(e){let t=Date.now(),r=t>=e.greyMarketTradingStartTime&&t<e.listingTime;return void 0!==e.ipoPermission&&null!==e.ipoPermission?ox(e.ipoPermission)&&r:e.greyMarketTrading&&r}var oP=(e=>(e.SELL="sell",e.BUY="buy",e.NONE="none",e))(oP||{}),ok=e=>{let t=new u.W(e);return t.isZero()?{type:"none"}:t.isPositive()?{type:"sell",share:t}:{type:"buy",share:t}},oD=(e=>(e.CLOSE_TRADE_MAX="closeTradeMaxShare",e.OPEN_TRADE_MARGIN_MAX="openTradeMarginMaxShare",e.OPEN_TRADE_CASH_MAX="openTradeCashMaxShare",e))(oD||{}),oA=(e=>(e.CASH="cash",e.MARGIN="margin",e))(oA||{}),oO=e=>"cash"===e.type,oN=e=>{let t=e.amount.abs();return oO(e)?{type:"openTradeCashMaxShare",share:t}:{type:"openTradeMarginMaxShare",share:t}},oC=e=>{let t=e.amount.abs().floor();return oO(e)?{type:"openTradeCashMaxShare",share:t}:{type:"openTradeMarginMaxShare",share:t}},o$=(e=>(e.CASH="cash",e.MARGIN="margin",e))(o$||{}),oM=(e,t)=>{if(t.value.isZero())return null;let r=e.amount.times(t.value);switch(e.type){case"cash":return{type:"cash",amount:r};case"margin":return{type:"margin",amount:r}}},oI=(e=>(e[e.UNKNOWN=0]="UNKNOWN",e[e.CASH=1]="CASH",e[e.MARGIN=2]="MARGIN",e))(oI||{}),oL=(e=>(e[e.LONG=0]="LONG",e[e.SHORT=1]="SHORT",e))(oL||{}),oR=new u.W(0),oF=e=>{if(null!=e){if(e instanceof u.W)return e;if("string"==typeof e){let t=e.trim();if(0===t.length)return;try{let e=new u.W(t);return e.isFinite()?e:void 0}catch(e){return}}if("object"==typeof e&&null!==e&&"function"==typeof e.toString)try{let t=e.toString().trim();if(0===t.length)return;let r=new u.W(t);return r.isFinite()?r:void 0}catch(e){return}try{let t=new u.W(e);return t.isFinite()?t:void 0}catch(e){return}}},oB=e=>{var t;return null!==(t=oF(e))&&void 0!==t?t:oR},oU=e=>{if(!e)return{};let t={};for(let[r,n]of Object.entries(e)){let e=oF(null!=n?n:void 0);void 0!==e&&(t[r]=e)}return t},oj=e=>{if("number"==typeof e&&Number.isFinite(e))return e;if("string"==typeof e){let t=e.trim();if(0===t.length)return;let r=Number(t);return Number.isFinite(r)?r:void 0}if(e instanceof u.W){let t=e.toNumber();return Number.isFinite(t)?t:void 0}},oV=e=>{if("boolean"==typeof e)return e;if("number"==typeof e)return 0!==e;if("string"==typeof e){let t=e.trim().toLowerCase();if("1"===t||"true"===t||"yes"===t)return!0}return!1},oz=e=>null==e?"":"string"==typeof e?e:String(e),oH=e=>
20{let t=oj(e);return 1===t?1:2===t?2:0},oW=e=>1===oj(e)?1:0,oG=e=>{var t,r,n,o,i,a,s;let u=null!=e?e:{};return{userId:oz(u.userId),brokerAccountId:oz(u.brokerAccountId),currency:null!==(t=u.currency)&&void 0!==t?t:"",cashBalance:oB(null!==(r=u.cashBalance)&&void 0!==r?r:void 0),withdrawableCash:oB(null!==(n=u.withdrawableCash)&&void 0!==n?n:void 0),exchangeRate:oB(null!==(o=u.exchangeRate)&&void 0!==o?o:void 0),loanableFunds:oB(null!==(i=u.loanableFunds)&&void 0!==i?i:void 0),withdrawLimit:oB(null!==(a=u.withdrawLimit)&&void 0!==a?a:void 0),marginTrading:oB(null!==(s=u.marginTrading)&&void 0!==s?s:void 0)}},oq=e=>{var t,r,n,o,i,a,s,u,l,d,c,p,h,f,m,g,y,b,v,S,_;let w=null!=e?e:{};return{positionId:oz(w.positionId),symbol:null!==(t=w.symbol)&&void 0!==t?t:"",currency:null!==(r=w.currency)&&void 0!==r?r:"",userId:oz(w.userId),brokerAccountId:oz(w.brokerAccountId),availableQuantity:oB(null!==(n=w.availableQuantity)&&void 0!==n?n:void 0),quantity:oB(null!==(o=w.quantity)&&void 0!==o?o:void 0),openingQuantity:oB(null!==(i=w.openingQuantity)&&void 0!==i?i:void 0),cost:oB(null!==(a=w.cost)&&void 0!==a?a:void 0),openPrice:oB(null!==(s=w.openPrice)&&void 0!==s?s:void 0),lastPrice:oB(null!==(u=w.lastPrice)&&void 0!==u?u:void 0),marketValue:oB(null!==(l=w.marketValue)&&void 0!==l?l:void 0),profit:oB(null!==(d=w.profit)&&void 0!==d?d:void 0),profitPercent:oB(null!==(c=w.profitPercent)&&void 0!==c?c:void 0),settlePositionT1:oB(null!==(p=w.settlePositionT1)&&void 0!==p?p:void 0),settlePositionT2:oB(null!==(h=w.settlePositionT2)&&void 0!==h?h:void 0),settledPosition:oB(null!==(f=w.settledPosition)&&void 0!==f?f:void 0),todayBuyQuantity:oB(null!==(m=w.todayBuyQuantity)&&void 0!==m?m:void 0),todaySellQuantity:oB(null!==(g=w.todaySellQuantity)&&void 0!==g?g:void 0),frozenNumber:oB(null!==(y=w.frozenNumber)&&void 0!==y?y:void 0),open:oB(null!==(b=w.open)&&void 0!==b?b:void 0),instrument:null!==(v=oj(w.instrument))&&void 0!==v?v:0,side:oW(w.side),positionChangeType:null!==(S=oj(w.positionChangeType))&&void 0!==S?S:0,market:null!==(_=w.market)&&void 0!==_?_:""}},oY=e=>{var t,r,n,o,i,a,s,u,l,d,c,p,h,f,m,g,y,b,v,S,_,w,x,T,E,P,k,D,A,O,N,C,$,M,I,L,R,F;let B=null!=e?e:{},U=Array.isArray(B.ledgers)?B.ledgers.map(oG):[],j=Array.isArray(B.positions)?B.positions.map(oq):[],V=B.availableFunds,z=oB(null!=V?V:void 0),H=null!==(t=B.currency)&&void 0!==t?t:"";return{accountId:oz(B.accountId),userId:oz(B.userId),brokerAccountId:oz(B.brokerAccountId),accountName:null!==(r=B.accountName)&&void 0!==r?r:"",accountStatus:null!==(n=oj(B.accountStatus))&&void 0!==n?n:0,accountType:oH(B.accountType),currency:H,totalAssets:oB(null!==(o=B.totalAssets)&&void 0!==o?o:void 0),totalCashValue:oB(null!==(i=B.totalCashValue)&&void 0!==i?i:void 0),grossPositionValue:oB(null!==(a=B.grossPositionValue)&&void 0!==a?a:void 0),grossProfitPercent:oB(null!==(s=B.grossProfitPercent)&&void 0!==s?s:void 0),dailyAssetChangePercent:oB(null!==(u=B.dailyAssetChangePercent)&&void 0!==u?u:void 0),dailyAssetChange:oB(null!==(l=B.dailyAssetChange)&&void 0!==l?l:void 0),accruedCash:oB(null!==(d=B.accruedCash)&&void 0!==d?d:void 0),accruedDividend:oB(null!==(c=B.accruedDividend)&&void 0!==c?c:void 0),buyingPower:oB(null!==(p=B.buyingPower)&&void 0!==p?p:void 0),availableFunds:z,withdrawableCash:oB(null!==(h=B.withdrawableCash)&&void 0!==h?h:void 0),availableCash:oU(null!==(f=B.availableCash)&&void 0!==f?f:void 0),cashBuyingPowers:oU(null!==(m=B.cashBuyingPowers)&&void 0!==m?m:void 0),frozenNumbers:oU(null!==(g=B.frozenNumbers)&&void 0!==g?g:void 0),initialMargin:oB(null!==(y=B.initialMargin)&&void 0!==y?y:void 0),maintenanceMargin:oB(null!==(b=B.maintenanceMargin)&&void 0!==b?b:void 0),marginDeficit:oB(null!==(v=B.marginDeficit)&&void 0!==v?v:void 0),accruedTotal:oB(null!==(S=B.accruedTotal)&&void 0!==S?S:void 0),tenant:oB(null!==(_=B.tenant)&&void 0!==_?_:void 0),mmRiskRatio:oB(null!==(w=B.mmRiskRatio)&&void 0!==w?w:void 0),grossMoneyBoxValue:oB(null!==(x=B.grossMoneyBoxValue)&&void 0!==x?x:void 0),moneyBoxTotalProfit:oB(null!==(T=B.moneyBoxTotalProfit)&&void 0!==T?T:void 0),moneyBoxCashInTransmit:oB(null!==(E=B.moneyBoxCashInTransmit)&&void 0!==E?E:void 0),grossStockValue:oB(null!==(P=B.grossStockValue)&&void 0!==P?P:void 0),grossOptionValue:oB(null!==(k=B.grossOptionValue)&&void 0!==k?k:void 0),todayProfitAndLoss:oB(null!==(D=B.todayProfitAndLoss)&&void 0!==D?D:void 0),todayProfitAndLossRate:oB(null!==(A=B.todayProfitAndLossRate)&&void 0!==A?A:void 0),yesterdayProfitAndLoss:oB(null!==(O=B.yesterdayProfitAndLoss)&&void 0!==O?O:void 0),accumulatedProfitAndLoss:oB(null!==(N=B.accumulatedProfitAndLoss)&&void 0!==N?N:void 0),netLiquidationValue:oB(null!==(C=B.netLiquidationValue)&&void 0!==C?C:void 0),yesterdayNetLiquidationValue:oB(null!==($=B.yesterdayNetLiquidationValue)&&void 0!==$?$:void 0),beforeYesterdayNetLiquidationValue:oB(null!==(M=B.beforeYesterdayNetLiquidationValue)&&void 0!==M?M:void 0),accumulatedDeposit:oB(null!==(I=B.accumulatedDeposit)&&void 0!==I?I:void 0),accumulatedWithdrawal:oB(null!==(L=B.accumulatedWithdrawal)&&void 0!==L?L:void 0),yesterdayProfitAndLossRate:oB(null!==(R=B.yesterdayProfitAndLossRate)&&void 0!==R?R:void 0),leverageRatio:oB(null!==(F=B.leverageRatio)&&void 0!==F?F:void 0),todayProfitUpdate:oV(B.todayProfitUpdate),ledgers:U,positions:j}},oK=e=>{var t,r;let n=null!=e?e:{},o=null!==(r=null===(t=n.broker)||void 0===t?void 0:t.account)&&void 0!==r?r:[],i=Array.isArray(o)?o.map(oY):[],a=i[0];return{accountId:oz(n.accountId),userId:null==a?void 0:a.userId,currency:null==a?void 0:a.currency,availableFunds:null==a?void 0:a.availableFunds,leverageRatio:null==a?void 0:a.leverageRatio,accounts:i,ledgers:i.flatMap(e=>e.ledgers)}},oZ=e=>{if(!e||"object"!=typeof e)return!1;let t=e;return void 0!==t.cashBuyingPowers&&void 0!==t.availableFunds},oJ=e=>Array.isArray(e)?e:oZ(e)?[e]:Array.isArray(e.accounts)?e.accounts:[],oX=(e,t,r)=>{if(!t)return oR;let n=[t,t.toUpperCase(),t.toLowerCase()];for(let t of oJ(e)){let e=r(t);for(let t of n){let r=e[t];if(void 0!==r)return r}}return oR},oQ=function(e,t){var r;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(!t)return oR;let o=oJ(e).find(e=>e.currency===t);if(!o)return oR;let i=null!==(r=oF(n))&&void 0!==r?r:new u.W(1);return i.isZero()?oR:o.availableFunds.dividedBy(i)},o0=(e,t)=>oX(e,t,e=>
20e.cashBuyingPowers),o1=class e extends Error{constructor(t,r,n,o,i,a){super(o2(t,r,n,o,i,a)),this.reason=t,this.accountType=r,this.currency=n,this.required=o,this.available=i,this.marginRate=a,this.name="PortfolioAffordabilityError",Object.setPrototypeOf(this,e.prototype)}},o2=(e,t,r,n,o,i)=>{var a,s,u;let l=null!==(a=oI[t])&&void 0!==a?a:"UNKNOWN",d=r||"N/A",c="INVALID_REQUIREMENT"===e?"invalid requirement":"UNSUPPORTED_ACCOUNT_TYPE"===e?"unsupported account type":"insufficient funds",p=["Affordability check failed (".concat(c,")"),"account=".concat(l),"currency=".concat(d)];return"UNSUPPORTED_ACCOUNT_TYPE"!==e&&(p.push("required=".concat(null!==(s=null==n?void 0:n.toString())&&void 0!==s?s:"N/A")),p.push("available=".concat(null!==(u=null==o?void 0:o.toString())&&void 0!==u?u:"N/A"))),i&&p.push("marginRate=".concat(i.toString())),p.join(" ")},o3=class{get portfolio(){return this.data}get accountType(){var e,t;return null!==(t=null===(e=this.data.accounts[0])||void 0===e?void 0:e.accountType)&&void 0!==t?t:0}minAvailableFunds(e){return o0(this.data,e)}maxAvailableFunds(e,t){return oQ(this.data,e,t)}isAffordable(e){return 1===this.accountType?this.isCashAccountAffordable(e):2===this.accountType?this.isMarginAccountAffordable(e):{ok:!1,error:new o1("UNSUPPORTED_ACCOUNT_TYPE",this.accountType,this.resolveCurrency(e))}}isCashAccountAffordable(e){let t=this.resolveCurrency(e);if(1!==this.accountType)return{ok:!1,error:new o1("UNSUPPORTED_ACCOUNT_TYPE",this.accountType,t)};let r=this.requirementForUnderlying(e,t);if(!r.ok)return{ok:!1,error:r.error};let n=r.value,o=this.minAvailableFunds(t);return o.isZero()||o.lessThan(n)?{ok:!1,error:new o1("INSUFFICIENT_FUNDS",this.accountType,this.resolveCurrency(e),n,o)}:{ok:!0,value:!0}}isMarginAccountAffordable(e){let t=this.resolveCurrency(e);if(2!==this.accountType)return{ok:!1,error:new o1("UNSUPPORTED_ACCOUNT_TYPE",this.accountType,t)};let r=this.requirementForUnderlying(e,t);if(!r.ok)return{ok:!1,error:r.error};let n=r.value,o=this.maxAvailableFunds(t,e.marginRate);return o.isZero()||o.lessThan(n)?{ok:!1,error:new o1("INSUFFICIENT_FUNDS",this.accountType,t,n,o,e.marginRate)}:{ok:!0,value:!0}}buyingPowers(e,t,r){if("openLong"!==t&&"openShort"!==t)return[];let n=e.currency||e.backupCurrency,o=this.minAvailableFunds(n);if(0===r){if(1===this.accountType)return[{type:"cash",amount:o}];if(2===this.accountType)return[{type:"margin",amount:this.maxAvailableFunds(n,e.marginRate)},{type:"cash",amount:o}]}return[{type:"margin",amount:oR}]}sellingPowers(e){let t=e.currency||e.backupCurrency;return 1===this.accountType?{type:"cash",amount:this.minAvailableFunds(t)}:2===this.accountType?{type:"margin",amount:this.maxAvailableFunds(t,e.marginRate)}:null}resolveCurrency(e){return e.currency||e.backupCurrency||""}requirementForUnderlying(e,t){let r=e.currentPrice.mul(e.lotSize);return!r.isFinite()||r.isZero()||r.isNegative()?{ok:!1,error:new o1("INVALID_REQUIREMENT",this.accountType,t)}:{ok:!0,value:r}}constructor(e){this.data=e}},o4=new u.W(0),o5=e=>{if(e.isZero())return new u.W(0);let t=e.abs();for(;t.gt(200);)t.toString(),t=t.div(10);return t},o9=(e,t)=>{let{isOddLotSupported:r}=e.underlying,n=e.underlying.lotSize,o=t.isInteger()&&n.isInteger(),i=o&&t.mod(n).isZero(),a=o&&t.div(n).lte(1e3);if(!r&&o&&i&&a)return n;let s=new u.W(1e4),l=n.times(s);if(l.lte(0))return o4;let d=t.times(s).div(l).toDecimalPlaces(0,u.W.ROUND_DOWN),c=o5(d);if(c.lte(0))return o4;let p=d.div(c).toDecimalPlaces(0,u.W.ROUND_DOWN).times(l),h=new u.W(1);for(;p.div(h).gt(1);)h.toString(),h=h.times(10);return h.div(s)},o8=(e,t)=>{let r="openShort"===t.positionAction||"closeShort"===t.positionAction,n=r?e.toDecimalPlaces(0,u.W.ROUND_DOWN):e;if(!n||n.lte(0))return[0,1];let o=o9(t,n);if(o.lte(0))return[0,1];let i=r?o.toDecimalPlaces(0,u.W.ROUND_DOWN):o,a=i.lte(0)?new u.W(1):i,s=[],l=o4;for(;l.lt(n);){let e=(r?l.toDecimalPlaces(0,u.W.ROUND_DOWN):l).div(n).toNumber();s.push(e),l=l.plus(a)}return s.push(1),s},o6=class{hasValidAssetInformation(){return this.information}async queryUserAssetIfNecessary(){if(!await this.canQueryAssets())return this.portfolio;let e=this.options.getCurrentUserId();if(!e)return this.portfolio;if(this.inflight)return this.inflight;let t=this.loadAndCache(e);this.inflight=t;try{return await t}finally{this.inflight=void 0}}async canQueryAssets(){if(!this.options.canQueryAssets)return!0;try{return await this.options.canQueryAssets()}catch(e){return this.handleError(e),!1}}async loadAndCache(e){try{var t;let r=await this.options.assetService.loadUserAssets(e),n=null!==(t=this.options.informationFactory)&&void 0!==t?t:e=>new o3(e);return this.portfolio=r.portfolio,this.information=n(r.portfolio),this.portfolio}catch(e){throw this.handleError(e),e}}handleError(e){this.options.onError&&this.options.onError(e)}constructor(e){var t;this.options=e,this.information=e.initialInformation,this.portfolio=null===(t=e.initialInformation)||void 0===t?void 0:t.portfolio}},o7=new u.W(0),ie=e=>{if(null!=e){if(e instanceof u.W)return e;if("string"==typeof e){let t=e.trim();if(0===t.length)return;try{let e=new u.W(t);return e.isFinite()?e:void 0}catch(e){return}}try{let t=new u.W(e);return t.isFinite()?t:void 0}catch(e){return}}},it=e=>{var t;return null!==(t=ie(e))&&void 0!==t?t:o7},ir=e=>{if("number"==typeof e&&Number.isFinite(e))return e;if("string"==typeof e){let t=e.trim();if(0===t.length)return;let r=Number(t);return Number.isFinite(r)?r:void 0}},io=e=>{switch(e){case"DEPOSIT_REWARD":return"DEPOSIT_REWARD";case"INVITER_REWARD":return"INVITER_REWARD";case"INVITEE_REWARD":return"INVITEE_REWARD";default:return"OTHER"}},ii=e=>null==e?new u.W(0):u.W.max(it(e),0),ia=e=>ii(e.nonWithdrawableQuantity).gt(0),is=e=>{var t;let r=(null!==(t=e.frozenRewards)&&void 0!==t?t:[]).map(e=>{var t,r;return{reason:io(null==e?void 0:e.reason),quantity:u.W.max(it(null==e?void 0:e.frozenQuantity),0),unfreezeTime:null!==(t=ir(null==e?void 0:e.unfreezeTime))&&void 0!==t?t:null,currency:null!==(r=null==e?void 0:e.currency)&&void 0!==r?r:null}}).filter(e=>e.quantity.gt(0)),n=e.nonWithdrawableQuantity;return{quantity:null==n?r.reduce((e,t)=>
20e.plus(t.quantity),new u.W(0)):ii(n),rewards:r}},iu=class e extends Error{constructor(t,r,n){super(r),this.reason=t,this.cause=n,this.name="LoadPositionError",Object.setPrototypeOf(this,e.prototype)}},il=class e extends Error{constructor(t,r){super(t),this.cause=r,this.name="QueryPendingOrderError",Object.setPrototypeOf(this,e.prototype)}},id=new u.W(0),ic=e=>{if(null==e)return id;try{let t=new u.W(e);return t.isFinite()?t:id}catch(e){return id}},ip=e=>{if("number"==typeof e&&Number.isFinite(e))return e;if("string"==typeof e){let t=e.trim();if(0===t.length)return;let r=Number(t);return Number.isFinite(r)?r:void 0}},ih=e=>null!==e&&"object"==typeof e&&"toString"in e&&"function"==typeof e.toString,im=e=>null==e?null:"string"==typeof e?e:"number"==typeof e?String(e):ih(e)?e.toString():String(e),ig=class{async getAllPendingOrdersList(e){try{let t=(await this.options.remote.fetchAllUnfilledStockAndOptionOrders(e)).filter(t=>{var r;return(null===(r=t.symbol)||void 0===r?void 0:r.trim())===e.trim()}),r=t.filter(e=>e.parentOrderId),n=t.filter(e=>!e.parentOrderId),o=r.reduce((e,t)=>{let r=t.parentOrderId,n=im(r);return null===n||(e.has(n)||e.set(n,[]),e.get(n).push(t)),e},new Map),i=Array.from(o.values()).map(e=>e.reduce((e,t)=>{let r=ic(e.quantity).minus(ic(e.filledQuantity));return ic(t.quantity).minus(ic(t.filledQuantity)).greaterThan(r)?t:e})),a=[...n,...i];return{ok:!0,value:a}}catch(e){return{ok:!1,error:new il("Failed to query pending orders list",e)}}}async allPendingOrders(e){try{let t=await this.options.remote.fetchAllUnfilledStockAndOptionOrders(e);if(!Array.isArray(t))return this.fail("Pending order list is empty");let r=this.consolidateOcoOrders(t,e),n=e.trim(),o=r.reduce((e,t)=>{var r;if(!t)return e;let o=null===(r=t.symbol)||void 0===r?void 0:r.trim();if(!o||o!==n)return e;let i=ip(t.side);if(0!==i&&1!==i)return e;let a=ic(t.quantity),s=ic(t.filledQuantity),u=a.minus(s);return u.isZero()?e:0===i?e.plus(u):e.minus(u)},id);return{ok:!0,value:ok(o)}}catch(e){return this.fail("Failed to query pending orders",e)}}async getUnfilledOrders(e){try{let t=await this.options.remote.fetchAllUnfilledStockAndOptionOrders(e);if(!Array.isArray(t)||0===t.length)return{ok:!0,value:{buy:id,sell:id}};let r=this.consolidateOcoOrders(t,e),n=e.trim(),o=r.reduce((e,t)=>{var r;if(!t||(null===(r=t.symbol)||void 0===r?void 0:r.trim())!==n)return e;let o=ip(t.side);if(0!==o&&1!==o)return e;let i=ic(t.quantity),a=ic(t.filledQuantity),s=i.minus(a);return s.lte(0)||(0===o?e.buy=e.buy.plus(s):1===o&&i.gt(0)&&(e.sell=e.sell.plus(s))),e},{buy:id,sell:id});return{ok:!0,value:o}}catch(n){var t,r;let e=new il("Failed to query unfilled orders",n);return null===(t=(r=this.options).onError)||void 0===t||t.call(r,e),{ok:!1,error:e}}}fail(e,t){let r=new il(e,t);return this.options.onError&&this.options.onError(r),{ok:!1,error:r}}consolidateOcoOrders(e,t){let r=e.filter(e=>{let t=null!==e.parentOrderId&&void 0!==e.parentOrderId;return t&&im(e.parentOrderId),t});return[...e.filter(e=>!e.parentOrderId),...Array.from(r.reduce((e,t)=>{let r=t.parentOrderId;if(null!=r){let n=im(r);if(null===n)return e;e.has(n)||e.set(n,[]),e.get(n).push(t)}return e},new Map).values()).map(e=>e.reduce((e,t)=>{let r=ic(e.quantity).minus(ic(e.filledQuantity));return ic(t.quantity).minus(ic(t.filledQuantity)).greaterThan(r)?t:e}))]}constructor(e){this.options=e}},iy=class{async refreshStockDetail(e,t){var r,n,o,i,a,s,u,l,d,c,p,h;Date.now();let f=Error().stack;null==f||null===(r=f.split("\n")[2])||void 0===r||r.trim();let[m,g]=await Promise.all([this.remote.fetchLatestTick(e,t),this.remote.fetchQuote(e,t)]),y=this.composeStock(e,t,m,g);return y.tradePrice.isZero()&&console.warn("[UNSUPPORTED] stock.tradePrice is zero after refreshStockDetail",{symbol:t,market:e,tickTradePrice:null!==(d=null===(n=m.tradePrice)||void 0===n?void 0:n.toString())&&void 0!==d?d:"undefined",tickAskPrice:null!==(c=null===(o=m.askPrice)||void 0===o?void 0:o.toString())&&void 0!==c?c:"undefined",tickBidPrice:null!==(p=null===(i=m.bidPrice)||void 0===i?void 0:i.toString())&&void 0!==p?p:"undefined",tickClose:null!==(h=null===(a=m.close)||void 0===a?void 0:a.toString())&&void 0!==h?h:"undefined",stockTradePrice
20:y.tradePrice.toString(),stockAskPrice:null===(s=y.askPrice)||void 0===s?void 0:s.toString(),stockBidPrice:null===(u=y.bidPrice)||void 0===u?void 0:u.toString(),stockClose:null===(l=y.close)||void 0===l?void 0:l.toString(),method:"refreshStockDetail"}),{stock:y,tick:m,quote:g}}async checkHasBetterBuyProducts(e){var t,r;let n=await this.remote.checkBetterBuyProducts(e);return null!==(r=iS(null!==(t=n.hasBetterBuys)&&void 0!==t?t:n.hasBetterBuy))&&void 0!==r&&r}composeStock(e,t,r,n){var o,i,a,s,u,l,d,c,p,h,f,m,g,y,b,v,S,_,w,x,T;let E={market:null!==(o=n.market)&&void 0!==o?o:e,symbol:null!==(a=null!==(i=n.symbol)&&void 0!==i?i:r.symbol)&&void 0!==a?a:t,askPrice:iv(r.askPrice),askSize:r.askSize,bidPrice:iv(r.bidPrice),bidSize:r.bidSize,changeAmount:iv(r.changeAmount),changePercent:iv(r.changePercent),high:iv(r.high),low:iv(r.low),open:iv(r.open),openInterest:r.openInterest,previousClose:iv(r.previousClose),timestamp:r.timestamp,tradePrice:iv(r.tradePrice),tradeSize:r.tradeSize,volume:r.volume};E.tradePrice.isZero()&&console.warn("[UNSUPPORTED] tradePrice is zero in composeStock",{symbol:E.symbol,market:E.market,tickTradePrice:null!==(h=null===(s=r.tradePrice)||void 0===s?void 0:s.toString())&&void 0!==h?h:"undefined",tickTradePriceType:typeof r.tradePrice,tickTradePriceIsNull:null===r.tradePrice,tickTradePriceIsUndefined:void 0===r.tradePrice,tickAskPrice:null!==(f=null===(u=r.askPrice)||void 0===u?void 0:u.toString())&&void 0!==f?f:"undefined",tickBidPrice:null!==(m=null===(l=r.bidPrice)||void 0===l?void 0:l.toString())&&void 0!==m?m:"undefined",tickClose:null!==(g=null===(d=r.close)||void 0===d?void 0:d.toString())&&void 0!==g?g:"undefined",stockTradePrice:E.tradePrice.toString(),stockAskPrice:null===(c=E.askPrice)||void 0===c?void 0:c.toString(),stockBidPrice:null===(p=E.bidPrice)||void 0===p?void 0:p.toString(),method:"composeStock"});let P=ib(r.close);P&&(E.close=P);let k=ib(r.dailyProfit);k&&(E.dailyProfit=k),void 0!==r.source&&(E.source=null!==(y=r.source)&&void 0!==y?y:void 0),void 0!==n.appId&&(E.appId=n.appId),void 0!==n.category&&(E.category=n.category),void 0!==n.currency&&(E.currency=null!==(b=n.currency)&&void 0!==b?b:void 0);let D=ib(n.dividendYield);D&&(E.dividendYield=D),void 0!==n.exchange&&(E.exchange=null!==(v=n.exchange)&&void 0!==v?v:void 0);let A=iS(n.hasOptions);void 0!==A&&(E.hasOptions=A);let O=iS(n.hasBetterBuys);void 0!==O&&(E.hasBetterBuys=O),void 0!==n.instrument&&(E.instrument=n.instrument),void 0!==n.logo&&(E.logo=null!==(S=n.logo)&&void 0!==S?S:void 0);let N=ib(n.longMargin);N&&(E.longMargin=N);let C=ib(n.lotSize);C&&(E.lotSize=C);let $=ib(n.marginRate);$&&(E.marginRate=$);let M=ib(n.marketCap);M&&(E.marketCap=M),void 0!==n.marketName&&(E.marketName=null!==(_=n.marketName)&&void 0!==_?_:void 0),void 0!==n.multiplier&&(E.multiplier=n.multiplier),void 0!==n.name&&(E.name=null!==(w=n.name)&&void 0!==w?w:void 0),void 0!==n.optionPermission&&(E.optionPermission=n.optionPermission),void 0!==n.profile&&(E.profile=null!==(x=n.profile)&&void 0!==x?x:void 0);let I=ib(n.shortMargin);I&&(E.shortMargin=I);let L=iS(n.shortable);void 0!==L&&(E.shortable=L),void 0!==n.stockType&&(E.stockType=n.stockType);let R=Array.isArray(n.tickSize)?n.tickSize.map(i_).filter(e=>null!==e):void 0;R&&R.length>0&&(E.tickSize=R),void 0!==n.tickerPermission&&(E.tickerPermission=n.tickerPermission);let F=iS(n.tradable);void 0!==F&&(E.tradable=F);let B=ib(n.trailingPe);return B&&(E.trailingPe=B),void 0!==n.underlyingSymbol&&(E.underlyingSymbol=null!==(T=n.underlyingSymbol)&&void 0!==T?T:void 0),E}constructor(e){this.remote=e}},ib=e=>{if(null!=e)try{let t=e instanceof u.W?e:new u.W(Number(e));return t.isFinite()?t:void 0}catch(e){return}},iv=e=>{var t;return null!==(t=ib(e))&&void 0!==t?t:new u.W(0)},iS=e=>{if("boolean"==typeof e)return e;if("number"==typeof e){if(1===e)return!0;if(0===e)return!1}if("string"==typeof e){let t=e.trim().toLowerCase();if("1"===t||"true"===t)return!0;if("0"===t||"false"===t)return!1}},i_=e=>{if(!e)return null;let t=ib(e.min),r=ib(e.step);return t&&r?{min:t,step:r}:null},iw=class{async loadUserAssets(e){let t=await this.remote.fetchUserAssets(e);return{portfolio:oK(t),source:t}}async loadCurrencyAsset(e,t){let r=await this.remote.fetchCurrencyAsset(e,t);return r?{account:oY(r),source:r}:null}constructor(e){this.remote=e}},ix=class{getTradePeriod(e,t){if(!(null==e?void 0:e.today)||!e.today.isOpen)return"holiday";let r=nW.now().setZone(this.easternTimeZone).toMillis(),n=e.today;if(n.preHoursStart&&n.preHoursEnd&&r>=n.preHoursStart&&r<n.preHoursEnd)return"previous";if("US"===t){if(n.start&&n.end&&r>=n.start&&r<=n.end)return"trading"}else if("HK"===t||"SZ"===t||"SH"===t){if(n.start&&n.lunchStart&&r>=n.start&&r<=n.lunchStart||n.lunchEnd&&n.end&&r>=n.lunchEnd&&r<=n.end)return"trading";if(n.lunchStart&&n.lunchEnd&&r>=n.lunchStart&&r<=n.lunchEnd)return"lunchTime"}return n.postHoursStart&&r>=n.postHoursStart||n.preHoursStart&&r<n.preHoursStart?"post":"unknown"}shouldLinkToToday(e,t){if(!(null==e?void 0:e.today)||!e.today.isOpen)return!1;let r=nW.now().setZone(this.easternTimeZone).toMillis(),n=e.today;return(!n.preHoursStart||!(r<n.preHoursStart))&&(!n.preHoursStart||!n.preHoursEnd||!(r>=n.preHoursStart)||!(r<n.preHoursEnd))}isHoliday(e){return!e.isOpen}isLunchTime(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return!!e.lunchStart&&!!e.lunchEnd&&t>=e.lunchStart&&t<=e.lunchEnd}isTradingTime(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return!!e.start&&!!e.end&&t>=e.start&&t<=e.end}isPreMarket(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return!!e.preHoursStart&&!!e.preHoursEnd&&t>=e.preHoursStart&&t<e.preHoursEnd}isPostMarket(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return!!e.postHoursStart&&!!e.postHoursEnd&&t>=e.postHoursStart&&t<=e.postHoursEnd}isActive(e,t){let r=this.getTradePeriod(e,t);return"trading"===r||"previous"===r||"post"===r}getDefaultTWAPStartTimeInMS(e){var t,r,n,o,i;let a=nW.now().setZone(this.easternTimeZone).toMillis(),s=a+6e5;if((null===(t=e.today)||void 0===t?void 0:t.start)&&nW.fromMillis(e.today.start,{zone:this.easternTimeZone}).toFormat("yyyy-MM-dd"),nW.fromMillis(a,{zone:this.easternTimeZone}).toFormat("yyyy-MM-dd"),!e.today||!e.today.isOpen)return null!==(n=null===(r=e.next)||void 0===r?void 0:r.start)&&void 0!==n?n:s;let u=e.today,l=u.start,d=u.end;return a<l?l:a>d?null!==(i=null===(o=e.next)||void 0===o?void 0:o.start)&&void 0!==i?i:s:a+6e5}getDefaultTWAPEndTimeInMS(e){var t,r,n,o;let i=nW.now().setZone(this.easternTimeZone).toMillis(),a=i+12e5,s=6e5;if(!e.today||!e.today.isOpen)return(null!==(r=null===(t=e.next)||void 0===t?void 0:t.end)&&void 0!==r?r:a)-s;let u=e.today.end;return i>u?(null!==(o=null===(n=e.next)||void 0===n?void 0:n.end)&&void 0!==o?o:a)-s:u-s}getMaxTWAPEndTimeInMS(e){var t,r,n,o;let i=nW.now().setZone(this.easternTimeZone).toMillis(),a=i+12e5,s=0;if(!e.today||!e.today.isOpen)return(null!==(r=null===(t=e.next)||void 0===t?void 0:t.end)&&void 0!==r?r:a)-s;let u=e.today.end;return i>u?(null!==(o=null===(n=e.next)||void 0===n?void 0:n.end)&&void 0!==o?o:a)-s:u-s}formatTime(e,t){return nW.fromMillis(e,{zone:this.easternTimeZone}).toFormat(t)}
20constructor(){this.easternTimeZone="America/New_York"}},iT=(e=>(e.NOT_LOGGED_IN="not_logged_in",e.ACCOUNT_NOT_OPEN="account_not_open",e.TRANSACTION_CODE_NOT_SET="transaction_code_not_set",e.INSUFFICIENT_FUNDS="insufficient_funds",e.SHORT_SELL_NOT_ALLOWED="short_sell_not_allowed",e.SHORT_SELL_FUNDS_NOT_ENOUGH="short_sell_funds_not_enough",e.NO_SHARE_TO_CLOSE="no_share_to_close",e.OPTION_SHORT_SELL_RESTRICTED="option_short_sell_restricted",e.STOCK_SHORT_SELL_RESTRICTED="stock_short_sell_restricted",e.UNSUPPORTED_STOCK="unsupported_stock",e.BETTER_BUY_EXPIRED="better_buy_expired",e.BETTER_BUY_NOT_TRADING_TIME="better_buy_not_trading_time",e.FORBIDDEN_REVERSE_TRADE="forbidden_reverse_trade",e.ODD_LOT_SELL_RESTRICTED="odd_lot_sell_restricted",e))(iT||{}),iE=(e=>(e.SHOW_ALERT="show_alert",e.SHOW_TOAST="show_toast",e.REDIRECT="redirect",e.CANCEL_PENDING_ORDERS="cancel_pending_orders",e.NONE="none",e))(iE||{}),iP=(e=>(e.CASH_ACCOUNT_BUY="cashAccountBuy",e.MARGIN_ACCOUNT_BUY="marginAccountBuy",e.CASH_ACCOUNT_SELL="cashAccountSell",e.MARGIN_ACCOUNT_SELL="marginAccountSell",e.MARGIN_ACCOUNT_SHORT_SELL="marginAccountShortSell",e.CLOSE_TO_BUY="closeToBuy",e.CLOSE_TO_SELL="closeToSell",e))(iP||{}),ik=class{async getBetterBuyCommissionRatio(){let e=await this.configProvider.getConfigValue("trade.better_buy.rf_fee_rate",.2);return null!=e?e:.2}async checkEligibility(e,t){let r=await this.checkAccountStatus();if(!r.ok)return r;if(e.currentPrice.isZero())return console.warn("[TradeEligibilityService] UNSUPPORTED_STOCK: currentPrice is zero",{symbol:e.symbol,currentPrice:e.currentPrice.toString(),method:"checkEligibility"}),{ok:!1,errorType:"unsupported_stock",nextMovement:{type:"show_toast"}};await this.assetInformationProvider.queryUserAssetIfNecessary();let n=this.assetInformationProvider.hasValidAssetInformation();if(!n)return{ok:!1};let o=this.accountStatusProvider.userId||"",i=e;if(oS.isBetterBuy(i)){if(i.expiryDate&&Date.now()>=i.expiryDate)return{ok:!1,errorType:"better_buy_expired",nextMovement:{type:"show_alert"}};let e=await this.tradingSessionProvider.getSession(i.market),t=oS.getType(i);if("trading"!==this.tradingHoursService.getTradePeriod(e,t))return{ok:!1,errorType:"better_buy_not_trading_time",nextMovement:{type:"show_alert"}}}return oS.isOption(i)?0===t?this.checkBuyingEligibility(e,n):this.checkOptionSellingEligibility(e,n,o):0===t?await this.checkStockBuyingEligibility(e,n):this.checkStockSellingEligibility(e,n,o)}async checkCombinedStockEligibility(e,t){let r;let n=await this.performBaseChecks(e,null==t?void 0:t.accountStatus);if("failed"===n.kind)return{buy:n.result,sell:n.result};let{assetInfo:o,userId:i}=n,a=e;if(t)r=t;else{let[t,n,o,s]=await Promise.all([this.positionStatusProvider.loadPositionStatus(i,e.symbol),this.pendingOrderProvider.allPendingOrders(e.symbol),this.pendingOrderProvider.getUnfilledOrders(e.symbol),this.tradingSessionProvider.getSession(a.market)]);r={positionResult:t,pendingResult:n,unfilledOrdersResult:o,session:s}}let[s,u]=oS.isOption(a)?await Promise.all([this.checkBuyingEligibility(e,o,r),this.checkOptionSellingEligibility(e,o,i,r)]):await Promise.all([this.checkStockBuyingEligibility(e,o,r),this.checkStockSellingEligibility(e,o,i,r)]);return{buy:s,sell:u}}async checkCombinedOptionEligibility(e){let t=await this.performBaseChecks(e);if("failed"===t.kind)return{buy:t.result,sell:t.result};let{assetInfo:r,userId:n}=t,[o,i,a]=await Promise.all([this.positionStatusProvider.loadPositionStatus(n,e.symbol),this.pendingOrderProvider.allPendingOrders(e.symbol),this.pendingOrderProvider.getUnfilledOrders(e.symbol)]),s={positionResult:o,pendingResult:i,unfilledOrdersResult:a},[u,l]=await Promise.all([this.checkBuyingEligibility(e,r,s),this.checkOptionSellingEligibility(e,r,n,s)]);return{buy:u,sell:l}}async performBaseChecks(e,t){if(!1===e.tradable)return console.warn("[TradeEligibilityService] UNSUPPORTED_STOCK: stock is not tradable",{symbol:e.symbol,tradable:e.tradable,method:"performBaseChecks"}),{kind:"failed",result:{ok:!1,errorType:"unsupported_stock",nextMovement:{type:"show_toast"}}};let r=await this.checkAccountStatus(t);if(!r.ok)return{kind:"failed",result:r};if(e.currentPrice.isZero())return console.warn("[TradeEligibilityService] UNSUPPORTED_STOCK: currentPrice is zero",{symbol:e.symbol,currentPrice:e.currentPrice.toString(),method:"performBaseChecks"}),{kind:"failed",result:{ok:!1,errorType:"unsupported_stock",nextMovement:{type:"show_toast"}}};await this.assetInformationProvider.queryUserAssetIfNecessary();let n=this.assetInformationProvider.hasValidAssetInformation();return n?{kind:"success",assetInfo:n,userId:this.accountStatusProvi
20der.userId||""}:{kind:"failed",result:{ok:!1}}}async checkAccountStatus(e){return this.accountStatusProvider.isLogin?e?e.accountOpen?e.hasPassword?{ok:!0}:{ok:!1,errorType:"transaction_code_not_set",nextMovement:{type:"show_alert"}}:{ok:!1,errorType:"account_not_open",nextMovement:{type:"show_alert"}}:await this.accountStatusProvider.isAccountOpenSuccess()?await this.accountStatusProvider.hasSetTradePassword()?{ok:!0}:{ok:!1,errorType:"transaction_code_not_set",nextMovement:{type:"show_alert"}}:{ok:!1,errorType:"account_not_open",nextMovement:{type:"show_alert"}}:{ok:!1,errorType:"not_logged_in",nextMovement:{type:"show_alert"}}}async checkStockBuyingEligibility(e,t,r){var n,o,i,a,s,l,d,c;let p=this.accountStatusProvider.userId||"",h=null!==(n=null==r?void 0:r.unfilledOrdersResult)&&void 0!==n?n:await this.pendingOrderProvider.getUnfilledOrders(e.symbol);if(h.ok&&h.value.sell.gt(0))return{ok:!1,errorType:"forbidden_reverse_trade",nextMovement:{type:"cancel_pending_orders",data:{side:"sell"}}};let f=null!==(o=null==r?void 0:r.pendingResult)&&void 0!==o?o:await this.pendingOrderProvider.allPendingOrders(e.symbol),m=null!==(i=null==r?void 0:r.positionResult)&&void 0!==i?i:await this.positionStatusProvider.loadPositionStatus(p,e.symbol);if(m&&m.ok){let e=m.value.status;if(e.share.isNegative()){let t=f.ok&&"buy"===f.value.type?f.value.share.abs():new u.W(0);if(e.share.abs().minus(t).lte(0))return{ok:!1,errorType:"no_share_to_close",nextMovement:{type:"show_toast"}}}}if(!e.currentPrice||!e.lotSize)return console.warn("[UNSUPPORTED] UNSUPPORTED_STOCK: missing currentPrice or lotSize",{symbol:e.symbol,hasCurrentPrice:!!e.currentPrice,currentPrice:null!==(l=null===(a=e.currentPrice)||void 0===a?void 0:a.toString())&&void 0!==l?l:"undefined",hasLotSize:!!e.lotSize,lotSize:null!==(d=null===(s=e.lotSize)||void 0===s?void 0:s.toString())&&void 0!==d?d:"undefined",method:"checkStockBuyingEligibility"}),{ok:!1,errorType:"unsupported_stock"};let g=e.currentPrice.mul(e.lotSize),y=e.currency||e.backupCurrency;if(1===t.accountType){let e=t.minAvailableFunds(y);return e.lt(g)||e.isZero()?{ok:!1,errorType:"insufficient_funds",nextMovement:{type:"show_alert",data:{required:g,currency:y}},tradeDetailedType:"cashAccountBuy"}:{ok:!0,tradeDetailedType:"cashAccountBuy"}}if(2===t.accountType){let r=null!==(c=e.longMargin)&&void 0!==c?c:e.marginRate;if(null==r){let e=new u.W(.5),r=t.maxAvailableFunds(y,e);return r.lt(g)||r.isZero()?{ok:!1,errorType:"insufficient_funds",nextMovement:{type:"show_alert",data:{required:g,currency:y}},tradeDetailedType:"marginAccountBuy"}:{ok:!0,tradeDetailedType:"marginAccountBuy"}}let n=t.maxAvailableFunds(y,r);return n.lt(g)||n.isZero()?{ok:!1,errorType:"insufficient_funds",nextMovement:{type:"show_alert",data:{required:g,currency:y}},tradeDetailedType:"marginAccountBuy"}:{ok:!0,tradeDetailedType:"marginAccountBuy"}}return{ok:!1}}async checkStockSellingEligibility(e,t,r,n){var o;let i=e,{positionResult:a,pendingResult:s,unfilledOrdersResult:l,session:d}=null!=n?n:await (async()=>{let[t,n,o,a]=await Promise.all([this.positionStatusProvider.loadPositionStatus(r,e.symbol),this.pendingOrderProvider.allPendingOrders(e.symbol),this.pendingOrderProvider.getUnfilledOrders(e.symbol),this.tradingSessionProvider.getSession(i.market)]);return{positionResult:t,pendingResult:n,unfilledOrdersResult:o,session:a}})();if(!a.ok)return{ok:!1};if(l.ok&&l.value.buy.gt(0))return{ok:!1,errorType:"forbidden_reverse_trade",nextMovement:{type:"cancel_pending_orders",data:{side:"buy"}}};let{status:c}=a.value,p=s.ok&&"sell"===s.value.type?s.value.share:new u.W(0),h=c.share.minus(p);if(c.share.gt(0)&&h.lte(0))return{ok:!1,errorType:"no_share_to_close",nextMovement:{type:"show_toast"}};if(c.share.gt(0)&&c.share.lt(1)){let e="unknown";if(d){let t=oS.getType(i);e=this.tradingHoursService.getTradePeriod(d,t)}return{ok:!1,errorType:"odd_lot_sell_restricted",nextMovement:{type:"show_alert",data:{isTradingPerio
20d:"trading"===e}}}}let f=e.currency||e.backupCurrency,m=null!==(o=i.shortable)&&void 0!==o&&o;if(1===t.accountType)return h.lte(0)?m?{ok:!1,errorType:"short_sell_not_allowed",nextMovement:{type:"show_alert"},tradeDetailedType:"cashAccountSell"}:{ok:!1,errorType:"stock_short_sell_restricted",nextMovement:{type:"show_alert"}}:{ok:!0,tradeDetailedType:"cashAccountSell"};if(2===t.accountType){if(h.lte(0)){let r=t.maxAvailableFunds(f,new u.W(1)),n=e.currentPrice.mul(e.lotSize);return r.gte(n)?m?{ok:!0,tradeDetailedType:"marginAccountShortSell",nextMovement:{type:"show_alert"}}:{ok:!1,errorType:"stock_short_sell_restricted",nextMovement:{type:"show_alert"}}:m?{ok:!1,errorType:"short_sell_funds_not_enough",nextMovement:{type:"show_alert",data:{required:n,currency:f}},tradeDetailedType:"marginAccountShortSell"}:{ok:!1,errorType:"stock_short_sell_restricted",nextMovement:{type:"show_alert"}}}return{ok:!0,tradeDetailedType:"marginAccountSell"}}return{ok:!1}}checkBuyingEligibility(e,t,r){var n;let o=null!==(n=null==r?void 0:r.unfilledOrdersResult)&&void 0!==n?n:{ok:!1};if(o.ok&&o.value.sell.gt(0))return{ok:!1,errorType:"forbidden_reverse_trade",nextMovement:{type:"cancel_pending_orders",data:{side:"sell"}}};let i=e.currentPrice.mul(e.lotSize).add(new u.W(2)),a=e.currency||e.backupCurrency;if(1===t.accountType){let e=t.minAvailableFunds(a);return e.lt(i)||e.isZero()?{ok:!1,errorType:"insufficient_funds",nextMovement:{type:"show_alert",data:{required:i,currency:a}},tradeDetailedType:"cashAccountBuy"}:{ok:!0,tradeDetailedType:"cashAccountBuy"}}if(2===t.accountType){let r=t.maxAvailableFunds(a,e.marginRate);return r.lt(i)||r.isZero()?{ok:!1,errorType:"insufficient_funds",nextMovement:{type:"show_alert",data:{required:i,currency:a}},tradeDetailedType:"marginAccountBuy"}:{ok:!0,tradeDetailedType:"marginAccountBuy"}}return{ok:!1}}async checkOptionSellingEligibility(e,t,r,n){let{positionResult:o,pendingResult:i,unfilledOrdersResult:a}=null!=n?n:await (async()=>{let[t,n,o]=await Promise.all([this.positionStatusProvider.loadPositionStatus(r,e.symbol),this.pendingOrderProvider.allPendingOrders(e.symbol),this.pendingOrderProvider.getUnfilledOrders(e.symbol)]);return{positionResult:t,pendingResult:n,unfilledOrdersResult:o}})();if(!o.ok)return{ok:!1};if(a.ok&&a.value.buy.gt(0))return{ok:!1,errorType:"forbidden_reverse_trade",nextMovement:{type:"cancel_pending_orders",data:{side:"buy"}}};let{status:s}=o.value,l=i.ok&&"sell"===i.value.type?i.value.share:new u.W(0),d=s.share.minus(l);return 1===t.accountType?{ok:!0,tradeDetailedType:"cashAccountSell"}:2===t.accountType?{ok:!0,tradeDetailedType:d.gt(0)?"marginAccountSell":"marginAccountShortSell"}:{ok:!1}}constructor(e,t,r,n,o,i,a){this.accountStatusProvider=e,this.assetInformationProvider=t,this.positionStatusProvider=r,this.pendingOrderProvider=n,this.tradingHoursService=o,this.tradingSessionProvider=i,this.configProvider=a}},iD="ordermaker",iA="betterbuy",iO="bullbear",iN="bearinsurance",iC={en:{[iD]:{"FastTradeAgency.texts.networkError":"Network Error","autocopy.conflict.when.trading.texts.confirmToCancelAutoCopy":"Confirm Cancellation","autocopy.conflict.when.trading.texts.content":"You have an active Auto Copy Plan that may impact this transaction. Please cancel the plan before proceeding with trading this product. For more information, visit the help center or contact customer support.","autocopy.conflict.when.trading.texts.fail":"Cancellation failed, please contact customer service for assistance","autocopy.conflict.when.trading.texts.help":"help center","autocopy.conflict.when.trading.texts.later":"Think Later","autocopy.conflict.when.trading.texts.success":"Auto Copy Plan has been cancelled","autocopy.conflict.when.trading.texts.title":"Conflict with Auto Copy Plan","better.buy.choice.NoTradingAlert.msg":'"Dip Sniper" can only be traded during regular market hours (US EST 9:30-16:00). Thank you for your patience!',"better.buy.choice.NoTradingAlert.title":"Off-Trading Hours","better.buy.choice.betterBuyExpireAlert.msg":"Oops! This 'Dip Sniper' product has expired and cannot be purchased. Please go and check other products out!","better.buy.choice.betterBuyExpireAlert.title":"Dip Sniper Expired","bought.sell.success.alert.text.buy":"Buy {{share}}
20 Shares","bought.sell.success.alert.text.close":"Close {{share}} Shares","bought.sell.success.alert.text.loss":", Loss {{amount}} {{currency}}","bought.sell.success.alert.text.profit":", Profit {{amount}} {{currency}} ","bought.sell.success.alert.text.reward":", Reward {{amount}} {{currency}}","bought.sell.success.alert.text.short":"Short {{share}} Shares","bought.sell.success.alert.text.subscribe":"Subscribe {{amount}} USD","bought.sell.success.alert.text.title":"Orders Filled","com.fastTrade.aiBuyButton.title":"AI Buy","com.fastTrade.aiSellButton.title":"AI Sell","com.fastTrade.betterBuy.suggestions":"Try buy stocks with Dip Sniper","com.fastTrade.buy.buyValue":"买入","com.fastTrade.buy.estimateBorrow":"EST Borrowing","com.fastTrade.buy.title":"Fast Buy","com.fastTrade.confirm.buy":"确认市价买入","com.fastTrade.confirm.buy.estimateAmount":"Estimated purchase of","com.fastTrade.confirm.buy.estimateCost":"EST Cost","com.fastTrade.confirm.buy.estimateQuantity":"EST Buy ## shares.","com.fastTrade.confirm.buy.option.title":"Confirm to buy ## at a limit price of {{price}}?","com.fastTrade.confirm.buy.title":"Confirm to buy ## at market price?","com.fastTrade.confirm.confirmToBuy":"Confirm","com.fastTrade.confirm.confirmToCancel":"Cancel","com.fastTrade.confirm.sell.estimateGain":"EST Debit","com.fastTrade.confirm.sell.estimateQuantity":"EST Sell ## shares.","com.fastTrade.confirm.sell.option.title":"Confirm to sell ## at a limit price of {{price}}?","com.fastTrade.confirm.sell.title":"Confirm to sell ## at market price?","com.fastTrade.expectedFillTime.generalDesc":"Estimated begin to be filled after the opening of the ## market opened","com.fastTrade.expectedFillTime.generalDesc1":"• The order is estimated to be filled after the ## market opens.","com.fastTrade.expectedFillTime.marketIsClose":"Estimated begin to be filled at **, after the opening of the ## market opened","com.fastTrade.expectedFillTime.marketIsClose1":"• The order is estimated to be filled at **, after the ## market opens.","com.fastTrade.expectedFillTime.marketIsOn":"Estimated to be filled immediately, the ## market has opened","com.fastTrade.expectedFillTime.marketIsOn1":"• The order is estimated to be filled immediately, the ## market has opened.","com.fastTrade.fastClose.title":"Fast Close","com.fastTrade.fastCloseAll.title":"Close All","com.fastTrade.fastCloseDetail.title":"Fast Close {{amount}} {{unit}}","com.fastTrade.marketClose.title":"MKT close","com.fastTrade.maxAvailableFund":"Available","com.fastTrade.minAvailableFund":"Cash available","com.trade.order.available.shares.buy.title":"Margin available","com.fastTrade.moreTradeWay":"Limit order trading","com.fastTrade.order.closePartProfitDesc.title":"Closing {{symbol}} ({{amount}} shares) brings est. of {{profit}}","com.fastTrade.order.goToSellStock.title":"Sell Stocks","com.fastTrade.order.isCanceling.title":"Canceling","com.fastTrade.order.oddLotBuyMinCostAlert.msg":"Buying odd shares below $1 is not supported. RockFlow is optimizing this function, which will be reopened soon.","com.fastTrade.order.oddLotBuyMinCostAlert.title":"Trading Notice","com.fastTrade.order.oddLotForbiddenInPremarket.title":"Market order is not supported before the market","com.fastTrade.order.oddLotSellMinDebitAlert.title":"Trading Notice","com.fastTrade.order.oddLotSellMinDebitAlertMsg.title":"Selling odd shares below $0.01 is not supported. RockFlow is optimizing this function, which will be reopened soon.","com.fastTrade.order.oddLotSellMinDebitAlertMsg1.title":"Selling odd shares below $1 is not supported. RockFlow is optimizing this function, which will be reopened soon.","com.fastTrade.sell.maxQuantity.desc":", maximum sellable {{quantity}}","com.fastTrade.sell.maxQuantity1.desc":"maximum sellable {{quantity}}","com.fastTrade.sell.owned":"Owned","com.fastTrade.sell.title":"Fast Sell","com.fastTrade.shares.alert.msg":"The pending order quantity has been deducted from the position quantity to prevent you from placing repeated orders.","com.fastTrade.shares.alert.ok":"Got it","com.fastTrade.shares.alert.title":"Own quantity","com.fastTrade.trade.buyAll.title":"Buy all","com.fastTrade.trade.reverseOrder.unfused.desc":"You have pending {{reverseSide}} order. Please proceed after the order has been successfully filled or cancelled.","com.fastTrade.trade.reversePosition.desc1":"Including short selling {{amount}} shares after closing current position","com.fastTrade.trade.reversePosition.desc2":"Including buying {{amount}} shares after closing current position","com.fastTrade.trade.sellAll.title":"Sell all","com.fastTrade.tradeUnit.shares":"Shares","com.fastTrade.unsupportTradeStock":"There is no price for this product, and trading is not currently supported","com.guideToLogin.alert.later":"Later","com.guideToLogin.alert.msg":"Please log in to continue.","com.guideToLogin.alert.now":"Log In","com.guideToLogin.alert.title":"Log In","com.order.cash.reward":"Cash Rewards","com.order.currencyExchange.subtitle":"Exchange {{amount}} {{from}} to {{to}}, order received.","com.order.session.update":"Updated order session to 'Extended Hours' to maximize execution possibility","com.order.stockOrder.limitPrice.subtitle":"{{side}} {{quantity}} of {{name}} at the limit price of {{price}}, order received.","com.order.stockOrder.marketPrice.option.subtitle":"{{side}} {{quantity}} shares of {{name}} at limit price, order received.","com.order.stockOrder.marketPrice.subtitle":"{{side}} {{quantity}} shares of {{name}} at market price, order received.","com.order.stockOrder.stopLimitOrder.subtitle":"The stop price of {{stopPrice}} to limit {{side}} {{quantity}} of {{name}}({{symbol}}) at the limit price of {{limitPrice}}, order received.","com.order.stockOrder.stopOrder.subtitle":"The stop price of {{price}} to {{side}} {{quantity}} of {{name}}({{symbol}}) at market price, order received.","com.order.stockOrder.traillingStopOrder.amount.subtitle":"Trailing stop {{traillingAmount}} to {{side}} {{quantity}} of {{name}}({{symbol}}), order received.","com.order.stockOrder.traillingStopOrder.percent.subtitle":"Trailing stop {{traillingPercent}}% to {{side}} {{totalFee}} of {{name}}({{symbol}}), order received.","com.order.submitted.title":"Order Received","com.orderDetail.fee":"Fees","com.orderDetail.limitPriceTitle":"Limit price","com.orderDetail.platform.fee":"Platform Fee","com.orderDetail.shareGuideTips":"Show off your order earnings!","com.orderDetail.statusTexts.pending":"Pending Submission","com.orderDetail.statusTexts.pendingShort":"Pending","com.orderDetail.stopPriceTitle":"Stop price","com.orderDetail.traillingAmountTitle":"TRAIL amount","com.orderDetail.traillingPercentTitle":"TRAIL percentage","com.orderList.sharePL":"Share P/L","com.orderMake.estimate.cost.desc":"The est. order amount is {{totalFee}}.","com.orderMake.estimate.debit.desc":"The est. order amount is {{totalFee}}.","com.orderMake.estimate.filled.atAnyTimeOfMarketHours":"Estimated to be filled at any time, the {{marketName}}
20 market has opened.","com.orderMake.estimate.filled.atPostMarketHours":"Estimated to be filled at any time, it is the after-hours session now.","com.orderMake.estimate.filled.atPreMarketHours":"Estimated to be filled at any time, it is the pre-market session now.","com.orderMake.estimate.filled.atPreMarketHours1":"It's curently the US pre-market session. Baby Bull and Baby Bear orders will only be executed after the market opens.","com.orderMake.estimate.filled.atRemotePreMarketHours":"Estimated to be filled at {{remotePreMarketHours}}, after the pre-market session begins.","com.orderMake.estimate.filled.marketOpens":"Estimated to be filled at **, after the ## market opens.","com.orderMake.estimate.shares.desc":"EST {{side}} {{quantity}} shares.","com.orderMake.limit.confirm.title":"Confirm to {{side}} {{stockName}} at a limit price of {{limitPrice}}?","com.orderMake.market.confirm.title":"Confirm to {{side}} {{stockName}} at market price?","com.orderMake.priceInput.enterCorrectPrice":"Please enter the correct price","com.orderMake.stop.confirm.title":"Confirm to {{side}} {{stockName}} at a stop price of {{stopPrice}}?","com.orderMake.stopLimit.confirm.title":"Confirm to {{side}} {{stockName}} at a stop price of {{stopPrice}} and a limit price of {{limitPrice}}?","com.orderMake.toast.amountOfMoneyExceedToast":"Can't exceed the Max available amount","com.orderMake.toast.sharesExceed":"Can't exceed the Max available quantity","com.orderMake.toast.tradingHoursIsDisable":"Can't trade fractional shares in extended hours.","com.orderMake.traillingStop.confirm.title":"Confirm to {{side}} {{stockName}} at a {{type}} of {{value}}?","com.stockDetail.openAccount.alert.go.title":"Go","com.stockDetail.openAccount.alert.later.title":"Later","com.stockDetail.openAccount.alert.msg":"You need to open an account first.","com.stockDetail.openAccount.alert.title":"Account required","com.trade.buyButton.title":"BUY","com.trade.cashAccount.lackOfMoney.currencyExchange":"Exchange now","com.trade.cashAccount.lackOfMoney.deposit":"Deposit now","com.trade.cashAccount.lackOfMoney.msg":"You need at least {{amount}} {{currency}} to buy this stock. Order amount is in excess of {{currency}} cash. You can exchange currency or deposit to get more {{currency}} cash.","com.trade.cashAccount.lackOfMoney.title":"{{currency}} Cash Insufficiency","com.trade.cashAccount.shortSell.alert.deposit":"Deposit now","com.trade.cashAccount.shortSell.alert.later":"Later","com.trade.cashAccount.shortSell.alert.msg":"If you want to sell short, your total Asset must exceed 2500 USD.","com.trade.cashAccount.shortSell.alert.title":"Can't sell short","com.trade.confirm.closePositions.title":"close","com.trade.marginAccount.lackOfMoney.deposit":"Deposit now","com.trade.marginAccount.lackOfMoney.later":"Later","com.trade.marginAccount.lackOfMoney.msg":"You need at least {{amount}} {{currency}} to buy this stock. Order amount is in excess of available funds. Deposit to get more available funds.","com.trade.marginAccount.lackOfMoney.title":"Funds Insufficiency","com.trade.marginAccount.shortSell.alert.cancel":"Cancel","com.trade.marginAccount.shortSell.alert.confirm":"Confirm","com.trade.marginAccount.shortSell.alert.msg":"Do you confirm to sell short this stock?","com.trade.marginAccount.shortSell.alert.title":"Sell Short","com.trade.marginAccount.shortSell.bullBear.alert.msg":"Do you confirm to sell short this {{name}}?","com.trade.marginAccount.shortSell.notAllow.alert.deposit":"Deposit now","com.trade.marginAccount.shortSell.notAllow.alert.later":"Later","com.trade.marginAccount.shortSell.notAllow.alert.msg":"You need at least {{amount}} {{currency}} to sell short this stock. Funds Insufficiency to Sell Short. Deposit to get more available funds.","com.trade.marginAccount.shortSell.notAllow.alert.title":"Funds Insufficiency to Sell Short","com.trade.order.oddlotTradeLimit.handle":"During non-regular trading hours,  limit order only supports whole shares. You could use the market order to close your position when market opens.","com.trade.order.oddlotTradeLimit1.handle":"Limit order only supports whole shares. You could use market order to close your positions.","com.trade.sellButton.title":"SELL","com.trade.shortSellButton.title":"sell short","fancy.order.twap.explain.button":"Got it","fancy.order.twap.explain.message":"The TWAP (Time Weighted Average Price) algorithm divides large orders over time to reduce market impact. By default, it places {{times}} orders within the valid time period, each for {{percentage}} of the total shares.","fancy.order.twap.explain.title":"TWAP Order","take.profit.and.stop.loss.explain.alert.texts.title":"Bracket OCO","take.profit.and.stop.loss.explain.alert.texts.content":"Place both a take-profit and a stop-loss order at the same time.\nWhen the market price reaches your take-profit price, the limit order is executed and the stop-loss order is automatically canceled.\nWhen the market price reaches your stop-loss price, the take-profit order is canceled and a limit order is submitted.\n\nBracket OCO is a special order type designed for investors. Our system strives to ensure stability and reliability, but executions may still fail or be incorrect due to network issues, server errors, or other unforeseen events. Please be aware of these risks.","take.profit.and.stop.loss.explain.alert.texts.ok":"Got it","order.cancel.buttons.cancelThenResubmit":"Cancel & Resubmit","order.cancel.buttons.fastExecution":"Fast Execution","order.cancel.then.resubmit.texts.cancelToast":"Order cancellation timed out. Please try again later.","order.cancel.then.resubmit.texts.message":"We will cancel your current order first. You can then choose your preferred share quantity and price to place a new order.","order.cancel.then.resubmit.texts.title":"Confirm Cancel and Resubmit?","order.detail.alert.andon.description":"This add-on order hasn't been submitted to the counterparty because its parent order is incompletely filled","order.detail.alert.andon.ok":"Got it","order.detail.alert.andon.title":"Add-on Order Pending Submission","order.detail.alert.commission.button":"Got it","order.detail.alert.commission.highlight":"Help Center","order.detail.alert.commission.message":"This order qualifies for Bobby's commission discount. Learn more in Help Center.","order.detail.alert.commission.title":"Commission Discount Applied","order.fancy.vc.orderableUnderlyingType.bear":"Baby Bear","order.fancy.vc.orderableUnderlyingType.betterBuy":"Dip Sniper","order.fancy.vc.orderableUnderlyingType.bull":"Baby Bull","order.fancy.vc.orderableUnderlyingType.hk":"HK Stock","order.fancy.vc.orderableUnderlyingType.unknown":"","order.fancy.vc.orderableUnderlyingType.us":"US Stock","order.fastOrderPannel.fancy":"Advanced Order","order.maker.stoploss.alert.texts.confirm":"Confirm Order","order.maker.stoploss.alert.texts.content":"The limit price you set is {{compareResult}} the trigger price. If the asset price quickly {{direction}} the trigger price, stop-loss may fail. Consider {{action}} your limit price","order.maker.stoploss.alert.texts.equal":"equals","order.maker.stoploss.alert.texts.lowering":"lowering","order.maker.stoploss.alert.texts.rasing":"raising","order.maker.stoploss.alert.texts.thinkAgain":"Think Again","order.maker.stoploss.alert.texts.title":"Stop-Loss May Fail","order.maker.stoploss.confirm.texts.buy":"Confirm to place a Buy limit order on {{name}} at {{price}} when the price falls to {{trigger}}","order.maker.stoploss.confirm.texts.sell":"Confirm to place a Sell limit order on {{name}} at {{price}} when the price falls to {{trigger}}","order.maker.stoploss.risk.alert.texts.content":"There is a risk that a stop-loss limit order may not be triggered or may be triggered abnormally in extreme market conditions. This stop-loss limit order will only be triggered when the underlying asset's latest price falls below the trigger price twice within one minute.","order.maker.stoploss.risk.alert.texts.ok":"OK","order.maker.stoploss.risk.alert.texts.title":"Stop-Loss Order Risk Warning","order.maker.take.profit.or.stop.loss.risk.texts.title":"Bracket OCO — Risk Disclosure","order.maker.take.profit.or.stop.loss.risk.texts.content":"A Bracket OCO places both a take-profit and a stop-loss order simultaneously.\nWhen the market hits the take-profit price, the limit order executes and the stop-loss is canceled. When it hits the stop-loss trigger, the take-profit is canceled and a limit order is submitted.\nStop-loss limit orders carry the risk of not triggering or triggering unexpectedly in extreme market conditions. Please set them cautiously and monitor your orders closely.\nTo reduce false triggers during short-term price spikes, the stop-loss limit will only trigger when the last traded price falls below the trigger price twice within one minute.","order.maker.take.profit.or.stop.loss.risk.texts.ok":"OK","order.maker.stoploss.trigger.price.texts.bellow":"falls below","order.maker.stoploss.trigger.price.texts.high":"higher than","order.maker.stoploss.trigger.price.texts.limitPrice":"Limit Price","order.maker.stoploss.trigger.price.texts.limitPriceExplain":"When the price {{direction}} the trigger price, a limit order at this price will be placed. To avoid stop-loss failure, ensure this price is {{compareResult}} the trigger price","order.maker.stoploss.trigger.price.texts.limitPricePlaceHolder":"Enter Limit Price","order.maker.stoploss.trigger.price.texts.low":"lower than","order.maker.stoploss.trigger.price.texts.over":"rises above","order.maker.stoploss.trigger.price.texts.triggerPrice":"Trigger Price","order.maker.stoploss.trigger.price.texts.triggerPriceExplain":"When the price {{direction}} this level, a limit order will be placed to close your position","order.maker.stoploss.trigger.price.texts.triggerPricePlaceHolder":"Enter Trigger Price","order.modify.cancel":"Cancel","order.modify.cancelAndResubmit":"Cancel & Resubmit","order.modify.edit":"Edit Order","order.modify.market":"Fast Execution","order.pending.remind.texts.content":"{{order}}, order not executed, {{time}} minutes since placement","order.pending.remind.texts.title":"Order Unfilled Reminder","order.resubmit.market.texts.addition":"We'll cancel your current order and place a new market order after. ","order.resubmit.market.texts.title":"Confirm Execute at Market Price?","order.resubmit.timeout.texts.limit":"The cancellation of your original order has timed out. No new order will be placed to avoid potential losses. The original order may still cancel later, please monitor notifications and handle manually if needed.","order.resubmit.timeout.texts.market":"The cancellation of your original order has timed out. No new market order will be placed to avoid potential losses. The original order may still cancel later, please monitor notifications and handle manually if needed.","order.resubmit.timeout.texts.ok":"OK","order.resubmit.timeout.texts.title":"Cancellation Timed Out","ordermaker.establish.trade.amount":"Est. Order Amount {{amount}}","ordermaker.establish.trade.borrow":"Est. borrow {{amount}}","ordermaker.fancy.order.confirm.button.confirm":"Confirm","ordermaker.fancy.order.local.pu
20sh.stopLoss":"{{side}} {{quantity}} shares of {{name}} at the {{priceType}} price of {{price}}","ordermaker.fancy.order.local.push.stopPrice":"stop limit","ordermaker.fancy.order.local.push.takeProfit":"{{side}} {{quantity}} shares of {{name}} at the {{priceType}} price of {{price}}","ordermaker.fancy.order.local.push.takeProfitPrice":"Take profit","ordermaker.fancy.order.otc.tradingSession.alert.message":"OTC securities support intraday trading only. Orders and executions are not available during pre-market and after-hours sessions.","ordermaker.fancy.order.otc.tradingSession.alert.title":"Intraday Trading Only","ordermaker.fancy.order.pink.stock.alert.message":"Stop Limit orders are not available for pink sheet stocks; please select a different order type","ordermaker.fancy.order.pink.stock.alert.title":"Stop Limit Not Supported","ordermaker.fancy.order.stoploss.type.alert.message":"Current Stop Limit orders are limit-based. Rapid price movements past the trigger price could prevent order execution. Please use this feature carefully and consider the risks","ordermaker.fancy.order.stoploss.type.alert.noMoreAlert":"Don't remind again","ordermaker.fancy.order.stoploss.type.alert.title":"Stop Limit Tips","ordermaker.fancy.order.twap.alert.texts.shareAtLess":"Minimum {{share}} shares per TWAP order","ordermaker.fancy.order.twap.alert.texts.twapLimitedToSameDay":"TWAP orders are currently limited to same-day execution","ordermaker.fancy.order.twap.alert.texts.twapOnlySupportIntradayTrading":"TWAP orders currently support intraday trading only","ordermaker.fancy.order.twap.confirm.texts.extra":" TWAP orders will be executed progressively over the selected period. Check execution status in Order Details.","ordermaker.fancy.order.twap.time.alert.texts.endTimeMustAfterCurrentTimeAtLeast10":"The interval between start and end time is too short","ordermaker.fancy.order.twap.time.alert.texts.startTimeMustAfterCurrentTime":"Start time must be after current time","ordermaker.fancy.order.twap.time.alert.texts.startTimeMustBeforeEndTime":"Start Time cannot be later than End Time","ordermaker.fancy.order.twap.time.titles.cancel":"Reset","ordermaker.fancy.order.twap.time.titles.confirm":"Confirm","ordermaker.fancy.order.twap.time.titles.current":"Current Eastern Time","ordermaker.fancy.order.twap.time.titles.end":"End Time(ET)","ordermaker.fancy.order.twap.time.titles.endShort":"End Time","ordermaker.fancy.order.twap.time.titles.start":"Start Time(ET)","ordermaker.fancy.order.twap.time.titles.startShort":"Start Time","ordermaker.fancy.order.vc.error.text.adjustLimit":"Share quantity adjusted to the maximum limit","ordermaker.fancy.order.vc.error.text.exceedMax":"Can't exceed the max available quantity","ordermaker.fancy.order.vc.error.text.noFractionalShares":"{{value}} Orders are only for whole shares. Use market order for fractional shares","ordermaker.fancy.order.vc.error.text.optionOrHKShares":"{{stockType}} must be traded in {{value}}-share increments","ordermaker.fancy.order.vc.text.delayPrice":"Delayed Price","ordermaker.fancy.order.vc.text.inputPrice":"","ordermaker.fancy.order.vc.text.inputShare":"Enter Quantity","ordermaker.fancy.order.vc.text.orderType":"Type","ordermaker.fancy.order.vc.text.period":"Trading hours","ordermaker.fancy.order.vc.text.price":"Price","ordermaker.fancy.order.vc.text.priceHolderPrice":"Enter Price","ordermaker.fancy.order.vc.text.priceHolderStopPrice":"Enter Trigger Price","ordermaker.fancy.order.vc.text.priceHolderTakeProfitPrice":"Enter Trigger Price","ordermaker.fancy.order.vc.text.quickDeal":"(Quick Deal)","ordermaker.fancy.order.vc.text.selectPriceQuickDeal":"{{priceName}} quick deal","ordermaker.fancy.order.vc.text.shareText":" Share","ordermaker.fancy.order.vc.text.sharesText":" Shares","ordermaker.fancy.order.vc.text.sharesTitle":"Shares","ordermaker.fancy.order.vc.text.stop":"Stop limit","ordermaker.fancy.order.vc.text.takeProfit":"Limit-if-touched","ordermaker.fancy.order.vc.text.tradingHoursCantChange":"{{type}} orders are not allowed to modify trading hours","ordermaker.fancy.order.vc.text.validality":"Time in force","ordermaker.fancy.order.vc.text.twapStartTime":"Start Time","ordermaker.fancy.order.vc.text.twapEndTime":"End Time","ordermaker.fast.order.vc.button.borrow":"EST Borrowing {{amount}}","ordermaker.fast.order.vc.button.buy":"Market order buy","ordermaker.fast.order.vc.button.closeAll":"Close All","ordermaker.fast.order.vc.button.estBuy":"EST Buy with {{price}}","ordermaker.fast.order.vc.button.marketClose":"Market close","ordermaker.fast.order.vc.button.openShort":"Sell Short {{amount}} ","ordermaker.fast.order.vc.button.quickClose":"Fast Close {{amount}}","ordermaker.fast.order.vc.button.quickSell":"Market order sell","ordermaker.fast.order.advance":"Advanced Order","ordermaker.fast.order.market.order":"Market Order","ordermaker.new.order.type.stop":"STOP LIMIT","ordermaker.new.order.type.stopPrice":"Trigger Price","ordermaker.new.order.type.takeProfit":"LIMIT IF TOUCHED","ordermaker.new.order.type.takeProfitPrice":"Trigger Price","ordermaker.non.market.order.open.position.error.message":"Take profit and stop loss orders are not yet available for opening positions","ordermaker.non.market.order.open.position.error.title":"Cannot Open Position","ordermaker.non.market.order.type.price.limit":"Limit Price","ordermaker.non.market.order.type.price.stop":"Trigger Price","ordermaker.non.market.order.type.price.takeProfit":"Trigger Price","ordermaker.non.market.order.type.price.twap":"Price","ordermaker.non.market.order.type.text.limit":"Limit","ordermaker.non.market.order.type.text.stopLoss":"Stop Limit","ordermaker.non.market.order.type.text.takeProfit":"Limit if Touched","ordermaker.non.market.order.type.text.twap":"TWAP","ordermaker.order.confirm.message.earning":"earning","ordermaker.order.confirm.message.loss":"loss","ordermaker.order.confirm.message.profit":"The estimated {{side}} is {{amount}} {{currency}}. ","ordermaker.order.confirm.share.amount":"The order amount is {{amount}}. ","ordermaker.order.confirm.estimatedAmount.grey":"EST Cost {{amount}} HKD.","ordermaker.order.confirm.share.shares":"Est {{side}} {{shares}} shares. ","ordermaker.order.confirm.title.fall":"falls","ordermaker.order.confirm.title.limit":"Confirm to {{side}} {{stockName}} at a limit price of {{price}}?","ordermaker.order.confirm.title.limit.grey":"Confirm to buy {{stockName}} at a limit price of {{price}}","ordermaker.order.confirm.title.rise":"rises","ordermaker.order.confirm.title.stop":"Confirm to place a {{side}} limit order on {{stockName}} when the price {{action}} to {{price}}?","ordermaker.order.confirm.title.takeProfit":"Confirm to place a {{side}} limit order on {{stockName}} when the price {{action}} to {{price}}?","ordermaker.order.validity.option.beforeCacellation":"Long term","ordermaker.order.validity.option.sameDay":"Good for day","ordermaker.orderable.underlying.text.bear":"Baby Bear","ordermaker.orderable.underlying.text.betterBuy":"Dip Sniper","ordermaker.orderable.underlying.text.bull":"Baby Bull","ordermaker.orderable.underlying.text.hk":"HK Stock","ordermaker.orderable.underlying.text.us":"US Stock","ordermaker.pending.order.comma":", ","ordermaker.pending.order.pending":"Pending {{sharePart}}","ordermaker.pending.orders.existed.msg":"You have pending {{side}} order. Please proceed after the order has been successfully filled or cancelled","ordermaker.pending.orders.existed.title":"Pending Orders Existed","ordermaker.position.action.guide.buyLimitOrderAction":"Place a buy limit order","ordermaker.position.action.guide.closeLongStopLoss":"Auto-place a sell limit order when the price falls to the specific trigger price. The limit order may not be executed under market fluctuations","ordermaker.position.action.guide.closeLongTakeProfit":"Auto-place a sell limit order when the price rises to the specific trigger price","ordermaker.position.action.guide.closeShortStopLoss":"Auto-place a buy limit order when the price rises to the specific trigger price. The limit order may not be executed under market fluctuations","ordermaker.position.action.guide.closeShortTakeProfit":"Auto-place a buy limit order when the price falls to the specific trigger price","ordermaker.position.action.guide.currentPrice":"Current Price","ordermaker.position.action.guide.sellLimitOrderAction":"Place a sell limit order","ordermaker.position.action.guide.stopLossPrice":"Trigger Price","ordermaker.position.action.guide.takeProfitPrice":"Trigger Price","ordermaker.position.action.text.buy":"BUY ","ordermaker.position.action.text.sell":"SELL ","ordermaker.position.status.text.cost":"Average cost","ordermaker.position.status.text.own":"Own {{sharePart}}","ordermaker.trade.price.ask.price":"Ask Price","ordermaker.trade.price.bid.price":"Bid Price","ordermaker.trade.price.cost":"Average Cost","ordermaker.trade.price.current.price":"Latest","ordermaker.trade.price.mid.price":"Middle Price","ordermaker.trade.price.user.input.price":"Input Price","ordermaker.trade.time.option.all":"Extended","ordermaker.trade.time.option.tradingTime":"Market Hours","ordermaker.tradeable.stocks.cashBuy":"Cash Buyable","ordermaker.tradeable.stocks.closMarginBuy":"Max Buyable","ordermaker.tradeable.stocks.greater":"{{amount}} above {{priceName}}","ordermaker.tradeable.stocks.less":"{{amount}} below {{priceName}}","ordermaker.tradeable.stocks.loss":"Est. Loss {{amount}}","ordermaker.tradeable.stocks.lossText":"Loss","com.asset.position.profit":"Profit","ordermaker.tradeable.stocks.marginBuy":"Max Buyable {{amount}}","ordermaker.tradeable.stocks.marginSell":"Max Sellable {{amount}}","ordermaker.tradeable.stocks.profit":"Est. Profit {{amount}}","ordermaker.tradeable.stocks.profitText":"Profit","ordermaker.tradeable.stocks.sameAs":"Equals to {{priceName}}","orders.list.tab.type.twap":"Algo","reverse.trade.handler.cancelAll":"Cancel Orders","reverse.trade.handler.cancelButton":"Cancel","reverse.trade.handler.confirmButton":"Confirm","reverse.trade.handler.confirmMessage":"Cancel all pending {{pendingDirection}} orders so you can place a {{direction}} order","reverse.trade.handler.confirmToCancel":"Confirm Cancellation","reverse.trade.handler.ok":"OK","reverse.trade.handler.result.fail":"Partial order 
20cancellation timed out, please try again later","reverse.trade.handler.result.success":"Orders canceled successfully","reverse.trade.handler.title":"Pending {{direction}} Order","transcation.code.set.done.message":"Transaction password is set up","transcation.code.set.done.title":"Success","transcation.code.set.go":"Go","transcation.code.set.message":"Please set transaction password to continue.","transcation.code.set.title":"Set up Transaction password","ordermaker.fancy.order.vc.text.priceHolderLimitPrice":"Input Limit Price","ordermaker.non.market.order.type.text.takeProfitAndStopLoss":"Bracket OCO","order.maker.take.profit.or.stop.loss.texts.takeProfitPrice":"Take Profit Price","order.maker.take.profit.or.stop.loss.texts.stopLossTriggerPrice":"Stop Trigger Price","order.maker.take.profit.or.stop.loss.texts.stopLossPrice":"Stop Limit Price","order.maker.take.profit.or.stop.loss.texts.tradingTimeAlert":"Bracket OCO orders are currently supported only during extended trading hours.","order.maker.take.profit.or.stop.loss.texts.confirmTitle":"Confirm Bracket OCO {{side}} for {{stockName}}","order.maker.take.profit.or.stop.loss.texts.confirmAmountStr":"Expected to trade for {{takeProfit}} or {{stopLoss}}.","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotLowThanTrigger":"The take-profit price cannot be lower than the stop-loss trigger price","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotBeCloseToTrigger":"The take-profit price cannot be set too close to the stop-loss trigger price","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotGreatThanTrigger":"The take-profit price cannot be higher than the stop-loss trigger price","ordermaker.side.buy":"Buy","ordermaker.side.sell":"Sell","ordermaker.button.buy":"Buy","ordermaker.button.sell":"Sell","ordermaker.error.noFractionalShortSelling":"Short Selling does not support fractional shares. We have adjusted your order to the optimal quantity.","ordermaker.trade.oddLotShortNotSupport":"Short Selling does not support fractional shares. We have adjusted your order to the optimal quantity.","trade_eligibility.unsupported":"This stock is not tradable for now","trade_eligibility.option_short_sell_restricted_message":"Can't Sell Short","trade_eligibility.option_baby_bull_short_sell_restricted_message":"Baby Bull is not allowed to sell short.","trade_eligibility.option_baby_bear_short_sell_restricted_message":"Baby Bear is not allowed to sell short.","ordermaker.briefInfo.borrow":"Est. borrow {{amount}}","ordermaker.order.confirm.expected.fill.afterOpen":"Estimated begin to be filled at {{timeLabel}}, after the opening of the {{marketName}} market opened","ordermaker.order.confirm.expected.fill.anyTime":"Estimated to be filled immediately, the {{marketName}} market has opened","ordermaker.order.confirm.expected.fill.general":"Estimated begin to be filled after the opening of the {{marketName}} market opened","ordermaker.order.confirm.expected.fill.optionPreMarket":"It's curently the US pre-market session. Baby Bull and Baby Bear orders will only be executed after the market opens.","ordermaker.order.confirm.expected.fill.postMarket":"Estimated to be filled at any time, it is the after-hours session now.","ordermaker.order.confirm.expected.fill.preMarket":"Estimated to be filled at any time, it is the pre-market session now.","ordermaker.order.confirm.expected.fill.remotePreMarket":"Estimated to be filled at {{timeLabel}}, after the pre-market session begins.","ordermaker.error.priceErrorTitle":"Price Error","ordermaker.error.priceErrorMessage":"The price must be an integer multiple of {{unit}}","ordermaker.error.tradeUnitErrorActionTitle":"Go to modify","alert.cancel":"Cancel","ordermaker.currency.name.hk":"HKD","ordermaker.currency.name.us":"USD","ordermaker.currency.name.cnh":"CNH","ordermaker.error.sharesExceedToast":"Can't exceed the max available quantity","com.trade.prePeriod.stock.limitOrderDesc":"Limit orders with integer amounts supported only."}},es:{[iD]:{"FastTradeAgency.texts.networkError":"Error de red","Local.BetterBuyProduct.betterBuyExploreTitle":"Better Buy","alert.Gotit":"Entiendo","alert.confirm":"Confirmar","autocopy.conflict.when.trading.texts.confirmToCancelAutoCopy":"Confirmar cancelaci\xf3n","autocopy.conflict.when.trading.texts.content":"Tienes un plan de copia autom\xe1tica activo que puede afectar a esta transacci\xf3n. Cancela el plan antes de continuar con la operaci\xf3n de este producto. Para obtener m\xe1s informaci\xf3n, visita el centro de ayuda o ponte en contacto con el servicio de atenci\xf3n al cliente.","autocopy.conflict.when.trading.texts.fail":"La cancelaci\xf3n fall\xf3, comun\xedquese con el servicio de atenci\xf3n al cliente para obtener ayuda.","autocopy.conflict.when.trading.texts.help":"centro de ayuda","autocopy.conflict.when.trading.texts.later":"Piensa despu\xe9s","autocopy.conflict.when.trading.texts.success":"El plan de copia autom\xe1tica ha sido cancelado","autocopy.conflict.when.trading.texts.title":"Conflicto con el plan de copia autom\xe1tica","better.buy.choice.NoTradingAlert.msg":'"Diving Sniper" s\xf3lo se puede negociar durante las horas regulares de mercado (US EST 9:30-16:00). Gracias por su paciencia.',"better.buy.choice.NoTradingAlert.title":"Horas fuera de Invertir","better.buy.choice.betterBuyExpireAlert.msg":"\xa1Ups! Este producto 'Diving Sniper' ha caducado y no se puede comprar. Por favor, vaya y compruebe otros productos.","better.buy.choice.betterBuyExpireAlert.title":"Diving Sniper caducado","bought.sell.success.alert.text.buy":"Comprar acciones de {{share}}
20","bought.sell.success.alert.text.close":"Cerrar {{share}} Acciones","bought.sell.success.alert.text.loss":", P\xe9rdida {{amount}} {{currency}}","bought.sell.success.alert.text.profit":", Beneficio {{amount}} {{currency}} ","bought.sell.success.alert.text.reward":", Recompensa {{amount}} {{currency}}","bought.sell.success.alert.text.short":"Acciones cortas {{share}}","bought.sell.success.alert.text.subscribe":"Suscr\xedbete {{amount}} USD","bought.sell.success.alert.text.title":"Pedidos completados","com.asset.position.profit":"Profit","com.currencyExchange.confirm.confirmTitle":"Confirmar","com.fastTrade.betterBuy.suggestions":"Intente comprar acciones con Diving Sniper","com.orderMake.estimate.filled.marketOpens":"Se estima que se llenar\xe1 en **, despu\xe9s de que se abra el mercado ##.","com.orderMake.estimate.filled.atAnyTimeOfMarketHours":"Se estima que se llenar\xe1 en cualquier momento, el mercado {{marketName}} se ha abierto.","com.fastTrade.expectedFillTime.generalDesc":"Se estima que comenzar\xe1 a llenarse despu\xe9s de la apertura del mercado ## abierto","com.fastTrade.minAvailableFund":"Efectivo disponible","com.trade.order.available.shares.buy.title":"Margen disponible","com.fastTrade.order.oddLotBuyMinCostAlert.title":"Aviso comercial","com.fastTrade.order.oddLotSellMinDebitAlert.title":"Aviso comercial","com.fastTrade.order.oddLotSellMinDebitAlertMsg.title":"No se admite la venta de acciones impares por debajo de $0,01. RockFlow est\xe1 optimizando esta funci\xf3n, que se reabrir\xe1 pronto.","com.fastTrade.sell.owned":"Owned","com.fastTrade.trade.reverseOrder.unfused.desc":"Tiene un pedido {{reverseSide}} pendiente. Contin\xfae despu\xe9s de que el pedido se haya completado o cancelado con \xe9xito.","com.fastTrade.unsupportTradeStock":"No hay precio para este producto, y actualmente no se admite la inversi\xf3n","com.guideToLogin.alert.later":"Luego","com.guideToLogin.alert.msg":"Por favor inicie sesi\xf3n para continuar.","com.guideToLogin.alert.now":"Iniciar sesi\xf3n","com.guideToLogin.alert.title":"Iniciar sesi\xf3n","com.orderDetail.statusTexts.pending":"Pendiente de presentaci\xf3n","com.orderDetail.statusTexts.pendingShort":"Pendiente","com.orderMake.limit.confirm.title":"","com.orderMake.market.confirm.title":"","com.orderMake.stop.confirm.title":"","com.orderMake.stopLimit.confirm.title":"","com.orderMake.traillingStop.confirm.title":"","com.stockDetail.openAccount.alert.go.title":"Vamos","com.stockDetail.openAccount.alert.later.title":"Luego","com.stockDetail.openAccount.alert.msg":"Primero tienes que abrir una cuenta.","com.stockDetail.openAccount.alert.title":"Se requiere cuenta","com.trade.buyButton.title":"COMPRAR","com.trade.cashAccount.lackOfMoney.currencyExchange":"Intercambiar","com.trade.cashAccount.lackOfMoney.deposit":"Depositar ahora","com.trade.cashAccount.lackOfMoney.msg":"Necesita al menos {{amount}} {{currency}} para comprar esta acci\xf3n. El monto del pedido supera {{currency}} en efectivo. Puede cambiar moneda o depositar para obtener m\xe1s {{currency}} en efectivo.","com.trade.cashAccount.lackOfMoney.title":"{{currency}} Insuficiencia de efectivo","com.trade.cashAccount.shortSell.alert.deposit":"Depositar ahora","com.trade.cashAccount.shortSell.alert.later":"Luego","com.trade.cashAccount.shortSell.alert.msg":"Si deseas vender en corto, tu activo total debe superar los 2500 USD.","com.trade.cashAccount.shortSell.alert.title":"No puedo vender corto","com.trade.confirm.closePositions.title":"cerrar","com.trade.marginAccount.lackOfMoney.deposit":"Depositar ahora","com.trade.marginAccount.lackOfMoney.later":"Luego","com.trade.marginAccount.lackOfMoney.msg":"Necesita al menos {{amount}} {{currency}} para comprar esta acci\xf3n. El importe de la orden es superior a los fondos disponibles. Deposite para obtener m\xe1s fondos disponibles.","com.trade.marginAccount.lackOfMoney.title":"Insuficiencia de fondos","com.trade.marginAccount.shortSell.alert.cancel":"Cancelar","com.trade.marginAccount.shortSell.alert.confirm":"Confirmar","com.trade.marginAccount.shortSell.alert.msg":"\xbfConfirma vender al descubierto esta acci\xf3n?","com.trade.marginAccount.shortSell.alert.title":"Vender corto","com.trade.marginAccount.shortSell.notAllow.alert.deposit":"Depositar ahora","com.trade.marginAccount.shortSell.notAllow.alert.later":"Luego","com.trade.marginAccount.shortSell.notAllow.alert.msg":"Necesita al menos {{amount}} {{currency}} para vender esta acci\xf3n en corto. Insuficiencia de fondos para vender al descubierto. Deposite para obtener m\xe1s fondos disponibles.","com.trade.marginAccount.shortSell.notAllow.alert.title":"Insuficiencia de fondos para vender en corto","com.trade.order.oddlotTradeLimit.handle":"Durante las horas de negociaci\xf3n no regulares, la orden de l\xedmite solo admite acciones completas. Puede utilizar la orden de mercado para cerrar su posici\xf3n cuando se abre el mercado.","com.trade.order.oddlotTradeLimit1.handle":"La orden limitada solo admite acciones enteras. Puede utilizar la orden de mercado para cerrar sus posiciones.","com.trade.sellButton.title":"VENDER","com.trade.shortSellButton.title":"vender corto","fancy.order.twap.explain.button":"Entiendo","fancy.order.twap.explain.message":"El algoritmo TWAP (Precio Promedio Ponderado en el Tiempo) divide las \xf3rdenes grandes a lo largo del tiempo para reducir el impacto en el mercado. Por defecto, coloca {{times}} \xf3rdenes dentro del per\xedodo v\xe1lido, cada una por {{percentage}} del total de acciones.","fancy.order.twap.explain.title":"Orden TWAP","take.profit.and.stop.loss.explain.alert.texts.title":"Orden OCO con Take Profit y Stop Loss","take.profit.and.stop.loss.explain.alert.texts.content":"Coloque tanto una orden de take-profit como una orden de stop-loss al mismo tiempo.\nCuando el precio de mercado alcanza su precio de take-profit, la orden limitada se ejecuta y la orden de stop-loss se cancela autom\xe1ticamente.\nCuando el precio de mercado alcanza su precio de stop-loss, la orden de take-profit se cancela y se env\xeda una orden limitada.\n\nLa orden OCO con take-profit y stop-loss es un tipo de orden especial dise\xf1ado para inversores. Nuestro sistema se esfuerza por garantizar la estabilidad y confiabilidad, pero las ejecuciones a\xfan pueden fallar o ser incorrectas debi
20do a problemas de red, errores del servidor u otros eventos imprevistos. Tenga en cuenta estos riesgos.","take.profit.and.stop.loss.explain.alert.texts.ok":"Entiendo","order.cancel.buttons.cancelThenResubmit":"Cancelar y volver a enviar","order.cancel.buttons.fastExecution":"Ejecuci\xf3n r\xe1pida","order.cancel.then.resubmit.texts.cancelToast":"Se agot\xf3 el tiempo de cancelaci\xf3n del pedido. Int\xe9ntalo de nuevo m\xe1s tarde.","order.cancel.then.resubmit.texts.message":"Primero cancelaremos su pedido actual. Luego, podr\xe1 elegir la cantidad y el precio de las acciones que prefiera para realizar un nuevo pedido.","order.cancel.then.resubmit.texts.title":"\xbfConfirmar Cancelar y volver a enviar?","order.detail.alert.andon.description":"Esta orden complementaria no se ha enviado a la contraparte porque su orden principal no se complet\xf3 completamente","order.detail.alert.andon.ok":"Entiendo","order.detail.alert.andon.title":"Pedido adicional pendiente de env\xedo","order.detail.alert.commission.button":"Entiendo","order.detail.alert.commission.highlight":"Centro de ayuda","order.detail.alert.commission.message":"Este pedido califica para el descuento de comisi\xf3n de Bobby. M\xe1s informaci\xf3n en el Centro de ayuda.","order.detail.alert.commission.title":"Descuento de comisi\xf3n aplicado","order.fancy.vc.orderableUnderlyingType.bear":"Bebe oso","order.fancy.vc.orderableUnderlyingType.betterBuy":"Mejor compra","order.fancy.vc.orderableUnderlyingType.bull":"Toro beb\xe9","order.fancy.vc.orderableUnderlyingType.hk":"Acciones de Hong Kong","order.fancy.vc.orderableUnderlyingType.unknown":"","order.fancy.vc.orderableUnderlyingType.us":"Acciones de EE. UU.","order.fastOrderPannel.fancy":"Orden avanzada","order.maker.stoploss.alert.texts.confirm":"Confirmar pedido","order.maker.stoploss.alert.texts.content":"El precio l\xedmite que establezca es {{compareResult}} el precio de activaci\xf3n. Si el precio del activo supera {{direction}} el precio de activaci\xf3n, es posible que falle el stop loss. Considere {{action}} su precio l\xedmite","order.maker.stoploss.alert.texts.equal":"es igual","order.maker.stoploss.alert.texts.lowering":"reduciendo","order.maker.stoploss.alert.texts.rasing":"aumentando","order.maker.stoploss.alert.texts.thinkAgain":"Pi\xe9nsalo otra vez","order.maker.stoploss.alert.texts.title":"El stop loss puede fallar","order.maker.stoploss.confirm.texts.buy":"Confirmar para colocar una orden de compra limitada en {{name}} a {{price}} cuando el precio baje a {{trigger}}","order.maker.stoploss.confirm.texts.sell":"Confirmar para colocar una orden de venta limitada en {{name}} a {{price}} cuando el precio baje a {{trigger}}","order.maker.stoploss.risk.alert.texts.content":"Existe el riesgo de que una orden de stop-loss no se active o se active de forma anormal en condiciones de mercado extremas. Esta orden de stop-loss solo se activar\xe1 cuando el \xfaltimo precio del activo subyacente caiga dos veces por debajo del precio de activaci\xf3n en un minuto.","order.maker.stoploss.risk.alert.texts.ok":"DE ACUERDO","order.maker.stoploss.risk.alert.texts.title":"Advertencia de riesgo de \xf3rdenes de stop-loss","order.maker.take.profit.or.stop.loss.risk.texts.title":"Bracket OCO — Divulgaci\xf3n de Riesgos","order.maker.take.profit.or.stop.loss.risk.texts.content":"Un Bracket OCO coloca simult\xe1neamente una orden de take-profit y una orden de stop-loss.\nCuando el mercado alcanza el precio de take-profit, la orden l\xedmite se ejecuta y el stop-loss se cancela. Cuando alcanza el disparador de stop-loss, el take-profit se cancela y se env\xeda una orden l\xedmite.\nLas \xf3rdenes l\xedmite de stop-loss conllevan el riesgo de no activarse o activarse inesperadamente en condiciones de mercado extremas. Por favor, config\xfarelas con precauci\xf3n y supervise sus \xf3rdenes de cerca.\nPara reducir los disparadores falsos durante picos de precios a corto plazo, el l\xedmite de stop-loss solo se activar\xe1 cuando el \xfaltimo precio negociado caiga por debajo del precio de activaci\xf3n dos veces en un minuto.","order.maker.take.profit.or.stop.loss.risk.texts.ok":"DE ACUERDO","order.maker.stoploss.trigger.price.texts.bellow":"cae por debajo","order.maker.stoploss.trigger.price.texts.high":"M\xe1s alto que","order.maker.stoploss.trigger.price.texts.limitPrice":"Precio l\xedmite","order.maker.stoploss.trigger.price.texts.limitPriceExplain":"Cuando el precio {{direction}} sea el precio de activaci\xf3n, se colocar\xe1 una orden l\xedmite a este precio. Para evitar que falle el stop loss, aseg\xfarese de que este precio sea {{compareResult}} el precio de activaci\xf3n","order.maker.stoploss.trigger.price.texts.limitPricePlaceHolder":"Introduzca el precio l\xedmite","order.maker.stoploss.trigger.price.texts.low":"inferior a","order.maker.stoploss.trigger.price.texts.over":"se eleva por encima","order.maker.stoploss.trigger.price.texts.triggerPrice":"Precio de activaci\xf3n","order.maker.stoploss.trigger.price.texts.triggerPriceExplain":"Cuando el precio {{direction}} alcance este nivel, se colocar\xe1 una orden l\xedmite para cerrar su posici\xf3n.","order.maker.stoploss.trigger.price.texts.triggerPricePlaceHolder":"Introduzca el precio de activaci\xf3n","order.modify.cancel":"Cancelar","order.modify.cancelAndResubmit":"Cancelar y volver a enviar","order.modify.edit":"Editar orden","order.modify.market":"Ejecuci\xf3n r\xe1pida","order.pending.remind.texts.content":"{{order}}, orden no ejecutada, {{time}} minutos desde su colocaci\xf3n","order.pending.remind.texts.title":"Recordatorio de pedido sin completar","order.resubmit.market.texts.addition":"Cancelaremos su pedido actual y realizaremos un nuevo pedido de mercado despu\xe9s. ","order.resubmit.market.texts.title":"\xbfConfirmar Ejecutar al precio de mercado?","order.resubmit.timeout.texts.limit":"Se agot\xf3 el tiempo de cancelaci\xf3n de su pedido original. No se realizar\xe1 ning\xfan pedido nuevo para evitar posibles p\xe9rdidas. El pedido original a\xfan puede cancelarse m\xe1s adelante. Controle las notificaciones y gestione la cancelaci\xf3n manualmente si es necesario.","order.resubmit.timeout.texts.market":"Se agot\xf3 el tiempo de cancelaci\xf3n de su orden original. No se colocar\xe1 ninguna nueva orden de mercado para evitar posibles p\xe9rdidas. La orden original a\xfan puede cancelarse m\xe1s tarde. Controle las notificaciones y gestione la cancelaci\xf3n manualmente si es necesario.","order.resubmit.timeout.texts.ok":"DE ACUERDO","order.resubmit.timeout.texts.title":"Tiempo de cancelaci\xf3n agotado","ordermaker.alert.gotit":"Entiendo","ordermaker.alert.ok":"DE ACUERDO","ordermaker.button.buy":"Comprar","ordermaker.button.sell":"Vender","ordermaker.error.adjustLimit":"Cantidad de acciones ajustada al l\xedmite m\xe1ximo","ordermaker.error.sharesExceedToast":"No se puede exceder la cantidad m\xe1xima disponible","ordermaker.establish.trade.amount":"Est. Total de la orden {{amount}}","ordermaker.establish.trade.borrow":"Est. pedir prestado {{amount}}","ordermaker.fancy.order.confirm.button.confirm":"Confirmar","ordermaker.fancy.order.local.pu
20sh.stopLoss":"{{side}} {{quantity}} acciones de {{name}} al precio {{priceType}} de {{price}}","ordermaker.fancy.order.local.push.stopPrice":"l\xedmite de parada","ordermaker.fancy.order.local.push.takeProfit":"{{side}} {{quantity}} acciones de {{name}} al precio {{priceType}} de {{price}}","ordermaker.fancy.order.local.push.takeProfitPrice":"Tomar ganancias","ordermaker.fancy.order.otc.tradingSession.alert.message":"Los valores OTC solo admiten negociaci\xf3n durante la sesi\xf3n regular. Las \xf3rdenes y ejecuciones no est\xe1n disponibles en las sesiones previas ni posteriores al mercado.","ordermaker.fancy.order.otc.tradingSession.alert.title":"Solo negociaci\xf3n en sesi\xf3n regular","ordermaker.fancy.order.pink.stock.alert.message":"Las \xf3rdenes Stop Limit no est\xe1n disponibles para acciones de hojas rosas; por favor seleccione un tipo de pedido diferente","ordermaker.fancy.order.pink.stock.alert.title":"L\xedmite de parada no admitido","ordermaker.fancy.order.stoploss.type.alert.message":"Las \xf3rdenes Stop Limit actuales se basan en l\xedmites. Los movimientos r\xe1pidos de precios m\xe1s all\xe1 del precio de activaci\xf3n podr\xedan impedir la ejecuci\xf3n de la orden. Utilice esta funci\xf3n con cuidado y considere los riesgos.","ordermaker.fancy.order.stoploss.type.alert.noMoreAlert":"no lo vuelvas a recordar","ordermaker.fancy.order.stoploss.type.alert.title":"L\xedmite de parada no admitido","ordermaker.fancy.order.twap.alert.texts.shareAtLess":"M\xednimo de {{share}} acciones por orden TWAP","ordermaker.fancy.order.twap.alert.texts.twapLimitedToSameDay":"Las \xf3rdenes TWAP actualmente est\xe1n limitadas a la ejecuci\xf3n el mismo d\xeda","ordermaker.fancy.order.twap.alert.texts.twapOnlySupportIntradayTrading":"Actualmente, las \xf3rdenes TWAP solo admiten operaciones intrad\xeda","ordermaker.fancy.order.twap.confirm.texts.extra":" TWAP orders will be executed progressively over the selected period. Check execution status in Order Details.","ordermaker.fancy.order.twap.time.alert.texts.endTimeMustAfterCurrentTimeAtLeast10":"El intervalo entre la hora de inicio y la hora de finalizaci\xf3n es demasiado corto","ordermaker.fancy.order.twap.time.alert.texts.startTimeMustAfterCurrentTime":"La hora de inicio debe ser posterior a la hora actual","ordermaker.fancy.order.twap.time.alert.texts.startTimeMustBeforeEndTime":"La hora de inicio no puede ser posterior a la hora de finalizaci\xf3n","ordermaker.fancy.order.twap.time.titles.cancel":"Reiniciar","ordermaker.fancy.order.twap.time.titles.confirm":"Confirmar","ordermaker.fancy.order.twap.time.titles.current":"Hora actual del este","ordermaker.fancy.order.twap.time.titles.end":"Fin del tiempo (ET)","ordermaker.fancy.order.twap.time.titles.endShort":"Fin de los tiempos","ordermaker.fancy.order.twap.time.titles.start":"Hora de inicio (ET)","ordermaker.fancy.order.twap.time.titles.startShort":"Hora de inicio","ordermaker.fancy.order.vc.error.text.adjustLimit":"Cantidad de acciones ajustada al l\xedmite m\xe1ximo","ordermaker.fancy.order.vc.error.text.exceedMax":"No se puede exceder la cantidad m\xe1xima disponible","ordermaker.fancy.order.vc.error.text.noFractionalShares":"{{value}} Los pedidos son s\xf3lo para acciones enteras. Utilice orden de mercado para acciones fraccionarias","ordermaker.fancy.order.vc.error.text.optionOrHKShares":"{{stockType}} debe negociarse en {{value}} incrementos de acciones","ordermaker.fancy.order.vc.text.delayPrice":"Precio retrasado","ordermaker.fancy.order.vc.text.inputPrice":"","ordermaker.fancy.order.vc.text.inputShare":"Ingrese la cantidad","ordermaker.fancy.order.vc.text.orderType":"Tipo de orden","ordermaker.fancy.order.vc.text.period":"Los horarios comerciales","ordermaker.fancy.order.vc.text.price":"Precio","ordermaker.fancy.order.vc.text.priceHolderPrice":"Introducir precio","ordermaker.fancy.order.vc.text.priceHolderStopPrice":"Ingrese el precio de activaci\xf3n","ordermaker.fancy.order.vc.text.priceHolderTakeProfitPrice":"Ingrese el precio de activaci\xf3n","ordermaker.fancy.order.vc.text.quickDeal":"(O.R.)","ordermaker.fancy.order.vc.text.selectPriceQuickDeal":"{{priceName}} oferta r\xe1pida","ordermaker.fancy.order.vc.text.shareText":" Compartir","ordermaker.fancy.order.vc.text.sharesText":" Comparte","ordermaker.fancy.order.vc.text.sharesTitle":" Comparte","ordermaker.fancy.order.vc.text.stop":"L\xedmite de parada","ordermaker.fancy.order.vc.text.takeProfit":"L\xedmite si se toca","ordermaker.fancy.order.vc.text.tradingHoursCantChange":"Las \xf3rdenes {{type}} no pueden modificar el horario comercial","ordermaker.fancy.order.vc.text.validality":"Tiempo vigente","ordermaker.fancy.order.vc.text.twapStartTime":"Hora de inicio","ordermaker.fancy.order.vc.text.twapEndTime":"Hora de finalizaci\xf3n","ordermaker.fast.order.button.estBuy":"EST Comprar con {{price}}","ordermaker.fast.order.button.quickSell":"Venta de orden de mercado","ordermaker.fast.order.vc.button.borrow":"EST Pr\xe9stamo {{amount}}","ordermaker.fast.order.vc.button.buy":"Compra de orden de mercado","ordermaker.fast.order.vc.button.closeAll":"Cierra todo","ordermaker.fast.order.vc.button.estBuy":"EST Comprar con {{price}}","ordermaker.fast.order.vc.button.marketClose":"Cierre del mercado","ordermaker.fast.order.vc.button.openShort":"
20Vender en corto {{amount}} ","ordermaker.fast.order.vc.button.quickClose":"Cierre r\xe1pido {{amount}}","ordermaker.fast.order.vc.button.quickSell":"Venta de orden de mercado","ordermaker.fast.order.advance":"Orden Avanzada","ordermaker.fast.order.market.order":"Orden de Mercado","ordermaker.fast.trade.betterBuySuggestions":"Better Buy Suggestions >","ordermaker.fast.trade.oddLotSellMinDebitAlertMsg":"The minimum amount for odd lot sell orders is $0.01.","ordermaker.fast.trade.oddLotSellMinDebitAlertTitle":"Minimum Sell Amount","ordermaker.feed.copyTrade":"Copying @{{nickName}} to {{side}} {{stockName}}","ordermaker.new.order.type.stop":"L\xcdMITE DE PARADA","ordermaker.new.order.type.stopPrice":"PA","ordermaker.new.order.type.takeProfit":"L\xcdMITE SI SE TOCA","ordermaker.new.order.type.takeProfitPrice":"PA","ordermaker.non.market.order.open.position.error.message":"Las \xf3rdenes Take Profit y Stop Loss a\xfan no est\xe1n disponibles para abrir posiciones.","ordermaker.non.market.order.open.position.error.title":"No se puede abrir la posici\xf3n","ordermaker.non.market.order.type.price.limit":"Precio l\xedmite","ordermaker.non.market.order.type.price.stop":"PA","ordermaker.non.market.order.type.price.takeProfit":"PA","ordermaker.non.market.order.type.price.twap":"Precio l\xedmite","ordermaker.non.market.order.type.text.limit":"L\xedmite","ordermaker.non.market.order.type.text.stopLoss":"L\xedmite de parada","ordermaker.non.market.order.type.text.takeProfit":"Limitar si se toca","ordermaker.non.market.order.type.text.twap":"","ordermaker.order.confirm.expected.fill.afterOpen":"Se estima que comenzar\xe1n a llenarse en {{timeLabel}}, despu\xe9s de la apertura del mercado {{marketName}} abierto","ordermaker.order.confirm.expected.fill.anyTime":"Se estima que se llenar\xe1 de inmediato, el mercado {{marketName}} se ha abierto","ordermaker.order.confirm.expected.fill.general":"Se estima que comenzar\xe1 a llenarse despu\xe9s de la apertura del mercado {{marketName}} abierto","ordermaker.order.confirm.expected.fill.optionPreMarket":"Actualmente es la sesi\xf3n previa al mercado estadounidense. Las \xf3rdenes Baby Bull y Baby Bear solo se ejecutar\xe1n despu\xe9s de la apertura del mercado.","ordermaker.order.confirm.expected.fill.postMarket":"Se estima que se llenar\xe1 en cualquier momento, ahora es la sesi\xf3n despu\xe9s del horario de atenci\xf3n.","ordermaker.order.confirm.expected.fill.preMarket":"Se estima que se llenar\xe1 en cualquier momento, ahora es la sesi\xf3n previa a la comercializaci\xf3n.","ordermaker.order.confirm.expected.fill.remotePreMarket":"Se estima que se llenar\xe1 a {{timeLabel}}, despu\xe9s de que comience la sesi\xf3n previa a la comercializaci\xf3n.","ordermaker.order.confirm.message.earning":"ganancia","ordermaker.order.confirm.message.loss":"p\xe9rdida","ordermaker.order.confirm.message.profit":"El {{side}} estimado es {{amount}} {{currency}}. ","ordermaker.order.confirm.share.amount":"El monto del pedido es {{amount}}. ","ordermaker.order.confirm.estimatedAmount.grey":"EST Cost {{amount}} HKD.","ordermaker.order.confirm.share.shares":"Est {{side}} {{shares}} acciones. ","ordermaker.order.confirm.title.fall":"ca\xeddas","ordermaker.order.confirm.title.limit":"\xbfConfirmar en {{side}} {{stockName}} a un precio l\xedmite de {{price}}?","ordermaker.order.confirm.title.limit.grey":"Confirm to buy {{stockName}} at a limit price of {{price}}","ordermaker.order.confirm.title.market":"\xbfConfirmar a {{side}} {{stockName}} a precio de mercado?","ordermaker.order.confirm.title.rise":"se levanta","ordermaker.order.confirm.title.stop":"\xbfConfirmar para realizar una orden l\xedmite {{side}} en {{stockName}} cuando el precio {{action}} sea {{price}}?","ordermaker.order.confirm.title.takeProfit":"\xbfConfirmar para realizar una orden l\xedmite {{side}} en {{stockName}} cuando el precio {{action}} sea {{price}}?","ordermaker.order.validity.option.beforeCacellation":"A largo plazo","ordermaker.order.validity.option.sameDay":"B.P.D.","ordermaker.orderable.underlying.text.bear":"Baby Bear","ordermaker.orderable.underlying.text.betterBuy":"Mejor compra","ordermaker.orderable.underlying.text.bull":"Baby Bull","ordermaker.orderable.underlying.text.hk":"HK Stock","ordermaker.orderable.underlying.text.us":"US Stock","ordermaker.pending.order.comma":", ","ordermaker.pending.order.pending":"Pendiente {{sharePart}}","ordermaker.pending.orders.existed.msg":"Tienes pedido {{side}}
20 pendiente. Contin\xfae despu\xe9s de que el pedido se haya completado o cancelado correctamente.","ordermaker.pending.orders.existed.title":"Exist\xedan \xf3rdenes pendientes","ordermaker.position.action.guide.buyLimitOrderAction":"Realizar una orden de l\xedmite de compra","ordermaker.position.action.guide.closeLongStopLoss":"Realice autom\xe1ticamente una orden de l\xedmite de venta cuando el precio caiga al precio de activaci\xf3n espec\xedfico. La orden limitada no puede ejecutarse en caso de fluctuaciones del mercado.","ordermaker.position.action.guide.closeLongTakeProfit":"Colocar autom\xe1ticamente una orden de l\xedmite de venta cuando el precio suba al precio de activaci\xf3n espec\xedfico","ordermaker.position.action.guide.closeShortStopLoss":"Realice autom\xe1ticamente una orden de l\xedmite de compra cuando el precio suba al precio de activaci\xf3n espec\xedfico. La orden limitada no puede ejecutarse en caso de fluctuaciones del mercado.","ordermaker.position.action.guide.closeShortTakeProfit":"Realizar autom\xe1ticamente una orden de l\xedmite de compra cuando el precio caiga al precio de activaci\xf3n espec\xedfico","ordermaker.position.action.guide.currentPrice":"Precio actual","ordermaker.position.action.guide.sellLimitOrderAction":"Realizar una orden de l\xedmite de venta","ordermaker.position.action.guide.stopLossPrice":"PA","ordermaker.position.action.guide.takeProfitPrice":"PA","ordermaker.position.action.text.buy":"COMPRAR ","ordermaker.position.action.text.sell":"VENDER ","ordermaker.position.status.text.cost":"Costo {{cost}}","ordermaker.position.status.text.own":"Propio {{sharePart}}","ordermaker.post.order.sync.moment.title":"Publicar en mi feed","ordermaker.trade.oddLotShortNotSupport":"La venta al descubierto no admite acciones fraccionarias. Hemos ajustado tu pedido a la cantidad \xf3ptima.","ordermaker.trade.price.ask.price":"P.E.P.","ordermaker.trade.price.bid.price":"P.O.","ordermaker.trade.price.cost":"costo","ordermaker.trade.price.current.price":"E.U.","ordermaker.trade.price.mid.price":"P.M.","ordermaker.trade.price.user.input.price":"Precio de entrada","ordermaker.trade.time.option.all":"Extendido","ordermaker.trade.time.option.tradingTime":"H.M.","ordermaker.tradeable.stocks.cashBuy":"Comprable en efectivo","ordermaker.tradeable.stocks.closMarginBuy":"M\xe1ximo comprable","ordermaker.tradeable.stocks.greater":"{{amount}} por encima de {{priceName}}","ordermaker.tradeable.stocks.less":"{{amount}} debajo de {{priceName}}","ordermaker.tradeable.stocks.loss":"p\xe9rdida estimada {{amount}}","ordermaker.tradeable.stocks.lossText":"P\xe9rdida","ordermaker.tradeable.stocks.marginBuy":"Compra con margen {{amount}}","ordermaker.tradeable.stocks.marginSell":"Venta con margen {{amount}}","ordermaker.tradeable.stocks.profit":"beneficio estimado {{amount}}","ordermaker.tradeable.stocks.profitText":"Ganancia","ordermaker.tradeable.stocks.sameAs":"Equivale a {{priceName}}","orders.list.tab.type.twap":"Algo","reverse.trade.handler.cancelAll":"Cancelar pedidos","reverse.trade.handler.cancelButton":"Cancelar","reverse.trade.handler.confirmButton":"Confirmar","reverse.trade.handler.confirmMessage":"Cancelar todos los pedidos pendientes de {{pendingDirection}} para poder realizar un pedido {{direction}}","reverse.trade.handler.confirmToCancel":"Confirmar cancelaci\xf3n","reverse.trade.handler.ok":"DE ACUERDO","reverse.trade.handler.result.fail":"Se agot\xf3 el tiempo de cancelaci\xf3n parcial del pedido; int\xe9ntelo nuevamente m\xe1s tarde","reverse.trade.handler.result.success":"Pedidos cancelados exitosamente","reverse.trade.handler.title":"Pedido pendiente {{direction}}","trade_eligibility.option_non_trading_hours_message":"{name} no est\xe1 en horario de negociaci\xf3n. Lo agregamos autom\xe1ticamente a tu lista de seguimiento.","trade_eligibility.option_non_trading_hours_title":"{name} fuera del horario de negociaci\xf3n","trade_eligibility.option_short_sell_not_allowed_message_call":"Actualmente no se admite vender en corto Calls (Baby Bull). Solo puedes vender los Calls que ya posees.","trade_eligibility.option_short_sell_not_allowed_message_put":"Actualmente no se admite vender en corto Puts (Baby Bear). Solo puedes vender los Puts que ya posees.","trade_eligibility.option_short_sell_not_allowed_title":"Las opciones no admiten venta en corto","trade_eligibility.stock_short_sell_forbidden_message":"Esta acci\xf3n no est\xe1 disponible temporalmente para ventas en corto. Te avisaremos cuando cambie.","trade_eligibility.stock_short_sell_forbidden_title":"La venta corta no est\xe1 disponible para esta acci\xf3n","transcation.code.set.go":"Vamos","transcation.code.set.message":"Establezca la contrase\xf1a de la transacci\xf3n para continuar.","transcation.code.set.title":"Configurar la contrase\xf1a de transacci\xf3n","ordermaker.fancy.order.vc.text.priceHolderLimitPrice":"Input Limit Price","ordermaker.non.market.order.type.text.takeProfitAndStopLoss":"Bracket OCO","order.maker.take.profit.or.stop.loss.texts.takeProfitPrice":"Precio de Take Profit","order.maker.take.profit.or.stop.loss.texts.stopLossTriggerPrice":"Precio de Activaci\xf3n de Stop","order.maker.take.profit.or.stop.loss.texts.stopLossPrice":"Precio L\xedmite de Stop","order.maker.take.profit.or.stop.loss.texts.tradingTimeAlert":"Las \xf3rdenes Bracket OCO actualmente solo se admiten durante las horas de negociaci\xf3n extendidas.","order.maker.take.profit.or.stop.loss.texts.confirmTitle":"Confirmar Bracket OCO {{side}} para {{stockName}}","order.maker.take.profit.or.stop.loss.texts.confirmAmountStr":"Se espera operar por {{takeProfit}} o {{stopLoss}}.","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotLowThanTrigger":"El precio de toma de ganancias no puede ser menor que el precio de activaci\xf3n de p\xe9rdidas","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotBeCloseToTrigger":"El precio de toma de ganancias no puede estar demasiado cerca del precio de activaci\xf3n de p\xe9rdidas","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotGreatThanTrigger":"El precio de toma de ganancias no puede ser mayor que el precio de activaci\xf3n de p\xe9rdidas","ordermaker.side.buy":"Comprar","ordermaker.side.sell":"Vender","ordermaker.error.noFractionalShortSelling":"La venta al descubierto no admite acciones fraccionarias. Hemos ajustado tu pedido a la cantidad \xf3ptima.","trade_eligibility.unsupported":"Esta acci\xf3n no es negociable por ahora.","trade_eligibility.option_short_sell_restricted_message":"No se puede vender corto","trade_eligibility.option_baby_bull_short_sell_restricted_message":"Baby Bull no puede vender en corto.","trade_eligibility.option_baby_bear_short_sell_restricted_message":"Baby Bear no puede vender en corto.","ordermaker.briefInfo.borrow":"Est. pedir prestado {{amount}}","com.order.submitted.title":"Orden Recibida","com.order.stockOrder.limitPrice.subtitle":"{{side}} {{quantity}} de {{name}} al precio l\xedmite de {{price}}, pedido recibido.","com.order.stockOrder.marketPrice.option.subtitle":"{{side}} {{quantity}} acciones de {{name}} a precio l\xedmite, pedido recibido.","ordermaker.error.priceErrorTitle":"Error de precio","ordermaker.error.priceErrorMessage":"El precio debe ser un m\xfaltiplo entero de {{unit}}","ordermaker.error.tradeUnitErrorActionTitle":"Ir a modificar","alert.cancel":"Cancelar","ordermaker.currency.name.hk":"HKD","ordermaker.currency.name.us":"USD","ordermaker.currency.name.cnh":"CNH","com.fastTrade.shares.alert.ok":"Entiendo","com.trade.prePeriod.stock.limitOrderDe
20sc":"*Excepto hora de mercado, s\xf3lo se admiten \xf3rdenes limitadas con importes enteros."}},"zh-Hans":{[iD]:{"FastTradeAgency.texts.networkError":"网络异常","Local.BetterBuyProduct.betterBuyExploreTitle":"好买","alert.Gotit":"知道了","alert.cancel":"取消","alert.confirm":"确认","alert.error.title":"交易限制","autocopy.conflict.when.trading.texts.confirmToCancelAutoCopy":"确认取消","autocopy.conflict.when.trading.texts.content":"你当前有进行中的自动跟单计划,可能影响本次交易,请先取消自动跟单计划后再交易此产品。详情请查看帮助中心或咨询客服","autocopy.conflict.when.trading.texts.fail":"取消失败,请联系客服处理","autocopy.conflict.when.trading.texts.help":"帮助中心","autocopy.conflict.when.trading.texts.later":"再想想","autocopy.conflict.when.trading.texts.success":"自动跟单已成功取消","autocopy.conflict.when.trading.texts.title":"与自动跟单计划冲突","better.buy.choice.NoTradingAlert.msg":"当前非盘中交易时间,请再逛逛,耐心等待开盘交易(美国东部时间 9:30-16:00)!","better.buy.choice.NoTradingAlert.title":"当前为非交易时间","better.buy.choice.betterBuyExpireAlert.msg":"糟糕,此抄底宝产品已经到期不可买!快去看看其他抄底宝产品吧。","better.buy.choice.betterBuyExpireAlert.title":"抄底宝已到期","bought.sell.success.alert.text.buy":"买入{{share}}股","bought.sell.success.alert.text.close":"平仓{{share}}股","bought.sell.success.alert.text.loss":",亏损{{amount}} {{currency}}","bought.sell.success.alert.text.profit":",盈利{{amount}} {{currency}} ","bought.sell.success.alert.text.reward":",现金收益{{amount}} {{currency}}","bought.sell.success.alert.text.short":"卖空{{share}}股","bought.sell.success.alert.text.subscribe":"申购{{amount}}美元","bought.sell.success.alert.text.title":"订单已成交","com.asset.position.profit":"盈利","com.currencyExchange.confirm.confirmTitle":"确定","com.fastTrade.betterBuy.suggestions":"试试用抄底宝建仓更划算","com.orderMake.estimate.filled.marketOpens":"预计**##市场开市后,开始成交","com.orderMake.estimate.filled.atAnyTimeOfMarketHours":"随时可能成交,{{marketName}}市场已经开市。","com.fastTrade.expectedFillTime.generalDesc":"预计##市场开市后,开始成交","com.fastTrade.minAvailableFund":"现金可买","com.trade.order.available.shares.buy.title":"融资可买","com.fastTrade.order.oddLotBuyMinCostAlert.title":"交易提示","com.fastTrade.order.oddLotSellMinDebitAlert.title":"交易提示","com.fastTrade.order.oddLotSellMinDebitAlertMsg.title":"RockFlow 暂不支持卖出0.01美元以下的碎股,我们正在优化此功能,马上会重新上线。","com.fastTrade.sell.owned":"拥有","com.fastTrade.trade.reverseOrder.unfused.desc":"你有待成交的{{reverseSide}}订单,请在该订单成交或取消成功后再{{side}}","com.fastTrade.unsupportTradeStock":"这个产品暂无报价,暂不支持交易","com.guideToLogin.alert.later":"稍后再说","com.guideToLogin.alert.msg":"你需要先登录","com.guideToLogin.alert.now":"马上登录","com.guideToLogin.alert.title":"还未登录","com.order.stockOrder.limitPrice.subtitle":"限价{{price}}{{side}}{{quantity}}股{{name}},提交成功。","com.order.stockOrder.marketPrice.subtitle":"市价{{side}}{{quantity}}股{{name}},提交成功。","com.order.submitted.title":"订单提交成功","com.orderDetail.statusTexts.pending":"待提交","com.orderDetail.statusTexts.pendingShort":"待提交","com.orderMake.limit.confirm.title":"Confirm to {{side}} {{stockName}} at a limit price of {{limitPrice}}?","com.orderMake.market.confirm.title":"Confirm to {{side}} {{stockName}} at market price?","com.orderMake.stop.confirm.title":"Confirm to {{side}} {{stockName}} at a stop price of {{stopPrice}}?","com.orderMake.stopLimit.confirm.title":"Confirm to {{side}} {{stockName}} at a stop price of {{stopPrice}} and a limit price of {{limitPrice}}?","com.orderMake.traillingStop.confirm.title":"Confirm to {{side}} {{stockName}} at a {{type}} of {{side}}?","com.stockDetail.openAccount.alert.go.title":"现在就去","com.stockDetail.openAccount.alert.later.title":"稍后再说","com.stockDetail.openAccount.alert.msg":"你需要先完成开户流程","com.stockDetail.openAccount.alert.title":"还未开户","com.sync.tradeAction.alwaysAskSetTips":"记住我的选择,不再询问。可在[隐私设置]中更改","com.sync.tradeAction.notSync":"不同步","com.sync.tradeAction.subTitle":"订单成交后同步,其他Rocker可以跟单,扩大你在RockFlow的影响力","com.sync.tradeAction.sync":"同步","com.sync.tradeAction.title":"同步到个人动态","com.trade.buyButton.title":"买入","com.trade.cancel.confirmCancel":"确认撤销","com.trade.cancel.message":"您确定要撤销此订单吗?","com.trade.cancel.moreThinking":"再想想","com.trade.cancel.title":"撤销订单","com.trade.cashAccount.lackOfMoney.currencyExchange":"货币兑换","com.trade.cashAccount.lackOfMoney.deposit":"存入资金","com.trade.cashAccount.lackOfMoney.msg":"该产品 {{amount}} {{currency}} 起买。{{currency}}现金不足,你可以通过货币兑换或者存入现金来获取更多{{currency}}现金","com.trade.cashAccount.lackOfMoney.title":"{{currency}}现金不足","com.trade.cashAccount.shortSell.alert.deposit":"存入资金","com.trade.cashAccount.shortSell.alert.later":"稍后再说","com.trade.cashAccount.shortSell.alert.msg":"总资产超过2500美金,才能使用卖空功能","com.trade.cashAccount.shortSell.alert.title":"无法卖空","com.trade.confirm.closePositions.title":"平仓","com.trade.marginAccount.lackOfMoney.deposit":"马上存入","com.trade.marginAccount.lackOfMoney.later":"稍后再说","com.trade.marginAccount.lackOfMoney.msg":"该产品 {{amount}} {{currency}}
20 起买。可用资金不足,入金即可获得更多可用资金","com.trade.marginAccount.lackOfMoney.title":"可用资金不足","com.trade.marginAccount.shortSell.alert.cancel":"取消","com.trade.marginAccount.shortSell.alert.confirm":"确定","com.trade.marginAccount.shortSell.alert.msg":"你确定要卖空当前股票吗?","com.trade.marginAccount.shortSell.alert.title":"卖空提示","com.trade.marginAccount.shortSell.notAllow.alert.deposit":"马上存入","com.trade.marginAccount.shortSell.notAllow.alert.later":"稍后再说","com.trade.marginAccount.shortSell.notAllow.alert.msg":"卖空该产品至少需要 {{amount}} {{currency}}。可用资金不足,入金即可获得更多可用资金","com.trade.marginAccount.shortSell.notAllow.alert.title":"可用卖空资金不足","com.trade.order.oddlotTradeLimit.handle":"非正常交易时段仅支持下单整数股限价单,请在正常交易时段以市价单平仓","com.trade.order.oddlotTradeLimit1.handle":"限价单仅支持整数股交易,您可以使用市价单进行平仓","com.trade.sellButton.title":"卖出","com.trade.shortSellButton.title":"卖空","fancy.order.twap.explain.button":"知道了","fancy.order.twap.explain.message":"TWAP时间加权算法订单会将大单分时执行,减少市场冲击,默认在有效时间内分{{times}}次下单,每次下单股数为总数的{{percentage}}。","fancy.order.twap.explain.title":"TWAP订单","take.profit.and.stop.loss.explain.alert.texts.title":"止盈止损单","take.profit.and.stop.loss.explain.alert.texts.content":"同时下单止盈单和止损单。当市场价格涨至止盈价时,限价单成交,系统自动撤销止损单。当市场价格跌至止损价时,系统自动撤销止盈单,提交限价单\n\n二择一止盈止损单是我们特别为投资者开发的订单类型,我们系统会尽可能保障这类订单稳定性及可靠性,但亦可能因网络中断、服务器异常及其他不可抗因素导致交易未被执行或执行错误,请您知悉","take.profit.and.stop.loss.explain.alert.texts.ok":"知道了","order.cancel.buttons.cancelThenResubmit":"取消重下","order.cancel.buttons.fastExecution":"市价成交","order.cancel.then.resubmit.texts.cancelToast":"订单取消超时,请稍后再试","order.cancel.then.resubmit.texts.message":"我们将先取消你的当前订单,你可以重新选择股数与价格下单","order.cancel.then.resubmit.texts.title":"确认取消后重新下单?","order.detail.alert.andon.description":"此单向附加单的主订单还未完全成交,附加单因此未提交到上手","order.detail.alert.andon.ok":"好的","order.detail.alert.andon.title":"附加单待提交","order.detail.alert.commission.button":"好的","order.detail.alert.commission.highlight":"帮助中心","order.detail.alert.commission.message":"此订单享受Bobby佣金折扣活动佣金减免,活动详情请见帮助中心","order.detail.alert.commission.title":"佣金减免说明","order.fancy.vc.orderableUnderlyingType.bear":"小熊","order.fancy.vc.orderableUnderlyingType.betterBuy":"抄底宝","order.fancy.vc.orderableUnderlyingType.bull":"小牛","order.fancy.vc.orderableUnderlyingType.hk":"港股","order.fancy.vc.orderableUnderlyingType.unknown":"","order.fancy.vc.orderableUnderlyingType.us":"美股","order.fastOrderPannel.fancy":"高级订单","order.maker.stoploss.alert.texts.confirm":"确认下单","order.maker.stoploss.alert.texts.content":"你设置的限定价格{{compareResult}}触发价,当标的价格快速{{direction}}触发价时可能导致止损失败,请考虑适当{{action}}你的限定价格","order.maker.stoploss.alert.texts.equal":"等于","order.maker.stoploss.alert.texts.lowering":"降低","order.maker.stoploss.alert.texts.rasing":"提高","order.maker.stoploss.alert.texts.thinkAgain":"再想想","order.maker.stoploss.alert.texts.title":"可能无法成功止损","order.maker.stoploss.confirm.texts.buy":"确认在{{name}}涨过{{trigger}}时以{{price}}限价买入","order.maker.stoploss.confirm.texts.sell":"确认在{{name}}跌过{{trigger}}时以{{price}}限价卖出","order.maker.stoploss.risk.alert.texts.content":"止损限价单存在无法触发或被异常极端行情触发的风险,请谨慎设置
20并及时关注订单情况。为尽量避免因短期内极端价格波动导致误触发,此止损限价单仅在标的在 1 分钟内有两次最新价低于触发价时才会触发。","order.maker.stoploss.risk.alert.texts.ok":"好的","order.maker.stoploss.risk.alert.texts.title":"止损单风险提示","order.maker.take.profit.or.stop.loss.risk.texts.title":"止盈止损单风险提示","order.maker.take.profit.or.stop.loss.risk.texts.content":"止盈止损单将同时下单止盈单和止损单。当市场价格涨至止盈价时,限价单成交,系统自动撤销止损单。当市场价格跌至止损价时,系统自动撤销止盈单,提交限价单\n止损限价单存在无法触发或被异常极端行情触发的风险,请谨慎设置并及时关注订单情况。为尽量避免因短期内极端价格波动导致误触发,此止损限价单仅在标的在1分钟内有两次最新价低于触发价时才会触发。","order.maker.take.profit.or.stop.loss.risk.texts.ok":"好的","order.maker.stoploss.trigger.price.texts.bellow":"跌过","order.maker.stoploss.trigger.price.texts.high":"高于","order.maker.stoploss.trigger.price.texts.limitPrice":"限价","order.maker.stoploss.trigger.price.texts.limitPriceExplain":"当价格{{direction}}触发价,将为你下单限价为此价格的限价单。为了避免止损失败,请确保此价格{{compareResult}}触发价","order.maker.stoploss.trigger.price.texts.limitPricePlaceHolder":"输入限定价格","order.maker.stoploss.trigger.price.texts.low":"低于","order.maker.stoploss.trigger.price.texts.over":"涨过","order.maker.stoploss.trigger.price.texts.triggerPrice":"触发价","order.maker.stoploss.trigger.price.texts.triggerPriceExplain":"当价格{{direction}}此价格,将为你下单平仓限价单","order.maker.stoploss.trigger.price.texts.triggerPricePlaceHolder":"输入触发价格","order.modify.cancel":"取消","order.modify.cancelAndResubmit":"取消重下","order.modify.edit":"修改订单","order.modify.market":"市价成交","order.pending.remind.texts.content":"{{order}}尚未成交,距下单已过{{time}}分钟","order.pending.remind.texts.title":"订单未成交提醒","order.resubmit.market.texts.addition":"将先取消你的原有订单后重下市价单。","order.resubmit.market.texts.title":"确认修改为市价单?","order.resubmit.timeout.texts.limit":"原订单取消超时,将不为你进行改单操作。注意原订单后续依然有可能取消成功,请关注消息提醒并手动处理","order.resubmit.timeout.texts.market":"原订单取消超时,为避免行情波动造成损失,将不为你继续下市价单。注意原订单后续依然有可能取消成功,请关注消息提醒并手动处理","order.resubmit.timeout.texts.ok":"好的","order.resubmit.timeout.texts.title":"原订单取消超时","ordermaker.alert.cancel":"取消","ordermaker.alert.gotit":"好的","ordermaker.alert.ok":"好的","ordermaker.briefInfo.borrow":"预计借款:{{amount}}","ordermaker.error.adjustLimit":"股数已根据上限调整","ordermaker.error.exceedMaxAvailable":"不得超过最大可交易数量","ordermaker.error.integerOnly":"股数必须为整数","ordermaker.error.invalidNumber":"无效的数字","ordermaker.error.maxDecimalPlaces":"最多允许{{count}}位小数。","ordermaker.error.noFractionalShortSelling":"碎股不支持卖空,已为您调整最佳下单方式","ordermaker.error.priceErrorMessage":"应交易所要求,当前价格必须是{{unit}}的整数倍","ordermaker.error.priceErrorTitle":"价格错误","ordermaker.error.sharesExceedToast":"不得超过最大可交易数量","ordermaker.error.tradeUnitErrorActionTitle":"去修改","ordermaker.establish.trade.amount":"预计交易金额{{amount}}","ordermaker.establish.trade.borrow":"预计借款{{amount}}","ordermaker.fancy.order.confirm.button.confirm":"确认","ordermaker.fancy.order.local.push.stopLoss":"{{priceType}}{{price}}{{side}}{{quantity}}股{{name}}","ordermaker.fancy.order.local.push.stopPrice":"止损价","ordermaker.fancy.order.local.pu
20sh.takeProfit":"{{priceType}}{{price}}{{side}}{{quantity}}股{{name}}","ordermaker.fancy.order.local.push.takeProfitPrice":"止盈价","ordermaker.fancy.order.otc.tradingSession.alert.message":"场外市场股票仅支持盘中交易,不支持盘前及盘后时段委托与成交。","ordermaker.fancy.order.otc.tradingSession.alert.title":"仅支持盘中交易","ordermaker.fancy.order.pink.stock.alert.message":"粉单股票暂时不支持止损单,请选择其他订单类型","ordermaker.fancy.order.pink.stock.alert.title":"不支持止损单","ordermaker.fancy.order.stoploss.type.alert.message":"当前止损单为限价止损,当标的价格快速穿过触发价有可能导致触发限价单无法成交,请注意风险并合理使用此功能","ordermaker.fancy.order.stoploss.type.alert.noMoreAlert":"不再提醒","ordermaker.fancy.order.stoploss.type.alert.title":"限价止损单提示","ordermaker.fancy.order.twap.alert.texts.shareAtLess":"TWAP订单股数需至少为{{share}}股","ordermaker.fancy.order.twap.alert.texts.twapLimitedToSameDay":"TWAP订单当前仅支持当日内交易","ordermaker.fancy.order.twap.alert.texts.twapOnlySupportIntradayTrading":"TWAP订单当前仅支持盘中交易","ordermaker.fancy.order.twap.confirm.texts.extra":"TWAP将在所选时间段内陆续下单成交,你可以在订单详情页查看TWAP订单的成交状态","ordermaker.fancy.order.twap.time.alert.texts.endTimeMustAfterCurrentTimeAtLeast10":"开始时间与结束时间过近","ordermaker.fancy.order.twap.time.alert.texts.startTimeMustAfterCurrentTime":"开始时间不得早于当前时间","ordermaker.fancy.order.twap.time.alert.texts.startTimeMustBeforeEndTime":"开始时间不得晚于结束时间","ordermaker.fancy.order.twap.time.titles.cancel":"重置","ordermaker.fancy.order.twap.time.titles.confirm":"完成","ordermaker.fancy.order.twap.time.titles.current":"当前美东时间","ordermaker.fancy.order.twap.time.titles.end":"结束时间(美东)","ordermaker.fancy.order.twap.time.titles.endShort":"结束时间","ordermaker.fancy.order.twap.time.titles.start":"开始时间(美东)","ordermaker.fancy.order.twap.time.titles.startShort":"开始时间","ordermaker.fancy.order.vc.error.text.adjustLimit":"股数已根据上限调整","ordermaker.fancy.order.vc.error.text.exceedMax":"超过最大可买卖股数","ordermaker.fancy.order.vc.error.text.noFractionalShares":"{{value}}仅支持下单整数股,碎股请下市价单","ordermaker.fancy.order.vc.error.text.optionOrHKShares":"{{stockType}}请输入{{value}}的整数倍","ordermaker.fancy.order.vc.text.delayPrice":"延时价格","ordermaker.fancy.order.vc.text.inputPrice":"","ordermaker.fancy.order.vc.text.inputShare":"输入{{side}}股数","ordermaker.fancy.order.vc.text.orderType":"类型","ordermaker.fancy.order.vc.text.period":"交易时段","ordermaker.fancy.order.vc.text.price":"价格","ordermaker.fancy.order.vc.text.priceHolderPrice":"输入价格","ordermaker.fancy.order.vc.text.priceHolderStopPrice":"输入止损价格","ordermaker.fancy.order.vc.text.priceHolderTakeProfitPrice":"输入止盈价格","ordermaker.fancy.order.vc.text.quickDeal":"(快速成交)","ordermaker.fancy.order.vc.text.selectPriceQuickDeal":"{{priceName}}快速成交","ordermaker.fancy.order.vc.text.shareText":"股","ordermaker.fancy.order.vc.text.sharesText":"股","ordermaker.fancy.order.vc.text.sharesTitle":"股数","ordermaker.fancy.order.vc.text.stop":"止损","ordermaker.fancy.order.vc.text.takeProfit":"止盈","ordermaker.fancy.order.vc.text.tradingHoursCantChange":"{{type}}单不支持修改交易时段","ordermaker.fancy.order.vc.text.validality":"有效期","ordermaker.fancy.order.vc.text.twapStartTime":"开始时间","ordermaker.fancy.order.vc.text.twapEndTime":"结束时间","ordermaker.fast.order.button.estBuy":"预计花费{{price}}买入","ordermaker.fast.order.button.quickSell":"市价快速卖出","ordermaker.fast.order.vc.button.borrow":"借款{{amount}}","ordermaker.fast.order.vc.button.buy":"市价快速买入","ordermaker.fast.order.vc.button.closeAll":"全部平仓","ordermaker.fast.order.vc.button.estBuy":"预计花费{{price}}买入","ordermaker.fast.order.vc.button.marketClose":"市价快速平仓","ordermaker.fast.order.vc.button.openShort":"卖空{{amount}}","ordermaker.fast.order.vc.button.quickClose":"快速平仓{{amount}}","ordermaker.fast.order.vc.button.quickSell":"市价快速卖出","ordermaker.fast.order.advance":"高级订单","ordermaker.fast.order.market.order":"市价单","ordermaker.fast.trade.betterBuySuggestions":"Better Buy Suggestions >","ordermaker.fast.trade.oddLotSellMinDebitAlertMsg":"The minimum amount for odd lot sell orders is $0.01.","ordermaker.fast.trade.oddLotSellMinDebitAlertTitle":"Minimum Sell Amount","ordermaker.feed.copyTrade":"Copying @{{nickName}} to {{side}} {{stockName}}","ordermaker.new.order.type.stop":"止损","ordermaker.new.order.type.stopPrice":"止损价格","ordermaker.new.order.type.takeProfit":"止盈","ordermaker.new.order.type.takeProfitPrice":"止盈价格","ordermaker.non.market.order.open.position.error.message":"止盈止损单暂不支持开仓","ordermaker.non.market.order.open.position.error.title":"无法开仓","ordermaker.non.market.order.type.price.limit":"价格","ordermaker.non.market.order.type.price.stop":"止损价","ordermaker.non.market.order.type.price.takeProfit":"止盈价","ordermaker.non.market.order.type.price.twap":"价格","ordermaker.non.market.order.type.text.limit":"限价单","ordermaker.non.market.order.type.text.stopLoss":"止损单","ordermaker.non.market.order.type.text.takeProfit":"止盈单","ordermaker.non.market.order.type.text.takeProfitAndStopLoss":"止盈止损单","ordermaker.non.market.order.type.text.twap":"时间加权算法单","order.maker.take.profit.or.stop.loss.texts.takeProfitPrice":"止盈{{side}}价","order.maker.take.profit.or.stop.loss.texts.stopLossTriggerPrice":"止损触发价","order.maker.take.profit.or.stop.loss.texts.stopLossPrice":"止损{{side}}价","order.maker.take.profit.or.stop.loss.texts.tradingTimeAlert":"止盈止损单当前仅支持拓展交易时段","order.maker.take.profit.or.stop.loss.texts.confirmTitle":"确认止盈或止损{{side}}{{stockName}}","order.maker.take.profit.or.stop.loss.texts.confirmAmountStr":"预计交易金额{{takeProfit}}或{{stopLoss}}。","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotLowThanTrigger":"止盈卖出价不得小于止损触发价","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotBeCloseToTrigger":"止盈{{side}}价不得与止损触发价距离过近","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotGreatThanTrigger":"止盈买入价不得大于止损触发价","ordermaker.order.confirm.expected.fill.afterOpen":"预计{{timeLabel}}{{marketName}}市场开市后,开始成交","ordermaker.order.confirm.expected.fill.anyTime":"预计马上成交,{{marketName}}市场已经开市。","ordermaker.order.confirm.expected.fill.general":"预计{{marketName}}市场开市后,开始成交","ordermaker.order.confirm.expected.fill.optionPreMarket":"当前是美国市场盘前时段,小牛小熊订单将在开盘后才会成交","ordermaker.order.confirm.expected.fill.postMarket":"随时可能成交,当前是美国市场盘后时段。","ordermaker.order.confirm.expected.fill.preMarket":"随时可能成交,当前是美国市场盘前时段。","ordermaker.order.confirm.expected.fill.remotePreMarket":"预计{{timeLabel}}美国市场盘前时段开始后,开始成交。","ordermaker.order.confirm.message.earning":"盈利","ordermaker.order.confirm.message.loss":"亏损","ordermaker.order.confirm.message.profit":"预计{{side}}{{amount}}{{currency}}。","ordermaker.order.confirm.share.amount":"预计交易金额{{amount}}。","ordermaker.order.confirm.estimatedAmount.grey":"预计交易金额{{amount}}HKD。","ordermaker.order.confirm.share.shares":"预计{{side}}{{shares}}股。 ","ordermaker.order.confirm.title.fall":"跌过","ordermaker.order.confirm.title.limit":"确认限价{{price}}{{side}}{{stockName}}?","ordermaker.order.confirm.title.limit.grey":"确认限价{{price}}买入{{stockName}}","ordermaker.order.confirm.title.market":"确认市价{{side}}{{stockName}}吗?","ordermaker.order.confirm.title.rise":"涨过","ordermaker.order.confirm.title.stop":"确认在{{stockName}}{{action}}{{price}}时限价{{side}}吗?","ordermaker.order.confirm.title.takeProfit":"确认在{{stockName}}{{action}}{{price}}时限价{{side}}吗?","ordermaker.order.validity.option.beforeCacellation":"长期","ordermaker.order.validity.option.sameDay":"当日","ordermaker.orderable.underlying.text.bear":"小熊","ordermaker.orderable.underlying.text.betterBuy":"抄底宝","ordermaker.orderable.underlying.text.bull":"小牛","ordermaker.orderable.underlying.text.hk":"港股","ordermaker.orderable.underlying.text.us":"美股","ordermaker.pending.order.comma":",","ordermaker.pending.order.pending":"待成交{{sharePart}}","ordermaker.pending.orders.existed.msg":"你有待成交的{{side}}
20订单,请在该订单成交或取消成功后再继续{{side}}","ordermaker.pending.orders.existed.title":"有待成交订单","ordermaker.position.action.guide.buyLimitOrderAction":"提交买入限价单","ordermaker.position.action.guide.closeLongStopLoss":"当价格下跌至目标价格时,提交目标价格的卖出限价单。在行情波动影响下此限价单有概率无法成交","ordermaker.position.action.guide.closeLongTakeProfit":"当价格上涨至目标价格时,提交目标价格的卖出限价单","ordermaker.position.action.guide.closeShortStopLoss":"当价格上涨至目标价格时,提交目标价格的买入限价单。在行情波动影响下此限价单有概率无法成交","ordermaker.position.action.guide.closeShortTakeProfit":"当价格下跌至目标价格时,提交目标价格的买入限价单","ordermaker.position.action.guide.currentPrice":"现价","ordermaker.position.action.guide.sellLimitOrderAction":"提交卖出限价单","ordermaker.position.action.guide.stopLossPrice":"止损价","ordermaker.position.action.guide.takeProfitPrice":"止盈价","ordermaker.position.action.text.buy":"买入","ordermaker.position.action.text.sell":"卖出","ordermaker.position.status.text.cost":"持仓成本 {{cost}}","ordermaker.position.status.text.own":"拥有{{sharePart}}","ordermaker.post.order.sync.moment.title":"同步到个人动态","ordermaker.side.buy":"买入","ordermaker.side.sell":"卖出","ordermaker.stoploss.trigger.price.texts.limitPrice":"ä»·æ ¼","ordermaker.stoploss.trigger.price.texts.limitPriceExplain":"当价格{{direction}}触发价,将为你下单限价为此价格的限价单。为了避免止损失败,请确保此价格{{compareResult}}触发价","ordermaker.stoploss.trigger.price.texts.limitPricePlaceHolder":"请输入限定价格","ordermaker.stoploss.trigger.price.texts.triggerPriceExplain":"当价格{{direction}}此价格,将为你下单平仓限价单","ordermaker.stoploss.trigger.price.texts.triggerPricePlaceHolder":"请输入触发价","ordermaker.trade.oddLotShortNotSupport":"碎股不支持卖空,已为您调整最佳下单方式","ordermaker.trade.price.ask.price":"卖一价","ordermaker.trade.price.bid.price":"买一价","ordermaker.trade.price.cost":"持仓成本","ordermaker.trade.price.current.price":"现价","ordermaker.trade.price.mid.price":"中间价","ordermaker.trade.price.user.input.price":"输入价格","ordermaker.trade.time.option.all":"含盘前盘后","ordermaker.trade.time.option.tradingTime":"仅盘中","ordermaker.tradeable.stocks.cashBuy":"现金可买{{amount}}","ordermaker.tradeable.stocks.closMarginBuy":"最大可买{{amount}}","ordermaker.tradeable.stocks.greater":"高于{{priceName}}{{amount}}","ordermaker.tradeable.stocks.less":"低于{{priceName}}{{amount}}","ordermaker.tradeable.stocks.loss":"预计亏损{{amount}}","ordermaker.tradeable.stocks.lossText":"亏损","ordermaker.tradeable.stocks.marginBuy":"最大可买 {{amount}}","ordermaker.tradeable.stocks.marginSell":"最大可卖 {{amount}}","ordermaker.tradeable.stocks.profit":"预计盈利{{amount}}","ordermaker.tradeable.stocks.profitText":"盈利","ordermaker.tradeable.stocks.sameAs":"与{{priceName}}相同","orders.list.tab.type.twap":"算法单","reverse.trade.handler.cancelAll":"一键取消订单","reverse.trade.handler.cancelButton":"取消","reverse.trade.handler.confirmButton":"确认","reverse.trade.handler.confirmMessage":"取消所有待成交的{{pendingDirection}}订单,以便你能下单{{direction}}","reverse.trade.handler.confirmToCancel":"确认取消","reverse.trade.handler.ok":"好的","reverse.trade.handler.result.fail":"部分订单取消超时,请稍后重试","reverse.trade.handler.result.success":"反向订单取消成功","reverse.trade.handler.title":"有反向待成交订单","trade_eligibility.option_non_trading_hours_message":"{{name}} 当前不在交易时段,已自动为你添加到自选。","trade_eligibility.option_non_trading_hours_title":"{{name}} 非交易时段","trade_eligibility.option_short_sell_not_allowed_message_call":"当前不支持做空看涨(Baby Bull),你只能卖出现有的看涨合约。","trade_eligibility.option_short_sell_not_allowed_message_put":"当前不支持做空看跌(Baby Bear),你只能卖出现有的看跌合约。","trade_eligibility.option_short_sell_not_allowed_title":"该期权不支持做空","trade_eligibility.stock_short_sell_forbidden_message":"该è‚
20¡ç¥¨æš‚时无法做空,开放后会第一时间通知你。","trade_eligibility.stock_short_sell_forbidden_title":"该股票暂不支持做空","transcation.code.set.go":"去设置","transcation.code.set.message":"请设置交易密码以继续。","transcation.code.set.title":"设置交易密码","ordermaker.fancy.order.vc.text.priceHolderLimitPrice":"输入限定价格","ordermaker.button.buy":"买入","ordermaker.button.sell":"卖出","trade_eligibility.unsupported":"这支股票当前不可交易","trade_eligibility.option_short_sell_restricted_message":"不支持卖空","trade_eligibility.option_baby_bull_short_sell_restricted_message":"小牛不支持卖空","trade_eligibility.option_baby_bear_short_sell_restricted_message":"小熊不支持卖空","com.fastTrade.order.oddLotBuyMinCostAlert.msg":"RockFlow 暂不支持买入1美元以下的碎股,我们正在优化此功能,马上会重新上线。","ordermaker.currency.name.hk":"港币","ordermaker.currency.name.us":"美元","ordermaker.currency.name.cnh":"离岸人民币现金","com.fastTrade.shares.alert.ok":"知道了","com.trade.prePeriod.stock.limitOrderDesc":"限价单仅支持下单整数股"}},"zh-Hant":{[iD]:{"FastTradeAgency.texts.networkError":"網絡異常","Local.BetterBuyProduct.betterBuyExploreTitle":"好買","alert.Gotit":"知道了","alert.confirm":"確認","autocopy.conflict.when.trading.texts.confirmToCancelAutoCopy":"確認取消","autocopy.conflict.when.trading.texts.content":"你當前有進行中的自動跟單計劃,可能影響本次交易,請先取消自動跟單計劃後再交易此產品。詳情請查看幫助中心或咨詢客服","autocopy.conflict.when.trading.texts.fail":"取消失敗,請聯繫客服處理","autocopy.conflict.when.trading.texts.help":"幫助中心","autocopy.conflict.when.trading.texts.later":"再想想","autocopy.conflict.when.trading.texts.success":"自動跟單已成功取消","autocopy.conflict.when.trading.texts.title":"與自動跟單計劃衝突","better.buy.choice.NoTradingAlert.msg":"當前非盤中交易時間,請再逛逛,耐心等待開盤交易(美國東部時間 9:30-16:00)!","better.buy.choice.NoTradingAlert.title":"當前為非交易時段","better.buy.choice.betterBuyExpireAlert.msg":"糟糕,此抄底寶產品已經到期不可買!快去看看其他抄底寶產品吧。","better.buy.choice.betterBuyExpireAlert.title":"抄底寶已到期","bought.sell.success.alert.text.buy":"買入{{share}}股","bought.sell.success.alert.text.close":"平倉{{share}}股","bought.sell.success.alert.text.loss":",虧損{{amount}} {{currency}}","bought.sell.success.alert.text.profit":",盈利{{amount}} {{currency}} ","bought.sell.success.alert.text.reward":",現金收益{{amount}} {{currency}}","bought.sell.success.alert.text.short":"賣空{{share}}股","bought.sell.success.alert.text.subscribe":"申購{{amount}}美元","bought.sell.success.alert.text.title":"訂單已成交","com.asset.position.profit":"盈利","com.currencyExchange.confirm.confirmTitle":"確定","com.fastTrade.betterBuy.suggestions":"試試用抄底寶建倉更划算","com.orderMake.estimate.filled.marketOpens":"預計**##市場開市後,開始成交","com.orderMake.estimate.filled.atAnyTimeOfMarketHours":"隨時可能成交,{{marketName}}市場已經開市。","com.fastTrade.expectedFillTime.generalDesc":"預計##市場開市後,開始成交","com.fastTrade.minAvailableFund":"現金可買","com.trade.order.available.shares.buy.title":"融資可買","com.fastTrade.order.oddLotBuyMinCostAlert.title":"交易提示","com.fastTrade.order.oddLotSellMinDebitAlert.title":"交易提示","com.fastTrade.order.oddLotSellMinDebitAlertMsg.title":"RockFlow 暫不支持賣出0.01美元以下的碎股,我們正在優化此功能,馬上會重新上線。","com.fastTrade.sell.owned":"擁有","com.fastTrade.trade.reverseOrder.unfused.desc":"你有待成交的{{reverseSide}}訂單,請在該訂單成交或取消成功後再{{side}}","com.fastTrade.unsupportTradeStock":"這個產品暫無報價,暫不支持交易","com.guideToLogin.alert.later":"稍後再說","com.guideToLogin.alert.msg":"妳需要先登錄","com.guideToLogin.alert.now":"馬上登錄","com.guideToLogin.alert.title":"還未登錄","com.order.stockOrder.limitPrice.subtitle":"限價{{price}}{{side}}{{quantity}}股{{name}}的限價單已接收,限價為{{price}}","com.order.stockOrder.marketPrice.subtitle":"市價{{side}}{{quantity}}股{{name}}的市價單已接收","com.order.submitted.title":"訂單提交成功","com.orderDetail.statusTexts.pending":"待提交","com.orderDetail.statusTexts.pendingShort":"待提交","com.orderMake.limit.confirm.title":"Confirm to {{side}} {{stockName}} at a limit price of {{limitPrice}}?","com.orderMake.market.confirm.title":"Confirm to {{side}} {{stockName}} at market price?","com.orderMake.stop.confirm.title":"Confirm to {{side}} {{stockName}} at a stop price of {{stopPrice}}?","com.orderMake.stopLimit.confirm.title":"Confirm to {{side}} {{stockName}} at a stop price of {{stopPrice}} and a limit price of {{limitPrice}}?","com.orderMake.traillingStop.confirm.title":"Confirm to {{side}} {{stockName}} at a {{type}} of {{side}}?","com.stockDetail.openAccount.alert.go.title":"現在就去","com.stockDetail.openAccount.alert.later.title":"稍後再說","com.stockDetail.openAccount.alert.msg":"妳需要先完成開戶流程","com.stockDetail.openAccount.alert.title":"還未開戶","com.sync.tradeAction.alwaysAskSetTips":"記住我的選擇,不再詢問。可在[隱私設置]中更改","com.sync.tradeAction.notSync":"不同步","com.sync.tradeAction.subTitle":"訂單成交後同步,其他Rocker可以跟單,擴大妳在RockFlow的影響力","com.sync.tradeAction.sync":"同步","com.sync.tradeAction.title":"同步到個人動態","com.trade.buyButton.title":"買入","com.trade.cashAccount.lackOfMoney.currencyExchange":"貨幣兌換","com.trade.cashAccount.lackOfMoney.deposit":"存入資金","com.trade.cashAccount.lackOfMoney.msg":"該產品 {{amount}} {{currency}} 起買。{{currency}}
20現金不足,妳可以通過貨幣兌換或者存入現金來獲取更多{{currency}}現金","com.trade.cashAccount.lackOfMoney.title":"{{currency}}現金不足","com.trade.cashAccount.shortSell.alert.deposit":"存入資金","com.trade.cashAccount.shortSell.alert.later":"稍後再說","com.trade.cashAccount.shortSell.alert.msg":"總資產超過2500美金,才能使用賣空功能","com.trade.cashAccount.shortSell.alert.title":"無法賣空","com.trade.confirm.closePositions.title":"平倉","com.trade.marginAccount.lackOfMoney.deposit":"馬上存入","com.trade.marginAccount.lackOfMoney.later":"稍後再說","com.trade.marginAccount.lackOfMoney.msg":"該產品 {{amount}} {{currency}} 起買。可用資金不足,入金即可獲得更多可用資金","com.trade.marginAccount.lackOfMoney.title":"可用資金不足","com.trade.marginAccount.shortSell.alert.cancel":"取消","com.trade.marginAccount.shortSell.alert.confirm":"確定","com.trade.marginAccount.shortSell.alert.msg":"妳確定要賣空當前股票嗎?","com.trade.marginAccount.shortSell.alert.title":"賣空提示","com.trade.marginAccount.shortSell.notAllow.alert.deposit":"馬上存入","com.trade.marginAccount.shortSell.notAllow.alert.later":"稍後再說","com.trade.marginAccount.shortSell.notAllow.alert.msg":"賣空該產品至少需要 {{amount}} {{currency}}。可用資金不足,入金即可獲得更多可用資金","com.trade.marginAccount.shortSell.notAllow.alert.title":"可用賣空資金不足","com.trade.order.oddlotTradeLimit.handle":"非正常交易時段僅支持下單整數股限價單,請在正常交易時段以市價單平倉","com.trade.order.oddlotTradeLimit1.handle":"限價單僅支持整數股交易,您可以使用市價單進行平倉","com.trade.sellButton.title":"賣出","com.trade.shortSellButton.title":"賣空","fancy.order.twap.explain.button":"知道了","ordermaker.currency.name.hk":"港幣","ordermaker.currency.name.us":"美元","ordermaker.currency.name.cnh":"離岸人民幣現金","fancy.order.twap.explain.message":"TWAP時間加權算法訂單會將大單分時執行,減少市場衝擊,默認在有效時間內分{{times}}次下單,每次下單股數為總數的{{percentage}}。","fancy.order.twap.explain.title":"TWAP訂單","take.profit.and.stop.loss.explain.alert.texts.title":"止盈止損單","take.profit.and.stop.loss.explain.alert.texts.content":"同時下單止盈單和止損單。當市場價格漲至止盈價時,限價單成交,系統自動撤銷止損單。當市場價格跌至止損價時,系統自動撤銷止盈單,提交限價單\n\n二擇一止盈止損單是我們特別為投資者開發的訂單類型,我們系統會盡可能保障這類訂單穩定性及可靠性,但亦可能因網絡中斷、服務器異常及其他不可抗因素導致交易未被執行或執行錯誤,請您知悉","take.profit.and.stop.loss.explain.alert.texts.ok":"知道了","order.cancel.buttons.cancelThenResubmit":"取消重下","order.cancel.buttons.fastExecution":"市價成交","order.cancel.then.resubmit.texts.cancelToast":"訂單取消超時,請稍後再試","order.cancel.then.resubmit.texts.message":"我們將先取消你的當前訂單,你可以重新選擇股數與價格下單","order.cancel.then.resubmit.texts.title":"確認取消後重新下單?","order.detail.alert.andon.description":"此單向附加單的主訂單還未完全成交,附加單因此未提交到上手","order.detail.alert.andon.ok":"好的","order.detail.alert.andon.title":"附加單待提交","order.detail.alert.commission.button":"好的","order.detail.alert.commission.highlight":"幫助中心","order.detail.alert.commission.message":"此訂單享受Bobby傭金折扣活動傭金減免,活動詳情請見幫助中心","order.detail.alert.commission.title":"傭金減免說明","order.fancy.vc.orderableUnderlyingType.bear":"小熊","order.fancy.vc.orderableUnderlyingType.betterBuy":"抄底寶","order.fancy.vc.orderableUnderlyingType.bull":"小牛","order.fancy.vc.orderableUnderlyingType.hk":"港股","order.fancy.vc.orderableUnderlyingType.unknown":"","order.fancy.vc.orderableUnderlyingType.us":"美股","order.fastOrderPannel.fancy":"高級訂單","order.maker.stoploss.alert.texts.confirm":"確認下單","order.maker.stoploss.alert.texts.content":"你設置的限定價格{{compareResult}}觸發價,當標的價格快速{{direction}}觸發價時可能導致止損失敗,請考慮適當{{action}}你的限定價格","order.maker.stoploss.alert.texts.equal":"等於","order.maker.stoploss.alert.texts.lowering":"降低","order.maker.stoploss.alert.texts.rasing":"提高","order.maker.stoploss.alert.texts.thinkAgain":"再想想","order.maker.stoploss.alert.texts.title":"可能無法成功止損","order.maker.stoploss.confirm.texts.buy":"確認在{{name}}漲過{{trigger}}時以{{price}}限價買入","order.maker.stoploss.confirm.texts.sell":"確認在{{name}}跌過{{trigger}}時以{{price}}限價賣出","order.maker.stoploss.risk.alert.texts.content":"止損限價單存在無法觸發或被異常極端行情觸發的風險,請謹慎設置並及時關注訂單情況。為盡量避免因短期內極端價格波動導致誤觸發,此止損限價單僅在標的在 1 分鐘內有兩次最新價低於觸發價時才會觸發。","order.maker.stoploss.risk.alert.texts.ok":"好的","order.maker.stoploss.risk.alert.texts.title":"止損單風險提示","order.maker.take.profit.or.stop.loss.risk.texts.title":"止盈止損單風險提示","order.maker.take.profit.or.stop.loss.risk.texts.content":"止盈止損單將同時下單止盈單和止損單。當市場價格漲至止盈價時,限價單成交,系統自動撤銷止損單。當市場價格跌至止損價時,系統自動撤銷止盈單,提交限價單\n止損限價單存在無法觸發或被異常極端行情觸發的風險,請謹慎設置並及時關注訂單情況。為盡量避免因短期內極端價格波動導致誤觸發,此止損限價單僅在標的在1分鐘內有兩次最新價低於觸發價時才會觸發。","order.maker.take.profit.or.stop.loss.risk.texts.ok":"好的","order.maker.stoploss.trigger.price.texts.bellow":"跌過","order.maker.stoploss.trigger.price.texts.high":"高於","order.maker.stoploss.trigger.price.texts.limitPrice":"限價","order.maker.stoploss.trigger.price.texts.limitPriceExplain":"當價格{{direction}}觸發價,將為你下單限價為此價格的限價單。為了避免止損失敗,請確保此價格{{compareResult}}觸發價","order.maker.stoploss.trigger.price.texts.limitPricePlaceHolder":"输入限定价格","order.maker.stoploss.trigger.price.texts.low":"低於","order.maker.stoploss.trigger.price.texts.over":"漲過","order.maker.stoploss.trigger.price.texts.triggerPrice":"觸發價","order.maker.stoploss.trigger.price.texts.triggerPriceExplain":"當價格{{direction}}此價格,將為你下單平倉限價單","order.maker.stoploss.trigger.price.texts.triggerPricePlaceHolder":"输入触发价格","order.modify.cancel":"取消","order.modify.cancelAndResubmit":"取消重下","order.modify.edit":"修改訂單","order.modify.market":"市價成交","order.pending.remind.texts.content":"{{order}}尚未成交,距下單已過{{time}}分鐘","order.pending.remind.texts.title":"訂單未成交提醒","order.resubmit.market.texts.addition":"將先取消你的原有訂單後重下市價單。","order.resubmit.market.texts.title":"確認修改為市價單?","order.resubmit.timeout.texts.limit":"原訂單取消超時,將不為你進行改單操作。注意原訂單後續依然有可能取消成功,請關注消息提醒並手動處理","order.resubmit.timeout.texts.market":"原訂單取消超時,為避免行情波動造成損失,將不為你繼續下市價單。注意原訂單後續依然有可能取消成功,請關注消息提醒並手動處理","order.resubmit.timeout.texts.ok":"好的","order.resubmit.timeout.texts.title":"原訂單取消超時","ordermaker.alert.cancel":"取消","ordermaker.alert.gotit":"好的","ordermaker.alert.ok":"好的","ordermaker.button.buy":"買入","ordermaker.button.sell":"賣出","ordermaker.error.adjustLimit":"股數已根據上限調整","ordermaker.error.priceErrorMessage":"應交易所要求,當前價格必須是{{unit}}
20的整數倍","ordermaker.error.priceErrorTitle":"價格錯誤","ordermaker.error.sharesExceedToast":"不得超過最大可交易數量","ordermaker.error.tradeUnitErrorActionTitle":"去修改","ordermaker.establish.trade.amount":"預計交易金額{{amount}}","ordermaker.establish.trade.borrow":"預計借款{{amount}}","ordermaker.fancy.order.confirm.button.confirm":"確認","ordermaker.fancy.order.local.push.stopLoss":"{{priceType}}{{price}}{{side}}{{quantity}}股{{name}}","ordermaker.fancy.order.local.push.stopPrice":"止損價","ordermaker.fancy.order.local.push.takeProfit":"{{priceType}}{{price}}{{side}}{{quantity}}股{{name}}","ordermaker.fancy.order.local.push.takeProfitPrice":"止盈價","ordermaker.fancy.order.otc.tradingSession.alert.message":"場外市場股票僅支持盤中交易,不支持盤前及盤後時段委託與成交。","ordermaker.fancy.order.otc.tradingSession.alert.title":"僅支持盤中交易","ordermaker.fancy.order.pink.stock.alert.message":"粉單股票暫時不支持止損單,請選擇其他訂單類型","ordermaker.fancy.order.pink.stock.alert.title":"不支持止損單","ordermaker.fancy.order.stoploss.type.alert.message":"当前止损单为限价止损,当标的价格快速穿过触发价有可能导致触发限价单无法成交,请注意风险并合理使用此功能","ordermaker.fancy.order.stoploss.type.alert.noMoreAlert":"不再提醒","ordermaker.fancy.order.stoploss.type.alert.title":"限價止損單提示","ordermaker.fancy.order.twap.alert.texts.shareAtLess":"TWAP訂單股數需至少為{{share}}股","ordermaker.fancy.order.twap.alert.texts.twapLimitedToSameDay":"TWAP訂單當前僅支持當日內交易","ordermaker.fancy.order.twap.alert.texts.twapOnlySupportIntradayTrading":"TWAP訂單當前僅支持盤中交易","ordermaker.fancy.order.twap.confirm.texts.extra":"TWAP將在所選時間段內陸續下單成交,你可以在訂單詳情頁查看TWAP訂單的成交狀態","ordermaker.fancy.order.twap.time.alert.texts.endTimeMustAfterCurrentTimeAtLeast10":"開始時間與結束時間過近","ordermaker.fancy.order.twap.time.alert.texts.startTimeMustAfterCurrentTime":"開始時間不得早於當前時間","ordermaker.fancy.order.twap.time.alert.texts.startTimeMustBeforeEndTime":"開始時間不得晚於結束時間","ordermaker.fancy.order.twap.time.titles.cancel":"重置","ordermaker.fancy.order.twap.time.titles.confirm":"完成","ordermaker.fancy.order.twap.time.titles.current":"當前美東時間","ordermaker.fancy.order.twap.time.titles.end":"結束時間(美東)","ordermaker.fancy.order.twap.time.titles.endShort":"結束時間","ordermaker.fancy.order.twap.time.titles.start":"開始時間(美東)","ordermaker.fancy.order.twap.time.titles.startShort":"開始時間","ordermaker.fancy.order.vc.error.text.adjustLimit":"股數已根據上限調整","ordermaker.fancy.order.vc.error.text.exceedMax":"不得超過最大可交易數量","ordermaker.fancy.order.vc.error.text.noFractionalShares":"{{value}}僅支持下單整數股,碎股請下市價單","ordermaker.fancy.order.vc.error.text.optionOrHKShares":"{{stockType}}交易股數必須是{{value}}的整數倍","ordermaker.fancy.order.vc.text.delayPrice":"延時價格","ordermaker.fancy.order.vc.text.inputPrice":"","ordermaker.fancy.order.vc.text.inputShare":"輸入{{side}}股數","ordermaker.fancy.order.vc.text.orderType":"類型","ordermaker.fancy.order.vc.text.period":"交易時段","ordermaker.fancy.order.vc.text.price":"價格","ordermaker.fancy.order.vc.text.priceHolderPrice":"輸入價格","ordermaker.fancy.order.vc.text.priceHolderStopPrice":"輸入止損價格","ordermaker.fancy.order.vc.text.priceHolderTakeProfitPrice":"輸入止盈價格","ordermaker.fancy.order.vc.text.quickDeal":"(快速成交)","ordermaker.fancy.order.vc.text.selectPriceQuickDeal":"{{priceName}}快速成交","ordermaker.fancy.order.vc.text.shareText":"股","ordermaker.fancy.order.vc.text.sharesText":"股","ordermaker.fancy.order.vc.text.sharesTitle":"股","ordermaker.fancy.order.vc.text.stop":"止損","ordermaker.fancy.order.vc.text.takeProfit":"止盈","ordermaker.fancy.order.vc.text.tradingHoursCantChange":"{{type}}單不支持修改交易時段","ordermaker.fancy.order.vc.text.validality":"有效期","ordermaker.fancy.order.vc.text.twapStartTime":"開始時間","ordermaker.fancy.order.vc.text.twapEndTime":"結束時間","ordermaker.fast.order.button.estBuy":"預計花費{{price}}買入","ordermaker.fast.order.button.quickSell":"市價快速賣出","ordermaker.fast.order.vc.button.borrow":"借款{{amount}}","ordermaker.fast.order.vc.button.buy":"市價快速買入","ordermaker.fast.order.vc.button.closeAll":"全部平倉","ordermaker.fast.order.vc.button.estBuy":"預計花費{{price}}買入","ordermaker.fast.order.vc.button.marketClose":"市價快速平倉","ordermaker.fast.order.vc.button.openShort":"賣空{{amount}}","ordermaker.fast.order.vc.button.quickClose":"快速平倉{{amount}}","ordermaker.fast.order.vc.button.quickSell":"市價快速賣出","ordermaker.fast.order.advance":"高級訂單","ordermaker.fast.order.market.order":"市價單","ordermaker.fast.trade.betterBuySuggestions":"Better Buy Suggestions >","ordermaker.fast.trade.oddLotSellMinDebitAlertMsg":"The minimum amount for odd lot sell orders is $0.01.","ordermaker.fast.trade.oddLotSellMinDebitAlertTitle":"Minimum Sell Amount","ordermaker.feed.copyTrade":"Copying @{{nickName}} to {{side}} {{stockName}}","ordermaker.new.order.type.stop":"止損","ordermaker.new.order.type.stopPrice":"止損價格","ordermaker.new.order.type.takeProfit":"止盈","ordermaker.new.order.type.takeProfitPrice":"止盈價格","ordermaker.non.market.order.open.position.error.message":"止盈止損單暫不支持開倉","ordermaker.non.market.order.open.position.error.title":"無法開倉","ordermaker.non.market.order.type.price.limit":"價格","ordermaker.non.market.order.type.price.stop":"止損價","ordermaker.non.market.order.type.price.takeProfit":"止盈價","ordermaker.non.market.order.type.price.twap":"價格","ordermaker.non.market.order.type.text.limit":"限價單","ordermaker.non.market.order.type.text.stopLoss":"限價止損單","ordermaker.non.market.order.type.text.takeProfit":"止盈單","ordermaker.non.market.order.type.text.takeProfitAndStopLoss":"止盈止損單","ordermaker.non.market.order.type.text.twap":"時間加權算法單TWAP","order.maker.take.profit.or.stop.loss.texts.takeProfitPrice":"止盈{{side}}價","order.maker.take.profit.or.stop.loss.texts.stopLossTriggerPrice":"止損觸發價","order.maker.take.profit.or.stop.loss.texts.stopLossPrice":"止損{{side}}價","order.maker.take.profit.or.stop.loss.texts.tradingTimeAlert":"止盈止損單當前僅支持拓展交易時段","order.maker.take.profit.or.stop.loss.texts.confirmTitle":"確認止盈或止損{{side}}{{stockName}}","order.maker.take.profit.or.stop.loss.texts.confirmAmountStr":"預計交易金額{{takeProfit}}或{{stopLoss}}。","ordermaker.order.confirm.expected.fill.afterOpen":"預計{{timeLabel}}{{marketName}}市場開市後,開始成交","ordermaker.order.confirm.expected.fill.anyTime":"預計馬上成交,{{marketName}}市場已經開市。","ordermaker.order.confirm.expected.fill.general":"預計{{marketName}}市場開市後,開始成交","ordermaker.order.confirm.expected.fill.optionPreMarket":"目前是美國市場盤前時段,小牛小熊訂單將在開盤後才會成交","ordermaker.order.confirm.expected.fill.postMarket":"隨時可能成交,當前是美國市場盤後時段。","ordermaker.order.confirm.expected.fill.preMarket":"隨時可能成交,當前是美國市場盤前時段。","ordermaker.order.confirm.expected.fill.remotePreMarket":"預計{{timeLabel}}美國市場盤前時段開始後,開始成交。","ordermaker.order.confirm.message.earning":"盈利","ordermaker.order.confirm.message.loss":"虧損","ordermaker.order.confirm.message.profit":"預計{{side}}{{amount}}{{currency}}。","ordermaker.order.confirm.share.amount":"預計交易金額{{amount}}。","ordermaker.order.confirm.estimatedAmount.grey":"預計交易金額{{amount}}HKD。","ordermaker.order.confirm.share.shares":"預計{{side}}{{shares}}股。 ","ordermaker.order.confirm.title.fall":"跌過","ordermaker.order.confirm.title.limit":"確認限價{{price}}{{side}}{{stockName}}?","ordermaker.order.confirm.title.limit.grey":"確認限價{{price}}買入{{stockName}}","ordermaker.order.confirm.title.market":"確認市價{{side}}{{stockName}}嗎?","ordermaker.order.confirm.title.rise":"漲過","ordermaker.order.confirm.title.stop":"確認在{{stockName}}{{action}}{{price}}
20時限價{{side}}嗎?","ordermaker.order.confirm.title.takeProfit":"確認在{{stockName}}{{action}}{{price}}時限價{{side}}嗎?","ordermaker.order.validity.option.beforeCacellation":"長期","ordermaker.order.validity.option.sameDay":"當日","ordermaker.orderable.underlying.text.bear":"小熊","ordermaker.orderable.underlying.text.betterBuy":"抄底寶","ordermaker.orderable.underlying.text.bull":"小牛","ordermaker.orderable.underlying.text.hk":"港股","ordermaker.orderable.underlying.text.us":"美股","ordermaker.pending.order.comma":",","ordermaker.pending.order.pending":"待成交{{sharePart}}","ordermaker.pending.orders.existed.msg":"你有待成交的{{side}}訂單,請在該訂單成交或取消成功後再繼續{{side}}","ordermaker.pending.orders.existed.title":"有待成交訂單","ordermaker.position.action.guide.buyLimitOrderAction":"提交買入限價單","ordermaker.position.action.guide.closeLongStopLoss":"當價格下跌至目標價格時,提交目標價格的賣出限價單。在行情波動影響下此限價單有概率無法成交","ordermaker.position.action.guide.closeLongTakeProfit":"當價格上漲至目標價格時,提交目標價格的賣出限價單","ordermaker.position.action.guide.closeShortStopLoss":"當價格上漲至目標價格時,提交目標價格的買入限價單。在行情波動影響下此限價單有概率無法成交","ordermaker.position.action.guide.closeShortTakeProfit":"當價格下跌至目標價格時,提交目標價格的買入限價單","ordermaker.position.action.guide.currentPrice":"現價","ordermaker.position.action.guide.sellLimitOrderAction":"提交賣出限價單","ordermaker.position.action.guide.stopLossPrice":"止損價","ordermaker.position.action.guide.takeProfitPrice":"止盈價","ordermaker.position.action.text.buy":"買入","ordermaker.position.action.text.sell":"賣出","ordermaker.position.status.text.cost":"持倉成本 {{cost}}","ordermaker.position.status.text.own":"擁有{{sharePart}}","ordermaker.post.order.sync.moment.title":"同步到個人動態","ordermaker.error.noFractionalShortSelling":"碎股不支持賣空,已為您調整最佳下單方式","ordermaker.trade.oddLotShortNotSupport":"碎股不支持賣空,已為您調整最佳下單方式","ordermaker.trade.price.ask.price":"賣一價","ordermaker.trade.price.bid.price":"買一價","ordermaker.trade.price.cost":"持倉成本","ordermaker.trade.price.current.price":"現價","ordermaker.trade.price.mid.price":"中間價","ordermaker.trade.price.user.input.price":"輸入價格","ordermaker.trade.time.option.all":"含盤前盤後","ordermaker.trade.time.option.tradingTime":"僅盤中","ordermaker.tradeable.stocks.cashBuy":"現金可買","ordermaker.tradeable.stocks.closMarginBuy":"最大可買","ordermaker.tradeable.stocks.greater":"高於{{priceName}}{{amount}}","ordermaker.tradeable.stocks.less":"低於{{priceName}}{{amount}}","ordermaker.tradeable.stocks.loss":"預計虧損{{amount}}","ordermaker.tradeable.stocks.lossText":"虧損","ordermaker.tradeable.stocks.marginBuy":"最大可買 {{amount}}","ordermaker.tradeable.stocks.marginSell":"最大可賣 {{amount}}","ordermaker.tradeable.stocks.profit":"預計盈利{{amount}}","ordermaker.tradeable.stocks.profitText":"盈利","ordermaker.tradeable.stocks.sameAs":"與{{priceName}}相同","orders.list.tab.type.twap":"算法單","reverse.trade.handler.cancelAll":"一鍵取消訂單","reverse.trade.handler.cancelButton":"取消","reverse.trade.handler.confirmButton":"確認","reverse.trade.handler.confirmMessage":"取消所有待成交的{{pendingDirection}}訂單,以便你能下單{{direction}}","reverse.trade.handler.confirmToCancel":"確認取消","reverse.trade.handler.ok":"好的","reverse.trade.handler.result.fail":"部分訂單取消超時,請稍後重試","reverse.trade.handler.result.success":"反向訂單取消成功","reverse.trade.handler.title":"有反向待成交訂單","trade_eligibility.option_non_trading_hours_message":"{name} 目前不在交易時段,已自動為你加入自選。","trade_eligibility.option_non_trading_hours_title":"{name} 非交易時段","trade_eligibility.option_short_sell_not_allowed_message_call":"目前不支援放空賣出 Call(Baby Bull),你只能賣出持有的 Call。","trade_eligibility.option_short_sell_not_allowed_message_put":"目前不支援放空賣出 Put(Baby Bear),你只能賣出持有的 Put。","trade_eligibility.option_short_sell_not_allowed_title":"該選擇權不支援放空","trade_eligibility.stock_short_sell_forbidden_message":"該股票暫時無法放空,恢復後會第一時間通知你。","trade_eligibility.stock_short_sell_forbidden_title":"該股票暫不支援放空","transcation.code.set.go":"馬上設置","transcation.code.set.message":"妳需要先設置交易密碼","transcation.code.set.title":"設置交易密碼","ordermaker.fancy.order.vc.text.priceHolderLimitPrice":"輸入限定價格","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotLowThanTrigger":"止盈賣出價不得小於止損觸發價","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotBeCloseToTrigger":"止盈{{side}}價不得與止損觸發價距離過近","take.profit.or.stop.loss.order.price.info.texts.priceShouldNotGreatThanTrigger":"止盈買入價不得大於止損觸發價","trade_eligibility.unsupported":"這支股票当前不可交易","trade_eligibility.option_short_sell_restricted_message":"不支持賣空","trade_eligibility.option_baby_bull_short_sell_restricted_message":"小牛不支持賣空","trade_eligibility.option_baby_bear_short_sell_restricted_message":"小熊不支持賣空","alert.cancel":"取消","com.fastTrade.order.oddLotBuyMinCostAlert.msg":"RockFlow 暫不支持買入1美元以下的碎股,我們正在優化此功能,馬上會重新上線。","com.fastTrade.shares.alert.ok":"知道了","com.trade.prePeriod.stock.limitOrderDe
20sc":"*非正常交易時段僅支持下單整數股限價單"}}},i$={en:{[iA]:{"com.betterbuy.home.title":"Better Buy","com.betterbuy.home.title.new":"Better Buy","com.betterbuy.home.mark":"Buy the Dip on Top US Stocks","com.betterbuy.home.mark.alert.title":'What is "Buy the Dip"?',"com.betterbuy.home.mark.alert.content":'"Buy the Dip" is a strategy where you purchase a stock after its price has dropped, anticipating a rebound. RockFlow\'s "Better Buys" feature helps you do this with a twist: you get an instant cash rebate upon purchase. If the stock price doesn\'t fall below your purchase price by expiry, you keep the full rebate. If it does, you buy the stock at your target price, with the rebate acting as a discount.',"com.betterbuy.company":"Companies","com.betterbuy.index":"Indices","com.betterbuy.symobl.title":"Select {{name}} Better Buy","com.betterbuy.symobl.select.title":"Select Product","com.betterbuy.symobl.time.title":"Expiration Date","com.betterbuy.symobl.price.title.new":"Price","com.betterbuy.symobl.price":"Price","com.betterbuy.symobl.price.new":"Price","com.betterbuy.symobl.believe.price":"Below","com.betterbuy.symobl.believe.no.price":"Not Below","com.betterbuy.symobl.apy":"APY","com.betterbuy.symobl.within.budget":"Buyable","com.betterbuy.symobl.more":"See More","com.betterbuy.symobl.more.new":"More","com.betterbuy.symobl.close":"Collapse","com.betterbuy.symobl.close.new":"Collapse","com.betterbuy.symobl.time.alert.title":"Expiry Date","com.betterbuy.symobl.time.alert.content":"The date when the Better Buy contract expires.","com.betterbuy.symobl.price.alert.title":"Strike Price","com.betterbuy.symobl.price.alert.content":"If the stock price is at or below this price at expiry, you purchase the shares. Otherwise, you keep the instant cash gain.","com.betterbuy.symobl.within.budget.alert.content":"Only show products that can be purchased with your current available funds.","com.betterbuy.margin.alert.title":"Margin Account Required","com.betterbuy.margin.alert.content":"Better Buy is currently only available for margin accounts.","com.betterbuy.margin.cancel":"Don't show again","com.betterbuy.trading.title":"Market Closed","com.betterbuy.trading.content":"You can place orders for Better Buy products only during market hours.","com.betterbuy.home.share.scan":"Scan the QR code to view all Better Buy products.","com.betterbuy.home.share.click":"Click the link to view all Better Buy products.","com.betterbuy.symbol.share.scan":"Scan the QR code to view Better Buy products for {{name}}.","com.betterbuy.symbol.share.click":"Click the link to view Better Buy products for {{name}}.","com.betterbuy.symbol.empty":"No products match the current filters.","com.betterbuy.symbol.asset.empty":"Your current assets are insufficient to purchase any Better Buy products.","com.betterbuy.detail.share.scan":"Scan the QR code to view this Better Buy product.","com.betterbuy.detail.share.click":"Click the link to view this Better Buy product.","com.betterbuy.detail.title":"Buy {{name}}","com.betterbuy.detail.confirm.amount":"Determine Amount","com.betterbuy.detail.confirm.amount.alert.title":"How to determine amount","com.betterbuy.detail.confirm.amount.alert.content":"The Dip Sniper product's margin is inaccessible during the lock-up period. It's recommended to allocate some funds for trading within this timeframe","com.betterbuy.detail.apy1":"Expected APY","com.betterbuy.detail.max":"Max","com.betterbuy.detail.contracts":"Contracts","com.betterbuy.detail.multiple":"(x100 shares)","com.betterbuy.detail.max.buy":"Total Available","com.betterbuy.detail.hint":"Enter Quantity","com.betterbuy.detail.analysis":"Profit Analysis","com.betterbuy.detail.no.drop":"Doesn't drop below {{price}}","com.betterbuy.detail.no.drop.mark2":"If the price of does not drop below {{price}} USD after expired, your margin will be unfrozen and it would be similar to investing in a high-yield wealth management product","com.betterbuy.detail.drop":"Drops below {{price}}","com.betterbuy.detail.drop.mark2":"If the price of {{name}} is at or below {{price}} at expiry, you will purchase {{shares}} shares of {{name}} at {{price}}.","com.betterbuy.detail.confirm":"Confirm","com.betterbuy.detail.current.price":"Current Price {{price}} USD","com.betterbuy.detail.receive":"Receive {{income}} USD","com.betterbuy.detail.receive.buy":"Receive {{income}} USD \n and buy {{name}} at a lower price","com.betterbuy.explore.title":"Better Buys","com.betterbuy.wel.title":"Welcome to Better Buy","com.betterbuy.wel.content":'A new way to "Buy the Dip" from RockFlow. Set your target price and get an instant cash rebate!',"com.betterbuy.wel.content.highlight.RockFlow":"RockFlow","com.betterbuy.wel.content.boldtext":"Set your target price and get an instant cash rebate!","com.betterbuy.wel.confirm":"Got it","com.betterbuy.enter.quantity":"Enter Quantity","com.betterbuy.select":"Select","com.betterbuy.exceed":"Amount cannot exceed the available","com.betterbuy.price.hint":"Hint: Selecting a lower strike price increases your APY.","com.betterbuy.change.hint":"Price has been updated.","com.betterbuy.price.update":"Price updated","com.betterbuy.price.alert.title":"Price Updated","com.betterbuy.price.alert.content":"The price of the Better Buy product has been updated. Please review before proceeding.","com.betterbuy.fail.push.content":"Your Better Buy order for {{name}} has been submitted.","com.betterbuy.fail.push.title":"Order Submitted","com.betterbuy.detail.apy.content":"The expected annualized return for buying one contract of Dip Sniper assuming a steady market. However, due to market volatility, the actual annualized return might differ from this estimate","com.earn.close":"Close","com.betterbuy.symbol.next.click":"Next","better.buy.detail.APYCalculationIntroduction":". The formula 
20is Cash Rewards / Frozen Funds / Remaining Days to Maturity * 365, with Frozen Funds being 100 * Purchase Price.","better.buy.availableFundsIsNotEnough":"Insufficient Cash (Starts at {{amount}} USD)","better.buy.account.alert.cash":"Unlock Dip Sniper with margin account","better.buy.goToSellStock":"Sell Stocks","betterBuy.trade.lackAsset.tips":"Insufficient Cash (Starts at {{asset}} USD)","better.buy.goDeposit":"Deposit","better.buy.tradingTimeCountDownTitle":"Market opens in {{countDownStr}}","symbol.better.buy.ai.quick.ask.texts.button":"Bobby Pick","symbol.better.buy.ai.quick.ask.texts.quickText":"Find my best Dip Sniper for {{name}}({{symbol}})","better.buy.tradeConfirmTitle":"Confirm to buy {{quantity}} shares of {{name}} (expires in {{expiryInfo}} {{dayUnit}})?","com.betterbuy.expiry.bucket.week":"1 Week","com.betterbuy.expiry.bucket.oneMonth":"1 Month","com.betterbuy.expiry.bucket.threeMonth":"3 Months","com.betterbuy.expiry.bucket.sixMonth":"6 Months","com.betterbuy.expiry.bucket.oneYear":"1 Year","com.betterbuy.expiry.bucket.more":"More","better.buy.order.block.texts.existingLongPositionTitle":"Existing position on this Bear","better.buy.order.block.texts.existingShortPositionMessage":"By subscribing to this Dip Buyer, you'll sell {{quantity}} contract of the {{name}} Bear expiring {{expireDate}} with a strike price of {{strikePrice}} USD. Since you currently hold a position in this Bear, please close it before subscribing to the Dip Buyer.","better.buy.order.block.texts.existingPendingBuyTitle":"Existing pending buy order for this Bear","better.buy.order.block.texts.existingPendingSellMessage":"By subscribing to this Dip Buyer, you'll sell {{quantity}} contract of the {{name}} Bear expiring {{expireDate}} with a strike price of {{strikePrice}} USD. Since you currently have a pending order for this Bear, please cancel that order before subscribing to the Dip Buyer.","better.buy.order.block.texts.closePositionAction":"Close Position","better.buy.order.block.texts.cancelOrderAction":"Cancel Order","better.buy.choice.betterBuyExpireAlert.title":"Dip Sniper Expired","better.buy.choice.betterBuyExpireAlert.msg":"Oops! This 'Dip Sniper' product has expired and cannot be purchased. Please go and check other products out!","com.betterbuy.order.reject.title":"Unable to place order","com.betterbuy.order.reject.priceTooLow":"The current bid price is too low to subscribe.","com.betterbuy.order.reject.invalidQuantity":"Please enter a valid number of contracts.","com.betterbuy.risklevel.conservative":"Conservative","com.betterbuy.risklevel.balanced":"Balanced","com.betterbuy.risklevel.aggressive":"Aggressive","com.betterbuy.list.risk.rate":"Risk Rate","com.betterbuy.list.extra.apy":"Extra APY","com.betterbuy.list.due.date":"Expiry Date","com.betterbuy.list.sort.by.apy":"Sort by APY","com.betterbuy.list.show.more":"Show More","com.betterbuy.list.show.less":"Show Less","com.betterbuy.list.purchase.price.below":"Purchase Price Below","com.betterbuy.list.expiration.date.et":"Expiration Date(ET)","com.betterbuy.list.current.price.link":"{{name}} Current {{price}}","better.buy.detail.explain.subscriptionMark1":"Upon successful subscription, you will sell {{contracts}} {{name}} Baby Bear expiring on {{expireDate}} with a strike price of {{strikePrice}} USD, and immediately receive a cash reward with APY of {{yield}}.","better.buy.detail.explain.noDropMark2":"If the price of {{name}} does not drop below {{price}} USD after expiration, the Baby Bear will expire automatically, your margin will be unfrozen, and the premium is yours to keep — similar to investing in a high-yield wealth management product.","better.buy.detail.explain.noDropMark2Highlight":"does not drop below {{price}} USD","better.buy.detail.explain.dropMark2":"If the price of {{name}} drops below {{price}} USD after expiration, the Baby Bear will be exercised, and you will buy {{shares}} shares at {{price}} USD. Since you received the premium upfront, your effective cost will be lower than {{price}} USD. This is the maximum potential risk of the Dip Buyer product.","better.buy.detail.explain.dropMark2Highlight":"drops below {{price}} USD","better.buy.detail.explain.dropMark2Highlight1":"lower than {{price}} USD","better.buy.choice.buyPrice.title":"Expect to Buy At","betterBuy.trade.stockprice.title":"Stock Price","com.betterbuy.detail.instant.gains":"Instant cash reward","com.betterbuy.list.trade.action.desc":"Buy at {{strikePrice}} after {{day}} {{dayUnit}}","com.betterbuy.list.trade.action.desc.today":"Buy at {{strikePrice}} after day ends","com.asset.position.function.button.betterBuy":"Dip Sniper","com.betterbuy.common.day_unit":"days","com.betterbuy.common.day_singular":"day","com.betterbuy.common.day_plural"
20:"days","com.betterbuy.common.today":"Today","com.betterbuy.common.tomorrow":"Tomorrow","better.buy.confirm.texts.newTitle":"Confirm to subscribe {{name}}?","better.buy.confirm.texts.contract":"Contract","better.buy.confirm.texts.contracts":"Contracts","better.buy.confirm.texts.sellDescription":"You will sell {{quantity}} {{name}} Baby Bear expiring on {{expireDate}} with a strike price of {{strikePrice}} USD. ","com.fastTrade.confirm.confirmToBuy":"Confirm"}},es:{[iA]:{"com.betterbuy.home.title":"Better Buy","com.betterbuy.home.title.new":"Better Buy","com.betterbuy.home.mark":"精選美股,低價抄底","com.betterbuy.home.mark.alert.title":'\xbfQu\xe9 es la "Compra en la Ca\xedda"?',"com.betterbuy.home.mark.alert.content":'“Compra en la Ca\xedda” es una estrategia en la que compras una acci\xf3n despu\xe9s de que su precio ha bajado, anticipando un rebote. La funci\xf3n "Better Buys" de RockFlow te ayuda a hacer esto con un extra: obtienes un reembolso en efectivo instant\xe1neo con la compra. Si el precio de la acci\xf3n no cae por debajo de tu precio de compra al vencimiento, conservas el reembolso completo. Si lo hace, compras la acci\xf3n a tu precio objetivo, con el reembolso actuando como un descuento.',"com.betterbuy.company":"Compa\xf1\xedas","com.betterbuy.index":"\xcdndices","com.betterbuy.symobl.title":"Seleccionar {{name}} Compra Mejorada","com.betterbuy.symobl.select.title":"Seleccionar","com.betterbuy.symobl.time.title":"Fecha de caducidad","com.betterbuy.symobl.price.title.new":"Precio","com.betterbuy.symobl.price":"Precio","com.betterbuy.symobl.price.new":"Precio","com.betterbuy.symobl.believe.price":"Por debajo","com.betterbuy.symobl.believe.no.price":"No por debajo","com.betterbuy.symobl.apy":"RAE","com.betterbuy.symobl.within.budget":"Comprable","com.betterbuy.symobl.more":"Ver m\xe1s","com.betterbuy.symobl.more.new":"M\xe1s","com.betterbuy.symobl.close":"Cerrar","com.betterbuy.symobl.close.new":"Cerrar","com.betterbuy.symobl.time.alert.title":"Fecha de Vencimiento","com.betterbuy.symobl.time.alert.content":"La fecha en que expira el contrato de Compra Mejorada.","com.betterbuy.symobl.price.alert.title":"Precio de Ejercicio","com.betterbuy.symobl.price.alert.content":"Si el precio de la acci\xf3n est\xe1 en o por debajo de este precio al vencimiento, usted compra las acciones. De lo contrario, se queda con la ganancia en efectivo instant\xe1nea.","com.betterbuy.symobl.within.budget.alert.content":"Mostrar solo productos que se pueden comprar con sus fondos disponibles actuales.","com.betterbuy.margin.alert.title":"Se requiere cuenta de margen","com.betterbuy.margin.alert.content":"La Compra Mejorada actualmente solo est\xe1 disponible para cuentas de margen.","com.betterbuy.margin.cancel":"No volver a mostrar","com.betterbuy.trading.title":"Mercado cerrado","com.betterbuy.trading.content":"Solo puede realizar pedidos de productos de Compra Mejorada durante el horario de mercado.","com.betterbuy.home.share.scan":"Escanee el c\xf3digo QR para ver todos los productos de Compra Mejorada.","com.betterbuy.home.share.click":"Haga clic en el enlace para ver todos los productos de Compra Mejorada.","com.betterbuy.symbol.share.scan":"Escanee el c\xf3digo QR para ver los productos de Compra Mejorada para {{name}}.","com.betterbuy.symbol.share.click":"Haga clic en el enlace para ver los productos de Compra Mejorada para {{name}}.","com.betterbuy.symbol.empty":"Ning\xfan producto coincide con los filtros actuales.","com.betterbuy.symbol.asset.empty":"Sus activos actuales son insuficientes para comprar cualquier producto de Compra Mejorada.","com.betterbuy.detail.share.scan":"Escanee el c\xf3digo QR para ver este producto de Compra Mejorada.","com.betterbuy.detail.share.click":"Haga clic en el enlace para ver este producto de Compra Mejorada.","com.betterbuy.detail.title":"Comprar {{name}}","com.betterbuy.detail.confirm.amount":"Determinar la cantidad","com.betterbuy.detail.confirm.amount.alert.title":"C\xf3mo determinar la cantidad","com.betterbuy.detail.confirm.amount.alert.content":"El margen del producto Diving Sniper es inaccesible durante el per\xedodo de bloqueo. Se recomienda asignar algunos fondos para operar dentro de este plazo.","com.betterbuy.detail.apy1":"APY esperado","com.betterbuy.detail.max":"M\xe1x.","com.betterbuy.detail.contracts":"Contratos","com.betterbuy.detail.multiple":"(x100 acciones)","com.betterbuy.detail.max.buy":"Total disponible","com.betterbuy.detail.hint":"Ingrese la cantidad","com.betterbuy.detail.analysis":"An\xe1lisis de ganancias","com.betterbuy.detail.no.drop":"No baja de {{price}}","com.betterbuy.detail.no.drop.mark2":"Si el precio de {{name}} no cae por debajo de {{price}} al vencimiento, no comprar\xe1 las acciones y conservar\xe1 la ganancia en efectivo.","com.betterbuy.detail.drop":"Cae por debajo de {{price}}","com.betterbuy.detail.drop.mark2":"Si el precio de {{name}} es igual o inferior a {{price}} al vencimiento, comprar\xe1 {{shares}} acciones de {{name}} a {{price}}.","com.betterbuy.detail.confirm":"Confirmar","com.betterbuy.detail.current.price":"Precio actual: {{price}} USD","com.betterbuy.detail.receive":"Recibir {{income}} USD","com.betterbuy.detail.receive.buy":"Recibir {{income}} USD \n y comprar {{name}} a un precio m\xe1s bajo","com.betterbuy.explore.title":"Compras Mejoradas","com.betterbuy.wel.title":"Bienvenido a la Compra Mejorada","com.betterbuy.wel.content":'Una nueva forma de "Comprar en la Ca\xedda" de RockFlow. \xa1Establezca su precio objetivo y obtenga un reembolso en efectivo instant\xe1neo!',"com.betterbuy.wel.content.highlight.RockFlow":"RockFlow","com.betterbuy.wel.content.boldtext":"\xa1Establezca su precio objetivo y obtenga un reembolso en efectivo instant\xe1neo!","com.betterbuy.wel.confirm":"Entendido","com.betterbuy.enter.quantity":"Introducir contratos, 1 contrato = {{shares}} acciones","com.betterbuy.select":"Seleccionar","com.betterbuy.exceed":"El n\xfamero de contratos suscritos no puede exceder el total disponible","com.betterbuy.price.hint":"Pista: Seleccionar un precio de ejercicio m\xe1s bajo aumenta su RAE.","com.betterbuy.change.hint":"El precio ha sido actualizado.","com.betterbuy.price.update":"Precio actualizado","com.betterbuy.price.alert.title":"Precio actualizado","com.betterbuy.price.alert.content":"El precio del producto de Compra Mejorada ha sido actualizado. Por favor, revise antes de continuar.","com.betterbuy.fail.push.content":"Su pedido de Compra Mejorada para {{name}}
20 ha sido enviado.","com.betterbuy.fail.push.title":"Pedido enviado","com.betterbuy.detail.apy.content":"El rendimiento anualizado esperado por la compra de un contrato de Diving Sniper suponiendo un mercado estable. Sin embargo, debido a la volatilidad del mercado, el rendimiento anualizado real podr\xeda diferir de esta estimaci\xf3n.","com.earn.close":"Cerrar","com.betterbuy.symbol.next.click":"Siguiente","better.buy.detail.APYCalculationIntroduction":". La f\xf3rmula es Recompensas en efectivo / Fondos congelados / D\xedas restantes hasta el vencimiento * 365, siendo los fondos congelados 100 * Precio de compra.","better.buy.availableFundsIsNotEnough":"Sus fondos disponibles son insuficientes para comprar este producto de Compra Mejorada.","better.buy.account.alert.cash":"Desbloquea Diving Sniper con una cuenta de margen","better.buy.goToSellStock":"Vender acciones","betterBuy.trade.lackAsset.tips":"Necesita al menos {{asset}} USD para comprar esta Diving Sniper. El monto del pedido excede los fondos disponibles. Reduzca posiciones o deposite para obtener m\xe1s fondos disponibles.","better.buy.goDeposit":"Depositar","better.buy.tradingTimeCountDownTitle":"El mercado abre en {{countDownStr}}","symbol.better.buy.ai.quick.ask.texts.button":"Selecci\xf3n de Bobby","symbol.better.buy.ai.quick.ask.texts.quickText":"Encuentra mi mejor Cazador de Ca\xeddas para {{name}}({{symbol}})","better.buy.tradeConfirmTitle":"\xbfConfirmar la compra de {{quantity}} acciones de {{name}} (vence en {{expiryInfo}} {{dayUnit}})?","com.betterbuy.expiry.bucket.week":"1 semana","com.betterbuy.expiry.bucket.oneMonth":"1 mes","com.betterbuy.expiry.bucket.threeMonth":"3 meses","com.betterbuy.expiry.bucket.sixMonth":"6 meses","com.betterbuy.expiry.bucket.oneYear":"1 a\xf1o","com.betterbuy.expiry.bucket.more":"M\xe1s","better.buy.order.block.texts.existingLongPositionTitle":"Posici\xf3n existente en este Bear","better.buy.order.block.texts.existingShortPositionMessage":"Al suscribirte a este Dip Buyer, vender\xe1s {{quantity}} contrato del Bear de {{name}} con vencimiento el {{expireDate}} y precio de ejercicio de {{strikePrice}} USD. Como actualmente mantienes una posici\xf3n en este Bear, ci\xe9rrala antes de suscribirte al Dip Buyer.","better.buy.order.block.texts.existingPendingBuyTitle":"Orden de compra pendiente para este Bear","better.buy.order.block.texts.existingPendingSellMessage":"Al suscribirte a este Dip Buyer, vender\xe1s {{quantity}} contrato del Bear de {{name}} con vencimiento el {{expireDate}} y precio de ejercicio de {{strikePrice}} USD. Como actualmente tienes una orden pendiente para este Bear, canc\xe9lala antes de suscribirte al Dip Buyer.","better.buy.order.block.texts.closePositionAction":"Cerrar posici\xf3n","better.buy.order.block.texts.cancelOrderAction":"Cancelar orden","better.buy.choice.betterBuyExpireAlert.title":"Diving Sniper caducado","better.buy.choice.betterBuyExpireAlert.msg":"\xa1Ups! Este producto 'Diving Sniper' ha caducado y no se puede comprar. Por favor, vaya y compruebe otros productos.","com.betterbuy.order.reject.title":"No se puede enviar la orden","com.betterbuy.order.reject.priceTooLow":"El precio de compra actual es demasiado bajo para suscribir.","com.betterbuy.order.reject.invalidQuantity":"Introduce un n\xfamero de contratos v\xe1lido.","com.betterbuy.risklevel.conservative":"Conservador","com.betterbuy.risklevel.balanced":"Equilibrado","com.betterbuy.risklevel.aggressive":"Agresivo","com.betterbuy.list.risk.rate":"Nivel de riesgo","com.betterbuy.list.extra.apy":"APY extra","com.betterbuy.list.due.date":"Fecha de vencimiento","com.betterbuy.list.sort.by.apy":"Ordenar por APY","com.betterbuy.list.show.more":"Mostrar m\xe1s","com.betterbuy.list.show.less":"Mostrar menos","com.betterbuy.list.purchase.price.below":"Precio de compra por debajo de","com.betterbuy.list.expiration.date.et":"Fecha de vencimiento (ET)","com.betterbuy.list.current.price.link":"{{name}} actual {{price}}","better.buy.detail.explain.subscriptionMark1":"Tras una suscripci\xf3n exitosa, venderemos {{contracts}} Baby Bear de {{name}} con vencimiento el {{expireDate}} y precio de ejercicio de {{strikePrice}} USD, y recibir\xe1 inmediatamente una recompensa en efectivo con un APY de {{yield}}.","better.buy.detail.explain.noDropMark2":"Si el precio de {{name}} no cae por debajo de {{price}} USD despu\xe9s del vencimiento, el Baby Bear vendido expirar\xe1 autom\xe1ticamente, su margen se descongelar\xe1 de inmediato y la prima ser\xe1 suya, similar a invertir en un producto de gesti\xf3n patrimonial de alto rendimiento.","better.buy.detail.explain.noDropMark2Highlight":"no cae por debajo de {{price}} USD","better.buy.detail.explain.dropMark2":"Si el precio de {{name}} cae por debajo de {{price}} USD despu\xe9s del vencimiento, el Baby Bear vendido ser\xe1 ejercido y comprar\xe1 {{shares}} acciones a {{price}} USD. Como recibi\xf3 la prima por adelantado, su costo efectivo ser\xe1 inferior a {{price}} USD. Este es el m\xe1ximo riesgo potencial del producto Dip Buyer.","better.buy.detail.explain.dropMark2Highlight":"cae por debajo de {{price}} USD","better.buy.detail.explain.dropMark2Highlight1":"inferior a {{price}} USD","better.buy.choice.buyPrice.title":"Espere comprar en","betterBuy.trade.stockprice.title":"P. de mercado","com.betterbuy.detail.instant.gains":"Recompensa en efectivo","com.betterbuy.list.trade.action.desc":"Comprar a {{strikePrice}} despu\xe9s de {{day}}D","com.betterbuy.list.trade.action.desc.today":"Comprar a {{strikePrice}} despu\xe9s de que termine el d\xeda","com.asset.position.function.button.betterBuy":"Diving Sniper","com.betterbuy.common.day_unit":"d\xedas","com.betterbuy.common.day_singular":"d\xeda","com.betterbuy.common.day_plural"
20:"d\xedas","com.betterbuy.common.today":"Hoy","com.betterbuy.common.tomorrow":"Ma\xf1ana","better.buy.confirm.texts.newTitle":"\xbfConfirmar la suscripci\xf3n de {{name}}?","better.buy.confirm.texts.contract":"Contrato","better.buy.confirm.texts.contracts":"Contratos","better.buy.confirm.texts.sellDescription":"Vender\xe1s {{quantity}} Baby Bear de {{name}} con vencimiento el {{expireDate}} y precio de ejercicio de {{strikePrice}} USD. ","com.fastTrade.confirm.confirmToBuy":"Confirmar"}},"zh-Hans":{[iA]:{"com.betterbuy.home.title":"抄底宝","com.betterbuy.home.title.new":"抄底宝","com.betterbuy.home.mark":"精选美股,低价抄底","com.betterbuy.home.mark.alert.title":"什么是抄底宝?","com.betterbuy.home.mark.alert.content":"“抄底宝”是RockFlow推出的一种创新抄底工具。您可以设定一个心仪的股票抄底价格,并立即获得一笔现金收益。如果到期时股价未跌破您的目标价,您将保留全部现金收益;如果股价跌破目标价,您将以折扣价(目标价减去现金收益)买入股票。","com.betterbuy.company":"公司","com.betterbuy.index":"指数","com.betterbuy.symobl.title":"挑选{{name}}抄底宝","com.betterbuy.symobl.select.title":"筛选","com.betterbuy.symobl.time.title":"到期时间","com.betterbuy.symobl.price.title.new":"ä»·æ ¼","com.betterbuy.symobl.price":"ä»·æ ¼","com.betterbuy.symobl.price.new":"ä»·æ ¼","com.betterbuy.symobl.believe.price":"看跌","com.betterbuy.symobl.believe.no.price":"看不跌","com.betterbuy.symobl.apy":"年化","com.betterbuy.symobl.within.budget":"只看可买","com.betterbuy.symobl.more":"查看更多","com.betterbuy.symobl.more.new":"更多","com.betterbuy.symobl.close":"收起","com.betterbuy.symobl.close.new":"收起","com.betterbuy.symobl.time.alert.title":"到期日","com.betterbuy.symobl.time.alert.content":"抄底宝合约的到期时间。","com.betterbuy.symobl.price.alert.title":"买入价","com.betterbuy.symobl.price.alert.content":"如果到期时股价低于或等于此价格,您将买入股票。否则,您将保留即时现金收益。","com.betterbuy.symobl.within.budget.alert.content":"只显示您当前可用资金可以购买的产品。","com.betterbuy.margin.alert.title":"需要保证金账户","com.betterbuy.margin.alert.content":"抄底宝目前仅适用于保证金账户。","com.betterbuy.margin.cancel":"不再提示","com.betterbuy.trading.title":"休市中","com.betterbuy.trading.content":"您只能在交易时段内下单抄底宝产品。","com.betterbuy.home.share.scan":"扫描二维码查看所有抄底宝产品。","com.betterbuy.home.share.click":"点击链接查看所有抄底宝产品。","com.betterbuy.symbol.share.scan":"扫描二维码查看{{name}}的抄底宝产品。","com.betterbuy.symbol.share.click":"点击链接查看{{name}}的抄底宝产品。","com.betterbuy.symbol.empty":"没有符合当前筛选条件的产品。","com.betterbuy.symbol.asset.empty":"您当前的资产不足以购买任何抄底宝产品。","com.betterbuy.detail.share.scan":"扫描二维码查看此抄底宝产品。","com.betterbuy.detail.share.click":"点击链接查看此抄底宝产品。","com.betterbuy.detail.title":"买入{{name}}","com.betterbuy.detail.confirm.amount":"确认金额","com.betterbuy.detail.confirm.amount.alert.title":"如何确定购买金额","com.betterbuy.detail.confirm.amount.alert.content":"抄底宝产品保证金在锁定期内无法使用,可以适当留出部分资金用于锁定期内交易","com.betterbuy.detail.apy1":"预期年化收益","com.betterbuy.detail.max":"最大","com.betterbuy.detail.contracts":"份","com.betterbuy.detail.multiple":"(x100股)","com.betterbuy.detail.max.buy":"最大可买","com.betterbuy.detail.hint":"输入购买份数","com.betterbuy.detail.analysis":"收益分析","com.betterbuy.detail.no.drop":"如果到期没跌过{{price}}","com.betterbuy.detail.no.drop.mark2":"若到期时{{name}}的价格没有跌破{{price}},您将不会买入股票并保留现金收益。","com.betterbuy.detail.drop":"如果到期跌过{{price}}","com.betterbuy.detail.drop.mark2":"若到期时{{name}}的价格等于或低于{{price}},您将以{{price}}的价格买入{{shares}}股{{name}}。","com.betterbuy.detail.confirm":"确认购买","com.betterbuy.detail.current.price":"现价 {{price}}USD","com.betterbuy.detail.receive":"立即获得{{income}}USD","com.betterbuy.detail.receive.buy":"获得{{income}}USD\n并低价买入{{shares}}股{{name}}","com.betterbuy.explore.title":"抄底宝","com.betterbuy.wel.title":"欢迎体验抄底宝","com.betterbuy.wel.content":"RockFlow推出的新型抄底工具。设定目标价,立即获得现金返利!","com.betterbuy.wel.content.highlight.RockFlow":"RockFlow","com.betterbuy.wel.content.boldtext":"设定目标价,立即获得现金返利!","com.betterbuy.wel.confirm":"知道了","com.betterbuy.enter.quantity":"输入份数,1份={{shares}}股","com.betterbuy.select":"选择","com.betterbuy.exceed":"认购份数不得超过最大可买份数","com.betterbuy.price.hint":"提示:选择更低的买入价可提高您的年化收益率。","com.betterbuy.change.hint":"价格已更新。","com.betterbuy.price.update":"价格已更新","com.betterbuy.price.alert.title":"价格已更新","com.betterbuy.price.alert.content":"抄底宝产品的价格已更新,请在继续前æ
20Ÿ¥çœ‹ã€‚","com.betterbuy.fail.push.content":"您的{{name}}抄底宝订单已提交。","com.betterbuy.fail.push.title":"订单已提交","com.betterbuy.detail.apy.content":"假设行情不变下购买1份抄底宝对应的年化收益。由于行情波动,实际成交年化收益可能与此值有差别","com.earn.close":"收起","com.betterbuy.symbol.next.click":"下一步","better.buy.detail.APYCalculationIntroduction":"。计算方式为 即刻现金收益 / 冻结资金 / 剩余到期天数 * 365,其中冻结资金=100*预期买入价","better.buy.availableFundsIsNotEnough":"您的可用资金不足以购买此抄底宝产品。","better.buy.account.alert.cash":"成为保证金账户后即可解锁抄底宝交易","better.buy.goToSellStock":"卖出股票","betterBuy.trade.lackAsset.tips":"该产品{{asset}}美元起买,美元现金不足","better.buy.goDeposit":"去入金","better.buy.tradingTimeCountDownTitle":"距离开盘还剩{{countDownStr}}","symbol.better.buy.ai.quick.ask.texts.button":"Bobby挑选抄底宝","symbol.better.buy.ai.quick.ask.texts.quickText":"帮我挑选最适合我的{{name}}({{symbol}})抄底宝","better.buy.tradeConfirmTitle":"确认以抄底价买入{{quantity}}股{{name}}({{expiryInfo}}{{dayUnit}}到期)?","com.betterbuy.expiry.bucket.week":"1周内","com.betterbuy.expiry.bucket.oneMonth":"1月内","com.betterbuy.expiry.bucket.threeMonth":"3月内","com.betterbuy.expiry.bucket.sixMonth":"6月内","com.betterbuy.expiry.bucket.oneYear":"1年内","com.betterbuy.expiry.bucket.more":"更多","better.buy.order.block.texts.existingLongPositionTitle":"已有小熊持仓","better.buy.order.block.texts.existingShortPositionMessage":"认购该抄底宝,将为您卖出 {{quantity}} 份 {{expireDate}}到期、行权价 {{strikePrice}}USD 的{{name}}小熊,由于您当前已有该小熊持仓,请先平仓再认购该抄底宝","better.buy.order.block.texts.existingPendingBuyTitle":"已有买入该小熊的待成交订单","better.buy.order.block.texts.existingPendingSellMessage":"认购该抄底宝,将为您卖出 {{quantity}} 份 {{expireDate}}到期、行权价 {{strikePrice}}USD 的{{name}}小熊,由于您当前已有该小熊的待成交订单,请先取消订单再认购该抄底宝","better.buy.order.block.texts.closePositionAction":"去平仓","better.buy.order.block.texts.cancelOrderAction":"去取消","better.buy.choice.betterBuyExpireAlert.title":"抄底宝已到期","better.buy.choice.betterBuyExpireAlert.msg":"糟糕,此抄底宝产品已经到期不可买!快去看看其他抄底宝产品吧。","com.betterbuy.order.reject.title":"暂时无法下单","com.betterbuy.order.reject.priceTooLow":"当前买一价过低,暂时无法认购。","com.betterbuy.order.reject.invalidQuantity":"请输入有效的认购份数。","com.betterbuy.risklevel.conservative":"保守","com.betterbuy.risklevel.balanced":"均衡","com.betterbuy.risklevel.aggressive":"激进","com.betterbuy.list.risk.rate":"风险等级","com.betterbuy.list.extra.apy":"额外年化","com.betterbuy.list.due.date":"到期日","com.betterbuy.list.sort.by.apy":"按年化排序","com.betterbuy.list.show.more":"展开更多","com.betterbuy.list.show.less":"收起","com.betterbuy.list.purchase.price.below":"买入价低于","com.betterbuy.list.expiration.date.et":"到期日(美东)","com.betterbuy.list.current.price.link":"{{name}} 现价 {{price}}","better.buy.detail.explain.subscriptionMark1":"认购成功后,将为您卖出 {{contracts}} 份 {{expireDate}}到期、行权价 {{strikePrice}}USD 的{{name}}小熊,立即获得年化 {{yield}} 的即刻现金收益。","better.buy.detail.explain.noDropMark2":"若股价在到期时未跌过 {{price}} USD,所卖出的小熊自动作废,保证金立即解冻,权利金归您所有,相当于购买了一款高收益理财。","better.buy.detail.explain.noDropMark2Highlight":"未跌过 {{price}} USD","better.buy.detail.explain.dropMark2":"若股价在到期时跌过 {{price}} USD,所卖出的小熊将被行权,你将以 {{price}} USD的价格买入 {{shares}} 股,但由于认购时获得了期权金,实际建仓成本低于 {{price}} USD。这是抄底宝产品的最大潜在风险。","better.buy.detail.explain.dropMark2Highlight":"跌过 {{price}} USD","better.buy.detail.explain.dropMark2Highlight1":"低于 {{price}} USD","better.buy.choice.buyPrice.title":"预期买入价","betterBuy.trade.stockprice.title":"股票现价","com.betterbuy.detail.instant.gains":"即刻现金收益","com.betterbuy.list.trade.action.desc":"{{day}}天后可能以{{strikePrice}}买入","com.betterbuy.list.trade.action.desc.today":"日末可能以{{strikePrice}}买入","com.asset.position.function.button.betterBuy":"抄底宝","com.betterbuy.common.day_unit":"天","com.betterbuy.common.day_singular":"天","com.betterbuy.common.day_plural"
20:"天","com.betterbuy.common.today":"今天","com.betterbuy.common.tomorrow":"明天","better.buy.confirm.texts.newTitle":"确认申购{{name}}吗?","better.buy.confirm.texts.contract":"份","better.buy.confirm.texts.contracts":"份","better.buy.confirm.texts.sellDescription":"将为您卖出 {{quantity}} 份 {{expireDate}}到期、行权价 {{strikePrice}}USD 的{{name}}小熊,","com.fastTrade.confirm.confirmToBuy":"确认"}},"zh-Hant":{[iA]:{"com.betterbuy.home.title":"抄底寶","com.betterbuy.home.title.new":"抄底寶","com.betterbuy.home.mark":"精選美股,低價抄底","com.betterbuy.home.mark.alert.title":"什麼是抄底寶?","com.betterbuy.home.mark.alert.content":"「抄底寶」是RockFlow推出的一種創新抄底工具。您可以設定一個心儀的股票抄底價格,並立即獲得一筆現金收益。如果到期時股價未跌破您的目標價,您將保留全部現金收益;如果股價跌破目標價,您將以折扣價(目標價減去現金收益)買入股票。","com.betterbuy.company":"公司","com.betterbuy.index":"指數","com.betterbuy.symobl.title":"挑選{{name}}抄底寶","com.betterbuy.symobl.select.title":"篩選","com.betterbuy.symobl.time.title":"到期時間","com.betterbuy.symobl.price.title.new":"價格","com.betterbuy.symobl.price":"價格","com.betterbuy.symobl.price.new":"價格","com.betterbuy.symobl.believe.price":"看跌","com.betterbuy.symobl.believe.no.price":"看不跌","com.betterbuy.symobl.apy":"年化","com.betterbuy.symobl.within.budget":"只看可買","com.betterbuy.symobl.more":"查看更多","com.betterbuy.symobl.more.new":"更多","com.betterbuy.symobl.close":"收起","com.betterbuy.symobl.close.new":"收起","com.betterbuy.symobl.time.alert.title":"到期日","com.betterbuy.symobl.time.alert.content":"抄底寶合約的到期時間。","com.betterbuy.symobl.price.alert.title":"買入價","com.betterbuy.symobl.price.alert.content":"如果到期時股價低於或等於此價格,您將買入股票。否則,您將保留即時現金收益。","com.betterbuy.symobl.within.budget.alert.content":"只顯示您目前可用資金可以購買的產品。","com.betterbuy.margin.alert.title":"需要保證金賬戶","com.betterbuy.margin.alert.content":"抄底寶目前僅適用於保證金賬戶。","com.betterbuy.margin.cancel":"不再提示","com.betterbuy.trading.title":"休市中","com.betterbuy.trading.content":"您只能在交易時段內下單抄底寶產品。","com.betterbuy.home.share.scan":"掃描二維碼查看所有抄底寶產品。","com.betterbuy.home.share.click":"點擊鏈接查看所有抄底寶產品。","com.betterbuy.symbol.share.scan":"掃描二維碼查看{{name}}的抄底寶產品。","com.betterbuy.symbol.share.click":"點擊鏈接查看{{name}}的抄底寶產品。","com.betterbuy.symbol.empty":"沒有符合當前篩選条件的產品。","com.betterbuy.symbol.asset.empty":"您目前的資產不足以購買任何抄底寶產品。","com.betterbuy.detail.share.scan":"掃描二維碼查看此抄底寶產品。","com.betterbuy.detail.share.click":"點擊鏈接查看此抄底寶產品。","com.betterbuy.detail.title":"買入{{name}}","com.betterbuy.detail.confirm.amount":"確認金額","com.betterbuy.detail.confirm.amount.alert.title":"如何確定購買金額","com.betterbuy.detail.confirm.amount.alert.content":"抄底寶產品保證金在鎖定期間內無法使用,可以適當留出部分資金用於鎖定期內交易","com.betterbuy.detail.apy1":"預期年化收益","com.betterbuy.detail.max":"最大","com.betterbuy.detail.contracts":"份","com.betterbuy.detail.multiple":"(x100股)","com.betterbuy.detail.max.buy":"最大可買","com.betterbuy.detail.hint":"輸入購買份數","com.betterbuy.detail.analysis":"收益分析","com.betterbuy.detail.no.drop":"如果到期沒跌過{{price}}","com.betterbuy.detail.no.drop.mark2":"若到期時{{name}}的價格沒有跌破{{price}},您將不會買入股票並保留現金收益。","com.betterbuy.detail.drop":"如果到期跌過{{price}}","com.betterbuy.detail.drop.mark2":"若到期時{{name}}的價格等於或低於{{price}},您將以{{price}}的價格買入{{shares}}股{{name}}。","com.betterbuy.detail.confirm":"確認購買","com.betterbuy.detail.current.price":"現價 {{price}} USD","com.betterbuy.detail.receive":"立即獲得{{income}} USD","com.betterbuy.detail.receive.buy":"獲得{{income}}USD\n並低價買入{{shares}}股{{name}}","com.betterbuy.explore.title":"抄底寶","com.betterbuy.wel.title":"歡迎體驗抄底寶","com.betterbuy.wel.content":"RockFlow推出的新型抄底工具。設定目標價,立即獲得現金返利!","com.betterbuy.wel.content.highlight.RockFlow":"RockFlow","com.betterbuy.wel.content.boldtext":"設定目標價,立即獲得現金返利!","com.betterbuy.wel.confirm":"知道了","com.betterbuy.enter.quantity":"輸入份額,1份={{shares}}股","com.betterbuy.select":"選擇","com.betterbuy.exceed":"認購份數不得超過最大可買份數","com.betterbuy.price.hint":"提示:選擇更低的買入價可提高您的年化收益率。","com.betterbuy.change.hint":"價格已更新。","com.betterbuy.price.update":"價格已更新","com.betterbuy.price.alert.title":"價格已更新","com.betterbuy.price.alert.content":"抄底寶產品的價格已更新,請在繼續前查看。","com.betterbuy.fail.push.content":"您的{{name}}抄底寶訂單已提交。","com.betterbuy.fail.push.title":"訂單已提交","com.betterbuy.detail.apy.content":"假設行情不變下購買1份抄底寶對應的年化收益。由於行情波動,實際成交年化收益可能與此值有差異","com.earn.close":"收起","com.betterbuy.symbol.next.click":"下一步","better.buy.detail.APYCalculationIntroduction":"。計算方式為 即刻現金收益 / 凍結資金 / 剩餘到期天數 * 365,其中凍結資金=100*預期買入價","better.buy.availableFundsIsNotEnough":"您的可用資金不足以購買此抄底寶產品。","better.buy.account.alert.cash":"成為保證金賬戶後即可解鎖抄底寶交易","better.buy.goToSellStock":"賣出股票","betterBuy.trade.lackAsset.tips":"該產品 {{asset}} 美元起買,美元現金不足","better.buy.goDeposit":"去入金","better.buy.tradingTimeCountDownTitle":"距離開盤還剩{{countDownStr}}","symbol.better.buy.ai.quick.ask.texts.button":"Bobby挑選抄底寶","symbol.better.buy.ai.quick.ask.texts.quickText":"幫我挑選最適合我的{{name}}({{symbol}})抄底寶","better.buy.tradeConfirmTitle":"確認以抄底價買入{{quantity}}股{{name}}({{expiryInfo}}{{dayUnit}}到期)?","com.betterbuy.expiry.bucket.week":"1週內","com.betterbuy.expiry.bucket.oneMonth":"1月內","com.betterbuy.expiry.bucket.threeMonth":"3月內","com.betterbuy.expiry.bucket.sixMonth":"6月內","com.betterbuy.expiry.bucket.oneYear":"1年內","com.betterbuy.expiry.bucket.more":"更多","better.buy.order.block.texts.existingLongPositionTitle":"已有小熊持倉","better.buy.order.block.texts.existingShortPositionMessage":"認購該抄底寶,將為您賣出 {{quantity}} 份 {{expireDate}}到期、行權價 {{strikePrice}}USD 的{{name}}小熊,由於您當前已有該小熊持倉,請先平倉再認購該抄底寶","better.buy.order.block.texts.existingPendingBuyTitle":"已有買入該小熊的待成交訂單","better.buy.order.block.texts.existingPendingSellMessage":"認購該抄底寶,將為您賣出 {{quantity}} 份 {{expireDate}}到期、行權價 {{strikePrice}}USD 的{{name}}小熊,由於您當前已有該小熊的待成交訂單,請先取消訂單再認購該抄底寶","better.buy.order.block.texts.closePositionAction":"去平倉","better.buy.order.block.texts.cancelOrderAction":"去取消","better.buy.choice.betterBuyExpireAlert.title":"抄底寶已到期","better.buy.choice.betterBuyExpireAlert.msg":"糟糕,此抄底寶產品已ç
20¶“到期不可買!快去看看其他抄底寶產品吧。","com.betterbuy.order.reject.title":"暫時無法下單","com.betterbuy.order.reject.priceTooLow":"目前買一價過低,暫時無法認購。","com.betterbuy.order.reject.invalidQuantity":"請輸入有效的認購份數。","com.betterbuy.risklevel.conservative":"保守","com.betterbuy.risklevel.balanced":"均衡","com.betterbuy.risklevel.aggressive":"積極","com.betterbuy.list.risk.rate":"風險等級","com.betterbuy.list.extra.apy":"額外年化","com.betterbuy.list.due.date":"到期日","com.betterbuy.list.sort.by.apy":"按年化排序","com.betterbuy.list.show.more":"展開更多","com.betterbuy.list.show.less":"收起","com.betterbuy.list.purchase.price.below":"買入價低於","com.betterbuy.list.expiration.date.et":"到期日(美東)","com.betterbuy.list.current.price.link":"{{name}} 現價 {{price}}","better.buy.detail.explain.subscriptionMark1":"認購成功後,將為您賣出 {{contracts}} 份 {{expireDate}}到期、行權價 {{strikePrice}}USD 的{{name}}小熊,立即獲得年化 {{yield}} 的即刻現金收益。","better.buy.detail.explain.noDropMark2":"若股價在到期時未跌過 {{price}} USD,所賣出的小熊自動作廢,保證金立即解凍,權利金歸您所有,相當於購買了一款高收益理財。","better.buy.detail.explain.noDropMark2Highlight":"未跌過 {{price}} USD","better.buy.detail.explain.dropMark2":"若股價在到期時跌過 {{price}} USD,所賣出的小熊將被行權,你將以 {{price}} USD的價格買入 {{shares}} 股,但由於認購時獲得了期權金,實際建倉成本低於 {{price}} USD。這是抄底寶產品的最大潛在風險。","better.buy.detail.explain.dropMark2Highlight":"跌過 {{price}} USD","better.buy.detail.explain.dropMark2Highlight1":"低於 {{price}} USD","better.buy.choice.buyPrice.title":"預期買入價","betterBuy.trade.stockprice.title":"股票現價","com.betterbuy.detail.instant.gains":"即刻現金收益","com.betterbuy.list.trade.action.desc":"{{day}}天後預期以{{strikePrice}}買入","com.betterbuy.list.trade.action.desc.today":"日末預期以{{strikePrice}}買入","com.asset.position.function.button.betterBuy":"抄底寶","com.betterbuy.common.day_unit":"天","com.betterbuy.common.day_singular":"天","com.betterbuy.common.day_plural":"天","com.betterbuy.common.today":"今天","com.betterbuy.common.tomorrow":"明天","better.buy.confirm.texts.newTitle":"確認申購{{name}}嗎?","better.buy.confirm.texts.contract":"份","better.buy.confirm.texts.contracts":"份","better.buy.confirm.texts.sellDescription":"將為您賣出 {{quantity}} 份 {{expireDate}}到期、行權價 {{strikePrice}}USD 的{{name}}小熊,","com.fastTrade.confirm.confirmToBuy":"確認"}}},iM={en:{[iO]:{"com.asset.position.function.button.babyBull":"Baby Bull","com.asset.position.function.button.babyBear":"Baby Bear","com.OptionBullBearListController.over":"Over","com.OptionBullBearListController.below":"Below","com.optionDetail.buyAction.title":"Buy","better.buy.choice.betterBuy.positionBuyPrice.title":"Buy at","position.option.share.over":"Over","position.option.share.below":"Below","com.tradegpt2.detail.card.BullBear.expired":"Expired","bullbear.cell.expiryTime":"Expiry time","bullbear.cell.leverageRatio":"Leverage Multiple"}},es:{[iO]:{"com.asset.position.function.button.babyBull":"Toro beb\xe9","com.asset.position.function.button.babyBear":"Bebe oso","com.OptionBullBearListController.over":"Sobre","com.OptionBullBearListController.below":"Abajo ","com.optionDetail.buyAction.title":"Comprar","better.buy.choice.betterBuy.positionBuyPrice.title":"Comprar en","position.option.share.over":"Sobre","position.option.share.below":"Abajo","com.tradegpt2.detail.card.BullBear.expired":"Venci\xf3","bullbear.cell.expiryTime":"Tiempo de Exp.","bullbear.cell.leverageRatio":"Apalancamiento"}},"zh-Hans":{[iO]:{"com.asset.position.function.button.babyBull":"小牛","com.asset.position.function.button.babyBear":"小熊","com.OptionBullBearListController.over":"涨过","com.OptionBullBearListController.below":"跌过","com.optionDetail.buyAction.title":"买入","better.buy.choice.betterBuy.positionBuyPrice.title":"买入","position.option.share.over":"涨过","position.option.share.below":"跌过","com.tradegpt2.detail.card.BullBear.expired":"已到期","bullbear.cell.expiryTime":"到期时间","bullbear.cell.leverageRatio":"杠杆倍数"}},"zh-Hant":{[iO]:{"com.asset.position.function.button.babyBull":"小牛","com.asset.position.function.button.babyBear":"小熊","com.OptionBullBearListController.over":"漲過","com.OptionBullBearListController.below":"跌過","com.optionDetail.buyAction.title":"買入","better.buy.choice.betterBuy.positionBuyPrice.title":"買入","position.option.share.over":"漲過","position.option.share.below":"跌過","com.tradegpt2.detail.card.BullBear.expired":"已到期","bullbear.cell.expiryTime":"到期時間","bullbear.cell.leverageRatio":"杠桿倍數"}}},iI={en:{[iN]:{detail:{hint:"Why do I need Bear Insurance?",stock_baby_bear:"{name} Baby Bear",cell_price:"Protect Price At"},holding_info:{shares:"{quantity} Shares",shares_pending_positive:"{total} Shares (Pending +{unfilled})",shares_pending_negative:"{total} Shares (Pending {unfilled})",suggestion_content:"{quantity} Units ({shares} Shares)",tips:"Holdings <= 20 shares. Bear Insurance might not be cost-effective."},action:{confirm_title:"Confirm to buy {stockName} at {limitPrice}?",buy_button:"Protect Now"}}},es:{[iN]:{detail:{hint:"Why do I need Bear Insurance?",stock_baby_bear:"{name} Baby Bear",cell_price:"Protect Price At"},holding_info:{shares:"{quantity} Shares",shares_pending_positive:"{total} Shares (Pending +{unfilled})",shares_pending_negative:"{total} Shares (Pending {unfilled})",suggestion_content:"{quantity} Units ({shares} Shares)",tips:"Holdings <= 20 shares. Bear Insurance might not be cost-effective."},action:{confirm_title:"Confirm to buy {stockName} at {limitPrice}?",buy_button:"Protect Now"}}},"zh-Hans":{[iN]:{detail:{hint:"为什么要买小熊保险?",stock_baby_bear:"{name} 小熊",cell_price:"保护价格不低于"},holding_info:{shares:"{quantity} 股",shares_pending_positive:"{total} 股 (待成交 +{unfilled})",shares_pending_negative:"{total} 股 (待成交 {unfilled})",suggestion_content:"{quantity} 份 ({shares} 股)",tips:"当前持仓较少(≤20股),购买小熊保险可能不划算"},action:{confirm_title:"确认以 {limitPrice} 买入 {stockName}?",buy_button:"立即投保"}}},"zh-Hant":{[iN]:{detail:{hint:"為什麼要買小熊保險?",stock_baby_bear:"{name} 小熊",cell_price:"保護價格不低於"},holding_info:{shares:"{quantity} 股",shares_pending_positive:"{total} 股 (待成交 +{unfilled})",shares_pending_negative:"{total} 股 (待成交 {unfilled})",suggestion_content:"{quantity} 份 ({shares} 股)",tips:"當前持倉較少(≤20股),購買小熊保險可能不划算"},action:{confirm_title:"確認以 {limitPrice} 買入 {stockName}?",buy_button:"立即投保"}}}};iC.en,i$.en,iM.en,iI.en,iC.es,i$.es,iM.es,iI.es,iC["zh-Hans"],i$["zh-Hans"],iM["zh-Hans"],iI["zh-Hans"],iC["zh-Hant"],i$["zh-Hant"],iM["zh-Hant"],iI["zh-Hant"];var iL=(e=>(e.ZH_HANS_CN="zh_hans_cn",e.ZH_HANT_TW="zh_hant_tw",e.EN="en",e.UNKNOWN="unknown",e))(iL||{}),iR=class{async getTradeSyncSetting(){var e;return null!==(e=(await this.privacyProvider.getPrivacySettings()).releaseTransaction)&&void 0!==e?e:3}async getPrivacySetModel(){return this.privacyProvider.getPrivacySettings()}async updateSyncSetting(e,t){let r={[e]:t,privacyAccount:!1};await this.privacyProvider.updatePrivacySettings(r)}async syncTradeActivity(e,t){await this.privacyProvider.syncTradeActivity(e,t)}constructor(e){this.privacyProvider=e}}
20,iF={cashaccountmoneylackalertdeposit:"com.trade.cashAccount.lackOfMoney.deposit",cashaccountmoneylackalertmsg:"com.trade.cashAccount.lackOfMoney.msg",cashaccountmoneylackalerttitle:"com.trade.cashAccount.lackOfMoney.title",cashaccountshortsellalertdeposit:"com.trade.cashAccount.shortSell.alert.deposit",cashaccountshortsellalertmsg:"com.trade.cashAccount.shortSell.alert.msg",cashaccountshortsellalerttitle:"com.trade.cashAccount.shortSell.alert.title",loginalertlater:"com.guideToLogin.alert.later",loginalertmsg:"com.guideToLogin.alert.msg",loginalertnow:"com.guideToLogin.alert.now",loginalerttitle:"com.guideToLogin.alert.title",marginaccountmoneylackalertdeposit:"com.trade.marginAccount.lackOfMoney.deposit",marginaccountmoneylackalertmsg:"com.trade.marginAccount.lackOfMoney.msg",marginaccountmoneylackalerttitle:"com.trade.marginAccount.lackOfMoney.title",marginaccountshortsellalertcancel:"com.trade.marginAccount.shortSell.alert.cancel",marginaccountshortsellalertconfirm:"com.trade.marginAccount.shortSell.alert.confirm",marginaccountshortsellalertmsg:"com.trade.marginAccount.shortSell.alert.msg",marginaccountshortsellalerttitle:"com.trade.marginAccount.shortSell.alert.title",marginaccountshortsellnotallowedalertdeposit:"com.trade.marginAccount.shortSell.notAllow.alert.deposit",transcationcodeset:{title:"transcation.code.set.title",message:"transcation.code.set.message",cancel:"alert.cancel",go:"transcation.code.set.go"},gotit:"alert.Gotit",estBuy:"ordermaker.fast.order.vc.button.estBuy",buy:"ordermaker.fast.order.vc.button.buy",quickSell:"ordermaker.fast.order.vc.button.quickSell",oddLotSellMinDebitAlertTitle:"ordermaker.fast.trade.oddLotSellMinDebitAlertTitle",oddLotBuyMinCostAlertTitle:"com.fastTrade.order.oddLotBuyMinCostAlert.title",oddLotBuyMinCostAlertMsg:"com.fastTrade.order.oddLotBuyMinCostAlert.msg",oddLotSellMinDebitAlertMsgTitle:"com.fastTrade.order.oddLotSellMinDebitAlertMsg.title",sharesAlertOk:"com.fastTrade.shares.alert.ok",sellOwned:"com.fastTrade.sell.owned",positionProfit:"com.asset.position.profit",currencyNameHk:"ordermaker.currency.name.hk",currencyNameUs:"ordermaker.currency.name.us",currencyNameCnh:"ordermaker.currency.name.cnh"},iB={oddLotDesc:"com.trade.order.oddlotTradeLimit1.handle",oddLotDesc1:"com.trade.order.oddlotTradeLimit.handle",oddLotTitle:"com.fastTrade.order.oddLotBuyMinCostAlert.title"},iU={expireAlertTitle:"better.buy.choice.betterBuyExpireAlert.title",expireAlertMsg:"better.buy.choice.betterBuyExpireAlert.msg",noTradingAlertTitle:"better.buy.choice.NoTradingAlert.title",noTradingAlertMsg:"better.buy.choice.NoTradingAlert.msg"},ij={openaccountalerttitle:"com.stockDetail.openAccount.alert.title",openaccountalertmsg:"com.stockDetail.openAccount.alert.msg",openaccountalertlater:"com.stockDetail.openAccount.alert.later.title",openaccountalertgo:"com.stockDetail.openAccount.alert.go.title"};function iV(e){switch(null==e?void 0:e.toUpperCase()){case"HKD":return"HK";case"USD":return"US";case"CNH":return"SZ";default:return"unknown"}}function iz(e){switch(e){case"HK":return iF.currencyNameHk;case"US":default:return iF.currencyNameUs;case"SZ":case"SH":return iF.currencyNameCnh}}var iH=(e,t)=>{if(e.ok||!e.errorType)return null;let{t:r}=t.translator,{errorType:n,nextMovement:o}=e,i=(null==o?void 0:o.data)||{};
20switch(n){case"odd_lot_sell_restricted":if(i.isTradingPeriod)return null;return{title:r(iB.oddLotTitle),message:r(i.isTradingPeriod?iB.oddLotDesc1:iB.oddLotDesc),actions:[{title:r(iF.gotit),style:"default"}]};case"better_buy_expired":return{title:r(iU.expireAlertTitle),message:r(iU.expireAlertMsg),actions:[{title:r(iF.gotit),style:"default"}]};case"better_buy_not_trading_time":return{title:r(iU.noTradingAlertTitle),message:r(iU.noTradingAlertMsg),actions:[{title:r(iF.gotit),style:"default"}]};case"not_logged_in":return{title:r(iF.loginalerttitle),message:r(iF.loginalertmsg),actions:[{title:r(iF.loginalertlater),style:"cancel"},{title:r(iF.loginalertnow),style:"default"}]};case"account_not_open":return{title:r(ij.openaccountalerttitle),message:r(ij.openaccountalertmsg),actions:[{title:r(ij.openaccountalertlater),style:"cancel"},{title:r(ij.openaccountalertgo),style:"default"}]};case"transaction_code_not_set":return{title:r(iF.transcationcodeset.title),message:r(iF.transcationcodeset.message),actions:[{title:r(iF.transcationcodeset.cancel),style:"cancel"},{title:r(iF.transcationcodeset.go),style:"default"}]};case"insufficient_funds":{let t="cashAccountBuy"===e.tradeDetailedType,n=t?iF.cashaccountmoneylackalerttitle:iF.marginaccountmoneylackalerttitle,o=t?iF.cashaccountmoneylackalertmsg:iF.marginaccountmoneylackalertmsg,a=r(iz(iV(i.currency||"USD"))),s=i.required instanceof u.W?i.required:new u.W(i.required||0),l=s.lt(1)?new u.W(1):s;return{title:r(n,{currency:a}),message:r(o,{currency:a,amount:l.toDP(2).toString()}),actions:t?[{title:r(iF.transcationcodeset.cancel),style:"cancel"},{title:r(iF.cashaccountmoneylackalertdeposit),style:"default"}]:[{title:r(iF.transcationcodeset.cancel),style:"cancel"},{title:r(iF.marginaccountmoneylackalertdeposit),style:"default"}]}}case"short_sell_not_allowed":return{title:r(iF.cashaccountshortsellalerttitle),message:r(iF.cashaccountshortsellalertmsg),actions:[{title:r(iF.cashaccountshortsellalertdeposit),style:"default"}]};case"short_sell_funds_not_enough":return{title:r(iF.cashaccountshortsellalerttitle),message:r(iF.cashaccountshortsellalertmsg),actions:[{title:r(iF.marginaccountshortsellnotallowedalertdeposit),style:"default"}]};default:return null}},iW=class{withPoints(e){return this.options.points=e,this.options.minimumFractionDigits=e,this.options.maximumFractionDigits=e,this}withMinFractionDigits(e){return this.options.minimumFractionDigits=e,this}withMaxFractionDigits(e){return this.options.maximumFractionDigits=e,this}withGrouping(e){return this.options.useGrouping=e,this}alwaysShowSign(e){return this.options.alwaysShowSign=e,this}withSuffix(e){return this.options.suffix=e,this}asPercent(){return this.formatAsPercent=!0,this}commit(){var e,t;let r=this.value;this.formatAsPercent&&(r=r.times(100));let n={useGrouping:null===(e=this.options.useGrouping)||void 0===e||e,signDisplay:this.options.alwaysShowSign?"exceptZero":"auto"};if(void 0!==this.options.minimumFractionDigits&&(n.minimumFractionDigits=this.options.minimumFractionDigits),void 0!==this.options.maximumFractionDigits)n.maximumFractionDigits=this.options.maximumFractionDigits;else{if(void 0===this.options.points)return r.toString()+(null!==(t=this.options.suffix)&&void 0!==t?t:"")+(this.formatAsPercent?"%":"");n.minimumFractionDigits=this.options.points,n.maximumFractionDigits=this.options.points}let o=new Intl.NumberFormat(this.locale,n).format(r.toNumber());return this.options.alwaysShowSign&&r.isZero()&&!o.startsWith("+")&&(o="+"+o),this.options.suffix&&(o+=this.options.suffix),this.formatAsPercent&&!o.endsWith("%")&&(o+="%"),o}constructor(e,t){this.locale="en-US",this.options={},this.formatAsPercent=!1,this.value=new u.A(e),t&&(this.locale=t)}},iG=class{static num(e,t){return new iW(e,t)}static asInputLotPrice(e){return this.num(e).withPoints(2).withGrouping(!1).commit()}static asInputLotPriceWithPoints(e,t){return this.num(e).withPoints(t).withGrouping(!1).commit()}static asInputLotShare(e){return this.num(e).withPoints(3).withGrouping(!1).commit()}static asInputShare(e){return this.num(e).withPoints(0).withGrouping(!1).commit()}static asTotalTradeAmount(e){return this.num(e).withPoints(2).withGrouping(!0).commit()}static asChangePercent(e){return this.num(e).asPercent().withPoints(2).alwaysShowSign(!1).withGrouping(!1).commit()}static asChangePercentWithSign(e){return this.num(e).asPercent().withPoints(2).alwaysShowSign(!0).withGrouping(!1).commit()}static asBorrowAmount(e){return this.num(e).withPoints(2).withGrouping(!0).commit()}static asAssetAmount(e){return this.num(e).withPoints(2).withGrouping(!0).commit()}static pointSize(e){let t=new u.A(e);
20if(t.isInteger())return 0;let r=t.toString().split(".");return r.length>1?r[1].length:0}static formattedValue(e,t){let r=this.num(e);return(null==t?void 0:t.points)!==void 0?r.withPoints(t.points):((null==t?void 0:t.minimumFractionDigits)!==void 0&&r.withMinFractionDigits(t.minimumFractionDigits),(null==t?void 0:t.maximumFractionDigits)!==void 0&&r.withMaxFractionDigits(t.maximumFractionDigits)),(null==t?void 0:t.useGrouping)!==void 0&&r.withGrouping(t.useGrouping),(null==t?void 0:t.alwaysShowSign)!==void 0&&r.alwaysShowSign(t.alwaysShowSign),(null==t?void 0:t.suffix)!==void 0&&r.withSuffix(t.suffix),r.commit()}static formattedValueSimple(e){let t=new u.A(e);return t.isInteger()?this.num(t).withPoints(0).withGrouping(!1).commit():this.num(t).withPoints(2).withGrouping(!1).commit()}static formatDoubleCustom(e){let t=new u.A(e);return t.isInteger()?this.num(t).withPoints(0).withGrouping(!1).commit():t.abs().lt(.5)?this.num(t).withPoints(3).withGrouping(!1).commit():this.num(t).withPoints(2).withGrouping(!1).commit()}},iq=(e,t,r)=>{var n;let{translator:o}=r,{t:i,language:a}=o,s=new u.A(e?e.quantity:0),l=new u.A(e?e.profit:0),d=null!==(n=t.currency)&&void 0!==n?n:"USD",c=iG.num(s).withMaxFractionDigits(3).withGrouping(!1).commit(),p="".concat(iG.num(l).withPoints(2).alwaysShowSign(!0).commit()," ").concat(d);return{ownedTitleText:i(iF.sellOwned),ownedValueText:c,profitTitleText:i(iF.positionProfit),profitValueText:p,profitValue:l}},iY={babyBull:"ordermaker.orderable.underlying.text.bull",babyBear:"ordermaker.orderable.underlying.text.bear",betterBuyExploreTitle:"Local.BetterBuyProduct.betterBuyExploreTitle"},iK=(e,t)=>{var r,n,o,i,a;let{translator:s,hasBetterBuyOverride:u}=t,{t:l,language:d}=s,c=null!==(r=null==d?void 0:d.startsWith("zh"))&&void 0!==r&&r,p=c?"":" ",h=c?null!==(n=e.name)&&void 0!==n?n:e.symbol:null!==(i=null!==(o=e.symbol)&&void 0!==o?o:e.name)&&void 0!==i?i:"",f=null!==(a=null!=u?u:e.hasBetterBuys)&&void 0!==a&&a,m=e=>"#".concat(h).concat(p).concat(l(e));return{showBabyBull:!!e.hasOptions,showBabyBear:!!e.hasOptions,showSniper:!!f,bullTitleText:m(iY.babyBull),bearTitleText:m(iY.babyBear),sniperTitleText:m(iY.betterBuyExploreTitle)}},iZ=(e,t)=>{if(!e)return[];if(!t||0===t.length)return[{text:e,highlight:!1}];let r=[...t].sort((e,t)=>t.length-e.length),n=[{text:e,highlight:!1}];return r.forEach(e=>{if(!e)return;let t=[];n.forEach(r=>{if(r.highlight){t.push(r);return}let n=0,o=r.text.indexOf(e,n);for(;-1!==o;)o>n&&t.push({text:r.text.substring(n,o),highlight:!1}),t.push({text:e,highlight:!0}),n=o+e.length,o=r.text.indexOf(e,n);n<r.text.length&&t.push({text:r.text.substring(n),highlight:!1})}),n=t}),n.filter(e=>e.text.length>0)},iJ=new u.W(1),iX="US",iQ=()=>({marginRate:iJ,tradePrice:void 0});function i0(e){let t=new Map,r=new Map,n=async(r,n)=>{var o,i;let a;try{a=await e.loadStockDetail(r,n||iX)}catch(e){return iQ()}if(!a)return iQ();let s={marginRate:null!==(i=null!==(o=a.longMargin)&&void 0!==o?o:a.marginRate)&&void 0!==i?i:iJ,tradePrice:a.tradePrice};return t.set(r,s),s};return{cachedSnapshot:e=>t.get(e),async loadSnapshot(e,o){if(!e)return iQ();let i=t.get(e);if(i)return i;let a=r.get(e);if(a)return a;let s=n(e,o).finally(()=>{r.delete(e)});return r.set(e,s),s}}}var i1=(e=>(e.LIMIT="limit",e.TAKE_PROFIT="takeProfit",e.STOP_LOSS="stopLoss",e.TWAP="twap",e.TAKE_PROFIT_AND_STOP_LOSS="takeProfitAndStopLoss",e))(i1||{}),i2={limit:1,takeProfit:1,stopLoss:3,twap:10,takeProfitAndStopLoss:6},i3=(e=>(e[e.TRADING_TIME=0]="TRADING_TIME",e[e.ALL=1]="ALL",e[e.GREY_MARKET=2]="GREY_MARKET",e))(i3||{}),i4=(e=>(e[e.SAME_DAY=0]="SAME_DAY",e[e.BEFORE_CANCELLATION=1]="BEFORE_CANCELLATION",e))(i4||{}),i5=(e=>(e.PROFIT="profit",e.LOSS="loss",e.NONE="none",e))(i5||{}),i9=class{static create(e,t){return{min:e,step:t}}static from(e){return{min:e.min,step:e.step}}},i8=(e=>(e.PROFIT="profit",e.LOSS="loss",e))(i8||{}),i6=(e=>(e[e.Market=0]="Market",e[e.Limit=1]="Limit",e[e.Stop=2]="Stop",e[e.StopLimit=3]="StopLimit",e[e.TrailingStopAmount=4]="TrailingStopAmount",e[e.TrailingStopPercentage=5]="TrailingStopPercentage",e[e.TWAP=10]="TWAP",e))(i6||{}),i7=(e=>(e[e.Buy=0]="Buy",e[e.Sell=1]="Sell",e))(i7||{}),ae=(e=>(e[e.GoodTillCancelled=0]="GoodTillCancelled",e[e.GoodForDay=1]="GoodForDay",e))(ae||{}),at=(e=>(e[e.Trading=0]="Trading",e[e.All=1]="All",e[e.GreyMarket=2]="GreyMarket",e))(at||{}),ar=(e=>(e[e.Unknown=0]="Unknown",e[e.Stock=1]="Stock",e[e.Option=2]="Option",e[e.Future=3]="Future",e[e.Forex=4]="Forex",e[e.Crypto=5]="Crypto",e[e.FxConversion=6]="FxConversion",e[e.Cfds=7]="Cfds",e))(ar||{}),an=(e=>(e.MARKET="market",e.LIMIT="limit",e.STOP="stop",e.TWAP="twap",e.UNKNOWN="unknown",e))(an||{}),ao=(e=>(e.Start="start",e.End="end",e))(ao||{}),ai=(e=>(e[e.ValidatesOnChange=1]="ValidatesOnChange",e[e.ValidatesOnBlur=2]="ValidatesOnBlur",e))(ai||{}),aa=new u.W(0),as=e=>"closeLong"===e||"closeShort"===e,au=(e,t)=>{if(as(e))return{type:"closeTradeMaxShare",share:aa};switch(t.length>0?oC(t[0]).type:"openShort"===e?"openTradeMarginMaxShare":"openTradeCashMaxShare"){case"closeTradeMaxShare":return{type:"closeTradeMaxShare",share:aa};case"openTradeMarginMaxShare":return{type:"openTradeMarginMaxShare",share:aa};default:return{type:"openTradeCashMaxShare",share:aa}}},al=(e,t,r,n,o)=>
20{if(as(e)){let e=new u.W(0);("long"===r.type||"short"===r.type)&&(e=r.share);let t=new u.W(0);("buy"===n.type||"sell"===n.type)&&(t=n.share);let i=e.plus(t),a="long"===r.type?u.W.max(r.frozen.quantity,0):new u.W(0),s=u.W.max(i.abs().minus(a),0);return{type:"closeTradeMaxShare",share:o?s.floor():s,rawShare:s}}let i=o?oC:oN,a=t.map(e=>i(e));return a.find(e=>e.share.greaterThan(0))||(a.length>0?{type:a[0].type,share:aa}:au(e,t))},ad=(e,t,r)=>{if(0===e){let e=t.find(nZ);if(e&&e.value.greaterThan(0))return e}else{let e=t.find(nJ);if(e&&e.value.greaterThan(0))return e}let n=t.find(e=>"currentPrice"===e.type);return null!=n?n:r},ac=e=>{var t,r,n;let o=n5(e.positionStatus,e.tradeDirection),i="numberType"in e,a=i?e.numberType:void 0,s=i&&"decimal"===a,l="openShort"===o,d=i&&"integer"===a||s&&l,c=al(o,e.shareBuyingPower,e.positionStatus,e.pendingOrder,d),p=ad(e.tradeDirection,e.prices,e.currentPrice);return e.positionAction=o,e.currentTradeableShareAmount=c,e.selectedPrice=p,e.selectedPriceForDisplay=p,e.tradeIntention=null!==(t=e.tradeIntention)&&void 0!==t?t:void 0,e.momentModel=null!==(r=e.momentModel)&&void 0!==r?r:void 0,e.inputShare=null!==(n=e.inputShare)&&void 0!==n?n:void 0,e.setSelectedPrice=function(e,t){this.selectedPrice=e,(null==t?void 0:t.preserveDisplay)||(this.selectedPriceForDisplay=e)},e.setTradeableShareAmount=function(e){this.currentTradeableShareAmount=e},e.setTradeIntention=function(e){this.tradeIntention=e},e.setMomentModel=function(e){this.momentModel=e},e.setInputShare=function(e){if(null==e){this.inputShare=void 0;return}let t=e instanceof u.W?e:new u.W(e);this.inputShare=t},e},ap=new u.W(0),ah={floorRatio:.1,riskFactor:1},af={floorRatio:"option.shortPut.margin.floorRatio",riskFactor:"option.shortPut.margin.riskFactor"},am={perContract:.95025,minFixed:1.9,minPerContract:.06},ag={floorRatio:{min:0,max:1},riskFactor:{min:0,max:10}};function ay(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ah,r=new u.W(e.strikePrice),n=new u.W(e.multiplier);if(r.lte(0)||n.lte(0))return ap;let o=new u.W(t.floorRatio),i=new u.W(t.riskFactor),a=o.mul(r).mul(n),s=new u.W(e.underlyingMarginRate).mul(r).mul(n),l=u.W.min(ap,r.minus(e.underlyingPrice)).mul(n).mul(i),d=new u.W(e.optionPrice).mul(n),c=s.plus(l).minus(d);return u.W.max(a,c)}function ab(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ah,n=new u.W(e),o=ay(t,r);if(o.lte(0)||n.lte(0))return 0;let i=n.div(o.plus(am.perContract)).floor(),a=u.W.max(ap,n.minus(am.minFixed).div(o.plus(am.minPerContract)).floor()),s=u.W.min(i,a);return!s.isFinite()||s.lte(0)?0:Math.min(s.toNumber(),Number.MAX_SAFE_INTEGER)}var av=100;function aS(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ah;if("openShort"!==e.positionAction||"bear"!==e.orderableUnderlyingType)return null;let n=a_(e.strikePrice),o=a_(e.underlyingPrice),i=a_(e.optionPrice);if(!n||!o||!i)return null;let a=null!==(t=a_(e.multiplier))&&void 0!==t?t:new u.W(av),s=ab(e.availableFunds,{strikePrice:n,underlyingPrice:o,multiplier:a,underlyingMarginRate:e.underlyingMarginRate,optionPrice:i},r);return a.mul(s)}function a_(e){let t;if(null!=e){try{t=new u.W(e)}catch(e){return}if(!(!t.isFinite()||t.lte(0)))return t}}async function aw(e){let[t,r]=await Promise.all([ax(e,"floorRatio"),ax(e,"riskFactor")]);return{floorRatio:t,riskFactor:r}}async function ax(e,t){let r,n;let o=ah[t];try{r=await e.getConfigValue(af[t],o)}catch(e){return o}if("number"!=typeof r&&"string"!=typeof r)return o;try{n=new u.W(r)}catch(e){return o}let i=ag[t];return!n.isFinite()||n.lt(i.min)||n.gt(i.max)?o:n}var aT=(e,t)=>{let r;if(e.isZero())return t.find(e=>new u.W(e.min).isZero());let n=null;return t.forEach(t=>{let o=new u.W(t.min);if(e.greaterThanOrEqualTo(o)){let i=e.minus(o);(null===n||i.lessThan(n))&&(n=i,r=t)}}),null!=r?r:t[t.length-1]},aE=(e,t,r)=>{let n=aT(e,t),o=new u.W(n?n.step:.01).decimalPlaces();if("HK"===r){if(o<=1)return o;if(o<=2)return 2;let t=e.decimalPlaces();return t<=2?2:t<=3?t:Math.min(o,3)}if(o<=1)return o;if(o<=2)return 2;let i=e.decimalPlaces();return i<=2?2:i<=o?i:o},aP=(e,t,r)=>{try{let n=new u.W(e);if(n.isZero())return null;
20let o=aT(n,t),i=new u.W(o?o.step:.01);if(!n.mod(i).abs().lessThan(1e-9))return{id:"tickSize",field:"price",key:r,message:"Price must be a multiple of ".concat(i.toString()),params:{tick:i.toString()}};return null}catch(e){return{id:"invalidFormat",field:"price",key:"ordermaker.error.price_invalid_format",message:"Invalid price format"}}},ak=(e,t,r,n)=>{try{let o=new u.W(e);if(o.isZero())return null;let i=aE(o,t,n);if(o.decimalPlaces()>i)return{id:"decimalPlaces",field:"price",key:r,message:"Maximum ".concat(i," decimal places allowed."),params:{decimals:i}};return null}catch(e){return{id:"invalidFormat",field:"price",key:"ordermaker.error.price_invalid_format",message:"Invalid price format"}}},aD=/^[1-9]\d{0,8}$/,aA=e=>""===e?null:aD.test(e)?null:{id:"positiveInteger",key:"com.trade.prePeriod.stock.limitOrderDesc",message:"Shares must be a positive integer",field:"share"},aO=(e,t,r)=>{try{if(new u.W(e).gt(t))return{id:"max",key:r,message:"Exceeded maximum shares",field:"share"}}catch(e){}return null},aN=(e,t,r,n)=>{if(t.isZero()||t.eq(1))return null;try{if(new u.W(e).mod(t).isZero())return null;return{id:"lotSize",key:r,message:"Shares must be a multiple of lot size",field:"share",params:{stockType:n,value:t.toString()},translatableParams:["stockType"]}}catch(e){}return null},aC=(e,t,r)=>{try{let n=new u.W(e),o=new u.W(t);if(n.lt(o))return{id:"twapMin",key:r,message:"Shares cannot be less than ".concat(t),field:"share",params:{share:t}};return null}catch(e){return null}},a$=class{subscribe(e){return this.listeners.push(e),void 0!==this.lastValue&&e(this.lastValue),()=>{this.listeners=this.listeners.filter(t=>t!==e)}}emit(e){this.lastValue=e,this.listeners.forEach(t=>t(e))}constructor(e){this.listeners=[],this.lastValue=void 0,this.lastValue=e}},aM=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{locale:r="en-US",...n}=t;try{return new Intl.NumberFormat(r,n).format(e)}catch(t){return console.error("Error formatting number: ".concat(e),t),String(e)}},aI=(e=>(e.INFO="info",e.TYPE="type",e.SHARE="share",e.SHARE_INFO="shareInfo",e.TRIGGER_PRICE="triggerPrice",e.TRIGGER_PRICE_INFO="triggerPriceInfo",e.PRICE="price",e.PRICE_INFO="priceInfo",e.TAKE_PROFIT_PRICE="takeProfitPrice",e.TAKE_PROFIT_PRICE_INFO="takeProfitPriceInfo",e.TWAP_START_TIME="twapStartTime",e.TWAP_START_TIME_INFO="twapStartTimeInfo",e.TWAP_END_TIME="twapEndTime",e.TWAP_END_TIME_INFO="twapEndTimeInfo",e.TRADE_TIME="tradeTime",e.VALIDITY_PERIOD="validityPeriod",e))(aI||{}),aL=class e{triggerUIUpdate(){this.onTradeableShareAmountChange&&this.onTradeableShareAmountChange(this.currentTradeableShareAmount)}get greyMarketInfo(){return this._greyMarketInfo}set greyMarketInfo(e){this._greyMarketInfo=e,e&&oE(e)&&(this.tradingTimeOption=2,this.validityPeriodOption=0)}get quantityMultiplier(){return this._quantityMultiplier}get quantityMultiplierAsPercentage(){return"".concat(iG.num(this.quantityMultiplier.times(100)).withPoints(0).commit(),"%")}get minimumOrderQuantityTwapDecimal(){return(this.underlying.lotSize.lt(1)?new u.W(1):this.underlying.lotSize).div(this.quantityMultiplier)}priceLeftViewType(e,t,r){switch(this.currentOrderType){case"limit":case"twap":return{type:"select",options:e,selected:null!=t?t:null};default:return{type:"name",value:this.limitPriceText(r)}}}get triggerPriceText(){return this.i18nProvider.t("order.maker.stoploss.trigger.price.texts.triggerPrice")}limitPriceText(e){if("stopLoss"===this.currentOrderType)return e.t("order.maker.stoploss.trigger.price.texts.limitPrice");if("takeProfitAndStopLoss"===this.currentOrderType){let t=0===this.tradeDirection?e.t("ordermaker.position.action.text.buy"):e.t("ordermaker.position.action.text.sell");return e.t("order.maker.take.profit.or.stop.loss.texts.stopLossPrice",{side:t})}{let t={limit:"limit",takeProfit:"takeProfit",twap:"twap",stopLoss:"stop",takeProfitAndStopLoss:"takeProfitAndStopLoss"}[this.currentOrderType];return e.t("ordermaker.non.market.order.type.price.".concat(t))}}get triggerPricePlaceHolder(){return this.i18nProvider.t("order.maker.stoploss.trigger.price.texts.triggerPricePlaceHolder")}triggerPriceExplain(e){let t=0===this.tradeDirection?"order.maker.stoploss.trigger.price.texts.over":"order.maker.stoploss.trigger.price.texts.bellow",r=e.t(t);return e.t("order.maker.stoploss.trigger.price.texts.triggerPriceExplain",{direction:r})}limitPriceExplain(e){if("stopLoss"!==this.currentOrderType&&"takeProfitAndStopLoss"!==this.currentOrderType)return console.error("limitPriceExplain called for non-STOP_LOSS order type"),"";{let t=0===this.tradeDirection?"order.maker.stoploss.trigger.price.texts.over":"order.maker.stoploss.trigger.price.texts.bellow",r=e.t(t),n=this.triggerPrice&&this.finalPrice.gt(this.triggerPrice)?"order.maker.stoploss.trigger.price.texts.high":this.triggerPrice&&this.finalPrice.lt(this.triggerPrice)?"order.maker.stoploss.trigger.price.texts.low":"order.maker.stoploss.alert.texts.equal",o=e.t(n);return e.t("order.maker.stoploss.trigger.price.texts.limitPriceExplain",{direction:r,compareResult:o})}}orderConfirmTitle(e,t,r){if("stopLoss"!==this.currentOrderType)return e.t("order.confirm.title.generic",{type:this.currentOrderType,price:t});{let n=0===this.tradeDirection?"order.maker.stoploss.confirm.texts.buy":"order.maker.stoploss.confirm.texts.sell";return e.t(n,{name:this.underlying.confirmViewName,trigger:null!=r?r:"",price:t})}}tradingTimeAlertContent(e){return"takeProfitAndStopLoss"===this.currentOrderType&&1!==this.tradingTimeOption?e.t("order.maker.take.profit.or.stop.loss.texts.tradingTimeAlert"):null}stopLossRiskAlertContent(e){return{title:e.t("order.maker.stoploss.risk.alert.texts.title"),content:e.t("order.maker.stoploss.risk.alert.texts.content")}}takeProfitAndStopLossRiskAlertContent(e){return{title:e.t("order.maker.take.profit.or.stop.loss.risk.texts.title"),content:e.t("order.maker.take.profit.or.stop.loss.risk.texts.content")}}static async create(t){let r=new e(t),n=await r.configProvider.getConfigValue("order.algo.twap.quantityMultiplier","0.2");return r._quantityMultiplier=new u.W(null!=n?n:"0.2"),r.minimumQuantityWhenTWAP=r.minimumOrderQuantityTwapDecimal.toDecimalPlaces(0,u.W.ROUND_DOWN).toNumber(),r}get isPinkSheetOrder(){return!!this.underlying.isPinkStock}isTradingTimeOptionAllowed(e){return!this.isPinkSheetOrder||1!==e}isOrderTypeAllowed(e){return!this.isPinkSheetOrder||"stopLoss"!==e&&"takeProfitAndStopLoss"!==e}clampTradingTimeOption(e){return this.isTradingTimeOptionAllowed(e)?e:0}getVisibleRows(){let e=["info","type","share","shareInfo"];switch(this.currentOrderType){case"limit":case"takeProfit":e.push("price","priceInfo");break;case"stopLoss":e.push("triggerPrice","triggerPriceInfo"),e.push("price","priceInfo");break;case"takeProfitAndStopLoss":e.push("takeProfitPrice","takeProfitPriceInfo"),e.push("triggerPrice","triggerPriceInfo"),e.push("price","priceInfo");break;case"twap":e.push("price","priceInfo"),e.push("twapStartTime","twapStartTimeInfo"),e.push("twapEndTime","twapEndTimeInfo")}return"us"===this.underlying.orderableUnderlyingType&&e.push("tradeTime"),e.push("validityPeriod"),e}getAvailableOrderTypes(e){if(this.greyMarketInfo&&oE(this.greyMarketInfo))return["limit"];oy(this.underlying.market,this.underlying.symbol);let t=["us","bear","bull"].includes(this.underlying.orderableUnderlyingType);switch(this.positionAction){case"openLong":case"openShort":{if(e&&t){let e=["limit","twap"];return this.filterAllowedOrderTypes(e)}let r=["limit"];return this.filterAllowedOrderTypes(r)}case"closeLong":case"closeShort":{let r=["limit","takeProfit","stopLoss","takeProfitAndStopLoss"];if(e&&t){let e=[...r,"twap"];return this.filterAllowedOrderTypes(e)}return this.filterAllowedOrderTypes(r)}}}filterAllowedOrderTypes(e){return e.filter(e=>this.isOrderTypeAllowed(e))}get finalPrice(){return this.userInputPrice&&this.userInputPrice.gt(0)?this.userInputPrice:this.selectedPrice?this.selectedPrice.value:new u.W(0)}get inputShareString(){var e,t;return null!==(t=null===(e=this.inputShare)||void 0===e?void 0:e.toString())&&void 0!==t?t:"0"}get estimatedAmount(){var e;return(null!==(e=this.inputShare)&&void 0!==e?e:new u.W(0)).times(this.finalPrice)}get estimatedProfit(){let e=this.positionStatus,t=this.inputShare;if("none"===e.type||!t)return null;let r=e.cost;return this.finalPrice.minus(r).times(t)}get finalPrice2(){return this.userInputPrice2?this.userInputPrice2:new u.W(0)}get estimatedAmount2(){return!this.finalPrice2||this.finalPrice2.isZero()||!this.inputShare?new u.W(0):this.inputShare.times(this.finalPrice2)}get estimatedAmountStr2(){let e,t;if(!this.userInputPrice2||this.userInputPrice2.isZero()||!this.inputShare||this.inputShare.isZero())return null;let r=this.estimatedAmount2;return e="us"===this.underlying.orderableUnderlyingType?this.getDisplayPointSizeIgnoreValue(r):this.getPriceDisplayPoints(this.finalPrice2),t="us"===this.underlying.orderableUnderlyingType?aM(r.toNumber(),{useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:e}):iG.num(r).withGrouping(!0).withPoints(2).commit()}getDisplayPointSizeIgnoreValue(e){if(!this.tickSize||0===this.tickSize.length)return 2;let t=0;for(let e of this.tickSize){let r=new u.W(e.step).decimalPlaces();r>t&&(t=r)}return t<=1?t:t<=2?2:t}getPriceDisplayPoints(e){return aE(e,this.tickSize,this.underlying.market)}setInputShare(e){this.inputShare=void 0===e?void 0:new u.W(e)}setCurrentOrderType(e){if(this.isOrderTypeAllowed(e)||(e="limit"),this.currentOrderType=e,("stopLoss"===e||"takeProfit"===e||"takeProfitAndStopLoss"===e)&&(this.tradingTimeOption=this.clampTradingTimeOption(1)),"twap"===e&&(this.tradingTimeOption=0,this.validityPeriodOption=0),this.userInputPrice=void 0,this.userInputPrice2=void 0,"limit"===e||"twap"===e){let e;(e=0===this.tradeDirection?this.prices.find(e=>nZ(e)&&e.value.gt(0)):this.prices.find(e=>nJ(e)&&e.value.gt(0)))||(e=this.prices.find(e=>"currentPrice"===e.type&&e.value.gt(0))),!e&&this.currentPrice&&this.currentPrice.value.gt(0)&&(e=this.currentPrice),this.setSelectedPrice(e)}else this.setSelectedPrice(void 0)}setTradingTimeOption(e){this.tradingTimeOption=this.clampTradingTimeOption(e)}setValidityPeriodOption(e){this.validityPeriodOption=e}setTriggerPrice(e){this.triggerPrice=void 0===e?void 0:new u.W(e)}setUserInputPrice(e){if(this.userInputPrice=void 0===e?void 0:new u.W(e),void 0!==e){this.setSelectedPrice(void 0);let t=new u.W(e);if(t.gt(0)){let e={type:"userInputPrice",value:t};this.startLoadCountDownTimer(e)}}}setUserInputPrice2(e){this.userInputPrice2=void 0===e?void 0:new u.W(e)}setI18nProvider(e){this.i18nProvider=e}setTwapStartTime(e){this.twapStartTime=e}setTwapEndTime(e){this.twapEndTime=e}setTradeableShareAmount(e,t){(void 0===t||t===this.loadingPowerRequestId)&&(this.currentTradeableShareAmount=e,(void 0===t||t===this.loadingPowerRequestId)&&(this.isLoadingMaxBuyable=!1),this.onTradeableShareAmountChange?this.onTradeableShareAmountChange(e):this.tradeableShareAmountDidChangeEventEmitter.emit(e))}getMinimumTwapQuantity(){let e=this.underlying,t=new u.W(10).pow(e.quantityPoint);return(e.lotSize.lt(1)?new u.W(1):e.lotSize).div(t).toDecimalPlaces(0,u.W.ROUND_DOWN)}isTwapTimeValid(){return"twap"!==this.currentOrderType||!(this.twapEndTime<this.twapStartTime+600||this.twapStartTime<Date.now()/1e3-1)}validate(e){let t=[],r=this.finalPrice.toString(),n=this.underlying,o=this.tickSize,i=this.inputShare,a=this.currentTradeableShareAmount;if("us"===n.orderableUnderlyingType){let e=ak(r,o,"ordermaker.error.price_decimal_places",n.market);if(e)t.push(e);else{let e=aP(r,o,"ordermaker.error.price_tick_size");e&&t.push(e)}}else if("HK"!==n.market){let e=r.split(".");2===e.length&&e[1].length>2&&t.push({id:"decimalPlaces",field:"price",key:"ordermaker.error.price_decimal_places_generic",message:"Price can have at most 2 decimal places."})}if(i){let r=aA(e);r&&t.push(r);let o=aO(e,a.share,"ordermaker.fancy.order.vc.error.text.exceedMax");o&&t.push(o);let i=aN(e,n.lotSize,"ordermaker.fancy.order.vc.error.text.optionOrHKShares","ordermaker.orderable.underlying.text.".concat(n.orderableUnderlyingType));if(i&&t.push(i),"twap"===this.currentOrderType){let r=aC(e,this.minimumQuantityWhenTWAP,"ordermaker.fancy.order.twap.error.minS
20hare");r&&t.push(r)}}return t}async bearShortSellMaxSellShares(e,t){if("openShort"!==this.positionAction||"bear"!==this.underlying.orderableUnderlyingType)return null;let r=this.underlyingSnapshotProvider;if(!r)return null;let n=this.underlying,o=oi.parseFromSymbol(this.underlying.symbol);if(!o)return null;let i=n.underlyingSymbol||o.symbol,a=await r.loadSnapshot(i,this.underlying.market),s=await aw(this.configProvider);return aS({positionAction:this.positionAction,orderableUnderlyingType:this.underlying.orderableUnderlyingType,strikePrice:o.price,underlyingPrice:a.tradePrice,multiplier:n.multiplier,optionPrice:e,underlyingMarginRate:a.marginRate,availableFunds:t.maxAvailableFunds(this.underlying.currency,new u.W(1))},s)}async updateOpenShortMaxSellShare(e,t,r){let n=nK(e);if(null==r?void 0:r.aborted){(void 0===t||t===this.loadingPowerRequestId)&&(this.isLoadingMaxBuyable=!1,this.triggerUIUpdate());return}if(n.isZero()){this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:new u.W(0)},t);return}try{let e=this.cachedAssetInformation;if(!e&&!(e=this.assetInformationProvider.hasValidAssetInformation())){if((null==r?void 0:r.aborted)||(await this.assetInformationProvider.queryUserAssetIfNecessary(),null==r?void 0:r.aborted))return;(e=this.assetInformationProvider.hasValidAssetInformation())&&(this.cachedAssetInformation=e)}if(null==r?void 0:r.aborted){(void 0===t||t===this.loadingPowerRequestId)&&(this.isLoadingMaxBuyable=!1,this.triggerUIUpdate());return}if(!e){this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:new u.W(0)},t);return}let o=await this.bearShortSellMaxSellShares(n,e);if(o){this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:o},t);return}let i=await this.sellingPowerProvider.loadSellingPower(this.underlying.symbol,n,this.underlying.market);if(null==r?void 0:r.aborted){(void 0===t||t===this.loadingPowerRequestId)&&(this.isLoadingMaxBuyable=!1,this.triggerUIUpdate());return}if(void 0!==t&&t!==this.loadingPowerRequestId){this.isLoadingMaxBuyable=!1,this.triggerUIUpdate();return}if(i.ok){let e=i.value.find(e=>"margin"===e.type);e?this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:e.amount},t):this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:new u.W(0)},t)}else console.error("call [FancyOrderMaker] Error from sellingPowerProvider:",i.error),this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:new u.W(0)},t)}catch(e){console.error("Error loading selling power:",e),this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:new u.W(0)},t)}}async updateCurrentTradeableShareAmount(e,t,r){let n=nK(e);if(null==r?void 0:r.aborted){(void 0===t||t===this.loadingPowerRequestId)&&(this.isLoadingMaxBuyable=!1,this.triggerUIUpdate());return}if(n.isZero()){this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:new u.W(0)},t);return}try{let e=this.cachedAssetInformation;if(!e&&!(e=this.assetInformationProvider.hasValidAssetInformation())){if((null==r?void 0:r.aborted)||(await this.assetInformationProvider.queryUserAssetIfNecessary(),null==r?void 0:r.aborted)){(void 0===t||t===this.loadingPowerRequestId)&&(this.isLoadingMaxBuyable=!1,this.triggerUIUpdate());return}(e=this.assetInformationProvider.hasValidAssetInformation())&&(this.cachedAssetInformation=e)}if(null==r?void 0:r.aborted){(void 0===t||t===this.loadingPowerRequestId)&&(this.isLoadingMaxBuyable=!1,this.triggerUIUpdate());return}if(!e){console.error("call [FancyOrderMaker] Asset information not available for buying power calculation after refresh attempt."),this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:new u.W(0)},t);return}let o=!!this.greyMarketInfo&&oE(this.greyMarketInfo),i=await this.buyingPowerProvider.loadBuyingPower(this.underlying.symbol,n,this.underlying.market,e,o);if(null==r?void 0:r.aborted){(void 0===t||t===this.loadingPowerRequestId)&&(this.isLoadingMaxBuyable=!1,this.triggerUIUpdate());return}if(void 0!==t&&t!==this.loadingPowerRequestId)return;if(i.ok){let e=i.value;switch(e.find(e=>"margin"===e.type),e.find(e=>"cash"===e.type),this.currentTradeableShareAmount.type){case"closeTradeMaxShare":(void 0===t||t===this.loadingPowerRequestId)&&(this.isLoadingMaxBuyable=!1,this.triggerUIUpdate());break;case"openTradeMarginMaxShare":{let r=e.find(e=>"margin"===e.type);if(r)try{this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:r.amount},t)}catch(e){throw e}else this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:new u.W(0)},t);break}case"openTradeCashMaxShare":{let r=e.find(e=>"cash"===e.type);r?this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:r.amount},t):this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:new u.W(0)},t)}}}else this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:new u.W(0)},t)}catch(e){this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:new u.W(0)},t)}}
20startLoadCountDownTimer(e){let t=nK(e);if(this.loadingPowerTimeout&&(clearTimeout(this.loadingPowerTimeout),this.loadingPowerTimeout=null),this.loadingPowerAbortController&&(this.loadingPowerAbortController.abort(),this.loadingPowerAbortController=null),t.isZero()){this.isLoadingMaxBuyable=!1,this.triggerUIUpdate();return}this.isLoadingMaxBuyable=!0,this.triggerUIUpdate();let r=++this.loadingPowerRequestId,n=new AbortController;this.loadingPowerAbortController=n,this.loadingPowerTimeout=setTimeout(async()=>{if(r!==this.loadingPowerRequestId){this.loadingPowerTimeout=null,this.loadingPowerAbortController===n&&(this.loadingPowerAbortController=null),this.isLoadingMaxBuyable=!1,this.triggerUIUpdate();return}let t=!0;try{if("openShort"===this.positionAction?await this.updateOpenShortMaxSellShare(e,r,n.signal):await this.updateCurrentTradeableShareAmount(e,r,n.signal),r!==this.loadingPowerRequestId){this.isLoadingMaxBuyable=!1,this.triggerUIUpdate(),t=!1;return}t=this.isLoadingMaxBuyable}catch(e){if((null==e?void 0:e.name)==="AbortError"||n.signal.aborted){r===this.loadingPowerRequestId&&(this.isLoadingMaxBuyable=!1,this.triggerUIUpdate()),t=!1;return}if(r!==this.loadingPowerRequestId){this.isLoadingMaxBuyable=!1,this.triggerUIUpdate(),t=!1;return}t=this.isLoadingMaxBuyable}finally{r===this.loadingPowerRequestId&&(this.loadingPowerTimeout=null,this.loadingPowerAbortController===n&&(this.loadingPowerAbortController=null),t&&this.isLoadingMaxBuyable&&(this.isLoadingMaxBuyable=!1,this.triggerUIUpdate()))}},20)}updatePrices(e){let t=e.tradePrice;if(e.hasOptions,this.prices=[{type:"currentPrice",value:t},{type:"askPrice",value:e.askPrice},{type:"bidPrice",value:e.bidPrice}],this.currentPrice={type:"currentPrice",value:t},this.selectedPriceForDisplay)switch(this.selectedPriceForDisplay.type){case"askPrice":this.selectedPriceForDisplay={type:"askPrice",value:e.askPrice};break;case"bidPrice":this.selectedPriceForDisplay={type:"bidPrice",value:e.bidPrice};break;case"currentPrice":this.selectedPriceForDisplay={type:"currentPrice",value:t};break;case"midPrice":this.selectedPriceForDisplay={type:"midPrice",value:e.askPrice.plus(e.bidPrice).dividedBy(2)}}}canMakeOrder(){var e;if(this.finalPrice.lte(0)||this.greyMarketInfo&&Date.now()<this.greyMarketInfo.listingTime&&oT(this.greyMarketInfo)&&!oE(this.greyMarketInfo))return!1;let t=this.inputShare;if(!t||t.lte(0))return!1;let r=null!==(e=null==t?void 0:t.toString())&&void 0!==e?e:"";if(this.validate(r).length>0||"twap"===this.currentOrderType&&(t.lt(new u.W(this.minimumQuantityWhenTWAP))||!this.isTwapTimeValid())||("stopLoss"===this.currentOrderType||"takeProfitAndStopLoss"===this.currentOrderType)&&(!this.triggerPrice||this.triggerPrice.lte(0)))return!1;if("takeProfitAndStopLoss"===this.currentOrderType){if(!this.userInputPrice2||this.userInputPrice2.lte(0))return!1;if(this.userInputPrice2&&this.triggerPrice){if(1===this.tradeDirection){if(this.userInputPrice2.lt(this.triggerPrice.times(1.02)))return!1}else if(this.triggerPrice.lt(this.userInputPrice2.times(1.02)))return!1}}return!0}switchBuyingPowerType(e){if(e<0||e>=this.shareBuyingPower.length)return console.warn("[FancyOrderMaker] Invalid buying power index:",e),!1;let t=oC(this.shareBuyingPower[e]);return this.inputShare&&this.inputShare.gt(t.share)&&(this.inputShare=t.share),this.setTradeableShareAmount(t),!0}validateHKPrice(){let e=this.finalPrice.toString(),t=oS.isEtf(this.underlying);return oc.validatePrice(e,t)}shouldShowStopLossConfirmAlert(){return!("stopLoss"!==this.currentOrderType&&"takeProfitAndStopLoss"!==this.currentOrderType||!this.triggerPrice||this.triggerPrice.lte(0))&&(0===this.tradeDirection?this.finalPrice.lte(this.triggerPrice):this.finalPrice.gte(this.triggerPrice))}getStopLossConfirmAlertContent(e){let t;let r=this.triggerPrice;t=this.finalPrice.gt(r)?e.t("order.maker.stoploss.trigger.price.texts.high"):this.finalPrice.lt(r)?e.t("order.maker.stoploss.trigger.price.texts.low"):e.t("order.maker.stoploss.alert.texts.equal");let n=1===this.tradeDirection?e.t("order.maker.stoploss.trigger.price.texts.over"):e.t("order.maker.stoploss.trigger.price.texts.bellow"),o=1===this.tradeDirection?e.t("order.maker.stoploss.alert.texts.lowering"):e.t("order.maker.stoploss.alert.texts.rasing"),i=e.t("order.maker.stoploss.alert.texts.content",{compareResult:t,direction:n,action:o});return{title:e.t("order.maker.stoploss.alert.texts.title"),content:i,
20confirm:e.t("order.maker.stoploss.alert.texts.confirm"),thinkAgain:e.t("order.maker.stoploss.alert.texts.thinkAgain")}}toTradeOrderParameter(e){var t,r,n,o;let i,a;let{inputedPrice:s,useTriggerPrice:u=!1}=e,l=oy(this.underlying.market,this.underlying.symbol)?2:1;"twap"===this.currentOrderType&&(i={executionStartTime:this.twapStartTime,executionEndTime:this.twapEndTime,quantityMultiplier:this.quantityMultiplier});let d=i2[this.currentOrderType];"stopLoss"===this.currentOrderType?a=null===(r=this.triggerPrice)||void 0===r?void 0:r.toString():"takeProfitAndStopLoss"===this.currentOrderType&&(u?(d=i2.stopLoss,a=null===(n=this.triggerPrice)||void 0===n?void 0:n.toString()):(d=i2.takeProfitAndStopLoss,a=s));let c=1===this.validityPeriodOption?0:1;"twap"===this.currentOrderType&&(c=1),this.forceSameDayValidity&&(c=1);let p=this.forceSameDayValidity||this.isPinkSheetOrder?0:this.tradingTimeOption;return{underlying:this.underlying.symbol,price:s,stopPrice:a,currency:this.underlying.currency,quantity:this.inputShareString,source:this.underlying.market,instrument:l,orderType:d,side:this.tradeDirection,validity:c,session:p,metadata:null!==(o=null===(t=this.momentModel)||void 0===t?void 0:t.asOrderMetaData)&&void 0!==o?o:null,extra:i,attached:"stopLoss"==this.currentOrderType||"takeProfit"==this.currentOrderType}}constructor(t){this.isLoadingMaxBuyable=!1,this.numberType="integer",this.loadingPowerTimeout=null,this.loadingPowerRequestId=0,this.loadingPowerAbortController=null,this.underlying=t.underlying,this.positionStatus=t.positionStatus,this.tradeDirection=t.tradeDirection,this.pendingOrder=t.pendingOrder,this.shareBuyingPower=t.shareBuyingPower,this.availableFunds=t.availableFunds,this.prices=t.prices,this.currentPrice=t.currentPrice,this.tickSize=t.tickSize,this.buyingPowerProvider=t.buyingPowerProvider,this.sellingPowerProvider=t.sellingPowerProvider,this.underlyingSnapshotProvider=t.underlyingSnapshotProvider,this.assetInformationProvider=t.assetInformationProvider,this.cachedAssetInformation=t.assetInformation,this.configProvider=t.configProvider,this.tradingHoursService=t.tradingHoursService,this.tradingSession=t.tradingSession,this.i18nProvider=t.i18nProvider,this.privacyManager=t.privacyManager,this.realtimePriceService=t.realtimePriceService,this.analyticsService=t.analyticsService,ac(this),this.setTradeableShareAmount=e.prototype.setTradeableShareAmount.bind(this),this._quantityMultiplier=new u.W(0),this.minimumQuantityWhenTWAP=0,this.tradeableShareAmountDidChangeEventEmitter=new a$,this.currentOrderType="limit",this.tradingTimeOption=0,this.validityPeriodOption=0,this.twapStartTime=new u.W(this.tradingHoursService.getDefaultTWAPStartTimeInMS(this.tradingSession)).dividedBy(1e3).toNumber(),this.twapEndTime=new u.W(this.tradingHoursService.getDefaultTWAPEndTimeInMS(this.tradingSession)).dividedBy(1e3).toNumber(),this.selectedPrice?this.buyingPower=this.shareBuyingPower.map(e=>oM(e,this.selectedPrice)).filter(e=>null!==e):this.buyingPower=[]}},aR=new u.W(0),aF=class{get inputShareString(){if(!this.inputShare)return"";let e=this.realPointSize;return this.inputShare.toFixed(e)}get finalPrice(){let e=this.underlying,t=this.underlying.orderableUnderlyingType;return oy(this.underlying.market,this.underlying.symbol)?0===this.tradeDirection?e.askPrice:e.bidPrice:"betterBuy"===t?e.bidPrice.isZero()?this.underlying.currentPrice:e.bidPrice:0===this.tradeDirection&&e.askPrice.gt(0)?e.askPrice:1===this.tradeDirection&&e.bidPrice.gt(0)?e.bidPrice:this.underlying.currentPrice}get estimatedAmount(){var e;return(null!==(e=this.inputShare)&&void 0!==e?e:aR).times(this.finalPrice)}get estimatedProfit(){let{positionStatus:e,inputShare:t,finalPrice:r}=this;if("none"===e.type||!t)return null;let{cost:n}=e;return r.minus(n).times(t)}validate(e){return[]}canMakeOrder(){if(this.finalPrice.lte(0))return!1;let e=this.inputShare;return!(!e||e.lte(0)||e.gt(this.currentTradeableShareAmount.share))&&!(this.validate(e.toString()).length>0)}async bearShortSellMaxSellShares(e,t){var r;if("openShort"!==this.positionAction||"bear"!==this.underlying.orderableUnderlyingType)return null;let n=this.underlyingSnapshotProvider;if(!n)return null;let o=this.underlying,i=oi.parseFromSymbol(this.underlying.symbol);if(!i)return null;
20let a=await n.loadSnapshot(null!==(r=o.underlyingSymbol)&&void 0!==r?r:"",this.underlying.market),s=await aw(this.configProvider);return aS({positionAction:this.positionAction,orderableUnderlyingType:this.underlying.orderableUnderlyingType,strikePrice:i.price,underlyingPrice:a.tradePrice,multiplier:o.multiplier,optionPrice:e,underlyingMarginRate:a.marginRate,availableFunds:t.maxAvailableFunds(this.underlying.currency,new u.W(1))},s)}async updateCurrentTradeableShareAmount(e){let t=nK(e);if(n9.isClose(this.positionAction)||0!==this.tradeDirection||(t=t.times(1.1)),t.isZero()){this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:new u.W(0)});return}try{let e=this.assetInformationProvider.hasValidAssetInformation();if(e||(await this.assetInformationProvider.queryUserAssetIfNecessary(),e=this.assetInformationProvider.hasValidAssetInformation()),!e){console.error("call [MarketOrderMaker] Asset information not available for buying power calculation."),this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:new u.W(0)});return}let r=await this.bearShortSellMaxSellShares(t,e);if(r){this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:r.floor()});return}let n=await this.buyingPowerProvider.loadBuyingPower(this.underlying.symbol,t,this.underlying.market,e);if(n.ok){let e=n.value;switch(this.currentTradeableShareAmount.type){case"closeTradeMaxShare":break;case"openTradeMarginMaxShare":{let t=e.find(e=>"margin"===e.type);t?this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:t.amount}):this.setTradeableShareAmount({type:"openTradeMarginMaxShare",share:new u.W(0)});break}case"openTradeCashMaxShare":{let t=e.find(e=>"cash"===e.type);t?this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:t.amount}):this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:new u.W(0)})}}}else console.error("call [MarketOrderMaker] Error from buyingPowerProvider:",n.error),this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:new u.W(0)})}catch(e){console.error("Unexpected error loading buying power:",e),this.setTradeableShareAmount({type:"openTradeCashMaxShare",share:new u.W(0)})}}switchBuyingPowerType(e){if(e<0||e>=this.shareBuyingPower.length)return console.warn("[MarketOrderMaker] Invalid buying power index:",e),!1;let t=oN(this.shareBuyingPower[e]);return this.setTradeableShareAmount(t),this.inputShare&&this.inputShare.gt(t.share)&&(this.inputShare=t.share),!0}updatePrices(e){let t=e.tradePrice;e.hasOptions,this.prices=[{type:"currentPrice",value:t},{type:"askPrice",value:e.askPrice},{type:"bidPrice",value:e.bidPrice}],this.currentPrice={type:"currentPrice",value:t};let r=this.underlying;if(r&&(r.askPrice=e.askPrice,r.bidPrice=e.bidPrice,r.tradePrice=e.tradePrice,r.currentPrice=e.tradePrice,e.tradePrice instanceof u.W&&e.tradePrice.isZero())){var n,o;console.warn("[UNSUPPORTED] currentPrice is zero when updating prices in MarketOrderMaker",{symbol:this.underlying.symbol,market:this.underlying.market,stockTradePrice:e.tradePrice.toString(),stockAskPrice:null===(n=e.askPrice)||void 0===n?void 0:n.toString(),stockBidPrice:null===(o=e.bidPrice)||void 0===o?void 0:o.toString(),method:"updatePrices"})}}shouldShowBetterBuyPanel(){return 0===this.tradeDirection&&"closeShort"!==this.positionAction&&"us"===this.underlying.orderableUnderlyingType&&!!this.underlying.hasBetterBuys}shouldShowCopyTradingPanel(){return null!==this.momentModel&&void 0!==this.momentModel}toTradeOrderParameter(){let e;let t=oy(this.underlying.market,this.underlying.symbol)?2:1,r=this.momentModel;if(r){var n,o,i;e={copyUserId:r.userId,copyOrderId:null!==(o=null===(n=r.copyOrder)||void 0===n?void 0:n.copyOrderId)&&void 0!==o?o:"",syncMoment:null!==(i=r.syncMoment)&&void 0!==i&&i}}return{underlying:this.underlying.symbol,price:this.finalPrice.times(1.1).toDecimalPlaces(2,u.W.ROUND_DOWN).toString(),stopPrice:void 0,currency:this.underlying.currency,quantity:this.inputShareString,source:this.underlying.market,instrument:t,orderType:0,side:this.tradeDirection,validity:1,session:0,metadata:null!=e?e:null,extra:void 0,attached:!1}}setI18nProvider(e){this.i18nProvider=e}get isClosingUnnormalLotSizePosition(){return("closeLong"===this.positionAction||"closeShort"===this.positionAction)&&!this.positionStatus.share.isZero()&&!this.positionStatus.share.isInteger()&&this.underlying.lotSize.equals(1)}get realLotSize(){if(!this.isClosingUnnormalLotSizePosition)return this.underlying.lotSize;{let e=this.positionStatus.share.decimalPlaces();return new u.W(10).pow(-e)}}get isOddLotSupported(){let e=this._getDerivedUnderlyingProps();return this.isClosingUnnormalLotSizePosition&&"us"===this.underlying.orderableUnderlyingType?this.realLotSize.lt(1):e.isOddLotSupported}get realPointSize(){let e=this._getDerivedUnderlyingProps();return this.isClosingUnnormalLotSizePosition?this.realLotSize.decimalPlaces():e.quantityPoint}_getDerivedUnderlyingProps(){let e=this.underlying.lotSize,t="bull"===this.underlying.orderableUnderlyingType||"bear"===this.underlying.orderableUnderlyingType,r=!0,n=0;t||(r=e.lt(1));let o=e.toString().split(".");return o.length>1&&(n=o[1].length),{isOddLotSupported:r,quantityPoint:n}}constructor(e){this.numberType="decimal",Object.assign(this,e),ac(this)}},aB={label:"ordermaker.pending.order.pending"},aU="en-US",aj=e=>new Intl.NumberFormat(e,{useGrouping:!0,maximumFractionDigits:0,minimumFractionDigits:0}),aV=e=>e.toLowerCase().startsWith("zh")?",":", ",az=(e,t)=>
20{var r,n,o;let{translator:i}=t,{t:a,language:s}=i;if("none"===e.type)return null;let l=null!=s?s:aU,d=null!==(r=t.numberFormatter)&&void 0!==r?r:aj(l),c=null===(n=t.withComma)||void 0===n||n,p=c?null!==(o=t.commaText)&&void 0!==o?o:aV(l):"",h=e.share,f=h.abs(),m=f.toDecimalPlaces(0,u.A.ROUND_DOWN),g=d.format(m.toNumber()),y="sell"===e.type?"+":"-",b="".concat(y).concat(g).concat(p),v=a(aB.label,{sharePart:b}),S="sell"===e.type?"down":"up";return{text:v,highlightText:b,share:{sign:y,original:h,absolute:f,integer:m,formatted:g,comma:p,withComma:c},orderType:e.type,tone:S}},aH={own:"ordermaker.position.status.text.own",cost:"ordermaker.position.status.text.cost"},aW="en-US",aG=e=>new Intl.NumberFormat(e,{useGrouping:!0,minimumFractionDigits:0,maximumFractionDigits:0}),aq=e=>new Intl.NumberFormat(e,{useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2}),aY=(e,t)=>{let r=e.toDecimalPlaces(3,u.A.ROUND_HALF_UP),n=r.isNegative(),o=r.isPositive(),[i,a]=r.abs().toFixed(3).split("."),s=t.format(Number(i)),l=(null!=a?a:"").replace(/0+$/,""),d=l?"".concat(s,".").concat(l):s,c=n?"-":o?"+":"";return{formatted:"".concat(c).concat(d),sign:c,rounded:r}},aK=(e,t)=>{var r,n,o;if("none"===e.type)return null;let{translator:i}=t,{t:a,language:s}=i,u=null!=s?s:aW,l=null!==(r=t.shareFormatter)&&void 0!==r?r:aG(u),d=null!==(n=t.withComma)&&void 0!==n&&n,c=d?null!==(o=t.commaText)&&void 0!==o?o:aV(u):"",p=e.share,h=aY(p,l),f="".concat(h.formatted).concat(c),m=a(aH.own,{sharePart:f}),g="normal";if(t.positionAction){let{positionAction:e}=t;"openLong"===e||"closeShort"===e?g="up":("openShort"===e||"closeLong"===e)&&(g="down")}return{text:m,highlightText:f,share:{original:p,rounded:h.rounded,formatted:h.formatted,sign:h.sign,comma:c,withComma:d},positionType:e.type,tone:g}},aZ=(e,t)=>{var r;if("none"===e.type)return null;let n=e.cost;if(!n||n.lte(0))return null;let{t:o,language:i}=t.translator,a=null!=i?i:aW,s=null!==(r=t.costFormatter)&&void 0!==r?r:aq(a),l=n.toDecimalPlaces(2,u.A.ROUND_HALF_UP),d=s.format(l.toNumber());return{text:o(aH.cost,{cost:d}),highlightText:d,cost:{original:n,rounded:l,formatted:d},positionType:e.type}},aJ={marginBuy:"ordermaker.tradeable.stocks.marginBuy",cashBuy:"ordermaker.tradeable.stocks.cashBuy",marginSell:"ordermaker.tradeable.stocks.marginSell",closeMarginBuy:"ordermaker.tradeable.stocks.closMarginBuy"},aX="en-US",aQ=e=>new Intl.NumberFormat(e,{useGrouping:!0,minimumFractionDigits:0,maximumFractionDigits:0}),a0=(e,t)=>{let r=e.toDecimalPlaces(3,u.A.ROUND_HALF_UP),[n,o]=r.abs().toFixed(3).split("."),i=t.format(Number(n)),a=(null!=o?o:"").replace(/0+$/,""),s=a?"".concat(i,".").concat(a):i,l=r.isNegative()?"-":"";return{formatted:"".concat(l).concat(s),rounded:r}},a1=(e,t)=>{switch(e){case"closeTradeMaxShare":return"closeShort"===t?aJ.closeMarginBuy:aJ.marginSell;case"openTradeMarginMaxShare":return"openShort"===t?aJ.marginSell:aJ.marginBuy;case"openTradeCashMaxShare":return"openShort"===t?aJ.marginSell:aJ.cashBuy;default:return aJ.marginSell}},a2=(e,t)=>
20"integer"===t?e.share.floor():e.share,a3=a2,a4=(e,t)=>a0(e,aQ(null!=t?t:aX)).formatted,a5=(e,t,r,n)=>{var o;let{translator:i}=n,{t:a,language:s}=i,u=null!=s?s:aX,l=null!==(o=n.formatter)&&void 0!==o?o:aQ(u),d=a0(a2(e,t),l),c=a(a1(e.type,r),{amount:d.formatted}),p="normal";return"openLong"===r||"closeShort"===r?p="up":("openShort"===r||"closeLong"===r)&&(p="down"),{text:c,highlightText:d.formatted,share:{original:e.share,rounded:d.rounded,formatted:d.formatted,numberType:t},amountType:e.type,positionAction:r,tone:p}},a9=(e,t)=>{let{t:r}=t.translator;if(e.canMakeOrder()){if(0!==e.tradeDirection)return{isEnabled:!0,text:r(iF.quickSell)};{let t=aM(e.estimatedAmount.toNumber(),{style:"currency",currency:e.underlying.currency,minimumFractionDigits:2,maximumFractionDigits:2});return{isEnabled:!0,text:r(iF.estBuy,{price:t})}}}return 0===e.tradeDirection?{isEnabled:!1,text:r(iF.buy)}:{isEnabled:!1,text:r(iF.quickSell)}},a8=(e,t)=>{let r;let n=[];if(!e||""===e.trim()||"."===e||e.endsWith(".")&&e.indexOf(".")===e.length-1)return[];try{r=new u.W(e)}catch(e){return n.push({id:"invalidFormat",key:"ordermaker.error.invalidNumber",message:"Invalid number format",field:"share"}),n}let o="openShort"===t.positionAction,i="closeShort"===t.positionAction,a=o||i,s=a?0:t.realPointSize,l=!a&&t.isOddLotSupported,d=!1;if(!(d=l&&s>0?new RegExp("^(\\+)?((0)|(0\\.\\d{0,".concat(s,"})|([1-9]\\d{0,8}((\\.\\d{0,").concat(s,"})?)?))$")).test(e):/^(0|[1-9]\d*)$/.test(e)))return a&&!r.isInteger()?n.push({id:"noFractionalShort",key:"ordermaker.error.noFractionalShortSelling",message:o?"Short selling of fractional shares is not supported":"Closing short position with fractional shares is not supported",field:"share"}):l&&0!==s?n.push({id:"decimalPlaces",key:"ordermaker.error.maxDecimalPlaces",message:"Max decimal places: ".concat(s),field:"share",params:{count:s}}):n.push({id:"integerOnly",key:"ordermaker.error.integerOnly",message:"Shares must be an integer",field:"share"}),n;a&&!r.isInteger()&&n.push({id:"noFractionalShort",key:"ordermaker.error.noFractionalShortSelling",message:o?"Short selling of fractional shares is not supported":"Closing short position with fractional shares is not supported",field:"share"});let c=t.currentTradeableShareAmount.share;return r.gt(c)&&n.push({id:"max",key:"ordermaker.error.sharesExceedToast",message:"Exceeded maximum available shares",field:"share"}),n},a6={userInputPrice:"ordermaker.trade.price.user.input.price",askPrice:"ordermaker.trade.price.ask.price",currentPrice:"ordermaker.trade.price.current.price",bidPrice:"ordermaker.trade.price.bid.price",midPrice:"ordermaker.trade.price.mid.price",cost:"ordermaker.trade.price.cost"},a7="ordermaker.fancy.order.vc.text.delayPrice",se={sameAs:"ordermaker.tradeable.stocks.sameAs",greater:"ordermaker.tradeable.stocks.greater",less:"ordermaker.tradeable.stocks.less",profit:"ordermaker.tradeable.stocks.profit",loss:"ordermaker.tradeable.stocks.loss"},st=e=>e instanceof u.A?e:new u.A(e),sr=e=>e.value,sn=e=>e.toLowerCase().startsWith("zh"),so=(e,t)=>t?sn(e)?",":", ":"",si=e=>{let t=e.decimalPlaces();return t<0?0:t},sa=(e,t)=>{let r;if(e.isZero())return t.find(e=>new u.A(e.min).isZero());let n=null;return t.forEach(t=>{let o=new u.A(t.min);if(e.greaterThan(o)){let i=e.minus(o);(null===n||i.lessThan(n))&&(n=i,r=t)}}),r},ss=(e,t)=>{if(!t)return si(e);let r=sa(e,t),n=si(new u.A(r?r.step:.01));if(n<=1)return n;if(n<=2)return 2;let o=si(e);return o<=2?2:o<=n?o:n},su=(e,t,r)=>new Intl.NumberFormat(r,{useGrouping:!1,minimumFractionDigits:t,maximumFractionDigits:t}).format(e.toNumber()),sl=(e,t)=>{let r=new Intl.NumberFormat(t,{useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2});return"".concat(r.format(e.toNumber()),"%")},sd=(e,t)=>new Intl.NumberFormat(t,{useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2}).format(e.toNumber()),sc=(e,t)=>t?a7:a6[e.type],sp=(e,t)=>{let{translator:r}=t,n=r.language,o=!!t.withComma,i=sr(e),a=ss(i,t.priceSteps),s=su(i,a,n),u=so(n,o),l=sc(e,!!t.isDelay),d=r.t(l),c="".concat(d," ").concat(s);return o&&(c+=u),{type:"priceString",locale:n,text:c,highlightText:s,price:{raw:i,formatted:s,decimalPlaces:a},isDelay:!!t.isDelay,tone:"up"}},sh=(e,t,r)=>{let{translator:n}=r,o=n.language,i=sr(t);if(i.isZero())return{type:"static",locale:o,text:"--%",tone:"normal"};let a=sr(e).div(i).minus(1),s=a.isZero(),u=s?"normal":a.isPositive()?"up":"down",l=s?se.sameAs:a.isPositive()?se.greater:se.less,d=s?void 0:sl(a.abs().times(100),o),c=so(o,!!r.withComma),p=sc(t,!!r.isDelay),h={priceName:n.t(p),amount:d||""},f=n.t(l,h);
20return r.withComma&&(f+=c),{type:"comparison",locale:o,text:f,highlightText:d,tone:u,diff:a}},sf=(e,t,r,n,o)=>{if("closeLong"!==n&&"closeShort"!==n)return null;let{translator:i}=o,a=i.language,s=sr(e),u=st(t),l=st(r),d=s.minus(l),c=d.times(u),p=sd(c.abs(),a),h=" ".concat(p),f=p,m="normal",g=se.profit;return u.isZero()?"closeLong"===n?(m=d.gte(0)?"up":"down",g=d.gte(0)?se.profit:se.loss):(m=d.lt(0)?"up":"down",g=d.lt(0)?se.profit:se.loss):(m=c.gte(0)?"up":"down",g="closeLong"===n?c.gte(0)?se.profit:se.loss:c.lt(0)?se.profit:se.loss),{type:"profitLoss",locale:a,text:i.t(g,{amount:h}),highlightText:f,tone:m,share:u,profit:c,positionAction:n}},sm="en-US",sg={general:"ordermaker.order.confirm.expected.fill.general",afterMarketOpen:"ordermaker.order.confirm.expected.fill.afterOpen",remotePreMarket:"ordermaker.order.confirm.expected.fill.remotePreMarket",preMarket:"ordermaker.order.confirm.expected.fill.preMarket",optionPreMarket:"ordermaker.order.confirm.expected.fill.optionPreMarket",postMarket:"ordermaker.order.confirm.expected.fill.postMarket",anyTime:"ordermaker.order.confirm.expected.fill.anyTime"},sy=(e,t)=>"boolean"==typeof e?e:1===e||0!==e&&t,sb=e=>"number"==typeof e&&Number.isFinite(e)?e:null,sv=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),sS=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=sb(t),i=sb(r);return null!==o&&null!==i&&(n?e>=o&&e<=i:e>=o&&e<i)},s_=e=>e.toString().padStart(2,"0"),sw=e=>{let t=e.getHours(),r=s_(e.getMinutes()),n=t.toString().padStart(2,"0");return t>=0&&t<6?"凌晨 ".concat(n,":").concat(r):t>=6&&t<9?"早上 ".concat(n,":").concat(r):t>=9&&t<12?9===t?"上午 0".concat(t,":").concat(r):"上午 ".concat(t,":").concat(r):t>=12&&t<14?"中午 ".concat(t-12,":").concat(r):t>=14&&t<18?"下午 ".concat(t-12,":").concat(r):"晚上 ".concat(t-12,":").concat(r)},sx=(e,t)=>{if(t.toLowerCase().startsWith("zh"))return sw(e);let r=e.getHours(),n=s_(e.getMinutes()),o=r%12;0===o&&(o=12);let i=o.toString().padStart(2,"0"),a=r<12?"am":"pm";return"".concat(i,":").concat(n," ").concat(a)},sT=(e,t)=>new Intl.DateTimeFormat(t,{month:"long",day:"numeric"}).format(e),sE=e=>{let t=e.toLowerCase();return t.startsWith("zh")?{position:"prefix",text:"明天"}:t.startsWith("ko")?{position:"prefix",text:"내일"}:t.startsWith("es")?{position:"suffix",text:"ma\xf1ana"}:{position:"suffix",text:"tomorrow"}},sP=(e,t,r)=>{let n=sb(e);if(null===n)return null;let o=new Date(n),i=new Date(r),a=new Date(r+864e5),s=sx(o,t);if(sv(o,i))return{label:s,timestamp:n,relation:"today"};if(sv(o,a)){let{position:e,text:r}=sE(t);return{label:"prefix"===e?"".concat(r).concat(s.startsWith(" ")?"":" ").concat(s).replace("  "," "):"".concat(s," ").concat(r),timestamp:n,relation:"tomorrow"}}let u=sT(o,t);return{label:t.toLowerCase().startsWith("zh")?"".concat(u).concat(s):"".concat(s," ").concat(u),timestamp:n,relation:"future"}},sk=(e,t)=>{var r,n;let o=null===(r=e.marketName)||void 0===r?void 0:r.trim();return o?o:(null===(n=t.marketName)||void 0===n?void 0:n.trim())||e.market},sD=(e,t,r,n,o,i)=>({text:e(t,r),highlightText:null==i?void 0:i.label,marketName:n,phase:o,timeLabel:null==i?void 0:i.label,timeLabelTimestamp:null==i?void 0:i.timestamp}),sA=(e,t,r,n,o,i,a)=>{var s;let u=sP(null===(s=r.today)||void 0===s?void 0:s.start,o,i);return u?oS.isOption(e)&&1===n?sD(a,sg.optionPreMarket,{},t,"preMarket"):"US"===oS.getType(e)&&1===n?sD(a,sg.preMarket,{},t,"preMarket"):sD(a,sg.afterMarketOpen,{marketName:t,timeLabel:u.label},t,"preMarket",u):sD(a,sg.general,{marketName:t},t,"preMarket")},sO=(e,t,r,n,o,i,a)=>{var s;let u=sP(null===(s=r.next)||void 0===s?void 0:s.start,o,i);return u?"US"===oS.getType(e)&&1===n?sD(a,sg.postMarket,{},t,"postMarket"):sD(a,sg.afterMarketOpen,{marketName:t,timeLabel:u.label},t,"postMarket",u):sD(a,sg.general,{marketName:t},t,"postMarket")},sN=(e,t,r,n)=>sD(n,sg.remotePreMarket,{timeLabel:t.label},e,r,t),sC=(e,t,r,n)=>t?sD(n,sg.afterMarketOpen,{marketName:e,timeLabel:t.label},e,r,t):sD(n,sg.general,{marketName:e},e,r),s$=(e,t)=>sD(t,sg.anyTime,{marketName:e},e,"regularHours"),sM=(e,t,r,n)=>{var o,i,a,s,u,l,d,c;let{translator:p}=n,{t:h,language:f}=p,m=null!=f?f:sm,g=Math.floor(null!==(a=n.now)&&void 0!==a?a:Date.now()),y=sk(e,t),b=t.today;if(!sy(null==b?void 0:b.isOpen,!0)){let n=oS.getType(e);if((null===(s=t.next)||void 0===s?void 0:s.preHoursStart)!==void 0&&(null===(u=t.next)||void 0===u?void 0:u.preHoursStart)!==null&&g<t.next.preHoursStart){let e=sP(t.next.preHoursStart,m,g);return"US"===n&&1===r&&e?sN(y,e,"marketClosed",h):sC(y,sP(null===(d=t.next)||void 0===d?void 0:d.start,m,g),"marketClosed",h)}let o=sP(null===(l=t.next)||void 0===l?void 0:l.start,m,g);return"US"===n&&1===r&&o?sN(y,o,"marketClosed",h):sC(y,o,"marketClosed",h)}if(sS(g,null==b?void 0:b.preHoursStart,null==b?void 0:b.preHoursEnd))return sA(e,y,t,r,m,g,h);if(sS(g,null==b?void 0:b.postHoursStart,null==b?void 0:b.postHoursEnd,!0))return sO(e,y,t,r,m,g,h);let v=oS.getType(e),S=sS(g,null==b?void 0:b.start,null==b?void 0:b.end,!0);if("US"===v&&S)return s$(y,h);
20if("SH"===v||"SZ"===v||"HK"===v){let e=sS(g,null==b?void 0:b.start,null==b?void 0:b.lunchStart,!0),t=sS(g,null==b?void 0:b.lunchEnd,null==b?void 0:b.end,!0);if(e||t)return s$(y,h);if(sS(g,null==b?void 0:b.lunchStart,null==b?void 0:b.lunchEnd,!0))return sC(y,sP(null==b?void 0:b.lunchEnd,m,g),"lunchBreak",h)}let _=[];if((null==b?void 0:b.preHoursStart)!==void 0&&(null==b?void 0:b.preHoursStart)!==null&&g<b.preHoursStart&&_.push({timestamp:b.preHoursStart,isNext:!1}),(null===(o=t.next)||void 0===o?void 0:o.preHoursStart)!==void 0&&(null===(i=t.next)||void 0===i?void 0:i.preHoursStart)!==null&&g<t.next.preHoursStart&&_.push({timestamp:t.next.preHoursStart,isNext:!0}),_.sort((e,t)=>e.timestamp-t.timestamp),_.length>0){let e=_[0],n=sP(e.timestamp,m,g);return"US"===v&&1===r&&n?sN(y,n,"preOpenAwait",h):sC(y,sP(e.isNext?null===(c=t.next)||void 0===c?void 0:c.start:null==b?void 0:b.start,m,g),"preOpenAwait",h)}return sD(h,sg.general,{marketName:y},y,"general")},sI={buy:"ordermaker.button.buy",sell:"ordermaker.button.sell",fall:"ordermaker.order.confirm.title.fall",rise:"ordermaker.order.confirm.title.rise",limit:"ordermaker.order.confirm.title.limit",limitGrey:"ordermaker.order.confirm.title.limit.grey",stop:"ordermaker.order.confirm.title.stop",takeProfit:"ordermaker.order.confirm.title.takeProfit"},sL=(e,t)=>{let r;let n=t(r=n9.isCloseShort(e)||n9.isOpenLong(e)?sI.buy:sI.sell).toLowerCase();return n?n.charAt(0).toUpperCase()+n.slice(1):""},sR=(e,t,r)=>{let n=n9.isCloseLong(e),o=n9.isCloseShort(e),i="stopLoss"===t,a="takeProfit"===t;return n&&i||o&&a?r(sI.fall):n&&a||o&&i?r(sI.rise):""},sF=(e,t)=>{let r=e.toNumber();if("hk"===t)return aM(r,{minimumFractionDigits:3,maximumFractionDigits:3});let n=Math.max(2,Math.min((r.toString().split(".")[1]||"").length,4));return aM(r,{minimumFractionDigits:n,maximumFractionDigits:n})},sB=(e,t)=>{let r;let{t:n}=t.translator;if(!(e instanceof aL)){let t=n(0===e.tradeDirection?"ordermaker.button.buy":"ordermaker.button.sell");return{text:n("ordermaker.order.confirm.title.market",{side:t,stockName:e.underlying.name}),highlightText:""}}let o=sL(e.positionAction,n),i=e.underlying.confirmViewName;if("takeProfitAndStopLoss"===e.currentOrderType)return{text:n("order.maker.take.profit.or.stop.loss.texts.confirmTitle",{side:o,stockName:i}),highlightText:""};switch(e.currentOrderType){case"twap":case"limit":default:r=sI.limit;break;case"stopLoss":r=sI.stop;break;case"takeProfit":r=sI.takeProfit}let a=sF(e.finalPrice,e.underlying.orderableUnderlyingType),s=" ".concat(a," "),u=n9.isOpenLong(e.positionAction)||n9.isCloseShort(e.positionAction),l=e;"limit"===e.currentOrderType&&u&&null!=l.greyMarketInfo&&oE(l.greyMarketInfo)&&(r=sI.limitGrey);let d=sR(e.positionAction,e.currentOrderType,n),c=r===sI.limitGrey?{stockName:i,price:a}:{side:o,stockName:i,price:s,action:d},p=n(r,c);if("stopLoss"===e.currentOrderType){var h;p=e.orderConfirmTitle(t.translator,a,null===(h=e.triggerPrice)||void 0===h?void 0:h.toString())}return{text:p,highlightText:s.trim()}},sU={earning:"ordermaker.order.confirm.message.earning",loss:"ordermaker.order.confirm.message.loss",description:"ordermaker.order.confirm.message.profit"},sj=(e,t)=>{let r;if(!n9.isClose(e.positionAction)||null===e.estimatedProfit)return null;let{t:n,language:o}=t.translator,i=e.estimatedProfit;r=n9.isCloseShort(e.positionAction)?i.isNegative()?sU.earning:sU.loss:i.isPositive()||i.isZero()?sU.earning:sU.loss;let a=aM(i.abs().toNumber(),{locale:o,useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2});return{text:n(sU.description,{side:n(r),amount:" ".concat(a," "),currency:e.underlying.currency}),highlightText:a}},sV={description:"ordermaker.order.confirm.share.amount",estimatedAmountGrey:"ordermaker.order.confirm.estimatedAmount.grey"},sz=(e,t)=>{let{t:r,language:n}=t.translator,o=e instanceof aL;if(o&&"takeProfitAndStopLoss"===e.currentOrderType){var i;let t=e,o=t.underlying.currency,a=null!==(i=t.estimatedAmountStr2)&&void 0!==i?i:"0.0",s="".concat(a," ").concat(o),u=aM(t.estimatedAmount.toNumber(),{locale:n,useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2}),l="".concat(u," ").concat(o);return{text:r("order.maker.take.profit.or.stop.loss.texts.confirmAmountStr",{takeProfit:s,stopLoss:l}),highlightText:"".concat(s,", ").concat(l)}}let a=aM(e.estimatedAmount.toNumber(),{locale:n,useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2}),s=o?e:null;if(o&&null!=s&&"limit"===s.currentOrderType&&(n9.isOpenLong(s.positionAction)||n9.isCloseShort(s.positionAction))&&null!=s.greyMarketInfo&&oE(s.greyMarketInfo))return{text:r(sV.estimatedAmountGrey,{amount:a}),highlightText:"".concat(a," HKD")};let u=e.underlying.currency,l="".concat(a," ").concat(u),d=" ".concat(l," ");return{text:r(sV.description,{amount:d}),highlightText:l}},sH={share:"ordermaker.fancy.order.vc.text.shareText",shares:"ordermaker.fancy.order.vc.text.sharesText"},sW=e=>{let{inputShare:t}=e;if(null==t)return"";let r=t.decimalPlaces();return r>0?aM(t.toNumber(),{minimumFractionDigits:r}):t.toString()},sG=(e,t)=>
20{var r,n;let{t:o}=t.translator;return{text:o(null!==(n=null===(r=e.inputShare)||void 0===r?void 0:r.greaterThan(1))&&void 0!==n&&n?sH.shares:sH.share)}},sq={extra:"ordermaker.fancy.order.twap.confirm.texts.extra"},sY=e=>({text:e.translator.t(sq.extra)}),sK=(e,t,r)=>{let n;let{translator:o}=r,{t:i}=o,a=e instanceof aL,s=a?e.tradingTimeOption:0,u=a?e.currentOrderType:void 0;n=a?sB(e,{translator:o}):{text:i("ordermaker.order.confirm.title.market",{side:i(0===e.tradeDirection?"ordermaker.button.buy":"ordermaker.button.sell"),stockName:e.underlying.name}),highlightText:""};let l=sW(e),d=sG(e,{translator:o}),c=sz(e,{translator:o}),p="takeProfitAndStopLoss"===u?null:sj(e,{translator:o}),h=a?e:null;return{title:n,shareAmount:l,shareUnit:d,estimatedAmount:c,estimatedProfit:p,filledTime:a&&null!=h&&"limit"===u&&(n9.isOpenLong(h.positionAction)||n9.isCloseShort(h.positionAction))&&null!=h.greyMarketInfo&&oE(h.greyMarketInfo)?{text:"",highlightText:"",phase:"general",marketName:""}:sM(e.underlying,t,s,{translator:o,tradingHoursService:e.tradingHoursService}),twapMessage:"twap"===u?sY({translator:o}):null}};function sZ(e){return"marginAccountShortSell"===e}function sJ(e){let{t}=e.translator;return{title:t(iF.marginaccountshortsellalerttitle),message:t(iF.marginaccountshortsellalertmsg),confirmText:t(iF.marginaccountshortsellalertconfirm),cancelText:t(iF.marginaccountshortsellalertcancel)}}var sX=(e,t)=>{var r,n;if(e.isValid)return null;let{t:o}=t.translator,i=null!==(n=null===(r=e.expectedStep)||void 0===r?void 0:r.toString())&&void 0!==n?n:"";return{title:o("ordermaker.error.priceErrorTitle"),message:o("ordermaker.error.priceErrorMessage",{unit:i}),actions:[{title:o("ordermaker.error.tradeUnitErrorActionTitle"),style:"default",isPreferred:!0}]}},sQ={submittedTitle:"com.order.submitted.title",takeProfitSubmittedTitle:"com.order.takeProfit.submitted.title",stopLossSubmittedTitle:"com.order.stopLoss.submitted.title",limitPriceSubtitle:"com.order.stockOrder.limitPrice.subtitle",marketPriceSubtitle:"com.order.stockOrder.marketPrice.subtitle",fancyStopLoss:"ordermaker.fancy.order.local.push.stopLoss",fancyTakeProfit:"ordermaker.fancy.order.local.push.takeProfit",stopPrice:"ordermaker.fancy.order.local.push.stopPrice",takeProfitPrice:"ordermaker.fancy.order.local.push.takeProfitPrice",buy:"ordermaker.position.action.text.buy",sell:"ordermaker.position.action.text.sell",closePosition:"com.trade.confirm.closePositions.title",shortSell:"com.trade.shortSellButton.title"},s0=class e extends Error{constructor(t,r,n){super(r),this.reason=t,this.cause=n,this.name="TradePricesProviderError",Object.setPrototypeOf(this,e.prototype)}},s1=class{async loadTradePricesForMarketOrder(e,t,r){let n=s2(t);if(!n)return this.fail("SYMBOL_REQUIRED","Symbol is required");let o=s2(e);if(!o)return this.fail("MARKET_REQUIRED","Market is required");let i=null==r?void 0:r.stock;if(i){if(s2(i.symbol)!==n)return this.fail("SYMBOL_MISMATCH","Symbol mismatch: expected ".concat(n,", received ").concat(i.symbol));if(s2(i.market)!==o)return this.fail("SYMBOL_MISMATCH","Market mismatch: expected ".concat(o,", received ").concat(i.market))}else try{Date.now(),i=(await this.options.stockService.refreshStockDetail(o,n)).stock}catch(e){return this.fail("FAILED_TO_LOAD","Failed to refresh stock detail",e)}if(i.tradePrice.isZero()){var a,s,u;console.warn("[UNSUPPORTED] stock.tradePrice is zero in loadTradePricesForMarketOrder",{symbol:i.symbol,market:i.market,tradePrice:i.tradePrice.toString(),askPrice:null===(a=i.askPrice)||void 0===a?void 0:a.toString(),bidPrice:null===(s=i.bidPrice)||void 0===s?void 0:s.toString(),close:null===(u=i.close)||void 0===u?void 0:u.toString(),method:"loadTradePricesForMarketOrder"})}let l=s3(i,!!this.options.includeMidPrice);return 0===l.length?this.fail("NO_PRICES","No trade prices available"):(l.length>0&&l[0].value.isZero()&&console.warn("[UNSUPPORTED] first price in prices array is zero",{symbol:i.symbol,market:i.market,pricesCount:l.length,firstPriceType:l[0].type,firstPriceValue:l[0].value.toString(),stockTradePrice:i.tradePrice.toString(),method:"loadTradePricesForMarketOrder"}),{ok:!0,value:{stock:i,prices:l}})}fail(e,t,r){var n,o;let i=new s0(e,t,r);return null===(n=(o=this.options).onError)||void 0===n||n.call(o,i),{ok:!1,error:i}}constructor(e){this.options=e}},s2=e=>(null!=e?e:"").trim(),s3=(e,t)=>{let r=[s9(e.tradePrice),s4(e.askPrice),s5(e.bidPrice)];if(t){let t=e.askPrice.plus(e.bidPrice).dividedBy(2);r.splice(2,0,s8(t))}return r},s4=e=>({type:"askPrice",value:e}),s5=e=>({type:"bidPrice",value:e}),s9=e=>({type:"currentPrice",value:e}),s8=e=>({type:"midPrice",value:e}
20),s6=class e extends Error{constructor(t,r,n){super(r),this.reason=t,this.cause=n,this.name="TickSizeQueryError",Object.setPrototypeOf(this,e.prototype)}},s7=class{async loadTickSize(e,t,r){let n=ue(t);if(!n)return this.fail("SYMBOL_REQUIRED","Symbol is required");let o=ue(e);if(!o)return this.fail("MARKET_REQUIRED","Market is required");let i=null==r?void 0:r.stock;if(i){if(ue(i.symbol)!==n)return this.fail("SYMBOL_MISMATCH","Symbol mismatch: expected ".concat(n,", received ").concat(i.symbol));if(ue(i.market)!==o)return this.fail("SYMBOL_MISMATCH","Market mismatch: expected ".concat(o,", received ").concat(i.market))}else try{i=(await this.options.stockService.refreshStockDetail(o,n)).stock}catch(e){return this.fail("FAILED_TO_LOAD","Failed to refresh stock detail",e)}if(!i.tickSize||0===i.tickSize.length)return this.fail("EMPTY_TICK_SIZE","Tick size is missing");let a=ut(i);return 0===a.length?this.fail("INVALID_TICK_SIZE","Tick size payload is invalid"):{ok:!0,value:{stock:i,steps:a}}}fail(e,t,r){var n,o;let i=new s6(e,t,r);return null===(n=(o=this.options).onError)||void 0===n||n.call(o,i),{ok:!1,error:i}}constructor(e){this.options=e}},ue=e=>(null!=e?e:"").trim(),ut=e=>{var t;return(null!==(t=e.tickSize)&&void 0!==t?t:[]).map(e=>{let t=ur(e.min),r=ur(e.step);if(void 0!==t&&void 0!==r)return i9.create(t,r)}).filter(e=>void 0!==e)},ur=e=>{if(e)try{let t=e.toNumber();return Number.isFinite(t)?t:void 0}catch(e){return}},un=class e extends Error{constructor(t,r,n){super(r),this.reason=t,this.cause=n,this.name="BuyingPowerError",Object.setPrototypeOf(this,e.prototype)}},uo=class{async loadBuyingPower(e,t,r,n,o){var i,a;let s=ui(e);if(!s)return this.fail("SYMBOL_REQUIRED","Symbol is required");let l=ui(r);if(!l)return this.fail("MARKET_REQUIRED","Market is required");if(!n)return this.fail("ASSET_INFORMATION_NOT_FOUND","Asset information is required");let d=ui(null!==(i=n.portfolio.userId)&&void 0!==i?i:null);if(!d)return this.fail("NO_USER_ID","User id is missing in asset information");try{let e=await this.options.orderMakeRemote.fetchMaxBuyable(d,s,t,l,o),r=ua(e.cashQuantity),i=ua(e.availableQuantity);if(!r&&!i)return this.fail("INVALID_RESPONSE","Remote response is empty");let c=null!==(a=n.accountType)&&void 0!==a?a:0,p=us(c,null!=r?r:new u.W(0),null!=i?i:new u.W(0));return{ok:!0,value:p}}catch(e){return this.fail("REMOTE_FAILURE","Failed to fetch max buyable quantity",e)}}fail(e,t,r){var n,o;let i=new un(e,t,r);return null===(n=(o=this.options).onError)||void 0===n||n.call(o,i),{ok:!1,error:i}}constructor(e){this.options=e}},ui=e=>(null!=e?e:"").trim(),ua=e=>{if(null!=e)try{let t=new u.W(e);return t.isFinite()?t:void 0}catch(e){return}},us=(e,t,r)=>{if(1===e)return[{type:"cash",amount:t}];let n=[];return r.isZero()?n.push({type:"margin",amount:new u.W(0)}):n.push({type:"margin",amount:r}),n.push({type:"cash",amount:t}),n},uu=class e extends Error{constructor(t,r,n){super(r),this.reason=t,this.cause=n,this.name="SellingPowerError",Object.setPrototypeOf(this,e.prototype)}},ul=class{async loadSellingPower(e,t,r){var n,o,i;let a=ud(e);if(!a)return this.fail("SYMBOL_REQUIRED","Symbol is required");let s=ud(r);if(!s)return this.fail("MARKET_REQUIRED","Market is required");let u=ud(null!==(i=null===(n=(o=this.options).resolveUserId)||void 0===n?void 0:n.call(o))&&void 0!==i?i:null);if(!u)return this.fail("NO_USER_ID","User id is required");try{let e=await this.options.orderMakeRemote.fetchMaxSellable(u,a,t,s),r=uc(e.availableQuantity);if(!r)return this.fail("INVALID_RESPONSE","Remote response is empty");let n={type:"margin",amount:r};return{ok:!0,value:[n]}}catch(e){return this.fail("REMOTE_FAILURE","Failed to fetch max sellable quantity",e)}}fail(e,t,r){var n,o;let i=new uu(e,t,r);return null===(n=(o=this.options).onError)||void 0===n||n.call(o,i),{ok:!1,error:i}}constructor(e){this.options=e}},ud=e=>(null!=e?e:"").trim(),uc=e=>{if(null!=e)try{let t=new u.W(e);return t.isFinite()?t:void 0}catch(e){return}},up=class extends Error{constructor(e,t){super(t),this.reason=e}},uh=class{serializeParams(e){let t={symbol:e.underlying,instrument:e.instrument,orderType:e.orderType,price:e.price,stop:e.stopPrice,currency:e.currency,side:e.side,session:e.session,validity:e.validity,quantity:e.quantity,source:e.source,metadata:e.metadata,attached:e.attached};return 10===e.orderType&&e.extra&&(t.extras={executionStartTime:1e3*e.extra.executionStartTime,executionEndTime:1e3*e.extra.executionEndTime,quantityMultiplier:e.extra.quantityMultiplier}
20),Object.keys(t).forEach(e=>{(null===t[e]||void 0===t[e])&&delete t[e]}),t}async placeOrder(e){let t=10===e.orderType,r=this.serializeParams(e);try{return t?await this.orderPlacementService.placeAlgoOrder(r):await this.orderPlacementService.placeNormalOrder(r)}catch(e){if((null==e?void 0:e.code)===1039999)throw new up("NeedTransactionPassword","Transaction password is required.");throw new up("NetworkError",e.message)}}async placeTakeProfitOrStopLossOrder(e,t){let r=this.serializeParams(e),n=this.serializeParams(t),o={...r,sibling:n};try{return await this.orderPlacementService.placeOcoOrder(o)}catch(e){if((null==e?void 0:e.code)===1039999)throw new up("NeedTransactionPassword","Transaction password is required.");throw new up("NetworkError",e.message)}}constructor(e){this.orderPlacementService=e}},uf=class extends Error{constructor(e,t,r){super(t),this.reason=e,this.cause=r}},um=class e extends Error{constructor(t,r,n){super(r),this.reason=t,this.cause=n,this.name="FastTradeError",Object.setPrototypeOf(this,e.prototype)}},ug=e=>"closeLong"===e||"closeShort"===e,uy=e=>{switch(e.type){case"buy":case"sell":return!e.share.isZero();case"none":return!1}},ub=e=>e||{},uv=class{async validatePreTradeConditions(e,t){if(!this.accountStatusProvider.isLogin)throw new um("NOT_LOGGED_IN","User is not logged in");if(!await this.accountStatusProvider.isAccountOpenSuccess())throw new um("ACCOUNT_NOT_OPEN","User account is not open");if(!await this.accountStatusProvider.hasSetTradePassword())throw new um("NO_TRADE_PASSWORD","User has not set a trade password");if(e.currentPrice.isZero())throw new um("UNSUPPORTED_TRADE_STOCK","Stock with zero price cannot be traded");await this.assetInformationProvider.queryUserAssetIfNecessary();let r=this.assetInformationProvider.hasValidAssetInformation();if(!r)throw new um("ASSET_INFORMATION_MISSING","Could not retrieve asset information for affordability check");if(0===t){let t=r.isAffordable(e);if(!t.ok)throw new um("INSUFFICIENT_FUNDS","Insufficient funds to make the trade",t.error)}return r}async createFancyOrderMaker(e){var t;let r=this.accountStatusProvider.userId;if(!r)throw new um("NO_USER_ID","User id is required to build a fast trade order maker");let n=null!==(t=e.assetInformation)&&void 0!==t?t:this.assetInformationProvider.hasValidAssetInformation();if(!n)throw new um("ASSET_INFORMATION_MISSING","Asset information is required to build a fast trade order maker");let[o,i,a]=await Promise.all([this.resolvePendingOrder(e.pendingOrderProvider,e.underlying.symbol),this.resolvePositionStatus(e.positionStatusProvider,r,e.underlying.symbol),this.resolveTradePrices(e.tradePricesProvider,e.underlying.market,e.underlying.symbol)]),s=await this.resolveTickSize(e.tickSizeProvider,e.underlying.market,e.underlying.symbol,a),u=n5(i.status,e.tradeDirection),l=n.buyingPowers(e.underlying,u,e.tradeDirection),d=this.resolveAvailableFunds(u,l),c=await this.resolveShareBuyingPower(u,e.tradeDirection,e.underlying,a,n,e.buyingPowerProvider,e.sellingPowerProvider,e.greyMarketInfo),p={type:"currentPrice",value:a.stock.tradePrice},h=await this.tradingSessionProvider.getSession(e.underlying.market);if(!h)throw new um("TRADING_SESSION_NOT_FOUND","Trading session not found for market ".concat(e.underlying.market));let f={underlying:e.underlying,positionStatus:i.status,tradeDirection:e.tradeDirection,pendingOrder:o,shareBuyingPower:c,availableFunds:d,prices:a.prices,currentPrice:p,tickSize:s.steps,buyingPowerProvider:e.buyingPowerProvider,sellingPowerProvider:e.sellingPowerProvider,assetInformationProvider:this.assetInformationProvider,assetInformation:n,configProvider:this.configProvider,underlyingSnapshotProvider:e.underlyingSnapshotProvider,tradingHoursService:this.tradingHoursService,i18nProvider:this.i18nProvider,privacyManager:this.privacyManager,realtimePriceService:this.realtimePriceService,analyticsService:this.analyticsService,tradingSession:h},m=await aL.create(f),g=ub(e.orderStarter);return this.applyStarterToFancyMaker(m,g,s.steps),this.ensureClosableShare(m),await this.primeOpenShortMaxSellShare(m,p),m}async createMarketOrderMaker(e){var t,r,n;let o;
20let i=this.accountStatusProvider.userId;if(!i)throw new um("NO_USER_ID","User id is required to build a fast trade order maker");let a=null!==(t=e.assetInformation)&&void 0!==t?t:this.assetInformationProvider.hasValidAssetInformation();if(!a)throw new um("ASSET_INFORMATION_MISSING","Asset information is required to build a fast trade order maker");let[s,u,l]=await Promise.all([this.resolvePendingOrder(e.pendingOrderProvider,e.underlying.symbol),this.resolvePositionStatus(e.positionStatusProvider,i,e.underlying.symbol),this.resolveTradePrices(e.tradePricesProvider,e.underlying.market,e.underlying.symbol)]),d=n5(u.status,e.tradeDirection),c=a.buyingPowers(e.underlying,d,e.tradeDirection),p=this.resolveAvailableFunds(d,c),h=await this.resolveShareBuyingPowerForMarketOrder(d,e.tradeDirection,e.underlying,l,a,e.buyingPowerProvider,e.sellingPowerProvider);switch(e.tradeDirection){case 0:o=null!==(r=l.prices.find(e=>"askPrice"===e.type))&&void 0!==r?r:{type:"currentPrice",value:e.underlying.currentPrice};break;case 1:o=null!==(n=l.prices.find(e=>"bidPrice"===e.type))&&void 0!==n?n:{type:"currentPrice",value:e.underlying.currentPrice}}let f=await this.tradingSessionProvider.getSession(e.underlying.market);if(!f)throw new um("TRADING_SESSION_NOT_FOUND","Trading session not found for market ".concat(e.underlying.market));let m=new aF({underlying:e.underlying,positionStatus:u.status,tradeDirection:e.tradeDirection,pendingOrder:s,shareBuyingPower:h,availableFunds:p,prices:l.prices,currentPrice:o,tickSize:[],buyingPowerProvider:e.buyingPowerProvider,sellingPowerProvider:e.sellingPowerProvider,assetInformationProvider:this.assetInformationProvider,assetInformation:a,configProvider:this.configProvider,underlyingSnapshotProvider:e.underlyingSnapshotProvider,tradingHoursService:this.tradingHoursService,i18nProvider:this.i18nProvider,privacyManager:this.privacyManager,realtimePriceService:this.realtimePriceService,analyticsService:this.analyticsService,tradingSession:f}),g=ub(e.orderStarter);return this.applyStarterToMarketMaker(m,g),this.ensureClosableShare(m),m}async resolvePendingOrder(e,t){let r=await e.allPendingOrders(t);if(!r.ok)throw new um("PENDING_ORDER_FAILURE","Failed to load pending orders",r.error);return r.value}async resolvePositionStatus(e,t,r){let n=await e.loadPositionStatus(t,r);if(!n.ok)throw new um("POSITION_STATUS_FAILURE","Failed to load position status",n.error);return n.value}async resolveTradePrices(e,t,r){let n=await e.loadTradePricesForMarketOrder(t,r);if(!n.ok)throw new um("TRADE_PRICE_FAILURE","Failed to load trade prices",n.error);return n.value}async resolveTickSize(e,t,r,n){let o=await e.loadTickSize(t,r,{stock:n.stock});if(!o.ok)throw new um("TICK_SIZE_FAILURE","Failed to load tick size",o.error);return o.value}async resolveShareBuyingPower(e,t,r,n,o,i,a,s){if("openLong"===e){let e=this.resolvePriceForBuyingPower(t,n.prices,n.stock.tradePrice),a=!!s&&oE(s),u=await i.loadBuyingPower(r.symbol,e,r.market,o,a);if(!u.ok)throw new um("BUYING_POWER_FAILURE","Failed to load buying power",u.error);return u.value}if("openShort"===e){let e=await a.loadSellingPower(r.symbol,n.stock.bidPrice,r.market);if(!e.ok)throw new um("SELLING_POWER_FAILURE","Failed to load selling power",e.error);return e.value}return[]}async resolveShareBuyingPowerForMarketOrder(e,t,r,n,o,i,a){if("openLong"===e){var s,l;let e=this.resolvePriceForBuyingPower(t,n.prices,null!==(l=null===(s=n.prices.find(e=>"currentPrice"===e.type))||void 0===s?void 0:s.value)&&void 0!==l?l:new u.W(0));e=e.mul(1.1);let a=await i.loadBuyingPower(r.symbol,e,r.market,o);if(!a.ok)throw new um("BUYING_POWER_FAILURE","Failed to load buying power",a.error);return a.value}if("openShort"===e){let e=n.stock.bidPrice.mul(1.1),t=await a.loadSellingPower(r.symbol,e,r.market);if(!t.ok)throw new um("SELLING_POWER_FAILURE","Failed to load selling power",t.error);return t.value}return[]}resolvePriceForBuyingPower(e,t,r){if(0===e){let e=t.find(nZ);if(e&&e.value.greaterThan(0))return e.value}return r}resolveAvailableFunds(e,t){if(ug(e))return{type:"none"};let r=t.find(e=>"cash"===e.type);return r?{type:"max",amount:r.amount}:{type:"none"}}applyStarterToFancyMaker(e,t,r){if(void 0!==t.intention&&e.setTradeIntention(t.intention),void 0!==t.initialShareAmount&&e.setInputShare(t.initialShareAmount),void 0!==t.orderType&&e.setCurrentOrderType(t.orderType),"takeProfitAndStopLoss"===e.currentOrderType)t.initialTakeProfitPrice&&t.initialStopLossPrice&&t.initialTriggerPrice&&(e.setUserInputPrice2(t.initialTakeProfitPrice),e.setUserInputPrice(t.initialStopLossPrice),e.setTriggerPrice(t.initialTriggerPrice),e.setSelectedPrice(void 0));else if("stopLoss"===e.currentOrderType){if(t.initialTriggerPrice&&e.setTriggerPrice(t.initialTriggerPrice),void 0!==t.initialPrice){let n=new u.W(t.initialPrice),o=this.formatPriceWithTickSize(n,r);e.setUserInputPrice(o)}e.setSelectedPrice(void 0)}else if(void 0!==t.initialPrice){let n=new u.W(t.initialPrice),o=this.formatPriceWithTickSize(n,r);e.setUserInputPrice(o),e.setSelectedPrice(void 0)}}formatPriceWithTickSize(e,t){let r=aT(e,t);if(!r)return e;let n=new u.W(r.step);
20return n.isZero()?e:e.div(n).round().mul(n)}applyStarterToMarketMaker(e,t){void 0!==t.intention&&e.setTradeIntention(t.intention),void 0!==t.initialShareAmount&&e.setInputShare(t.initialShareAmount)}async primeOpenShortMaxSellShare(e,t){var r;if("openShort"!==e.positionAction)return;let n=null!==(r=e.selectedPrice)&&void 0!==r?r:t;if(n)try{await e.updateOpenShortMaxSellShare(n)}catch(e){}}ensureClosableShare(e){if(ug(e.positionAction)&&e.currentTradeableShareAmount.share.isZero()&&uy(e.pendingOrder))throw new um("NO_SHARE_TO_CLOSE","No share available to close the position")}constructor(e,t,r,n,o,i,a,s,u){this.accountStatusProvider=e,this.assetInformationProvider=t,this.configProvider=r,this.tradingHoursService=n,this.i18nProvider=o,this.privacyManager=i,this.realtimePriceService=a,this.analyticsService=s,this.tradingSessionProvider=u}},uS=class extends Error{constructor(e,t,r){super(t),this.reason=e,this.cause=r}},u_=5e3,uw=e=>{let t=e.status.toLowerCase();return"canceled"===t||"cancelled"===t},ux=class extends Error{constructor(e,t,r){super(t),this.reason=e,this.cause=r}};function uT(e,t){return t.name||t.symbol}function uE(e,t,r,n){let{stock:o,tradeDirection:i,inputShareString:a,positionAction:s,tradeIntention:u}=t,l="";l=e("closeLong"===s||"closeShort"===s?sQ.closePosition:0===i?sQ.buy:1===i&&"openShort"===s&&"normal"===u?sQ.shortSell:sQ.sell,{ns:iD});let d=sQ.limitPriceSubtitle,c=r.toFixed(o.decimalPlaces||2),p=uT(e,o);return e(d,{side:l,quantity:a,name:p,price:c,ns:iD})}function uP(e,t,r,n,o){let i=e("takeProfit"===o?sQ.takeProfitSubmittedTitle:sQ.stopLossSubmittedTitle,{ns:iD}),a=uE(e,t,n,o),s={status:"Working",orderId:r,msgType:"ORDER_SUBMITTED"};return{ID:"".concat(r,"_").concat(Math.floor(Date.now())),title:i,subtitle:a,custom:s}}var uk=class{generatePushPayloads(){var e,t;let r=this.i18n.t,{orderId:n,siblingOrderId:o}=this.orderResult;if(!n||!o)throw Error("Both orderId and siblingOrderId must be present for OCO orders.");let i={stock:this.orderMaker.underlying,tradeDirection:this.orderMaker.tradeDirection,positionAction:this.orderMaker.positionAction,tradeIntention:null!==(e=this.orderMaker.tradeIntention)&&void 0!==e?e:"normal",inputShareString:(null!==(t=this.orderMaker.inputShare)&&void 0!==t?t:new u.W(0)).toString()};return[uP(r,{...i,currentOrderType:"takeProfit",submittedPrice:this.takeProfitPrice.toNumber(),isMarketOrder:!1},n,this.takeProfitPrice,"takeProfit"),uP(r,{...i,currentOrderType:"stopLoss",submittedPrice:this.stopLossPrice.toNumber(),isMarketOrder:!1},o,this.stopLossPrice,"stopLoss")]}constructor(e,t,r,n,o){this.i18n=e,this.orderMaker=t,this.orderResult=r,this.takeProfitPrice=n,this.stopLossPrice=o}},uD=class{async handleOCOSubmissionSuccess(e,t,r,n,o){let[i,a]=new uk(this.i18n,t,e,r,n).generatePushPayloads();if(this.pushService.showPush(i),setTimeout(()=>{this.pushService.showPush(a)},500),await this.assetService.loadUserAssets(o),e.orderId&&e.siblingOrderId){let t=[e.orderId,e.siblingOrderId];await this.syncTradeMomentsRecursively(t)}}async syncTradeMomentsRecursively(e){if(0===e.length)return;let[t,...r]=e;await this.syncTradeMomentWithCheck(t),await this.syncTradeMomentsRecursively(r)}async syncTradeMomentWithCheck(e){switch(await this.privacyManager.getTradeSyncSetting()){case 0:await this.privacyManager.syncTradeActivity(e,!1);break;case 1:await this.privacyManager.syncTradeActivity(e,!0);break;
20case 3:let t=await this.tradeSyncUIService.promptForTradeSync(e);null!==t&&await this.privacyManager.syncTradeActivity(e,t)}}constructor(e,t,r,n,o){this.i18n=e,this.pushService=t,this.assetService=r,this.privacyManager=n,this.tradeSyncUIService=o}},uA=600,uO=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Math.floor(Date.now()/1e3);return e<=r?{id:"twapStartTimeBeforeCurrent",field:"twapStartTime",key:"ordermaker.fancy.order.twap.time.alert.texts.startTimeMustAfterCurrentTime",message:"Start time must be after current time"}:e>=t?{id:"twapStartTimeAfterEnd",field:"twapStartTime",key:"ordermaker.fancy.order.twap.time.alert.texts.startTimeMustBeforeEndTime",message:"Start Time cannot be later than End Time"}:null},uN=(e,t)=>e<t+uA?{id:"twapEndTimeIntervalTooShort",field:"twapEndTime",key:"ordermaker.fancy.order.twap.time.alert.texts.endTimeMustAfterCurrentTimeAtLeast10",message:"The interval between start and end time is too short"}:null,uC={buySide:"ordermaker.side.buy",sellSide:"ordermaker.side.sell",borrow:"ordermaker.briefInfo.borrow"},u$=(e,t)=>aM(e.toNumber(),{useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2}),uM=e=>"zh-Hans"===e||"zh-Hant"===e||e.startsWith("zh"),uI=(e,t)=>{let r;let{t:n,language:o}=t.translator,i=uM(o);oo.setLanguageConfig({isChinese:i,spacer:i?"":" "});let a=n(n9.isCloseShort(e.positionAction)||n9.isOpenLong(e.positionAction)?uC.buySide:uC.sellSide),s=oi.parseFromSymbol(e.underlying.symbol);if(s){let t=oo.getNameAndCode(s,e.underlying.name,s.symbol);r="".concat(a," ").concat(t)}else r="".concat(a," ").concat(e.underlying.name);let u=null,l=e.estimatedAmount,d=e.underlying.currency,c=u$(l,e);if(e instanceof aL&&"takeProfitAndStopLoss"===e.currentOrderType){let t=e.estimatedAmountStr2;t&&"string"==typeof t&&t.length>0&&(c="".concat(t," ").concat(d," / ").concat(c," ").concat(d))}"string"!=typeof c&&(c=String(c||"0.00"));let p=null;if("max"===e.availableFunds.type){let t=l.minus(e.availableFunds.amount);if(t.greaterThan(0)&&!n9.isClose(e.positionAction)){let r=u$(t,e);p={text:n(uC.borrow,{amount:"".concat(r," ").concat(d)})}}}return{title:r,subTitle:u,formattedEstimatedAmount:c,currency:d,borrowInfo:p}},uL=(e,t)=>{var r,n;let o=e.positionStatus;if(!n9.isClose(e.positionAction)||"long"!==o.type||!o.frozen.quantity.gt(0))return null;let i=null!==(r=t.language)&&void 0!==r?r:void 0,a=a3(e.currentTradeableShareAmount,e.numberType),s=null!==(n=e.currentTradeableShareAmount.rawShare)&&void 0!==n?n:e.currentTradeableShareAmount.share,u="integer"===e.numberType?s.minus(s.floor()):null,l=u&&u.gt(0)?u:null,d=o.share.abs(),c=o.frozen.quantity;return{totalShare:d,totalShareText:a4(d,i),sellableShare:a,sellableShareText:a4(a,i),frozenShare:c,frozenShareText:a4(c,i),oddLotRemainder:l,oddLotRemainderText:l?a4(l,i):null,rewards:o.frozen.rewards.map(e=>({reason:e.reason,quantity:e.quantity,quantityText:a4(e.quantity,i)}))}},uR=(e,t)=>{let{translator:r}=t,n="none"!==e.pendingOrder.type,o=a5(e.currentTradeableShareAmount,e.numberType,e.positionAction,{translator:r}),i=null,a=null;if(n){let t="ordermaker.pending.order.comma",n=r.t(t);a=az(e.pendingOrder,{translator:r,withComma:!0,commaText:n})}else"none"!==e.positionStatus.type&&(i=aK(e.positionStatus,{translator:r,withComma:!0,positionAction:e.positionAction}));return{positionStatusText:i,pendingOrderText:a,tradeableAmountText:o,showTradeAllButton:e.currentTradeableShareAmount.share.gt(0),showBuyingPowerSelector:!n9.isClose(e.positionAction)&&e.shareBuyingPower.length>1,frozenExplain:uL(e,r)}};function uF(e,t){if(!e)return!1;switch(t){case 1:return"bidPrice"===e.type;case 0:return"askPrice"===e.type;default:return!1}}function uB(e,t){let r=aZ(e,{translator:t});return r?r.text:null}function uU(e){let t=e.checkTakeProfitPriceCompareWithTriggerPrice;if(!t)return null;let{t:r}=e.translator,{takeProfitPrice:n,triggerPrice:o,tradeDirection:i}=t,a=new u.A(o);if("sell"===i){if(n.lt(a))return{text:r("take.profit.or.stop.loss.order.price.info.texts.priceShouldNotLowThanTrigger"),tone:"down",displayStyle:"expanded"};if(n.lt(a.times(1.02))){let e=r("ordermaker.position.action.text.sell");return{text:r("take.profit.or.stop.loss.order.price.info.texts.priceShouldNotBeCloseToTrigger",{side:e.trim()}),tone:"down",displayStyle:"expanded"}}}else{if(a.lt(n))return{text:r("take.profit.or.stop.loss.order.price.info.texts.priceShouldNotGreatThanTrigger"),tone:"down",displayStyle:"expanded"};if(a.lt(n.times(1.02))){let e=r("ordermaker.position.action.text.buy");return{text:r("take.profit.or.stop.loss.order.price.info.texts.priceShouldNotBeCloseToTrigger",{side:e.trim()}),tone:"down",displayStyle:"expanded"}}}return null}var uj=(e,t)=>{let r;let{translator:n,priceSteps:o}=t,{t:i,language:a}=n,s=null!=a?a:"en-US",l=uU(t);if(l)return l;let{currentOrderType:d,selectedPrice:c,selectedPriceForDisplay:p,currentPrice:h,positionStatus:f,userIn
20putPrice:m,inputShare:g,positionAction:y,underlying:b,tradeDirection:v}=e,S=m?m.toNumber():0,_=g?g.toNumber():0,w=n9.isClose(y),x="none"!==f.type,T=x?f.share:new u.A(0),E=x?f.cost:new u.A(0);if(("limit"===d||"twap"===d)&&c){let e;let t=p||c;if(!t)return null;let r=[],o="normal";if(w){if(uF(c,v)){let e=i("ordermaker.fancy.order.vc.text.selectPriceQuickDeal",{priceName:i("ordermaker.trade.price.".concat(nX(c),".price"))});r.push(e)}if(_>0&&T.abs().gt(0)){let i=sf(t,_,E,y,{translator:n});if(i){let t=aV(s);r.push(t),r.push(i.text),e=i.highlightText,o=i.tone}}}else if(x&&!uF(c,v)){let i=sh(t,{type:"cost",value:E},{translator:n,withComma:!1,isDelay:b.isDelay});r.push(i.text),e="comparison"===i.type?i.highlightText:void 0,o=i.tone}else if(x&&uF(c,v)){let a=i("ordermaker.fancy.order.vc.text.selectPriceQuickDeal",{priceName:i("ordermaker.trade.price.".concat(nX(c),".price"))}),u=aV(s);r.push(a+u);let l=sh(t,{type:"cost",value:E},{translator:n,withComma:!1,isDelay:!1});r.push(l.text),e="comparison"===l.type?l.highlightText:void 0,o=l.tone}else if(uF(c,v)){let e=i("ordermaker.fancy.order.vc.text.selectPriceQuickDeal",{priceName:i("ordermaker.trade.price.".concat(nX(c),".price"))});r.push(e)}return 0===r.length?null:{text:r.join(""),highlightText:e,tone:o,displayStyle:"expanded"}}if((!S||0===S)&&!c){let e=[],t=sp(h,{translator:n,withComma:!1,isDelay:b.isDelay,priceSteps:o}),r=t.highlightText,i="normal";e.push(t.text);let a=uB(f,n);return(a&&e.push(a),0===e.length)?null:{text:e.join(""),highlightText:r,tone:i,displayStyle:"stopLoss"===d?"compact":"expanded"}}let P={type:"userInputPrice",value:new u.A(S)},k=[],D="normal",A=sh(P,h,{translator:n,withComma:!1,isDelay:b.isDelay});if(k.push(A.text),r="comparison"===A.type?A.highlightText:void 0,D=A.tone,!w&&T.abs().gt(0)){let e=sh(P,{type:"cost",value:E},{translator:n,withComma:!1,isDelay:!1});k.push(e.text),"comparison"===e.type&&e.highlightText&&(r=e.highlightText),D=e.tone}else if(w&&_>0&&T.abs().gt(0)){let e=sf(P,_,E,y,{translator:n});e&&(k.push(e.text),r=e.highlightText,D=e.tone)}return 0===k.length?null:{text:k.join(""),highlightText:r,tone:D,displayStyle:"stopLoss"===d?"compact":"expanded"}},uV={priceHolderPrice:"ordermaker.fancy.order.vc.text.priceHolderPrice",priceHolderTakeProfitPrice:"ordermaker.fancy.order.vc.text.priceHolderTakeProfitPrice",priceHolderLimitPrice:"ordermaker.fancy.order.vc.text.priceHolderLimitPrice"},uz={placeholder:{limit:uV.priceHolderPrice,takeProfit:uV.priceHolderTakeProfitPrice,stopLoss:"order.maker.stoploss.trigger.price.texts.limitPricePlaceHolder",twap:uV.priceHolderPrice,takeProfitAndStopLoss:uV.priceHolderLimitPrice}};function uH(e,t){let{t:r}=t;switch(e){case"limit":default:return r(uz.placeholder.limit);case"takeProfit":return r(uz.placeholder.takeProfit);case"stopLoss":return r(uz.placeholder.stopLoss);case"twap":return r(uz.placeholder.twap);case"takeProfitAndStopLoss":return r(uz.placeholder.takeProfitAndStopLoss)}}var uW=(e,t)=>{let{translator:r}=t;return{title:e.limitPriceText(r),placeholder:uH(e.currentOrderType,r)}},uG={limit:"ordermaker.non.market.order.type.text.limit",stopLoss:"ordermaker.non.market.order.type.text.stopLoss",takeProfit:"ordermaker.non.market.order.type.text.takeProfit",twap:"ordermaker.non.market.order.type.text.twap",takeProfitAndStopLoss:"ordermaker.non.market.order.type.text.takeProfitAndStopLoss"},uq=(e,t)=>{var r,n;let{t:o}=t.translator,i=e.getAvailableOrderTypes(t.canUseTwap).map(e=>({type:e,name:o(uG[e])})),a=e.currentOrderType,s=null!==(n=null===(r=i.find(e=>e.type===a))||void 0===r?void 0:r.name)&&void 0!==n?n:"",u="limit"!==a;return{availableTypes:i,selectedType:a,selectedTypeName:s,showGuideIcon:u}},uY={currentPrice:"ordermaker.position.action.guide.currentPrice",stopLossPrice:"ordermaker.position.action.guide.stopLossPrice",takeProfitPrice:"ordermaker.position.action.guide.takeProfitPrice",closeLongTakeProfit:"ordermaker.position.action.guide.closeLongTakeProfit",closeShortTakeProfit:"ordermaker.position.action.guide.closeShortTakeProfit",closeLongStopLoss:"ordermaker.position.action.guide.closeLongStopLoss",closeShortStopLoss:"ordermaker.position.action.guide.closeShortStopLoss",sellLimitOrderAction:"ordermaker.position.action.guide.sellLimitOrderAction",buyLimitOrderAction:"ordermaker.position.action.guide.buyLimitOrderAction",takeProfitAndStopLossTitle:"take.profit.and.stop.loss.explain.alert.texts.title",takeProfitAndStopLossContent:"take.profit.and.stop.loss.explain.alert.texts.content",takeProfitAndStopLossOk:"take.profit.and.stop.loss.explain.alert.texts.ok",twapTitle:"fancy.order.twap.explain.title",twapMessage:"fancy.order.twap.explain.message",twapButton:"fancy.order.twap.explain.button"};function uK(e,t,r){let{t:n}=r.translator,o=n(uY.currentPrice),i=n(uY.stopLossPrice),a=n(uY.takeProfitPrice),s=n(uG[t]);switch(e){case"closeLong":if("takeProfit"===t)return{title:s,explain:n(uY.closeLongTakeProfit),price:o,triggerPrice:a,action:n(uY.sellLimitOrderAction),image:"stock_price_rise",isRise:!0};if("stopLoss"===t)return{title:s,explain:n(uY.closeLongStopLoss),price:o,triggerPrice:i,action:n(uY.sellLimitOrderAction),image:"stock_price_fall",isRise:!1};break;case"closeShort":if("takeProfit"===t)return{title:s,explain:n(uY.closeShortTakeProfit),price:o,triggerPrice:a,action:n(uY.buyLimitOrderAction),image:"stock_price_fall",isRise:!1};if("stopLoss"===t)return{title:s,explain:n(uY.closeShortStopLoss),price:o,triggerPrice:i,action:n(uY.buyLimitOrderAction),image:"stock_price_rise",isRise:!0}}return null}var uZ=(e,t)=>{let{t:r}=t.translator,n=e.currentOrderType,o=e.positionAction;if("limit"===n)return null;if("takeProfitAndStopLoss"===n)return{type:"takeProfitAndStopLoss",title:r(uY.takeProfitAndStopLossTitle),message:r(uY.takeProfitAndStopLossContent),buttonText:r(uY.takeProfitAndStopLossOk)};if("twap"===n)try{let t=e.quantityMultiplier.toNumber();if(!t||t<=0||!isFinite(t)){let e=Math.floor(5).toString(),t="20%";return{type:"twap",title:r(uY.twapTitle),message:r(uY.twapMessage,{times:e,percentage:t}),buttonText:r(uY.twapButton),twapParams:{times:e,percentage:t}}}let n=Math.floor(1/t).toString(),o=e.quantityMultiplierAsPercentage||"".concat((100*t).toFixed(0),"%");return{type:"twap",title:r(uY.twapTitle),message:r(uY.twapMessage,{times:n,percentage:o}),buttonText:r(uY.twapButton),twapParams:{times:n,percentage:o}}}catch(e){return console.error("[buildOrderTypeGuideViewModel] Error building TWAP guide:",e),{type:"twap",title:r(uY.twapTitle),message:r(uY.twapMessage,{times:"5",percentage:"20%"}),buttonText:r(uY.twapButton),twapParams:{times:"5",percentage:"20%"}}}if("takeProfit"===n||"stopLoss"===n){let e=uK(o,n,t);return e?{type:"takeProfitOrStopLoss",title:e.title,message:e.explain,buttonText:r(uY.twapButton),guideDetails:e}:null}return null},uJ={title:"order.maker.stoploss.trigger.price.texts.triggerPrice",placeholder:"order.maker.stoploss.trigger.price.texts.triggerPricePlaceHolder",takeProfitAndStopLossTitle:"order.maker.take.profit.or.stop.loss.texts.stopLossTriggerPrice"},uX=(e,t)=>{if("stopLoss"!==e.currentOrderType&&"takeProfitAndStopLoss"!==e.currentOrderType)return null;let{t:r}=t.translator;return{title:r("takeProfitAndStopLoss"===e.currentOrderType?uJ.takeProfitAndStopLossTitle:uJ.title),placeholder:r(uJ.placeholder)}},uQ=(e,t)=>{if("stopLoss"!==e.currentOrderType&&"takeProfitAndStopLoss"!==e.currentOrderType)return null;let{t:r}
20=t.translator,n="stopLoss"===e.currentOrderType?"compact":"expanded";if("takeProfitAndStopLoss"===e.currentOrderType&&e.userInputPrice2&&e.triggerPrice){let t=e.userInputPrice2,o=e.triggerPrice,i=r(0===e.tradeDirection?"ordermaker.position.action.text.buy":"ordermaker.position.action.text.sell");if(1===e.tradeDirection){if(t.lt(o))return{text:r("take.profit.or.stop.loss.order.price.info.texts.priceShouldNotLowThanTrigger"),tone:"down",displayStyle:n};if(t.lt(o.times(1.02)))return{text:r("take.profit.or.stop.loss.order.price.info.texts.priceShouldNotBeCloseToTrigger",{side:i.trim()}),tone:"down",displayStyle:n}}else{if(o.lt(t))return{text:r("take.profit.or.stop.loss.order.price.info.texts.priceShouldNotGreatThanTrigger"),tone:"down",displayStyle:n};if(o.lt(t.times(1.02)))return{text:r("take.profit.or.stop.loss.order.price.info.texts.priceShouldNotBeCloseToTrigger",{side:i.trim()}),tone:"down",displayStyle:n}}}let o=e.triggerPrice,i=e.currentPrice;if(!o||o.isZero()){if(nK(i).isZero())return null;let e=sp(i,{translator:t.translator});return{text:e.text,highlightText:e.highlightText,tone:"normal",displayStyle:n}}if(nK(i).isZero())return null;let a=sh({type:"userInputPrice",value:o},i,{translator:t.translator});return{text:a.text,highlightText:"comparison"===a.type?a.highlightText:void 0,tone:a.tone,displayStyle:n}},u0=(e,t,r)=>{let{t:n}=r.translator;return{getPreOrderAlert:()=>{if("stopLoss"===e.currentOrderType){let t=e.stopLossRiskAlertContent(r.translator);return{type:"StopLossRisk",title:t.title,message:t.content,confirmActionText:n("order.maker.stoploss.risk.alert.texts.ok"),cancelActionText:""}}if("takeProfitAndStopLoss"===e.currentOrderType){let t=e.takeProfitAndStopLossRiskAlertContent(r.translator);return{type:"TakeProfitAndStopLossRisk",title:t.title,message:t.content,confirmActionText:n("order.maker.take.profit.or.stop.loss.risk.texts.ok"),cancelActionText:""}}return null}}},u1=(e,t,r)=>{let{t:n}=r.translator;return{getPreOrderAlert:()=>{var t,r;let o=e.estimatedAmount;if(1===e.tradeDirection&&o.lt(.01))return{type:"MinDebitSell",title:n(iF.oddLotSellMinDebitAlertTitle),message:n(iF.oddLotSellMinDebitAlertMsgTitle),confirmActionText:n(iF.sharesAlertOk)};let i=0===e.tradeDirection,a=e.isOddLotSupported,s=null!==(r=null===(t=e.inputShare)||void 0===t?void 0:t.lt(1))&&void 0!==r&&r,u=o.lt(1),l=!n9.isClose(e.positionAction);return i&&a&&s&&u&&l?{type:"MinCostBuy",title:n(iF.oddLotBuyMinCostAlertTitle),message:n(iF.oddLotBuyMinCostAlertMsg),confirmActionText:n(iF.sharesAlertOk)}:null}}};function u2(e,t){return t.name||t.symbol}function u3(e,t){let{stock:r,tradeDirection:n,inputShareString:o,submittedPrice:i}=t,a=sQ.marketPriceSubtitle;r.market;let s=0===n?e.t(sQ.buy):e.t(sQ.sell),l=i?new u.W(i).toFixed(r.decimalPlaces||2):"";return e.t(a,{side:s,quantity:o,name:u2(e,r),price:l,ns:iD})}function u4(e,t){let{stock:r,tradeDirection:n,positionAction:o,tradeIntention:i,currentOrderType:a,inputShareString:s,submittedPrice:l}=t,d="";d="closeLong"===o||"closeShort"===o?e.t(sQ.closePosition):0===n?e.t(sQ.buy):1===n&&"openShort"===o&&"normal"===i?e.t(sQ.shortSell):e.t(sQ.sell);let c="",p="";switch(a){case"limit":case"twap":default:c=sQ.limitPriceSubtitle;break;case"stopLoss":c=sQ.fancyStopLoss,p=sQ.stopPrice;break;case"takeProfit":c=sQ.fancyTakeProfit,p=sQ.takeProfitPrice}let h=l?new u.W(l).toFixed(r.decimalPlaces||2):"",f=p?e.t(p):"";return e.t(c,{side:d,quantity:s,name:u2(e,r),price:h,priceType:f,ns:iD})}function u5(e,t){let{translator:r}=t,{isMarketOrder:n}=e;return n?u3(r,e):u4(r,e)}function u9(e,t,r){if(!e.stock)return null;let{translator:n}=r,o=u5(e,r),i=n.t(sQ.submittedTitle,{ns:iD}),a={status:String(t.orderStatus),orderId:t.orderId,msgType:"ORDER_SUBMITTED"};return e.isMarketOrder||"twap"!==e.currentOrderType||(a.orderType="10"),{ID:Math.floor(Date.now()).toString(),title:i,subtitle:o,custom:a}}var u8=20,u6=class{get filterModel(){return this._filterModel}createDefaultFilter(){return{symbol:this.initialSymbol,expiryDates:[],toStrikePrice:new u.W(0),limit:this.initialLimit}}notify(){this.modelEmitter.emit(this._filterModel)}reset(){this._filterModel=this.createDefaultFilter(),this.notify()}setToStrikePrice(e){this._filterModel={...this._filterModel,toStrikePrice:e},this.notify()}setExpiryDates(e){this._filterModel={...this._filterModel,expiryDates:e},this.notify()}constructor(e){var t;this.initialSymbol=e.symbol,this.initialLimit=null!==(t=e.limit)&&void 0!==t?t:u8,this._filterModel={...this.createDefaultFilter(),...e.expiryDates?{expiryDates:e.expiryDates}:{},...e.toStrikePrice?{toStrikePrice:e.toStrikePrice}:{}},this.modelEmitter=new a$(this._filterModel)}},u7=e=>e&&e.length>0?e:null,le=class{get canLoadMore(){return null!==this._cursor}notify(){this.dataEmitter.emit({list:this._list,isLoading:this._isLoading,canLoadMore:this.canLoadMore,usedFilter:this._currentFilter})}enrich(e){return e.map(e=>{if(e.optionContract)return e;let t=oi.parseFromSymbol(e.symbol);return t?{...e,optionContract:t}:(console.warn("Failed to parse OptionContract for symbol: ".concat(e.symbol)),{...e,optionContract:void 0})})}async refresh(e){this._generation+=1;let t=this._generation;if(this._currentFilter=e,this._cursor=null,0===e.expiryDates.length){this._list=[],this._isLoading=!1,this.notify();return}this._isLoading=!0,this.notify();try{let{list:r,cursor:n}=await this.provider.loadBetterBuyList(e,null);if(t!==this._generation)return;this._list=this.enrich(r),this._cursor=u7(n)}catch(e){if(t!==this._generation)return;console.error("Failed to refresh better buy list:",e),this._list=[],this._cursor=null}finally{t===this._generation&&(this._isLoading=!1,this.notify())}}async loadMore(){if(this._isLoading||null===this._cursor)return;let e=this._generation,t=this._cursor,r=this._currentFilter;this._isLoading=!0,this.notify();try{let{list:n,cursor:o}=await this.provider.loadBetterBuyList(r,t);if(e!==this._generation)return;this._list=[...this._list,...this.enrich(n)],this._cursor=u7(o)}catch(t){if(e!==this._generation)return;console.error("Failed to load more for better buy list:",t),this._cursor=null}finally{e===this._generation&&(this._isLoading=!1,this.notify())}}constructor(e,t){this._list=[],this._cursor=null,this._isLoading=!1,this._generation=0,this.provider=e,this._currentFilter=t,this.dataEmitter=new a$({list:[],isLoading:!1,canLoadMore:!1,usedFilter:t})}},lt=.3,lr=.45;function ln(e){let{now:t,lastRequestAt:r,window:n,leading:o}=e;if(!o)return n;let i=t-r;return i>=n?null:Math.min(n,Math.max(0,n-i))}var lo=(e=>(e.OnlyAvailable="OnlyAvailable",e.All="All",e))(lo||{}),li=(e=>
20(e[e.LatestPrice=1]="LatestPrice",e[e.ChangePercent=2]="ChangePercent",e[e.Volume=3]="Volume",e[e.LeverageRatio=4]="LeverageRatio",e[e.ChanceOfProfit=5]="ChanceOfProfit",e[e.StrikePrice=6]="StrikePrice",e[e.OpenIntrest=7]="OpenIntrest",e[e.Delta=8]="Delta",e[e.Gamma=9]="Gamma",e[e.Vega=10]="Vega",e[e.Rho=11]="Rho",e[e.IV=12]="IV",e[e.ProfitPoint=13]="ProfitPoint",e[e.ExpiryTime=14]="ExpiryTime",e))(li||{}),la=(e=>(e.Range="range",e.Exact="exact",e))(la||{}),ls=["week","oneMonth","threeMonth","sixMonth","oneYear","more"],lu=()=>ls.reduce((e,t)=>(e[t]=[],e),{}),ll=["oneMonth","week","threeMonth","sixMonth","oneYear","more"],ld=e=>Array.from(new Set(e)).sort((e,t)=>e-t),lc=e=>(null!=e?e:[]).map(e=>e.timeInterVal);function lp(e){for(let t of ll){let r=lc(e[t]);if(r.length>0)return ld(r)}return[]}function lh(e){return ld(ls.flatMap(t=>lc(e[t])))}var lf=.025,lm=1e-5,lg=e=>e.replace("OSUSS","OSUSL"),ly=e=>e.replace("OSUSL","OSUSS");function lb(e){var t,r,n;if(!Number.isFinite(e.contracts)||e.contracts<=0||!Number.isFinite(e.multiplier)||e.multiplier<=0)return{ok:!1,reason:"invalidQuantity"};if(e.bidPrice.lt(lf))return{ok:!1,reason:"priceTooLow"};let o={symbol:lg(e.symbol),instrument:2,orderType:1,price:e.bidPrice.toDecimalPlaces(4,u.W.ROUND_HALF_UP).toString(),currency:null!==(n=e.currency)&&void 0!==n?n:"USD",side:1,session:0,quantity:e.contracts*e.multiplier,source:e.market},i=Number(null===(t=e.copyTrading)||void 0===t?void 0:t.userId),a=Number(null===(r=e.copyTrading)||void 0===r?void 0:r.orderId);return Number.isInteger(i)&&Number.isInteger(a)&&(o.metadata={copyUserId:i,copyOrderId:a}),{ok:!0,value:o}}var lv=(e=>(e.ExistingLongPosition="existingLongPosition",e.ExistingPendingBuyOrder="existingPendingBuyOrder",e))(lv||{});function lS(e){return e.positionQuantity.gt(lm)?"existingLongPosition":e.unfilledBuyQuantity.abs().gt(lm)?"existingPendingBuyOrder":null}function l_(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return!!Number.isFinite(e)&&!(e<=0)&&t>=e}var lw={title:"better.buy.choice.betterBuyExpireAlert.title",message:"better.buy.choice.betterBuyExpireAlert.msg"};function lx(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();if(null==e||!Number.isFinite(e))return null;let r=e-t;if(r<=0)return null;let n=Math.floor(r/1e3),o=Math.floor(n/3600),i=Math.floor(n%3600/60),a=n%60,s=e=>e<10?"0".concat(e):"".concat(e);return"".concat(s(o),":").concat(s(i),":").concat(s(a))}var lT={atAnyTimeOfMarketHours:"com.orderMake.estimate.filled.atAnyTimeOfMarketHours",afterMarketOpens:"com.orderMake.estimate.filled.marketOpens",generalDesc:"com.fastTrade.expectedFillTime.generalDesc"},lE=e=>e.toLowerCase().startsWith("zh"),lP=(e,t,r)=>{let n=t<10?"".concat(t,"0"):"".concat(t);return lE(r)?e>=0&&e<6?"凌晨 0".concat(e,":").concat(n):e>=6&&e<9?"早上 0".concat(e,":").concat(n):e>=9&&e<12?9===e?"上午 0".concat(e,":").concat(n):"上午 ".concat(e,":").concat(n):e>=12&&e<14?"中午 ".concat(e-12,":").concat(n):e>=14&&e<18?"下午 ".concat(e-12,":").concat(n):"晚上 ".concat(e-12,":").concat(n):e>0&&e<=12?e>9?"".concat(e,":").concat(n," am"):"0".concat(e,":").concat(n," am"):"".concat(e-12,":").concat(n," pm")},lk=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate();function lD(e,t,r){if(null==e||!Number.isFinite(e)||e<=0)return null;let n=new Date(e),o=new Date(t),i=new Date(t+864e5),a=lP(n.getHours(),n.getMinutes(),r);return lk(n,o)?a:lk(n,i)?lE(r)?"明天".concat(a):"".concat(a," tomorrow"):"".concat(n.getMonth()+1,"月").concat(n.getDate(),"日").concat(a)}var lA=(e,t,r)=>{let n=e.replace("##",t),o=n.indexOf("**");if(o<0)return[{text:n,highlight:!1}];let i=n.slice(0,o),a=n.slice(o+2),s=[];return i&&s.push({text:"".concat(i," "),highlight:!1}),s.push({text:r,highlight:!0}),s.push({text:" ".concat(a),highlight:!1}),s},lO=(e,t)=>!!(e.preHoursStart&&e.preHoursEnd&&t>=e.preHoursStart&&t<e.preHoursEnd),lN=(e,t)=>!!(e.postHoursStart&&e.postHoursEnd&&t>=e.postHoursStart&&t<=e.postHoursEnd);function lC(e,t){var r,n,o,i;let{translator:a,now:s=Date.now()}=t,{t:u,language:l}=a,d=null!=l?l:"en-US";if(!e)return[];let c=t.marketName||e.marketName||e.market||"",p=()=>[{text:u(lT.generalDesc).replace("##",c),highlight:!1}],h=e=>{let t=lD(e,s,d);return t?lA(u(lT.afterMarketOpens),c,t):p()},f=e.today;return f&&f.isOpen?lO(f,s)?h(f.start):lN(f,s)?h(null===(n=e.next)||void 0===n?void 0:n.start):f.start&&f.end&&s>=f.start&&s<=f.end?[{text:u(lT.atAnyTimeOfMarketHours,{marketName:c}
20),highlight:!1}]:f.preHoursStart&&s<f.preHoursStart?h(f.start):(null===(o=e.next)||void 0===o?void 0:o.preHoursStart)&&s<e.next.preHoursStart?h(null===(i=e.next)||void 0===i?void 0:i.start):p():h(null===(r=e.next)||void 0===r?void 0:r.start)}var l$="option.betterBuys.filter.limit",lM=2,lI=2;function lL(e){if(null==e||""===e)return lM;let t=Number(e);return!Number.isFinite(t)||t<0||t>=100?lM:t}async function lR(e){try{let t=await e.getConfigValue(l$);return lL(t)}catch(e){return lM}}function lF(e,t){return!e||e.lte(0)?null:lB(e,new u.W(t))}function lB(e,t){return!e||e.lte(0)?null:e.mul(new u.W(100).minus(t)).div(100).toDecimalPlaces(lI)}function lU(e,t){if(!e||e.lte(0))return null;let r=new u.W(100).minus(t.div(e).mul(100));return r.lte(0)?new u.W(0):r.toDecimalPlaces(lI)}var lj=(e=>(e.CONSERVATIVE="CONSERVATIVE",e.BALANCED="BALANCED",e.AGGRESSIVE="AGGRESSIVE",e))(lj||{}),lV={CONSERVATIVE:"com.betterbuy.risklevel.conservative",BALANCED:"com.betterbuy.risklevel.balanced",AGGRESSIVE:"com.betterbuy.risklevel.aggressive"},lz=new u.W("0.01"),lH=new u.W("99.99"),lW=new u.W(10),lG=new u.W(50);function lq(e){if(!e)return null;let t=u.W.min(lH,u.W.max(lz,e.mul(100)));return t.lt(lW)?"CONSERVATIVE":t.lte(lG)?"BALANCED":"AGGRESSIVE"}function lY(e){let t=lq(e);return t?lV[t]:null}var lK=(e,t)=>{var r;return null!==(r=e[t])&&void 0!==r?r:[]},lZ=e=>Array.from(new Set(e)).sort((e,t)=>e-t);function lJ(e,t,r){let n=new Set(r);return lK(e,t).some(e=>n.has(e.timeInterVal))}function lX(e,t,r){let n=new Set(r);return lK(e,t).reduce((e,t)=>e+(n.has(t.timeInterVal)?1:0),0)}function lQ(e,t,r){let n=lK(e,t).map(e=>e.timeInterVal);if(lJ(e,t,r)){let e=new Set(n);return lZ(r.filter(t=>!e.has(t)))}return lZ([...r,...n])}function l0(e,t,r){let n=t=>lK(e,t).length>0,o=new Set(ls.filter(r=>lJ(e,r,t)));return(null==r?void 0:r.source)==="chip"&&n(r.bucket)&&o.add(r.bucket),0===o.size&&r&&n(r.bucket)&&o.add(r.bucket),ls.filter(e=>o.has(e))}function l1(e,t,r){let n=l0(e,t,r),o=new Set,i=[];return n.forEach(t=>{lK(e,t).forEach(e=>{o.has(e.timeInterVal)||(o.add(e.timeInterVal),i.push(e))})}),i.sort((e,t)=>e.timeInterVal-t.timeInterVal)}function l2(e,t){return ls.find(r=>lK(e,r).some(e=>e.timeInterVal===t))}function l3(e,t,r){var n,o;let i="boolean"==typeof r?r:null!==(n=null==r?void 0:r.numeric)&&void 0!==n&&n,a="object"==typeof r?r.translator:void 0,s=null!==(o=null==a?void 0:a.t)&&void 0!==o?o:e=>e===oa.today?"今天":e===oa.tomorrow?"明天":e,u=l4(e,t);return u<=0&&e<t?"0":i?String(u):0===u?s(oa.today):1===u?s(oa.tomorrow):String(u)}function l4(e,t){let r=864e5,n=new Date(t);n.setUTCHours(0,0,0,0);let o=new Date(e);o.setUTCHours(0,0,0,0);let i=Math.round((o.getTime()-n.getTime())/r);return i>0?i:0}var l5=new Intl.DateTimeFormat("en-US",{timeZone:"America/New_York",month:"2-digit",day:"2-digit"});function l9(e){return!Number.isFinite(e)||e<=0?"":l5.format(new Date(e))}var l8=new Intl.DateTimeFormat("en-CA",{timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit"}),l6=e=>l8.format(new Date(e)).slice(0,4);function l7(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),r=l9(e);return r?l6(e)===l6(t)?r:l8.format(new Date(e)).replace(/-/g,"/"):""}function de(e,t){let r=l9(e);return r?(null!=t?t:"").toLowerCase().startsWith("zh")?r.replace("/","-"):r:""}var dt={apy:"com.betterbuy.detail.apy1",expiryDate:"com.betterbuy.symobl.time.title",stockPrice:"betterBuy.trade.stockprice.title",expectToBuyAt:"better.buy.choice.buyPrice.title",apyExplainContent:"com.betterbuy.detail.apy.content",apyExplainFormula:"better.buy.detail.APYCalculationIntroduction"},dr=(e,t)=>{let{translator:r,now:n=Date.now()}=t,{t:o,language:i}=r,a=null!=i?i:"en-US",s=e.productDetail,u=s.currency,l=o(dt.apy),d={label:l,value:"+".concat(aM(e.apy.mul(100).toNumber(),{locale:a,minimumFractionDigits:2,maximumFractionDigits:2}),"%"),showInfoIcon:!0,explain:{title:l,message:o(dt.apyExplainContent)+o(dt.apyExplainFormula)},highlight:!0},c={label:o(dt.expiryDate),value:new Intl.DateTimeFormat(a,{month:"2-digit",day:"2-digit",timeZone:"America/New_York"}).format(s.expiryDate)+" ET"},p={label:o(dt.stockPrice),value:"".concat(aM(s.underlyingTradePrice.toNumber(),{locale:a,minimumFractionDigits:2,maximumFractionDigits:2})," ").concat(u)},h=null;if(s.underlyingTradePrice.isPositive()){let e=s.strikePrice.div(s.underlyingTradePrice).minus(1);e.isNegative()&&(h={text:"".concat(aM(e.abs().mul(100).toNumber(),{locale:a,minimumFractionDigits:2,maximumFractionDigits:2}),"%"),isPositive:!1})}return{apy:d,expirationDate:c,stockPrice:p,expectToBuyAt:{label:o(dt.expectToBuyAt),value:"".concat(aM(s.strikePrice.toNumber(),{locale:a,minimumFractionDigits:2,maximumFractionDigits:2})," ").concat(u),priceGap:h}}},dn={enterQuantity:"com.betterbuy.enter.quantity",maxBuy:"com.betterbuy.detail.max.buy",instantCashGain:"com.betterbuy.detail.instant.gains",exceedsMax:"com.betterbuy.exceed"},di=(e,t)=>{let{translator:r}=t,{t:n,language:o}=r,i=null!=o?o:"en-US",a=e.productDetail,s=n(dn.enterQuantity,{shares:a.multiplier}),u={label:n(dn.maxBuy),value:aM(e.maxBuy.toNumber(),{locale:i,useGrouping:!0,maximumFractionDigits:0})},l=null;if(e.shares.isZero()){let t=e.gainsForOneContract;l={label:n(dn.instantCashGain),value:"+".concat(aM(t.toNumber(),{locale:i,style:"currency",currency:a.currency,minimumFractionDigits:2,maximumFractionDigits:2}))}}return{placeholder:s,maxBuyText:u,instantGainsText:l,isExceedingMax:e.shares.gt(e.maxBuy),exceedsMaxErrorText:n(dn.exceedsMax)}},da={noDropScenarioLabel:"com.betterbuy.detail.no.drop",dropScenarioLabel:"com.betterbuy.detail.drop",noDropResultText:"com.betterbuy.detail.receive",dropResultText:"com.betterbuy.detail.receive.buy",subscriptionDescription:"better.buy.detail.explain.subscriptionMark1",noDropDescription:"better.buy.detail.explain.noDropMark2",noDropHighlight:"better.buy.detail.explain.noDropMark2Highlight",dropDescription:"better.buy.detail.explain.dropMark2",dropHighlight1:"better.buy.detail.explain.dropMark2Highlight",dropHighlight2:"better.buy.detail.explain.dropMark2Highlight1",currentPrice:"com.betterbuy.detail.current.price"},ds=(e,t)=>{let{translator:r}=t,{t:n,language:o}=r,i=null!=o?o:"en-US",{productDetail:a,scenario:s,shares:l}=e,d="noDrop"===s,c=aM(a.strikePrice.toNumber(),{locale:i,minimumFractionDigits:2,maximumFractionDigits:2}),p=l.isZero()?new u.W(1):l,h=p.mul(a.multiplier),f={label:n(da.noDropScenarioLabel,{price:c}),isSelected:d},m={label:n(da.dropScenarioLabel,{price:c}),isSelected:!d},g={text:n(da.noDropResultText,{income:aM(e.estimatedGains.toNumber(),{locale:i,minimumFractionDigits:2,maximumFractionDigits:2})}),show:d},y={text:n(da.dropResultText,{income:aM(e.estimatedGains.toNumber(),{locale:i,minimumFractionDigits:2,maximumFractionDigits:2}),shares:h.toString(),name:a.name}),show:!d},b=d?"ic_buy_top":"ic_buy_bottom",v=n(da.currentPrice,{price:aM(a.underlyingTradePrice.toNumber(),{locale:i,minimumFractionDigits:2,maximumFractionDigits:2})}),S=aM(e.apy.mul(100).toNumber(),{locale:i,minimumFractionDigits:2,maximumFractionDigits:2})+"%",_=l9(a.expiryDate),w=iZ(n(da.subscriptionDescription,{contracts:p.toString(),name:a.name,expireDate:_,strikePrice:c,yield:S}),[S]),x=[];if(d){let e=n(da.noDropHighlight,{price:c});x=iZ(n(da.noDropDescription,{name:a.name,price:c}),[e])}else{let e=n(da.dropHighlight1,{price:c}),t=n(da.dropHighlight2,{price:c});x=iZ(n(da.dropDescription,{name:a.name,price:c,shares:h.toString()}),[e,t])}return{noDropTab:f,dropTab:m,noDropResult:g,dropResult:y,imageName:b,currentPriceText:v,description1:w,description2:x}},du={confirm:"com.betterbuy.detail.confirm",deposit:"better.buy.goDeposit",lackAssetTips:"betterBuy.trade.lackAsset.tips",cashAccountMessage:"better.buy.account.alert.cash",countdownTitle:"better.buy.tradingTimeCountDownTitle"},dl=(e=>(e.CONFIRM="confirm",e.DEPOSIT="deposit",e))(dl||{}),dd=(e,t)=>{let r=t?e.indexOf(t):-1;if(r<0)return[{text:e,highlight:!1}];let n=[],o=e.slice(0,r),i=e.slice(r+t.length);return o&&n.push({text:o,highlight:!1}),n.push({text:t,highlight:!0}),i&&n.push({text:i,highlight:!1}),n},dc=(e,t)=>
20{let{translator:r,tradingPeriod:n,countdown:o}=t,{t:i,language:a="en-US"}=r,{productDetail:s}=e;if(e.hasSufficientFunds()){let t=e.isInputValid(),r="trading"!==n&&!!o,a=t&&!r,s=i(du.confirm);return t&&r&&(s=i(du.countdownTitle,{countDownStr:o})),{style:"confirm",isEnabled:a,title:s}}{var u;let t=(null===(u=e.assetInfo)||void 0===u?void 0:u.accountType)===2,r=aM(s.strikePrice.mul(s.multiplier).toNumber(),{locale:a,minimumFractionDigits:2,maximumFractionDigits:2}),n=t?i(du.lackAssetTips,{asset:r}):i(du.cashAccountMessage);return{style:"deposit",depositButtonTitle:i(du.deposit),insufficientFundsMessage:n,insufficientFundsParts:dd(n,r)}}},dp={title:"better.buy.confirm.texts.newTitle",contract:"better.buy.confirm.texts.contract",contracts:"better.buy.confirm.texts.contracts",sellDescription:"better.buy.confirm.texts.sellDescription",confirm:"com.fastTrade.confirm.confirmToBuy"},dh=(e,t)=>{let r=[{text:e,highlight:!1}];return t.forEach(e=>{let[t,n]=e,o=[];r.forEach(e=>{if(e.highlight||!e.text.includes(t)){o.push(e);return}let[r,...i]=e.text.split(t);r&&o.push({text:r,highlight:!1}),o.push({text:n,highlight:!0});let a=i.join(t);a&&o.push({text:a,highlight:!1})}),r=o}),r},df=(e,t)=>{var r;let{translator:n}=t,{t:o,language:i}=n,a=null!=i?i:"en-US",{productDetail:s,shares:u}=e,l=ly(s.symbol),d=oi.parseFromSymbol(l),c=d?oo.getProductName(d):s.name,p=u.toString(),h=u.gt(1)?dp.contracts:dp.contract,f=aM(s.strikePrice.toNumber(),{locale:a,minimumFractionDigits:2,maximumFractionDigits:2}),m=[...dh(o(dp.sellDescription),[["{{quantity}}",p],["{{name}}",null!==(r=s.underlyingSymbol)&&void 0!==r?r:s.name],["{{expireDate}}",de(s.expiryDate,a)],["{{strikePrice}}",f]]),...lC(t.tradingSession,{translator:n,marketName:t.marketName,now:t.now})];return{title:o(dp.title,{name:c}),contracts:{value:p,unit:o(h)},description:m,confirmText:o(dp.confirm),symbol:s.symbol,maker:e}},dm={existingLongPositionTitle:"better.buy.order.block.texts.existingLongPositionTitle",existingPendingBuyTitle:"better.buy.order.block.texts.existingPendingBuyTitle",positionMessage:"better.buy.order.block.texts.existingShortPositionMessage",pendingOrderMessage:"better.buy.order.block.texts.existingPendingSellMessage",closePositionAction:"better.buy.order.block.texts.closePositionAction",cancelOrderAction:"better.buy.order.block.texts.cancelOrderAction"},dg=(e,t,r)=>{let{t:n,language:o}=r.translator,i=null!=o?o:"en-US",a="existingLongPosition"===e,s=dm;return{title:n(a?s.existingLongPositionTitle:s.existingPendingBuyTitle),message:n(a?s.positionMessage:s.pendingOrderMessage,{quantity:String(t.contracts),expireDate:de(t.expiryDate,i),strikePrice:aM(t.strikePrice.toNumber(),{locale:i,minimumFractionDigits:2,maximumFractionDigits:2}),name:t.underlyingName}),actionText:n(a?s.closePositionAction:s.cancelOrderAction),destination:a?"bullBearPositions":"assetOrders"}},dy={timeTitle:"com.betterbuy.symobl.time.title",priceTitle:"com.betterbuy.symobl.price.title.new",believePrice:"com.betterbuy.symobl.believe.price.highlight"},db=e=>{let{translator:t,stock:r,allExpiryDates:n,filter:o,now:i=Date.now()}=e,{t:a,language:s}=t,u=null!=s?s:"en-US",l=r.name||o.symbol,d=aM(r.tradePrice.toNumber(),{locale:u,minimumFractionDigits:2,maximumFractionDigits:2}),c=aM(r.changePercent.mul(100).toNumber(),{locale:u,signDisplay:"always",minimumFractionDigits:2,maximumFractionDigits:2})+"%",p=r.changePercent.isPositive()||r.changePercent.isZero(),h=a(dy.believePrice)+" "+aM(o.toStrikePrice.toNumber(),{locale:u,minimumFractionDigits:2,maximumFractionDigits:2}),f=n.map(e=>{var r,n;return{label:l3(e,i,{translator:t}),value:e,isSelected:null!==(n=null===(r=o.expiryDates)||void 0===r?void 0:r.includes(e))&&void 0!==n&&n}});return{stockName:l,currentPrice:d,priceChangePercent:c,priceChangeIsPositive:p,strikePriceFilter:{label:a(dy.priceTitle),value:h},expiryDateFilter:{label:a(dy.timeTitle),options:f}}},dv={apy:"com.betterbuy.detail.apy1",tradeActionDesc:"com.betterbuy.list.trade.action.desc",tradeActionDescToday:"com.betterbuy.list.trade.action.desc.today",strikePrice:"com.betterbuy.symobl.price.title.new",currentPrice:"com.betterbuy.detail.current.price"},dS=(e,t)=>{let{translator:r,now:n=Date.now()}=t,{t:o,language:i}=r,a=null!=i?i:"en-US",s=l4(e.expiryDate,n),u=aM(e.strikePrice.toNumber(),{locale:a,maximumFractionDigits:2}),l=s<=0?o(dv.tradeActionDescToday,{strikePrice:u}):o(dv.tradeActionDesc,{strikePrice:u,day:String(s),dayUnit:o(1===s?oa.day:oa.days)}),d=l3(e.expiryDate,n,{translator:r}),c="".concat(aM(e.yield.mul(100).toNumber(),{locale:a,signDisplay:"exceptZero",minimumFractionDigits:2,maximumFractionDigits:2}),"%"),p="".concat(o(dv.apy)," ").concat(c),h="".concat(o(dv.strikePrice)," ").concat(aM(e.strikePrice.toNumber(),{locale:a,minimumFractionDigits:2,maximumFractionDigits:2})," ").concat(e.currency),f=o(dv.currentPrice,{price:aM(e.tradePrice.toNumber(),{locale:a,minimumFractionDigits:2,maximumFractionDigits:2})}),m=null;if(!e.tradePrice.isZero()&&e.tradePrice.isPositive()){let t=e.strikePrice.div(e.tradePrice).minus(1);t.isZero()||(m={text:"".concat(aM(t.mul(100).toNumber(),{locale:a,signDisplay:"always",minimumFractionDigits:2,maximumFractionDigits:2}),"%"),isPositive:t.isPositive()})}let g=lY(e.winRate);return{productName:l,expiryDate:d,expiryDateShort:l7(e.expiryDate,n),apy:p,apyValue:c,strikePrice:h,currentPrice:f,priceGap:m,riskLevel:g}},d_=new u.W(0),dw=.2;function dx(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:dw;if(new u.W(t).isZero())return d_;let i=u.W.max(new u.W(r),new u.W(t).mul(n));return new u.W(e).mul(new u.W(1).minus(o)).sub(i)}function dT(e,t,r,n,o,i){let a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:dw,s=dx(e,t,r,n,a);if(o<=0)return d_;let l=new u.W(i).mul(t);return l.isZero()?d_:s.div(l).mul(365).div(o)}var dE=class{setShares(e){this.shares=new u.W(e)}get maxBuy(){if(!this.assetInfo)return d_;let e=ab(this.assetInfo.maxAvailableFunds(this.productDetail.currency,1),{strikePrice:this.productDetail.strikePrice,underlyingPrice:this.productDetail.underlyingTradePrice,multiplier:this.productDetail.multiplier,underlyingMarginRate:this.underlyingMarginRate,optionPrice:this.productDetail.bidPrice},this.marginConfig);return new u.W(e)}get estimatedGains(){let e=this.shares.isZero()?new u.W(1):this.shares;return dx(e.mul(this.productDetail.tradePrice).mul(this.productDetail.multiplier),e.mul(this.productDetail.multiplier),this.productDetail.maxCommission,this.productDetail.commissionPerShare,this.commissionRatio)}get gainsForOneContract(){let e=this.productDetail.multiplier;return dx(this.productDetail.tradePrice.mul(e),e,this.productDetail.maxCommission,this.productDetail.commissionPerShare,this.commissionRatio)}get frozenFunds(){return(this.shares.isZero()?new u.W(1):this.shares).mul(this.productDetail.multiplier).mul(this.productDetail.strikePrice)}get apy(){if(this.shares.lte(1))return this.productDetail.yield;let e=l4(this.productDetail.expiryDate,this.now),t=this.shares.mul(this.productDetail.multiplier);return dT(this.shares.mul(this.productDetail.tradePrice).mul(this.productDetail.multiplier),t,this.productDetail.maxCommission,this.productDetail.commissionPerShare,e,this.productDetail.strikePrice,this.commissionRatio)}isInputValid(){return this.shares.gt(0)&&this.shares.isInteger()&&this.shares.lessThanOrEqualTo(this.maxBuy)}hasSufficientFunds(){return this.maxBuy.gt(0)}constructor(e){var t,r,n,o;this.shares=new u.W(0),this.scenario="noDrop",this.productDetail=e.productDetail,this.assetInfo=e.assetInfo,this.commissionRatio=new u.W(null!==(t=e.commissionRatio)&&void 0!==t?t:dw),this.underlyingMarginRate=new u.W(null!==(r=e.underlyingMarginRate)&&void 0!==r?r:iJ),this.marginConfig=null!==(n=e.marginConfig)&&void 0!==n?n:ah,this.now=null!==(o=e.now)&&void 0!==o?o:Date.now()}}},13773:(e,t,r)=>{"use strict";r.d(t,{BE:()=>J,Es:()=>N,Ht:()=>eu,PP:()=>G,Tk:()=>q,Tn:()=>u,X3:()=>A,ZH:()=>i,aw:()=>es,b0:()=>s,bZ:()=>f,bu:()=>U,dO:()=>D,iX:()=>er,lK:()=>M,lg:()=>L,mF:()=>j,mf:()=>O,qm:()=>ei,qv:()=>a,r9:()=>_,rL:()=>l,sb:()=>Y,vO:()=>ea}
20);var n=r(44349);let o=()=>{},i=o(),a=Object,s=e=>e===i,u=e=>"function"==typeof e,l=(e,t)=>({...e,...t}),d=e=>u(e.then),c=new WeakMap,p=0,h=e=>{let t,r;let n=typeof e,o=e&&e.constructor,i=o==Date;if(a(e)!==e||i||o==RegExp)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=c.get(e))return t;if(t=++p+"~",c.set(e,t),o==Array){for(r=0,t="@";r<e.length;r++)t+=h(e[r])+",";c.set(e,t)}if(o==a){t="#";let n=a.keys(e).sort();for(;!s(r=n.pop());)s(e[r])||(t+=r+":"+h(e[r])+",");c.set(e,t)}}return t},f=new WeakMap,m={},g={},y="undefined",b=typeof window!=y,v=typeof document!=y,S=()=>b&&typeof window.requestAnimationFrame!=y,_=(e,t)=>{let r=f.get(e);return[()=>!s(t)&&e.get(t)||m,n=>{if(!s(t)){let o=e.get(t);t in g||(g[t]=o),r[5](t,l(o,n),o||m)}},r[6],()=>!s(t)&&t in g?g[t]:!s(t)&&e.get(t)||m]},w=!0,x=()=>w,[T,E]=b&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],P={isOnline:x,isVisible:()=>{let e=v&&document.visibilityState;return s(e)||"hidden"!==e}},k={initFocus:e=>(v&&document.addEventListener("visibilitychange",e),T("focus",e),()=>{v&&document.removeEventListener("visibilitychange",e),E("focus",e)}),initReconnect:e=>{let t=()=>{w=!0,e()},r=()=>{w=!1};return T("online",t),T("offline",r),()=>{E("online",t),E("offline",r)}}},D=!n.useId,A=!b||"Deno"in window,O=e=>S()?window.requestAnimationFrame(e):setTimeout(e,1),N=A?n.useEffect:n.useLayoutEffect,C="undefined"!=typeof navigator&&navigator.connection,$=!A&&C&&(["slow-2g","2g"].includes(C.effectiveType)||C.saveData),M=e=>{if(u(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?h(e):"",t]},I=0,L=()=>++I,R=0,F=1,B=2;var U={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function j(...e){let[t,r,n,o]=e,a=l({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{}),c=a.populateCache,p=a.rollbackOnError,h=a.optimisticData,m=!1!==a.revalidate,g=e=>"function"==typeof p?p(e):!1!==p,y=a.throwOnError;if(u(r)){let e=r,n=[];for(let r of t.keys())!/^\$(inf|sub)\$/.test(r)&&e(t.get(r)._k)&&n.push(r);return Promise.all(n.map(b))}return b(r);async function b(r){let o;let[a]=M(r);if(!a)return;let[l,p]=_(t,a),[b,v,S,w]=f.get(t),x=b[a],T=()=>m&&(delete S[a],delete w[a],x&&x[0])?x[0](B).then(()=>l().data):l().data;if(e.length<3)return T();let E=n,P=L();v[a]=[P,0];let k=!s(h),D=l(),A=D.data,O=D._c,N=s(O)?A:O;if(k&&p({data:h=u(h)?h(N,A):h,_c:N}),u(E))try{E=E(N)}catch(e){o=e}if(E&&d(E)){if(E=await E.catch(e=>{o=e}),P!==v[a][0]){if(o)throw o;return E}o&&k&&g(o)&&(c=!0,p({data:E=N,_c:i}))}
20c&&!o&&(u(c)&&(E=c(E,N)),p({data:E,error:i,_c:i})),v[a][1]=L();let C=await T();if(p({_c:i}),o){if(y)throw o;return}return c?C:E}}let V=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},z=(e,t)=>{if(!f.has(e)){let r=l(k,t),n={},a=j.bind(i,e),s=o,u={},d=(e,t)=>{let r=u[e]||[];return u[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},c=(t,r,n)=>{e.set(t,r);let o=u[t];if(o)for(let e of o)e(r,n)},p=()=>{if(!f.has(e)&&(f.set(e,[n,{},{},{},a,c,d]),!A)){let t=r.initFocus(setTimeout.bind(i,V.bind(i,n,R))),o=r.initReconnect(setTimeout.bind(i,V.bind(i,n,F)));s=()=>{t&&t(),o&&o(),f.delete(e)}}};return p(),[e,a,p,s]}return[e,f.get(e)[4]]},H=(e,t,r,n,o)=>{let i=r.errorRetryCount,a=o.retryCount,u=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;(s(i)||!(a>i))&&setTimeout(n,u,o)},W=(e,t)=>h(e)==h(t),[G,q]=z(new Map),Y=l({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:H,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:$?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:$?5e3:3e3,compare:W,isPaused:()=>!1,cache:G,mutate:q,fallback:{}},P),K=(e,t)=>{let r=l(e,t);if(t){let{use:n,fallback:o}=e,{use:i,fallback:a}=t;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=l(o,a))}return r},Z=(0,n.createContext)({}),J=e=>{let{value:t}=e,r=(0,n.useContext)(Z),o=u(t),a=(0,n.useMemo)(()=>o?t(r):t,[o,r,t]),s=(0,n.useMemo)(()=>o?a:K(r,a),[o,r,a]),d=a&&a.provider,c=(0,n.useRef)(i);d&&!c.current&&(c.current=z(d(s.cache||G),a));let p=c.current;return p&&(s.cache=p[0],s.mutate=p[1]),N(()=>{if(p)return p[2]&&p[2](),p[3]},[]),(0,n.createElement)(Z.Provider,l(e,{value:s}))},X=b&&window.__SWR_DEVTOOLS_USE__,Q=X?window.__SWR_DEVTOOLS_USE__:[],ee=()=>{X&&(window.__SWR_DEVTOOLS_REACT__=n)},et=e=>u(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],er=()=>l(Y,(0,n.useContext)(Z)),en=e=>(t,r,n)=>{let o=r&&((...e)=>{let[n]=M(t),[,,,o]=f.get(G),i=o[n];return s(i)?r(...e):(delete o[n],i)});return e(t,o,n)},eo=Q.concat(en),ei=e=>function(...t){let r=er(),[n,o,i]=et(t),a=K(r,i),s=e,{use:u}=a,l=(u||[]).concat(eo);for(let e=l.length;e--;)s=l[e](s);return s(n,o||a.fetcher||null,a)},ea=e=>{let t=(0,n.useState)({})[1],r=(0,n.useRef)(!1),o=(0,n.useRef)(e),i=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,n.useCallback)(e=>{let a=!1,s=o.current;for(let t in e){let r=t;s[r]!==e[r]&&(s[r]=e[r],i.current[r]&&(a=!0))}a&&!r.current&&(D?t({}):n.startTransition(()=>t({})))},[t]);return N(()=>(r.current=!1,()=>{r.current=!0})),[o,i.current,a]},es=(e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},eu=(e,t)=>(...r)=>{let[n,o,i]=et(r),a=(i.use||[]).concat(t);return e(n,o,{...i,use:a})};ee()},71632:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l,Tk:()=>i.Tk,iX:()=>i.iX});var n=r(44349),o=r(91364),i=r(13773);let a=n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),s={dedupe:!0},u=(e,t,r)=>{let{cache:u,compare:l,suspense:d,fallbackData:c,revalidateOnMount:p,revalidateIfStale:h,refreshInterval:f,refreshWhenHidden:m,refreshWhenOffline:g,keepPreviousData:y}=r,[b,v,S,_]=i.bZ.get(u),[w,x]=(0,i.lK)(e),T=(0,n.useRef)(!1),E=(0,n.useRef)(!1),P=(0,n.useRef)(w),k=(0,n.useRef)(t),D=(0,n.useRef)(r),A=()=>D.current,O=()=>A().isVisible()&&A().isOnline(),[N,C,$,M]=(0,i.r9)(u,w),I=(0,n.useRef)({}).current,L=(0,i.b0)(c)?r.fallback[w]:c,R=(e,t)=>{for(let r in I){let n=r;if("data"===n){if(!l(e[n],t[n])&&(!(0,i.b0)(e[n])||!l(G,t[n])))return!1}else if(t[n]!==e[n])return!1}return!0},F=(0,n.useMemo)(()=>{let e=!!w&&!!t&&((0,i.b0)(p)?!A().isPaused()&&!d&&(!!(0,i.b0)(h)||h):p),r=t=>{let r=(0,i.rL)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=N(),o=M(),a=r(n),s=n===o?a:r(o),u=a;return[()=>{let e=r(N());return R(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>s]},[u,w]),B=(0,o.useSyncExternalStore)((0,n.useCallback)(e=>$(w,(t,r)=>{R(r,t)||e()}),[u,w]),F[0],F[1]),U=!T.current,j=b[w]&&b[w].length>0,V=B.data,z=(0,i.b0)(V)?L:V,H=B.error,W=(0,n.useRef)(z),G=y?(0,i.b0)(V)?W.current:V:z,q=(!j||!!(0,i.b0)(H))&&(U&&!(0,i.b0)(p)?p:!A().isPaused()&&(d?!(0,i.b0)(z)&&h:(0,i.b0)(z)||h)),Y=!!(w&&t&&U&&q),K=(0,i.b0)(B.isValidating)?Y:B.isValidating,Z=(0,i.b0)(B.isLoading)?Y:B.isLoading,J=(0,n.useCallback)(async e=>{let t,n;let o=k.current;if(!w||!o||E.current||A().isPaused())return!1;let a=!0,s=e||{},u=!S[w]||!s.dedupe,d=()=>i.dO?!E.current&&w===P.current&&T.current:w===P.current,c={isValidating:!1,isLoading:!1},p=()=>{C(c)},h=()=>{let e=S[w];e&&e[1]===n&&delete S[w]},f={isValidating:!0};(0,i.b0)(N().data)&&(f.isLoading=!0);try{if(u&&(C(f),r.loadingTimeout&&(0,i.b0)(N().data)&&setTimeout(()=>{a&&d()&&A().onLoadingSlow(w,r)},r.loadingTimeout),S[w]=[o(x),(0,i.lg)()]),[t,n]=S[w],t=await t,u&&setTimeout(h,r.dedupingInterval),!S[w]||S[w][1]!==n)return u&&d()&&A().onDiscarded(w),!1;c.error=i.ZH;let e=v[w];if(!(0,i.b0)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return p(),u&&d()&&A().onDiscarded(w),!1;let s=N().data;c.data=l(s,t)?s:t,u&&d()&&A().onSuccess(t,w,r)}catch(r){h();let e=A(),{shouldRetryOnError:t}=e;!e.isPaused()&&(c.error=r,u&&d()&&(e.onError(r,w,e),(!0===t||(0,i.Tn)(t)&&t(r))&&O()&&e.onErrorRetry(r,w,e,e=>{let t=b[w];t&&t[0]&&t[0](i.bu.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return a=!1,p(),!0},[w,u]),X=(0,n.useCallback)((...e)=>(0,i.mF)(u,P.current,...e),[]);if((0,i.Es)(()=>{k.current=t,D.current=r,(0,i.b0)(V)||(W.current=V)}),(0,i.Es)(()=>
20{if(!w)return;let e=J.bind(i.ZH,s),t=0,r=(r,n={})=>{if(r==i.bu.FOCUS_EVENT){let r=Date.now();A().revalidateOnFocus&&r>t&&O()&&(t=r+A().focusThrottleInterval,e())}else if(r==i.bu.RECONNECT_EVENT)A().revalidateOnReconnect&&O()&&e();else if(r==i.bu.MUTATE_EVENT)return J();else if(r==i.bu.ERROR_REVALIDATE_EVENT)return J(n)},n=(0,i.aw)(w,b,r);return E.current=!1,P.current=w,T.current=!0,C({_k:x}),q&&((0,i.b0)(z)||i.X3?e():(0,i.mf)(e)),()=>{E.current=!0,n()}},[w]),(0,i.Es)(()=>{let e;function t(){let t=(0,i.Tn)(f)?f(N().data):f;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!N().error&&(m||A().isVisible())&&(g||A().isOnline())?J(s).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[f,m,g,w]),(0,n.useDebugValue)(G),d&&(0,i.b0)(z)&&w){if(!i.dO&&i.X3)throw Error("Fallback data is required when using suspense in SSR.");k.current=t,D.current=r,E.current=!1;let e=_[w];if((0,i.b0)(e)||a(X(e)),(0,i.b0)(H)){let e=J(s);(0,i.b0)(G)||(e.status="fulfilled",e.value=!0),a(e)}else throw H}return{mutate:X,get data(){return I.data=!0,G},get error(){return I.error=!0,H},get isValidating(){return I.isValidating=!0,K},get isLoading(){return I.isLoading=!0,Z}}};i.qv.defineProperty(i.BE,"defaultValue",{value:i.sb});let l=(0,i.qm)(u)},33793:(e,t,r)=>{"use strict";r.d(t,{v:()=>l});var n=r(44349);let o=e=>{let t;let r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,i={setState:n,getState:o,getInitialState:()=>a,subscribe:e=>(r.add(e),()=>r.delete(e))},a=t=e(n,o,i);return i},i=e=>e?o(e):o,a=e=>e;function s(e,t=a){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r}let u=e=>{let t=i(e),r=e=>s(t,e);return Object.assign(r,t),r},l=e=>e?u(e):u}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(94601),t(27294),t(54328))),_N_E=e.O()}]);

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.