@reltio/remotes 1.4.1738 → 1.4.1739
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/1088.js +1 -1
- package/1088.js.map +1 -1
- package/1148.js +1 -1
- package/1215.js +1 -1
- package/1334.js +1 -1
- package/1425.js +1 -1
- package/1664.js +1 -1
- package/1707.js +1 -1
- package/1840.js +1 -1
- package/2066.js +1 -1
- package/2400.js +1 -1
- package/2617.js +1 -1
- package/2825.js +1 -1
- package/2857.js +1 -1
- package/3004.js +1 -1
- package/3042.js +1 -1
- package/3044.js +1 -1
- package/3096.js +1 -1
- package/3104.js +1 -1
- package/3144.js +1 -1
- package/3191.js +1 -1
- package/3292.js +1 -1
- package/3348.js +1 -1
- package/3381.js +1 -1
- package/3383.js +1 -1
- package/3463.js +1 -1
- package/3469.js +1 -1
- package/3538.js +1 -1
- package/3639.js +1 -1
- package/393.js +1 -1
- package/4038.js +3 -3
- package/415.js +1 -1
- package/4212.js +1 -1
- package/4265.js +1 -1
- package/4390.js +1 -1
- package/4444.js +1 -1
- package/4481.js +1 -1
- package/4780.js +1 -1
- package/4780.js.map +1 -1
- package/4787.js +1 -1
- package/4838.js +1 -1
- package/4969.js +1 -1
- package/50.js +1 -1
- package/5177.js +1 -1
- package/5201.js +1 -1
- package/5201.js.map +1 -1
- package/5292.js +1 -1
- package/5368.js +1 -1
- package/5368.js.map +1 -1
- package/5383.js +1 -1
- package/5738.js +1 -1
- package/5769.js +1 -1
- package/6012.js +1 -1
- package/62.js +1 -1
- package/62.js.map +1 -1
- package/6287.js +1 -1
- package/6422.js +1 -1
- package/6506.js +1 -1
- package/6578.js +1 -1
- package/658.js +1 -1
- package/6799.js +1 -1
- package/6807.js +1 -1
- package/6844.js +1 -1
- package/6903.js +1 -1
- package/7074.js +1 -1
- package/7074.js.map +1 -1
- package/7119.js +1 -1
- package/7237.js +1 -1
- package/7340.js +1 -1
- package/735.js +1 -1
- package/7401.js +1 -1
- package/7401.js.map +1 -1
- package/7407.js +1 -1
- package/7422.js +1 -1
- package/7468.js +1 -1
- package/7626.js +1 -1
- package/7744.js +1 -1
- package/7744.js.map +1 -1
- package/7896.js +1 -1
- package/8118.js +1 -1
- package/820.js +1 -1
- package/8207.js +1 -1
- package/8216.js +1 -1
- package/8741.js +1 -1
- package/8786.js +1 -1
- package/9016.js +1 -1
- package/9032.js +1 -1
- package/9050.js +1 -1
- package/913.js +1 -1
- package/9283.js +1 -1
- package/9328.js +1 -1
- package/9387.js +1 -1
- package/9719.js +1 -1
- package/main.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
package/1215.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d4b28bad-9957-4537-b8ba-d851e4605db2",e._sentryDebugIdIdentifier="sentry-dbid-d4b28bad-9957-4537-b8ba-d851e4605db2")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"121550dce3f1ac9a94fd0e1c5555f31959d8a0cc"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[1215],{3954:(e,n,r)=>{"use strict";var t=r(71600);n.Z=void 0;var i=t(r(68671)),o=r(52322),s=(0,i.default)((0,o.jsx)("path",{d:"M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z"}),"Tune");n.Z=s},52180:function(e,n,r){var t;!function(i){"use strict";var o,s,u,c=9e15,a=1e9,d="0123456789abcdef",f="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",l="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",h={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-c,maxE:c,crypto:!1},p=!0,g="[DecimalError] ",v=g+"Invalid argument: ",m=g+"Precision limit exceeded",w=g+"crypto unavailable",y=Math.floor,M=Math.pow,N=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,b=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,_=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,E=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,x=1e7,R=f.length-1,O=l.length-1,C={name:"[object Decimal]"};function A(e){var n,r,t,i=e.length-1,o="",s=e[0];if(i>0){for(o+=s,n=1;n<i;n++)(r=7-(t=e[n]+"").length)&&(o+=Z(r)),o+=t;(r=7-(t=(s=e[n])+"").length)&&(o+=Z(r))}else if(0===s)return"0";for(;s%10==0;)s/=10;return o+s}function I(e,n,r){if(e!==~~e||e<n||e>r)throw Error(v+e)}function D(e,n,r,t){var i,o,s,u;for(o=e[0];o>=10;o/=10)--n;return--n<0?(n+=7,i=0):(i=Math.ceil((n+1)/7),n%=7),o=M(10,7-n),u=e[i]%o|0,null==t?n<3?(0==n?u=u/100|0:1==n&&(u=u/10|0),s=r<4&&99999==u||r>3&&49999==u||5e4==u||0==u):s=(r<4&&u+1==o||r>3&&u+1==o/2)&&(e[i+1]/o/100|0)==M(10,n-2)-1||(u==o/2||0==u)&&0==(e[i+1]/o/100|0):n<4?(0==n?u=u/1e3|0:1==n?u=u/100|0:2==n&&(u=u/10|0),s=(t||r<4)&&9999==u||!t&&r>3&&4999==u):s=((t||r<4)&&u+1==o||!t&&r>3&&u+1==o/2)&&(e[i+1]/o/1e3|0)==M(10,n-3)-1,s}function j(e,n,r){for(var t,i,o=[0],s=0,u=e.length;s<u;){for(i=o.length;i--;)o[i]*=n;for(o[0]+=d.indexOf(e.charAt(s++)),t=0;t<o.length;t++)o[t]>r-1&&(void 0===o[t+1]&&(o[t+1]=0),o[t+1]+=o[t]/r|0,o[t]%=r)}return o.reverse()}C.absoluteValue=C.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),q(e)},C.ceil=function(){return q(new this.constructor(this),this.e+1,2)},C.comparedTo=C.cmp=function(e){var n,r,t,i,o=this,s=o.d,u=(e=new o.constructor(e)).d,c=o.s,a=e.s;if(!s||!u)return c&&a?c!==a?c:s===u?0:!s^c<0?1:-1:NaN;if(!s[0]||!u[0])return s[0]?c:u[0]?-a:0;if(c!==a)return c;if(o.e!==e.e)return o.e>e.e^c<0?1:-1;for(n=0,r=(t=s.length)<(i=u.length)?t:i;n<r;++n)if(s[n]!==u[n])return s[n]>u[n]^c<0?1:-1;return t===i?0:t>i^c<0?1:-1},C.cosine=C.cos=function(){var e,n,r=this,t=r.constructor;return r.d?r.d[0]?(e=t.precision,n=t.rounding,t.precision=e+Math.max(r.e,r.sd())+7,t.rounding=1,r=function(e,n){var r,t,i=n.d.length;i<32?t=(1/G(4,r=Math.ceil(i/3))).toString():(r=16,t="2.3283064365386962890625e-10"),e.precision+=r,n=Y(e,1,n.times(t),new e(1));for(var o=r;o--;){var s=n.times(n);n=s.times(s).minus(s).times(8).plus(1)}return e.precision-=r,n}(t,K(t,r)),t.precision=e,t.rounding=n,q(2==u||3==u?r.neg():r,e,n,!0)):new t(1):new t(NaN)},C.cubeRoot=C.cbrt=function(){var e,n,r,t,i,o,s,u,c,a,d=this,f=d.constructor;if(!d.isFinite()||d.isZero())return new f(d);for(p=!1,(o=d.s*M(d.s*d,1/3))&&Math.abs(o)!=1/0?t=new f(o.toString()):(r=A(d.d),(o=((e=d.e)-r.length+1)%3)&&(r+=1==o||-2==o?"0":"00"),o=M(r,1/3),e=y((e+1)/3)-(e%3==(e<0?-1:2)),(t=new f(r=o==1/0?"5e"+e:(r=o.toExponential()).slice(0,r.indexOf("e")+1)+e)).s=d.s),s=(e=f.precision)+3;;)if(a=(c=(u=t).times(u).times(u)).plus(d),t=F(a.plus(d).times(u),a.plus(c),s+2,1),A(u.d).slice(0,s)===(r=A(t.d)).slice(0,s)){if("9999"!=(r=r.slice(s-3,s+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(q(t,e+1,1),n=!t.times(t).times(t).eq(d));break}if(!i&&(q(u,e+1,0),u.times(u).times(u).eq(d))){t=u;break}s+=4,i=1}return p=!0,q(t,e,f.rounding,n)},C.decimalPlaces=C.dp=function(){var e,n=this.d,r=NaN;if(n){if(r=7*((e=n.length-1)-y(this.e/7)),e=n[e])for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r},C.dividedBy=C.div=function(e){return F(this,new this.constructor(e))},C.dividedToIntegerBy=C.divToInt=function(e){var n=this.constructor;return q(F(this,new n(e),0,1,1),n.precision,n.rounding)},C.equals=C.eq=function(e){return 0===this.cmp(e)},C.floor=function(){return q(new this.constructor(this),this.e+1,3)},C.greaterThan=C.gt=function(e){return this.cmp(e)>0},C.greaterThanOrEqualTo=C.gte=function(e){var n=this.cmp(e);return 1==n||0===n},C.hyperbolicCosine=C.cosh=function(){var e,n,r,t,i,o=this,s=o.constructor,u=new s(1);if(!o.isFinite())return new s(o.s?1/0:NaN);if(o.isZero())return u;r=s.precision,t=s.rounding,s.precision=r+Math.max(o.e,o.sd())+4,s.rounding=1,(i=o.d.length)<32?n=(1/G(4,e=Math.ceil(i/3))).toString():(e=16,n="2.3283064365386962890625e-10"),o=Y(s,1,o.times(n),new s(1),!0);for(var c,a=e,d=new s(8);a--;)c=o.times(o),o=u.minus(c.times(d.minus(c.times(d))));return q(o,s.precision=r,s.rounding=t,!0)},C.hyperbolicSine=C.sinh=function(){var e,n,r,t,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(n=o.precision,r=o.rounding,o.precision=n+Math.max(i.e,i.sd())+4,o.rounding=1,(t=i.d.length)<3)i=Y(o,2,i,i,!0);else{e=(e=1.4*Math.sqrt(t))>16?16:0|e,i=Y(o,2,i=i.times(1/G(5,e)),i,!0);for(var s,u=new o(5),c=new o(16),a=new o(20);e--;)s=i.times(i),i=i.times(u.plus(s.times(c.times(s).plus(a))))}return o.precision=n,o.rounding=r,q(i,n,r,!0)},C.hyperbolicTangent=C.tanh=function(){var e,n,r=this,t=r.constructor;return r.isFinite()?r.isZero()?new t(r):(e=t.precision,n=t.rounding,t.precision=e+7,t.rounding=1,F(r.sinh(),r.cosh(),t.precision=e,t.rounding=n)):new t(r.s)},C.inverseCosine=C.acos=function(){var e,n=this,r=n.constructor,t=n.abs().cmp(1),i=r.precision,o=r.rounding;return-1!==t?0===t?n.isNeg()?T(r,i,o):new r(0):new r(NaN):n.isZero()?T(r,i+4,o).times(.5):(r.precision=i+6,r.rounding=1,n=n.asin(),e=T(r,i+4,o).times(.5),r.precision=i,r.rounding=o,e.minus(n))},C.inverseHyperbolicCosine=C.acosh=function(){var e,n,r=this,t=r.constructor;return r.lte(1)?new t(r.eq(1)?0:NaN):r.isFinite()?(e=t.precision,n=t.rounding,t.precision=e+Math.max(Math.abs(r.e),r.sd())+4,t.rounding=1,p=!1,r=r.times(r).minus(1).sqrt().plus(r),p=!0,t.precision=e,t.rounding=n,r.ln()):new t(r)},C.inverseHyperbolicSine=C.asinh=function(){var e,n,r=this,t=r.constructor;return!r.isFinite()||r.isZero()?new t(r):(e=t.precision,n=t.rounding,t.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,t.rounding=1,p=!1,r=r.times(r).plus(1).sqrt().plus(r),p=!0,t.precision=e,t.rounding=n,r.ln())},C.inverseHyperbolicTangent=C.atanh=function(){var e,n,r,t,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,n=o.rounding,t=i.sd(),Math.max(t,e)<2*-i.e-1?q(new o(i),e,n,!0):(o.precision=r=t-i.e,i=F(i.plus(1),new o(1).minus(i),r+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=n,i.times(.5))):new o(NaN)},C.inverseSine=C.asin=function(){var e,n,r,t,i=this,o=i.constructor;return i.isZero()?new o(i):(n=i.abs().cmp(1),r=o.precision,t=o.rounding,-1!==n?0===n?((e=T(o,r+4,t).times(.5)).s=i.s,e):new o(NaN):(o.precision=r+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=r,o.rounding=t,i.times(2)))},C.inverseTangent=C.atan=function(){var e,n,r,t,i,o,s,u,c,a=this,d=a.constructor,f=d.precision,l=d.rounding;if(a.isFinite()){if(a.isZero())return new d(a);if(a.abs().eq(1)&&f+4<=O)return(s=T(d,f+4,l).times(.25)).s=a.s,s}else{if(!a.s)return new d(NaN);if(f+4<=O)return(s=T(d,f+4,l).times(.5)).s=a.s,s}for(d.precision=u=f+10,d.rounding=1,e=r=Math.min(28,u/7+2|0);e;--e)a=a.div(a.times(a).plus(1).sqrt().plus(1));for(p=!1,n=Math.ceil(u/7),t=1,c=a.times(a),s=new d(a),i=a;-1!==e;)if(i=i.times(c),o=s.minus(i.div(t+=2)),i=i.times(c),void 0!==(s=o.plus(i.div(t+=2))).d[n])for(e=n;s.d[e]===o.d[e]&&e--;);return r&&(s=s.times(2<<r-1)),p=!0,q(s,d.precision=f,d.rounding=l,!0)},C.isFinite=function(){return!!this.d},C.isInteger=C.isInt=function(){return!!this.d&&y(this.e/7)>this.d.length-2},C.isNaN=function(){return!this.s},C.isNegative=C.isNeg=function(){return this.s<0},C.isPositive=C.isPos=function(){return this.s>0},C.isZero=function(){return!!this.d&&0===this.d[0]},C.lessThan=C.lt=function(e){return this.cmp(e)<0},C.lessThanOrEqualTo=C.lte=function(e){return this.cmp(e)<1},C.logarithm=C.log=function(e){var n,r,t,i,o,s,u,c,a=this,d=a.constructor,f=d.precision,l=d.rounding;if(null==e)e=new d(10),n=!0;else{if(r=(e=new d(e)).d,e.s<0||!r||!r[0]||e.eq(1))return new d(NaN);n=e.eq(10)}if(r=a.d,a.s<0||!r||!r[0]||a.eq(1))return new d(r&&!r[0]?-1/0:1!=a.s?NaN:r?0:1/0);if(n)if(r.length>1)o=!0;else{for(i=r[0];i%10==0;)i/=10;o=1!==i}if(p=!1,s=B(a,u=f+5),t=n?P(d,u+10):B(e,u),D((c=F(s,t,u,1)).d,i=f,l))do{if(s=B(a,u+=10),t=n?P(d,u+10):B(e,u),c=F(s,t,u,1),!o){+A(c.d).slice(i+1,i+15)+1==1e14&&(c=q(c,f+1,0));break}}while(D(c.d,i+=10,l));return p=!0,q(c,f,l)},C.minus=C.sub=function(e){var n,r,t,i,o,s,u,c,a,d,f,l,h=this,g=h.constructor;if(e=new g(e),!h.d||!e.d)return h.s&&e.s?h.d?e.s=-e.s:e=new g(e.d||h.s!==e.s?h:NaN):e=new g(NaN),e;if(h.s!=e.s)return e.s=-e.s,h.plus(e);if(a=h.d,l=e.d,u=g.precision,c=g.rounding,!a[0]||!l[0]){if(l[0])e.s=-e.s;else{if(!a[0])return new g(3===c?-0:0);e=new g(h)}return p?q(e,u,c):e}if(r=y(e.e/7),d=y(h.e/7),a=a.slice(),o=d-r){for((f=o<0)?(n=a,o=-o,s=l.length):(n=l,r=d,s=a.length),o>(t=Math.max(Math.ceil(u/7),s)+2)&&(o=t,n.length=1),n.reverse(),t=o;t--;)n.push(0);n.reverse()}else{for((f=(t=a.length)<(s=l.length))&&(s=t),t=0;t<s;t++)if(a[t]!=l[t]){f=a[t]<l[t];break}o=0}for(f&&(n=a,a=l,l=n,e.s=-e.s),s=a.length,t=l.length-s;t>0;--t)a[s++]=0;for(t=l.length;t>o;){if(a[--t]<l[t]){for(i=t;i&&0===a[--i];)a[i]=x-1;--a[i],a[t]+=x}a[t]-=l[t]}for(;0===a[--s];)a.pop();for(;0===a[0];a.shift())--r;return a[0]?(e.d=a,e.e=S(a,r),p?q(e,u,c):e):new g(3===c?-0:0)},C.modulo=C.mod=function(e){var n,r=this,t=r.constructor;return e=new t(e),!r.d||!e.s||e.d&&!e.d[0]?new t(NaN):!e.d||r.d&&!r.d[0]?q(new t(r),t.precision,t.rounding):(p=!1,9==t.modulo?(n=F(r,e.abs(),0,3,1)).s*=e.s:n=F(r,e,0,t.modulo,1),n=n.times(e),p=!0,r.minus(n))},C.naturalExponential=C.exp=function(){return z(this)},C.naturalLogarithm=C.ln=function(){return B(this)},C.negated=C.neg=function(){var e=new this.constructor(this);return e.s=-e.s,q(e)},C.plus=C.add=function(e){var n,r,t,i,o,s,u,c,a,d,f=this,l=f.constructor;if(e=new l(e),!f.d||!e.d)return f.s&&e.s?f.d||(e=new l(e.d||f.s===e.s?f:NaN)):e=new l(NaN),e;if(f.s!=e.s)return e.s=-e.s,f.minus(e);if(a=f.d,d=e.d,u=l.precision,c=l.rounding,!a[0]||!d[0])return d[0]||(e=new l(f)),p?q(e,u,c):e;if(o=y(f.e/7),t=y(e.e/7),a=a.slice(),i=o-t){for(i<0?(r=a,i=-i,s=d.length):(r=d,t=o,s=a.length),i>(s=(o=Math.ceil(u/7))>s?o+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=a.length)-(i=d.length)<0&&(i=s,r=d,d=a,a=r),n=0;i;)n=(a[--i]=a[i]+d[i]+n)/x|0,a[i]%=x;for(n&&(a.unshift(n),++t),s=a.length;0==a[--s];)a.pop();return e.d=a,e.e=S(a,t),p?q(e,u,c):e},C.precision=C.sd=function(e){var n,r=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(v+e);return r.d?(n=U(r.d),e&&r.e+1>n&&(n=r.e+1)):n=NaN,n},C.round=function(){var e=this,n=e.constructor;return q(new n(e),e.e+1,n.rounding)},C.sine=C.sin=function(){var e,n,r=this,t=r.constructor;return r.isFinite()?r.isZero()?new t(r):(e=t.precision,n=t.rounding,t.precision=e+Math.max(r.e,r.sd())+7,t.rounding=1,r=function(e,n){var r,t=n.d.length;if(t<3)return Y(e,2,n,n);r=(r=1.4*Math.sqrt(t))>16?16:0|r,n=Y(e,2,n=n.times(1/G(5,r)),n);for(var i,o=new e(5),s=new e(16),u=new e(20);r--;)i=n.times(n),n=n.times(o.plus(i.times(s.times(i).minus(u))));return n}(t,K(t,r)),t.precision=e,t.rounding=n,q(u>2?r.neg():r,e,n,!0)):new t(NaN)},C.squareRoot=C.sqrt=function(){var e,n,r,t,i,o,s=this,u=s.d,c=s.e,a=s.s,d=s.constructor;if(1!==a||!u||!u[0])return new d(!a||a<0&&(!u||u[0])?NaN:u?s:1/0);for(p=!1,0==(a=Math.sqrt(+s))||a==1/0?(((n=A(u)).length+c)%2==0&&(n+="0"),a=Math.sqrt(n),c=y((c+1)/2)-(c<0||c%2),t=new d(n=a==1/0?"5e"+c:(n=a.toExponential()).slice(0,n.indexOf("e")+1)+c)):t=new d(a.toString()),r=(c=d.precision)+3;;)if(t=(o=t).plus(F(s,o,r+2,1)).times(.5),A(o.d).slice(0,r)===(n=A(t.d)).slice(0,r)){if("9999"!=(n=n.slice(r-3,r+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(q(t,c+1,1),e=!t.times(t).eq(s));break}if(!i&&(q(o,c+1,0),o.times(o).eq(s))){t=o;break}r+=4,i=1}return p=!0,q(t,c,d.rounding,e)},C.tangent=C.tan=function(){var e,n,r=this,t=r.constructor;return r.isFinite()?r.isZero()?new t(r):(e=t.precision,n=t.rounding,t.precision=e+10,t.rounding=1,(r=r.sin()).s=1,r=F(r,new t(1).minus(r.times(r)).sqrt(),e+10,0),t.precision=e,t.rounding=n,q(2==u||4==u?r.neg():r,e,n,!0)):new t(NaN)},C.times=C.mul=function(e){var n,r,t,i,o,s,u,c,a,d=this,f=d.constructor,l=d.d,h=(e=new f(e)).d;if(e.s*=d.s,!(l&&l[0]&&h&&h[0]))return new f(!e.s||l&&!l[0]&&!h||h&&!h[0]&&!l?NaN:l&&h?0*e.s:e.s/0);for(r=y(d.e/7)+y(e.e/7),(c=l.length)<(a=h.length)&&(o=l,l=h,h=o,s=c,c=a,a=s),o=[],t=s=c+a;t--;)o.push(0);for(t=a;--t>=0;){for(n=0,i=c+t;i>t;)u=o[i]+h[t]*l[i-t-1]+n,o[i--]=u%x|0,n=u/x|0;o[i]=(o[i]+n)%x|0}for(;!o[--s];)o.pop();return n?++r:o.shift(),e.d=o,e.e=S(o,r),p?q(e,f.precision,f.rounding):e},C.toBinary=function(e,n){return Q(this,2,e,n)},C.toDecimalPlaces=C.toDP=function(e,n){var r=this,t=r.constructor;return r=new t(r),void 0===e?r:(I(e,0,a),void 0===n?n=t.rounding:I(n,0,8),q(r,e+r.e+1,n))},C.toExponential=function(e,n){var r,t=this,i=t.constructor;return void 0===e?r=k(t,!0):(I(e,0,a),void 0===n?n=i.rounding:I(n,0,8),r=k(t=q(new i(t),e+1,n),!0,e+1)),t.isNeg()&&!t.isZero()?"-"+r:r},C.toFixed=function(e,n){var r,t,i=this,o=i.constructor;return void 0===e?r=k(i):(I(e,0,a),void 0===n?n=o.rounding:I(n,0,8),r=k(t=q(new o(i),e+i.e+1,n),!1,e+t.e+1)),i.isNeg()&&!i.isZero()?"-"+r:r},C.toFraction=function(e){var n,r,t,i,o,s,u,c,a,d,f,l,h=this,g=h.d,m=h.constructor;if(!g)return new m(h);if(a=r=new m(1),t=c=new m(0),s=(o=(n=new m(t)).e=U(g)-h.e-1)%7,n.d[0]=M(10,s<0?7+s:s),null==e)e=o>0?n:a;else{if(!(u=new m(e)).isInt()||u.lt(a))throw Error(v+u);e=u.gt(n)?o>0?n:a:u}for(p=!1,u=new m(A(g)),d=m.precision,m.precision=o=7*g.length*2;f=F(u,n,0,1,1),1!=(i=r.plus(f.times(t))).cmp(e);)r=t,t=i,i=a,a=c.plus(f.times(i)),c=i,i=n,n=u.minus(f.times(i)),u=i;return i=F(e.minus(r),t,0,1,1),c=c.plus(i.times(a)),r=r.plus(i.times(t)),c.s=a.s=h.s,l=F(a,t,o,1).minus(h).abs().cmp(F(c,r,o,1).minus(h).abs())<1?[a,t]:[c,r],m.precision=d,p=!0,l},C.toHexadecimal=C.toHex=function(e,n){return Q(this,16,e,n)},C.toNearest=function(e,n){var r=this,t=r.constructor;if(r=new t(r),null==e){if(!r.d)return r;e=new t(1),n=t.rounding}else{if(e=new t(e),void 0===n?n=t.rounding:I(n,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(p=!1,r=F(r,e,0,n,1).times(e),p=!0,q(r)):(e.s=r.s,r=e),r},C.toNumber=function(){return+this},C.toOctal=function(e,n){return Q(this,8,e,n)},C.toPower=C.pow=function(e){var n,r,t,i,o,s,u=this,c=u.constructor,a=+(e=new c(e));if(!(u.d&&e.d&&u.d[0]&&e.d[0]))return new c(M(+u,a));if((u=new c(u)).eq(1))return u;if(t=c.precision,o=c.rounding,e.eq(1))return q(u,t,o);if((n=y(e.e/7))>=e.d.length-1&&(r=a<0?-a:a)<=9007199254740991)return i=L(c,u,r,t),e.s<0?new c(1).div(i):q(i,t,o);if((s=u.s)<0){if(n<e.d.length-1)return new c(NaN);if(0==(1&e.d[n])&&(s=1),0==u.e&&1==u.d[0]&&1==u.d.length)return u.s=s,u}return(n=0!=(r=M(+u,a))&&isFinite(r)?new c(r+"").e:y(a*(Math.log("0."+A(u.d))/Math.LN10+u.e+1)))>c.maxE+1||n<c.minE-1?new c(n>0?s/0:0):(p=!1,c.rounding=u.s=1,r=Math.min(12,(n+"").length),(i=z(e.times(B(u,t+r)),t)).d&&D((i=q(i,t+5,1)).d,t,o)&&(n=t+10,+A((i=q(z(e.times(B(u,n+r)),n),n+5,1)).d).slice(t+1,t+15)+1==1e14&&(i=q(i,t+1,0))),i.s=s,p=!0,c.rounding=o,q(i,t,o))},C.toPrecision=function(e,n){var r,t=this,i=t.constructor;return void 0===e?r=k(t,t.e<=i.toExpNeg||t.e>=i.toExpPos):(I(e,1,a),void 0===n?n=i.rounding:I(n,0,8),r=k(t=q(new i(t),e,n),e<=t.e||t.e<=i.toExpNeg,e)),t.isNeg()&&!t.isZero()?"-"+r:r},C.toSignificantDigits=C.toSD=function(e,n){var r=this.constructor;return void 0===e?(e=r.precision,n=r.rounding):(I(e,1,a),void 0===n?n=r.rounding:I(n,0,8)),q(new r(this),e,n)},C.toString=function(){var e=this,n=e.constructor,r=k(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r},C.truncated=C.trunc=function(){return q(new this.constructor(this),this.e+1,1)},C.valueOf=C.toJSON=function(){var e=this,n=e.constructor,r=k(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+r:r};var F=function(){function e(e,n,r){var t,i=0,o=e.length;for(e=e.slice();o--;)t=e[o]*n+i,e[o]=t%r|0,i=t/r|0;return i&&e.unshift(i),e}function n(e,n,r,t){var i,o;if(r!=t)o=r>t?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=n[i]){o=e[i]>n[i]?1:-1;break}return o}function r(e,n,r,t){for(var i=0;r--;)e[r]-=i,i=e[r]<n[r]?1:0,e[r]=i*t+e[r]-n[r];for(;!e[0]&&e.length>1;)e.shift()}return function(t,i,o,u,c,a){var d,f,l,h,p,g,v,m,w,M,N,b,_,E,R,O,C,A,I,D,j=t.constructor,F=t.s==i.s?1:-1,k=t.d,S=i.d;if(!(k&&k[0]&&S&&S[0]))return new j(t.s&&i.s&&(k?!S||k[0]!=S[0]:S)?k&&0==k[0]||!S?0*F:F/0:NaN);for(a?(p=1,f=t.e-i.e):(a=x,p=7,f=y(t.e/p)-y(i.e/p)),I=S.length,C=k.length,M=(w=new j(F)).d=[],l=0;S[l]==(k[l]||0);l++);if(S[l]>(k[l]||0)&&f--,null==o?(E=o=j.precision,u=j.rounding):E=c?o+(t.e-i.e)+1:o,E<0)M.push(1),g=!0;else{if(E=E/p+2|0,l=0,1==I){for(h=0,S=S[0],E++;(l<C||h)&&E--;l++)R=h*a+(k[l]||0),M[l]=R/S|0,h=R%S|0;g=h||l<C}else{for((h=a/(S[0]+1)|0)>1&&(S=e(S,h,a),k=e(k,h,a),I=S.length,C=k.length),O=I,b=(N=k.slice(0,I)).length;b<I;)N[b++]=0;(D=S.slice()).unshift(0),A=S[0],S[1]>=a/2&&++A;do{h=0,(d=n(S,N,I,b))<0?(_=N[0],I!=b&&(_=_*a+(N[1]||0)),(h=_/A|0)>1?(h>=a&&(h=a-1),1==(d=n(v=e(S,h,a),N,m=v.length,b=N.length))&&(h--,r(v,I<m?D:S,m,a))):(0==h&&(d=h=1),v=S.slice()),(m=v.length)<b&&v.unshift(0),r(N,v,b,a),-1==d&&(d=n(S,N,I,b=N.length))<1&&(h++,r(N,I<b?D:S,b,a)),b=N.length):0===d&&(h++,N=[0]),M[l++]=h,d&&N[0]?N[b++]=k[O]||0:(N=[k[O]],b=1)}while((O++<C||void 0!==N[0])&&E--);g=void 0!==N[0]}M[0]||M.shift()}if(1==p)w.e=f,s=g;else{for(l=1,h=M[0];h>=10;h/=10)l++;w.e=l+f*p-1,q(w,c?o+w.e+1:o,u,g)}return w}}();function q(e,n,r,t){var i,o,s,u,c,a,d,f,l,h=e.constructor;e:if(null!=n){if(!(f=e.d))return e;for(i=1,u=f[0];u>=10;u/=10)i++;if((o=n-i)<0)o+=7,s=n,c=(d=f[l=0])/M(10,i-s-1)%10|0;else if((l=Math.ceil((o+1)/7))>=(u=f.length)){if(!t)break e;for(;u++<=l;)f.push(0);d=c=0,i=1,s=(o%=7)-7+1}else{for(d=u=f[l],i=1;u>=10;u/=10)i++;c=(s=(o%=7)-7+i)<0?0:d/M(10,i-s-1)%10|0}if(t=t||n<0||void 0!==f[l+1]||(s<0?d:d%M(10,i-s-1)),a=r<4?(c||t)&&(0==r||r==(e.s<0?3:2)):c>5||5==c&&(4==r||t||6==r&&(o>0?s>0?d/M(10,i-s):0:f[l-1])%10&1||r==(e.s<0?8:7)),n<1||!f[0])return f.length=0,a?(n-=e.e+1,f[0]=M(10,(7-n%7)%7),e.e=-n||0):f[0]=e.e=0,e;if(0==o?(f.length=l,u=1,l--):(f.length=l+1,u=M(10,7-o),f[l]=s>0?(d/M(10,i-s)%M(10,s)|0)*u:0),a)for(;;){if(0==l){for(o=1,s=f[0];s>=10;s/=10)o++;for(s=f[0]+=u,u=1;s>=10;s/=10)u++;o!=u&&(e.e++,f[0]==x&&(f[0]=1));break}if(f[l]+=u,f[l]!=x)break;f[l--]=0,u=1}for(o=f.length;0===f[--o];)f.pop()}return p&&(e.e>h.maxE?(e.d=null,e.e=NaN):e.e<h.minE&&(e.e=0,e.d=[0])),e}function k(e,n,r){if(!e.isFinite())return $(e);var t,i=e.e,o=A(e.d),s=o.length;return n?(r&&(t=r-s)>0?o=o.charAt(0)+"."+o.slice(1)+Z(t):s>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+Z(-i-1)+o,r&&(t=r-s)>0&&(o+=Z(t))):i>=s?(o+=Z(i+1-s),r&&(t=r-i-1)>0&&(o=o+"."+Z(t))):((t=i+1)<s&&(o=o.slice(0,t)+"."+o.slice(t)),r&&(t=r-s)>0&&(i+1===s&&(o+="."),o+=Z(t))),o}function S(e,n){var r=e[0];for(n*=7;r>=10;r/=10)n++;return n}function P(e,n,r){if(n>R)throw p=!0,r&&(e.precision=r),Error(m);return q(new e(f),n,1,!0)}function T(e,n,r){if(n>O)throw Error(m);return q(new e(l),n,r,!0)}function U(e){var n=e.length-1,r=7*n+1;if(n=e[n]){for(;n%10==0;n/=10)r--;for(n=e[0];n>=10;n/=10)r++}return r}function Z(e){for(var n="";e--;)n+="0";return n}function L(e,n,r,t){var i,o=new e(1),s=Math.ceil(t/7+4);for(p=!1;;){if(r%2&&X((o=o.times(n)).d,s)&&(i=!0),0===(r=y(r/2))){r=o.d.length-1,i&&0===o.d[r]&&++o.d[r];break}X((n=n.times(n)).d,s)}return p=!0,o}function H(e){return 1&e.d[e.d.length-1]}function V(e,n,r){for(var t,i=new e(n[0]),o=0;++o<n.length;){if(!(t=new e(n[o])).s){i=t;break}i[r](t)&&(i=t)}return i}function z(e,n){var r,t,i,o,s,u,c,a=0,d=0,f=0,l=e.constructor,h=l.rounding,g=l.precision;if(!e.d||!e.d[0]||e.e>17)return new l(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==n?(p=!1,c=g):c=n,u=new l(.03125);e.e>-2;)e=e.times(u),f+=5;for(c+=t=Math.log(M(2,f))/Math.LN10*2+5|0,r=o=s=new l(1),l.precision=c;;){if(o=q(o.times(e),c,1),r=r.times(++d),A((u=s.plus(F(o,r,c,1))).d).slice(0,c)===A(s.d).slice(0,c)){for(i=f;i--;)s=q(s.times(s),c,1);if(null!=n)return l.precision=g,s;if(!(a<3&&D(s.d,c-t,h,a)))return q(s,l.precision=g,h,p=!0);l.precision=c+=10,r=o=u=new l(1),d=0,a++}s=u}}function B(e,n){var r,t,i,o,s,u,c,a,d,f,l,h=1,g=e,v=g.d,m=g.constructor,w=m.rounding,y=m.precision;if(g.s<0||!v||!v[0]||!g.e&&1==v[0]&&1==v.length)return new m(v&&!v[0]?-1/0:1!=g.s?NaN:v?0:g);if(null==n?(p=!1,d=y):d=n,m.precision=d+=10,t=(r=A(v)).charAt(0),!(Math.abs(o=g.e)<15e14))return a=P(m,d+2,y).times(o+""),g=B(new m(t+"."+r.slice(1)),d-10).plus(a),m.precision=y,null==n?q(g,y,w,p=!0):g;for(;t<7&&1!=t||1==t&&r.charAt(1)>3;)t=(r=A((g=g.times(e)).d)).charAt(0),h++;for(o=g.e,t>1?(g=new m("0."+r),o++):g=new m(t+"."+r.slice(1)),f=g,c=s=g=F(g.minus(1),g.plus(1),d,1),l=q(g.times(g),d,1),i=3;;){if(s=q(s.times(l),d,1),A((a=c.plus(F(s,new m(i),d,1))).d).slice(0,d)===A(c.d).slice(0,d)){if(c=c.times(2),0!==o&&(c=c.plus(P(m,d+2,y).times(o+""))),c=F(c,new m(h),d,1),null!=n)return m.precision=y,c;if(!D(c.d,d-10,w,u))return q(c,m.precision=y,w,p=!0);m.precision=d+=10,a=s=g=F(f.minus(1),f.plus(1),d,1),l=q(g.times(g),d,1),i=u=1}c=a,i+=2}}function $(e){return String(e.s*e.s/0)}function W(e,n){var r,t,i;for((r=n.indexOf("."))>-1&&(n=n.replace(".","")),(t=n.search(/e/i))>0?(r<0&&(r=t),r+=+n.slice(t+1),n=n.substring(0,t)):r<0&&(r=n.length),t=0;48===n.charCodeAt(t);t++);for(i=n.length;48===n.charCodeAt(i-1);--i);if(n=n.slice(t,i)){if(i-=t,e.e=r=r-t-1,e.d=[],t=(r+1)%7,r<0&&(t+=7),t<i){for(t&&e.d.push(+n.slice(0,t)),i-=7;t<i;)e.d.push(+n.slice(t,t+=7));t=7-(n=n.slice(t)).length}else t-=i;for(;t--;)n+="0";e.d.push(+n),p&&(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 J(e,n){var r,t,i,s,u,c,a,d,f;if("Infinity"===n||"NaN"===n)return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(b.test(n))r=16,n=n.toLowerCase();else if(N.test(n))r=2;else{if(!_.test(n))throw Error(v+n);r=8}for((s=n.search(/p/i))>0?(a=+n.slice(s+1),n=n.substring(2,s)):n=n.slice(2),u=(s=n.indexOf("."))>=0,t=e.constructor,u&&(s=(c=(n=n.replace(".","")).length)-s,i=L(t,new t(r),s,2*s)),s=f=(d=j(n,r,x)).length-1;0===d[s];--s)d.pop();return s<0?new t(0*e.s):(e.e=S(d,f),e.d=d,p=!1,u&&(e=F(e,i,4*c)),a&&(e=e.times(Math.abs(a)<54?M(2,a):o.pow(2,a))),p=!0,e)}function Y(e,n,r,t,i){var o,s,u,c,a=e.precision,d=Math.ceil(a/7);for(p=!1,c=r.times(r),u=new e(t);;){if(s=F(u.times(c),new e(n++*n++),a,1),u=i?t.plus(s):t.minus(s),t=F(s.times(c),new e(n++*n++),a,1),void 0!==(s=u.plus(t)).d[d]){for(o=d;s.d[o]===u.d[o]&&o--;);if(-1==o)break}o=u,u=t,t=s,s=o}return p=!0,s.d.length=d+1,s}function G(e,n){for(var r=e;--n;)r*=e;return r}function K(e,n){var r,t=n.s<0,i=T(e,e.precision,1),o=i.times(.5);if((n=n.abs()).lte(o))return u=t?4:1,n;if((r=n.divToInt(i)).isZero())u=t?3:2;else{if((n=n.minus(r.times(i))).lte(o))return u=H(r)?t?2:3:t?4:1,n;u=H(r)?t?1:4:t?3:2}return n.minus(i).abs()}function Q(e,n,r,t){var i,o,u,c,f,l,h,p,g,v=e.constructor,m=void 0!==r;if(m?(I(r,1,a),void 0===t?t=v.rounding:I(t,0,8)):(r=v.precision,t=v.rounding),e.isFinite()){for(m?(i=2,16==n?r=4*r-3:8==n&&(r=3*r-2)):i=n,(u=(h=k(e)).indexOf("."))>=0&&(h=h.replace(".",""),(g=new v(1)).e=h.length-u,g.d=j(k(g),10,i),g.e=g.d.length),o=f=(p=j(h,10,i)).length;0==p[--f];)p.pop();if(p[0]){if(u<0?o--:((e=new v(e)).d=p,e.e=o,p=(e=F(e,g,r,t,0,i)).d,o=e.e,l=s),u=p[r],c=i/2,l=l||void 0!==p[r+1],l=t<4?(void 0!==u||l)&&(0===t||t===(e.s<0?3:2)):u>c||u===c&&(4===t||l||6===t&&1&p[r-1]||t===(e.s<0?8:7)),p.length=r,l)for(;++p[--r]>i-1;)p[r]=0,r||(++o,p.unshift(1));for(f=p.length;!p[f-1];--f);for(u=0,h="";u<f;u++)h+=d.charAt(p[u]);if(m){if(f>1)if(16==n||8==n){for(u=16==n?4:3,--f;f%u;f++)h+="0";for(f=(p=j(h,i,n)).length;!p[f-1];--f);for(u=1,h="1.";u<f;u++)h+=d.charAt(p[u])}else h=h.charAt(0)+"."+h.slice(1);h=h+(o<0?"p":"p+")+o}else if(o<0){for(;++o;)h="0"+h;h="0."+h}else if(++o>f)for(o-=f;o--;)h+="0";else o<f&&(h=h.slice(0,o)+"."+h.slice(o))}else h=m?"0p+0":"0";h=(16==n?"0x":2==n?"0b":8==n?"0o":"")+h}else h=$(e);return e.s<0?"-"+h:h}function X(e,n){if(e.length>n)return e.length=n,!0}function ee(e){return new this(e).abs()}function ne(e){return new this(e).acos()}function re(e){return new this(e).acosh()}function te(e,n){return new this(e).plus(n)}function ie(e){return new this(e).asin()}function oe(e){return new this(e).asinh()}function se(e){return new this(e).atan()}function ue(e){return new this(e).atanh()}function ce(e,n){e=new this(e),n=new this(n);var r,t=this.precision,i=this.rounding,o=t+4;return e.s&&n.s?e.d||n.d?!n.d||e.isZero()?(r=n.s<0?T(this,t,i):new this(0)).s=e.s:!e.d||n.isZero()?(r=T(this,o,1).times(.5)).s=e.s:n.s<0?(this.precision=o,this.rounding=1,r=this.atan(F(e,n,o,1)),n=T(this,o,1),this.precision=t,this.rounding=i,r=e.s<0?r.minus(n):r.plus(n)):r=this.atan(F(e,n,o,1)):(r=T(this,o,1).times(n.s>0?.25:.75)).s=e.s:r=new this(NaN),r}function ae(e){return new this(e).cbrt()}function de(e){return q(e=new this(e),e.e+1,2)}function fe(e){if(!e||"object"!=typeof e)throw Error(g+"Object expected");var n,r,t,i=!0===e.defaults,o=["precision",1,a,"rounding",0,8,"toExpNeg",-c,0,"toExpPos",0,c,"maxE",0,c,"minE",-c,0,"modulo",0,9];for(n=0;n<o.length;n+=3)if(r=o[n],i&&(this[r]=h[r]),void 0!==(t=e[r])){if(!(y(t)===t&&t>=o[n+1]&&t<=o[n+2]))throw Error(v+r+": "+t);this[r]=t}if(r="crypto",i&&(this[r]=h[r]),void 0!==(t=e[r])){if(!0!==t&&!1!==t&&0!==t&&1!==t)throw Error(v+r+": "+t);if(t){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(w);this[r]=!0}else this[r]=!1}return this}function le(e){return new this(e).cos()}function he(e){return new this(e).cosh()}function pe(e,n){return new this(e).div(n)}function ge(e){return new this(e).exp()}function ve(e){return q(e=new this(e),e.e+1,3)}function me(){var e,n,r=new this(0);for(p=!1,e=0;e<arguments.length;)if((n=new this(arguments[e++])).d)r.d&&(r=r.plus(n.times(n)));else{if(n.s)return p=!0,new this(1/0);r=n}return p=!0,r.sqrt()}function we(e){return e instanceof o||e&&"[object Decimal]"===e.name||!1}function ye(e){return new this(e).ln()}function Me(e,n){return new this(e).log(n)}function Ne(e){return new this(e).log(2)}function be(e){return new this(e).log(10)}function _e(){return V(this,arguments,"lt")}function Ee(){return V(this,arguments,"gt")}function xe(e,n){return new this(e).mod(n)}function Re(e,n){return new this(e).mul(n)}function Oe(e,n){return new this(e).pow(n)}function Ce(e){var n,r,t,i,o=0,s=new this(1),u=[];if(void 0===e?e=this.precision:I(e,1,a),t=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(n=crypto.getRandomValues(new Uint32Array(t));o<t;)(i=n[o])>=429e7?n[o]=crypto.getRandomValues(new Uint32Array(1))[0]:u[o++]=i%1e7;else{if(!crypto.randomBytes)throw Error(w);for(n=crypto.randomBytes(t*=4);o<t;)(i=n[o]+(n[o+1]<<8)+(n[o+2]<<16)+((127&n[o+3])<<24))>=214e7?crypto.randomBytes(4).copy(n,o):(u.push(i%1e7),o+=4);o=t/4}else for(;o<t;)u[o++]=1e7*Math.random()|0;for(e%=7,(t=u[--o])&&e&&(i=M(10,7-e),u[o]=(t/i|0)*i);0===u[o];o--)u.pop();if(o<0)r=0,u=[0];else{for(r=-1;0===u[0];r-=7)u.shift();for(t=1,i=u[0];i>=10;i/=10)t++;t<7&&(r-=7-t)}return s.e=r,s.d=u,s}function Ae(e){return q(e=new this(e),e.e+1,this.rounding)}function Ie(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function De(e){return new this(e).sin()}function je(e){return new this(e).sinh()}function Fe(e){return new this(e).sqrt()}function qe(e,n){return new this(e).sub(n)}function ke(e){return new this(e).tan()}function Se(e){return new this(e).tanh()}function Pe(e){return q(e=new this(e),e.e+1,1)}(o=function e(n){var r,t,i;function o(e){var n,r,t,i=this;if(!(i instanceof o))return new o(e);if(i.constructor=o,e instanceof o)return i.s=e.s,void(p?!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));if("number"==(t=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(n=0,r=e;r>=10;r/=10)n++;return void(p?n>o.maxE?(i.e=NaN,i.d=null):n<o.minE?(i.e=0,i.d=[0]):(i.e=n,i.d=[e]):(i.e=n,i.d=[e]))}return 0*e!=0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):W(i,e.toString())}if("string"!==t)throw Error(v+e);return 45===(r=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===r&&(e=e.slice(1)),i.s=1),E.test(e)?W(i,e):J(i,e)}if(o.prototype=C,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=fe,o.clone=e,o.isDecimal=we,o.abs=ee,o.acos=ne,o.acosh=re,o.add=te,o.asin=ie,o.asinh=oe,o.atan=se,o.atanh=ue,o.atan2=ce,o.cbrt=ae,o.ceil=de,o.cos=le,o.cosh=he,o.div=pe,o.exp=ge,o.floor=ve,o.hypot=me,o.ln=ye,o.log=Me,o.log10=be,o.log2=Ne,o.max=_e,o.min=Ee,o.mod=xe,o.mul=Re,o.pow=Oe,o.random=Ce,o.round=Ae,o.sign=Ie,o.sin=De,o.sinh=je,o.sqrt=Fe,o.sub=qe,o.tan=ke,o.tanh=Se,o.trunc=Pe,void 0===n&&(n={}),n&&!0!==n.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],r=0;r<i.length;)n.hasOwnProperty(t=i[r++])||(n[t]=this[t]);return o.config(n),o}(h)).default=o.Decimal=o,f=new o(f),l=new o(l),void 0===(t=function(){return o}.call(n,r,n,e))||(e.exports=t)}()},15554:e=>{"use strict";var n="%[a-f0-9]{2}",r=new RegExp(n,"gi"),t=new RegExp("("+n+")+","gi");function i(e,n){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;n=n||1;var r=e.slice(0,n),t=e.slice(n);return Array.prototype.concat.call([],i(r),i(t))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var n=e.match(r),t=1;t<n.length;t++)n=(e=i(n,t).join("")).match(r);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(n){return function(e){for(var n={"%FE%FF":"��","%FF%FE":"��"},r=t.exec(e);r;){try{n[r[0]]=decodeURIComponent(r[0])}catch(e){var i=o(r[0]);i!==r[0]&&(n[r[0]]=i)}r=t.exec(e)}n["%C2"]="�";for(var s=Object.keys(n),u=0;u<s.length;u++){var c=s[u];e=e.replace(new RegExp(c,"g"),n[c])}return e}(e)}}},34126:(e,n,r)=>{"use strict";var t=r(57785),i=r(37320),o=r(15554);function s(e,n){return n.encode?n.strict?t(e):encodeURIComponent(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort((function(e,n){return Number(e)-Number(n)})).map((function(n){return e[n]})):e}n.extract=function(e){return e.split("?")[1]||""},n.parse=function(e,n){var r=function(e){var n;switch(e.arrayFormat){case"index":return function(e,r,t){n=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),n?(void 0===t[e]&&(t[e]={}),t[e][n[1]]=r):t[e]=r};case"bracket":return function(e,r,t){n=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),n?void 0!==t[e]?t[e]=[].concat(t[e],r):t[e]=[r]:t[e]=r};default:return function(e,n,r){void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=n}}}(n=i({arrayFormat:"none"},n)),t=Object.create(null);return"string"!=typeof e?t:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),i=n.shift(),s=n.length>0?n.join("="):void 0;s=void 0===s?null:o(s),r(o(i),s,t)})),Object.keys(t).sort().reduce((function(e,n){var r=t[n];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[n]=u(r):e[n]=r,e}),Object.create(null))):t},n.stringify=function(e,n){var r=function(e){switch(e.arrayFormat){case"index":return function(n,r,t){return null===r?[s(n,e),"[",t,"]"].join(""):[s(n,e),"[",s(t,e),"]=",s(r,e)].join("")};case"bracket":return function(n,r){return null===r?s(n,e):[s(n,e),"[]=",s(r,e)].join("")};default:return function(n,r){return null===r?s(n,e):[s(n,e),"=",s(r,e)].join("")}}}(n=i({encode:!0,strict:!0,arrayFormat:"none"},n));return e?Object.keys(e).sort().map((function(t){var i=e[t];if(void 0===i)return"";if(null===i)return s(t,n);if(Array.isArray(i)){var o=[];return i.slice().forEach((function(e){void 0!==e&&o.push(r(t,e,o.length))})),o.join("&")}return s(t,n)+"="+s(i,n)})).filter((function(e){return e.length>0})).join("&"):""}},2314:(e,n,r)=>{"use strict";var t=r(28523).compose;n.__esModule=!0,n.composeWithDevTools=function(){if(0!==arguments.length)return"object"==typeof arguments[0]?t:t.apply(null,arguments)},n.devToolsEnhancer=function(){return function(e){return e}}},83273:(e,n,r)=>{"use strict";n.__esModule=!0,n.createDynamicMiddlewares=n.resetMiddlewares=n.removeMiddleware=n.addMiddleware=void 0;var t=r(28523),i=function(){var e=[];return{enhancer:function(n){return function(r){return function(i){var o=e.map((function(e){return e(n)}));return t.compose.apply(void 0,o)(r)(i)}}},addMiddleware:function(){for(var n=arguments.length,r=Array(n),t=0;t<n;t++)r[t]=arguments[t];e=[].concat(e,r)},removeMiddleware:function(n){var r=e.findIndex((function(e){return e===n}));-1!==r?e=e.filter((function(e,n){return n!==r})):console.error("Middleware does not exist!",n)},resetMiddlewares:function(){e=[]}}},o=i();n.default=o.enhancer;var s=o.addMiddleware,u=o.removeMiddleware,c=o.resetMiddlewares;n.addMiddleware=s,n.removeMiddleware=u,n.resetMiddlewares=c,n.createDynamicMiddlewares=i},95174:(e,n,r)=>{"use strict";n.__esModule=!0;var t=r(83273);n.getMiddlewareManager=function(){var e=t.createDynamicMiddlewares();return{getItems:function(){return[]},enhancer:e.enhancer,add:function(n){return e.addMiddleware.apply(e,n),n},remove:function(n){return n.forEach(e.removeMiddleware),n},dispose:function(){e.resetMiddlewares()}}}},12519:function(e,n,r){"use strict";var t=this&&this.__spreadArrays||function(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;var t=Array(e),i=0;for(n=0;n<r;n++)for(var o=arguments[n],s=0,u=o.length;s<u;s++,i++)t[i]=o[s];return t};n.__esModule=!0;var i=r(79329);n.getModuleManager=function(e,n,r){var o,s=null,u=[],c=new Set,a=function(e){if(e){if(!s)throw new Error("setDispatch should be called on ModuleManager before adding any modules.");e.forEach(s)}},d={getReducer:function(e,n){return o?o.reduce(e,n):e||null},setDispatch:function(e){s=e},getItems:function(){return[]},add:function(d){if(d&&0!==d.length){d=d.filter((function(e){return e}));var f=[];d.forEach((function(n){if(!c.has(n.id)){c.add(n.id),u.push(n),function(e){if(e)if(o)for(var n in e)o.add(n,e[n]);else o=i.getRefCountedReducerManager(i.getReducerManager(e,r))}(n.reducerMap);var t=n.middlewares;t&&function(n){n&&e.add(n)}(t),f.push(n)}})),s({type:"@@Internal/ModuleManager/SeedReducers"}),f.forEach((function(e){n.forEach((function(n){n.onModuleAdded&&n.onModuleAdded(e)}));var r={type:"@@Internal/ModuleManager/ModuleAdded",payload:e.id};a(e.initialActions?t([r],e.initialActions):[r])}))}},remove:function(r){r&&(r=r.filter((function(e){return e})).reverse()).forEach((function(r){var t;c.has(r.id)&&(a(r.finalActions),function(e){if(e&&o)for(var n in e)o.remove(n)}(r.reducerMap),(t=r.middlewares)&&e.remove(t),n.forEach((function(e){e.onModuleRemoved&&e.onModuleRemoved(r)})),c.delete(r.id),u=u.filter((function(e){return e.id!==r.id})),a([{type:"@@Internal/ModuleManager/ModuleRemoved",payload:r.id}]))}))},dispose:function(){d.remove(u)}};return d}},79329:function(e,n,r){"use strict";var t=this&&this.__assign||function(){return t=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},t.apply(this,arguments)};n.__esModule=!0;var i=r(28523),o=r(24446);function s(e,n){return void 0===n&&(n=i.combineReducers),e&&0!==Object.keys(e).length?n(e):function(e,n){return e||null}}n.getRefCountedReducerManager=function(e){var n=o.getStringRefCounter();for(var r in e.getReducerMap())n.add(r);return{reduce:e.reduce,getReducerMap:e.getReducerMap,add:function(r,t){0===n.getCount(r)&&e.add(r,t),n.add(r)},remove:function(r){n.remove(r),0===n.getCount(r)&&e.remove(r)}}},n.getReducerManager=function(e,n){void 0===n&&(n=i.combineReducers);var r=n(e),o=t({},e),u=[];return{getReducerMap:function(){return o},reduce:function(e,n){if(u.length>0){e=t({},e);for(var i=0,o=u;i<o.length;i++)delete e[o[i]];u=[]}return void 0===e&&(e={}),r(e,n)},add:function(e,t){e&&!o[e]&&(o[e]=t,r=s(o,n))},remove:function(e){e&&o[e]&&(delete o[e],u.push(e),r=s(o,n))}}}},45105:function(e,n,r){"use strict";var t=this&&this.__assign||function(){return t=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},t.apply(this,arguments)};n.__esModule=!0;var i=r(24446);n.getRefCountedManager=function(e,n,r){var o=i.getObjectRefCounter(n,r);e.getItems().forEach((function(e){return o.add(e)}));var s=t({},e);return s.add=function(n){if(n){var r=n.filter((function(e){return e})),t=r.filter((function(e){return 0===o.getCount(e)}));e.add(t),r.forEach(o.add)}},s.remove=function(n){n&&n.forEach((function(n){n&&(o.remove(n),0===o.getCount(n)&&e.remove([n]))}))},s.dispose=function(){e.dispose()},s}},88526:function(e,n,r){"use strict";var t=this&&this.__spreadArrays||function(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;var t=Array(e),i=0;for(n=0;n<r;n++)for(var o=arguments[n],s=0,u=o.length;s<u;s++,i++)t[i]=o[s];return t};n.__esModule=!0;var i=r(28523),o=r(2314),s=r(95174),u=r(12519),c=r(45105),a=r(23425);n.createStore=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var d=e.initialState,f=void 0===d?{}:d,l=e.extensions,h=void 0===l?[]:l,p=e.enhancers,g=void 0===p?[]:p,v=e.advancedComposeEnhancers,m=void 0===v?o.composeWithDevTools({}):v,w=e.advancedCombineReducers,y=h.reduce((function(e,n){return n.middleware&&e.push.apply(e,n.middleware),e}),[]),M=c.getRefCountedManager(s.getMiddlewareManager(),(function(e,n){return e===n})),N=m.apply(void 0,t(g,[i.applyMiddleware.apply(void 0,t(y,[M.enhancer]))])),b=c.getRefCountedManager(u.getModuleManager(M,h,w),(function(e,n){return e.id===n.id}),(function(e){return e.retained})),_=i.createStore(b.getReducer,f,N);b.setDispatch(_.dispatch);var E=function(e){var n=a.flatten(e);return b.add(n),{remove:function(){b.remove(n)}}},x=function(e){return E([e])};return h.forEach((function(e){e.onModuleManagerCreated&&e.onModuleManagerCreated({addModule:x,addModules:E})})),_.addModule=x,_.addModules=E,_.dispose=function(){b.dispose(),M.dispose(),h.forEach((function(e){e.dispose&&e.dispose()}))},_.addModules(n),_}},58166:(e,n)=>{"use strict";n.__esModule=!0,n.getMap=function(e){var n=[],r={};return{keys:n,get:function(t){if(t){var i=n.findIndex((function(n){return n&&e(n,t)}));if(-1!==i)return r[i]}},add:function(t,i){t&&-1===n.findIndex((function(n){return n&&e(n,t)}))&&(n.push(t),r[n.length-1]=i)},remove:function(t){if(t){var i=n.findIndex((function(n){return n&&e(n,t)}));if(-1!==i){delete n[i];var o=r[i];return delete r[i],o}}}}}},23425:function(e,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;var t=Array(e),i=0;for(n=0;n<r;n++)for(var o=arguments[n],s=0,u=o.length;s<u;s++,i++)t[i]=o[s];return t};n.__esModule=!0,n.flatten=function(e){if(e){for(var n=e.slice(),t=0;t<n.length;)Array.isArray(n[t])?n.splice.apply(n,r([t,1],n[t])):t++;return n}return e}},24446:(e,n)=>{"use strict";n.__esModule=!0,n.getObjectRefCounter=function(e,n){e||(e=function(e,n){return e===n}),n||(n=function(){return!1});var r=[],t=[];return{getCount:function(n){if(null==n)return 0;var i=r.findIndex((function(r){return r&&e(r,n)}));return-1===i?0:t[i]},add:function(i){if(null!=i){var o=r.findIndex((function(n){return n&&e(n,i)})),s=1;-1===o?(o=r.length,r.push(i)):s=t[o]+1,n(i)&&(s=1/0),t[o]=s}},remove:function(i){if(n(i))return!1;var o=r.findIndex((function(n){return n&&e(n,i)}));return-1!==o&&(1===t[o]?(delete r[o],delete t[o],!0):(t[o]=t[o]-1,!1))}}},n.getStringRefCounter=function(){var e={};return{getCount:function(n){return null==n?0:e[n]||0},add:function(n){null!=n&&(e[n]?e[n]++:e[n]=1)},remove:function(n){return null!=n&&!!e[n]&&(1===e[n]?(delete e[n],!0):(e[n]--,!1))}}}},70315:(e,n,r)=>{"use strict";function t(e){for(var r in e)n.hasOwnProperty(r)||(n[r]=e[r])}n.__esModule=!0,t(r(88526)),t(r(58166)),t(r(24446)),t(r(95174)),t(r(45105))},78522:function(e,n,r){"use strict";var t,i=this&&this.__extends||(t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])},t(e,n)},function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},o.apply(this,arguments)};n.__esModule=!0;var s=r(24328),u=r(52730),c=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.prototype.render=function(){var e=this;return s.createElement(u.ReactReduxContext.Consumer,null,(function(n){return s.createElement(a,o({},e.props,{reactReduxContext:n}))}))},n}(s.Component);n.DynamicModuleLoader=c;var a=function(e){function n(n){var r=e.call(this,n)||this;if(r._providerInitializationNeeded=!1,r._cleanup=function(){r._addedModules&&(r._addedModules.remove(),r._addedModules=void 0)},null==n.reactReduxContext){var t="Tried to render DynamicModuleLoader, but no ReactReduxContext was provided";throw console.error(t),new Error(t)}return r._store=n.reactReduxContext?n.reactReduxContext.store:void 0,r.props.strictMode?r.state={readyToRender:!1}:(r._addModules(),r.state={readyToRender:!0}),r}return i(n,e),n.prototype.render=function(){return this.state.readyToRender?this._providerInitializationNeeded?s.createElement(u.Provider,{store:this._store},s.createElement(c,o({},this.props))):s.createElement(s.Fragment,null,this._renderLoader(),s.createElement(d,{cleanup:this._cleanup})):null},n.prototype._renderLoader=function(){return this.props.children?"function"==typeof this.props.children?this.props.children():this.props.children:null},n.prototype._addModules=function(){var e=this.props,n=e.createStore,r=e.modules;if(this._store)this._addedModules=this._store.addModules(r);else{if(!n)throw new Error("Store could not be resolved from React context");this._store=n(),this._providerInitializationNeeded=!0}},n.prototype.componentDidMount=function(){this.props.strictMode&&(this._addModules(),this.setState({readyToRender:!0}))},n}(s.Component),d=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.prototype.render=function(){return null},n.prototype.componentWillUnmount=function(){this.props.cleanup()},n}(s.Component)},66780:(e,n,r)=>{"use strict";function t(e){for(var r in e)n.hasOwnProperty(r)||(n[r]=e[r])}n.__esModule=!0,t(r(70315)),t(r(78522))},57785:e=>{"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d4b28bad-9957-4537-b8ba-d851e4605db2",e._sentryDebugIdIdentifier="sentry-dbid-d4b28bad-9957-4537-b8ba-d851e4605db2")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"756a7513a42a2e35d42e606647a4e60f455dcf69"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[1215],{3954:(e,n,r)=>{"use strict";var t=r(71600);n.Z=void 0;var i=t(r(68671)),o=r(52322),s=(0,i.default)((0,o.jsx)("path",{d:"M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z"}),"Tune");n.Z=s},52180:function(e,n,r){var t;!function(i){"use strict";var o,s,u,c=9e15,a=1e9,d="0123456789abcdef",f="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",l="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",h={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-c,maxE:c,crypto:!1},p=!0,g="[DecimalError] ",v=g+"Invalid argument: ",m=g+"Precision limit exceeded",w=g+"crypto unavailable",y=Math.floor,M=Math.pow,N=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,b=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,_=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,E=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,x=1e7,R=f.length-1,O=l.length-1,C={name:"[object Decimal]"};function A(e){var n,r,t,i=e.length-1,o="",s=e[0];if(i>0){for(o+=s,n=1;n<i;n++)(r=7-(t=e[n]+"").length)&&(o+=Z(r)),o+=t;(r=7-(t=(s=e[n])+"").length)&&(o+=Z(r))}else if(0===s)return"0";for(;s%10==0;)s/=10;return o+s}function I(e,n,r){if(e!==~~e||e<n||e>r)throw Error(v+e)}function D(e,n,r,t){var i,o,s,u;for(o=e[0];o>=10;o/=10)--n;return--n<0?(n+=7,i=0):(i=Math.ceil((n+1)/7),n%=7),o=M(10,7-n),u=e[i]%o|0,null==t?n<3?(0==n?u=u/100|0:1==n&&(u=u/10|0),s=r<4&&99999==u||r>3&&49999==u||5e4==u||0==u):s=(r<4&&u+1==o||r>3&&u+1==o/2)&&(e[i+1]/o/100|0)==M(10,n-2)-1||(u==o/2||0==u)&&0==(e[i+1]/o/100|0):n<4?(0==n?u=u/1e3|0:1==n?u=u/100|0:2==n&&(u=u/10|0),s=(t||r<4)&&9999==u||!t&&r>3&&4999==u):s=((t||r<4)&&u+1==o||!t&&r>3&&u+1==o/2)&&(e[i+1]/o/1e3|0)==M(10,n-3)-1,s}function j(e,n,r){for(var t,i,o=[0],s=0,u=e.length;s<u;){for(i=o.length;i--;)o[i]*=n;for(o[0]+=d.indexOf(e.charAt(s++)),t=0;t<o.length;t++)o[t]>r-1&&(void 0===o[t+1]&&(o[t+1]=0),o[t+1]+=o[t]/r|0,o[t]%=r)}return o.reverse()}C.absoluteValue=C.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),q(e)},C.ceil=function(){return q(new this.constructor(this),this.e+1,2)},C.comparedTo=C.cmp=function(e){var n,r,t,i,o=this,s=o.d,u=(e=new o.constructor(e)).d,c=o.s,a=e.s;if(!s||!u)return c&&a?c!==a?c:s===u?0:!s^c<0?1:-1:NaN;if(!s[0]||!u[0])return s[0]?c:u[0]?-a:0;if(c!==a)return c;if(o.e!==e.e)return o.e>e.e^c<0?1:-1;for(n=0,r=(t=s.length)<(i=u.length)?t:i;n<r;++n)if(s[n]!==u[n])return s[n]>u[n]^c<0?1:-1;return t===i?0:t>i^c<0?1:-1},C.cosine=C.cos=function(){var e,n,r=this,t=r.constructor;return r.d?r.d[0]?(e=t.precision,n=t.rounding,t.precision=e+Math.max(r.e,r.sd())+7,t.rounding=1,r=function(e,n){var r,t,i=n.d.length;i<32?t=(1/G(4,r=Math.ceil(i/3))).toString():(r=16,t="2.3283064365386962890625e-10"),e.precision+=r,n=Y(e,1,n.times(t),new e(1));for(var o=r;o--;){var s=n.times(n);n=s.times(s).minus(s).times(8).plus(1)}return e.precision-=r,n}(t,K(t,r)),t.precision=e,t.rounding=n,q(2==u||3==u?r.neg():r,e,n,!0)):new t(1):new t(NaN)},C.cubeRoot=C.cbrt=function(){var e,n,r,t,i,o,s,u,c,a,d=this,f=d.constructor;if(!d.isFinite()||d.isZero())return new f(d);for(p=!1,(o=d.s*M(d.s*d,1/3))&&Math.abs(o)!=1/0?t=new f(o.toString()):(r=A(d.d),(o=((e=d.e)-r.length+1)%3)&&(r+=1==o||-2==o?"0":"00"),o=M(r,1/3),e=y((e+1)/3)-(e%3==(e<0?-1:2)),(t=new f(r=o==1/0?"5e"+e:(r=o.toExponential()).slice(0,r.indexOf("e")+1)+e)).s=d.s),s=(e=f.precision)+3;;)if(a=(c=(u=t).times(u).times(u)).plus(d),t=F(a.plus(d).times(u),a.plus(c),s+2,1),A(u.d).slice(0,s)===(r=A(t.d)).slice(0,s)){if("9999"!=(r=r.slice(s-3,s+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(q(t,e+1,1),n=!t.times(t).times(t).eq(d));break}if(!i&&(q(u,e+1,0),u.times(u).times(u).eq(d))){t=u;break}s+=4,i=1}return p=!0,q(t,e,f.rounding,n)},C.decimalPlaces=C.dp=function(){var e,n=this.d,r=NaN;if(n){if(r=7*((e=n.length-1)-y(this.e/7)),e=n[e])for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r},C.dividedBy=C.div=function(e){return F(this,new this.constructor(e))},C.dividedToIntegerBy=C.divToInt=function(e){var n=this.constructor;return q(F(this,new n(e),0,1,1),n.precision,n.rounding)},C.equals=C.eq=function(e){return 0===this.cmp(e)},C.floor=function(){return q(new this.constructor(this),this.e+1,3)},C.greaterThan=C.gt=function(e){return this.cmp(e)>0},C.greaterThanOrEqualTo=C.gte=function(e){var n=this.cmp(e);return 1==n||0===n},C.hyperbolicCosine=C.cosh=function(){var e,n,r,t,i,o=this,s=o.constructor,u=new s(1);if(!o.isFinite())return new s(o.s?1/0:NaN);if(o.isZero())return u;r=s.precision,t=s.rounding,s.precision=r+Math.max(o.e,o.sd())+4,s.rounding=1,(i=o.d.length)<32?n=(1/G(4,e=Math.ceil(i/3))).toString():(e=16,n="2.3283064365386962890625e-10"),o=Y(s,1,o.times(n),new s(1),!0);for(var c,a=e,d=new s(8);a--;)c=o.times(o),o=u.minus(c.times(d.minus(c.times(d))));return q(o,s.precision=r,s.rounding=t,!0)},C.hyperbolicSine=C.sinh=function(){var e,n,r,t,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(n=o.precision,r=o.rounding,o.precision=n+Math.max(i.e,i.sd())+4,o.rounding=1,(t=i.d.length)<3)i=Y(o,2,i,i,!0);else{e=(e=1.4*Math.sqrt(t))>16?16:0|e,i=Y(o,2,i=i.times(1/G(5,e)),i,!0);for(var s,u=new o(5),c=new o(16),a=new o(20);e--;)s=i.times(i),i=i.times(u.plus(s.times(c.times(s).plus(a))))}return o.precision=n,o.rounding=r,q(i,n,r,!0)},C.hyperbolicTangent=C.tanh=function(){var e,n,r=this,t=r.constructor;return r.isFinite()?r.isZero()?new t(r):(e=t.precision,n=t.rounding,t.precision=e+7,t.rounding=1,F(r.sinh(),r.cosh(),t.precision=e,t.rounding=n)):new t(r.s)},C.inverseCosine=C.acos=function(){var e,n=this,r=n.constructor,t=n.abs().cmp(1),i=r.precision,o=r.rounding;return-1!==t?0===t?n.isNeg()?T(r,i,o):new r(0):new r(NaN):n.isZero()?T(r,i+4,o).times(.5):(r.precision=i+6,r.rounding=1,n=n.asin(),e=T(r,i+4,o).times(.5),r.precision=i,r.rounding=o,e.minus(n))},C.inverseHyperbolicCosine=C.acosh=function(){var e,n,r=this,t=r.constructor;return r.lte(1)?new t(r.eq(1)?0:NaN):r.isFinite()?(e=t.precision,n=t.rounding,t.precision=e+Math.max(Math.abs(r.e),r.sd())+4,t.rounding=1,p=!1,r=r.times(r).minus(1).sqrt().plus(r),p=!0,t.precision=e,t.rounding=n,r.ln()):new t(r)},C.inverseHyperbolicSine=C.asinh=function(){var e,n,r=this,t=r.constructor;return!r.isFinite()||r.isZero()?new t(r):(e=t.precision,n=t.rounding,t.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,t.rounding=1,p=!1,r=r.times(r).plus(1).sqrt().plus(r),p=!0,t.precision=e,t.rounding=n,r.ln())},C.inverseHyperbolicTangent=C.atanh=function(){var e,n,r,t,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,n=o.rounding,t=i.sd(),Math.max(t,e)<2*-i.e-1?q(new o(i),e,n,!0):(o.precision=r=t-i.e,i=F(i.plus(1),new o(1).minus(i),r+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=n,i.times(.5))):new o(NaN)},C.inverseSine=C.asin=function(){var e,n,r,t,i=this,o=i.constructor;return i.isZero()?new o(i):(n=i.abs().cmp(1),r=o.precision,t=o.rounding,-1!==n?0===n?((e=T(o,r+4,t).times(.5)).s=i.s,e):new o(NaN):(o.precision=r+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=r,o.rounding=t,i.times(2)))},C.inverseTangent=C.atan=function(){var e,n,r,t,i,o,s,u,c,a=this,d=a.constructor,f=d.precision,l=d.rounding;if(a.isFinite()){if(a.isZero())return new d(a);if(a.abs().eq(1)&&f+4<=O)return(s=T(d,f+4,l).times(.25)).s=a.s,s}else{if(!a.s)return new d(NaN);if(f+4<=O)return(s=T(d,f+4,l).times(.5)).s=a.s,s}for(d.precision=u=f+10,d.rounding=1,e=r=Math.min(28,u/7+2|0);e;--e)a=a.div(a.times(a).plus(1).sqrt().plus(1));for(p=!1,n=Math.ceil(u/7),t=1,c=a.times(a),s=new d(a),i=a;-1!==e;)if(i=i.times(c),o=s.minus(i.div(t+=2)),i=i.times(c),void 0!==(s=o.plus(i.div(t+=2))).d[n])for(e=n;s.d[e]===o.d[e]&&e--;);return r&&(s=s.times(2<<r-1)),p=!0,q(s,d.precision=f,d.rounding=l,!0)},C.isFinite=function(){return!!this.d},C.isInteger=C.isInt=function(){return!!this.d&&y(this.e/7)>this.d.length-2},C.isNaN=function(){return!this.s},C.isNegative=C.isNeg=function(){return this.s<0},C.isPositive=C.isPos=function(){return this.s>0},C.isZero=function(){return!!this.d&&0===this.d[0]},C.lessThan=C.lt=function(e){return this.cmp(e)<0},C.lessThanOrEqualTo=C.lte=function(e){return this.cmp(e)<1},C.logarithm=C.log=function(e){var n,r,t,i,o,s,u,c,a=this,d=a.constructor,f=d.precision,l=d.rounding;if(null==e)e=new d(10),n=!0;else{if(r=(e=new d(e)).d,e.s<0||!r||!r[0]||e.eq(1))return new d(NaN);n=e.eq(10)}if(r=a.d,a.s<0||!r||!r[0]||a.eq(1))return new d(r&&!r[0]?-1/0:1!=a.s?NaN:r?0:1/0);if(n)if(r.length>1)o=!0;else{for(i=r[0];i%10==0;)i/=10;o=1!==i}if(p=!1,s=B(a,u=f+5),t=n?P(d,u+10):B(e,u),D((c=F(s,t,u,1)).d,i=f,l))do{if(s=B(a,u+=10),t=n?P(d,u+10):B(e,u),c=F(s,t,u,1),!o){+A(c.d).slice(i+1,i+15)+1==1e14&&(c=q(c,f+1,0));break}}while(D(c.d,i+=10,l));return p=!0,q(c,f,l)},C.minus=C.sub=function(e){var n,r,t,i,o,s,u,c,a,d,f,l,h=this,g=h.constructor;if(e=new g(e),!h.d||!e.d)return h.s&&e.s?h.d?e.s=-e.s:e=new g(e.d||h.s!==e.s?h:NaN):e=new g(NaN),e;if(h.s!=e.s)return e.s=-e.s,h.plus(e);if(a=h.d,l=e.d,u=g.precision,c=g.rounding,!a[0]||!l[0]){if(l[0])e.s=-e.s;else{if(!a[0])return new g(3===c?-0:0);e=new g(h)}return p?q(e,u,c):e}if(r=y(e.e/7),d=y(h.e/7),a=a.slice(),o=d-r){for((f=o<0)?(n=a,o=-o,s=l.length):(n=l,r=d,s=a.length),o>(t=Math.max(Math.ceil(u/7),s)+2)&&(o=t,n.length=1),n.reverse(),t=o;t--;)n.push(0);n.reverse()}else{for((f=(t=a.length)<(s=l.length))&&(s=t),t=0;t<s;t++)if(a[t]!=l[t]){f=a[t]<l[t];break}o=0}for(f&&(n=a,a=l,l=n,e.s=-e.s),s=a.length,t=l.length-s;t>0;--t)a[s++]=0;for(t=l.length;t>o;){if(a[--t]<l[t]){for(i=t;i&&0===a[--i];)a[i]=x-1;--a[i],a[t]+=x}a[t]-=l[t]}for(;0===a[--s];)a.pop();for(;0===a[0];a.shift())--r;return a[0]?(e.d=a,e.e=S(a,r),p?q(e,u,c):e):new g(3===c?-0:0)},C.modulo=C.mod=function(e){var n,r=this,t=r.constructor;return e=new t(e),!r.d||!e.s||e.d&&!e.d[0]?new t(NaN):!e.d||r.d&&!r.d[0]?q(new t(r),t.precision,t.rounding):(p=!1,9==t.modulo?(n=F(r,e.abs(),0,3,1)).s*=e.s:n=F(r,e,0,t.modulo,1),n=n.times(e),p=!0,r.minus(n))},C.naturalExponential=C.exp=function(){return z(this)},C.naturalLogarithm=C.ln=function(){return B(this)},C.negated=C.neg=function(){var e=new this.constructor(this);return e.s=-e.s,q(e)},C.plus=C.add=function(e){var n,r,t,i,o,s,u,c,a,d,f=this,l=f.constructor;if(e=new l(e),!f.d||!e.d)return f.s&&e.s?f.d||(e=new l(e.d||f.s===e.s?f:NaN)):e=new l(NaN),e;if(f.s!=e.s)return e.s=-e.s,f.minus(e);if(a=f.d,d=e.d,u=l.precision,c=l.rounding,!a[0]||!d[0])return d[0]||(e=new l(f)),p?q(e,u,c):e;if(o=y(f.e/7),t=y(e.e/7),a=a.slice(),i=o-t){for(i<0?(r=a,i=-i,s=d.length):(r=d,t=o,s=a.length),i>(s=(o=Math.ceil(u/7))>s?o+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=a.length)-(i=d.length)<0&&(i=s,r=d,d=a,a=r),n=0;i;)n=(a[--i]=a[i]+d[i]+n)/x|0,a[i]%=x;for(n&&(a.unshift(n),++t),s=a.length;0==a[--s];)a.pop();return e.d=a,e.e=S(a,t),p?q(e,u,c):e},C.precision=C.sd=function(e){var n,r=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(v+e);return r.d?(n=U(r.d),e&&r.e+1>n&&(n=r.e+1)):n=NaN,n},C.round=function(){var e=this,n=e.constructor;return q(new n(e),e.e+1,n.rounding)},C.sine=C.sin=function(){var e,n,r=this,t=r.constructor;return r.isFinite()?r.isZero()?new t(r):(e=t.precision,n=t.rounding,t.precision=e+Math.max(r.e,r.sd())+7,t.rounding=1,r=function(e,n){var r,t=n.d.length;if(t<3)return Y(e,2,n,n);r=(r=1.4*Math.sqrt(t))>16?16:0|r,n=Y(e,2,n=n.times(1/G(5,r)),n);for(var i,o=new e(5),s=new e(16),u=new e(20);r--;)i=n.times(n),n=n.times(o.plus(i.times(s.times(i).minus(u))));return n}(t,K(t,r)),t.precision=e,t.rounding=n,q(u>2?r.neg():r,e,n,!0)):new t(NaN)},C.squareRoot=C.sqrt=function(){var e,n,r,t,i,o,s=this,u=s.d,c=s.e,a=s.s,d=s.constructor;if(1!==a||!u||!u[0])return new d(!a||a<0&&(!u||u[0])?NaN:u?s:1/0);for(p=!1,0==(a=Math.sqrt(+s))||a==1/0?(((n=A(u)).length+c)%2==0&&(n+="0"),a=Math.sqrt(n),c=y((c+1)/2)-(c<0||c%2),t=new d(n=a==1/0?"5e"+c:(n=a.toExponential()).slice(0,n.indexOf("e")+1)+c)):t=new d(a.toString()),r=(c=d.precision)+3;;)if(t=(o=t).plus(F(s,o,r+2,1)).times(.5),A(o.d).slice(0,r)===(n=A(t.d)).slice(0,r)){if("9999"!=(n=n.slice(r-3,r+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(q(t,c+1,1),e=!t.times(t).eq(s));break}if(!i&&(q(o,c+1,0),o.times(o).eq(s))){t=o;break}r+=4,i=1}return p=!0,q(t,c,d.rounding,e)},C.tangent=C.tan=function(){var e,n,r=this,t=r.constructor;return r.isFinite()?r.isZero()?new t(r):(e=t.precision,n=t.rounding,t.precision=e+10,t.rounding=1,(r=r.sin()).s=1,r=F(r,new t(1).minus(r.times(r)).sqrt(),e+10,0),t.precision=e,t.rounding=n,q(2==u||4==u?r.neg():r,e,n,!0)):new t(NaN)},C.times=C.mul=function(e){var n,r,t,i,o,s,u,c,a,d=this,f=d.constructor,l=d.d,h=(e=new f(e)).d;if(e.s*=d.s,!(l&&l[0]&&h&&h[0]))return new f(!e.s||l&&!l[0]&&!h||h&&!h[0]&&!l?NaN:l&&h?0*e.s:e.s/0);for(r=y(d.e/7)+y(e.e/7),(c=l.length)<(a=h.length)&&(o=l,l=h,h=o,s=c,c=a,a=s),o=[],t=s=c+a;t--;)o.push(0);for(t=a;--t>=0;){for(n=0,i=c+t;i>t;)u=o[i]+h[t]*l[i-t-1]+n,o[i--]=u%x|0,n=u/x|0;o[i]=(o[i]+n)%x|0}for(;!o[--s];)o.pop();return n?++r:o.shift(),e.d=o,e.e=S(o,r),p?q(e,f.precision,f.rounding):e},C.toBinary=function(e,n){return Q(this,2,e,n)},C.toDecimalPlaces=C.toDP=function(e,n){var r=this,t=r.constructor;return r=new t(r),void 0===e?r:(I(e,0,a),void 0===n?n=t.rounding:I(n,0,8),q(r,e+r.e+1,n))},C.toExponential=function(e,n){var r,t=this,i=t.constructor;return void 0===e?r=k(t,!0):(I(e,0,a),void 0===n?n=i.rounding:I(n,0,8),r=k(t=q(new i(t),e+1,n),!0,e+1)),t.isNeg()&&!t.isZero()?"-"+r:r},C.toFixed=function(e,n){var r,t,i=this,o=i.constructor;return void 0===e?r=k(i):(I(e,0,a),void 0===n?n=o.rounding:I(n,0,8),r=k(t=q(new o(i),e+i.e+1,n),!1,e+t.e+1)),i.isNeg()&&!i.isZero()?"-"+r:r},C.toFraction=function(e){var n,r,t,i,o,s,u,c,a,d,f,l,h=this,g=h.d,m=h.constructor;if(!g)return new m(h);if(a=r=new m(1),t=c=new m(0),s=(o=(n=new m(t)).e=U(g)-h.e-1)%7,n.d[0]=M(10,s<0?7+s:s),null==e)e=o>0?n:a;else{if(!(u=new m(e)).isInt()||u.lt(a))throw Error(v+u);e=u.gt(n)?o>0?n:a:u}for(p=!1,u=new m(A(g)),d=m.precision,m.precision=o=7*g.length*2;f=F(u,n,0,1,1),1!=(i=r.plus(f.times(t))).cmp(e);)r=t,t=i,i=a,a=c.plus(f.times(i)),c=i,i=n,n=u.minus(f.times(i)),u=i;return i=F(e.minus(r),t,0,1,1),c=c.plus(i.times(a)),r=r.plus(i.times(t)),c.s=a.s=h.s,l=F(a,t,o,1).minus(h).abs().cmp(F(c,r,o,1).minus(h).abs())<1?[a,t]:[c,r],m.precision=d,p=!0,l},C.toHexadecimal=C.toHex=function(e,n){return Q(this,16,e,n)},C.toNearest=function(e,n){var r=this,t=r.constructor;if(r=new t(r),null==e){if(!r.d)return r;e=new t(1),n=t.rounding}else{if(e=new t(e),void 0===n?n=t.rounding:I(n,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(p=!1,r=F(r,e,0,n,1).times(e),p=!0,q(r)):(e.s=r.s,r=e),r},C.toNumber=function(){return+this},C.toOctal=function(e,n){return Q(this,8,e,n)},C.toPower=C.pow=function(e){var n,r,t,i,o,s,u=this,c=u.constructor,a=+(e=new c(e));if(!(u.d&&e.d&&u.d[0]&&e.d[0]))return new c(M(+u,a));if((u=new c(u)).eq(1))return u;if(t=c.precision,o=c.rounding,e.eq(1))return q(u,t,o);if((n=y(e.e/7))>=e.d.length-1&&(r=a<0?-a:a)<=9007199254740991)return i=L(c,u,r,t),e.s<0?new c(1).div(i):q(i,t,o);if((s=u.s)<0){if(n<e.d.length-1)return new c(NaN);if(0==(1&e.d[n])&&(s=1),0==u.e&&1==u.d[0]&&1==u.d.length)return u.s=s,u}return(n=0!=(r=M(+u,a))&&isFinite(r)?new c(r+"").e:y(a*(Math.log("0."+A(u.d))/Math.LN10+u.e+1)))>c.maxE+1||n<c.minE-1?new c(n>0?s/0:0):(p=!1,c.rounding=u.s=1,r=Math.min(12,(n+"").length),(i=z(e.times(B(u,t+r)),t)).d&&D((i=q(i,t+5,1)).d,t,o)&&(n=t+10,+A((i=q(z(e.times(B(u,n+r)),n),n+5,1)).d).slice(t+1,t+15)+1==1e14&&(i=q(i,t+1,0))),i.s=s,p=!0,c.rounding=o,q(i,t,o))},C.toPrecision=function(e,n){var r,t=this,i=t.constructor;return void 0===e?r=k(t,t.e<=i.toExpNeg||t.e>=i.toExpPos):(I(e,1,a),void 0===n?n=i.rounding:I(n,0,8),r=k(t=q(new i(t),e,n),e<=t.e||t.e<=i.toExpNeg,e)),t.isNeg()&&!t.isZero()?"-"+r:r},C.toSignificantDigits=C.toSD=function(e,n){var r=this.constructor;return void 0===e?(e=r.precision,n=r.rounding):(I(e,1,a),void 0===n?n=r.rounding:I(n,0,8)),q(new r(this),e,n)},C.toString=function(){var e=this,n=e.constructor,r=k(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r},C.truncated=C.trunc=function(){return q(new this.constructor(this),this.e+1,1)},C.valueOf=C.toJSON=function(){var e=this,n=e.constructor,r=k(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+r:r};var F=function(){function e(e,n,r){var t,i=0,o=e.length;for(e=e.slice();o--;)t=e[o]*n+i,e[o]=t%r|0,i=t/r|0;return i&&e.unshift(i),e}function n(e,n,r,t){var i,o;if(r!=t)o=r>t?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=n[i]){o=e[i]>n[i]?1:-1;break}return o}function r(e,n,r,t){for(var i=0;r--;)e[r]-=i,i=e[r]<n[r]?1:0,e[r]=i*t+e[r]-n[r];for(;!e[0]&&e.length>1;)e.shift()}return function(t,i,o,u,c,a){var d,f,l,h,p,g,v,m,w,M,N,b,_,E,R,O,C,A,I,D,j=t.constructor,F=t.s==i.s?1:-1,k=t.d,S=i.d;if(!(k&&k[0]&&S&&S[0]))return new j(t.s&&i.s&&(k?!S||k[0]!=S[0]:S)?k&&0==k[0]||!S?0*F:F/0:NaN);for(a?(p=1,f=t.e-i.e):(a=x,p=7,f=y(t.e/p)-y(i.e/p)),I=S.length,C=k.length,M=(w=new j(F)).d=[],l=0;S[l]==(k[l]||0);l++);if(S[l]>(k[l]||0)&&f--,null==o?(E=o=j.precision,u=j.rounding):E=c?o+(t.e-i.e)+1:o,E<0)M.push(1),g=!0;else{if(E=E/p+2|0,l=0,1==I){for(h=0,S=S[0],E++;(l<C||h)&&E--;l++)R=h*a+(k[l]||0),M[l]=R/S|0,h=R%S|0;g=h||l<C}else{for((h=a/(S[0]+1)|0)>1&&(S=e(S,h,a),k=e(k,h,a),I=S.length,C=k.length),O=I,b=(N=k.slice(0,I)).length;b<I;)N[b++]=0;(D=S.slice()).unshift(0),A=S[0],S[1]>=a/2&&++A;do{h=0,(d=n(S,N,I,b))<0?(_=N[0],I!=b&&(_=_*a+(N[1]||0)),(h=_/A|0)>1?(h>=a&&(h=a-1),1==(d=n(v=e(S,h,a),N,m=v.length,b=N.length))&&(h--,r(v,I<m?D:S,m,a))):(0==h&&(d=h=1),v=S.slice()),(m=v.length)<b&&v.unshift(0),r(N,v,b,a),-1==d&&(d=n(S,N,I,b=N.length))<1&&(h++,r(N,I<b?D:S,b,a)),b=N.length):0===d&&(h++,N=[0]),M[l++]=h,d&&N[0]?N[b++]=k[O]||0:(N=[k[O]],b=1)}while((O++<C||void 0!==N[0])&&E--);g=void 0!==N[0]}M[0]||M.shift()}if(1==p)w.e=f,s=g;else{for(l=1,h=M[0];h>=10;h/=10)l++;w.e=l+f*p-1,q(w,c?o+w.e+1:o,u,g)}return w}}();function q(e,n,r,t){var i,o,s,u,c,a,d,f,l,h=e.constructor;e:if(null!=n){if(!(f=e.d))return e;for(i=1,u=f[0];u>=10;u/=10)i++;if((o=n-i)<0)o+=7,s=n,c=(d=f[l=0])/M(10,i-s-1)%10|0;else if((l=Math.ceil((o+1)/7))>=(u=f.length)){if(!t)break e;for(;u++<=l;)f.push(0);d=c=0,i=1,s=(o%=7)-7+1}else{for(d=u=f[l],i=1;u>=10;u/=10)i++;c=(s=(o%=7)-7+i)<0?0:d/M(10,i-s-1)%10|0}if(t=t||n<0||void 0!==f[l+1]||(s<0?d:d%M(10,i-s-1)),a=r<4?(c||t)&&(0==r||r==(e.s<0?3:2)):c>5||5==c&&(4==r||t||6==r&&(o>0?s>0?d/M(10,i-s):0:f[l-1])%10&1||r==(e.s<0?8:7)),n<1||!f[0])return f.length=0,a?(n-=e.e+1,f[0]=M(10,(7-n%7)%7),e.e=-n||0):f[0]=e.e=0,e;if(0==o?(f.length=l,u=1,l--):(f.length=l+1,u=M(10,7-o),f[l]=s>0?(d/M(10,i-s)%M(10,s)|0)*u:0),a)for(;;){if(0==l){for(o=1,s=f[0];s>=10;s/=10)o++;for(s=f[0]+=u,u=1;s>=10;s/=10)u++;o!=u&&(e.e++,f[0]==x&&(f[0]=1));break}if(f[l]+=u,f[l]!=x)break;f[l--]=0,u=1}for(o=f.length;0===f[--o];)f.pop()}return p&&(e.e>h.maxE?(e.d=null,e.e=NaN):e.e<h.minE&&(e.e=0,e.d=[0])),e}function k(e,n,r){if(!e.isFinite())return $(e);var t,i=e.e,o=A(e.d),s=o.length;return n?(r&&(t=r-s)>0?o=o.charAt(0)+"."+o.slice(1)+Z(t):s>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+Z(-i-1)+o,r&&(t=r-s)>0&&(o+=Z(t))):i>=s?(o+=Z(i+1-s),r&&(t=r-i-1)>0&&(o=o+"."+Z(t))):((t=i+1)<s&&(o=o.slice(0,t)+"."+o.slice(t)),r&&(t=r-s)>0&&(i+1===s&&(o+="."),o+=Z(t))),o}function S(e,n){var r=e[0];for(n*=7;r>=10;r/=10)n++;return n}function P(e,n,r){if(n>R)throw p=!0,r&&(e.precision=r),Error(m);return q(new e(f),n,1,!0)}function T(e,n,r){if(n>O)throw Error(m);return q(new e(l),n,r,!0)}function U(e){var n=e.length-1,r=7*n+1;if(n=e[n]){for(;n%10==0;n/=10)r--;for(n=e[0];n>=10;n/=10)r++}return r}function Z(e){for(var n="";e--;)n+="0";return n}function L(e,n,r,t){var i,o=new e(1),s=Math.ceil(t/7+4);for(p=!1;;){if(r%2&&X((o=o.times(n)).d,s)&&(i=!0),0===(r=y(r/2))){r=o.d.length-1,i&&0===o.d[r]&&++o.d[r];break}X((n=n.times(n)).d,s)}return p=!0,o}function H(e){return 1&e.d[e.d.length-1]}function V(e,n,r){for(var t,i=new e(n[0]),o=0;++o<n.length;){if(!(t=new e(n[o])).s){i=t;break}i[r](t)&&(i=t)}return i}function z(e,n){var r,t,i,o,s,u,c,a=0,d=0,f=0,l=e.constructor,h=l.rounding,g=l.precision;if(!e.d||!e.d[0]||e.e>17)return new l(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==n?(p=!1,c=g):c=n,u=new l(.03125);e.e>-2;)e=e.times(u),f+=5;for(c+=t=Math.log(M(2,f))/Math.LN10*2+5|0,r=o=s=new l(1),l.precision=c;;){if(o=q(o.times(e),c,1),r=r.times(++d),A((u=s.plus(F(o,r,c,1))).d).slice(0,c)===A(s.d).slice(0,c)){for(i=f;i--;)s=q(s.times(s),c,1);if(null!=n)return l.precision=g,s;if(!(a<3&&D(s.d,c-t,h,a)))return q(s,l.precision=g,h,p=!0);l.precision=c+=10,r=o=u=new l(1),d=0,a++}s=u}}function B(e,n){var r,t,i,o,s,u,c,a,d,f,l,h=1,g=e,v=g.d,m=g.constructor,w=m.rounding,y=m.precision;if(g.s<0||!v||!v[0]||!g.e&&1==v[0]&&1==v.length)return new m(v&&!v[0]?-1/0:1!=g.s?NaN:v?0:g);if(null==n?(p=!1,d=y):d=n,m.precision=d+=10,t=(r=A(v)).charAt(0),!(Math.abs(o=g.e)<15e14))return a=P(m,d+2,y).times(o+""),g=B(new m(t+"."+r.slice(1)),d-10).plus(a),m.precision=y,null==n?q(g,y,w,p=!0):g;for(;t<7&&1!=t||1==t&&r.charAt(1)>3;)t=(r=A((g=g.times(e)).d)).charAt(0),h++;for(o=g.e,t>1?(g=new m("0."+r),o++):g=new m(t+"."+r.slice(1)),f=g,c=s=g=F(g.minus(1),g.plus(1),d,1),l=q(g.times(g),d,1),i=3;;){if(s=q(s.times(l),d,1),A((a=c.plus(F(s,new m(i),d,1))).d).slice(0,d)===A(c.d).slice(0,d)){if(c=c.times(2),0!==o&&(c=c.plus(P(m,d+2,y).times(o+""))),c=F(c,new m(h),d,1),null!=n)return m.precision=y,c;if(!D(c.d,d-10,w,u))return q(c,m.precision=y,w,p=!0);m.precision=d+=10,a=s=g=F(f.minus(1),f.plus(1),d,1),l=q(g.times(g),d,1),i=u=1}c=a,i+=2}}function $(e){return String(e.s*e.s/0)}function W(e,n){var r,t,i;for((r=n.indexOf("."))>-1&&(n=n.replace(".","")),(t=n.search(/e/i))>0?(r<0&&(r=t),r+=+n.slice(t+1),n=n.substring(0,t)):r<0&&(r=n.length),t=0;48===n.charCodeAt(t);t++);for(i=n.length;48===n.charCodeAt(i-1);--i);if(n=n.slice(t,i)){if(i-=t,e.e=r=r-t-1,e.d=[],t=(r+1)%7,r<0&&(t+=7),t<i){for(t&&e.d.push(+n.slice(0,t)),i-=7;t<i;)e.d.push(+n.slice(t,t+=7));t=7-(n=n.slice(t)).length}else t-=i;for(;t--;)n+="0";e.d.push(+n),p&&(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 J(e,n){var r,t,i,s,u,c,a,d,f;if("Infinity"===n||"NaN"===n)return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(b.test(n))r=16,n=n.toLowerCase();else if(N.test(n))r=2;else{if(!_.test(n))throw Error(v+n);r=8}for((s=n.search(/p/i))>0?(a=+n.slice(s+1),n=n.substring(2,s)):n=n.slice(2),u=(s=n.indexOf("."))>=0,t=e.constructor,u&&(s=(c=(n=n.replace(".","")).length)-s,i=L(t,new t(r),s,2*s)),s=f=(d=j(n,r,x)).length-1;0===d[s];--s)d.pop();return s<0?new t(0*e.s):(e.e=S(d,f),e.d=d,p=!1,u&&(e=F(e,i,4*c)),a&&(e=e.times(Math.abs(a)<54?M(2,a):o.pow(2,a))),p=!0,e)}function Y(e,n,r,t,i){var o,s,u,c,a=e.precision,d=Math.ceil(a/7);for(p=!1,c=r.times(r),u=new e(t);;){if(s=F(u.times(c),new e(n++*n++),a,1),u=i?t.plus(s):t.minus(s),t=F(s.times(c),new e(n++*n++),a,1),void 0!==(s=u.plus(t)).d[d]){for(o=d;s.d[o]===u.d[o]&&o--;);if(-1==o)break}o=u,u=t,t=s,s=o}return p=!0,s.d.length=d+1,s}function G(e,n){for(var r=e;--n;)r*=e;return r}function K(e,n){var r,t=n.s<0,i=T(e,e.precision,1),o=i.times(.5);if((n=n.abs()).lte(o))return u=t?4:1,n;if((r=n.divToInt(i)).isZero())u=t?3:2;else{if((n=n.minus(r.times(i))).lte(o))return u=H(r)?t?2:3:t?4:1,n;u=H(r)?t?1:4:t?3:2}return n.minus(i).abs()}function Q(e,n,r,t){var i,o,u,c,f,l,h,p,g,v=e.constructor,m=void 0!==r;if(m?(I(r,1,a),void 0===t?t=v.rounding:I(t,0,8)):(r=v.precision,t=v.rounding),e.isFinite()){for(m?(i=2,16==n?r=4*r-3:8==n&&(r=3*r-2)):i=n,(u=(h=k(e)).indexOf("."))>=0&&(h=h.replace(".",""),(g=new v(1)).e=h.length-u,g.d=j(k(g),10,i),g.e=g.d.length),o=f=(p=j(h,10,i)).length;0==p[--f];)p.pop();if(p[0]){if(u<0?o--:((e=new v(e)).d=p,e.e=o,p=(e=F(e,g,r,t,0,i)).d,o=e.e,l=s),u=p[r],c=i/2,l=l||void 0!==p[r+1],l=t<4?(void 0!==u||l)&&(0===t||t===(e.s<0?3:2)):u>c||u===c&&(4===t||l||6===t&&1&p[r-1]||t===(e.s<0?8:7)),p.length=r,l)for(;++p[--r]>i-1;)p[r]=0,r||(++o,p.unshift(1));for(f=p.length;!p[f-1];--f);for(u=0,h="";u<f;u++)h+=d.charAt(p[u]);if(m){if(f>1)if(16==n||8==n){for(u=16==n?4:3,--f;f%u;f++)h+="0";for(f=(p=j(h,i,n)).length;!p[f-1];--f);for(u=1,h="1.";u<f;u++)h+=d.charAt(p[u])}else h=h.charAt(0)+"."+h.slice(1);h=h+(o<0?"p":"p+")+o}else if(o<0){for(;++o;)h="0"+h;h="0."+h}else if(++o>f)for(o-=f;o--;)h+="0";else o<f&&(h=h.slice(0,o)+"."+h.slice(o))}else h=m?"0p+0":"0";h=(16==n?"0x":2==n?"0b":8==n?"0o":"")+h}else h=$(e);return e.s<0?"-"+h:h}function X(e,n){if(e.length>n)return e.length=n,!0}function ee(e){return new this(e).abs()}function ne(e){return new this(e).acos()}function re(e){return new this(e).acosh()}function te(e,n){return new this(e).plus(n)}function ie(e){return new this(e).asin()}function oe(e){return new this(e).asinh()}function se(e){return new this(e).atan()}function ue(e){return new this(e).atanh()}function ce(e,n){e=new this(e),n=new this(n);var r,t=this.precision,i=this.rounding,o=t+4;return e.s&&n.s?e.d||n.d?!n.d||e.isZero()?(r=n.s<0?T(this,t,i):new this(0)).s=e.s:!e.d||n.isZero()?(r=T(this,o,1).times(.5)).s=e.s:n.s<0?(this.precision=o,this.rounding=1,r=this.atan(F(e,n,o,1)),n=T(this,o,1),this.precision=t,this.rounding=i,r=e.s<0?r.minus(n):r.plus(n)):r=this.atan(F(e,n,o,1)):(r=T(this,o,1).times(n.s>0?.25:.75)).s=e.s:r=new this(NaN),r}function ae(e){return new this(e).cbrt()}function de(e){return q(e=new this(e),e.e+1,2)}function fe(e){if(!e||"object"!=typeof e)throw Error(g+"Object expected");var n,r,t,i=!0===e.defaults,o=["precision",1,a,"rounding",0,8,"toExpNeg",-c,0,"toExpPos",0,c,"maxE",0,c,"minE",-c,0,"modulo",0,9];for(n=0;n<o.length;n+=3)if(r=o[n],i&&(this[r]=h[r]),void 0!==(t=e[r])){if(!(y(t)===t&&t>=o[n+1]&&t<=o[n+2]))throw Error(v+r+": "+t);this[r]=t}if(r="crypto",i&&(this[r]=h[r]),void 0!==(t=e[r])){if(!0!==t&&!1!==t&&0!==t&&1!==t)throw Error(v+r+": "+t);if(t){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(w);this[r]=!0}else this[r]=!1}return this}function le(e){return new this(e).cos()}function he(e){return new this(e).cosh()}function pe(e,n){return new this(e).div(n)}function ge(e){return new this(e).exp()}function ve(e){return q(e=new this(e),e.e+1,3)}function me(){var e,n,r=new this(0);for(p=!1,e=0;e<arguments.length;)if((n=new this(arguments[e++])).d)r.d&&(r=r.plus(n.times(n)));else{if(n.s)return p=!0,new this(1/0);r=n}return p=!0,r.sqrt()}function we(e){return e instanceof o||e&&"[object Decimal]"===e.name||!1}function ye(e){return new this(e).ln()}function Me(e,n){return new this(e).log(n)}function Ne(e){return new this(e).log(2)}function be(e){return new this(e).log(10)}function _e(){return V(this,arguments,"lt")}function Ee(){return V(this,arguments,"gt")}function xe(e,n){return new this(e).mod(n)}function Re(e,n){return new this(e).mul(n)}function Oe(e,n){return new this(e).pow(n)}function Ce(e){var n,r,t,i,o=0,s=new this(1),u=[];if(void 0===e?e=this.precision:I(e,1,a),t=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(n=crypto.getRandomValues(new Uint32Array(t));o<t;)(i=n[o])>=429e7?n[o]=crypto.getRandomValues(new Uint32Array(1))[0]:u[o++]=i%1e7;else{if(!crypto.randomBytes)throw Error(w);for(n=crypto.randomBytes(t*=4);o<t;)(i=n[o]+(n[o+1]<<8)+(n[o+2]<<16)+((127&n[o+3])<<24))>=214e7?crypto.randomBytes(4).copy(n,o):(u.push(i%1e7),o+=4);o=t/4}else for(;o<t;)u[o++]=1e7*Math.random()|0;for(e%=7,(t=u[--o])&&e&&(i=M(10,7-e),u[o]=(t/i|0)*i);0===u[o];o--)u.pop();if(o<0)r=0,u=[0];else{for(r=-1;0===u[0];r-=7)u.shift();for(t=1,i=u[0];i>=10;i/=10)t++;t<7&&(r-=7-t)}return s.e=r,s.d=u,s}function Ae(e){return q(e=new this(e),e.e+1,this.rounding)}function Ie(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function De(e){return new this(e).sin()}function je(e){return new this(e).sinh()}function Fe(e){return new this(e).sqrt()}function qe(e,n){return new this(e).sub(n)}function ke(e){return new this(e).tan()}function Se(e){return new this(e).tanh()}function Pe(e){return q(e=new this(e),e.e+1,1)}(o=function e(n){var r,t,i;function o(e){var n,r,t,i=this;if(!(i instanceof o))return new o(e);if(i.constructor=o,e instanceof o)return i.s=e.s,void(p?!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));if("number"==(t=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(n=0,r=e;r>=10;r/=10)n++;return void(p?n>o.maxE?(i.e=NaN,i.d=null):n<o.minE?(i.e=0,i.d=[0]):(i.e=n,i.d=[e]):(i.e=n,i.d=[e]))}return 0*e!=0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):W(i,e.toString())}if("string"!==t)throw Error(v+e);return 45===(r=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===r&&(e=e.slice(1)),i.s=1),E.test(e)?W(i,e):J(i,e)}if(o.prototype=C,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=fe,o.clone=e,o.isDecimal=we,o.abs=ee,o.acos=ne,o.acosh=re,o.add=te,o.asin=ie,o.asinh=oe,o.atan=se,o.atanh=ue,o.atan2=ce,o.cbrt=ae,o.ceil=de,o.cos=le,o.cosh=he,o.div=pe,o.exp=ge,o.floor=ve,o.hypot=me,o.ln=ye,o.log=Me,o.log10=be,o.log2=Ne,o.max=_e,o.min=Ee,o.mod=xe,o.mul=Re,o.pow=Oe,o.random=Ce,o.round=Ae,o.sign=Ie,o.sin=De,o.sinh=je,o.sqrt=Fe,o.sub=qe,o.tan=ke,o.tanh=Se,o.trunc=Pe,void 0===n&&(n={}),n&&!0!==n.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],r=0;r<i.length;)n.hasOwnProperty(t=i[r++])||(n[t]=this[t]);return o.config(n),o}(h)).default=o.Decimal=o,f=new o(f),l=new o(l),void 0===(t=function(){return o}.call(n,r,n,e))||(e.exports=t)}()},15554:e=>{"use strict";var n="%[a-f0-9]{2}",r=new RegExp(n,"gi"),t=new RegExp("("+n+")+","gi");function i(e,n){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;n=n||1;var r=e.slice(0,n),t=e.slice(n);return Array.prototype.concat.call([],i(r),i(t))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var n=e.match(r),t=1;t<n.length;t++)n=(e=i(n,t).join("")).match(r);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(n){return function(e){for(var n={"%FE%FF":"��","%FF%FE":"��"},r=t.exec(e);r;){try{n[r[0]]=decodeURIComponent(r[0])}catch(e){var i=o(r[0]);i!==r[0]&&(n[r[0]]=i)}r=t.exec(e)}n["%C2"]="�";for(var s=Object.keys(n),u=0;u<s.length;u++){var c=s[u];e=e.replace(new RegExp(c,"g"),n[c])}return e}(e)}}},34126:(e,n,r)=>{"use strict";var t=r(57785),i=r(37320),o=r(15554);function s(e,n){return n.encode?n.strict?t(e):encodeURIComponent(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort((function(e,n){return Number(e)-Number(n)})).map((function(n){return e[n]})):e}n.extract=function(e){return e.split("?")[1]||""},n.parse=function(e,n){var r=function(e){var n;switch(e.arrayFormat){case"index":return function(e,r,t){n=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),n?(void 0===t[e]&&(t[e]={}),t[e][n[1]]=r):t[e]=r};case"bracket":return function(e,r,t){n=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),n?void 0!==t[e]?t[e]=[].concat(t[e],r):t[e]=[r]:t[e]=r};default:return function(e,n,r){void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=n}}}(n=i({arrayFormat:"none"},n)),t=Object.create(null);return"string"!=typeof e?t:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),i=n.shift(),s=n.length>0?n.join("="):void 0;s=void 0===s?null:o(s),r(o(i),s,t)})),Object.keys(t).sort().reduce((function(e,n){var r=t[n];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[n]=u(r):e[n]=r,e}),Object.create(null))):t},n.stringify=function(e,n){var r=function(e){switch(e.arrayFormat){case"index":return function(n,r,t){return null===r?[s(n,e),"[",t,"]"].join(""):[s(n,e),"[",s(t,e),"]=",s(r,e)].join("")};case"bracket":return function(n,r){return null===r?s(n,e):[s(n,e),"[]=",s(r,e)].join("")};default:return function(n,r){return null===r?s(n,e):[s(n,e),"=",s(r,e)].join("")}}}(n=i({encode:!0,strict:!0,arrayFormat:"none"},n));return e?Object.keys(e).sort().map((function(t){var i=e[t];if(void 0===i)return"";if(null===i)return s(t,n);if(Array.isArray(i)){var o=[];return i.slice().forEach((function(e){void 0!==e&&o.push(r(t,e,o.length))})),o.join("&")}return s(t,n)+"="+s(i,n)})).filter((function(e){return e.length>0})).join("&"):""}},2314:(e,n,r)=>{"use strict";var t=r(28523).compose;n.__esModule=!0,n.composeWithDevTools=function(){if(0!==arguments.length)return"object"==typeof arguments[0]?t:t.apply(null,arguments)},n.devToolsEnhancer=function(){return function(e){return e}}},83273:(e,n,r)=>{"use strict";n.__esModule=!0,n.createDynamicMiddlewares=n.resetMiddlewares=n.removeMiddleware=n.addMiddleware=void 0;var t=r(28523),i=function(){var e=[];return{enhancer:function(n){return function(r){return function(i){var o=e.map((function(e){return e(n)}));return t.compose.apply(void 0,o)(r)(i)}}},addMiddleware:function(){for(var n=arguments.length,r=Array(n),t=0;t<n;t++)r[t]=arguments[t];e=[].concat(e,r)},removeMiddleware:function(n){var r=e.findIndex((function(e){return e===n}));-1!==r?e=e.filter((function(e,n){return n!==r})):console.error("Middleware does not exist!",n)},resetMiddlewares:function(){e=[]}}},o=i();n.default=o.enhancer;var s=o.addMiddleware,u=o.removeMiddleware,c=o.resetMiddlewares;n.addMiddleware=s,n.removeMiddleware=u,n.resetMiddlewares=c,n.createDynamicMiddlewares=i},95174:(e,n,r)=>{"use strict";n.__esModule=!0;var t=r(83273);n.getMiddlewareManager=function(){var e=t.createDynamicMiddlewares();return{getItems:function(){return[]},enhancer:e.enhancer,add:function(n){return e.addMiddleware.apply(e,n),n},remove:function(n){return n.forEach(e.removeMiddleware),n},dispose:function(){e.resetMiddlewares()}}}},12519:function(e,n,r){"use strict";var t=this&&this.__spreadArrays||function(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;var t=Array(e),i=0;for(n=0;n<r;n++)for(var o=arguments[n],s=0,u=o.length;s<u;s++,i++)t[i]=o[s];return t};n.__esModule=!0;var i=r(79329);n.getModuleManager=function(e,n,r){var o,s=null,u=[],c=new Set,a=function(e){if(e){if(!s)throw new Error("setDispatch should be called on ModuleManager before adding any modules.");e.forEach(s)}},d={getReducer:function(e,n){return o?o.reduce(e,n):e||null},setDispatch:function(e){s=e},getItems:function(){return[]},add:function(d){if(d&&0!==d.length){d=d.filter((function(e){return e}));var f=[];d.forEach((function(n){if(!c.has(n.id)){c.add(n.id),u.push(n),function(e){if(e)if(o)for(var n in e)o.add(n,e[n]);else o=i.getRefCountedReducerManager(i.getReducerManager(e,r))}(n.reducerMap);var t=n.middlewares;t&&function(n){n&&e.add(n)}(t),f.push(n)}})),s({type:"@@Internal/ModuleManager/SeedReducers"}),f.forEach((function(e){n.forEach((function(n){n.onModuleAdded&&n.onModuleAdded(e)}));var r={type:"@@Internal/ModuleManager/ModuleAdded",payload:e.id};a(e.initialActions?t([r],e.initialActions):[r])}))}},remove:function(r){r&&(r=r.filter((function(e){return e})).reverse()).forEach((function(r){var t;c.has(r.id)&&(a(r.finalActions),function(e){if(e&&o)for(var n in e)o.remove(n)}(r.reducerMap),(t=r.middlewares)&&e.remove(t),n.forEach((function(e){e.onModuleRemoved&&e.onModuleRemoved(r)})),c.delete(r.id),u=u.filter((function(e){return e.id!==r.id})),a([{type:"@@Internal/ModuleManager/ModuleRemoved",payload:r.id}]))}))},dispose:function(){d.remove(u)}};return d}},79329:function(e,n,r){"use strict";var t=this&&this.__assign||function(){return t=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},t.apply(this,arguments)};n.__esModule=!0;var i=r(28523),o=r(24446);function s(e,n){return void 0===n&&(n=i.combineReducers),e&&0!==Object.keys(e).length?n(e):function(e,n){return e||null}}n.getRefCountedReducerManager=function(e){var n=o.getStringRefCounter();for(var r in e.getReducerMap())n.add(r);return{reduce:e.reduce,getReducerMap:e.getReducerMap,add:function(r,t){0===n.getCount(r)&&e.add(r,t),n.add(r)},remove:function(r){n.remove(r),0===n.getCount(r)&&e.remove(r)}}},n.getReducerManager=function(e,n){void 0===n&&(n=i.combineReducers);var r=n(e),o=t({},e),u=[];return{getReducerMap:function(){return o},reduce:function(e,n){if(u.length>0){e=t({},e);for(var i=0,o=u;i<o.length;i++)delete e[o[i]];u=[]}return void 0===e&&(e={}),r(e,n)},add:function(e,t){e&&!o[e]&&(o[e]=t,r=s(o,n))},remove:function(e){e&&o[e]&&(delete o[e],u.push(e),r=s(o,n))}}}},45105:function(e,n,r){"use strict";var t=this&&this.__assign||function(){return t=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},t.apply(this,arguments)};n.__esModule=!0;var i=r(24446);n.getRefCountedManager=function(e,n,r){var o=i.getObjectRefCounter(n,r);e.getItems().forEach((function(e){return o.add(e)}));var s=t({},e);return s.add=function(n){if(n){var r=n.filter((function(e){return e})),t=r.filter((function(e){return 0===o.getCount(e)}));e.add(t),r.forEach(o.add)}},s.remove=function(n){n&&n.forEach((function(n){n&&(o.remove(n),0===o.getCount(n)&&e.remove([n]))}))},s.dispose=function(){e.dispose()},s}},88526:function(e,n,r){"use strict";var t=this&&this.__spreadArrays||function(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;var t=Array(e),i=0;for(n=0;n<r;n++)for(var o=arguments[n],s=0,u=o.length;s<u;s++,i++)t[i]=o[s];return t};n.__esModule=!0;var i=r(28523),o=r(2314),s=r(95174),u=r(12519),c=r(45105),a=r(23425);n.createStore=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var d=e.initialState,f=void 0===d?{}:d,l=e.extensions,h=void 0===l?[]:l,p=e.enhancers,g=void 0===p?[]:p,v=e.advancedComposeEnhancers,m=void 0===v?o.composeWithDevTools({}):v,w=e.advancedCombineReducers,y=h.reduce((function(e,n){return n.middleware&&e.push.apply(e,n.middleware),e}),[]),M=c.getRefCountedManager(s.getMiddlewareManager(),(function(e,n){return e===n})),N=m.apply(void 0,t(g,[i.applyMiddleware.apply(void 0,t(y,[M.enhancer]))])),b=c.getRefCountedManager(u.getModuleManager(M,h,w),(function(e,n){return e.id===n.id}),(function(e){return e.retained})),_=i.createStore(b.getReducer,f,N);b.setDispatch(_.dispatch);var E=function(e){var n=a.flatten(e);return b.add(n),{remove:function(){b.remove(n)}}},x=function(e){return E([e])};return h.forEach((function(e){e.onModuleManagerCreated&&e.onModuleManagerCreated({addModule:x,addModules:E})})),_.addModule=x,_.addModules=E,_.dispose=function(){b.dispose(),M.dispose(),h.forEach((function(e){e.dispose&&e.dispose()}))},_.addModules(n),_}},58166:(e,n)=>{"use strict";n.__esModule=!0,n.getMap=function(e){var n=[],r={};return{keys:n,get:function(t){if(t){var i=n.findIndex((function(n){return n&&e(n,t)}));if(-1!==i)return r[i]}},add:function(t,i){t&&-1===n.findIndex((function(n){return n&&e(n,t)}))&&(n.push(t),r[n.length-1]=i)},remove:function(t){if(t){var i=n.findIndex((function(n){return n&&e(n,t)}));if(-1!==i){delete n[i];var o=r[i];return delete r[i],o}}}}}},23425:function(e,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;var t=Array(e),i=0;for(n=0;n<r;n++)for(var o=arguments[n],s=0,u=o.length;s<u;s++,i++)t[i]=o[s];return t};n.__esModule=!0,n.flatten=function(e){if(e){for(var n=e.slice(),t=0;t<n.length;)Array.isArray(n[t])?n.splice.apply(n,r([t,1],n[t])):t++;return n}return e}},24446:(e,n)=>{"use strict";n.__esModule=!0,n.getObjectRefCounter=function(e,n){e||(e=function(e,n){return e===n}),n||(n=function(){return!1});var r=[],t=[];return{getCount:function(n){if(null==n)return 0;var i=r.findIndex((function(r){return r&&e(r,n)}));return-1===i?0:t[i]},add:function(i){if(null!=i){var o=r.findIndex((function(n){return n&&e(n,i)})),s=1;-1===o?(o=r.length,r.push(i)):s=t[o]+1,n(i)&&(s=1/0),t[o]=s}},remove:function(i){if(n(i))return!1;var o=r.findIndex((function(n){return n&&e(n,i)}));return-1!==o&&(1===t[o]?(delete r[o],delete t[o],!0):(t[o]=t[o]-1,!1))}}},n.getStringRefCounter=function(){var e={};return{getCount:function(n){return null==n?0:e[n]||0},add:function(n){null!=n&&(e[n]?e[n]++:e[n]=1)},remove:function(n){return null!=n&&!!e[n]&&(1===e[n]?(delete e[n],!0):(e[n]--,!1))}}}},70315:(e,n,r)=>{"use strict";function t(e){for(var r in e)n.hasOwnProperty(r)||(n[r]=e[r])}n.__esModule=!0,t(r(88526)),t(r(58166)),t(r(24446)),t(r(95174)),t(r(45105))},78522:function(e,n,r){"use strict";var t,i=this&&this.__extends||(t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])},t(e,n)},function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},o.apply(this,arguments)};n.__esModule=!0;var s=r(24328),u=r(52730),c=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.prototype.render=function(){var e=this;return s.createElement(u.ReactReduxContext.Consumer,null,(function(n){return s.createElement(a,o({},e.props,{reactReduxContext:n}))}))},n}(s.Component);n.DynamicModuleLoader=c;var a=function(e){function n(n){var r=e.call(this,n)||this;if(r._providerInitializationNeeded=!1,r._cleanup=function(){r._addedModules&&(r._addedModules.remove(),r._addedModules=void 0)},null==n.reactReduxContext){var t="Tried to render DynamicModuleLoader, but no ReactReduxContext was provided";throw console.error(t),new Error(t)}return r._store=n.reactReduxContext?n.reactReduxContext.store:void 0,r.props.strictMode?r.state={readyToRender:!1}:(r._addModules(),r.state={readyToRender:!0}),r}return i(n,e),n.prototype.render=function(){return this.state.readyToRender?this._providerInitializationNeeded?s.createElement(u.Provider,{store:this._store},s.createElement(c,o({},this.props))):s.createElement(s.Fragment,null,this._renderLoader(),s.createElement(d,{cleanup:this._cleanup})):null},n.prototype._renderLoader=function(){return this.props.children?"function"==typeof this.props.children?this.props.children():this.props.children:null},n.prototype._addModules=function(){var e=this.props,n=e.createStore,r=e.modules;if(this._store)this._addedModules=this._store.addModules(r);else{if(!n)throw new Error("Store could not be resolved from React context");this._store=n(),this._providerInitializationNeeded=!0}},n.prototype.componentDidMount=function(){this.props.strictMode&&(this._addModules(),this.setState({readyToRender:!0}))},n}(s.Component),d=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.prototype.render=function(){return null},n.prototype.componentWillUnmount=function(){this.props.cleanup()},n}(s.Component)},66780:(e,n,r)=>{"use strict";function t(e){for(var r in e)n.hasOwnProperty(r)||(n[r]=e[r])}n.__esModule=!0,t(r(70315)),t(r(78522))},57785:e=>{"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}}}]);
|
|
2
2
|
//# sourceMappingURL=1215.js.map
|
package/1334.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eda8aeba-6f70-45fa-91dd-d5957002781c",e._sentryDebugIdIdentifier="sentry-dbid-eda8aeba-6f70-45fa-91dd-d5957002781c")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"121550dce3f1ac9a94fd0e1c5555f31959d8a0cc"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[1334],{63655:(e,t,n)=>{var o=n(71600);t.Z=void 0;var s=o(n(68671)),i=n(52322),a=(0,s.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},25744:(e,t,n)=>{var o=n(71600);t.Z=void 0;var s=o(n(68671)),i=n(52322),a=(0,s.default)((0,i.jsx)("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}),"Fullscreen");t.Z=a},63436:(e,t,n)=>{var o=n(71600);t.Z=void 0;var s=o(n(68671)),i=n(52322),a=(0,s.default)((0,i.jsx)("path",{d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}),"FullscreenExit");t.Z=a},9366:(e,t,n)=>{n.d(t,{Q:()=>h});var o=n(7896),s=n(95038),i=n.n(s);const a={Y:"year",YY:"year",YYYY:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"digit",maxLength:1},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},d:{sectionType:"weekDay",contentType:"digit",maxLength:1},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},r={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},l=["Missing timezone plugin","To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`","Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone"].join("\n");class h{constructor({locale:e,formats:t,instance:n}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="moment",this.moment=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=a,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasTimezonePlugin=()=>void 0!==this.moment.tz,this.createSystemDate=e=>{const t=this.moment(e).local();return void 0===this.locale?t:t.locale(this.locale)},this.createUTCDate=e=>{const t=this.moment.utc(e);return void 0===this.locale?t:t.locale(this.locale)},this.createTZDate=(e,t)=>{if(!this.hasTimezonePlugin())throw new Error(l);const n="default"===t?this.moment(e):this.moment.tz(e,t);return void 0===this.locale?n:n.locale(this.locale)},this.date=e=>{if(null===e)return null;const t=this.moment(e);return t.locale(this.getCurrentLocaleCode()),t},this.dateWithTimezone=(e,t)=>null===e?null:"UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),this.getTimezone=e=>{var t,n,o;if(e.isUTC())return"UTC";const s=null==(t=e._z)?void 0:t.name;return null!=(n=null!=s?s:null==(o=this.moment.defaultZone)?void 0:o.name)?n:"system"},this.setTimezone=(e,t)=>{var n,o;if("UTC"===t)return e.clone().utc();if("system"===t)return e.clone().local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(l)}const s="default"===t?null!=(n=null==(o=this.moment.defaultZone)?void 0:o.name)?n:"system":t,i=e.clone();return i.tz(s),i},this.toJsDate=e=>e.toDate(),this.parseISO=e=>this.moment(e,!0),this.toISO=e=>e.toISOString(),this.parse=(e,t)=>""===e?null:this.locale?this.moment(e,t,this.locale,!0):this.moment(e,t,!0),this.getCurrentLocaleCode=()=>this.locale||i().locale(),this.is12HourCycleInCurrentLocale=()=>/A|a/.test(i().localeData(this.getCurrentLocaleCode()).longDateFormat("LT")),this.expandFormat=e=>e.match(/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g).map((e=>{const t=e[0];return"L"===t||";"===t?i().localeData(this.getCurrentLocaleCode()).longDateFormat(e):e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.isValid=e=>this.moment(e).isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>{const n=e.clone();return n.locale(this.getCurrentLocaleCode()),n.format(t)},this.formatNumber=e=>e,this.getDiff=(e,t,n)=>e.diff(t,n),this.isEqual=(e,t)=>null===e&&null===t||this.moment(e).isSame(t),this.isSameYear=(e,t)=>e.isSame(t,"year"),this.isSameMonth=(e,t)=>e.isSame(t,"month"),this.isSameDay=(e,t)=>e.isSame(t,"day"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e.isAfter(t),this.isAfterYear=(e,t)=>e.isAfter(t,"year"),this.isAfterDay=(e,t)=>e.isAfter(t,"day"),this.isBefore=(e,t)=>e.isBefore(t),this.isBeforeYear=(e,t)=>e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>e.isBefore(t,"day"),this.isWithinRange=(e,[t,n])=>e.isBetween(t,n,null,"[]"),this.startOfYear=e=>e.clone().startOf("year"),this.startOfMonth=e=>e.clone().startOf("month"),this.startOfWeek=e=>e.clone().startOf("week"),this.startOfDay=e=>e.clone().startOf("day"),this.endOfYear=e=>e.clone().endOf("year"),this.endOfMonth=e=>e.clone().endOf("month"),this.endOfWeek=e=>e.clone().endOf("week"),this.endOfDay=e=>e.clone().endOf("day"),this.addYears=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"years"):e.clone().add(t,"years"),this.addMonths=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"months"):e.clone().add(t,"months"),this.addWeeks=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"weeks"):e.clone().add(t,"weeks"),this.addDays=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days"),this.addHours=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"hours"):e.clone().add(t,"hours"),this.addMinutes=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"minutes"):e.clone().add(t,"minutes"),this.addSeconds=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"seconds"):e.clone().add(t,"seconds"),this.getYear=e=>e.get("year"),this.getMonth=e=>e.get("month"),this.getDate=e=>e.get("date"),this.getHours=e=>e.get("hours"),this.getMinutes=e=>e.get("minutes"),this.getSeconds=e=>e.get("seconds"),this.getMilliseconds=e=>e.get("milliseconds"),this.setYear=(e,t)=>e.clone().year(t),this.setMonth=(e,t)=>e.clone().month(t),this.setDate=(e,t)=>e.clone().date(t),this.setHours=(e,t)=>e.clone().hours(t),this.setMinutes=(e,t)=>e.clone().minutes(t),this.setSeconds=(e,t)=>e.clone().seconds(t),this.setMilliseconds=(e,t)=>e.clone().milliseconds(t),this.getDaysInMonth=e=>e.daysInMonth(),this.getNextMonth=e=>e.clone().add(1,"month"),this.getPreviousMonth=e=>e.clone().subtract(1,"month"),this.getMonthArray=e=>{const t=[this.startOfYear(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>e.clone().hour(t.hour()).minute(t.minute()).second(t.second()),this.getWeekdays=()=>i().weekdaysShort(!0),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),n=t.clone().startOf("month").startOf("week"),o=t.clone().endOf("month").endOf("week");let s=0,i=n;const a=[];for(;i.isBefore(o);){const e=Math.floor(s/7);a[e]=a[e]||[],a[e].push(i),i=i.clone().add(1,"day"),s+=1}return a},this.getWeekNumber=e=>e.week(),this.getYearRange=(e,t)=>{const n=this.moment(e).startOf("year"),o=this.moment(t).endOf("year"),s=[];let i=n;for(;i.isBefore(o);)s.push(i),i=i.clone().add(1,"year");return s},this.getMeridiemText=e=>this.is12HourCycleInCurrentLocale()?i().localeData(this.getCurrentLocaleCode()).meridiem("am"===e?0:13,0,!1):"am"===e?"AM":"PM",this.moment=n||i(),this.locale=e,this.formats=(0,o.Z)({},r,t)}}},70347:(e,t,n)=>{n.d(t,{ZP:()=>O});var o=n(7896),s=n(38777),i=n(56666),a=n(9249),r=n(87371),l=n(45754),h=n(11987),c=n(95058),d=n(24328),u=n.n(d),m=(n(3528),n(75047),n(81997)),f=n(54573),y=(n(78951),n(61950),n(64486));function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var g,v,M,T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=String(e).toLowerCase(),o=String(t.value).toLowerCase(),s=String(t.label).toLowerCase();return o===n||s===n},D=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return T(e,t)}))||n.some((function(t){return T(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),b=(g=f.S,M=v=function(e){(0,l.Z)(d,e);var t,n,i=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=(0,c.Z)(t);if(n){var s=(0,c.Z)(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return(0,h.Z)(this,e)});function d(e){var t;(0,a.Z)(this,d),(t=i.call(this,e)).select=void 0,t.onChange=function(e,n){var o=t.props,i=o.getNewOptionData,a=o.inputValue,r=o.isMulti,l=o.onChange,h=o.onCreateOption,c=o.value,d=o.name;if("select-option"!==n.action)return l(e,n);var u=t.state.newOption,f=Array.isArray(e)?e:[e];if(f[f.length-1]!==u)l(e,n);else if(h)h(a);else{var y=i(a,a),p={action:"create-option",name:d};l(r?[].concat((0,s.Z)((0,m.C)(c)),[y]):y,p)}};var n=e.options||[];return t.state={newOption:void 0,options:n},t}return(0,r.Z)(d,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,o=e.formatCreateLabel,i=e.getNewOptionData,a=e.inputValue,r=e.isLoading,l=e.isValidNewOption,h=e.value,c=e.options||[],d=this.state.newOption;d=l(a,(0,m.C)(h),c)?i(a,o(a)):void 0,this.setState({newOption:d,options:!t&&r||!d?c:"first"===n?[d].concat((0,s.Z)(c)):[].concat((0,s.Z)(c),[d])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,t=this.state.options;return u().createElement(g,(0,o.Z)({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))}}]),d}(d.Component),v.defaultProps=D,M);const O=(0,y.m)(b)}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eda8aeba-6f70-45fa-91dd-d5957002781c",e._sentryDebugIdIdentifier="sentry-dbid-eda8aeba-6f70-45fa-91dd-d5957002781c")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"756a7513a42a2e35d42e606647a4e60f455dcf69"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[1334],{63655:(e,t,n)=>{var o=n(71600);t.Z=void 0;var s=o(n(68671)),i=n(52322),a=(0,s.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},25744:(e,t,n)=>{var o=n(71600);t.Z=void 0;var s=o(n(68671)),i=n(52322),a=(0,s.default)((0,i.jsx)("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}),"Fullscreen");t.Z=a},63436:(e,t,n)=>{var o=n(71600);t.Z=void 0;var s=o(n(68671)),i=n(52322),a=(0,s.default)((0,i.jsx)("path",{d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}),"FullscreenExit");t.Z=a},9366:(e,t,n)=>{n.d(t,{Q:()=>h});var o=n(7896),s=n(95038),i=n.n(s);const a={Y:"year",YY:"year",YYYY:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"digit",maxLength:1},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},d:{sectionType:"weekDay",contentType:"digit",maxLength:1},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},r={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},l=["Missing timezone plugin","To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`","Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone"].join("\n");class h{constructor({locale:e,formats:t,instance:n}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="moment",this.moment=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=a,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasTimezonePlugin=()=>void 0!==this.moment.tz,this.createSystemDate=e=>{const t=this.moment(e).local();return void 0===this.locale?t:t.locale(this.locale)},this.createUTCDate=e=>{const t=this.moment.utc(e);return void 0===this.locale?t:t.locale(this.locale)},this.createTZDate=(e,t)=>{if(!this.hasTimezonePlugin())throw new Error(l);const n="default"===t?this.moment(e):this.moment.tz(e,t);return void 0===this.locale?n:n.locale(this.locale)},this.date=e=>{if(null===e)return null;const t=this.moment(e);return t.locale(this.getCurrentLocaleCode()),t},this.dateWithTimezone=(e,t)=>null===e?null:"UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),this.getTimezone=e=>{var t,n,o;if(e.isUTC())return"UTC";const s=null==(t=e._z)?void 0:t.name;return null!=(n=null!=s?s:null==(o=this.moment.defaultZone)?void 0:o.name)?n:"system"},this.setTimezone=(e,t)=>{var n,o;if("UTC"===t)return e.clone().utc();if("system"===t)return e.clone().local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(l)}const s="default"===t?null!=(n=null==(o=this.moment.defaultZone)?void 0:o.name)?n:"system":t,i=e.clone();return i.tz(s),i},this.toJsDate=e=>e.toDate(),this.parseISO=e=>this.moment(e,!0),this.toISO=e=>e.toISOString(),this.parse=(e,t)=>""===e?null:this.locale?this.moment(e,t,this.locale,!0):this.moment(e,t,!0),this.getCurrentLocaleCode=()=>this.locale||i().locale(),this.is12HourCycleInCurrentLocale=()=>/A|a/.test(i().localeData(this.getCurrentLocaleCode()).longDateFormat("LT")),this.expandFormat=e=>e.match(/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g).map((e=>{const t=e[0];return"L"===t||";"===t?i().localeData(this.getCurrentLocaleCode()).longDateFormat(e):e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.isValid=e=>this.moment(e).isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>{const n=e.clone();return n.locale(this.getCurrentLocaleCode()),n.format(t)},this.formatNumber=e=>e,this.getDiff=(e,t,n)=>e.diff(t,n),this.isEqual=(e,t)=>null===e&&null===t||this.moment(e).isSame(t),this.isSameYear=(e,t)=>e.isSame(t,"year"),this.isSameMonth=(e,t)=>e.isSame(t,"month"),this.isSameDay=(e,t)=>e.isSame(t,"day"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e.isAfter(t),this.isAfterYear=(e,t)=>e.isAfter(t,"year"),this.isAfterDay=(e,t)=>e.isAfter(t,"day"),this.isBefore=(e,t)=>e.isBefore(t),this.isBeforeYear=(e,t)=>e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>e.isBefore(t,"day"),this.isWithinRange=(e,[t,n])=>e.isBetween(t,n,null,"[]"),this.startOfYear=e=>e.clone().startOf("year"),this.startOfMonth=e=>e.clone().startOf("month"),this.startOfWeek=e=>e.clone().startOf("week"),this.startOfDay=e=>e.clone().startOf("day"),this.endOfYear=e=>e.clone().endOf("year"),this.endOfMonth=e=>e.clone().endOf("month"),this.endOfWeek=e=>e.clone().endOf("week"),this.endOfDay=e=>e.clone().endOf("day"),this.addYears=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"years"):e.clone().add(t,"years"),this.addMonths=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"months"):e.clone().add(t,"months"),this.addWeeks=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"weeks"):e.clone().add(t,"weeks"),this.addDays=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days"),this.addHours=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"hours"):e.clone().add(t,"hours"),this.addMinutes=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"minutes"):e.clone().add(t,"minutes"),this.addSeconds=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"seconds"):e.clone().add(t,"seconds"),this.getYear=e=>e.get("year"),this.getMonth=e=>e.get("month"),this.getDate=e=>e.get("date"),this.getHours=e=>e.get("hours"),this.getMinutes=e=>e.get("minutes"),this.getSeconds=e=>e.get("seconds"),this.getMilliseconds=e=>e.get("milliseconds"),this.setYear=(e,t)=>e.clone().year(t),this.setMonth=(e,t)=>e.clone().month(t),this.setDate=(e,t)=>e.clone().date(t),this.setHours=(e,t)=>e.clone().hours(t),this.setMinutes=(e,t)=>e.clone().minutes(t),this.setSeconds=(e,t)=>e.clone().seconds(t),this.setMilliseconds=(e,t)=>e.clone().milliseconds(t),this.getDaysInMonth=e=>e.daysInMonth(),this.getNextMonth=e=>e.clone().add(1,"month"),this.getPreviousMonth=e=>e.clone().subtract(1,"month"),this.getMonthArray=e=>{const t=[this.startOfYear(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>e.clone().hour(t.hour()).minute(t.minute()).second(t.second()),this.getWeekdays=()=>i().weekdaysShort(!0),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),n=t.clone().startOf("month").startOf("week"),o=t.clone().endOf("month").endOf("week");let s=0,i=n;const a=[];for(;i.isBefore(o);){const e=Math.floor(s/7);a[e]=a[e]||[],a[e].push(i),i=i.clone().add(1,"day"),s+=1}return a},this.getWeekNumber=e=>e.week(),this.getYearRange=(e,t)=>{const n=this.moment(e).startOf("year"),o=this.moment(t).endOf("year"),s=[];let i=n;for(;i.isBefore(o);)s.push(i),i=i.clone().add(1,"year");return s},this.getMeridiemText=e=>this.is12HourCycleInCurrentLocale()?i().localeData(this.getCurrentLocaleCode()).meridiem("am"===e?0:13,0,!1):"am"===e?"AM":"PM",this.moment=n||i(),this.locale=e,this.formats=(0,o.Z)({},r,t)}}},70347:(e,t,n)=>{n.d(t,{ZP:()=>O});var o=n(7896),s=n(38777),i=n(56666),a=n(9249),r=n(87371),l=n(45754),h=n(11987),c=n(95058),d=n(24328),u=n.n(d),m=(n(3528),n(75047),n(81997)),f=n(54573),y=(n(78951),n(61950),n(64486));function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var g,v,M,T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=String(e).toLowerCase(),o=String(t.value).toLowerCase(),s=String(t.label).toLowerCase();return o===n||s===n},D=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return T(e,t)}))||n.some((function(t){return T(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),b=(g=f.S,M=v=function(e){(0,l.Z)(d,e);var t,n,i=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=(0,c.Z)(t);if(n){var s=(0,c.Z)(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return(0,h.Z)(this,e)});function d(e){var t;(0,a.Z)(this,d),(t=i.call(this,e)).select=void 0,t.onChange=function(e,n){var o=t.props,i=o.getNewOptionData,a=o.inputValue,r=o.isMulti,l=o.onChange,h=o.onCreateOption,c=o.value,d=o.name;if("select-option"!==n.action)return l(e,n);var u=t.state.newOption,f=Array.isArray(e)?e:[e];if(f[f.length-1]!==u)l(e,n);else if(h)h(a);else{var y=i(a,a),p={action:"create-option",name:d};l(r?[].concat((0,s.Z)((0,m.C)(c)),[y]):y,p)}};var n=e.options||[];return t.state={newOption:void 0,options:n},t}return(0,r.Z)(d,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,o=e.formatCreateLabel,i=e.getNewOptionData,a=e.inputValue,r=e.isLoading,l=e.isValidNewOption,h=e.value,c=e.options||[],d=this.state.newOption;d=l(a,(0,m.C)(h),c)?i(a,o(a)):void 0,this.setState({newOption:d,options:!t&&r||!d?c:"first"===n?[d].concat((0,s.Z)(c)):[].concat((0,s.Z)(c),[d])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,t=this.state.options;return u().createElement(g,(0,o.Z)({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))}}]),d}(d.Component),v.defaultProps=D,M);const O=(0,y.m)(b)}}]);
|
|
2
2
|
//# sourceMappingURL=1334.js.map
|
package/1425.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ad839606-d1d7-444f-9ef1-8d68b5397357",e._sentryDebugIdIdentifier="sentry-dbid-ad839606-d1d7-444f-9ef1-8d68b5397357")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"121550dce3f1ac9a94fd0e1c5555f31959d8a0cc"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[1425],{44938:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(24328),r=n.n(a),l=n(50166),i=n(88267),o=n(98952);const c=(0,n(72342).makeStyles)({item:{overflow:"hidden"}});function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m=(0,a.memo)((e=>{let{width:t=0,height:n=0,defaultItemSize:p,data:m,children:d,itemKey:u,showNotMeasuredItems:E,listRef:f}=e;const h=c(),v=(0,a.useRef)({}),[y,g]=(0,a.useState)({}),b=(0,a.useCallback)((0,o.DsO)((()=>{g(s({},v.current))})),[]),T=(0,a.useCallback)(((e,t)=>u?u(t,e):t),[u]),I=(0,a.useRef)(),x=f||I;x.current&&x.current.resetAfterIndex(0,!1);const O=(0,a.useMemo)((()=>e=>{let{data:t,index:n,style:a}=e;const l=T(t,n);return r().createElement("div",{style:a,className:h.item},r().createElement("div",{style:E?void 0:{visibility:l in y?void 0:"hidden"}},r().createElement(i.Z,{handleHeight:!0,onResize:(e,t)=>{v.current[l]!==t&&(((e,t)=>{v.current=s({},v.current,{[e]:t})})(l,t),b())}}),d({data:t,index:n})))}),[d,E,T,b,!E&&y]);return r().createElement(l.VariableSizeList,{ref:x,width:t,height:n,itemCount:m.length,itemData:m,itemSize:e=>y[(e=>T(m,e))(e)]||p,itemKey:u},O)}))},82068:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),l=n(71153),i=n.n(l);const o=(0,n(72342).makeStyles)({"basic-view-content":{flex:"1 1 auto",padding:"0 24px 24px","&:first-child":{paddingTop:"24px"}}});function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}const s=e=>{let{children:t,className:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children","className"]);const l=o();return r().createElement("div",c({className:i()(l["basic-view-content"],n)},a),t)}},77434:(e,t,n)=>{n.d(t,{Z:()=>We});var a=n(24328),r=n.n(a),l=n(71153),i=n.n(l),o=n(50914),c=n(95038),s=n.n(c);const p=(0,o.pipe)((0,o.groupBy)((e=>{let{timestamp:t}=e;return s()(t).startOf("day")})),o.toPairs,(0,o.map)((e=>{let[t,n]=e;return{timestamp:s()(t).valueOf(),collapsed:!1,children:n}}))),m=(0,o.addIndex)(o.chain)(((e,t)=>{let{children:n,collapsed:a,timestamp:r}=e;const l={collapsed:a,timestamp:r,index:t};return a?[l]:[l,...n]})),d=(0,o.has)("collapsed"),u=(e,t)=>{const n=t[e];return"uri"in n?n.uri:`${n.index}`};var E=n(56961),f=n(57312),h=n(79312),v=n(2507),y=n.n(v),g=n(79935),b=n(28831),T=n(98952),I=n(72342);const x=(0,I.makeStyles)({groupItem:{display:"flex",height:"40px",alignItems:"center",paddingTop:"10px",boxSizing:"border-box",paddingRight:"16px"},groupIcon:{marginLeft:"-5px",marginRight:"22px",width:"10px",height:"10px",background:"white",border:"2px solid #D8D8D8",borderRadius:"50%",boxSizing:"border-box",flexShrink:0},groupTitle:{fontWeight:500}}),O=e=>{let{item:{index:t,timestamp:n,collapsed:a},onToggle:l}=e;const i=x();return r().createElement("div",{className:i.groupItem},r().createElement("div",{className:i.groupIcon}),r().createElement(h.Z,{className:i.groupTitle,variant:"subtitle1"},(0,T.zkt)(n)?y().text("Today"):y().date(n,"LL")),r().createElement(g.Z,null),r().createElement(b.Z,{isOpen:!a,onClick:()=>l(t)}))};var w=n(20414);const N=(0,I.makeStyles)((e=>({activityTitle:{display:"block",fontWeight:500,fontSize:13,lineHeight:"15px",color:e.palette.text.primary,marginBottom:8},activityType:{flexShrink:0,marginRight:8,whiteSpace:"nowrap"}}))),S=e=>{let{type:t,children:n}=e;const a=N();return r().createElement("span",{className:a.activityTitle},r().createElement("span",{className:a.activityType},(0,f.Xr)(t)),n)},C=e=>{let{type:t}=e;return r().createElement(S,{type:t})};var R=n(14596);const _=(0,I.makeStyles)((e=>({link:{color:e.palette.primary.main,textDecoration:"none",fontWeight:400,cursor:"pointer"},objectLabel:{color:e.palette.text.secondary,lineHeight:"15px",fontWeight:400},relationUri:{color:e.palette.text.primary,fontWeight:400}}))),D=e=>{var t,n;let{data:a,type:l}=e;const i=_(),o=(0,R.AH)(),c=(0,T.T6O)(o,null===(t=a.items)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.objectType);return r().createElement(S,{type:l},r().createElement("span",{className:i.objectLabel},(0,T.idV)(c)))},A=3,P=(0,a.createContext)(null),H=e=>{let{children:t}=e;const[n,l]=(0,a.useState)([]);return r().createElement(P.Provider,{value:{expandedItems:n,addExpandedItems:e=>{n.includes(e)||l((t=>[...t,e]))}}},t)},L=e=>{let{itemsId:t,items:n=[],limit:r=A}=e;const{expandedItems:l,addExpandedItems:i}=(0,a.useContext)(P),o=(0,a.useCallback)((()=>i(t)),[t]),c=l.includes(t),s=n.slice(0,c?n.length:r);return{onExpand:o,itemsToShow:s,collapsedItemsCount:n.length-s.length}};var M=n(55485);function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},U.apply(this,arguments)}const k=e=>{let{itemsCount:t,itemsLabel:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["itemsCount","itemsLabel"]);return r().createElement(M.Z,U({component:"button",variant:"caption"},a,{underline:"none"}),r().createElement("span",null,y().text("${itemsCount} more",{itemsCount:t})," ",n))},j=e=>{let{RecordComponent:t,items:n,activityUri:a}=e;const{onExpand:l,itemsToShow:i,collapsedItemsCount:o}=L({itemsId:a,items:n});return r().createElement(r().Fragment,null,i.map((e=>r().createElement(t,{key:e.id,item:e}))),o?r().createElement(k,{itemsCount:o,itemsLabel:1===o?y().text("record"):y().text("records"),onClick:l}):null)};var Z=n(18527);const z=(0,I.makeStyles)((e=>({link:{fontSize:13,lineHeight:"15px",color:e.palette.primary.main,textDecoration:"none",fontWeight:400,"&.removed":{pointerEvents:"none",color:e.palette.text.secondary}}}))),G=e=>{let{item:t}=e;const n=z(),{objectLabel:a,objectUri:l,data:o}=t,c=(null==o?void 0:o.type)===w.I.ENTITY_REMOVED;return r().createElement(Z.Z,{className:i()(n.link,{removed:c}),value:l},(0,T.idV)(a))},V=(0,I.makeStyles)((e=>({field:{fontSize:12,lineHeight:"20px",color:e.palette.text.primary,marginTop:4,display:"block"},fieldName:{color:e.palette.text.secondary,marginRight:8},link:{color:e.palette.primary.main,textDecoration:"none",fontWeight:400}}))),W=(0,I.makeStyles)((e=>({arrow:{margin:"0 8px",fontSize:12,color:e.palette.text.primary},chip:{height:20,width:53,fontSize:10,fontWeight:500,lineHeight:"16px",marginLeft:9,flexShrink:0,textTransform:"capitalize","& span":{padding:0},"&.edited":{color:"#6973C2",borderColor:"#6973C2"},"&.added":{color:"#75C378",borderColor:"#75C378"},"&.deleted":{color:"#F97061",borderColor:"#F97061"}},expandLabel:{fontSize:12},andLabel:{color:e.palette.text.secondary}}))),B=e=>{let{item:{id:t,data:n}}=e;const a=V(),l=W(),i=(null==n?void 0:n.potentialMatches)||(null==n?void 0:n.newUri),{onExpand:o,collapsedItemsCount:c,itemsToShow:s}=L({itemsId:t,items:i.split(",")}),p=null==n?void 0:n.type;return r().createElement("div",{className:a.field},r().createElement("span",{className:a.fieldName},(e=>({[w.I.POTENTIAL_MATCHES_FOUND]:y().text("Matches found"),[w.I.POTENTIAL_MATCHES_REMOVED]:y().text("Matches removed"),[w.I.NOT_MATCHES_SET]:y().text("Were set"),[w.I.NOT_MATCHES_RESET]:y().text("Were reset"),[w.I.ENTITIES_MERGED_MANUALLY]:y().text("Merged with"),[w.I.ENTITIES_MERGED]:y().text("Merged automatically with"),[w.I.ENTITIES_SPLITTED]:y().text("Un-merged with")}[e]||""))(p),":"),s.map(((e,t)=>r().createElement(Z.Z,{key:t,value:e,className:a.link},(0,T.idV)(n[e])))).reduce(((e,t)=>[e,", ",t])),c?r().createElement(r().Fragment,null,r().createElement("span",{className:l.andLabel}," ",y().text("and")," "),r().createElement(k,{itemsCount:c,itemsLabel:1===c?y().text("match"):y().text("matches"),onClick:o,className:l.expandLabel})):null)},F=(0,I.makeStyles)((e=>({record:{background:"rgba(0, 0, 0, 0.03)",border:"1px solid rgba(0, 0, 0, 0.03)",boxSizing:"border-box",borderRadius:"3px",padding:"7px 14px",marginBottom:8,position:"relative","&:hover $restoreIcon":{visibility:"visible"}},label:{color:e.palette.text.primary,fontSize:12,lineHeight:"16px"},description:{marginRight:8,flexShrink:0},restoreIcon:{visibility:"hidden",color:e.palette.text.secondary,position:"absolute",right:4,top:3,cursor:"pointer"},moreLabel:{marginTop:4}}))),K=e=>{let{item:t}=e;const n=F(),{potentialMatches:a,newUri:l}=t.data;return a||l?r().createElement("div",{className:n.record},r().createElement("span",{className:n.label},r().createElement(G,{item:t})),r().createElement(B,{item:t})):null},Y=e=>{let{type:t,data:n}=e;const{itemsTotal:a,items:l,uri:i}=n,o=1===a&&!(l[0].data.potentialMatches||l[0].data.newUri);return r().createElement("div",null,r().createElement(S,{type:t},o&&r().createElement(G,{item:l[0]})),!o&&r().createElement(j,{activityUri:i,items:l,RecordComponent:K}))},$=e=>{let{type:t,data:n}=e;return r().createElement("div",null,r().createElement(S,{type:t}),r().createElement(j,{activityUri:n.uri,items:n.items,RecordComponent:K}))};var q=n(66337),X=n(33992),J=n(19926),Q=n(56476);const ee=e=>{var t,n;let{delta:a}=e;const l=W(),o=V(),c=(0,R.AH)(),s=(0,R.kO)(),p=(0,T.zeJ)(c,a.attributeType),m=null===(t=a.newValue)||void 0===t?void 0:t.value,d=null===(n=a.oldValue)||void 0===n?void 0:n.value,u=d||m,E=X.w[a.type],h=e=>(0,f._V)(e,a.attributeType,c,s);return r().createElement("div",{className:o.field},r().createElement("span",{className:o.fieldName},(null==p?void 0:p.label)||(null==p?void 0:p.name),":"),r().createElement("span",null,u&&h(u),m&&d&&r().createElement(r().Fragment,null,r().createElement(Q.Z,{className:l.arrow}),h(m))),E&&r().createElement(J.Z,{variant:"outlined",label:E,className:i()(l.chip,E)}))},te=e=>{let{updates:t,recordId:n}=e;const a=F(),{onExpand:l,collapsedItemsCount:i,itemsToShow:o}=L({itemsId:n,items:t});return r().createElement(r().Fragment,null,o.map(((e,t)=>r().createElement(ee,{key:t,delta:e}))),i?r().createElement(k,{itemsCount:i,itemsLabel:1===i?y().text("update"):y().text("updates"),onClick:l,className:a.moreLabel}):null)},ne=e=>{var t;let{item:n}=e;const a=F(),l=(0,R.ax)("openHistoryEvent"),i=null===(t=n.deltaCollection)||void 0===t?void 0:t.delta,c=(0,o.path)(["data","type"])(n)===w.I.ENTITY_CHANGED;return r().createElement("div",{className:a.record},r().createElement(h.Z,{className:a.label},!i&&r().createElement("span",{className:a.description},y().text("Profile changed")),r().createElement(G,{item:n})),c&&r().createElement(q.Z,{"data-reltio-id":"reltio-entity-record-restore-icon",className:a.restoreIcon,onClick:()=>{(0,T.fAQ)(n.objectUri,n.timestamp).then((e=>{if(-1!==e){const t={aStamp:n.timestamp,bStamp:e};l({entityUri:n.objectUri,historyEvent:t})}})).catch((e=>console.warn(e)))}}),r().createElement(te,{updates:i,recordId:n.id}))},ae=e=>{var t;let{type:n,data:a}=e;const l=1===a.itemsTotal&&!(null!==(t=a.items[0].deltaCollection)&&void 0!==t&&t.delta);return r().createElement("div",null,r().createElement(S,{type:n},l&&r().createElement(G,{item:a.items[0]})),!l&&r().createElement(j,{activityUri:a.uri,items:a.items,RecordComponent:ne}))},re=(0,I.makeStyles)((e=>({relationship:{fontSize:13,lineHeight:"15px",color:e.palette.text.secondary,overflow:"hidden"},link:{color:e.palette.primary.main,textDecoration:"none",fontWeight:400},delimiter:{margin:"0 8px"}}))),le=e=>{let{item:t}=e;const n=re(),{startObjectLabel:a,startObjectUri:l,endObjectLabel:i,endObjectUri:o}=t;return r().createElement("span",{className:n.relationship},r().createElement(Z.Z,{className:n.link,value:l},(0,T.idV)(a)),r().createElement("span",{className:n.delimiter},y().text("to")),r().createElement(Z.Z,{className:n.link,value:o},(0,T.idV)(i)))},ie=e=>{var t;let{item:n}=e;const a=F(),l=null===(t=n.deltaCollection)||void 0===t?void 0:t.delta;return r().createElement("div",{className:a.record},r().createElement(h.Z,{className:a.label},!l&&r().createElement("span",{className:a.description},y().text("Relationship updated")),r().createElement(le,{item:n})),r().createElement(te,{updates:l,recordId:n.id}))},oe=e=>{var t;let{type:n,data:a}=e;const l=1===a.itemsTotal&&!(null!==(t=a.items[0].deltaCollection)&&void 0!==t&&t.delta);return r().createElement("div",null,r().createElement(S,{type:n},l&&r().createElement(le,{item:a.items[0]})),!l&&r().createElement(j,{activityUri:a.uri,items:a.items,RecordComponent:ie}))};var ce=n(79573),se=n(38806);const pe=e=>{let{data:t,type:n}=e;const l=_(),i=(0,R.ax)("openSearch"),c=(0,a.useMemo)((()=>{const e=(0,ce.Rx)(t.description);return"2.0"===e.version?e.activity.uiState:e}),[t.description]),s=(0,o.pipe)((0,o.always)(c),i),p=(0,se.v)(c);return r().createElement(S,{type:n},r().createElement("span",{className:l.link,onClick:s},p||y().text("all profiles")))},me=e=>{let{type:t,data:n}=e;const a=_(),l=(0,ce.Rx)(n.description),i=n.itemsTotal;return r().createElement(S,{type:t},l&&r().createElement(Z.Z,{className:a.link,value:l.uri},(0,T.idV)(l.label)),i>1&&r().createElement("span",{className:a.objectLabel},y().text("(${itemsTotal} records)",{itemsTotal:i})))},de=e=>{let{type:t,data:n}=e;const a=_(),l=(0,ce.Rx)(n.description),i=n.itemsTotal,o=n.items[0].objectUri;return r().createElement(S,{type:t},r().createElement(r().Fragment,null,(0,T.bC9)(o)?r().createElement("span",{className:a.relationUri},o):r().createElement(G,{item:n.items[0]}),l&&r().createElement("div",{className:a.objectLabel},l.label)),i>1&&r().createElement("div",{className:a.objectLabel},y().text("(${itemsTotal} records)",{itemsTotal:i})))};function ue(){return ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ue.apply(this,arguments)}const Ee=e=>r().createElement("svg",ue({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M17.4 13.08h-4.32v4.32h-2.16v-4.32H6.6v-2.16h4.32V6.6h2.16v4.32h4.32v2.16z",fill:"#fff"}));var fe=n(4237);function he(){return he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},he.apply(this,arguments)}const ve=e=>r().createElement("svg",he({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M16.35 6h-8.7C6.74 6 6 6.804 6 7.793v5.788c0 .986.737 1.79 1.644 1.793V18l3.472-2.626h5.234c.91 0 1.65-.805 1.65-1.793V7.793C18 6.804 17.26 6 16.35 6zm-1.562 6.726H9.212v-.765h5.576v.765zm0-1.63H9.212v-.765h5.576v.764zm0-1.631H9.212V8.7h5.576v.764z",fill:"#fff"}));function ye(){return ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ye.apply(this,arguments)}const ge=e=>r().createElement("svg",ye({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.6 15.15v2.25h2.25l6.636-6.636-2.25-2.25L6.6 15.15zm10.626-6.126a.598.598 0 000-.846l-1.404-1.404a.598.598 0 00-.846 0l-1.098 1.098 2.25 2.25 1.098-1.098z",fill:"#fff"}));function be(){return be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},be.apply(this,arguments)}const Te=e=>r().createElement("svg",be({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M15.6 6H9c-.662 0-1.2.539-1.2 1.2V9H9V7.2h6.6v9.6H9V15H7.8v1.8c0 .662.538 1.2 1.2 1.2h6.6c.662 0 1.2-.538 1.2-1.2V7.2c0-.661-.538-1.2-1.2-1.2z",fill:"#fff"}),r().createElement("path",{d:"M10.975 13.976l.85.848 2.823-2.83-2.824-2.819-.848.85 1.378 1.375H7.2v1.2h5.15l-1.375 1.376z",fill:"#fff"}));function Ie(){return Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ie.apply(this,arguments)}const xe=e=>r().createElement("svg",Ie({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M7.4 6H14c.662 0 1.2.539 1.2 1.2V9H14V7.2H7.4v9.6H14V15h1.2v1.8c0 .662-.538 1.2-1.2 1.2H7.4c-.662 0-1.2-.538-1.2-1.2V7.2c0-.661.538-1.2 1.2-1.2z"}),r().createElement("path",{d:"M15.127 13.976l.85.848 2.823-2.83-2.824-2.819-.849.85 1.379 1.375h-5.154v1.2H16.5l-1.374 1.376z"}));function Oe(){return Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Oe.apply(this,arguments)}const we=e=>r().createElement("svg",Oe({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.764 11.152V9.659l2.334 2.217-2.334 2.217v-1.444H13.12c-1.023 0-1.333.314-1.918 1.632-.797 1.796-1.514 2.52-3.3 2.52h-1.69v-1.495h1.69c1.036 0 1.35-.319 1.937-1.639.348-.784.68-1.363 1.09-1.766-.41-.403-.742-.982-1.09-1.766-.586-1.32-.901-1.64-1.938-1.64H6.213V7H7.9c1.787 0 2.504.725 3.301 2.52.585 1.318.895 1.633 1.918 1.633h2.644z",fill:"#fff"}));function Ne(){return Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ne.apply(this,arguments)}const Se=e=>r().createElement("svg",Ne({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.8 15.6V7.2H8.4V6h8.4c.66 0 1.2.54 1.2 1.2v8.4h-1.2zM7.2 18c-.66 0-1.2-.54-1.2-1.2V9.6c0-.66.54-1.2 1.2-1.2h7.2c.66 0 1.2.54 1.2 1.2v7.2c0 .66-.54 1.2-1.2 1.2H7.2zm4.937-2.8l.663-.663-1.337-1.337 1.337-1.337-.663-.663-1.337 1.337L9.463 11.2l-.663.663 1.337 1.337L8.8 14.537l.663.663 1.337-1.337 1.337 1.337z",fill:"#fff"}));function Ce(){return Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ce.apply(this,arguments)}const Re=e=>r().createElement("svg",Ce({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.8 7.2v8.4H18V7.2c0-.66-.54-1.2-1.2-1.2H8.4v1.2h8.4zM6 16.8c0 .66.54 1.2 1.2 1.2h7.2c.66 0 1.2-.54 1.2-1.2V9.6c0-.66-.54-1.2-1.2-1.2H7.2c-.66 0-1.2.54-1.2 1.2v7.2z",fill:"#fff"}));function _e(){return _e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_e.apply(this,arguments)}const De=e=>r().createElement("svg",_e({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M11.727 5c1.66 0 3 1.376 3 3.08 0 1.704-1.34 3.08-3 3.08s-3-1.376-3-3.08c0-1.704 1.34-3.08 3-3.08zM12 19c-2.5 0-4.71-1.365-6-3.435.03-2.122 4-3.285 6-3.285 1.99 0 5.97 1.163 6 3.285C16.71 17.635 14.5 19 12 19z",fill:"#fff"}));function Ae(){return Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ae.apply(this,arguments)}const Pe=e=>r().createElement("svg",Ae({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.125 7.583h2.042V8.75H8V7.583h2.042L10.625 7h2.917l.583.583zM9.75 17.5a1.17 1.17 0 01-1.167-1.167v-7h7v7a1.17 1.17 0 01-1.166 1.167H9.75z",fill:"#fff"}));function He(){return He=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},He.apply(this,arguments)}const Le=e=>r().createElement("svg",He({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.432 13.358h-.568l-.197-.196a4.627 4.627 0 001.121-3.023 4.65 4.65 0 10-4.649 4.65 4.628 4.628 0 003.022-1.12l.198.195v.567L16.933 18 18 16.934l-3.568-3.576zm-4.293 0a3.218 3.218 0 11.152-.004l-.152.004z",fill:"#fff"}));function Me(){return Me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Me.apply(this,arguments)}const Ue=e=>r().createElement("svg",Me({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.134 7.718L17.8 5.5V7h-1.604c-1.786 0-2.503.725-3.3 2.52-.585 1.318-.895 1.633-1.918 1.633H8.301v1.495h2.677c1.023 0 1.333.314 1.918 1.632.797 1.796 1.514 2.52 3.3 2.52h1.69v-1.495h-1.69c-1.036 0-1.35-.319-1.937-1.639-.348-.784-.68-1.363-1.09-1.766.41-.403.742-.982 1.09-1.766.586-1.32.901-1.639 1.938-1.639H17.8v1.44l2.334-2.217z",fill:"#fff"}));class ke{}ke.getComponent=e=>{let{type:t,data:n}=e;switch(t){case w.I.COMMENT_ADDED:case w.I.COMMENT_DELETED:case w.I.COMMENT_UPDATED:return r().createElement(C,{data:n,type:t});case w.I.ENTITIES_MERGED_MANUALLY:case w.I.ENTITIES_MERGED:case w.I.ENTITIES_MERGED_ON_THE_FLY:case w.I.ENTITIES_SPLITTED:case w.I.ENTITY_LOST_MERGE:return r().createElement(Y,{data:n,type:t});case w.I.POTENTIAL_MATCHES_FOUND:case w.I.POTENTIAL_MATCHES_REMOVED:case w.I.NOT_MATCHES_SET:case w.I.NOT_MATCHES_RESET:return r().createElement($,{data:n,type:t});case w.I.ENTITY_CHANGED:case w.I.ENTITY_CREATED:case w.I.ENTITY_REMOVED:case w.I.ANALYTICS_ATTRIBUTES_CHANGED:return r().createElement(ae,{data:n,type:t});case w.I.RELATIONSHIP_CHANGED:case w.I.RELATIONSHIP_CREATED:case w.I.RELATIONSHIP_REMOVED:return r().createElement(oe,{data:n,type:t});case w.I.USER_SEARCH:return r().createElement(pe,{data:n,type:t});case w.I.GROUP_CHANGED:case w.I.GROUP_CREATED:case w.I.GROUP_REMOVED:return r().createElement(D,{data:n,type:t});case w.I.USER_LOGIN:case w.I.USER_LOGOUT:case w.I.MODEL_UPDATED:case w.I.PERIODIC_TASK_SCHEDULED:case w.I.USER_PROFILE_VIEW:return r().createElement(me,{data:n,type:t});case w.I.SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE:return r().createElement(de,{data:n,type:t});default:return r().createElement("div",null,t," NOT IMPLEMENTED")}},ke.getIcon=e=>{switch(e){case w.I.USER_LOGIN:return r().createElement(Te,null);case w.I.USER_LOGOUT:return r().createElement(xe,null);case w.I.USER_PROFILE_VIEW:return r().createElement(De,null);case w.I.PERIODIC_TASK_SCHEDULED:return r().createElement(fe.Z,null);case w.I.ENTITIES_SPLITTED:return r().createElement(Ue,null);case w.I.ENTITIES_MERGED_MANUALLY:case w.I.ENTITIES_MERGED:case w.I.ENTITIES_MERGED_ON_THE_FLY:case w.I.ENTITY_LOST_MERGE:return r().createElement(we,null);case w.I.ENTITY_CREATED:case w.I.RELATIONSHIP_CREATED:case w.I.GROUP_CREATED:return r().createElement(Ee,null);case w.I.ENTITY_REMOVED:case w.I.RELATIONSHIP_REMOVED:case w.I.POTENTIAL_MATCHES_REMOVED:case w.I.GROUP_REMOVED:return r().createElement(Pe,null);case w.I.USER_SEARCH:return r().createElement(Le,null);case w.I.POTENTIAL_MATCHES_FOUND:return r().createElement(Re,null);case w.I.NOT_MATCHES_RESET:case w.I.NOT_MATCHES_SET:return r().createElement(Se,null);case w.I.COMMENT_ADDED:case w.I.COMMENT_UPDATED:case w.I.COMMENT_DELETED:return r().createElement(ve,null);case w.I.ENTITY_CHANGED:case w.I.MODEL_UPDATED:case w.I.RELATIONSHIP_CHANGED:case w.I.GROUP_CHANGED:default:return r().createElement(ge,null)}};const je=ke,Ze=(0,I.makeStyles)((e=>({activityItem:{display:"flex",minHeight:"40px",padding:"10px 0 5px 0",boxSizing:"border-box",paddingRight:"16px"},activityIcon:{marginLeft:"-13px",marginRight:"15px",width:"24px",height:"24px",background:e.palette.primary.main,borderRadius:"50%",border:"1px solid white",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,"& svg":{fill:"white",fontSize:"14px"}},userContainer:{display:"flex"},activityInfo:{flex:1,overflow:"hidden",position:"relative"},activityUser:{fontSize:13,lineHeight:"15px",color:e.palette.text.secondary,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},activityEvent:{marginTop:"5px"},date:{fontSize:12,lineHeight:"16px",color:e.palette.text.primary,marginLeft:"auto",flexShrink:0,paddingLeft:8}}))),ze=e=>{let{item:t}=e;const n=Ze(),a=(0,f.te)(t),l=(0,f.rx)(t);return r().createElement("div",{className:n.activityItem,"data-reltio-id":"activity-log-item"},r().createElement("div",{className:n.activityIcon},je.getIcon(a)),r().createElement("div",{className:n.activityInfo},r().createElement("div",{className:n.userContainer},r().createElement("span",{className:n.activityUser},t.user),r().createElement("span",{className:n.date},y().date(t.timestamp,"LT"))),l.map(((e,t)=>r().createElement("div",{key:t,className:n.activityEvent},je.getComponent({type:(0,f.te)(e),data:e}))))))};var Ge=n(44938);const Ve=(0,I.makeStyles)({rowDivider:{marginLeft:"28px"},listRow:{paddingLeft:"28px",position:"relative","&::before":{content:'""',width:"2px",position:"absolute",height:"100%",top:0,left:"27px",backgroundColor:"#D8D8D8",zIndex:"-1"},overflow:"hidden"},firstRow:{"&$listRow::before":{height:"calc(100% - 20px)",top:"20px"}},lastRow:{"&$listRow::before":{height:"20px"}},singleRow:{"&$listRow::before":{display:"none"}}}),We=e=>{let{width:t,height:n,activities:l}=e;const c=Ve(),[s,h]=(0,a.useState)([]),v=e=>{h((0,o.adjust)(e,(0,o.evolve)({collapsed:o.not})))};(0,a.useEffect)((()=>{(0,o.pipe)((0,o.map)(f.Io),(0,o.filter)((e=>{let{itemsTotal:t}=e;return 0!==t})),p,h)(l)}),[l]);const y=(0,a.useMemo)((()=>m(s)),[s]),g=(0,a.useCallback)((e=>{let{data:t,index:n}=e;const a=t[n],l=1===t.length,o=0===n,s=n===t.length-1;return r().createElement("div",{className:i()(c.listRow,{[c.singleRow]:l,[c.firstRow]:o,[c.lastRow]:s})},d(a)?r().createElement(O,{item:a,onToggle:v}):r().createElement(r().Fragment,null,r().createElement(ze,{item:a}),!s&&r().createElement(E.Z,{className:c.rowDivider,light:!0,variant:"inset"})))}),[]);return r().createElement(H,null,r().createElement(Ge.Z,{width:t,height:n,data:y,defaultItemSize:40,itemKey:u},g))}},75067:(e,t,n)=>{n.d(t,{Z:()=>ue});var a=n(24328),r=n.n(a),l=n(2507),i=n.n(l),o=n(98952),c=n(23883),s=n(79312),p=n(38677),m=n(83820),d=n(10050),u=n(34948),E=n(39475),f=n(32479),h=n(98538),v=n(54202),y=n(14596),g=n(72342);const b=(0,g.makeStyles)((e=>({snackbar:{maxWidth:500},icon:{margin:"4px"},exportButton:{color:e.palette.primary.main}}))),T=e=>{let{filters:t,exportTypes:n=[]}=e;const l=b(),c=(0,y.ax)("openConsoleApp"),s=(0,y.ji)(),g=(0,y.Uv)(),[T,I]=(0,a.useState)(!1),x=(0,a.useCallback)((e=>{const n={filter:(0,v.U)(t),fileFormat:e};(0,o.CrF)({exportPath:s,tenant:g,options:n}).then((()=>I(!0))).catch(O)}),[t,g,s]),O=e=>{console.warn(e),f.Z.addError({title:i().text("Error"),message:(0,o.xU7)(e,i().text("Can't export activities"))})},w=(0,a.useCallback)((()=>{c("Export")}),[c]),N=(0,a.useMemo)((()=>n.map((e=>({text:e.toUpperCase(),onClick:()=>x(e)})))),[n,x]);return r().createElement(r().Fragment,null,N.length?r().createElement(h.Z,{buttonComponent:E.k,buttonProps:{icon:u.Z,tooltipTitle:i().text("Export"),size:"L",className:l.icon},menuItems:N,menuId:"export-menu"}):r().createElement(E.k,{icon:u.Z,size:"L",onClick:()=>x(),tooltipTitle:i().text("Export"),className:l.icon}),r().createElement(m.Z,{container:document.body},r().createElement(d.Z,{open:T,autoHideDuration:5e3,className:l.snackbar,onClose:()=>I(!1),anchorOrigin:{vertical:"bottom",horizontal:"center"},message:i().text("Export operation is currently in progress. You will receive an email notification once completed. Go to Export Application to view the status."),action:r().createElement(p.Z,{className:l.exportButton,onClick:w},i().text("Export application"))})))};var I=n(71153),x=n.n(I),O=n(50914),w=n(80653),N=n(47019),S=n(56961),C=n(79811),R=n(290),_=n(35936),D=n(20414);const A=[D.I.ENTITY_CREATED,D.I.ENTITY_CHANGED,D.I.ENTITIES_MERGED,D.I.ENTITIES_SPLITTED,D.I.ENTITY_LOST_MERGE,D.I.RELATIONSHIP_CREATED,D.I.RELATIONSHIP_REMOVED,D.I.RELATIONSHIP_CHANGED,D.I.POTENTIAL_MATCHES_FOUND,D.I.POTENTIAL_MATCHES_REMOVED,D.I.NOT_MATCHES_SET,D.I.NOT_MATCHES_RESET,D.I.ENTITIES_MERGED_MANUALLY,D.I.ENTITIES_MERGED_ON_THE_FLY],P=[D.I.GROUP_CREATED,D.I.GROUP_REMOVED,D.I.GROUP_CHANGED],H=(e,t)=>t?A:(0,O.pipe)(Object.keys,(0,O.filter)((t=>(0,O.has)("groupTypes",e)&&!(0,O.isEmpty)(e.groupTypes)||!(0,O.includes)(t,P))))(D.I);var L=n(36817),M=n(59952),U=n(57312);function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){j(e,t,n[t])}))}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Z={input:e=>k({},e,{fontSize:"14px"}),menuPortal:e=>k({},e,{zIndex:1300})},z=(0,g.makeStyles)({container:{width:500,boxSizing:"border-box"},labels:{fontSize:"14px"},filterSubtitle:{paddingBottom:"10px",paddingLeft:"5px"},agoLabel:{minWidth:"30px",textAlign:"end",margin:"auto"},dateOption:{display:"flex",marginRight:"30px"},dateOptionAgo:{display:"flex",marginBottom:"10px"},dateOptionWithin:{display:"flex",marginRight:"30px",marginBottom:"10px"},dateOptionLabel:{minWidth:"100px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},editorFields:{maxHeight:400,borderColor:"rgba(0,0,0,0.12)"},clearButton:{marginRight:"auto"},selectorWrapper:{marginBottom:"12px"},option:{fontSize:"14px",height:"32px"},selectorsGroup:{display:"flex",flexDirection:"column"},selectorHint:{fontSize:12,lineHeight:"16px",color:"rgba(0,0,0,0.54)"},divider:{marginBottom:12}}),G=e=>{let{activityTypes:t,selectedActivityTypes:n,onChange:a}=e;const l=z(),o=e=>({value:e,label:(0,U.Xr)(e)}),c=e=>e.map(o),p=n.length>1&&n.includes(D.I.ENTITY_CHANGED),m=(0,O.pipe)((0,O.sortBy)((e=>(0,U.Xr)(e))),c)(t);return r().createElement("div",{className:l.selectorWrapper,"data-reltio-id":"activity-selector"},r().createElement(s.Z,{className:x()(l.filterSubtitle,l.labels),variant:"subtitle1"},i().text("Activity")),r().createElement(L.Z,{value:c(n),onChange:(0,O.pipe)((0,O.defaultTo)([]),(0,O.pluck)("value"),a),options:m,TextFieldProps:{InputProps:{disableUnderline:!0},classes:{root:l.dropDownInput}},components:{DropdownIndicator:M.Z},styles:Z,classes:l,menuPlacement:"bottom",menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}),p&&r().createElement("span",{className:l.selectorHint},i().text("One at a time! Select a single Activity and any of its filters -OR- multiple Activities with no filters.")))};var V=n(15791),W=n(30721),B=n(63297),F=n(96758),K=n(77875),Y=n(79573),$=n(27446),q=n(55962);function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const J=[null,null],Q=[null,"minutes"],ee=e=>{let{value:t,onChange:n}=e;const l=z(),c=e=>(null==t?void 0:t.type)===e?t.period:e===o.KfU.WITHIN||e===o.KfU.AGO?Q:e===o.KfU.BETWEEN?J:void 0,[p,m]=(0,a.useState)(c(o.KfU.BETWEEN)),[d,u]=(0,a.useState)(c(o.KfU.WITHIN)),[E,f]=(0,a.useState)(c(o.KfU.AGO)),h=e=>e===o.KfU.WITHIN?d:e===o.KfU.AGO?E:e===o.KfU.BETWEEN?p:void 0,v=e=>{(null==t?void 0:t.type)!==e&&n({period:h(e),type:e})},y=e=>{n(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){X(e,t,n[t])}))}return e}({},t,{period:e}))};return(0,q.D)((()=>{t?t.type===o.KfU.WITHIN?u(t.period):t.type===o.KfU.AGO?f(t.period):t.type===o.KfU.BETWEEN&&m(t.period):(m(J),u(Q),f(Q))}),[t]),r().createElement("div",{className:l.selectorWrapper,"data-reltio-id":"date-range-selector"},r().createElement(s.Z,{className:x()(l.filterSubtitle,l.labels),variant:"subtitle1"},i().text("Date")),r().createElement(F.Z,{value:(null==t?void 0:t.type)||null,onChange:(0,O.pipe)(Y.NA,v)},r().createElement("div",{className:l.dateOptionWithin},r().createElement(W.Z,{value:o.KfU.WITHIN,control:r().createElement(B.Z,{color:"primary"}),label:i().text("Within the last"),classes:{label:x()(l.dateOptionLabel,l.labels)}}),r().createElement(K.Z,{interval:d,onChange:y,onFocus:()=>v(o.KfU.WITHIN)})),r().createElement("div",{className:l.dateOptionAgo},r().createElement(W.Z,{value:o.KfU.AGO,control:r().createElement(B.Z,{color:"primary"}),label:i().text("More than"),classes:{label:x()(l.dateOptionLabel,l.labels)}}),r().createElement(K.Z,{interval:E,onChange:y,onFocus:()=>v(o.KfU.AGO)}),r().createElement(s.Z,{className:x()(l.agoLabel,l.labels),variant:"subtitle1"},i().text("Ago"))),r().createElement("div",{className:l.dateOption},r().createElement(W.Z,{value:o.KfU.BETWEEN,control:r().createElement(B.Z,{color:"primary"}),label:i().text("Date range"),classes:{label:x()(l.dateOptionLabel,l.labels)}}),r().createElement($.Z,{values:p,onChange:y,onFocus:()=>v(o.KfU.BETWEEN)}))))};var te=n(55234);const ne=e=>{let{entityTypes:t,selectedEntityTypes:n,onChange:a}=e;const l=z(),o=e=>({value:e.uri,label:e.label,entityType:e}),c=e=>e.map(o),p=(0,O.pipe)((0,O.sortBy)((e=>e.label)),c)(t);return r().createElement("div",{className:l.selectorWrapper,"data-reltio-id":"entity-types-selector"},r().createElement(s.Z,{className:x()(l.filterSubtitle,l.labels),variant:"subtitle1"},i().text("Type")),r().createElement(L.Z,{value:c(n),onChange:(0,O.pipe)((0,O.defaultTo)([]),(0,O.pluck)("entityType"),a),options:p,TextFieldProps:{InputProps:{disableUnderline:!0},classes:{root:l.dropDownInput}},components:{DropdownIndicator:M.Z},styles:Z,classes:l,menuPlacement:"bottom",menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))},ae=e=>{let{selectedSources:t,onChange:n}=e;const a=z(),l=(0,y.AH)(),o=(0,O.sortBy)((e=>e.label))(l.sources);return r().createElement("div",{className:a.selectorWrapper,"data-reltio-id":"source-selector"},r().createElement(s.Z,{className:x()(a.filterSubtitle,a.labels),variant:"subtitle1"},i().text("Source")),r().createElement(L.Z,{value:t,onChange:(0,O.pipe)((0,O.defaultTo)([]),n),options:o,TextFieldProps:{InputProps:{disableUnderline:!0},classes:{root:a.dropDownInput}},components:{DropdownIndicator:M.Z},styles:Z,classes:a,getOptionValue:(0,O.prop)("abbreviation"),menuPlacement:"bottom",menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))},re=e=>{let{filter:t,entityType:n,onPropChange:a}=e;const l=z(),{attributes:i=[],sources:c=[],entityTypes:s=[]}=t||{},p=(0,y.AH)(),m=(0,o.Ug0)(p,(0,O.map)((0,O.prop)("uri"),s)),d=n||(0,o.nt9)(p,m);return r().createElement("div",{className:l.selectorsGroup},!n&&r().createElement(ne,{entityTypes:p.entityTypes,selectedEntityTypes:s,onChange:a("entityTypes")}),r().createElement(te.Z,{selectedAttributes:i,entityType:d,onChange:a("attributes"),className:l.selectorWrapper,disableUnderline:!0}),r().createElement(ae,{selectedSources:c,onChange:a("sources")}))},le=e=>{let{value:t,open:n,entityType:l,anchorEl:o,onApply:c,onCancel:s,onClear:m}=e;const d=z(),[u,E]=(0,a.useState)(t),f=(0,y.AH)(),h=(0,O.curry)(((e,t)=>{E((0,O.pipe)((0,O.when)((0,O.always)("entityTypes"===e),(0,O.assoc)("attributes",[])),(0,O.when)((0,O.always)("activities"===e),(0,O.mergeLeft)({attributes:[],entityTypes:[],sources:[]})),(0,O.assoc)(e,t)))}));(0,q.D)((()=>{E(t)}),[n,t]);const{activities:v=[],dateRange:g=null,users:b=[]}=u||{},T=1===v.length&&v.includes(D.I.ENTITY_CHANGED);return r().createElement(N.ZP,{open:n,anchorEl:o,onClose:s,classes:{paper:d.container},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},r().createElement(_.Z,null,i().text("Filter")),r().createElement(R.Z,{dividers:!0,className:d.editorFields},r().createElement(G,{activityTypes:H(f,l),selectedActivityTypes:v,onChange:h("activities")}),T&&r().createElement(re,{filter:u,entityType:l,onPropChange:h}),r().createElement(S.Z,{light:!0,className:d.divider}),r().createElement(ee,{value:g,onChange:h("dateRange")}),r().createElement(S.Z,{light:!0,className:d.divider}),r().createElement(V.Z,{selectedUsers:b,onChange:h("users"),disableUnderline:!0})),r().createElement(C.Z,null,r().createElement(p.Z,{onClick:(0,O.pipe)((()=>E(null)),m),className:d.clearButton},i().text("Clear all")),r().createElement(p.Z,{onClick:s},i().text("Cancel")),r().createElement(p.Z,{color:"primary",onClick:()=>c(u)},i().text("Apply"))))};var ie=n(47591);const oe=(0,g.makeStyles)((e=>({icon:{margin:"4px","&.activeIcon":{backgroundColor:(0,ie.Fq)(e.palette.primary.main,.12),color:e.palette.primary.main}}})));function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const se=e=>{let{filter:t,entityType:n,onChange:l}=e;const c=oe(),s=(0,a.useRef)(),p=(0,a.useRef)(t),[m,d]=(0,a.useState)(!1),u=!(0,O.equals)(t,p.current);return r().createElement(r().Fragment,null,r().createElement(E.k,{ref:s,icon:w.Z,size:"L",onClick:()=>d(!0),tooltipTitle:i().text("Filter"),className:x()(c.icon,{activeIcon:u})}),r().createElement(le,{value:t,open:m,entityType:n,anchorEl:s.current,onApply:e=>{const t=(0,O.pipe)((0,O.mergeRight)(p.current),(0,O.evolve)({dateRange:(0,O.unless)(o.RZp,(0,O.always)(p.current.dateRange))}))(e);l(t),d(!1)},onCancel:()=>d(!1),onClear:()=>l(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){ce(e,t,n[t])}))}return e}({},p.current))}))},pe=(0,g.makeStyles)({header:{display:"flex",alignItems:"center",overflow:"hidden",flexGrow:1},label:{marginRight:"4px",fontSize:"14px"},buttonsWrapper:{marginLeft:"auto",display:"flex"}});function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){de(e,t,n[t])}))}return e}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ue=e=>{let{value:t,entityType:n,entityUri:a,onChange:l,exportTypes:p}=e;const m=pe(),d=(0,y.td)(),u=(0,y.Uv)(),E=(0,o.Cz4)(d,u),f=(e=>{const t=(0,O.curry)(((e,t,n)=>n.length<=1?n[0]:`${n[0]} + ${n.length-1} ${2===n.length?e:t}`)),n=(0,O.pipe)((0,O.map)(U.Xr),t(i().text("activity"),i().text("activities")))(e.activities),a=t(i().text("user"),i().text("users"),e.users),r=(0,O.pipe)((0,O.defaultTo)([]),(0,O.pluck)("label"),(0,O.sortBy)(O.identity),t(i().text("type"),i().text("types")))(e.entityTypes),l=(0,O.pipe)((0,O.defaultTo)([]),(0,O.pluck)("label"),(0,O.sortBy)(O.identity),t(i().text("attribute"),i().text("attributes")))(e.attributes),c=(0,O.pipe)((0,O.defaultTo)([]),(0,O.pluck)("label"),t(i().text("source"),i().text("sources")))(e.sources);return(0,O.pipe)((0,O.reject)(O.isNil),(0,O.join)(" | "))([n,r,l,c,(e=>{const t=e=>`${(0,o.mB6)({dataTypeDefinition:{type:o.oS0.TYPE_ACTIVENESS_DATE}},e)}`;switch(e.type){case o.KfU.WITHIN:return i().text("Within ${amount} ${unit}",{amount:e.period[0],unit:(0,o.wsP)(e.period[1])});case o.KfU.AGO:return i().text("More than ${amount} ${unit} ago",{amount:e.period[0],unit:(0,o.wsP)(e.period[1])});case o.KfU.BETWEEN:return i().text("${startDate} to ${endDate}",{startDate:t(e.period[0]),endDate:t(e.period[1])});default:return null}})(e.dateRange),a])})(t);return r().createElement("div",{className:m.header},r().createElement(s.Z,{variant:"body2",className:m.label},i().text("Filter:")),r().createElement(c.Z,{title:f},r().createElement(s.Z,{variant:"body2",className:m.label,color:"textSecondary",display:"block",noWrap:!0},f)),r().createElement("div",{className:m.buttonsWrapper},E&&r().createElement(T,{filters:me({},t,{entityUri:a}),exportTypes:p}),r().createElement(se,{filter:t,entityType:n,onChange:l})))}},33992:(e,t,n)=>{n.d(t,{w:()=>a});let a=function(e){return e.ATTRIBUTE_CHANGED="edited",e.ATTRIBUTE_ADDED="added",e.ATTRIBUTE_REMOVED="deleted",e}({})},54202:(e,t,n)=>{n.d(t,{U:()=>c});var a=n(50914),r=n(98952);const l=e=>e.startsWith("USER_")||e.startsWith("COMMENT_")||e.startsWith("SFDC_")?`startsWith(label, '${e}')`:`equals(items.data.type, ${e})`,i=e=>`equals(items.delta.attributeType, '${e.value}')`,o=(0,a.cond)([[(0,a.equals)("users"),()=>(0,r.NPd)(r.F$g)],[(0,a.equals)("activities"),()=>(0,r.NPd)(l)],[(0,a.equals)("sources"),()=>(0,r.NPd)(r.dwd)],[(0,a.equals)("attributes"),()=>(0,r.NPd)(i)],[(0,a.equals)("entityTypes"),()=>(0,r.NPd)(r.bG8)],[(0,a.equals)("dateRange"),()=>r.lPZ],[(0,a.equals)("entityUri"),()=>r._LJ],[(0,a.equals)("rawFilter"),()=>a.identity]]),c=(0,a.pipe)((0,a.defaultTo)({}),(0,a.reject)(r.O27),a.toPairs,(0,a.append)(["rawFilter","not equals(user, 'collaboration-service')"]),(0,a.map)((e=>{let[t,n]=e;return o(t)(n)})),(0,a.reject)(r.O27),(0,a.map)(r.tM8),(0,a.join)(" and "))},38806:(e,t,n)=>{n.d(t,{v:()=>o});var a=n(24328),r=n(50914),l=n(98952),i=n(14596);const o=e=>{const t=(0,i.ax)("lookupsListResolved"),n=(0,i.AH)(),o=(0,i.ej)(),c=(0,i.kO)(),s=(0,i.Rv)(),{map:p}=e,m=(0,l.CL1)(e),d=(0,l.hM2)(n,o,!0,e),u=(0,l.mxe)(d,s);return(0,a.useEffect)((()=>{u.length>0&&(0,r.pipe)((0,r.chain)((e=>{let{type:t,codeValues:n}=e;return n.map((e=>({type:t,codeValue:e})))})),l.hK$,(0,r.andThen)(t))(u)}),[e]),(0,l.ZxB)(n,c,s,d,m,p)}},39034:(e,t,n)=>{n.d(t,{o:()=>a});let a=function(e){return e.INIT="init",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e}({})}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8b9136b7-bf75-456b-9572-4224e70d8af2",e._sentryDebugIdIdentifier="sentry-dbid-8b9136b7-bf75-456b-9572-4224e70d8af2")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"756a7513a42a2e35d42e606647a4e60f455dcf69"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[1425],{44938:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(24328),r=n.n(a),l=n(50166),i=n(88267),o=n(98952);const c=(0,n(72342).makeStyles)({item:{overflow:"hidden"}});function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m=(0,a.memo)((e=>{let{width:t=0,height:n=0,defaultItemSize:p,data:m,children:d,itemKey:u,showNotMeasuredItems:E,listRef:f}=e;const h=c(),v=(0,a.useRef)({}),[y,g]=(0,a.useState)({}),b=(0,a.useCallback)((0,o.DsO)((()=>{g(s({},v.current))})),[]),T=(0,a.useCallback)(((e,t)=>u?u(t,e):t),[u]),I=(0,a.useRef)(),x=f||I;x.current&&x.current.resetAfterIndex(0,!1);const O=(0,a.useMemo)((()=>e=>{let{data:t,index:n,style:a}=e;const l=T(t,n);return r().createElement("div",{style:a,className:h.item},r().createElement("div",{style:E?void 0:{visibility:l in y?void 0:"hidden"}},r().createElement(i.Z,{handleHeight:!0,onResize:(e,t)=>{v.current[l]!==t&&(((e,t)=>{v.current=s({},v.current,{[e]:t})})(l,t),b())}}),d({data:t,index:n})))}),[d,E,T,b,!E&&y]);return r().createElement(l.VariableSizeList,{ref:x,width:t,height:n,itemCount:m.length,itemData:m,itemSize:e=>y[(e=>T(m,e))(e)]||p,itemKey:u},O)}))},82068:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),l=n(71153),i=n.n(l);const o=(0,n(72342).makeStyles)({"basic-view-content":{flex:"1 1 auto",padding:"0 24px 24px","&:first-child":{paddingTop:"24px"}}});function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}const s=e=>{let{children:t,className:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children","className"]);const l=o();return r().createElement("div",c({className:i()(l["basic-view-content"],n)},a),t)}},77434:(e,t,n)=>{n.d(t,{Z:()=>We});var a=n(24328),r=n.n(a),l=n(71153),i=n.n(l),o=n(50914),c=n(95038),s=n.n(c);const p=(0,o.pipe)((0,o.groupBy)((e=>{let{timestamp:t}=e;return s()(t).startOf("day")})),o.toPairs,(0,o.map)((e=>{let[t,n]=e;return{timestamp:s()(t).valueOf(),collapsed:!1,children:n}}))),m=(0,o.addIndex)(o.chain)(((e,t)=>{let{children:n,collapsed:a,timestamp:r}=e;const l={collapsed:a,timestamp:r,index:t};return a?[l]:[l,...n]})),d=(0,o.has)("collapsed"),u=(e,t)=>{const n=t[e];return"uri"in n?n.uri:`${n.index}`};var E=n(56961),f=n(57312),h=n(79312),v=n(2507),y=n.n(v),g=n(79935),b=n(28831),T=n(98952),I=n(72342);const x=(0,I.makeStyles)({groupItem:{display:"flex",height:"40px",alignItems:"center",paddingTop:"10px",boxSizing:"border-box",paddingRight:"16px"},groupIcon:{marginLeft:"-5px",marginRight:"22px",width:"10px",height:"10px",background:"white",border:"2px solid #D8D8D8",borderRadius:"50%",boxSizing:"border-box",flexShrink:0},groupTitle:{fontWeight:500}}),O=e=>{let{item:{index:t,timestamp:n,collapsed:a},onToggle:l}=e;const i=x();return r().createElement("div",{className:i.groupItem},r().createElement("div",{className:i.groupIcon}),r().createElement(h.Z,{className:i.groupTitle,variant:"subtitle1"},(0,T.zkt)(n)?y().text("Today"):y().date(n,"LL")),r().createElement(g.Z,null),r().createElement(b.Z,{isOpen:!a,onClick:()=>l(t)}))};var w=n(20414);const N=(0,I.makeStyles)((e=>({activityTitle:{display:"block",fontWeight:500,fontSize:13,lineHeight:"15px",color:e.palette.text.primary,marginBottom:8},activityType:{flexShrink:0,marginRight:8,whiteSpace:"nowrap"}}))),S=e=>{let{type:t,children:n}=e;const a=N();return r().createElement("span",{className:a.activityTitle},r().createElement("span",{className:a.activityType},(0,f.Xr)(t)),n)},C=e=>{let{type:t}=e;return r().createElement(S,{type:t})};var R=n(14596);const _=(0,I.makeStyles)((e=>({link:{color:e.palette.primary.main,textDecoration:"none",fontWeight:400,cursor:"pointer"},objectLabel:{color:e.palette.text.secondary,lineHeight:"15px",fontWeight:400},relationUri:{color:e.palette.text.primary,fontWeight:400}}))),D=e=>{var t,n;let{data:a,type:l}=e;const i=_(),o=(0,R.AH)(),c=(0,T.T6O)(o,null===(t=a.items)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.objectType);return r().createElement(S,{type:l},r().createElement("span",{className:i.objectLabel},(0,T.idV)(c)))},A=3,P=(0,a.createContext)(null),H=e=>{let{children:t}=e;const[n,l]=(0,a.useState)([]);return r().createElement(P.Provider,{value:{expandedItems:n,addExpandedItems:e=>{n.includes(e)||l((t=>[...t,e]))}}},t)},L=e=>{let{itemsId:t,items:n=[],limit:r=A}=e;const{expandedItems:l,addExpandedItems:i}=(0,a.useContext)(P),o=(0,a.useCallback)((()=>i(t)),[t]),c=l.includes(t),s=n.slice(0,c?n.length:r);return{onExpand:o,itemsToShow:s,collapsedItemsCount:n.length-s.length}};var M=n(55485);function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},U.apply(this,arguments)}const k=e=>{let{itemsCount:t,itemsLabel:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["itemsCount","itemsLabel"]);return r().createElement(M.Z,U({component:"button",variant:"caption"},a,{underline:"none"}),r().createElement("span",null,y().text("${itemsCount} more",{itemsCount:t})," ",n))},j=e=>{let{RecordComponent:t,items:n,activityUri:a}=e;const{onExpand:l,itemsToShow:i,collapsedItemsCount:o}=L({itemsId:a,items:n});return r().createElement(r().Fragment,null,i.map((e=>r().createElement(t,{key:e.id,item:e}))),o?r().createElement(k,{itemsCount:o,itemsLabel:1===o?y().text("record"):y().text("records"),onClick:l}):null)};var Z=n(18527);const z=(0,I.makeStyles)((e=>({link:{fontSize:13,lineHeight:"15px",color:e.palette.primary.main,textDecoration:"none",fontWeight:400,"&.removed":{pointerEvents:"none",color:e.palette.text.secondary}}}))),G=e=>{let{item:t}=e;const n=z(),{objectLabel:a,objectUri:l,data:o}=t,c=(null==o?void 0:o.type)===w.I.ENTITY_REMOVED;return r().createElement(Z.Z,{className:i()(n.link,{removed:c}),value:l},(0,T.idV)(a))},V=(0,I.makeStyles)((e=>({field:{fontSize:12,lineHeight:"20px",color:e.palette.text.primary,marginTop:4,display:"block"},fieldName:{color:e.palette.text.secondary,marginRight:8},link:{color:e.palette.primary.main,textDecoration:"none",fontWeight:400}}))),W=(0,I.makeStyles)((e=>({arrow:{margin:"0 8px",fontSize:12,color:e.palette.text.primary},chip:{height:20,width:53,fontSize:10,fontWeight:500,lineHeight:"16px",marginLeft:9,flexShrink:0,textTransform:"capitalize","& span":{padding:0},"&.edited":{color:"#6973C2",borderColor:"#6973C2"},"&.added":{color:"#75C378",borderColor:"#75C378"},"&.deleted":{color:"#F97061",borderColor:"#F97061"}},expandLabel:{fontSize:12},andLabel:{color:e.palette.text.secondary}}))),B=e=>{let{item:{id:t,data:n}}=e;const a=V(),l=W(),i=(null==n?void 0:n.potentialMatches)||(null==n?void 0:n.newUri),{onExpand:o,collapsedItemsCount:c,itemsToShow:s}=L({itemsId:t,items:i.split(",")}),p=null==n?void 0:n.type;return r().createElement("div",{className:a.field},r().createElement("span",{className:a.fieldName},(e=>({[w.I.POTENTIAL_MATCHES_FOUND]:y().text("Matches found"),[w.I.POTENTIAL_MATCHES_REMOVED]:y().text("Matches removed"),[w.I.NOT_MATCHES_SET]:y().text("Were set"),[w.I.NOT_MATCHES_RESET]:y().text("Were reset"),[w.I.ENTITIES_MERGED_MANUALLY]:y().text("Merged with"),[w.I.ENTITIES_MERGED]:y().text("Merged automatically with"),[w.I.ENTITIES_SPLITTED]:y().text("Un-merged with")}[e]||""))(p),":"),s.map(((e,t)=>r().createElement(Z.Z,{key:t,value:e,className:a.link},(0,T.idV)(n[e])))).reduce(((e,t)=>[e,", ",t])),c?r().createElement(r().Fragment,null,r().createElement("span",{className:l.andLabel}," ",y().text("and")," "),r().createElement(k,{itemsCount:c,itemsLabel:1===c?y().text("match"):y().text("matches"),onClick:o,className:l.expandLabel})):null)},F=(0,I.makeStyles)((e=>({record:{background:"rgba(0, 0, 0, 0.03)",border:"1px solid rgba(0, 0, 0, 0.03)",boxSizing:"border-box",borderRadius:"3px",padding:"7px 14px",marginBottom:8,position:"relative","&:hover $restoreIcon":{visibility:"visible"}},label:{color:e.palette.text.primary,fontSize:12,lineHeight:"16px"},description:{marginRight:8,flexShrink:0},restoreIcon:{visibility:"hidden",color:e.palette.text.secondary,position:"absolute",right:4,top:3,cursor:"pointer"},moreLabel:{marginTop:4}}))),K=e=>{let{item:t}=e;const n=F(),{potentialMatches:a,newUri:l}=t.data;return a||l?r().createElement("div",{className:n.record},r().createElement("span",{className:n.label},r().createElement(G,{item:t})),r().createElement(B,{item:t})):null},Y=e=>{let{type:t,data:n}=e;const{itemsTotal:a,items:l,uri:i}=n,o=1===a&&!(l[0].data.potentialMatches||l[0].data.newUri);return r().createElement("div",null,r().createElement(S,{type:t},o&&r().createElement(G,{item:l[0]})),!o&&r().createElement(j,{activityUri:i,items:l,RecordComponent:K}))},$=e=>{let{type:t,data:n}=e;return r().createElement("div",null,r().createElement(S,{type:t}),r().createElement(j,{activityUri:n.uri,items:n.items,RecordComponent:K}))};var q=n(66337),X=n(33992),J=n(19926),Q=n(56476);const ee=e=>{var t,n;let{delta:a}=e;const l=W(),o=V(),c=(0,R.AH)(),s=(0,R.kO)(),p=(0,T.zeJ)(c,a.attributeType),m=null===(t=a.newValue)||void 0===t?void 0:t.value,d=null===(n=a.oldValue)||void 0===n?void 0:n.value,u=d||m,E=X.w[a.type],h=e=>(0,f._V)(e,a.attributeType,c,s);return r().createElement("div",{className:o.field},r().createElement("span",{className:o.fieldName},(null==p?void 0:p.label)||(null==p?void 0:p.name),":"),r().createElement("span",null,u&&h(u),m&&d&&r().createElement(r().Fragment,null,r().createElement(Q.Z,{className:l.arrow}),h(m))),E&&r().createElement(J.Z,{variant:"outlined",label:E,className:i()(l.chip,E)}))},te=e=>{let{updates:t,recordId:n}=e;const a=F(),{onExpand:l,collapsedItemsCount:i,itemsToShow:o}=L({itemsId:n,items:t});return r().createElement(r().Fragment,null,o.map(((e,t)=>r().createElement(ee,{key:t,delta:e}))),i?r().createElement(k,{itemsCount:i,itemsLabel:1===i?y().text("update"):y().text("updates"),onClick:l,className:a.moreLabel}):null)},ne=e=>{var t;let{item:n}=e;const a=F(),l=(0,R.ax)("openHistoryEvent"),i=null===(t=n.deltaCollection)||void 0===t?void 0:t.delta,c=(0,o.path)(["data","type"])(n)===w.I.ENTITY_CHANGED;return r().createElement("div",{className:a.record},r().createElement(h.Z,{className:a.label},!i&&r().createElement("span",{className:a.description},y().text("Profile changed")),r().createElement(G,{item:n})),c&&r().createElement(q.Z,{"data-reltio-id":"reltio-entity-record-restore-icon",className:a.restoreIcon,onClick:()=>{(0,T.fAQ)(n.objectUri,n.timestamp).then((e=>{if(-1!==e){const t={aStamp:n.timestamp,bStamp:e};l({entityUri:n.objectUri,historyEvent:t})}})).catch((e=>console.warn(e)))}}),r().createElement(te,{updates:i,recordId:n.id}))},ae=e=>{var t;let{type:n,data:a}=e;const l=1===a.itemsTotal&&!(null!==(t=a.items[0].deltaCollection)&&void 0!==t&&t.delta);return r().createElement("div",null,r().createElement(S,{type:n},l&&r().createElement(G,{item:a.items[0]})),!l&&r().createElement(j,{activityUri:a.uri,items:a.items,RecordComponent:ne}))},re=(0,I.makeStyles)((e=>({relationship:{fontSize:13,lineHeight:"15px",color:e.palette.text.secondary,overflow:"hidden"},link:{color:e.palette.primary.main,textDecoration:"none",fontWeight:400},delimiter:{margin:"0 8px"}}))),le=e=>{let{item:t}=e;const n=re(),{startObjectLabel:a,startObjectUri:l,endObjectLabel:i,endObjectUri:o}=t;return r().createElement("span",{className:n.relationship},r().createElement(Z.Z,{className:n.link,value:l},(0,T.idV)(a)),r().createElement("span",{className:n.delimiter},y().text("to")),r().createElement(Z.Z,{className:n.link,value:o},(0,T.idV)(i)))},ie=e=>{var t;let{item:n}=e;const a=F(),l=null===(t=n.deltaCollection)||void 0===t?void 0:t.delta;return r().createElement("div",{className:a.record},r().createElement(h.Z,{className:a.label},!l&&r().createElement("span",{className:a.description},y().text("Relationship updated")),r().createElement(le,{item:n})),r().createElement(te,{updates:l,recordId:n.id}))},oe=e=>{var t;let{type:n,data:a}=e;const l=1===a.itemsTotal&&!(null!==(t=a.items[0].deltaCollection)&&void 0!==t&&t.delta);return r().createElement("div",null,r().createElement(S,{type:n},l&&r().createElement(le,{item:a.items[0]})),!l&&r().createElement(j,{activityUri:a.uri,items:a.items,RecordComponent:ie}))};var ce=n(79573),se=n(38806);const pe=e=>{let{data:t,type:n}=e;const l=_(),i=(0,R.ax)("openSearch"),c=(0,a.useMemo)((()=>{const e=(0,ce.Rx)(t.description);return"2.0"===e.version?e.activity.uiState:e}),[t.description]),s=(0,o.pipe)((0,o.always)(c),i),p=(0,se.v)(c);return r().createElement(S,{type:n},r().createElement("span",{className:l.link,onClick:s},p||y().text("all profiles")))},me=e=>{let{type:t,data:n}=e;const a=_(),l=(0,ce.Rx)(n.description),i=n.itemsTotal;return r().createElement(S,{type:t},l&&r().createElement(Z.Z,{className:a.link,value:l.uri},(0,T.idV)(l.label)),i>1&&r().createElement("span",{className:a.objectLabel},y().text("(${itemsTotal} records)",{itemsTotal:i})))},de=e=>{let{type:t,data:n}=e;const a=_(),l=(0,ce.Rx)(n.description),i=n.itemsTotal,o=n.items[0].objectUri;return r().createElement(S,{type:t},r().createElement(r().Fragment,null,(0,T.bC9)(o)?r().createElement("span",{className:a.relationUri},o):r().createElement(G,{item:n.items[0]}),l&&r().createElement("div",{className:a.objectLabel},l.label)),i>1&&r().createElement("div",{className:a.objectLabel},y().text("(${itemsTotal} records)",{itemsTotal:i})))};function ue(){return ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ue.apply(this,arguments)}const Ee=e=>r().createElement("svg",ue({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M17.4 13.08h-4.32v4.32h-2.16v-4.32H6.6v-2.16h4.32V6.6h2.16v4.32h4.32v2.16z",fill:"#fff"}));var fe=n(4237);function he(){return he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},he.apply(this,arguments)}const ve=e=>r().createElement("svg",he({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M16.35 6h-8.7C6.74 6 6 6.804 6 7.793v5.788c0 .986.737 1.79 1.644 1.793V18l3.472-2.626h5.234c.91 0 1.65-.805 1.65-1.793V7.793C18 6.804 17.26 6 16.35 6zm-1.562 6.726H9.212v-.765h5.576v.765zm0-1.63H9.212v-.765h5.576v.764zm0-1.631H9.212V8.7h5.576v.764z",fill:"#fff"}));function ye(){return ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ye.apply(this,arguments)}const ge=e=>r().createElement("svg",ye({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.6 15.15v2.25h2.25l6.636-6.636-2.25-2.25L6.6 15.15zm10.626-6.126a.598.598 0 000-.846l-1.404-1.404a.598.598 0 00-.846 0l-1.098 1.098 2.25 2.25 1.098-1.098z",fill:"#fff"}));function be(){return be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},be.apply(this,arguments)}const Te=e=>r().createElement("svg",be({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M15.6 6H9c-.662 0-1.2.539-1.2 1.2V9H9V7.2h6.6v9.6H9V15H7.8v1.8c0 .662.538 1.2 1.2 1.2h6.6c.662 0 1.2-.538 1.2-1.2V7.2c0-.661-.538-1.2-1.2-1.2z",fill:"#fff"}),r().createElement("path",{d:"M10.975 13.976l.85.848 2.823-2.83-2.824-2.819-.848.85 1.378 1.375H7.2v1.2h5.15l-1.375 1.376z",fill:"#fff"}));function Ie(){return Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ie.apply(this,arguments)}const xe=e=>r().createElement("svg",Ie({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M7.4 6H14c.662 0 1.2.539 1.2 1.2V9H14V7.2H7.4v9.6H14V15h1.2v1.8c0 .662-.538 1.2-1.2 1.2H7.4c-.662 0-1.2-.538-1.2-1.2V7.2c0-.661.538-1.2 1.2-1.2z"}),r().createElement("path",{d:"M15.127 13.976l.85.848 2.823-2.83-2.824-2.819-.849.85 1.379 1.375h-5.154v1.2H16.5l-1.374 1.376z"}));function Oe(){return Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Oe.apply(this,arguments)}const we=e=>r().createElement("svg",Oe({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.764 11.152V9.659l2.334 2.217-2.334 2.217v-1.444H13.12c-1.023 0-1.333.314-1.918 1.632-.797 1.796-1.514 2.52-3.3 2.52h-1.69v-1.495h1.69c1.036 0 1.35-.319 1.937-1.639.348-.784.68-1.363 1.09-1.766-.41-.403-.742-.982-1.09-1.766-.586-1.32-.901-1.64-1.938-1.64H6.213V7H7.9c1.787 0 2.504.725 3.301 2.52.585 1.318.895 1.633 1.918 1.633h2.644z",fill:"#fff"}));function Ne(){return Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ne.apply(this,arguments)}const Se=e=>r().createElement("svg",Ne({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.8 15.6V7.2H8.4V6h8.4c.66 0 1.2.54 1.2 1.2v8.4h-1.2zM7.2 18c-.66 0-1.2-.54-1.2-1.2V9.6c0-.66.54-1.2 1.2-1.2h7.2c.66 0 1.2.54 1.2 1.2v7.2c0 .66-.54 1.2-1.2 1.2H7.2zm4.937-2.8l.663-.663-1.337-1.337 1.337-1.337-.663-.663-1.337 1.337L9.463 11.2l-.663.663 1.337 1.337L8.8 14.537l.663.663 1.337-1.337 1.337 1.337z",fill:"#fff"}));function Ce(){return Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ce.apply(this,arguments)}const Re=e=>r().createElement("svg",Ce({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.8 7.2v8.4H18V7.2c0-.66-.54-1.2-1.2-1.2H8.4v1.2h8.4zM6 16.8c0 .66.54 1.2 1.2 1.2h7.2c.66 0 1.2-.54 1.2-1.2V9.6c0-.66-.54-1.2-1.2-1.2H7.2c-.66 0-1.2.54-1.2 1.2v7.2z",fill:"#fff"}));function _e(){return _e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_e.apply(this,arguments)}const De=e=>r().createElement("svg",_e({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M11.727 5c1.66 0 3 1.376 3 3.08 0 1.704-1.34 3.08-3 3.08s-3-1.376-3-3.08c0-1.704 1.34-3.08 3-3.08zM12 19c-2.5 0-4.71-1.365-6-3.435.03-2.122 4-3.285 6-3.285 1.99 0 5.97 1.163 6 3.285C16.71 17.635 14.5 19 12 19z",fill:"#fff"}));function Ae(){return Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ae.apply(this,arguments)}const Pe=e=>r().createElement("svg",Ae({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.125 7.583h2.042V8.75H8V7.583h2.042L10.625 7h2.917l.583.583zM9.75 17.5a1.17 1.17 0 01-1.167-1.167v-7h7v7a1.17 1.17 0 01-1.166 1.167H9.75z",fill:"#fff"}));function He(){return He=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},He.apply(this,arguments)}const Le=e=>r().createElement("svg",He({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.432 13.358h-.568l-.197-.196a4.627 4.627 0 001.121-3.023 4.65 4.65 0 10-4.649 4.65 4.628 4.628 0 003.022-1.12l.198.195v.567L16.933 18 18 16.934l-3.568-3.576zm-4.293 0a3.218 3.218 0 11.152-.004l-.152.004z",fill:"#fff"}));function Me(){return Me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Me.apply(this,arguments)}const Ue=e=>r().createElement("svg",Me({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.134 7.718L17.8 5.5V7h-1.604c-1.786 0-2.503.725-3.3 2.52-.585 1.318-.895 1.633-1.918 1.633H8.301v1.495h2.677c1.023 0 1.333.314 1.918 1.632.797 1.796 1.514 2.52 3.3 2.52h1.69v-1.495h-1.69c-1.036 0-1.35-.319-1.937-1.639-.348-.784-.68-1.363-1.09-1.766.41-.403.742-.982 1.09-1.766.586-1.32.901-1.639 1.938-1.639H17.8v1.44l2.334-2.217z",fill:"#fff"}));class ke{}ke.getComponent=e=>{let{type:t,data:n}=e;switch(t){case w.I.COMMENT_ADDED:case w.I.COMMENT_DELETED:case w.I.COMMENT_UPDATED:return r().createElement(C,{data:n,type:t});case w.I.ENTITIES_MERGED_MANUALLY:case w.I.ENTITIES_MERGED:case w.I.ENTITIES_MERGED_ON_THE_FLY:case w.I.ENTITIES_SPLITTED:case w.I.ENTITY_LOST_MERGE:return r().createElement(Y,{data:n,type:t});case w.I.POTENTIAL_MATCHES_FOUND:case w.I.POTENTIAL_MATCHES_REMOVED:case w.I.NOT_MATCHES_SET:case w.I.NOT_MATCHES_RESET:return r().createElement($,{data:n,type:t});case w.I.ENTITY_CHANGED:case w.I.ENTITY_CREATED:case w.I.ENTITY_REMOVED:case w.I.ANALYTICS_ATTRIBUTES_CHANGED:return r().createElement(ae,{data:n,type:t});case w.I.RELATIONSHIP_CHANGED:case w.I.RELATIONSHIP_CREATED:case w.I.RELATIONSHIP_REMOVED:return r().createElement(oe,{data:n,type:t});case w.I.USER_SEARCH:return r().createElement(pe,{data:n,type:t});case w.I.GROUP_CHANGED:case w.I.GROUP_CREATED:case w.I.GROUP_REMOVED:return r().createElement(D,{data:n,type:t});case w.I.USER_LOGIN:case w.I.USER_LOGOUT:case w.I.MODEL_UPDATED:case w.I.PERIODIC_TASK_SCHEDULED:case w.I.USER_PROFILE_VIEW:return r().createElement(me,{data:n,type:t});case w.I.SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE:return r().createElement(de,{data:n,type:t});default:return r().createElement("div",null,t," NOT IMPLEMENTED")}},ke.getIcon=e=>{switch(e){case w.I.USER_LOGIN:return r().createElement(Te,null);case w.I.USER_LOGOUT:return r().createElement(xe,null);case w.I.USER_PROFILE_VIEW:return r().createElement(De,null);case w.I.PERIODIC_TASK_SCHEDULED:return r().createElement(fe.Z,null);case w.I.ENTITIES_SPLITTED:return r().createElement(Ue,null);case w.I.ENTITIES_MERGED_MANUALLY:case w.I.ENTITIES_MERGED:case w.I.ENTITIES_MERGED_ON_THE_FLY:case w.I.ENTITY_LOST_MERGE:return r().createElement(we,null);case w.I.ENTITY_CREATED:case w.I.RELATIONSHIP_CREATED:case w.I.GROUP_CREATED:return r().createElement(Ee,null);case w.I.ENTITY_REMOVED:case w.I.RELATIONSHIP_REMOVED:case w.I.POTENTIAL_MATCHES_REMOVED:case w.I.GROUP_REMOVED:return r().createElement(Pe,null);case w.I.USER_SEARCH:return r().createElement(Le,null);case w.I.POTENTIAL_MATCHES_FOUND:return r().createElement(Re,null);case w.I.NOT_MATCHES_RESET:case w.I.NOT_MATCHES_SET:return r().createElement(Se,null);case w.I.COMMENT_ADDED:case w.I.COMMENT_UPDATED:case w.I.COMMENT_DELETED:return r().createElement(ve,null);case w.I.ENTITY_CHANGED:case w.I.MODEL_UPDATED:case w.I.RELATIONSHIP_CHANGED:case w.I.GROUP_CHANGED:default:return r().createElement(ge,null)}};const je=ke,Ze=(0,I.makeStyles)((e=>({activityItem:{display:"flex",minHeight:"40px",padding:"10px 0 5px 0",boxSizing:"border-box",paddingRight:"16px"},activityIcon:{marginLeft:"-13px",marginRight:"15px",width:"24px",height:"24px",background:e.palette.primary.main,borderRadius:"50%",border:"1px solid white",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,"& svg":{fill:"white",fontSize:"14px"}},userContainer:{display:"flex"},activityInfo:{flex:1,overflow:"hidden",position:"relative"},activityUser:{fontSize:13,lineHeight:"15px",color:e.palette.text.secondary,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},activityEvent:{marginTop:"5px"},date:{fontSize:12,lineHeight:"16px",color:e.palette.text.primary,marginLeft:"auto",flexShrink:0,paddingLeft:8}}))),ze=e=>{let{item:t}=e;const n=Ze(),a=(0,f.te)(t),l=(0,f.rx)(t);return r().createElement("div",{className:n.activityItem,"data-reltio-id":"activity-log-item"},r().createElement("div",{className:n.activityIcon},je.getIcon(a)),r().createElement("div",{className:n.activityInfo},r().createElement("div",{className:n.userContainer},r().createElement("span",{className:n.activityUser},t.user),r().createElement("span",{className:n.date},y().date(t.timestamp,"LT"))),l.map(((e,t)=>r().createElement("div",{key:t,className:n.activityEvent},je.getComponent({type:(0,f.te)(e),data:e}))))))};var Ge=n(44938);const Ve=(0,I.makeStyles)({rowDivider:{marginLeft:"28px"},listRow:{paddingLeft:"28px",position:"relative","&::before":{content:'""',width:"2px",position:"absolute",height:"100%",top:0,left:"27px",backgroundColor:"#D8D8D8",zIndex:"-1"},overflow:"hidden"},firstRow:{"&$listRow::before":{height:"calc(100% - 20px)",top:"20px"}},lastRow:{"&$listRow::before":{height:"20px"}},singleRow:{"&$listRow::before":{display:"none"}}}),We=e=>{let{width:t,height:n,activities:l}=e;const c=Ve(),[s,h]=(0,a.useState)([]),v=e=>{h((0,o.adjust)(e,(0,o.evolve)({collapsed:o.not})))};(0,a.useEffect)((()=>{(0,o.pipe)((0,o.map)(f.Io),(0,o.filter)((e=>{let{itemsTotal:t}=e;return 0!==t})),p,h)(l)}),[l]);const y=(0,a.useMemo)((()=>m(s)),[s]),g=(0,a.useCallback)((e=>{let{data:t,index:n}=e;const a=t[n],l=1===t.length,o=0===n,s=n===t.length-1;return r().createElement("div",{className:i()(c.listRow,{[c.singleRow]:l,[c.firstRow]:o,[c.lastRow]:s})},d(a)?r().createElement(O,{item:a,onToggle:v}):r().createElement(r().Fragment,null,r().createElement(ze,{item:a}),!s&&r().createElement(E.Z,{className:c.rowDivider,light:!0,variant:"inset"})))}),[]);return r().createElement(H,null,r().createElement(Ge.Z,{width:t,height:n,data:y,defaultItemSize:40,itemKey:u},g))}},75067:(e,t,n)=>{n.d(t,{Z:()=>ue});var a=n(24328),r=n.n(a),l=n(2507),i=n.n(l),o=n(98952),c=n(23883),s=n(79312),p=n(38677),m=n(83820),d=n(10050),u=n(34948),E=n(39475),f=n(32479),h=n(98538),v=n(54202),y=n(14596),g=n(72342);const b=(0,g.makeStyles)((e=>({snackbar:{maxWidth:500},icon:{margin:"4px"},exportButton:{color:e.palette.primary.main}}))),T=e=>{let{filters:t,exportTypes:n=[]}=e;const l=b(),c=(0,y.ax)("openConsoleApp"),s=(0,y.ji)(),g=(0,y.Uv)(),[T,I]=(0,a.useState)(!1),x=(0,a.useCallback)((e=>{const n={filter:(0,v.U)(t),fileFormat:e};(0,o.CrF)({exportPath:s,tenant:g,options:n}).then((()=>I(!0))).catch(O)}),[t,g,s]),O=e=>{console.warn(e),f.Z.addError({title:i().text("Error"),message:(0,o.xU7)(e,i().text("Can't export activities"))})},w=(0,a.useCallback)((()=>{c("Export")}),[c]),N=(0,a.useMemo)((()=>n.map((e=>({text:e.toUpperCase(),onClick:()=>x(e)})))),[n,x]);return r().createElement(r().Fragment,null,N.length?r().createElement(h.Z,{buttonComponent:E.k,buttonProps:{icon:u.Z,tooltipTitle:i().text("Export"),size:"L",className:l.icon},menuItems:N,menuId:"export-menu"}):r().createElement(E.k,{icon:u.Z,size:"L",onClick:()=>x(),tooltipTitle:i().text("Export"),className:l.icon}),r().createElement(m.Z,{container:document.body},r().createElement(d.Z,{open:T,autoHideDuration:5e3,className:l.snackbar,onClose:()=>I(!1),anchorOrigin:{vertical:"bottom",horizontal:"center"},message:i().text("Export operation is currently in progress. You will receive an email notification once completed. Go to Export Application to view the status."),action:r().createElement(p.Z,{className:l.exportButton,onClick:w},i().text("Export application"))})))};var I=n(71153),x=n.n(I),O=n(50914),w=n(80653),N=n(47019),S=n(56961),C=n(79811),R=n(290),_=n(35936),D=n(20414);const A=[D.I.ENTITY_CREATED,D.I.ENTITY_CHANGED,D.I.ENTITIES_MERGED,D.I.ENTITIES_SPLITTED,D.I.ENTITY_LOST_MERGE,D.I.RELATIONSHIP_CREATED,D.I.RELATIONSHIP_REMOVED,D.I.RELATIONSHIP_CHANGED,D.I.POTENTIAL_MATCHES_FOUND,D.I.POTENTIAL_MATCHES_REMOVED,D.I.NOT_MATCHES_SET,D.I.NOT_MATCHES_RESET,D.I.ENTITIES_MERGED_MANUALLY,D.I.ENTITIES_MERGED_ON_THE_FLY],P=[D.I.GROUP_CREATED,D.I.GROUP_REMOVED,D.I.GROUP_CHANGED],H=(e,t)=>t?A:(0,O.pipe)(Object.keys,(0,O.filter)((t=>(0,O.has)("groupTypes",e)&&!(0,O.isEmpty)(e.groupTypes)||!(0,O.includes)(t,P))))(D.I);var L=n(36817),M=n(59952),U=n(57312);function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){j(e,t,n[t])}))}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Z={input:e=>k({},e,{fontSize:"14px"}),menuPortal:e=>k({},e,{zIndex:1300})},z=(0,g.makeStyles)({container:{width:500,boxSizing:"border-box"},labels:{fontSize:"14px"},filterSubtitle:{paddingBottom:"10px",paddingLeft:"5px"},agoLabel:{minWidth:"30px",textAlign:"end",margin:"auto"},dateOption:{display:"flex",marginRight:"30px"},dateOptionAgo:{display:"flex",marginBottom:"10px"},dateOptionWithin:{display:"flex",marginRight:"30px",marginBottom:"10px"},dateOptionLabel:{minWidth:"100px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},editorFields:{maxHeight:400,borderColor:"rgba(0,0,0,0.12)"},clearButton:{marginRight:"auto"},selectorWrapper:{marginBottom:"12px"},option:{fontSize:"14px",height:"32px"},selectorsGroup:{display:"flex",flexDirection:"column"},selectorHint:{fontSize:12,lineHeight:"16px",color:"rgba(0,0,0,0.54)"},divider:{marginBottom:12}}),G=e=>{let{activityTypes:t,selectedActivityTypes:n,onChange:a}=e;const l=z(),o=e=>({value:e,label:(0,U.Xr)(e)}),c=e=>e.map(o),p=n.length>1&&n.includes(D.I.ENTITY_CHANGED),m=(0,O.pipe)((0,O.sortBy)((e=>(0,U.Xr)(e))),c)(t);return r().createElement("div",{className:l.selectorWrapper,"data-reltio-id":"activity-selector"},r().createElement(s.Z,{className:x()(l.filterSubtitle,l.labels),variant:"subtitle1"},i().text("Activity")),r().createElement(L.Z,{value:c(n),onChange:(0,O.pipe)((0,O.defaultTo)([]),(0,O.pluck)("value"),a),options:m,TextFieldProps:{InputProps:{disableUnderline:!0},classes:{root:l.dropDownInput}},components:{DropdownIndicator:M.Z},styles:Z,classes:l,menuPlacement:"bottom",menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}),p&&r().createElement("span",{className:l.selectorHint},i().text("One at a time! Select a single Activity and any of its filters -OR- multiple Activities with no filters.")))};var V=n(15791),W=n(30721),B=n(63297),F=n(96758),K=n(77875),Y=n(79573),$=n(27446),q=n(55962);function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const J=[null,null],Q=[null,"minutes"],ee=e=>{let{value:t,onChange:n}=e;const l=z(),c=e=>(null==t?void 0:t.type)===e?t.period:e===o.KfU.WITHIN||e===o.KfU.AGO?Q:e===o.KfU.BETWEEN?J:void 0,[p,m]=(0,a.useState)(c(o.KfU.BETWEEN)),[d,u]=(0,a.useState)(c(o.KfU.WITHIN)),[E,f]=(0,a.useState)(c(o.KfU.AGO)),h=e=>e===o.KfU.WITHIN?d:e===o.KfU.AGO?E:e===o.KfU.BETWEEN?p:void 0,v=e=>{(null==t?void 0:t.type)!==e&&n({period:h(e),type:e})},y=e=>{n(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){X(e,t,n[t])}))}return e}({},t,{period:e}))};return(0,q.D)((()=>{t?t.type===o.KfU.WITHIN?u(t.period):t.type===o.KfU.AGO?f(t.period):t.type===o.KfU.BETWEEN&&m(t.period):(m(J),u(Q),f(Q))}),[t]),r().createElement("div",{className:l.selectorWrapper,"data-reltio-id":"date-range-selector"},r().createElement(s.Z,{className:x()(l.filterSubtitle,l.labels),variant:"subtitle1"},i().text("Date")),r().createElement(F.Z,{value:(null==t?void 0:t.type)||null,onChange:(0,O.pipe)(Y.NA,v)},r().createElement("div",{className:l.dateOptionWithin},r().createElement(W.Z,{value:o.KfU.WITHIN,control:r().createElement(B.Z,{color:"primary"}),label:i().text("Within the last"),classes:{label:x()(l.dateOptionLabel,l.labels)}}),r().createElement(K.Z,{interval:d,onChange:y,onFocus:()=>v(o.KfU.WITHIN)})),r().createElement("div",{className:l.dateOptionAgo},r().createElement(W.Z,{value:o.KfU.AGO,control:r().createElement(B.Z,{color:"primary"}),label:i().text("More than"),classes:{label:x()(l.dateOptionLabel,l.labels)}}),r().createElement(K.Z,{interval:E,onChange:y,onFocus:()=>v(o.KfU.AGO)}),r().createElement(s.Z,{className:x()(l.agoLabel,l.labels),variant:"subtitle1"},i().text("Ago"))),r().createElement("div",{className:l.dateOption},r().createElement(W.Z,{value:o.KfU.BETWEEN,control:r().createElement(B.Z,{color:"primary"}),label:i().text("Date range"),classes:{label:x()(l.dateOptionLabel,l.labels)}}),r().createElement($.Z,{values:p,onChange:y,onFocus:()=>v(o.KfU.BETWEEN)}))))};var te=n(55234);const ne=e=>{let{entityTypes:t,selectedEntityTypes:n,onChange:a}=e;const l=z(),o=e=>({value:e.uri,label:e.label,entityType:e}),c=e=>e.map(o),p=(0,O.pipe)((0,O.sortBy)((e=>e.label)),c)(t);return r().createElement("div",{className:l.selectorWrapper,"data-reltio-id":"entity-types-selector"},r().createElement(s.Z,{className:x()(l.filterSubtitle,l.labels),variant:"subtitle1"},i().text("Type")),r().createElement(L.Z,{value:c(n),onChange:(0,O.pipe)((0,O.defaultTo)([]),(0,O.pluck)("entityType"),a),options:p,TextFieldProps:{InputProps:{disableUnderline:!0},classes:{root:l.dropDownInput}},components:{DropdownIndicator:M.Z},styles:Z,classes:l,menuPlacement:"bottom",menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))},ae=e=>{let{selectedSources:t,onChange:n}=e;const a=z(),l=(0,y.AH)(),o=(0,O.sortBy)((e=>e.label))(l.sources);return r().createElement("div",{className:a.selectorWrapper,"data-reltio-id":"source-selector"},r().createElement(s.Z,{className:x()(a.filterSubtitle,a.labels),variant:"subtitle1"},i().text("Source")),r().createElement(L.Z,{value:t,onChange:(0,O.pipe)((0,O.defaultTo)([]),n),options:o,TextFieldProps:{InputProps:{disableUnderline:!0},classes:{root:a.dropDownInput}},components:{DropdownIndicator:M.Z},styles:Z,classes:a,getOptionValue:(0,O.prop)("abbreviation"),menuPlacement:"bottom",menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))},re=e=>{let{filter:t,entityType:n,onPropChange:a}=e;const l=z(),{attributes:i=[],sources:c=[],entityTypes:s=[]}=t||{},p=(0,y.AH)(),m=(0,o.Ug0)(p,(0,O.map)((0,O.prop)("uri"),s)),d=n||(0,o.nt9)(p,m);return r().createElement("div",{className:l.selectorsGroup},!n&&r().createElement(ne,{entityTypes:p.entityTypes,selectedEntityTypes:s,onChange:a("entityTypes")}),r().createElement(te.Z,{selectedAttributes:i,entityType:d,onChange:a("attributes"),className:l.selectorWrapper,disableUnderline:!0}),r().createElement(ae,{selectedSources:c,onChange:a("sources")}))},le=e=>{let{value:t,open:n,entityType:l,anchorEl:o,onApply:c,onCancel:s,onClear:m}=e;const d=z(),[u,E]=(0,a.useState)(t),f=(0,y.AH)(),h=(0,O.curry)(((e,t)=>{E((0,O.pipe)((0,O.when)((0,O.always)("entityTypes"===e),(0,O.assoc)("attributes",[])),(0,O.when)((0,O.always)("activities"===e),(0,O.mergeLeft)({attributes:[],entityTypes:[],sources:[]})),(0,O.assoc)(e,t)))}));(0,q.D)((()=>{E(t)}),[n,t]);const{activities:v=[],dateRange:g=null,users:b=[]}=u||{},T=1===v.length&&v.includes(D.I.ENTITY_CHANGED);return r().createElement(N.ZP,{open:n,anchorEl:o,onClose:s,classes:{paper:d.container},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},r().createElement(_.Z,null,i().text("Filter")),r().createElement(R.Z,{dividers:!0,className:d.editorFields},r().createElement(G,{activityTypes:H(f,l),selectedActivityTypes:v,onChange:h("activities")}),T&&r().createElement(re,{filter:u,entityType:l,onPropChange:h}),r().createElement(S.Z,{light:!0,className:d.divider}),r().createElement(ee,{value:g,onChange:h("dateRange")}),r().createElement(S.Z,{light:!0,className:d.divider}),r().createElement(V.Z,{selectedUsers:b,onChange:h("users"),disableUnderline:!0})),r().createElement(C.Z,null,r().createElement(p.Z,{onClick:(0,O.pipe)((()=>E(null)),m),className:d.clearButton},i().text("Clear all")),r().createElement(p.Z,{onClick:s},i().text("Cancel")),r().createElement(p.Z,{color:"primary",onClick:()=>c(u)},i().text("Apply"))))};var ie=n(47591);const oe=(0,g.makeStyles)((e=>({icon:{margin:"4px","&.activeIcon":{backgroundColor:(0,ie.Fq)(e.palette.primary.main,.12),color:e.palette.primary.main}}})));function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const se=e=>{let{filter:t,entityType:n,onChange:l}=e;const c=oe(),s=(0,a.useRef)(),p=(0,a.useRef)(t),[m,d]=(0,a.useState)(!1),u=!(0,O.equals)(t,p.current);return r().createElement(r().Fragment,null,r().createElement(E.k,{ref:s,icon:w.Z,size:"L",onClick:()=>d(!0),tooltipTitle:i().text("Filter"),className:x()(c.icon,{activeIcon:u})}),r().createElement(le,{value:t,open:m,entityType:n,anchorEl:s.current,onApply:e=>{const t=(0,O.pipe)((0,O.mergeRight)(p.current),(0,O.evolve)({dateRange:(0,O.unless)(o.RZp,(0,O.always)(p.current.dateRange))}))(e);l(t),d(!1)},onCancel:()=>d(!1),onClear:()=>l(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){ce(e,t,n[t])}))}return e}({},p.current))}))},pe=(0,g.makeStyles)({header:{display:"flex",alignItems:"center",overflow:"hidden",flexGrow:1},label:{marginRight:"4px",fontSize:"14px"},buttonsWrapper:{marginLeft:"auto",display:"flex"}});function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){de(e,t,n[t])}))}return e}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ue=e=>{let{value:t,entityType:n,entityUri:a,onChange:l,exportTypes:p}=e;const m=pe(),d=(0,y.td)(),u=(0,y.Uv)(),E=(0,o.Cz4)(d,u),f=(e=>{const t=(0,O.curry)(((e,t,n)=>n.length<=1?n[0]:`${n[0]} + ${n.length-1} ${2===n.length?e:t}`)),n=(0,O.pipe)((0,O.map)(U.Xr),t(i().text("activity"),i().text("activities")))(e.activities),a=t(i().text("user"),i().text("users"),e.users),r=(0,O.pipe)((0,O.defaultTo)([]),(0,O.pluck)("label"),(0,O.sortBy)(O.identity),t(i().text("type"),i().text("types")))(e.entityTypes),l=(0,O.pipe)((0,O.defaultTo)([]),(0,O.pluck)("label"),(0,O.sortBy)(O.identity),t(i().text("attribute"),i().text("attributes")))(e.attributes),c=(0,O.pipe)((0,O.defaultTo)([]),(0,O.pluck)("label"),t(i().text("source"),i().text("sources")))(e.sources);return(0,O.pipe)((0,O.reject)(O.isNil),(0,O.join)(" | "))([n,r,l,c,(e=>{const t=e=>`${(0,o.mB6)({dataTypeDefinition:{type:o.oS0.TYPE_ACTIVENESS_DATE}},e)}`;switch(e.type){case o.KfU.WITHIN:return i().text("Within ${amount} ${unit}",{amount:e.period[0],unit:(0,o.wsP)(e.period[1])});case o.KfU.AGO:return i().text("More than ${amount} ${unit} ago",{amount:e.period[0],unit:(0,o.wsP)(e.period[1])});case o.KfU.BETWEEN:return i().text("${startDate} to ${endDate}",{startDate:t(e.period[0]),endDate:t(e.period[1])});default:return null}})(e.dateRange),a])})(t);return r().createElement("div",{className:m.header},r().createElement(s.Z,{variant:"body2",className:m.label},i().text("Filter:")),r().createElement(c.Z,{title:f},r().createElement(s.Z,{variant:"body2",className:m.label,color:"textSecondary",display:"block",noWrap:!0},f)),r().createElement("div",{className:m.buttonsWrapper},E&&r().createElement(T,{filters:me({},t,{entityUri:a}),exportTypes:p}),r().createElement(se,{filter:t,entityType:n,onChange:l})))}},33992:(e,t,n)=>{n.d(t,{w:()=>a});let a=function(e){return e.ATTRIBUTE_CHANGED="edited",e.ATTRIBUTE_ADDED="added",e.ATTRIBUTE_REMOVED="deleted",e}({})},54202:(e,t,n)=>{n.d(t,{U:()=>c});var a=n(50914),r=n(98952);const l=e=>e.startsWith("USER_")||e.startsWith("COMMENT_")||e.startsWith("SFDC_")?`startsWith(label, '${e}')`:`equals(items.data.type, ${e})`,i=e=>`equals(items.delta.attributeType, '${e.value}')`,o=(0,a.cond)([[(0,a.equals)("users"),()=>(0,r.NPd)(r.F$g)],[(0,a.equals)("activities"),()=>(0,r.NPd)(l)],[(0,a.equals)("sources"),()=>(0,r.NPd)(r.dwd)],[(0,a.equals)("attributes"),()=>(0,r.NPd)(i)],[(0,a.equals)("entityTypes"),()=>(0,r.NPd)(r.bG8)],[(0,a.equals)("dateRange"),()=>r.lPZ],[(0,a.equals)("entityUri"),()=>r._LJ],[(0,a.equals)("rawFilter"),()=>a.identity]]),c=(0,a.pipe)((0,a.defaultTo)({}),(0,a.reject)(r.O27),a.toPairs,(0,a.append)(["rawFilter","not equals(user, 'collaboration-service')"]),(0,a.map)((e=>{let[t,n]=e;return o(t)(n)})),(0,a.reject)(r.O27),(0,a.map)(r.tM8),(0,a.join)(" and "))},38806:(e,t,n)=>{n.d(t,{v:()=>o});var a=n(24328),r=n(50914),l=n(98952),i=n(14596);const o=e=>{const t=(0,i.ax)("lookupsListResolved"),n=(0,i.AH)(),o=(0,i.ej)(),c=(0,i.kO)(),s=(0,i.Rv)(),{map:p}=e,m=(0,l.CL1)(e),d=(0,l.hM2)(n,o,!0,e),u=(0,l.mxe)(d,s);return(0,a.useEffect)((()=>{u.length>0&&(0,r.pipe)((0,r.chain)((e=>{let{type:t,codeValues:n}=e;return n.map((e=>({type:t,codeValue:e})))})),l.hK$,(0,r.andThen)(t))(u)}),[e]),(0,l.ZxB)(n,c,s,d,m,p)}},39034:(e,t,n)=>{n.d(t,{o:()=>a});let a=function(e){return e.INIT="init",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e}({})}}]);
|
|
2
2
|
//# sourceMappingURL=1425.js.map
|
package/1664.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see 1664.js.LICENSE.txt */
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="daeeeac8-1b15-4002-9722-3e0702a6e629",e._sentryDebugIdIdentifier="sentry-dbid-daeeeac8-1b15-4002-9722-3e0702a6e629")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="daeeeac8-1b15-4002-9722-3e0702a6e629",e._sentryDebugIdIdentifier="sentry-dbid-daeeeac8-1b15-4002-9722-3e0702a6e629")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"756a7513a42a2e35d42e606647a4e60f455dcf69"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[1664,7896],{97218:(e,t,r)=>{r.d(t,{Z:()=>a});var n=r(24328),o=r(10553),s=r(47903),c=r(53227),i=r(52322);const a=function(e){const{children:t,theme:r}=e,a=(0,s.Z)(),l=n.useMemo((()=>{const e=null===a?r:function(e,t){return"function"==typeof t?t(e):{...e,...t}}(a,r);return null!=e&&(e[c.Z]=null!==a),e}),[r,a]);return(0,i.jsx)(o.Z.Provider,{value:l,children:t})}},53227:(e,t,r)=>{r.d(t,{Z:()=>n});const n="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},10553:(e,t,r)=>{r.d(t,{Z:()=>n});const n=r(24328).createContext(null)},47903:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(24328),o=r(10553);function s(){return n.useContext(o.Z)}},82318:(e,t,r)=>{r.r(t),r.d(t,{ServerStyleSheets:()=>y,StylesContext:()=>p.NU,StylesProvider:()=>p.ZP,ThemeProvider:()=>O.Z,createGenerateClassName:()=>n.Z,createStyles:()=>o,getThemeProps:()=>s.Z,jssPreset:()=>c.Z,makeStyles:()=>i.Z,mergeClasses:()=>a.Z,propsToClassKey:()=>w.Z,sheetsManager:()=>p.tP,styled:()=>_,useTheme:()=>j.Z,useThemeVariants:()=>E,withStyles:()=>S.Z,withTheme:()=>k,withThemeCreator:()=>P});var n=r(54426);function o(e){return e}var s=r(61041),c=r(59938),i=r(24142),a=r(14691),l=r(7896),f=r(24328),u=r(70882),p=r(40855),d=r(52322);class y{constructor(e={}){this.options=e}collect(e){const t=new Map;this.sheetsRegistry=new u.xE;const r=(0,n.Z)();return(0,d.jsx)(p.ZP,(0,l.Z)({sheetsManager:t,serverGenerateClassName:r,sheetsRegistry:this.sheetsRegistry},this.options,{children:e}))}toString(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}getStyleElement(e){return f.createElement("style",(0,l.Z)({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}var h=r(31461),m=r(6277),b=r(73463),g=r.n(b);const v=["name"],Z=["children","className","clone","component"];function _(e){return(t,r={})=>{const{name:n}=r,o=(0,h.Z)(r,v);let s=n;const c="function"==typeof t?e=>({root:r=>t((0,l.Z)({theme:e},r))}):{root:t},a=(0,i.Z)(c,(0,l.Z)({Component:e,name:n||e.displayName,classNamePrefix:s},o));let u,p={};t.filterProps&&(u=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);const y=f.forwardRef((function(t,r){const{children:n,className:o,clone:s,component:c}=t,i=(0,h.Z)(t,Z),p=a(t),y=(0,m.default)(p.root,o);let b=i;if(u&&(b=function(e,t){const r={};return Object.keys(e).forEach((n=>{-1===t.indexOf(n)&&(r[n]=e[n])})),r}(b,u)),s)return f.cloneElement(n,(0,l.Z)({className:(0,m.default)(n.props.className,y)},b));if("function"==typeof n)return n((0,l.Z)({className:y},b));const g=c||e;return(0,d.jsx)(g,(0,l.Z)({ref:r,className:y},b,{children:n}))}));return g()(y,e),y}}var O=r(97218),j=r(96170),w=r(93298);const E=(e,t)=>{const{classes:r={}}=e,n=(0,j.Z)();let o="";return n&&n.components&&n.components[t]&&n.components[t].variants&&n.components[t].variants.forEach((t=>{let n=!0;Object.keys(t.props).forEach((r=>{e[r]!==t.props[r]&&(n=!1)})),n&&(o=`${o}${r[(0,w.Z)(t.props)]} `)})),o};var S=r(79016);function P(e={}){const{defaultTheme:t}=e;return e=>{const r=f.forwardRef((function(r,n){const o=(0,j.Z)()||t;return(0,d.jsx)(e,(0,l.Z)({theme:o,ref:n},r))}));return g()(r,e),r}}const k=P()},1290:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(81512);function o(e){if("string"!=typeof e)throw new Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},48970:(e,t,r)=>{function n(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function o(e){if(!n(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=o(e[r])})),t}function s(e,t,r={clone:!0}){const c=r.clone?{...e}:e;return n(e)&&n(t)&&Object.keys(t).forEach((i=>{"__proto__"!==i&&(n(t[i])&&i in e&&n(e[i])?c[i]=s(e[i],t[i],r):r.clone?c[i]=n(t[i])?o(t[i]):t[i]:c[i]=t[i])})),c}r.d(t,{P:()=>n,Z:()=>s})},81512:(e,t,r)=>{function n(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}r.d(t,{Z:()=>n})},6277:(e,t,r)=>{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))for(t=0;t<e.length;t++)e[t]&&(r=n(e[t]))&&(o&&(o+=" "),o+=r);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function o(){for(var e,t,r=0,o="";r<arguments.length;)(e=arguments[r++])&&(t=n(e))&&(o&&(o+=" "),o+=t);return o}r.r(t),r.d(t,{clsx:()=>o,default:()=>s});const s=o},37320:e=>{var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,s){for(var c,i,a=o(e),l=1;l<arguments.length;l++){for(var f in c=Object(arguments[l]))r.call(c,f)&&(a[f]=c[f]);if(t){i=t(c);for(var u=0;u<i.length;u++)n.call(c,i[u])&&(a[i[u]]=c[i[u]])}}return a}},11837:(e,t,r)=>{r(37320);var n=r(24328),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var s=Symbol.for;o=s("react.element"),t.Fragment=s("react.fragment")}var c=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,a={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,s={},l=null,f=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(f=t.ref),t)i.call(t,n)&&!a.hasOwnProperty(n)&&(s[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===s[n]&&(s[n]=t[n]);return{$$typeof:o,type:e,key:l,ref:f,props:s,_owner:c.current}}t.jsx=l,t.jsxs=l},52322:(e,t,r)=>{e.exports=r(11837)},80753:(e,t,r)=>{function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,{Z:()=>n})},7896:(e,t,r)=>{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)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},81665:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(88960);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,n.Z)(e,t)}},31461:(e,t,r)=>{function n(e,t){if(null==e)return{};var r,n,o={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,{Z:()=>n})},88960:(e,t,r)=>{function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}r.d(t,{Z:()=>n})}}]);
|
|
3
3
|
//# sourceMappingURL=1664.js.map
|