UNPKG

react-simple-clamp

Version:

React clamping component, supporting both text and html inline content.

1 lines 60.9 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactSimpleClamp={},e.React)}(this,(function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var a,c,u=function(e){return e&&e.Math==Math&&e},l=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof o&&o)||function(){return this}()||Function("return this")(),s=function(e){try{return!!e()}catch(e){return!0}},f=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),p=Function.prototype,d=p.apply,h=p.call,m="object"==typeof Reflect&&Reflect.apply||(f?h.bind(d):function(){return h.apply(d,arguments)}),y=Function.prototype,g=y.bind,v=y.call,b=f&&g.bind(v,v),x=f?function(e){return e&&b(e)}:function(e){return e&&function(){return v.apply(e,arguments)}},w=function(e){return"function"==typeof e},S=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),O=Function.prototype.call,E=f?O.bind(O):function(){return O.apply(O,arguments)},T={}.propertyIsEnumerable,k=Object.getOwnPropertyDescriptor,C={f:k&&!T.call({1:2},1)?function(e){var t=k(this,e);return!!t&&t.enumerable}:T},A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},P=x({}.toString),j=x("".slice),N=function(e){return j(P(e),8,-1)},_=Object,M=x("".split),I=s((function(){return!_("z").propertyIsEnumerable(0)}))?function(e){return"String"==N(e)?M(e,""):_(e)}:_,L=TypeError,D=function(e){if(null==e)throw L("Can't call method on "+e);return e},F=function(e){return I(D(e))},R=function(e){return"object"==typeof e?null!==e:w(e)},z={},B=function(e){return w(e)?e:void 0},H=function(e,t){return arguments.length<2?B(z[e])||B(l[e]):z[e]&&z[e][t]||l[e]&&l[e][t]},V=x({}.isPrototypeOf),U=H("navigator","userAgent")||"",G=l.process,W=l.Deno,q=G&&G.versions||W&&W.version,X=q&&q.v8;X&&(c=(a=X.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!c&&U&&(!(a=U.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=U.match(/Chrome\/(\d+)/))&&(c=+a[1]);var Y=c,$=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Y&&Y<41})),Z=$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,J=Object,K=Z?function(e){return"symbol"==typeof e}:function(e){var t=H("Symbol");return w(t)&&V(t.prototype,J(e))},Q=String,ee=function(e){try{return Q(e)}catch(e){return"Object"}},te=TypeError,ne=function(e){if(w(e))return e;throw te(ee(e)+" is not a function")},re=function(e,t){var n=e[t];return null==n?void 0:ne(n)},oe=TypeError,ie=Object.defineProperty,ae=l["__core-js_shared__"]||function(e,t){try{ie(l,e,{value:t,configurable:!0,writable:!0})}catch(n){l[e]=t}return t}("__core-js_shared__",{}),ce=i((function(e){(e.exports=function(e,t){return ae[e]||(ae[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.1",mode:"pure",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),ue=Object,le=function(e){return ue(D(e))},se=x({}.hasOwnProperty),fe=Object.hasOwn||function(e,t){return se(le(e),t)},pe=0,de=Math.random(),he=x(1..toString),me=function(e){return"Symbol("+(void 0===e?"":e)+")_"+he(++pe+de,36)},ye=ce("wks"),ge=l.Symbol,ve=ge&&ge.for,be=Z?ge:ge&&ge.withoutSetter||me,xe=function(e){if(!fe(ye,e)||!$&&"string"!=typeof ye[e]){var t="Symbol."+e;$&&fe(ge,e)?ye[e]=ge[e]:ye[e]=Z&&ve?ve(t):be(t)}return ye[e]},we=TypeError,Se=xe("toPrimitive"),Oe=function(e,t){if(!R(e)||K(e))return e;var n,r=re(e,Se);if(r){if(void 0===t&&(t="default"),n=E(r,e,t),!R(n)||K(n))return n;throw we("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&w(n=e.toString)&&!R(r=E(n,e)))return r;if(w(n=e.valueOf)&&!R(r=E(n,e)))return r;if("string"!==t&&w(n=e.toString)&&!R(r=E(n,e)))return r;throw oe("Can't convert object to primitive value")}(e,t)},Ee=function(e){var t=Oe(e,"string");return K(t)?t:t+""},Te=l.document,ke=R(Te)&&R(Te.createElement),Ce=function(e){return ke?Te.createElement(e):{}},Ae=!S&&!s((function(){return 7!=Object.defineProperty(Ce("div"),"a",{get:function(){return 7}}).a})),Pe=Object.getOwnPropertyDescriptor,je={f:S?Pe:function(e,t){if(e=F(e),t=Ee(t),Ae)try{return Pe(e,t)}catch(e){}if(fe(e,t))return A(!E(C.f,e,t),e[t])}},Ne=/#|\.prototype\./,_e=function(e,t){var n=Ie[Me(e)];return n==De||n!=Le&&(w(t)?s(t):!!t)},Me=_e.normalize=function(e){return String(e).replace(Ne,".").toLowerCase()},Ie=_e.data={},Le=_e.NATIVE="N",De=_e.POLYFILL="P",Fe=_e,Re=x(x.bind),ze=function(e,t){return ne(e),void 0===t?e:f?Re(e,t):function(){return e.apply(t,arguments)}},Be=S&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),He=String,Ve=TypeError,Ue=function(e){if(R(e))return e;throw Ve(He(e)+" is not an object")},Ge=TypeError,We=Object.defineProperty,qe=Object.getOwnPropertyDescriptor,Xe={f:S?Be?function(e,t,n){if(Ue(e),t=Ee(t),Ue(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=qe(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return We(e,t,n)}:We:function(e,t,n){if(Ue(e),t=Ee(t),Ue(n),Ae)try{return We(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Ge("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Ye=S?function(e,t,n){return Xe.f(e,t,A(1,n))}:function(e,t,n){return e[t]=n,e},$e=je.f,Ze=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return m(e,this,arguments)};return t.prototype=e.prototype,t},Je=function(e,t){var n,r,o,i,a,c,u,s,f=e.target,p=e.global,d=e.stat,h=e.proto,m=p?l:d?l[f]:(l[f]||{}).prototype,y=p?z:z[f]||Ye(z,f,{})[f],g=y.prototype;for(o in t)n=!Fe(p?o:f+(d?".":"#")+o,e.forced)&&m&&fe(m,o),a=y[o],n&&(c=e.dontCallGetSet?(s=$e(m,o))&&s.value:m[o]),i=n&&c?c:t[o],n&&typeof a==typeof i||(u=e.bind&&n?ze(i,l):e.wrap&&n?Ze(i):h&&w(i)?x(i):i,(e.sham||i&&i.sham||a&&a.sham)&&Ye(u,"sham",!0),Ye(y,o,u),h&&(fe(z,r=f+"Prototype")||Ye(z,r,{}),Ye(z[r],o,i),e.real&&g&&!g[o]&&Ye(g,o,i)))},Ke=Math.ceil,Qe=Math.floor,et=Math.trunc||function(e){var t=+e;return(t>0?Qe:Ke)(t)},tt=function(e){var t=+e;return t!=t||0===t?0:et(t)},nt=Math.max,rt=Math.min,ot=function(e,t){var n=tt(e);return n<0?nt(n+t,0):rt(n,t)},it=Math.min,at=function(e){return(t=e.length)>0?it(tt(t),9007199254740991):0;var t},ct=function(e){return function(t,n,r){var o,i=F(t),a=at(i),c=ot(r,a);if(e&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}},ut={includes:ct(!0),indexOf:ct(!1)},lt={},st=ut.indexOf,ft=x([].push),pt=function(e,t){var n,r=F(e),o=0,i=[];for(n in r)!fe(lt,n)&&fe(r,n)&&ft(i,n);for(;t.length>o;)fe(r,n=t[o++])&&(~st(i,n)||ft(i,n));return i},dt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ht=Object.keys||function(e){return pt(e,dt)},mt={f:Object.getOwnPropertySymbols},yt=Object.assign,gt=Object.defineProperty,vt=x([].concat),bt=!yt||s((function(){if(S&&1!==yt({b:1},yt(gt({},"a",{enumerable:!0,get:function(){gt(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=yt({},e)[n]||"abcdefghijklmnopqrst"!=ht(yt({},t)).join("")}))?function(e,t){for(var n=le(e),r=arguments.length,o=1,i=mt.f,a=C.f;r>o;)for(var c,u=I(arguments[o++]),l=i?vt(ht(u),i(u)):ht(u),s=l.length,f=0;s>f;)c=l[f++],S&&!E(a,u,c)||(n[c]=u[c]);return n}:yt;Je({target:"Object",stat:!0,arity:2,forced:Object.assign!==bt},{assign:bt});var xt=z.Object.assign,wt=x([].slice),St=Function,Ot=x([].concat),Et=x([].join),Tt={},kt=function(e,t,n){if(!fe(Tt,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";Tt[t]=St("C,a","return new C("+Et(r,",")+")")}return Tt[t](e,n)},Ct=f?St.bind:function(e){var t=ne(this),n=t.prototype,r=wt(arguments,1),o=function(){var n=Ot(r,wt(arguments));return this instanceof o?kt(t,n.length,n):t.apply(e,n)};return R(n)&&(o.prototype=n),o};Je({target:"Function",proto:!0,forced:Function.bind!==Ct},{bind:Ct});var At=function(e){return z[e+"Prototype"]},Pt=At("Function").bind,jt=Function.prototype,Nt=function(e){var t=e.bind;return e===jt||V(jt,e)&&t===jt.bind?Pt:t},_t=i((function(e){function t(){var n;return e.exports=t=xt?Nt(n=xt).call(n):function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})),Mt={};Mt[xe("toStringTag")]="z";var It,Lt="[object z]"===String(Mt),Dt=xe("toStringTag"),Ft=Object,Rt="Arguments"==N(function(){return arguments}()),zt=Lt?N:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Ft(e),Dt))?n:Rt?N(t):"Object"==(r=N(t))&&w(t.callee)?"Arguments":r},Bt=String,Ht=function(e){if("Symbol"===zt(e))throw TypeError("Cannot convert a Symbol value to a string");return Bt(e)},Vt={f:S&&!Be?Object.defineProperties:function(e,t){Ue(e);for(var n,r=F(t),o=ht(t),i=o.length,a=0;i>a;)Xe.f(e,n=o[a++],r[n]);return e}},Ut=H("document","documentElement"),Gt=ce("keys"),Wt=function(e){return Gt[e]||(Gt[e]=me(e))},qt=Wt("IE_PROTO"),Xt=function(){},Yt=function(e){return"<script>"+e+"<\/script>"},$t=function(e){e.write(Yt("")),e.close();var t=e.parentWindow.Object;return e=null,t},Zt=function(){try{It=new ActiveXObject("htmlfile")}catch(e){}var e,t;Zt="undefined"!=typeof document?document.domain&&It?$t(It):((t=Ce("iframe")).style.display="none",Ut.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Yt("document.F=Object")),e.close(),e.F):$t(It);for(var n=dt.length;n--;)delete Zt.prototype[dt[n]];return Zt()};lt[qt]=!0;var Jt=Object.create||function(e,t){var n;return null!==e?(Xt.prototype=Ue(e),n=new Xt,Xt.prototype=null,n[qt]=e):n=Zt(),void 0===t?n:Vt.f(n,t)},Kt=dt.concat("length","prototype"),Qt={f:Object.getOwnPropertyNames||function(e){return pt(e,Kt)}},en=function(e,t,n){var r=Ee(t);r in e?Xe.f(e,r,A(0,n)):e[r]=n},tn=Array,nn=Math.max,rn=Qt.f,on="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],an=function(e){try{return rn(e)}catch(e){return function(e,t,n){for(var r=at(e),o=ot(t,r),i=ot(void 0===n?r:n,r),a=tn(nn(i-o,0)),c=0;o<i;o++,c++)en(a,c,e[o]);return a.length=c,a}(on)}},cn={f:function(e){return on&&"Window"==N(e)?an(e):rn(F(e))}},un=function(e,t,n,r){return r&&r.enumerable?e[t]=n:Ye(e,t,n),e},ln={f:xe},sn=Xe.f,fn=function(e){var t=z.Symbol||(z.Symbol={});fe(t,e)||sn(t,e,{value:ln.f(e)})},pn=function(){var e=H("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=xe("toPrimitive");t&&!t[r]&&un(t,r,(function(e){return E(n,this)}),{arity:1})},dn=Lt?{}.toString:function(){return"[object "+zt(this)+"]"},hn=Xe.f,mn=xe("toStringTag"),yn=function(e,t,n,r){if(e){var o=n?e:e.prototype;fe(o,mn)||hn(o,mn,{configurable:!0,value:t}),r&&!Lt&&Ye(o,"toString",dn)}},gn=x(Function.toString);w(ae.inspectSource)||(ae.inspectSource=function(e){return gn(e)});var vn,bn,xn,wn=ae.inspectSource,Sn=l.WeakMap,On=w(Sn)&&/native code/.test(wn(Sn)),En=l.TypeError,Tn=l.WeakMap;if(On||ae.state){var kn=ae.state||(ae.state=new Tn),Cn=x(kn.get),An=x(kn.has),Pn=x(kn.set);vn=function(e,t){if(An(kn,e))throw new En("Object already initialized");return t.facade=e,Pn(kn,e,t),t},bn=function(e){return Cn(kn,e)||{}},xn=function(e){return An(kn,e)}}else{var jn=Wt("state");lt[jn]=!0,vn=function(e,t){if(fe(e,jn))throw new En("Object already initialized");return t.facade=e,Ye(e,jn,t),t},bn=function(e){return fe(e,jn)?e[jn]:{}},xn=function(e){return fe(e,jn)}}var Nn={set:vn,get:bn,has:xn,enforce:function(e){return xn(e)?bn(e):vn(e,{})},getterFor:function(e){return function(t){var n;if(!R(t)||(n=bn(t)).type!==e)throw En("Incompatible receiver, "+e+" required");return n}}},_n=Array.isArray||function(e){return"Array"==N(e)},Mn=function(){},In=[],Ln=H("Reflect","construct"),Dn=/^\s*(?:class|function)\b/,Fn=x(Dn.exec),Rn=!Dn.exec(Mn),zn=function(e){if(!w(e))return!1;try{return Ln(Mn,In,e),!0}catch(e){return!1}},Bn=function(e){if(!w(e))return!1;switch(zt(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Rn||!!Fn(Dn,wn(e))}catch(e){return!0}};Bn.sham=!0;var Hn=!Ln||s((function(){var e;return zn(zn.call)||!zn(Object)||!zn((function(){e=!0}))||e}))?Bn:zn,Vn=xe("species"),Un=Array,Gn=function(e,t){return new(function(e){var t;return _n(e)&&(t=e.constructor,(Hn(t)&&(t===Un||_n(t.prototype))||R(t)&&null===(t=t[Vn]))&&(t=void 0)),void 0===t?Un:t}(e))(0===t?0:t)},Wn=x([].push),qn=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,c=5==e||i;return function(u,l,s,f){for(var p,d,h=le(u),m=I(h),y=ze(l,s),g=at(m),v=0,b=f||Gn,x=t?b(u,g):n||a?b(u,0):void 0;g>v;v++)if((c||v in m)&&(d=y(p=m[v],v,h),e))if(t)x[v]=d;else if(d)switch(e){case 3:return!0;case 5:return p;case 6:return v;case 2:Wn(x,p)}else switch(e){case 4:return!1;case 7:Wn(x,p)}return i?-1:r||o?o:x}},Xn={forEach:qn(0),map:qn(1),filter:qn(2),some:qn(3),every:qn(4),find:qn(5),findIndex:qn(6),filterReject:qn(7)}.forEach,Yn=Wt("hidden"),$n=Nn.set,Zn=Nn.getterFor("Symbol"),Jn=Object.prototype,Kn=l.Symbol,Qn=Kn&&Kn.prototype,er=l.TypeError,tr=l.QObject,nr=je.f,rr=Xe.f,or=cn.f,ir=C.f,ar=x([].push),cr=ce("symbols"),ur=ce("op-symbols"),lr=ce("wks"),sr=!tr||!tr.prototype||!tr.prototype.findChild,fr=S&&s((function(){return 7!=Jt(rr({},"a",{get:function(){return rr(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=nr(Jn,t);r&&delete Jn[t],rr(e,t,n),r&&e!==Jn&&rr(Jn,t,r)}:rr,pr=function(e,t){var n=cr[e]=Jt(Qn);return $n(n,{type:"Symbol",tag:e,description:t}),S||(n.description=t),n},dr=function(e,t,n){e===Jn&&dr(ur,t,n),Ue(e);var r=Ee(t);return Ue(n),fe(cr,r)?(n.enumerable?(fe(e,Yn)&&e[Yn][r]&&(e[Yn][r]=!1),n=Jt(n,{enumerable:A(0,!1)})):(fe(e,Yn)||rr(e,Yn,A(1,{})),e[Yn][r]=!0),fr(e,r,n)):rr(e,r,n)},hr=function(e,t){Ue(e);var n=F(t),r=ht(n).concat(vr(n));return Xn(r,(function(t){S&&!E(mr,n,t)||dr(e,t,n[t])})),e},mr=function(e){var t=Ee(e),n=E(ir,this,t);return!(this===Jn&&fe(cr,t)&&!fe(ur,t))&&(!(n||!fe(this,t)||!fe(cr,t)||fe(this,Yn)&&this[Yn][t])||n)},yr=function(e,t){var n=F(e),r=Ee(t);if(n!==Jn||!fe(cr,r)||fe(ur,r)){var o=nr(n,r);return!o||!fe(cr,r)||fe(n,Yn)&&n[Yn][r]||(o.enumerable=!0),o}},gr=function(e){var t=or(F(e)),n=[];return Xn(t,(function(e){fe(cr,e)||fe(lt,e)||ar(n,e)})),n},vr=function(e){var t=e===Jn,n=or(t?ur:F(e)),r=[];return Xn(n,(function(e){!fe(cr,e)||t&&!fe(Jn,e)||ar(r,cr[e])})),r};$||(Qn=(Kn=function(){if(V(Qn,this))throw er("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?Ht(arguments[0]):void 0,t=me(e),n=function(e){this===Jn&&E(n,ur,e),fe(this,Yn)&&fe(this[Yn],t)&&(this[Yn][t]=!1),fr(this,t,A(1,e))};return S&&sr&&fr(Jn,t,{configurable:!0,set:n}),pr(t,e)}).prototype,un(Qn,"toString",(function(){return Zn(this).tag})),un(Kn,"withoutSetter",(function(e){return pr(me(e),e)})),C.f=mr,Xe.f=dr,Vt.f=hr,je.f=yr,Qt.f=cn.f=gr,mt.f=vr,ln.f=function(e){return pr(xe(e),e)},S&&rr(Qn,"description",{configurable:!0,get:function(){return Zn(this).description}})),Je({global:!0,constructor:!0,wrap:!0,forced:!$,sham:!$},{Symbol:Kn}),Xn(ht(lr),(function(e){fn(e)})),Je({target:"Symbol",stat:!0,forced:!$},{useSetter:function(){sr=!0},useSimple:function(){sr=!1}}),Je({target:"Object",stat:!0,forced:!$,sham:!S},{create:function(e,t){return void 0===t?Jt(e):hr(Jt(e),t)},defineProperty:dr,defineProperties:hr,getOwnPropertyDescriptor:yr}),Je({target:"Object",stat:!0,forced:!$},{getOwnPropertyNames:gr}),pn(),yn(Kn,"Symbol"),lt[Yn]=!0;var br=$&&!!Symbol.for&&!!Symbol.keyFor,xr=ce("string-to-symbol-registry"),wr=ce("symbol-to-string-registry");Je({target:"Symbol",stat:!0,forced:!br},{for:function(e){var t=Ht(e);if(fe(xr,t))return xr[t];var n=H("Symbol")(t);return xr[t]=n,wr[n]=t,n}});var Sr=ce("symbol-to-string-registry");Je({target:"Symbol",stat:!0,forced:!br},{keyFor:function(e){if(!K(e))throw TypeError(ee(e)+" is not a symbol");if(fe(Sr,e))return Sr[e]}});var Or=H("JSON","stringify"),Er=x(/./.exec),Tr=x("".charAt),kr=x("".charCodeAt),Cr=x("".replace),Ar=x(1..toString),Pr=/[\uD800-\uDFFF]/g,jr=/^[\uD800-\uDBFF]$/,Nr=/^[\uDC00-\uDFFF]$/,_r=!$||s((function(){var e=H("Symbol")();return"[null]"!=Or([e])||"{}"!=Or({a:e})||"{}"!=Or(Object(e))})),Mr=s((function(){return'"\\udf06\\ud834"'!==Or("\udf06\ud834")||'"\\udead"'!==Or("\udead")})),Ir=function(e,t){var n=wt(arguments),r=t;if((R(t)||void 0!==e)&&!K(e))return _n(t)||(t=function(e,t){if(w(r)&&(t=E(r,this,e,t)),!K(t))return t}),n[1]=t,m(Or,null,n)},Lr=function(e,t,n){var r=Tr(n,t-1),o=Tr(n,t+1);return Er(jr,e)&&!Er(Nr,o)||Er(Nr,e)&&!Er(jr,r)?"\\u"+Ar(kr(e,0),16):e};Or&&Je({target:"JSON",stat:!0,arity:3,forced:_r||Mr},{stringify:function(e,t,n){var r=wt(arguments),o=m(_r?Ir:Or,null,r);return Mr&&"string"==typeof o?Cr(o,Pr,Lr):o}});var Dr=!$||s((function(){mt.f(1)}));Je({target:"Object",stat:!0,forced:Dr},{getOwnPropertySymbols:function(e){var t=mt.f;return t?t(le(e)):[]}});var Fr,Rr,zr=z.Object.getOwnPropertySymbols,Br=ut.indexOf,Hr=x([].indexOf),Vr=!!Hr&&1/Hr([1],1,-0)<0,Ur=!!(Rr=[]["indexOf"])&&s((function(){Rr.call(null,Fr||function(){return 1},1)}));Je({target:"Array",proto:!0,forced:Vr||!Ur},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Vr?Hr(this,e,t)||0:Br(this,e,t)}});var Gr=At("Array").indexOf,Wr=Array.prototype,qr=function(e){var t=e.indexOf;return e===Wr||V(Wr,e)&&t===Wr.indexOf?Gr:t},Xr=s((function(){ht(1)}));Je({target:"Object",stat:!0,forced:Xr},{keys:function(e){return ht(le(e))}});var Yr=z.Object.keys,$r=i((function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Yr(e);for(r=0;r<i.length;r++)n=i[r],qr(t).call(t,n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports})),Zr=i((function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o=$r(e,t);if(zr){var i=zr(e);for(r=0;r<i.length;r++)n=i[r],qr(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},e.exports.__esModule=!0,e.exports.default=e.exports})),Jr=TypeError,Kr=function(e){if(e>9007199254740991)throw Jr("Maximum allowed index exceeded");return e},Qr=xe("species"),eo=function(e){return Y>=51||!s((function(){var t=[];return(t.constructor={})[Qr]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},to=xe("isConcatSpreadable"),no=Y>=51||!s((function(){var e=[];return e[to]=!1,e.concat()[0]!==e})),ro=eo("concat"),oo=function(e){if(!R(e))return!1;var t=e[to];return void 0!==t?!!t:_n(e)};Je({target:"Array",proto:!0,arity:1,forced:!no||!ro},{concat:function(e){var t,n,r,o,i,a=le(this),c=Gn(a,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(oo(i=-1===t?a:arguments[t]))for(o=at(i),Kr(u+o),n=0;n<o;n++,u++)n in i&&en(c,u,i[n]);else Kr(u+1),en(c,u++,i);return c.length=u,c}});var io=At("Array").concat,ao=Array.prototype,co=function(e){var t=e.concat;return e===ao||V(ao,e)&&t===ao.concat?io:t},uo=eo("slice"),lo=xe("species"),so=Array,fo=Math.max;Je({target:"Array",proto:!0,forced:!uo},{slice:function(e,t){var n,r,o,i=F(this),a=at(i),c=ot(e,a),u=ot(void 0===t?a:t,a);if(_n(i)&&(n=i.constructor,(Hn(n)&&(n===so||_n(n.prototype))||R(n)&&null===(n=n[lo]))&&(n=void 0),n===so||void 0===n))return wt(i,c,u);for(r=new(void 0===n?so:n)(fo(u-c,0)),o=0;c<u;c++,o++)c in i&&en(r,o,i[c]);return r.length=o,r}});var po=At("Array").slice,ho=Array.prototype,mo=function(e){var t=e.slice;return e===ho||V(ho,e)&&t===ho.slice?po:t};Je({target:"Array",stat:!0},{isArray:_n});var yo=z.Array.isArray,go=i((function(e){e.exports=function(e){if(yo(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports}));fn("asyncIterator"),fn("hasInstance"),fn("isConcatSpreadable"),fn("iterator"),fn("match"),fn("matchAll"),fn("replace"),fn("search"),fn("species"),fn("split"),fn("toPrimitive"),pn(),fn("toStringTag"),yn(H("Symbol"),"Symbol"),fn("unscopables"),yn(l.JSON,"JSON",!0);var vo,bo,xo,wo=z.Symbol,So={},Oo=Function.prototype,Eo=S&&Object.getOwnPropertyDescriptor,To=fe(Oo,"name"),ko={EXISTS:To,PROPER:To&&"something"===function(){}.name,CONFIGURABLE:To&&(!S||S&&Eo(Oo,"name").configurable)},Co=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Ao=Wt("IE_PROTO"),Po=Object,jo=Po.prototype,No=Co?Po.getPrototypeOf:function(e){var t=le(e);if(fe(t,Ao))return t[Ao];var n=t.constructor;return w(n)&&t instanceof n?n.prototype:t instanceof Po?jo:null},_o=xe("iterator"),Mo=!1;[].keys&&("next"in(xo=[].keys())?(bo=No(No(xo)))!==Object.prototype&&(vo=bo):Mo=!0);var Io=null==vo||s((function(){var e={};return vo[_o].call(e)!==e}));vo=Io?{}:Jt(vo),w(vo[_o])||un(vo,_o,(function(){return this}));var Lo={IteratorPrototype:vo,BUGGY_SAFARI_ITERATORS:Mo},Do=Lo.IteratorPrototype,Fo=function(){return this};TypeError;Object.setPrototypeOf||"__proto__"in{}&&function(){var e,t=!1,n={};try{(e=x(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}}();var Ro=ko.PROPER,zo=Lo.BUGGY_SAFARI_ITERATORS,Bo=xe("iterator"),Ho=function(){return this},Vo=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Jt(Do,{next:A(+!r,n)}),yn(e,o,!1,!0),So[o]=Fo}(n,t,r);var c,u,l,s=function(e){if(e===o&&m)return m;if(!zo&&e in d)return d[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",p=!1,d=e.prototype,h=d[Bo]||d["@@iterator"]||o&&d[o],m=!zo&&h||s(o),y="Array"==t&&d.entries||h;if(y&&(c=No(y.call(new e)))!==Object.prototype&&c.next&&(yn(c,f,!0,!0),So[f]=Ho),Ro&&"values"==o&&h&&"values"!==h.name&&(p=!0,m=function(){return E(h,this)}),o)if(u={values:s("values"),keys:i?m:s("keys"),entries:s("entries")},a)for(l in u)(zo||p||!(l in d))&&un(d,l,u[l]);else Je({target:t,proto:!0,forced:zo||p},u);return a&&d[Bo]!==m&&un(d,Bo,m,{name:o}),So[t]=m,u};Xe.f;var Uo=Nn.set,Go=Nn.getterFor("Array Iterator");Vo(Array,"Array",(function(e,t){Uo(this,{type:"Array Iterator",target:F(e),index:0,kind:t})}),(function(){var e=Go(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),So.Arguments=So.Array;var Wo=xe("toStringTag");for(var qo in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Xo=l[qo],Yo=Xo&&Xo.prototype;Yo&&zt(Yo)!==Wo&&Ye(Yo,Wo,qo),So[qo]=So.Array}var $o=wo;fn("asyncDispose"),fn("dispose"),fn("matcher"),fn("metadataKey"),fn("observable"),fn("metadata"),fn("patternMatch"),fn("replaceAll");var Zo=$o,Jo=x("".charAt),Ko=x("".charCodeAt),Qo=x("".slice),ei=function(e){return function(t,n){var r,o,i=Ht(D(t)),a=tt(n),c=i.length;return a<0||a>=c?e?"":void 0:(r=Ko(i,a))<55296||r>56319||a+1===c||(o=Ko(i,a+1))<56320||o>57343?e?Jo(i,a):r:e?Qo(i,a,a+2):o-56320+(r-55296<<10)+65536}},ti={codeAt:ei(!1),charAt:ei(!0)}.charAt,ni=Nn.set,ri=Nn.getterFor("String Iterator");Vo(String,"String",(function(e){ni(this,{type:"String Iterator",string:Ht(e),index:0})}),(function(){var e,t=ri(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=ti(n,r),t.index+=e.length,{value:e,done:!1})}));var oi=xe("iterator"),ii=function(e){if(null!=e)return re(e,oi)||re(e,"@@iterator")||So[zt(e)]},ai=ii,ci=i((function(e){e.exports=function(e,t){var n=null==e?null:void 0!==Zo&&ai(e)||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}},e.exports.__esModule=!0,e.exports.default=e.exports})),ui=function(e,t,n,r){try{return r?t(Ue(n)[0],n[1]):t(n)}catch(t){!function(e,t,n){var r,o;Ue(e);try{if(!(r=re(e,"return"))){if("throw"===t)throw n;return n}r=E(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;Ue(r)}(e,"throw",t)}},li=xe("iterator"),si=Array.prototype,fi=function(e){return void 0!==e&&(So.Array===e||si[li]===e)},pi=TypeError,di=function(e,t){var n=arguments.length<2?ii(e):t;if(ne(n))return Ue(E(n,e));throw pi(ee(e)+" is not iterable")},hi=Array,mi=xe("iterator"),yi=!1;try{var gi=0,vi={next:function(){return{done:!!gi++}},return:function(){yi=!0}};vi[mi]=function(){return this},Array.from(vi,(function(){throw 2}))}catch(e){}var bi=!function(e,t){if(!t&&!yi)return!1;var n=!1;try{var r={};r[mi]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}((function(e){Array.from(e)}));Je({target:"Array",stat:!0,forced:bi},{from:function(e){var t=le(e),n=Hn(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=ze(o,r>2?arguments[2]:void 0));var a,c,u,l,s,f,p=ii(t),d=0;if(!p||this===hi&&fi(p))for(a=at(t),c=n?new this(a):hi(a);a>d;d++)f=i?o(t[d],d):t[d],en(c,d,f);else for(s=(l=di(t,p)).next,c=n?new this:[];!(u=E(s,l)).done;d++)f=i?ui(l,o,[u.value,d],!0):u.value,en(c,d,f);return c.length=d,c}});var xi=z.Array.from,wi=i((function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports})),Si=i((function(e){e.exports=function(e,t){var n;if(e){if("string"==typeof e)return wi(e,t);var r=mo(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?xi(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wi(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports})),Oi=i((function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports})),Ei=i((function(e){e.exports=function(e,t){return go(e)||ci(e,t)||Si(e,t)||Oi()},e.exports.__esModule=!0,e.exports.default=e.exports})),Ti="START",ki="DONE",Ci="START",Ai="DONE",Pi="ADD",ji="ASCEND ",Ni="DESCEND ",_i="DONE";function Mi(e){return Number(e.replace("px",""))}function Ii(e,t,n,r){var o=r.current?r.current.getClientRects().length:0;return!(!e&&"none"===t)&&(!!(e&&o>e)||!!("none"!==t&&n.current&&n.current.scrollHeight>Mi(t)))}var Li=function(e){var n=e.ellipsis,o=void 0===n?"...":n,i=e.content,a=e.maxHeight,c=e.maxLines,u=e.expanded,l=void 0!==u&&u,s=e.renderContent,f=e.renderClampedContent,p=e.className,d=void 0===p?"":p,h=i.length||0,m=t.useRef(),y=t.useRef(),g=t.useRef(h),v=t.useState(h),b=Ei(v,2),x=b[0],w=b[1],S=t.useState(ki),O=Ei(S,2),E=O[0],T=O[1],k=t.useState(Ai),C=Ei(k,2),A=C[0],P=C[1],j=t.useState(_i),N=Ei(j,2),_=N[0],M=N[1],I=t.useState(!0),L=Ei(I,2),D=L[0],F=L[1],R=function(e){var n=t.useState(e),r=Ei(n,2),o=r[0],i=r[1];return t.useEffect((function(){i(e)}),[e]),o}(l),z=function(e,n,r,o,i,a,c){var u=t.useState((function(){return n()})),l=Ei(u,2),s=l[0],f=l[1];return t.useLayoutEffect((function(){!i||c?f(n()):o!==i&&f(r(o,a))}),[e,n,r,o,i,a,c]),s}(i,s,f,x,h,o,R),B=function(e,n){var r=t.useState("none"),o=Ei(r,2),i=o[0],a=o[1];return t.useLayoutEffect((function(){a(e?"none":n?"number"==typeof n?"".concat(n,"px"):n:"none")}),[e,n]),i}(R,a);t.useLayoutEffect((function(){!R&&Ii(c,B,m,y)&&E===ki&&T(Ti)}),[c,a,o,R,E,B]),t.useLayoutEffect((function(){E===Ti&&P(Ci)}),[E,h]),t.useLayoutEffect((function(){var e=y.current?y.current.getClientRects().length:0,t=m.current&&m.current.scrollHeight<=Mi(B);A!==Ci&&A!==Pi||(Ii(c,B,m,y)?A===Pi?(F(!1),w((function(e){return~~(e-g.current)}))):(w((function(e){return~~(e/2)})),g.current/=2):D&&("none"!==B&&t||c&&e<c)?(P(Pi),w((function(e){return~~(e+g.current/2)})),g.current/=2):(P(Ai),M(ji)))}),[A,c,y,B,z,D]),t.useLayoutEffect((function(){var e=y.current?y.current.getClientRects().length:0;_===ji?(!Ii(c,B,m,y)||e<2)&&x<h?w(x+1):M(Ni):_===Ni&&(Ii(c,B,m,y)&&e>1&&x>0?w(x-1):(M(_i),T(ki),g.current=h))}),[_,h,x,y,c,B]);var H=r.default.createElement("span",null,z),V=r.default.createElement("span",{ref:y,style:{boxShadow:"transparent 0 0",wordBreak:"break-all"}},H);return r.default.createElement("div",{className:"react-simple-clamp ".concat(d),ref:m,style:{overflow:"hidden",maxHeight:B}},V)};Li.defaultProps={autoresize:!1,ellipsis:"",expanded:!1,className:""};var Di=["content","renderAfter"],Fi=function(e){var n=e.content,o=void 0===n?"":n,i=e.renderAfter,a=void 0===i?function(){return r.default.createElement(t.Fragment,null)}:i,c=Zr(e,Di);return r.default.createElement(Li,_t({content:o,renderContent:function(){return r.default.createElement("span",null,o,a(!1))},renderClampedContent:function(e,t){var n;return r.default.createElement("span",null,co(n="".concat(mo(o).call(o,0,e))).call(n,t),a(!0))}},c))};Fi.defaultProps={autoresize:!1,ellipsis:"",expanded:!1,className:""};var Ri={SAME:0,CAMELCASE:1,possibleStandardNames:{accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},zi=i((function(e,t){function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0});function o(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){i[e]=new o(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=n(e,2),r=t[0],a=t[1];i[r]=new o(r,1,!1,a,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){i[e]=new o(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){i[e]=new o(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){i[e]=new o(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){i[e]=new o(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){i[e]=new o(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){i[e]=new o(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){i[e]=new o(e,5,!1,e.toLowerCase(),null,!1,!1)}));var a=/[\-\:]([a-z])/g,c=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(a,c);i[t]=new o(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(a,c);i[t]=new o(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(a,c);i[t]=new o(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){i[e]=new o(e,1,!1,e.toLowerCase(),null,!1,!1)}));i.xlinkHref=new o("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){i[e]=new o(e,1,!1,e.toLowerCase(),null,!0,!0)}));var u=Ri.CAMELCASE,l=Ri.SAME,s=Ri.possibleStandardNames,f=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),p=Object.keys(s).reduce((function(e,t){var n=s[t];return n===l?e[t]=t:n===u?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return i.hasOwnProperty(e)?i[e]:null},t.isCustomAttribute=f,t.possibleStandardNames=p})),Bi=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Hi=/\n/g,Vi=/^\s*/,Ui=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Gi=/^:\s*/,Wi=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,qi=/^[;\s]*/,Xi=/^\s+|\s+$/g;function Yi(e){return e?e.replace(Xi,""):""}var $i=function(e,t){var n,r=null;if(!e||"string"!=typeof e)return r;for(var o,i,a=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function o(e){var t=e.match(Hi);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new a(e),l(),t}}function a(e){this.start=e,this.end={line:n,column:r},this.source=t.source}function c(o){var i=new Error(t.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i}function u(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function l(){u(Vi)}function s(e){var t;for(e=e||[];t=f();)!1!==t&&e.push(t);return e}function f(){var t=i();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return c("End of comment missing");var a=e.slice(2,n-2);return r+=2,o(a),e=e.slice(n),r+=2,t({type:"comment",comment:a})}}function p(){var e=i(),t=u(Ui);if(t){if(f(),!u(Gi))return c("property missing ':'");var n=u(Wi),r=e({type:"declaration",property:Yi(t[0].replace(Bi,"")),value:n?Yi(n[0].replace(Bi,"")):""});return u(qi),r}}return a.prototype.content=e,l(),function(){var e,t=[];for(s(t);e=p();)!1!==e&&(t.push(e),s(t));return t}()}(e),c="function"==typeof t,u=0,l=a.length;u<l;u++)o=(n=a[u]).property,i=n.value,c?t(o,i,n):i&&(r||(r={}),r[o]=i);return r},Zi=i((function(e,t){t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,c=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,u):e.replace(i,u)).replace(r,c))}})),Ji=i((function(e,t){var n=o&&o.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var r=n($i);t.default=function(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,Zi.camelCase)(e,t)]=r)})),n):n}})).default;var Ki={reactCompat:!0};var Qi=r.default.version.split(".")[0]>=16,ea=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var ta={PRESERVE_CUSTOM_ATTRIBUTES:Qi,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,o="function"==typeof t,i={},a={};for(n in e)r=e[n],o&&(i=t(n,r))&&2===i.length?a[i[0]]=i[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=Ji(e,Ki)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!ea.has(e.name)},elementsWithNoTextChildren:ea},na=function(e){var t,n,r,o,i,a={},c=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(r=e[t],zi.isCustomAttribute(t))a[t]=r;else if(o=ra(n=t.toLowerCase()))switch(i=zi.getPropertyInfo(o),"checked"!==o&&"value"!==o||c||(o=ra("default"+n)),a[o]=r,i&&i.type){case zi.BOOLEAN:a[o]=!0;break;case zi.OVERLOADED_BOOLEAN:""===r&&(a[o]=!0)}else ta.PRESERVE_CUSTOM_ATTRIBUTES&&(a[t]=r);return ta.setStyleProp(e.style,a),a};function ra(e){return zi.possibleStandardNames[e]}var oa=ta.setStyleProp,ia=ta.canTextBeChildOfNode;function aa(e){return ta.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&ta.isCustomComponent(e.name,e.attribs)}var ca,ua=function e(t,n){for(var o,i,a,c,u,l=(n=n||{}).library||r.default,s=l.cloneElement,f=l.createElement,p=l.isValidElement,d=[],h="function"==typeof n.replace,m=n.trim,y=0,g=t.length;y<g;y++)if(o=t[y],h&&p(a=n.replace(o)))g>1&&(a=s(a,{key:a.key||y})),d.push(a);else if("text"!==o.type){switch(c=o.attribs,aa(o)?oa(c.style,c):c&&(c=na(c)),u=null,o.type){case"script":case"style":o.children[0]&&(c.dangerouslySetInnerHTML={__html:o.children[0].data});break;case"tag":"textarea"===o.name&&o.children[0]?c.defaultValue=o.children[0].data:o.children&&o.children.length&&(u=e(o.children,n));break;default:continue}g>1&&(c.key=y),d.push(f(o.name,c,u))}else{if((i=!o.data.trim().length)&&o.parent&&!ia(o.parent))continue;if(m&&i)continue;d.push(o.data)}return 1===d.length?d[0]:d},la=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"];!function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(ca||(ca={}));const sa=ca.Root,fa=ca.Text,pa=ca.Directive,da=ca.Comment,ha=ca.Script,ma=ca.Style,ya=ca.Tag,ga=ca.CDATA,va=ca.Doctype;for(var ba,xa=Object.freeze({__proto__:null,get ElementType(){return ca},isTag:function(e){return e.type===ca.Tag||e.type===ca.Script||e.type===ca.Style},Root:sa,Text:fa,Directive:pa,Comment:da,Script:ha,Style:ma,Tag:ya,CDATA:ga,Doctype:va}),wa=i((function(e,t){var n,r=o&&o.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=o&&o.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=new Map([[xa.ElementType.Tag,1],[xa.ElementType.Script,1],[xa.ElementType.Style,1],[xa.ElementType.Directive,1],[xa.ElementType.Text,3],[xa.ElementType.CDATA,4],[xa.ElementType.Comment,8],[xa.ElementType.Root,9]]),c=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=a.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.