@aic-kits/react 0.31.0 → 0.32.1

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/dist/index.cjs CHANGED
@@ -1,41 +1,41 @@
1
- "use strict";var l2=Object.defineProperty;var u2=(n,r,i)=>r in n?l2(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i;var nr=(n,r,i)=>u2(n,typeof r!="symbol"?r+"":r,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react/jsx-runtime"),Sn=require("styled-components"),d=require("react"),c2=require("react-dom");var wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Er={exports:{}};/**
1
+ "use strict";var l2=Object.defineProperty;var u2=(n,r,i)=>r in n?l2(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i;var rr=(n,r,i)=>u2(n,typeof r!="symbol"?r+"":r,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react/jsx-runtime"),Sn=require("styled-components"),d=require("react"),c2=require("react-dom");var wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Er={exports:{}};/**
2
2
  * @license
3
3
  * Lodash <https://lodash.com/>
4
4
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
5
5
  * Released under MIT license <https://lodash.com/license>
6
6
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
7
7
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
8
- */var f2=Er.exports,tu;function d2(){return tu||(tu=1,function(n,r){(function(){var i,a="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",p="Invalid `variable` option passed into `_.template`",v="__lodash_hash_undefined__",y=500,$="__lodash_placeholder__",T=1,x=2,b=4,m=1,S=2,C=1,M=2,L=4,A=8,O=16,z=32,D=64,H=128,q=256,le=512,pe=30,Ce="...",N=800,B=16,Z=1,re=2,J=3,K=1/0,Q=9007199254740991,ae=17976931348623157e292,Te=NaN,be=4294967295,Fe=be-1,Re=be>>>1,ze=[["ary",H],["bind",C],["bindKey",M],["curry",A],["curryRight",O],["flip",le],["partial",z],["partialRight",D],["rearg",q]],je="[object Arguments]",Ne="[object Array]",Xe="[object AsyncFunction]",U="[object Boolean]",F="[object Date]",X="[object DOMException]",ee="[object Error]",ce="[object Function]",me="[object GeneratorFunction]",xe="[object Map]",He="[object Number]",dt="[object Null]",Ye="[object Object]",ut="[object Promise]",wt="[object Proxy]",et="[object RegExp]",st="[object Set]",tt="[object String]",Y="[object Symbol]",ve="[object Undefined]",Ve="[object WeakMap]",ge="[object WeakSet]",Se="[object ArrayBuffer]",se="[object DataView]",Pe="[object Float32Array]",kt="[object Float64Array]",_t="[object Int8Array]",Me="[object Int16Array]",he="[object Int32Array]",Ct="[object Uint8Array]",An="[object Uint8ClampedArray]",Dn="[object Uint16Array]",Di="[object Uint32Array]",kf=/\b__p \+= '';/g,Rf=/\b(__p \+=) '' \+/g,Lf=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Aa=/&(?:amp|lt|gt|quot|#39);/g,$a=/[&<>"']/g,Of=RegExp(Aa.source),If=RegExp($a.source),Mf=/<%-([\s\S]+?)%>/g,Ff=/<%([\s\S]+?)%>/g,Ta=/<%=([\s\S]+?)%>/g,zf=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jf=/^\w*$/,Bf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ni=/[\\^$.*+?()[\]{}|]/g,Pf=RegExp(Ni.source),Zi=/^\s+/,Wf=/\s/,Df=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Nf=/\{\n\/\* \[wrapped with (.+)\] \*/,Zf=/,? & /,Hf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vf=/[()=,{}\[\]\/\s]/,Uf=/\\(\\)?/g,qf=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ka=/\w*$/,Gf=/^[-+]0x[0-9a-f]+$/i,Kf=/^0b[01]+$/i,Xf=/^\[object .+?Constructor\]$/,Yf=/^0o[0-7]+$/i,Qf=/^(?:0|[1-9]\d*)$/,Jf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ir=/($^)/,ed=/['\n\r\u2028\u2029\\]/g,Mr="\\ud800-\\udfff",td="\\u0300-\\u036f",nd="\\ufe20-\\ufe2f",rd="\\u20d0-\\u20ff",Ra=td+nd+rd,La="\\u2700-\\u27bf",Oa="a-z\\xdf-\\xf6\\xf8-\\xff",id="\\xac\\xb1\\xd7\\xf7",od="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ad="\\u2000-\\u206f",sd=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ia="A-Z\\xc0-\\xd6\\xd8-\\xde",Ma="\\ufe0e\\ufe0f",Fa=id+od+ad+sd,Hi="['’]",ld="["+Mr+"]",za="["+Fa+"]",Fr="["+Ra+"]",ja="\\d+",ud="["+La+"]",Ba="["+Oa+"]",Pa="[^"+Mr+Fa+ja+La+Oa+Ia+"]",Vi="\\ud83c[\\udffb-\\udfff]",cd="(?:"+Fr+"|"+Vi+")",Wa="[^"+Mr+"]",Ui="(?:\\ud83c[\\udde6-\\uddff]){2}",qi="[\\ud800-\\udbff][\\udc00-\\udfff]",Nn="["+Ia+"]",Da="\\u200d",Na="(?:"+Ba+"|"+Pa+")",fd="(?:"+Nn+"|"+Pa+")",Za="(?:"+Hi+"(?:d|ll|m|re|s|t|ve))?",Ha="(?:"+Hi+"(?:D|LL|M|RE|S|T|VE))?",Va=cd+"?",Ua="["+Ma+"]?",dd="(?:"+Da+"(?:"+[Wa,Ui,qi].join("|")+")"+Ua+Va+")*",hd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",qa=Ua+Va+dd,gd="(?:"+[ud,Ui,qi].join("|")+")"+qa,md="(?:"+[Wa+Fr+"?",Fr,Ui,qi,ld].join("|")+")",vd=RegExp(Hi,"g"),yd=RegExp(Fr,"g"),Gi=RegExp(Vi+"(?="+Vi+")|"+md+qa,"g"),bd=RegExp([Nn+"?"+Ba+"+"+Za+"(?="+[za,Nn,"$"].join("|")+")",fd+"+"+Ha+"(?="+[za,Nn+Na,"$"].join("|")+")",Nn+"?"+Na+"+"+Za,Nn+"+"+Ha,pd,hd,ja,gd].join("|"),"g"),xd=RegExp("["+Da+Mr+Ra+Ma+"]"),wd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_d=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Cd=-1,qe={};qe[Pe]=qe[kt]=qe[_t]=qe[Me]=qe[he]=qe[Ct]=qe[An]=qe[Dn]=qe[Di]=!0,qe[je]=qe[Ne]=qe[Se]=qe[U]=qe[se]=qe[F]=qe[ee]=qe[ce]=qe[xe]=qe[He]=qe[Ye]=qe[et]=qe[st]=qe[tt]=qe[Ve]=!1;var Ue={};Ue[je]=Ue[Ne]=Ue[Se]=Ue[se]=Ue[U]=Ue[F]=Ue[Pe]=Ue[kt]=Ue[_t]=Ue[Me]=Ue[he]=Ue[xe]=Ue[He]=Ue[Ye]=Ue[et]=Ue[st]=Ue[tt]=Ue[Y]=Ue[Ct]=Ue[An]=Ue[Dn]=Ue[Di]=!0,Ue[ee]=Ue[ce]=Ue[Ve]=!1;var Sd={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ed={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ad={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},$d={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Td=parseFloat,kd=parseInt,Ga=typeof wi=="object"&&wi&&wi.Object===Object&&wi,Rd=typeof self=="object"&&self&&self.Object===Object&&self,ct=Ga||Rd||Function("return this")(),Ki=r&&!r.nodeType&&r,$n=Ki&&!0&&n&&!n.nodeType&&n,Ka=$n&&$n.exports===Ki,Xi=Ka&&Ga.process,jt=function(){try{var k=$n&&$n.require&&$n.require("util").types;return k||Xi&&Xi.binding&&Xi.binding("util")}catch{}}(),Xa=jt&&jt.isArrayBuffer,Ya=jt&&jt.isDate,Qa=jt&&jt.isMap,Ja=jt&&jt.isRegExp,es=jt&&jt.isSet,ts=jt&&jt.isTypedArray;function Rt(k,j,I){switch(I.length){case 0:return k.call(j);case 1:return k.call(j,I[0]);case 2:return k.call(j,I[0],I[1]);case 3:return k.call(j,I[0],I[1],I[2])}return k.apply(j,I)}function Ld(k,j,I,ne){for(var ye=-1,Be=k==null?0:k.length;++ye<Be;){var it=k[ye];j(ne,it,I(it),k)}return ne}function Bt(k,j){for(var I=-1,ne=k==null?0:k.length;++I<ne&&j(k[I],I,k)!==!1;);return k}function Od(k,j){for(var I=k==null?0:k.length;I--&&j(k[I],I,k)!==!1;);return k}function ns(k,j){for(var I=-1,ne=k==null?0:k.length;++I<ne;)if(!j(k[I],I,k))return!1;return!0}function gn(k,j){for(var I=-1,ne=k==null?0:k.length,ye=0,Be=[];++I<ne;){var it=k[I];j(it,I,k)&&(Be[ye++]=it)}return Be}function zr(k,j){var I=k==null?0:k.length;return!!I&&Zn(k,j,0)>-1}function Yi(k,j,I){for(var ne=-1,ye=k==null?0:k.length;++ne<ye;)if(I(j,k[ne]))return!0;return!1}function Ge(k,j){for(var I=-1,ne=k==null?0:k.length,ye=Array(ne);++I<ne;)ye[I]=j(k[I],I,k);return ye}function mn(k,j){for(var I=-1,ne=j.length,ye=k.length;++I<ne;)k[ye+I]=j[I];return k}function Qi(k,j,I,ne){var ye=-1,Be=k==null?0:k.length;for(ne&&Be&&(I=k[++ye]);++ye<Be;)I=j(I,k[ye],ye,k);return I}function Id(k,j,I,ne){var ye=k==null?0:k.length;for(ne&&ye&&(I=k[--ye]);ye--;)I=j(I,k[ye],ye,k);return I}function Ji(k,j){for(var I=-1,ne=k==null?0:k.length;++I<ne;)if(j(k[I],I,k))return!0;return!1}var Md=eo("length");function Fd(k){return k.split("")}function zd(k){return k.match(Hf)||[]}function rs(k,j,I){var ne;return I(k,function(ye,Be,it){if(j(ye,Be,it))return ne=Be,!1}),ne}function jr(k,j,I,ne){for(var ye=k.length,Be=I+(ne?1:-1);ne?Be--:++Be<ye;)if(j(k[Be],Be,k))return Be;return-1}function Zn(k,j,I){return j===j?Gd(k,j,I):jr(k,is,I)}function jd(k,j,I,ne){for(var ye=I-1,Be=k.length;++ye<Be;)if(ne(k[ye],j))return ye;return-1}function is(k){return k!==k}function os(k,j){var I=k==null?0:k.length;return I?no(k,j)/I:Te}function eo(k){return function(j){return j==null?i:j[k]}}function to(k){return function(j){return k==null?i:k[j]}}function as(k,j,I,ne,ye){return ye(k,function(Be,it,Ze){I=ne?(ne=!1,Be):j(I,Be,it,Ze)}),I}function Bd(k,j){var I=k.length;for(k.sort(j);I--;)k[I]=k[I].value;return k}function no(k,j){for(var I,ne=-1,ye=k.length;++ne<ye;){var Be=j(k[ne]);Be!==i&&(I=I===i?Be:I+Be)}return I}function ro(k,j){for(var I=-1,ne=Array(k);++I<k;)ne[I]=j(I);return ne}function Pd(k,j){return Ge(j,function(I){return[I,k[I]]})}function ss(k){return k&&k.slice(0,fs(k)+1).replace(Zi,"")}function Lt(k){return function(j){return k(j)}}function io(k,j){return Ge(j,function(I){return k[I]})}function ur(k,j){return k.has(j)}function ls(k,j){for(var I=-1,ne=k.length;++I<ne&&Zn(j,k[I],0)>-1;);return I}function us(k,j){for(var I=k.length;I--&&Zn(j,k[I],0)>-1;);return I}function Wd(k,j){for(var I=k.length,ne=0;I--;)k[I]===j&&++ne;return ne}var Dd=to(Sd),Nd=to(Ed);function Zd(k){return"\\"+$d[k]}function Hd(k,j){return k==null?i:k[j]}function Hn(k){return xd.test(k)}function Vd(k){return wd.test(k)}function Ud(k){for(var j,I=[];!(j=k.next()).done;)I.push(j.value);return I}function oo(k){var j=-1,I=Array(k.size);return k.forEach(function(ne,ye){I[++j]=[ye,ne]}),I}function cs(k,j){return function(I){return k(j(I))}}function vn(k,j){for(var I=-1,ne=k.length,ye=0,Be=[];++I<ne;){var it=k[I];(it===j||it===$)&&(k[I]=$,Be[ye++]=I)}return Be}function Br(k){var j=-1,I=Array(k.size);return k.forEach(function(ne){I[++j]=ne}),I}function qd(k){var j=-1,I=Array(k.size);return k.forEach(function(ne){I[++j]=[ne,ne]}),I}function Gd(k,j,I){for(var ne=I-1,ye=k.length;++ne<ye;)if(k[ne]===j)return ne;return-1}function Kd(k,j,I){for(var ne=I+1;ne--;)if(k[ne]===j)return ne;return ne}function Vn(k){return Hn(k)?Yd(k):Md(k)}function Gt(k){return Hn(k)?Qd(k):Fd(k)}function fs(k){for(var j=k.length;j--&&Wf.test(k.charAt(j)););return j}var Xd=to(Ad);function Yd(k){for(var j=Gi.lastIndex=0;Gi.test(k);)++j;return j}function Qd(k){return k.match(Gi)||[]}function Jd(k){return k.match(bd)||[]}var e0=function k(j){j=j==null?ct:Un.defaults(ct.Object(),j,Un.pick(ct,_d));var I=j.Array,ne=j.Date,ye=j.Error,Be=j.Function,it=j.Math,Ze=j.Object,ao=j.RegExp,t0=j.String,Pt=j.TypeError,Pr=I.prototype,n0=Be.prototype,qn=Ze.prototype,Wr=j["__core-js_shared__"],Dr=n0.toString,De=qn.hasOwnProperty,r0=0,ds=function(){var e=/[^.]+$/.exec(Wr&&Wr.keys&&Wr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Nr=qn.toString,i0=Dr.call(Ze),o0=ct._,a0=ao("^"+Dr.call(De).replace(Ni,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zr=Ka?j.Buffer:i,yn=j.Symbol,Hr=j.Uint8Array,hs=Zr?Zr.allocUnsafe:i,Vr=cs(Ze.getPrototypeOf,Ze),ps=Ze.create,gs=qn.propertyIsEnumerable,Ur=Pr.splice,ms=yn?yn.isConcatSpreadable:i,cr=yn?yn.iterator:i,Tn=yn?yn.toStringTag:i,qr=function(){try{var e=In(Ze,"defineProperty");return e({},"",{}),e}catch{}}(),s0=j.clearTimeout!==ct.clearTimeout&&j.clearTimeout,l0=ne&&ne.now!==ct.Date.now&&ne.now,u0=j.setTimeout!==ct.setTimeout&&j.setTimeout,Gr=it.ceil,Kr=it.floor,so=Ze.getOwnPropertySymbols,c0=Zr?Zr.isBuffer:i,vs=j.isFinite,f0=Pr.join,d0=cs(Ze.keys,Ze),ot=it.max,ht=it.min,h0=ne.now,p0=j.parseInt,ys=it.random,g0=Pr.reverse,lo=In(j,"DataView"),fr=In(j,"Map"),uo=In(j,"Promise"),Gn=In(j,"Set"),dr=In(j,"WeakMap"),hr=In(Ze,"create"),Xr=dr&&new dr,Kn={},m0=Mn(lo),v0=Mn(fr),y0=Mn(uo),b0=Mn(Gn),x0=Mn(dr),Yr=yn?yn.prototype:i,pr=Yr?Yr.valueOf:i,bs=Yr?Yr.toString:i;function h(e){if(Qe(e)&&!we(e)&&!(e instanceof Le)){if(e instanceof Wt)return e;if(De.call(e,"__wrapped__"))return xl(e)}return new Wt(e)}var Xn=function(){function e(){}return function(t){if(!Ke(t))return{};if(ps)return ps(t);e.prototype=t;var o=new e;return e.prototype=i,o}}();function Qr(){}function Wt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}h.templateSettings={escape:Mf,evaluate:Ff,interpolate:Ta,variable:"",imports:{_:h}},h.prototype=Qr.prototype,h.prototype.constructor=h,Wt.prototype=Xn(Qr.prototype),Wt.prototype.constructor=Wt;function Le(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=be,this.__views__=[]}function w0(){var e=new Le(this.__wrapped__);return e.__actions__=St(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=St(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=St(this.__views__),e}function _0(){if(this.__filtered__){var e=new Le(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function C0(){var e=this.__wrapped__.value(),t=this.__dir__,o=we(e),s=t<0,c=o?e.length:0,g=F1(0,c,this.__views__),_=g.start,E=g.end,R=E-_,P=s?E:_-1,W=this.__iteratees__,V=W.length,te=0,oe=ht(R,this.__takeCount__);if(!o||!s&&c==R&&oe==R)return Zs(e,this.__actions__);var fe=[];e:for(;R--&&te<oe;){P+=t;for(var Ae=-1,de=e[P];++Ae<V;){var ke=W[Ae],Oe=ke.iteratee,Mt=ke.type,yt=Oe(de);if(Mt==re)de=yt;else if(!yt){if(Mt==Z)continue e;break e}}fe[te++]=de}return fe}Le.prototype=Xn(Qr.prototype),Le.prototype.constructor=Le;function kn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function S0(){this.__data__=hr?hr(null):{},this.size=0}function E0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function A0(e){var t=this.__data__;if(hr){var o=t[e];return o===v?i:o}return De.call(t,e)?t[e]:i}function $0(e){var t=this.__data__;return hr?t[e]!==i:De.call(t,e)}function T0(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=hr&&t===i?v:t,this}kn.prototype.clear=S0,kn.prototype.delete=E0,kn.prototype.get=A0,kn.prototype.has=$0,kn.prototype.set=T0;function nn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function k0(){this.__data__=[],this.size=0}function R0(e){var t=this.__data__,o=Jr(t,e);if(o<0)return!1;var s=t.length-1;return o==s?t.pop():Ur.call(t,o,1),--this.size,!0}function L0(e){var t=this.__data__,o=Jr(t,e);return o<0?i:t[o][1]}function O0(e){return Jr(this.__data__,e)>-1}function I0(e,t){var o=this.__data__,s=Jr(o,e);return s<0?(++this.size,o.push([e,t])):o[s][1]=t,this}nn.prototype.clear=k0,nn.prototype.delete=R0,nn.prototype.get=L0,nn.prototype.has=O0,nn.prototype.set=I0;function rn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function M0(){this.size=0,this.__data__={hash:new kn,map:new(fr||nn),string:new kn}}function F0(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t}function z0(e){return fi(this,e).get(e)}function j0(e){return fi(this,e).has(e)}function B0(e,t){var o=fi(this,e),s=o.size;return o.set(e,t),this.size+=o.size==s?0:1,this}rn.prototype.clear=M0,rn.prototype.delete=F0,rn.prototype.get=z0,rn.prototype.has=j0,rn.prototype.set=B0;function Rn(e){var t=-1,o=e==null?0:e.length;for(this.__data__=new rn;++t<o;)this.add(e[t])}function P0(e){return this.__data__.set(e,v),this}function W0(e){return this.__data__.has(e)}Rn.prototype.add=Rn.prototype.push=P0,Rn.prototype.has=W0;function Kt(e){var t=this.__data__=new nn(e);this.size=t.size}function D0(){this.__data__=new nn,this.size=0}function N0(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function Z0(e){return this.__data__.get(e)}function H0(e){return this.__data__.has(e)}function V0(e,t){var o=this.__data__;if(o instanceof nn){var s=o.__data__;if(!fr||s.length<l-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new rn(s)}return o.set(e,t),this.size=o.size,this}Kt.prototype.clear=D0,Kt.prototype.delete=N0,Kt.prototype.get=Z0,Kt.prototype.has=H0,Kt.prototype.set=V0;function xs(e,t){var o=we(e),s=!o&&Fn(e),c=!o&&!s&&Cn(e),g=!o&&!s&&!c&&er(e),_=o||s||c||g,E=_?ro(e.length,t0):[],R=E.length;for(var P in e)(t||De.call(e,P))&&!(_&&(P=="length"||c&&(P=="offset"||P=="parent")||g&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||ln(P,R)))&&E.push(P);return E}function ws(e){var t=e.length;return t?e[wo(0,t-1)]:i}function U0(e,t){return di(St(e),Ln(t,0,e.length))}function q0(e){return di(St(e))}function co(e,t,o){(o!==i&&!Xt(e[t],o)||o===i&&!(t in e))&&on(e,t,o)}function gr(e,t,o){var s=e[t];(!(De.call(e,t)&&Xt(s,o))||o===i&&!(t in e))&&on(e,t,o)}function Jr(e,t){for(var o=e.length;o--;)if(Xt(e[o][0],t))return o;return-1}function G0(e,t,o,s){return bn(e,function(c,g,_){t(s,c,o(c),_)}),s}function _s(e,t){return e&&en(t,lt(t),e)}function K0(e,t){return e&&en(t,At(t),e)}function on(e,t,o){t=="__proto__"&&qr?qr(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}function fo(e,t){for(var o=-1,s=t.length,c=I(s),g=e==null;++o<s;)c[o]=g?i:Uo(e,t[o]);return c}function Ln(e,t,o){return e===e&&(o!==i&&(e=e<=o?e:o),t!==i&&(e=e>=t?e:t)),e}function Dt(e,t,o,s,c,g){var _,E=t&T,R=t&x,P=t&b;if(o&&(_=c?o(e,s,c,g):o(e)),_!==i)return _;if(!Ke(e))return e;var W=we(e);if(W){if(_=j1(e),!E)return St(e,_)}else{var V=pt(e),te=V==ce||V==me;if(Cn(e))return Us(e,E);if(V==Ye||V==je||te&&!c){if(_=R||te?{}:fl(e),!E)return R?A1(e,K0(_,e)):E1(e,_s(_,e))}else{if(!Ue[V])return c?e:{};_=B1(e,V,E)}}g||(g=new Kt);var oe=g.get(e);if(oe)return oe;g.set(e,_),Wl(e)?e.forEach(function(de){_.add(Dt(de,t,o,de,e,g))}):Bl(e)&&e.forEach(function(de,ke){_.set(ke,Dt(de,t,o,ke,e,g))});var fe=P?R?Oo:Lo:R?At:lt,Ae=W?i:fe(e);return Bt(Ae||e,function(de,ke){Ae&&(ke=de,de=e[ke]),gr(_,ke,Dt(de,t,o,ke,e,g))}),_}function X0(e){var t=lt(e);return function(o){return Cs(o,e,t)}}function Cs(e,t,o){var s=o.length;if(e==null)return!s;for(e=Ze(e);s--;){var c=o[s],g=t[c],_=e[c];if(_===i&&!(c in e)||!g(_))return!1}return!0}function Ss(e,t,o){if(typeof e!="function")throw new Pt(f);return _r(function(){e.apply(i,o)},t)}function mr(e,t,o,s){var c=-1,g=zr,_=!0,E=e.length,R=[],P=t.length;if(!E)return R;o&&(t=Ge(t,Lt(o))),s?(g=Yi,_=!1):t.length>=l&&(g=ur,_=!1,t=new Rn(t));e:for(;++c<E;){var W=e[c],V=o==null?W:o(W);if(W=s||W!==0?W:0,_&&V===V){for(var te=P;te--;)if(t[te]===V)continue e;R.push(W)}else g(t,V,s)||R.push(W)}return R}var bn=Ys(Jt),Es=Ys(po,!0);function Y0(e,t){var o=!0;return bn(e,function(s,c,g){return o=!!t(s,c,g),o}),o}function ei(e,t,o){for(var s=-1,c=e.length;++s<c;){var g=e[s],_=t(g);if(_!=null&&(E===i?_===_&&!It(_):o(_,E)))var E=_,R=g}return R}function Q0(e,t,o,s){var c=e.length;for(o=Ee(o),o<0&&(o=-o>c?0:c+o),s=s===i||s>c?c:Ee(s),s<0&&(s+=c),s=o>s?0:Nl(s);o<s;)e[o++]=t;return e}function As(e,t){var o=[];return bn(e,function(s,c,g){t(s,c,g)&&o.push(s)}),o}function ft(e,t,o,s,c){var g=-1,_=e.length;for(o||(o=W1),c||(c=[]);++g<_;){var E=e[g];t>0&&o(E)?t>1?ft(E,t-1,o,s,c):mn(c,E):s||(c[c.length]=E)}return c}var ho=Qs(),$s=Qs(!0);function Jt(e,t){return e&&ho(e,t,lt)}function po(e,t){return e&&$s(e,t,lt)}function ti(e,t){return gn(t,function(o){return un(e[o])})}function On(e,t){t=wn(t,e);for(var o=0,s=t.length;e!=null&&o<s;)e=e[tn(t[o++])];return o&&o==s?e:i}function Ts(e,t,o){var s=t(e);return we(e)?s:mn(s,o(e))}function mt(e){return e==null?e===i?ve:dt:Tn&&Tn in Ze(e)?M1(e):q1(e)}function go(e,t){return e>t}function J0(e,t){return e!=null&&De.call(e,t)}function e1(e,t){return e!=null&&t in Ze(e)}function t1(e,t,o){return e>=ht(t,o)&&e<ot(t,o)}function mo(e,t,o){for(var s=o?Yi:zr,c=e[0].length,g=e.length,_=g,E=I(g),R=1/0,P=[];_--;){var W=e[_];_&&t&&(W=Ge(W,Lt(t))),R=ht(W.length,R),E[_]=!o&&(t||c>=120&&W.length>=120)?new Rn(_&&W):i}W=e[0];var V=-1,te=E[0];e:for(;++V<c&&P.length<R;){var oe=W[V],fe=t?t(oe):oe;if(oe=o||oe!==0?oe:0,!(te?ur(te,fe):s(P,fe,o))){for(_=g;--_;){var Ae=E[_];if(!(Ae?ur(Ae,fe):s(e[_],fe,o)))continue e}te&&te.push(fe),P.push(oe)}}return P}function n1(e,t,o,s){return Jt(e,function(c,g,_){t(s,o(c),g,_)}),s}function vr(e,t,o){t=wn(t,e),e=gl(e,t);var s=e==null?e:e[tn(Zt(t))];return s==null?i:Rt(s,e,o)}function ks(e){return Qe(e)&&mt(e)==je}function r1(e){return Qe(e)&&mt(e)==Se}function i1(e){return Qe(e)&&mt(e)==F}function yr(e,t,o,s,c){return e===t?!0:e==null||t==null||!Qe(e)&&!Qe(t)?e!==e&&t!==t:o1(e,t,o,s,yr,c)}function o1(e,t,o,s,c,g){var _=we(e),E=we(t),R=_?Ne:pt(e),P=E?Ne:pt(t);R=R==je?Ye:R,P=P==je?Ye:P;var W=R==Ye,V=P==Ye,te=R==P;if(te&&Cn(e)){if(!Cn(t))return!1;_=!0,W=!1}if(te&&!W)return g||(g=new Kt),_||er(e)?ll(e,t,o,s,c,g):O1(e,t,R,o,s,c,g);if(!(o&m)){var oe=W&&De.call(e,"__wrapped__"),fe=V&&De.call(t,"__wrapped__");if(oe||fe){var Ae=oe?e.value():e,de=fe?t.value():t;return g||(g=new Kt),c(Ae,de,o,s,g)}}return te?(g||(g=new Kt),I1(e,t,o,s,c,g)):!1}function a1(e){return Qe(e)&&pt(e)==xe}function vo(e,t,o,s){var c=o.length,g=c,_=!s;if(e==null)return!g;for(e=Ze(e);c--;){var E=o[c];if(_&&E[2]?E[1]!==e[E[0]]:!(E[0]in e))return!1}for(;++c<g;){E=o[c];var R=E[0],P=e[R],W=E[1];if(_&&E[2]){if(P===i&&!(R in e))return!1}else{var V=new Kt;if(s)var te=s(P,W,R,e,t,V);if(!(te===i?yr(W,P,m|S,s,V):te))return!1}}return!0}function Rs(e){if(!Ke(e)||N1(e))return!1;var t=un(e)?a0:Xf;return t.test(Mn(e))}function s1(e){return Qe(e)&&mt(e)==et}function l1(e){return Qe(e)&&pt(e)==st}function u1(e){return Qe(e)&&yi(e.length)&&!!qe[mt(e)]}function Ls(e){return typeof e=="function"?e:e==null?$t:typeof e=="object"?we(e)?Ms(e[0],e[1]):Is(e):Jl(e)}function yo(e){if(!wr(e))return d0(e);var t=[];for(var o in Ze(e))De.call(e,o)&&o!="constructor"&&t.push(o);return t}function c1(e){if(!Ke(e))return U1(e);var t=wr(e),o=[];for(var s in e)s=="constructor"&&(t||!De.call(e,s))||o.push(s);return o}function bo(e,t){return e<t}function Os(e,t){var o=-1,s=Et(e)?I(e.length):[];return bn(e,function(c,g,_){s[++o]=t(c,g,_)}),s}function Is(e){var t=Mo(e);return t.length==1&&t[0][2]?hl(t[0][0],t[0][1]):function(o){return o===e||vo(o,e,t)}}function Ms(e,t){return zo(e)&&dl(t)?hl(tn(e),t):function(o){var s=Uo(o,e);return s===i&&s===t?qo(o,e):yr(t,s,m|S)}}function ni(e,t,o,s,c){e!==t&&ho(t,function(g,_){if(c||(c=new Kt),Ke(g))f1(e,t,_,o,ni,s,c);else{var E=s?s(Bo(e,_),g,_+"",e,t,c):i;E===i&&(E=g),co(e,_,E)}},At)}function f1(e,t,o,s,c,g,_){var E=Bo(e,o),R=Bo(t,o),P=_.get(R);if(P){co(e,o,P);return}var W=g?g(E,R,o+"",e,t,_):i,V=W===i;if(V){var te=we(R),oe=!te&&Cn(R),fe=!te&&!oe&&er(R);W=R,te||oe||fe?we(E)?W=E:nt(E)?W=St(E):oe?(V=!1,W=Us(R,!0)):fe?(V=!1,W=qs(R,!0)):W=[]:Cr(R)||Fn(R)?(W=E,Fn(E)?W=Zl(E):(!Ke(E)||un(E))&&(W=fl(R))):V=!1}V&&(_.set(R,W),c(W,R,s,g,_),_.delete(R)),co(e,o,W)}function Fs(e,t){var o=e.length;if(o)return t+=t<0?o:0,ln(t,o)?e[t]:i}function zs(e,t,o){t.length?t=Ge(t,function(g){return we(g)?function(_){return On(_,g.length===1?g[0]:g)}:g}):t=[$t];var s=-1;t=Ge(t,Lt(ue()));var c=Os(e,function(g,_,E){var R=Ge(t,function(P){return P(g)});return{criteria:R,index:++s,value:g}});return Bd(c,function(g,_){return S1(g,_,o)})}function d1(e,t){return js(e,t,function(o,s){return qo(e,s)})}function js(e,t,o){for(var s=-1,c=t.length,g={};++s<c;){var _=t[s],E=On(e,_);o(E,_)&&br(g,wn(_,e),E)}return g}function h1(e){return function(t){return On(t,e)}}function xo(e,t,o,s){var c=s?jd:Zn,g=-1,_=t.length,E=e;for(e===t&&(t=St(t)),o&&(E=Ge(e,Lt(o)));++g<_;)for(var R=0,P=t[g],W=o?o(P):P;(R=c(E,W,R,s))>-1;)E!==e&&Ur.call(E,R,1),Ur.call(e,R,1);return e}function Bs(e,t){for(var o=e?t.length:0,s=o-1;o--;){var c=t[o];if(o==s||c!==g){var g=c;ln(c)?Ur.call(e,c,1):So(e,c)}}return e}function wo(e,t){return e+Kr(ys()*(t-e+1))}function p1(e,t,o,s){for(var c=-1,g=ot(Gr((t-e)/(o||1)),0),_=I(g);g--;)_[s?g:++c]=e,e+=o;return _}function _o(e,t){var o="";if(!e||t<1||t>Q)return o;do t%2&&(o+=e),t=Kr(t/2),t&&(e+=e);while(t);return o}function $e(e,t){return Po(pl(e,t,$t),e+"")}function g1(e){return ws(tr(e))}function m1(e,t){var o=tr(e);return di(o,Ln(t,0,o.length))}function br(e,t,o,s){if(!Ke(e))return e;t=wn(t,e);for(var c=-1,g=t.length,_=g-1,E=e;E!=null&&++c<g;){var R=tn(t[c]),P=o;if(R==="__proto__"||R==="constructor"||R==="prototype")return e;if(c!=_){var W=E[R];P=s?s(W,R,E):i,P===i&&(P=Ke(W)?W:ln(t[c+1])?[]:{})}gr(E,R,P),E=E[R]}return e}var Ps=Xr?function(e,t){return Xr.set(e,t),e}:$t,v1=qr?function(e,t){return qr(e,"toString",{configurable:!0,enumerable:!1,value:Ko(t),writable:!0})}:$t;function y1(e){return di(tr(e))}function Nt(e,t,o){var s=-1,c=e.length;t<0&&(t=-t>c?0:c+t),o=o>c?c:o,o<0&&(o+=c),c=t>o?0:o-t>>>0,t>>>=0;for(var g=I(c);++s<c;)g[s]=e[s+t];return g}function b1(e,t){var o;return bn(e,function(s,c,g){return o=t(s,c,g),!o}),!!o}function ri(e,t,o){var s=0,c=e==null?s:e.length;if(typeof t=="number"&&t===t&&c<=Re){for(;s<c;){var g=s+c>>>1,_=e[g];_!==null&&!It(_)&&(o?_<=t:_<t)?s=g+1:c=g}return c}return Co(e,t,$t,o)}function Co(e,t,o,s){var c=0,g=e==null?0:e.length;if(g===0)return 0;t=o(t);for(var _=t!==t,E=t===null,R=It(t),P=t===i;c<g;){var W=Kr((c+g)/2),V=o(e[W]),te=V!==i,oe=V===null,fe=V===V,Ae=It(V);if(_)var de=s||fe;else P?de=fe&&(s||te):E?de=fe&&te&&(s||!oe):R?de=fe&&te&&!oe&&(s||!Ae):oe||Ae?de=!1:de=s?V<=t:V<t;de?c=W+1:g=W}return ht(g,Fe)}function Ws(e,t){for(var o=-1,s=e.length,c=0,g=[];++o<s;){var _=e[o],E=t?t(_):_;if(!o||!Xt(E,R)){var R=E;g[c++]=_===0?0:_}}return g}function Ds(e){return typeof e=="number"?e:It(e)?Te:+e}function Ot(e){if(typeof e=="string")return e;if(we(e))return Ge(e,Ot)+"";if(It(e))return bs?bs.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function xn(e,t,o){var s=-1,c=zr,g=e.length,_=!0,E=[],R=E;if(o)_=!1,c=Yi;else if(g>=l){var P=t?null:R1(e);if(P)return Br(P);_=!1,c=ur,R=new Rn}else R=t?[]:E;e:for(;++s<g;){var W=e[s],V=t?t(W):W;if(W=o||W!==0?W:0,_&&V===V){for(var te=R.length;te--;)if(R[te]===V)continue e;t&&R.push(V),E.push(W)}else c(R,V,o)||(R!==E&&R.push(V),E.push(W))}return E}function So(e,t){return t=wn(t,e),e=gl(e,t),e==null||delete e[tn(Zt(t))]}function Ns(e,t,o,s){return br(e,t,o(On(e,t)),s)}function ii(e,t,o,s){for(var c=e.length,g=s?c:-1;(s?g--:++g<c)&&t(e[g],g,e););return o?Nt(e,s?0:g,s?g+1:c):Nt(e,s?g+1:0,s?c:g)}function Zs(e,t){var o=e;return o instanceof Le&&(o=o.value()),Qi(t,function(s,c){return c.func.apply(c.thisArg,mn([s],c.args))},o)}function Eo(e,t,o){var s=e.length;if(s<2)return s?xn(e[0]):[];for(var c=-1,g=I(s);++c<s;)for(var _=e[c],E=-1;++E<s;)E!=c&&(g[c]=mr(g[c]||_,e[E],t,o));return xn(ft(g,1),t,o)}function Hs(e,t,o){for(var s=-1,c=e.length,g=t.length,_={};++s<c;){var E=s<g?t[s]:i;o(_,e[s],E)}return _}function Ao(e){return nt(e)?e:[]}function $o(e){return typeof e=="function"?e:$t}function wn(e,t){return we(e)?e:zo(e,t)?[e]:bl(We(e))}var x1=$e;function _n(e,t,o){var s=e.length;return o=o===i?s:o,!t&&o>=s?e:Nt(e,t,o)}var Vs=s0||function(e){return ct.clearTimeout(e)};function Us(e,t){if(t)return e.slice();var o=e.length,s=hs?hs(o):new e.constructor(o);return e.copy(s),s}function To(e){var t=new e.constructor(e.byteLength);return new Hr(t).set(new Hr(e)),t}function w1(e,t){var o=t?To(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function _1(e){var t=new e.constructor(e.source,ka.exec(e));return t.lastIndex=e.lastIndex,t}function C1(e){return pr?Ze(pr.call(e)):{}}function qs(e,t){var o=t?To(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function Gs(e,t){if(e!==t){var o=e!==i,s=e===null,c=e===e,g=It(e),_=t!==i,E=t===null,R=t===t,P=It(t);if(!E&&!P&&!g&&e>t||g&&_&&R&&!E&&!P||s&&_&&R||!o&&R||!c)return 1;if(!s&&!g&&!P&&e<t||P&&o&&c&&!s&&!g||E&&o&&c||!_&&c||!R)return-1}return 0}function S1(e,t,o){for(var s=-1,c=e.criteria,g=t.criteria,_=c.length,E=o.length;++s<_;){var R=Gs(c[s],g[s]);if(R){if(s>=E)return R;var P=o[s];return R*(P=="desc"?-1:1)}}return e.index-t.index}function Ks(e,t,o,s){for(var c=-1,g=e.length,_=o.length,E=-1,R=t.length,P=ot(g-_,0),W=I(R+P),V=!s;++E<R;)W[E]=t[E];for(;++c<_;)(V||c<g)&&(W[o[c]]=e[c]);for(;P--;)W[E++]=e[c++];return W}function Xs(e,t,o,s){for(var c=-1,g=e.length,_=-1,E=o.length,R=-1,P=t.length,W=ot(g-E,0),V=I(W+P),te=!s;++c<W;)V[c]=e[c];for(var oe=c;++R<P;)V[oe+R]=t[R];for(;++_<E;)(te||c<g)&&(V[oe+o[_]]=e[c++]);return V}function St(e,t){var o=-1,s=e.length;for(t||(t=I(s));++o<s;)t[o]=e[o];return t}function en(e,t,o,s){var c=!o;o||(o={});for(var g=-1,_=t.length;++g<_;){var E=t[g],R=s?s(o[E],e[E],E,o,e):i;R===i&&(R=e[E]),c?on(o,E,R):gr(o,E,R)}return o}function E1(e,t){return en(e,Fo(e),t)}function A1(e,t){return en(e,ul(e),t)}function oi(e,t){return function(o,s){var c=we(o)?Ld:G0,g=t?t():{};return c(o,e,ue(s,2),g)}}function Yn(e){return $e(function(t,o){var s=-1,c=o.length,g=c>1?o[c-1]:i,_=c>2?o[2]:i;for(g=e.length>3&&typeof g=="function"?(c--,g):i,_&&vt(o[0],o[1],_)&&(g=c<3?i:g,c=1),t=Ze(t);++s<c;){var E=o[s];E&&e(t,E,s,g)}return t})}function Ys(e,t){return function(o,s){if(o==null)return o;if(!Et(o))return e(o,s);for(var c=o.length,g=t?c:-1,_=Ze(o);(t?g--:++g<c)&&s(_[g],g,_)!==!1;);return o}}function Qs(e){return function(t,o,s){for(var c=-1,g=Ze(t),_=s(t),E=_.length;E--;){var R=_[e?E:++c];if(o(g[R],R,g)===!1)break}return t}}function $1(e,t,o){var s=t&C,c=xr(e);function g(){var _=this&&this!==ct&&this instanceof g?c:e;return _.apply(s?o:this,arguments)}return g}function Js(e){return function(t){t=We(t);var o=Hn(t)?Gt(t):i,s=o?o[0]:t.charAt(0),c=o?_n(o,1).join(""):t.slice(1);return s[e]()+c}}function Qn(e){return function(t){return Qi(Yl(Xl(t).replace(vd,"")),e,"")}}function xr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=Xn(e.prototype),s=e.apply(o,t);return Ke(s)?s:o}}function T1(e,t,o){var s=xr(e);function c(){for(var g=arguments.length,_=I(g),E=g,R=Jn(c);E--;)_[E]=arguments[E];var P=g<3&&_[0]!==R&&_[g-1]!==R?[]:vn(_,R);if(g-=P.length,g<o)return il(e,t,ai,c.placeholder,i,_,P,i,i,o-g);var W=this&&this!==ct&&this instanceof c?s:e;return Rt(W,this,_)}return c}function el(e){return function(t,o,s){var c=Ze(t);if(!Et(t)){var g=ue(o,3);t=lt(t),o=function(E){return g(c[E],E,c)}}var _=e(t,o,s);return _>-1?c[g?t[_]:_]:i}}function tl(e){return sn(function(t){var o=t.length,s=o,c=Wt.prototype.thru;for(e&&t.reverse();s--;){var g=t[s];if(typeof g!="function")throw new Pt(f);if(c&&!_&&ci(g)=="wrapper")var _=new Wt([],!0)}for(s=_?s:o;++s<o;){g=t[s];var E=ci(g),R=E=="wrapper"?Io(g):i;R&&jo(R[0])&&R[1]==(H|A|z|q)&&!R[4].length&&R[9]==1?_=_[ci(R[0])].apply(_,R[3]):_=g.length==1&&jo(g)?_[E]():_.thru(g)}return function(){var P=arguments,W=P[0];if(_&&P.length==1&&we(W))return _.plant(W).value();for(var V=0,te=o?t[V].apply(this,P):W;++V<o;)te=t[V].call(this,te);return te}})}function ai(e,t,o,s,c,g,_,E,R,P){var W=t&H,V=t&C,te=t&M,oe=t&(A|O),fe=t&le,Ae=te?i:xr(e);function de(){for(var ke=arguments.length,Oe=I(ke),Mt=ke;Mt--;)Oe[Mt]=arguments[Mt];if(oe)var yt=Jn(de),Ft=Wd(Oe,yt);if(s&&(Oe=Ks(Oe,s,c,oe)),g&&(Oe=Xs(Oe,g,_,oe)),ke-=Ft,oe&&ke<P){var rt=vn(Oe,yt);return il(e,t,ai,de.placeholder,o,Oe,rt,E,R,P-ke)}var Yt=V?o:this,fn=te?Yt[e]:e;return ke=Oe.length,E?Oe=G1(Oe,E):fe&&ke>1&&Oe.reverse(),W&&R<ke&&(Oe.length=R),this&&this!==ct&&this instanceof de&&(fn=Ae||xr(fn)),fn.apply(Yt,Oe)}return de}function nl(e,t){return function(o,s){return n1(o,e,t(s),{})}}function si(e,t){return function(o,s){var c;if(o===i&&s===i)return t;if(o!==i&&(c=o),s!==i){if(c===i)return s;typeof o=="string"||typeof s=="string"?(o=Ot(o),s=Ot(s)):(o=Ds(o),s=Ds(s)),c=e(o,s)}return c}}function ko(e){return sn(function(t){return t=Ge(t,Lt(ue())),$e(function(o){var s=this;return e(t,function(c){return Rt(c,s,o)})})})}function li(e,t){t=t===i?" ":Ot(t);var o=t.length;if(o<2)return o?_o(t,e):t;var s=_o(t,Gr(e/Vn(t)));return Hn(t)?_n(Gt(s),0,e).join(""):s.slice(0,e)}function k1(e,t,o,s){var c=t&C,g=xr(e);function _(){for(var E=-1,R=arguments.length,P=-1,W=s.length,V=I(W+R),te=this&&this!==ct&&this instanceof _?g:e;++P<W;)V[P]=s[P];for(;R--;)V[P++]=arguments[++E];return Rt(te,c?o:this,V)}return _}function rl(e){return function(t,o,s){return s&&typeof s!="number"&&vt(t,o,s)&&(o=s=i),t=cn(t),o===i?(o=t,t=0):o=cn(o),s=s===i?t<o?1:-1:cn(s),p1(t,o,s,e)}}function ui(e){return function(t,o){return typeof t=="string"&&typeof o=="string"||(t=Ht(t),o=Ht(o)),e(t,o)}}function il(e,t,o,s,c,g,_,E,R,P){var W=t&A,V=W?_:i,te=W?i:_,oe=W?g:i,fe=W?i:g;t|=W?z:D,t&=~(W?D:z),t&L||(t&=-4);var Ae=[e,t,c,oe,V,fe,te,E,R,P],de=o.apply(i,Ae);return jo(e)&&ml(de,Ae),de.placeholder=s,vl(de,e,t)}function Ro(e){var t=it[e];return function(o,s){if(o=Ht(o),s=s==null?0:ht(Ee(s),292),s&&vs(o)){var c=(We(o)+"e").split("e"),g=t(c[0]+"e"+(+c[1]+s));return c=(We(g)+"e").split("e"),+(c[0]+"e"+(+c[1]-s))}return t(o)}}var R1=Gn&&1/Br(new Gn([,-0]))[1]==K?function(e){return new Gn(e)}:Qo;function ol(e){return function(t){var o=pt(t);return o==xe?oo(t):o==st?qd(t):Pd(t,e(t))}}function an(e,t,o,s,c,g,_,E){var R=t&M;if(!R&&typeof e!="function")throw new Pt(f);var P=s?s.length:0;if(P||(t&=-97,s=c=i),_=_===i?_:ot(Ee(_),0),E=E===i?E:Ee(E),P-=c?c.length:0,t&D){var W=s,V=c;s=c=i}var te=R?i:Io(e),oe=[e,t,o,s,c,W,V,g,_,E];if(te&&V1(oe,te),e=oe[0],t=oe[1],o=oe[2],s=oe[3],c=oe[4],E=oe[9]=oe[9]===i?R?0:e.length:ot(oe[9]-P,0),!E&&t&(A|O)&&(t&=-25),!t||t==C)var fe=$1(e,t,o);else t==A||t==O?fe=T1(e,t,E):(t==z||t==(C|z))&&!c.length?fe=k1(e,t,o,s):fe=ai.apply(i,oe);var Ae=te?Ps:ml;return vl(Ae(fe,oe),e,t)}function al(e,t,o,s){return e===i||Xt(e,qn[o])&&!De.call(s,o)?t:e}function sl(e,t,o,s,c,g){return Ke(e)&&Ke(t)&&(g.set(t,e),ni(e,t,i,sl,g),g.delete(t)),e}function L1(e){return Cr(e)?i:e}function ll(e,t,o,s,c,g){var _=o&m,E=e.length,R=t.length;if(E!=R&&!(_&&R>E))return!1;var P=g.get(e),W=g.get(t);if(P&&W)return P==t&&W==e;var V=-1,te=!0,oe=o&S?new Rn:i;for(g.set(e,t),g.set(t,e);++V<E;){var fe=e[V],Ae=t[V];if(s)var de=_?s(Ae,fe,V,t,e,g):s(fe,Ae,V,e,t,g);if(de!==i){if(de)continue;te=!1;break}if(oe){if(!Ji(t,function(ke,Oe){if(!ur(oe,Oe)&&(fe===ke||c(fe,ke,o,s,g)))return oe.push(Oe)})){te=!1;break}}else if(!(fe===Ae||c(fe,Ae,o,s,g))){te=!1;break}}return g.delete(e),g.delete(t),te}function O1(e,t,o,s,c,g,_){switch(o){case se:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Se:return!(e.byteLength!=t.byteLength||!g(new Hr(e),new Hr(t)));case U:case F:case He:return Xt(+e,+t);case ee:return e.name==t.name&&e.message==t.message;case et:case tt:return e==t+"";case xe:var E=oo;case st:var R=s&m;if(E||(E=Br),e.size!=t.size&&!R)return!1;var P=_.get(e);if(P)return P==t;s|=S,_.set(e,t);var W=ll(E(e),E(t),s,c,g,_);return _.delete(e),W;case Y:if(pr)return pr.call(e)==pr.call(t)}return!1}function I1(e,t,o,s,c,g){var _=o&m,E=Lo(e),R=E.length,P=Lo(t),W=P.length;if(R!=W&&!_)return!1;for(var V=R;V--;){var te=E[V];if(!(_?te in t:De.call(t,te)))return!1}var oe=g.get(e),fe=g.get(t);if(oe&&fe)return oe==t&&fe==e;var Ae=!0;g.set(e,t),g.set(t,e);for(var de=_;++V<R;){te=E[V];var ke=e[te],Oe=t[te];if(s)var Mt=_?s(Oe,ke,te,t,e,g):s(ke,Oe,te,e,t,g);if(!(Mt===i?ke===Oe||c(ke,Oe,o,s,g):Mt)){Ae=!1;break}de||(de=te=="constructor")}if(Ae&&!de){var yt=e.constructor,Ft=t.constructor;yt!=Ft&&"constructor"in e&&"constructor"in t&&!(typeof yt=="function"&&yt instanceof yt&&typeof Ft=="function"&&Ft instanceof Ft)&&(Ae=!1)}return g.delete(e),g.delete(t),Ae}function sn(e){return Po(pl(e,i,Cl),e+"")}function Lo(e){return Ts(e,lt,Fo)}function Oo(e){return Ts(e,At,ul)}var Io=Xr?function(e){return Xr.get(e)}:Qo;function ci(e){for(var t=e.name+"",o=Kn[t],s=De.call(Kn,t)?o.length:0;s--;){var c=o[s],g=c.func;if(g==null||g==e)return c.name}return t}function Jn(e){var t=De.call(h,"placeholder")?h:e;return t.placeholder}function ue(){var e=h.iteratee||Xo;return e=e===Xo?Ls:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var o=e.__data__;return D1(t)?o[typeof t=="string"?"string":"hash"]:o.map}function Mo(e){for(var t=lt(e),o=t.length;o--;){var s=t[o],c=e[s];t[o]=[s,c,dl(c)]}return t}function In(e,t){var o=Hd(e,t);return Rs(o)?o:i}function M1(e){var t=De.call(e,Tn),o=e[Tn];try{e[Tn]=i;var s=!0}catch{}var c=Nr.call(e);return s&&(t?e[Tn]=o:delete e[Tn]),c}var Fo=so?function(e){return e==null?[]:(e=Ze(e),gn(so(e),function(t){return gs.call(e,t)}))}:Jo,ul=so?function(e){for(var t=[];e;)mn(t,Fo(e)),e=Vr(e);return t}:Jo,pt=mt;(lo&&pt(new lo(new ArrayBuffer(1)))!=se||fr&&pt(new fr)!=xe||uo&&pt(uo.resolve())!=ut||Gn&&pt(new Gn)!=st||dr&&pt(new dr)!=Ve)&&(pt=function(e){var t=mt(e),o=t==Ye?e.constructor:i,s=o?Mn(o):"";if(s)switch(s){case m0:return se;case v0:return xe;case y0:return ut;case b0:return st;case x0:return Ve}return t});function F1(e,t,o){for(var s=-1,c=o.length;++s<c;){var g=o[s],_=g.size;switch(g.type){case"drop":e+=_;break;case"dropRight":t-=_;break;case"take":t=ht(t,e+_);break;case"takeRight":e=ot(e,t-_);break}}return{start:e,end:t}}function z1(e){var t=e.match(Nf);return t?t[1].split(Zf):[]}function cl(e,t,o){t=wn(t,e);for(var s=-1,c=t.length,g=!1;++s<c;){var _=tn(t[s]);if(!(g=e!=null&&o(e,_)))break;e=e[_]}return g||++s!=c?g:(c=e==null?0:e.length,!!c&&yi(c)&&ln(_,c)&&(we(e)||Fn(e)))}function j1(e){var t=e.length,o=new e.constructor(t);return t&&typeof e[0]=="string"&&De.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function fl(e){return typeof e.constructor=="function"&&!wr(e)?Xn(Vr(e)):{}}function B1(e,t,o){var s=e.constructor;switch(t){case Se:return To(e);case U:case F:return new s(+e);case se:return w1(e,o);case Pe:case kt:case _t:case Me:case he:case Ct:case An:case Dn:case Di:return qs(e,o);case xe:return new s;case He:case tt:return new s(e);case et:return _1(e);case st:return new s;case Y:return C1(e)}}function P1(e,t){var o=t.length;if(!o)return e;var s=o-1;return t[s]=(o>1?"& ":"")+t[s],t=t.join(o>2?", ":" "),e.replace(Df,`{
8
+ */var f2=Er.exports,tu;function d2(){return tu||(tu=1,function(n,r){(function(){var i,a="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",h="Invalid `variable` option passed into `_.template`",b="__lodash_hash_undefined__",y=500,$="__lodash_placeholder__",T=1,x=2,v=4,m=1,S=2,C=1,M=2,L=4,A=8,O=16,F=32,W=64,N=128,q=256,fe=512,ye=30,we="...",D=800,j=16,H=1,ie=2,J=3,K=1/0,X=9007199254740991,ce=17976931348623157e292,Te=NaN,be=4294967295,Be=be-1,Le=be>>>1,Ve=[["ary",N],["bind",C],["bindKey",M],["curry",A],["curryRight",O],["flip",fe],["partial",F],["partialRight",W],["rearg",q]],Ye="[object Arguments]",De="[object Array]",Ke="[object AsyncFunction]",Z="[object Boolean]",Y="[object Date]",ae="[object DOMException]",le="[object Error]",U="[object Function]",te="[object GeneratorFunction]",re="[object Map]",Oe="[object Number]",Ae="[object Null]",Pe="[object Object]",Qe="[object Promise]",at="[object Proxy]",et="[object RegExp]",rt="[object Set]",st="[object String]",Q="[object Symbol]",ze="[object Undefined]",ke="[object WeakMap]",ue="[object WeakSet]",de="[object ArrayBuffer]",he="[object DataView]",Ne="[object Float32Array]",kt="[object Float64Array]",_t="[object Int8Array]",je="[object Int16Array]",ve="[object Int32Array]",Ct="[object Uint8Array]",An="[object Uint8ClampedArray]",Nn="[object Uint16Array]",Di="[object Uint32Array]",kf=/\b__p \+= '';/g,Rf=/\b(__p \+=) '' \+/g,Lf=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Aa=/&(?:amp|lt|gt|quot|#39);/g,$a=/[&<>"']/g,Of=RegExp(Aa.source),If=RegExp($a.source),Mf=/<%-([\s\S]+?)%>/g,Ff=/<%([\s\S]+?)%>/g,Ta=/<%=([\s\S]+?)%>/g,zf=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jf=/^\w*$/,Bf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ni=/[\\^$.*+?()[\]{}|]/g,Pf=RegExp(Ni.source),Zi=/^\s+/,Wf=/\s/,Df=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Nf=/\{\n\/\* \[wrapped with (.+)\] \*/,Zf=/,? & /,Hf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vf=/[()=,{}\[\]\/\s]/,Uf=/\\(\\)?/g,qf=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ka=/\w*$/,Gf=/^[-+]0x[0-9a-f]+$/i,Kf=/^0b[01]+$/i,Xf=/^\[object .+?Constructor\]$/,Yf=/^0o[0-7]+$/i,Qf=/^(?:0|[1-9]\d*)$/,Jf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ir=/($^)/,ed=/['\n\r\u2028\u2029\\]/g,Mr="\\ud800-\\udfff",td="\\u0300-\\u036f",nd="\\ufe20-\\ufe2f",rd="\\u20d0-\\u20ff",Ra=td+nd+rd,La="\\u2700-\\u27bf",Oa="a-z\\xdf-\\xf6\\xf8-\\xff",id="\\xac\\xb1\\xd7\\xf7",od="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ad="\\u2000-\\u206f",sd=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ia="A-Z\\xc0-\\xd6\\xd8-\\xde",Ma="\\ufe0e\\ufe0f",Fa=id+od+ad+sd,Hi="['’]",ld="["+Mr+"]",za="["+Fa+"]",Fr="["+Ra+"]",ja="\\d+",ud="["+La+"]",Ba="["+Oa+"]",Pa="[^"+Mr+Fa+ja+La+Oa+Ia+"]",Vi="\\ud83c[\\udffb-\\udfff]",cd="(?:"+Fr+"|"+Vi+")",Wa="[^"+Mr+"]",Ui="(?:\\ud83c[\\udde6-\\uddff]){2}",qi="[\\ud800-\\udbff][\\udc00-\\udfff]",Zn="["+Ia+"]",Da="\\u200d",Na="(?:"+Ba+"|"+Pa+")",fd="(?:"+Zn+"|"+Pa+")",Za="(?:"+Hi+"(?:d|ll|m|re|s|t|ve))?",Ha="(?:"+Hi+"(?:D|LL|M|RE|S|T|VE))?",Va=cd+"?",Ua="["+Ma+"]?",dd="(?:"+Da+"(?:"+[Wa,Ui,qi].join("|")+")"+Ua+Va+")*",hd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",qa=Ua+Va+dd,gd="(?:"+[ud,Ui,qi].join("|")+")"+qa,md="(?:"+[Wa+Fr+"?",Fr,Ui,qi,ld].join("|")+")",vd=RegExp(Hi,"g"),yd=RegExp(Fr,"g"),Gi=RegExp(Vi+"(?="+Vi+")|"+md+qa,"g"),bd=RegExp([Zn+"?"+Ba+"+"+Za+"(?="+[za,Zn,"$"].join("|")+")",fd+"+"+Ha+"(?="+[za,Zn+Na,"$"].join("|")+")",Zn+"?"+Na+"+"+Za,Zn+"+"+Ha,pd,hd,ja,gd].join("|"),"g"),xd=RegExp("["+Da+Mr+Ra+Ma+"]"),wd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_d=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Cd=-1,Ge={};Ge[Ne]=Ge[kt]=Ge[_t]=Ge[je]=Ge[ve]=Ge[Ct]=Ge[An]=Ge[Nn]=Ge[Di]=!0,Ge[Ye]=Ge[De]=Ge[de]=Ge[Z]=Ge[he]=Ge[Y]=Ge[le]=Ge[U]=Ge[re]=Ge[Oe]=Ge[Pe]=Ge[et]=Ge[rt]=Ge[st]=Ge[ke]=!1;var qe={};qe[Ye]=qe[De]=qe[de]=qe[he]=qe[Z]=qe[Y]=qe[Ne]=qe[kt]=qe[_t]=qe[je]=qe[ve]=qe[re]=qe[Oe]=qe[Pe]=qe[et]=qe[rt]=qe[st]=qe[Q]=qe[Ct]=qe[An]=qe[Nn]=qe[Di]=!0,qe[le]=qe[U]=qe[ke]=!1;var Sd={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ed={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ad={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},$d={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Td=parseFloat,kd=parseInt,Ga=typeof wi=="object"&&wi&&wi.Object===Object&&wi,Rd=typeof self=="object"&&self&&self.Object===Object&&self,dt=Ga||Rd||Function("return this")(),Ki=r&&!r.nodeType&&r,$n=Ki&&!0&&n&&!n.nodeType&&n,Ka=$n&&$n.exports===Ki,Xi=Ka&&Ga.process,jt=function(){try{var k=$n&&$n.require&&$n.require("util").types;return k||Xi&&Xi.binding&&Xi.binding("util")}catch{}}(),Xa=jt&&jt.isArrayBuffer,Ya=jt&&jt.isDate,Qa=jt&&jt.isMap,Ja=jt&&jt.isRegExp,es=jt&&jt.isSet,ts=jt&&jt.isTypedArray;function Rt(k,z,I){switch(I.length){case 0:return k.call(z);case 1:return k.call(z,I[0]);case 2:return k.call(z,I[0],I[1]);case 3:return k.call(z,I[0],I[1],I[2])}return k.apply(z,I)}function Ld(k,z,I,ne){for(var xe=-1,We=k==null?0:k.length;++xe<We;){var lt=k[xe];z(ne,lt,I(lt),k)}return ne}function Bt(k,z){for(var I=-1,ne=k==null?0:k.length;++I<ne&&z(k[I],I,k)!==!1;);return k}function Od(k,z){for(var I=k==null?0:k.length;I--&&z(k[I],I,k)!==!1;);return k}function ns(k,z){for(var I=-1,ne=k==null?0:k.length;++I<ne;)if(!z(k[I],I,k))return!1;return!0}function gn(k,z){for(var I=-1,ne=k==null?0:k.length,xe=0,We=[];++I<ne;){var lt=k[I];z(lt,I,k)&&(We[xe++]=lt)}return We}function zr(k,z){var I=k==null?0:k.length;return!!I&&Hn(k,z,0)>-1}function Yi(k,z,I){for(var ne=-1,xe=k==null?0:k.length;++ne<xe;)if(I(z,k[ne]))return!0;return!1}function Xe(k,z){for(var I=-1,ne=k==null?0:k.length,xe=Array(ne);++I<ne;)xe[I]=z(k[I],I,k);return xe}function mn(k,z){for(var I=-1,ne=z.length,xe=k.length;++I<ne;)k[xe+I]=z[I];return k}function Qi(k,z,I,ne){var xe=-1,We=k==null?0:k.length;for(ne&&We&&(I=k[++xe]);++xe<We;)I=z(I,k[xe],xe,k);return I}function Id(k,z,I,ne){var xe=k==null?0:k.length;for(ne&&xe&&(I=k[--xe]);xe--;)I=z(I,k[xe],xe,k);return I}function Ji(k,z){for(var I=-1,ne=k==null?0:k.length;++I<ne;)if(z(k[I],I,k))return!0;return!1}var Md=eo("length");function Fd(k){return k.split("")}function zd(k){return k.match(Hf)||[]}function rs(k,z,I){var ne;return I(k,function(xe,We,lt){if(z(xe,We,lt))return ne=We,!1}),ne}function jr(k,z,I,ne){for(var xe=k.length,We=I+(ne?1:-1);ne?We--:++We<xe;)if(z(k[We],We,k))return We;return-1}function Hn(k,z,I){return z===z?Gd(k,z,I):jr(k,is,I)}function jd(k,z,I,ne){for(var xe=I-1,We=k.length;++xe<We;)if(ne(k[xe],z))return xe;return-1}function is(k){return k!==k}function os(k,z){var I=k==null?0:k.length;return I?no(k,z)/I:Te}function eo(k){return function(z){return z==null?i:z[k]}}function to(k){return function(z){return k==null?i:k[z]}}function as(k,z,I,ne,xe){return xe(k,function(We,lt,Ue){I=ne?(ne=!1,We):z(I,We,lt,Ue)}),I}function Bd(k,z){var I=k.length;for(k.sort(z);I--;)k[I]=k[I].value;return k}function no(k,z){for(var I,ne=-1,xe=k.length;++ne<xe;){var We=z(k[ne]);We!==i&&(I=I===i?We:I+We)}return I}function ro(k,z){for(var I=-1,ne=Array(k);++I<k;)ne[I]=z(I);return ne}function Pd(k,z){return Xe(z,function(I){return[I,k[I]]})}function ss(k){return k&&k.slice(0,fs(k)+1).replace(Zi,"")}function Lt(k){return function(z){return k(z)}}function io(k,z){return Xe(z,function(I){return k[I]})}function ur(k,z){return k.has(z)}function ls(k,z){for(var I=-1,ne=k.length;++I<ne&&Hn(z,k[I],0)>-1;);return I}function us(k,z){for(var I=k.length;I--&&Hn(z,k[I],0)>-1;);return I}function Wd(k,z){for(var I=k.length,ne=0;I--;)k[I]===z&&++ne;return ne}var Dd=to(Sd),Nd=to(Ed);function Zd(k){return"\\"+$d[k]}function Hd(k,z){return k==null?i:k[z]}function Vn(k){return xd.test(k)}function Vd(k){return wd.test(k)}function Ud(k){for(var z,I=[];!(z=k.next()).done;)I.push(z.value);return I}function oo(k){var z=-1,I=Array(k.size);return k.forEach(function(ne,xe){I[++z]=[xe,ne]}),I}function cs(k,z){return function(I){return k(z(I))}}function vn(k,z){for(var I=-1,ne=k.length,xe=0,We=[];++I<ne;){var lt=k[I];(lt===z||lt===$)&&(k[I]=$,We[xe++]=I)}return We}function Br(k){var z=-1,I=Array(k.size);return k.forEach(function(ne){I[++z]=ne}),I}function qd(k){var z=-1,I=Array(k.size);return k.forEach(function(ne){I[++z]=[ne,ne]}),I}function Gd(k,z,I){for(var ne=I-1,xe=k.length;++ne<xe;)if(k[ne]===z)return ne;return-1}function Kd(k,z,I){for(var ne=I+1;ne--;)if(k[ne]===z)return ne;return ne}function Un(k){return Vn(k)?Yd(k):Md(k)}function Gt(k){return Vn(k)?Qd(k):Fd(k)}function fs(k){for(var z=k.length;z--&&Wf.test(k.charAt(z)););return z}var Xd=to(Ad);function Yd(k){for(var z=Gi.lastIndex=0;Gi.test(k);)++z;return z}function Qd(k){return k.match(Gi)||[]}function Jd(k){return k.match(bd)||[]}var e0=function k(z){z=z==null?dt:qn.defaults(dt.Object(),z,qn.pick(dt,_d));var I=z.Array,ne=z.Date,xe=z.Error,We=z.Function,lt=z.Math,Ue=z.Object,ao=z.RegExp,t0=z.String,Pt=z.TypeError,Pr=I.prototype,n0=We.prototype,Gn=Ue.prototype,Wr=z["__core-js_shared__"],Dr=n0.toString,He=Gn.hasOwnProperty,r0=0,ds=function(){var e=/[^.]+$/.exec(Wr&&Wr.keys&&Wr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Nr=Gn.toString,i0=Dr.call(Ue),o0=dt._,a0=ao("^"+Dr.call(He).replace(Ni,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zr=Ka?z.Buffer:i,yn=z.Symbol,Hr=z.Uint8Array,hs=Zr?Zr.allocUnsafe:i,Vr=cs(Ue.getPrototypeOf,Ue),ps=Ue.create,gs=Gn.propertyIsEnumerable,Ur=Pr.splice,ms=yn?yn.isConcatSpreadable:i,cr=yn?yn.iterator:i,Tn=yn?yn.toStringTag:i,qr=function(){try{var e=In(Ue,"defineProperty");return e({},"",{}),e}catch{}}(),s0=z.clearTimeout!==dt.clearTimeout&&z.clearTimeout,l0=ne&&ne.now!==dt.Date.now&&ne.now,u0=z.setTimeout!==dt.setTimeout&&z.setTimeout,Gr=lt.ceil,Kr=lt.floor,so=Ue.getOwnPropertySymbols,c0=Zr?Zr.isBuffer:i,vs=z.isFinite,f0=Pr.join,d0=cs(Ue.keys,Ue),ut=lt.max,pt=lt.min,h0=ne.now,p0=z.parseInt,ys=lt.random,g0=Pr.reverse,lo=In(z,"DataView"),fr=In(z,"Map"),uo=In(z,"Promise"),Kn=In(z,"Set"),dr=In(z,"WeakMap"),hr=In(Ue,"create"),Xr=dr&&new dr,Xn={},m0=Mn(lo),v0=Mn(fr),y0=Mn(uo),b0=Mn(Kn),x0=Mn(dr),Yr=yn?yn.prototype:i,pr=Yr?Yr.valueOf:i,bs=Yr?Yr.toString:i;function p(e){if(tt(e)&&!_e(e)&&!(e instanceof Ie)){if(e instanceof Wt)return e;if(He.call(e,"__wrapped__"))return xl(e)}return new Wt(e)}var Yn=function(){function e(){}return function(t){if(!Je(t))return{};if(ps)return ps(t);e.prototype=t;var o=new e;return e.prototype=i,o}}();function Qr(){}function Wt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}p.templateSettings={escape:Mf,evaluate:Ff,interpolate:Ta,variable:"",imports:{_:p}},p.prototype=Qr.prototype,p.prototype.constructor=p,Wt.prototype=Yn(Qr.prototype),Wt.prototype.constructor=Wt;function Ie(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=be,this.__views__=[]}function w0(){var e=new Ie(this.__wrapped__);return e.__actions__=St(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=St(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=St(this.__views__),e}function _0(){if(this.__filtered__){var e=new Ie(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function C0(){var e=this.__wrapped__.value(),t=this.__dir__,o=_e(e),s=t<0,c=o?e.length:0,g=F1(0,c,this.__views__),_=g.start,E=g.end,R=E-_,B=s?E:_-1,P=this.__iteratees__,V=P.length,ee=0,se=pt(R,this.__takeCount__);if(!o||!s&&c==R&&se==R)return Zs(e,this.__actions__);var ge=[];e:for(;R--&&ee<se;){B+=t;for(var Ee=-1,me=e[B];++Ee<V;){var Re=P[Ee],Me=Re.iteratee,Mt=Re.type,bt=Me(me);if(Mt==ie)me=bt;else if(!bt){if(Mt==H)continue e;break e}}ge[ee++]=me}return ge}Ie.prototype=Yn(Qr.prototype),Ie.prototype.constructor=Ie;function kn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function S0(){this.__data__=hr?hr(null):{},this.size=0}function E0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function A0(e){var t=this.__data__;if(hr){var o=t[e];return o===b?i:o}return He.call(t,e)?t[e]:i}function $0(e){var t=this.__data__;return hr?t[e]!==i:He.call(t,e)}function T0(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=hr&&t===i?b:t,this}kn.prototype.clear=S0,kn.prototype.delete=E0,kn.prototype.get=A0,kn.prototype.has=$0,kn.prototype.set=T0;function nn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function k0(){this.__data__=[],this.size=0}function R0(e){var t=this.__data__,o=Jr(t,e);if(o<0)return!1;var s=t.length-1;return o==s?t.pop():Ur.call(t,o,1),--this.size,!0}function L0(e){var t=this.__data__,o=Jr(t,e);return o<0?i:t[o][1]}function O0(e){return Jr(this.__data__,e)>-1}function I0(e,t){var o=this.__data__,s=Jr(o,e);return s<0?(++this.size,o.push([e,t])):o[s][1]=t,this}nn.prototype.clear=k0,nn.prototype.delete=R0,nn.prototype.get=L0,nn.prototype.has=O0,nn.prototype.set=I0;function rn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function M0(){this.size=0,this.__data__={hash:new kn,map:new(fr||nn),string:new kn}}function F0(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t}function z0(e){return fi(this,e).get(e)}function j0(e){return fi(this,e).has(e)}function B0(e,t){var o=fi(this,e),s=o.size;return o.set(e,t),this.size+=o.size==s?0:1,this}rn.prototype.clear=M0,rn.prototype.delete=F0,rn.prototype.get=z0,rn.prototype.has=j0,rn.prototype.set=B0;function Rn(e){var t=-1,o=e==null?0:e.length;for(this.__data__=new rn;++t<o;)this.add(e[t])}function P0(e){return this.__data__.set(e,b),this}function W0(e){return this.__data__.has(e)}Rn.prototype.add=Rn.prototype.push=P0,Rn.prototype.has=W0;function Kt(e){var t=this.__data__=new nn(e);this.size=t.size}function D0(){this.__data__=new nn,this.size=0}function N0(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function Z0(e){return this.__data__.get(e)}function H0(e){return this.__data__.has(e)}function V0(e,t){var o=this.__data__;if(o instanceof nn){var s=o.__data__;if(!fr||s.length<l-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new rn(s)}return o.set(e,t),this.size=o.size,this}Kt.prototype.clear=D0,Kt.prototype.delete=N0,Kt.prototype.get=Z0,Kt.prototype.has=H0,Kt.prototype.set=V0;function xs(e,t){var o=_e(e),s=!o&&Fn(e),c=!o&&!s&&Cn(e),g=!o&&!s&&!c&&tr(e),_=o||s||c||g,E=_?ro(e.length,t0):[],R=E.length;for(var B in e)(t||He.call(e,B))&&!(_&&(B=="length"||c&&(B=="offset"||B=="parent")||g&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||ln(B,R)))&&E.push(B);return E}function ws(e){var t=e.length;return t?e[wo(0,t-1)]:i}function U0(e,t){return di(St(e),Ln(t,0,e.length))}function q0(e){return di(St(e))}function co(e,t,o){(o!==i&&!Xt(e[t],o)||o===i&&!(t in e))&&on(e,t,o)}function gr(e,t,o){var s=e[t];(!(He.call(e,t)&&Xt(s,o))||o===i&&!(t in e))&&on(e,t,o)}function Jr(e,t){for(var o=e.length;o--;)if(Xt(e[o][0],t))return o;return-1}function G0(e,t,o,s){return bn(e,function(c,g,_){t(s,c,o(c),_)}),s}function _s(e,t){return e&&en(t,ft(t),e)}function K0(e,t){return e&&en(t,At(t),e)}function on(e,t,o){t=="__proto__"&&qr?qr(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}function fo(e,t){for(var o=-1,s=t.length,c=I(s),g=e==null;++o<s;)c[o]=g?i:Uo(e,t[o]);return c}function Ln(e,t,o){return e===e&&(o!==i&&(e=e<=o?e:o),t!==i&&(e=e>=t?e:t)),e}function Dt(e,t,o,s,c,g){var _,E=t&T,R=t&x,B=t&v;if(o&&(_=c?o(e,s,c,g):o(e)),_!==i)return _;if(!Je(e))return e;var P=_e(e);if(P){if(_=j1(e),!E)return St(e,_)}else{var V=gt(e),ee=V==U||V==te;if(Cn(e))return Us(e,E);if(V==Pe||V==Ye||ee&&!c){if(_=R||ee?{}:fl(e),!E)return R?A1(e,K0(_,e)):E1(e,_s(_,e))}else{if(!qe[V])return c?e:{};_=B1(e,V,E)}}g||(g=new Kt);var se=g.get(e);if(se)return se;g.set(e,_),Wl(e)?e.forEach(function(me){_.add(Dt(me,t,o,me,e,g))}):Bl(e)&&e.forEach(function(me,Re){_.set(Re,Dt(me,t,o,Re,e,g))});var ge=B?R?Oo:Lo:R?At:ft,Ee=P?i:ge(e);return Bt(Ee||e,function(me,Re){Ee&&(Re=me,me=e[Re]),gr(_,Re,Dt(me,t,o,Re,e,g))}),_}function X0(e){var t=ft(e);return function(o){return Cs(o,e,t)}}function Cs(e,t,o){var s=o.length;if(e==null)return!s;for(e=Ue(e);s--;){var c=o[s],g=t[c],_=e[c];if(_===i&&!(c in e)||!g(_))return!1}return!0}function Ss(e,t,o){if(typeof e!="function")throw new Pt(f);return _r(function(){e.apply(i,o)},t)}function mr(e,t,o,s){var c=-1,g=zr,_=!0,E=e.length,R=[],B=t.length;if(!E)return R;o&&(t=Xe(t,Lt(o))),s?(g=Yi,_=!1):t.length>=l&&(g=ur,_=!1,t=new Rn(t));e:for(;++c<E;){var P=e[c],V=o==null?P:o(P);if(P=s||P!==0?P:0,_&&V===V){for(var ee=B;ee--;)if(t[ee]===V)continue e;R.push(P)}else g(t,V,s)||R.push(P)}return R}var bn=Ys(Jt),Es=Ys(po,!0);function Y0(e,t){var o=!0;return bn(e,function(s,c,g){return o=!!t(s,c,g),o}),o}function ei(e,t,o){for(var s=-1,c=e.length;++s<c;){var g=e[s],_=t(g);if(_!=null&&(E===i?_===_&&!It(_):o(_,E)))var E=_,R=g}return R}function Q0(e,t,o,s){var c=e.length;for(o=Se(o),o<0&&(o=-o>c?0:c+o),s=s===i||s>c?c:Se(s),s<0&&(s+=c),s=o>s?0:Nl(s);o<s;)e[o++]=t;return e}function As(e,t){var o=[];return bn(e,function(s,c,g){t(s,c,g)&&o.push(s)}),o}function ht(e,t,o,s,c){var g=-1,_=e.length;for(o||(o=W1),c||(c=[]);++g<_;){var E=e[g];t>0&&o(E)?t>1?ht(E,t-1,o,s,c):mn(c,E):s||(c[c.length]=E)}return c}var ho=Qs(),$s=Qs(!0);function Jt(e,t){return e&&ho(e,t,ft)}function po(e,t){return e&&$s(e,t,ft)}function ti(e,t){return gn(t,function(o){return un(e[o])})}function On(e,t){t=wn(t,e);for(var o=0,s=t.length;e!=null&&o<s;)e=e[tn(t[o++])];return o&&o==s?e:i}function Ts(e,t,o){var s=t(e);return _e(e)?s:mn(s,o(e))}function vt(e){return e==null?e===i?ze:Ae:Tn&&Tn in Ue(e)?M1(e):q1(e)}function go(e,t){return e>t}function J0(e,t){return e!=null&&He.call(e,t)}function e1(e,t){return e!=null&&t in Ue(e)}function t1(e,t,o){return e>=pt(t,o)&&e<ut(t,o)}function mo(e,t,o){for(var s=o?Yi:zr,c=e[0].length,g=e.length,_=g,E=I(g),R=1/0,B=[];_--;){var P=e[_];_&&t&&(P=Xe(P,Lt(t))),R=pt(P.length,R),E[_]=!o&&(t||c>=120&&P.length>=120)?new Rn(_&&P):i}P=e[0];var V=-1,ee=E[0];e:for(;++V<c&&B.length<R;){var se=P[V],ge=t?t(se):se;if(se=o||se!==0?se:0,!(ee?ur(ee,ge):s(B,ge,o))){for(_=g;--_;){var Ee=E[_];if(!(Ee?ur(Ee,ge):s(e[_],ge,o)))continue e}ee&&ee.push(ge),B.push(se)}}return B}function n1(e,t,o,s){return Jt(e,function(c,g,_){t(s,o(c),g,_)}),s}function vr(e,t,o){t=wn(t,e),e=gl(e,t);var s=e==null?e:e[tn(Zt(t))];return s==null?i:Rt(s,e,o)}function ks(e){return tt(e)&&vt(e)==Ye}function r1(e){return tt(e)&&vt(e)==de}function i1(e){return tt(e)&&vt(e)==Y}function yr(e,t,o,s,c){return e===t?!0:e==null||t==null||!tt(e)&&!tt(t)?e!==e&&t!==t:o1(e,t,o,s,yr,c)}function o1(e,t,o,s,c,g){var _=_e(e),E=_e(t),R=_?De:gt(e),B=E?De:gt(t);R=R==Ye?Pe:R,B=B==Ye?Pe:B;var P=R==Pe,V=B==Pe,ee=R==B;if(ee&&Cn(e)){if(!Cn(t))return!1;_=!0,P=!1}if(ee&&!P)return g||(g=new Kt),_||tr(e)?ll(e,t,o,s,c,g):O1(e,t,R,o,s,c,g);if(!(o&m)){var se=P&&He.call(e,"__wrapped__"),ge=V&&He.call(t,"__wrapped__");if(se||ge){var Ee=se?e.value():e,me=ge?t.value():t;return g||(g=new Kt),c(Ee,me,o,s,g)}}return ee?(g||(g=new Kt),I1(e,t,o,s,c,g)):!1}function a1(e){return tt(e)&&gt(e)==re}function vo(e,t,o,s){var c=o.length,g=c,_=!s;if(e==null)return!g;for(e=Ue(e);c--;){var E=o[c];if(_&&E[2]?E[1]!==e[E[0]]:!(E[0]in e))return!1}for(;++c<g;){E=o[c];var R=E[0],B=e[R],P=E[1];if(_&&E[2]){if(B===i&&!(R in e))return!1}else{var V=new Kt;if(s)var ee=s(B,P,R,e,t,V);if(!(ee===i?yr(P,B,m|S,s,V):ee))return!1}}return!0}function Rs(e){if(!Je(e)||N1(e))return!1;var t=un(e)?a0:Xf;return t.test(Mn(e))}function s1(e){return tt(e)&&vt(e)==et}function l1(e){return tt(e)&&gt(e)==rt}function u1(e){return tt(e)&&yi(e.length)&&!!Ge[vt(e)]}function Ls(e){return typeof e=="function"?e:e==null?$t:typeof e=="object"?_e(e)?Ms(e[0],e[1]):Is(e):Jl(e)}function yo(e){if(!wr(e))return d0(e);var t=[];for(var o in Ue(e))He.call(e,o)&&o!="constructor"&&t.push(o);return t}function c1(e){if(!Je(e))return U1(e);var t=wr(e),o=[];for(var s in e)s=="constructor"&&(t||!He.call(e,s))||o.push(s);return o}function bo(e,t){return e<t}function Os(e,t){var o=-1,s=Et(e)?I(e.length):[];return bn(e,function(c,g,_){s[++o]=t(c,g,_)}),s}function Is(e){var t=Mo(e);return t.length==1&&t[0][2]?hl(t[0][0],t[0][1]):function(o){return o===e||vo(o,e,t)}}function Ms(e,t){return zo(e)&&dl(t)?hl(tn(e),t):function(o){var s=Uo(o,e);return s===i&&s===t?qo(o,e):yr(t,s,m|S)}}function ni(e,t,o,s,c){e!==t&&ho(t,function(g,_){if(c||(c=new Kt),Je(g))f1(e,t,_,o,ni,s,c);else{var E=s?s(Bo(e,_),g,_+"",e,t,c):i;E===i&&(E=g),co(e,_,E)}},At)}function f1(e,t,o,s,c,g,_){var E=Bo(e,o),R=Bo(t,o),B=_.get(R);if(B){co(e,o,B);return}var P=g?g(E,R,o+"",e,t,_):i,V=P===i;if(V){var ee=_e(R),se=!ee&&Cn(R),ge=!ee&&!se&&tr(R);P=R,ee||se||ge?_e(E)?P=E:it(E)?P=St(E):se?(V=!1,P=Us(R,!0)):ge?(V=!1,P=qs(R,!0)):P=[]:Cr(R)||Fn(R)?(P=E,Fn(E)?P=Zl(E):(!Je(E)||un(E))&&(P=fl(R))):V=!1}V&&(_.set(R,P),c(P,R,s,g,_),_.delete(R)),co(e,o,P)}function Fs(e,t){var o=e.length;if(o)return t+=t<0?o:0,ln(t,o)?e[t]:i}function zs(e,t,o){t.length?t=Xe(t,function(g){return _e(g)?function(_){return On(_,g.length===1?g[0]:g)}:g}):t=[$t];var s=-1;t=Xe(t,Lt(pe()));var c=Os(e,function(g,_,E){var R=Xe(t,function(B){return B(g)});return{criteria:R,index:++s,value:g}});return Bd(c,function(g,_){return S1(g,_,o)})}function d1(e,t){return js(e,t,function(o,s){return qo(e,s)})}function js(e,t,o){for(var s=-1,c=t.length,g={};++s<c;){var _=t[s],E=On(e,_);o(E,_)&&br(g,wn(_,e),E)}return g}function h1(e){return function(t){return On(t,e)}}function xo(e,t,o,s){var c=s?jd:Hn,g=-1,_=t.length,E=e;for(e===t&&(t=St(t)),o&&(E=Xe(e,Lt(o)));++g<_;)for(var R=0,B=t[g],P=o?o(B):B;(R=c(E,P,R,s))>-1;)E!==e&&Ur.call(E,R,1),Ur.call(e,R,1);return e}function Bs(e,t){for(var o=e?t.length:0,s=o-1;o--;){var c=t[o];if(o==s||c!==g){var g=c;ln(c)?Ur.call(e,c,1):So(e,c)}}return e}function wo(e,t){return e+Kr(ys()*(t-e+1))}function p1(e,t,o,s){for(var c=-1,g=ut(Gr((t-e)/(o||1)),0),_=I(g);g--;)_[s?g:++c]=e,e+=o;return _}function _o(e,t){var o="";if(!e||t<1||t>X)return o;do t%2&&(o+=e),t=Kr(t/2),t&&(e+=e);while(t);return o}function $e(e,t){return Po(pl(e,t,$t),e+"")}function g1(e){return ws(nr(e))}function m1(e,t){var o=nr(e);return di(o,Ln(t,0,o.length))}function br(e,t,o,s){if(!Je(e))return e;t=wn(t,e);for(var c=-1,g=t.length,_=g-1,E=e;E!=null&&++c<g;){var R=tn(t[c]),B=o;if(R==="__proto__"||R==="constructor"||R==="prototype")return e;if(c!=_){var P=E[R];B=s?s(P,R,E):i,B===i&&(B=Je(P)?P:ln(t[c+1])?[]:{})}gr(E,R,B),E=E[R]}return e}var Ps=Xr?function(e,t){return Xr.set(e,t),e}:$t,v1=qr?function(e,t){return qr(e,"toString",{configurable:!0,enumerable:!1,value:Ko(t),writable:!0})}:$t;function y1(e){return di(nr(e))}function Nt(e,t,o){var s=-1,c=e.length;t<0&&(t=-t>c?0:c+t),o=o>c?c:o,o<0&&(o+=c),c=t>o?0:o-t>>>0,t>>>=0;for(var g=I(c);++s<c;)g[s]=e[s+t];return g}function b1(e,t){var o;return bn(e,function(s,c,g){return o=t(s,c,g),!o}),!!o}function ri(e,t,o){var s=0,c=e==null?s:e.length;if(typeof t=="number"&&t===t&&c<=Le){for(;s<c;){var g=s+c>>>1,_=e[g];_!==null&&!It(_)&&(o?_<=t:_<t)?s=g+1:c=g}return c}return Co(e,t,$t,o)}function Co(e,t,o,s){var c=0,g=e==null?0:e.length;if(g===0)return 0;t=o(t);for(var _=t!==t,E=t===null,R=It(t),B=t===i;c<g;){var P=Kr((c+g)/2),V=o(e[P]),ee=V!==i,se=V===null,ge=V===V,Ee=It(V);if(_)var me=s||ge;else B?me=ge&&(s||ee):E?me=ge&&ee&&(s||!se):R?me=ge&&ee&&!se&&(s||!Ee):se||Ee?me=!1:me=s?V<=t:V<t;me?c=P+1:g=P}return pt(g,Be)}function Ws(e,t){for(var o=-1,s=e.length,c=0,g=[];++o<s;){var _=e[o],E=t?t(_):_;if(!o||!Xt(E,R)){var R=E;g[c++]=_===0?0:_}}return g}function Ds(e){return typeof e=="number"?e:It(e)?Te:+e}function Ot(e){if(typeof e=="string")return e;if(_e(e))return Xe(e,Ot)+"";if(It(e))return bs?bs.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function xn(e,t,o){var s=-1,c=zr,g=e.length,_=!0,E=[],R=E;if(o)_=!1,c=Yi;else if(g>=l){var B=t?null:R1(e);if(B)return Br(B);_=!1,c=ur,R=new Rn}else R=t?[]:E;e:for(;++s<g;){var P=e[s],V=t?t(P):P;if(P=o||P!==0?P:0,_&&V===V){for(var ee=R.length;ee--;)if(R[ee]===V)continue e;t&&R.push(V),E.push(P)}else c(R,V,o)||(R!==E&&R.push(V),E.push(P))}return E}function So(e,t){return t=wn(t,e),e=gl(e,t),e==null||delete e[tn(Zt(t))]}function Ns(e,t,o,s){return br(e,t,o(On(e,t)),s)}function ii(e,t,o,s){for(var c=e.length,g=s?c:-1;(s?g--:++g<c)&&t(e[g],g,e););return o?Nt(e,s?0:g,s?g+1:c):Nt(e,s?g+1:0,s?c:g)}function Zs(e,t){var o=e;return o instanceof Ie&&(o=o.value()),Qi(t,function(s,c){return c.func.apply(c.thisArg,mn([s],c.args))},o)}function Eo(e,t,o){var s=e.length;if(s<2)return s?xn(e[0]):[];for(var c=-1,g=I(s);++c<s;)for(var _=e[c],E=-1;++E<s;)E!=c&&(g[c]=mr(g[c]||_,e[E],t,o));return xn(ht(g,1),t,o)}function Hs(e,t,o){for(var s=-1,c=e.length,g=t.length,_={};++s<c;){var E=s<g?t[s]:i;o(_,e[s],E)}return _}function Ao(e){return it(e)?e:[]}function $o(e){return typeof e=="function"?e:$t}function wn(e,t){return _e(e)?e:zo(e,t)?[e]:bl(Ze(e))}var x1=$e;function _n(e,t,o){var s=e.length;return o=o===i?s:o,!t&&o>=s?e:Nt(e,t,o)}var Vs=s0||function(e){return dt.clearTimeout(e)};function Us(e,t){if(t)return e.slice();var o=e.length,s=hs?hs(o):new e.constructor(o);return e.copy(s),s}function To(e){var t=new e.constructor(e.byteLength);return new Hr(t).set(new Hr(e)),t}function w1(e,t){var o=t?To(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function _1(e){var t=new e.constructor(e.source,ka.exec(e));return t.lastIndex=e.lastIndex,t}function C1(e){return pr?Ue(pr.call(e)):{}}function qs(e,t){var o=t?To(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function Gs(e,t){if(e!==t){var o=e!==i,s=e===null,c=e===e,g=It(e),_=t!==i,E=t===null,R=t===t,B=It(t);if(!E&&!B&&!g&&e>t||g&&_&&R&&!E&&!B||s&&_&&R||!o&&R||!c)return 1;if(!s&&!g&&!B&&e<t||B&&o&&c&&!s&&!g||E&&o&&c||!_&&c||!R)return-1}return 0}function S1(e,t,o){for(var s=-1,c=e.criteria,g=t.criteria,_=c.length,E=o.length;++s<_;){var R=Gs(c[s],g[s]);if(R){if(s>=E)return R;var B=o[s];return R*(B=="desc"?-1:1)}}return e.index-t.index}function Ks(e,t,o,s){for(var c=-1,g=e.length,_=o.length,E=-1,R=t.length,B=ut(g-_,0),P=I(R+B),V=!s;++E<R;)P[E]=t[E];for(;++c<_;)(V||c<g)&&(P[o[c]]=e[c]);for(;B--;)P[E++]=e[c++];return P}function Xs(e,t,o,s){for(var c=-1,g=e.length,_=-1,E=o.length,R=-1,B=t.length,P=ut(g-E,0),V=I(P+B),ee=!s;++c<P;)V[c]=e[c];for(var se=c;++R<B;)V[se+R]=t[R];for(;++_<E;)(ee||c<g)&&(V[se+o[_]]=e[c++]);return V}function St(e,t){var o=-1,s=e.length;for(t||(t=I(s));++o<s;)t[o]=e[o];return t}function en(e,t,o,s){var c=!o;o||(o={});for(var g=-1,_=t.length;++g<_;){var E=t[g],R=s?s(o[E],e[E],E,o,e):i;R===i&&(R=e[E]),c?on(o,E,R):gr(o,E,R)}return o}function E1(e,t){return en(e,Fo(e),t)}function A1(e,t){return en(e,ul(e),t)}function oi(e,t){return function(o,s){var c=_e(o)?Ld:G0,g=t?t():{};return c(o,e,pe(s,2),g)}}function Qn(e){return $e(function(t,o){var s=-1,c=o.length,g=c>1?o[c-1]:i,_=c>2?o[2]:i;for(g=e.length>3&&typeof g=="function"?(c--,g):i,_&&yt(o[0],o[1],_)&&(g=c<3?i:g,c=1),t=Ue(t);++s<c;){var E=o[s];E&&e(t,E,s,g)}return t})}function Ys(e,t){return function(o,s){if(o==null)return o;if(!Et(o))return e(o,s);for(var c=o.length,g=t?c:-1,_=Ue(o);(t?g--:++g<c)&&s(_[g],g,_)!==!1;);return o}}function Qs(e){return function(t,o,s){for(var c=-1,g=Ue(t),_=s(t),E=_.length;E--;){var R=_[e?E:++c];if(o(g[R],R,g)===!1)break}return t}}function $1(e,t,o){var s=t&C,c=xr(e);function g(){var _=this&&this!==dt&&this instanceof g?c:e;return _.apply(s?o:this,arguments)}return g}function Js(e){return function(t){t=Ze(t);var o=Vn(t)?Gt(t):i,s=o?o[0]:t.charAt(0),c=o?_n(o,1).join(""):t.slice(1);return s[e]()+c}}function Jn(e){return function(t){return Qi(Yl(Xl(t).replace(vd,"")),e,"")}}function xr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=Yn(e.prototype),s=e.apply(o,t);return Je(s)?s:o}}function T1(e,t,o){var s=xr(e);function c(){for(var g=arguments.length,_=I(g),E=g,R=er(c);E--;)_[E]=arguments[E];var B=g<3&&_[0]!==R&&_[g-1]!==R?[]:vn(_,R);if(g-=B.length,g<o)return il(e,t,ai,c.placeholder,i,_,B,i,i,o-g);var P=this&&this!==dt&&this instanceof c?s:e;return Rt(P,this,_)}return c}function el(e){return function(t,o,s){var c=Ue(t);if(!Et(t)){var g=pe(o,3);t=ft(t),o=function(E){return g(c[E],E,c)}}var _=e(t,o,s);return _>-1?c[g?t[_]:_]:i}}function tl(e){return sn(function(t){var o=t.length,s=o,c=Wt.prototype.thru;for(e&&t.reverse();s--;){var g=t[s];if(typeof g!="function")throw new Pt(f);if(c&&!_&&ci(g)=="wrapper")var _=new Wt([],!0)}for(s=_?s:o;++s<o;){g=t[s];var E=ci(g),R=E=="wrapper"?Io(g):i;R&&jo(R[0])&&R[1]==(N|A|F|q)&&!R[4].length&&R[9]==1?_=_[ci(R[0])].apply(_,R[3]):_=g.length==1&&jo(g)?_[E]():_.thru(g)}return function(){var B=arguments,P=B[0];if(_&&B.length==1&&_e(P))return _.plant(P).value();for(var V=0,ee=o?t[V].apply(this,B):P;++V<o;)ee=t[V].call(this,ee);return ee}})}function ai(e,t,o,s,c,g,_,E,R,B){var P=t&N,V=t&C,ee=t&M,se=t&(A|O),ge=t&fe,Ee=ee?i:xr(e);function me(){for(var Re=arguments.length,Me=I(Re),Mt=Re;Mt--;)Me[Mt]=arguments[Mt];if(se)var bt=er(me),Ft=Wd(Me,bt);if(s&&(Me=Ks(Me,s,c,se)),g&&(Me=Xs(Me,g,_,se)),Re-=Ft,se&&Re<B){var ot=vn(Me,bt);return il(e,t,ai,me.placeholder,o,Me,ot,E,R,B-Re)}var Yt=V?o:this,fn=ee?Yt[e]:e;return Re=Me.length,E?Me=G1(Me,E):ge&&Re>1&&Me.reverse(),P&&R<Re&&(Me.length=R),this&&this!==dt&&this instanceof me&&(fn=Ee||xr(fn)),fn.apply(Yt,Me)}return me}function nl(e,t){return function(o,s){return n1(o,e,t(s),{})}}function si(e,t){return function(o,s){var c;if(o===i&&s===i)return t;if(o!==i&&(c=o),s!==i){if(c===i)return s;typeof o=="string"||typeof s=="string"?(o=Ot(o),s=Ot(s)):(o=Ds(o),s=Ds(s)),c=e(o,s)}return c}}function ko(e){return sn(function(t){return t=Xe(t,Lt(pe())),$e(function(o){var s=this;return e(t,function(c){return Rt(c,s,o)})})})}function li(e,t){t=t===i?" ":Ot(t);var o=t.length;if(o<2)return o?_o(t,e):t;var s=_o(t,Gr(e/Un(t)));return Vn(t)?_n(Gt(s),0,e).join(""):s.slice(0,e)}function k1(e,t,o,s){var c=t&C,g=xr(e);function _(){for(var E=-1,R=arguments.length,B=-1,P=s.length,V=I(P+R),ee=this&&this!==dt&&this instanceof _?g:e;++B<P;)V[B]=s[B];for(;R--;)V[B++]=arguments[++E];return Rt(ee,c?o:this,V)}return _}function rl(e){return function(t,o,s){return s&&typeof s!="number"&&yt(t,o,s)&&(o=s=i),t=cn(t),o===i?(o=t,t=0):o=cn(o),s=s===i?t<o?1:-1:cn(s),p1(t,o,s,e)}}function ui(e){return function(t,o){return typeof t=="string"&&typeof o=="string"||(t=Ht(t),o=Ht(o)),e(t,o)}}function il(e,t,o,s,c,g,_,E,R,B){var P=t&A,V=P?_:i,ee=P?i:_,se=P?g:i,ge=P?i:g;t|=P?F:W,t&=~(P?W:F),t&L||(t&=-4);var Ee=[e,t,c,se,V,ge,ee,E,R,B],me=o.apply(i,Ee);return jo(e)&&ml(me,Ee),me.placeholder=s,vl(me,e,t)}function Ro(e){var t=lt[e];return function(o,s){if(o=Ht(o),s=s==null?0:pt(Se(s),292),s&&vs(o)){var c=(Ze(o)+"e").split("e"),g=t(c[0]+"e"+(+c[1]+s));return c=(Ze(g)+"e").split("e"),+(c[0]+"e"+(+c[1]-s))}return t(o)}}var R1=Kn&&1/Br(new Kn([,-0]))[1]==K?function(e){return new Kn(e)}:Qo;function ol(e){return function(t){var o=gt(t);return o==re?oo(t):o==rt?qd(t):Pd(t,e(t))}}function an(e,t,o,s,c,g,_,E){var R=t&M;if(!R&&typeof e!="function")throw new Pt(f);var B=s?s.length:0;if(B||(t&=-97,s=c=i),_=_===i?_:ut(Se(_),0),E=E===i?E:Se(E),B-=c?c.length:0,t&W){var P=s,V=c;s=c=i}var ee=R?i:Io(e),se=[e,t,o,s,c,P,V,g,_,E];if(ee&&V1(se,ee),e=se[0],t=se[1],o=se[2],s=se[3],c=se[4],E=se[9]=se[9]===i?R?0:e.length:ut(se[9]-B,0),!E&&t&(A|O)&&(t&=-25),!t||t==C)var ge=$1(e,t,o);else t==A||t==O?ge=T1(e,t,E):(t==F||t==(C|F))&&!c.length?ge=k1(e,t,o,s):ge=ai.apply(i,se);var Ee=ee?Ps:ml;return vl(Ee(ge,se),e,t)}function al(e,t,o,s){return e===i||Xt(e,Gn[o])&&!He.call(s,o)?t:e}function sl(e,t,o,s,c,g){return Je(e)&&Je(t)&&(g.set(t,e),ni(e,t,i,sl,g),g.delete(t)),e}function L1(e){return Cr(e)?i:e}function ll(e,t,o,s,c,g){var _=o&m,E=e.length,R=t.length;if(E!=R&&!(_&&R>E))return!1;var B=g.get(e),P=g.get(t);if(B&&P)return B==t&&P==e;var V=-1,ee=!0,se=o&S?new Rn:i;for(g.set(e,t),g.set(t,e);++V<E;){var ge=e[V],Ee=t[V];if(s)var me=_?s(Ee,ge,V,t,e,g):s(ge,Ee,V,e,t,g);if(me!==i){if(me)continue;ee=!1;break}if(se){if(!Ji(t,function(Re,Me){if(!ur(se,Me)&&(ge===Re||c(ge,Re,o,s,g)))return se.push(Me)})){ee=!1;break}}else if(!(ge===Ee||c(ge,Ee,o,s,g))){ee=!1;break}}return g.delete(e),g.delete(t),ee}function O1(e,t,o,s,c,g,_){switch(o){case he:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case de:return!(e.byteLength!=t.byteLength||!g(new Hr(e),new Hr(t)));case Z:case Y:case Oe:return Xt(+e,+t);case le:return e.name==t.name&&e.message==t.message;case et:case st:return e==t+"";case re:var E=oo;case rt:var R=s&m;if(E||(E=Br),e.size!=t.size&&!R)return!1;var B=_.get(e);if(B)return B==t;s|=S,_.set(e,t);var P=ll(E(e),E(t),s,c,g,_);return _.delete(e),P;case Q:if(pr)return pr.call(e)==pr.call(t)}return!1}function I1(e,t,o,s,c,g){var _=o&m,E=Lo(e),R=E.length,B=Lo(t),P=B.length;if(R!=P&&!_)return!1;for(var V=R;V--;){var ee=E[V];if(!(_?ee in t:He.call(t,ee)))return!1}var se=g.get(e),ge=g.get(t);if(se&&ge)return se==t&&ge==e;var Ee=!0;g.set(e,t),g.set(t,e);for(var me=_;++V<R;){ee=E[V];var Re=e[ee],Me=t[ee];if(s)var Mt=_?s(Me,Re,ee,t,e,g):s(Re,Me,ee,e,t,g);if(!(Mt===i?Re===Me||c(Re,Me,o,s,g):Mt)){Ee=!1;break}me||(me=ee=="constructor")}if(Ee&&!me){var bt=e.constructor,Ft=t.constructor;bt!=Ft&&"constructor"in e&&"constructor"in t&&!(typeof bt=="function"&&bt instanceof bt&&typeof Ft=="function"&&Ft instanceof Ft)&&(Ee=!1)}return g.delete(e),g.delete(t),Ee}function sn(e){return Po(pl(e,i,Cl),e+"")}function Lo(e){return Ts(e,ft,Fo)}function Oo(e){return Ts(e,At,ul)}var Io=Xr?function(e){return Xr.get(e)}:Qo;function ci(e){for(var t=e.name+"",o=Xn[t],s=He.call(Xn,t)?o.length:0;s--;){var c=o[s],g=c.func;if(g==null||g==e)return c.name}return t}function er(e){var t=He.call(p,"placeholder")?p:e;return t.placeholder}function pe(){var e=p.iteratee||Xo;return e=e===Xo?Ls:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var o=e.__data__;return D1(t)?o[typeof t=="string"?"string":"hash"]:o.map}function Mo(e){for(var t=ft(e),o=t.length;o--;){var s=t[o],c=e[s];t[o]=[s,c,dl(c)]}return t}function In(e,t){var o=Hd(e,t);return Rs(o)?o:i}function M1(e){var t=He.call(e,Tn),o=e[Tn];try{e[Tn]=i;var s=!0}catch{}var c=Nr.call(e);return s&&(t?e[Tn]=o:delete e[Tn]),c}var Fo=so?function(e){return e==null?[]:(e=Ue(e),gn(so(e),function(t){return gs.call(e,t)}))}:Jo,ul=so?function(e){for(var t=[];e;)mn(t,Fo(e)),e=Vr(e);return t}:Jo,gt=vt;(lo&&gt(new lo(new ArrayBuffer(1)))!=he||fr&&gt(new fr)!=re||uo&&gt(uo.resolve())!=Qe||Kn&&gt(new Kn)!=rt||dr&&gt(new dr)!=ke)&&(gt=function(e){var t=vt(e),o=t==Pe?e.constructor:i,s=o?Mn(o):"";if(s)switch(s){case m0:return he;case v0:return re;case y0:return Qe;case b0:return rt;case x0:return ke}return t});function F1(e,t,o){for(var s=-1,c=o.length;++s<c;){var g=o[s],_=g.size;switch(g.type){case"drop":e+=_;break;case"dropRight":t-=_;break;case"take":t=pt(t,e+_);break;case"takeRight":e=ut(e,t-_);break}}return{start:e,end:t}}function z1(e){var t=e.match(Nf);return t?t[1].split(Zf):[]}function cl(e,t,o){t=wn(t,e);for(var s=-1,c=t.length,g=!1;++s<c;){var _=tn(t[s]);if(!(g=e!=null&&o(e,_)))break;e=e[_]}return g||++s!=c?g:(c=e==null?0:e.length,!!c&&yi(c)&&ln(_,c)&&(_e(e)||Fn(e)))}function j1(e){var t=e.length,o=new e.constructor(t);return t&&typeof e[0]=="string"&&He.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function fl(e){return typeof e.constructor=="function"&&!wr(e)?Yn(Vr(e)):{}}function B1(e,t,o){var s=e.constructor;switch(t){case de:return To(e);case Z:case Y:return new s(+e);case he:return w1(e,o);case Ne:case kt:case _t:case je:case ve:case Ct:case An:case Nn:case Di:return qs(e,o);case re:return new s;case Oe:case st:return new s(e);case et:return _1(e);case rt:return new s;case Q:return C1(e)}}function P1(e,t){var o=t.length;if(!o)return e;var s=o-1;return t[s]=(o>1?"& ":"")+t[s],t=t.join(o>2?", ":" "),e.replace(Df,`{
9
9
  /* [wrapped with `+t+`] */
10
- `)}function W1(e){return we(e)||Fn(e)||!!(ms&&e&&e[ms])}function ln(e,t){var o=typeof e;return t=t??Q,!!t&&(o=="number"||o!="symbol"&&Qf.test(e))&&e>-1&&e%1==0&&e<t}function vt(e,t,o){if(!Ke(o))return!1;var s=typeof t;return(s=="number"?Et(o)&&ln(t,o.length):s=="string"&&t in o)?Xt(o[t],e):!1}function zo(e,t){if(we(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||It(e)?!0:jf.test(e)||!zf.test(e)||t!=null&&e in Ze(t)}function D1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function jo(e){var t=ci(e),o=h[t];if(typeof o!="function"||!(t in Le.prototype))return!1;if(e===o)return!0;var s=Io(o);return!!s&&e===s[0]}function N1(e){return!!ds&&ds in e}var Z1=Wr?un:ea;function wr(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||qn;return e===o}function dl(e){return e===e&&!Ke(e)}function hl(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==i||e in Ze(o))}}function H1(e){var t=mi(e,function(s){return o.size===y&&o.clear(),s}),o=t.cache;return t}function V1(e,t){var o=e[1],s=t[1],c=o|s,g=c<(C|M|H),_=s==H&&o==A||s==H&&o==q&&e[7].length<=t[8]||s==(H|q)&&t[7].length<=t[8]&&o==A;if(!(g||_))return e;s&C&&(e[2]=t[2],c|=o&C?0:L);var E=t[3];if(E){var R=e[3];e[3]=R?Ks(R,E,t[4]):E,e[4]=R?vn(e[3],$):t[4]}return E=t[5],E&&(R=e[5],e[5]=R?Xs(R,E,t[6]):E,e[6]=R?vn(e[5],$):t[6]),E=t[7],E&&(e[7]=E),s&H&&(e[8]=e[8]==null?t[8]:ht(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}function U1(e){var t=[];if(e!=null)for(var o in Ze(e))t.push(o);return t}function q1(e){return Nr.call(e)}function pl(e,t,o){return t=ot(t===i?e.length-1:t,0),function(){for(var s=arguments,c=-1,g=ot(s.length-t,0),_=I(g);++c<g;)_[c]=s[t+c];c=-1;for(var E=I(t+1);++c<t;)E[c]=s[c];return E[t]=o(_),Rt(e,this,E)}}function gl(e,t){return t.length<2?e:On(e,Nt(t,0,-1))}function G1(e,t){for(var o=e.length,s=ht(t.length,o),c=St(e);s--;){var g=t[s];e[s]=ln(g,o)?c[g]:i}return e}function Bo(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ml=yl(Ps),_r=u0||function(e,t){return ct.setTimeout(e,t)},Po=yl(v1);function vl(e,t,o){var s=t+"";return Po(e,P1(s,K1(z1(s),o)))}function yl(e){var t=0,o=0;return function(){var s=h0(),c=B-(s-o);if(o=s,c>0){if(++t>=N)return arguments[0]}else t=0;return e.apply(i,arguments)}}function di(e,t){var o=-1,s=e.length,c=s-1;for(t=t===i?s:t;++o<t;){var g=wo(o,c),_=e[g];e[g]=e[o],e[o]=_}return e.length=t,e}var bl=H1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Bf,function(o,s,c,g){t.push(c?g.replace(Uf,"$1"):s||o)}),t});function tn(e){if(typeof e=="string"||It(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Mn(e){if(e!=null){try{return Dr.call(e)}catch{}try{return e+""}catch{}}return""}function K1(e,t){return Bt(ze,function(o){var s="_."+o[0];t&o[1]&&!zr(e,s)&&e.push(s)}),e.sort()}function xl(e){if(e instanceof Le)return e.clone();var t=new Wt(e.__wrapped__,e.__chain__);return t.__actions__=St(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function X1(e,t,o){(o?vt(e,t,o):t===i)?t=1:t=ot(Ee(t),0);var s=e==null?0:e.length;if(!s||t<1)return[];for(var c=0,g=0,_=I(Gr(s/t));c<s;)_[g++]=Nt(e,c,c+=t);return _}function Y1(e){for(var t=-1,o=e==null?0:e.length,s=0,c=[];++t<o;){var g=e[t];g&&(c[s++]=g)}return c}function Q1(){var e=arguments.length;if(!e)return[];for(var t=I(e-1),o=arguments[0],s=e;s--;)t[s-1]=arguments[s];return mn(we(o)?St(o):[o],ft(t,1))}var J1=$e(function(e,t){return nt(e)?mr(e,ft(t,1,nt,!0)):[]}),eh=$e(function(e,t){var o=Zt(t);return nt(o)&&(o=i),nt(e)?mr(e,ft(t,1,nt,!0),ue(o,2)):[]}),th=$e(function(e,t){var o=Zt(t);return nt(o)&&(o=i),nt(e)?mr(e,ft(t,1,nt,!0),i,o):[]});function nh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:Ee(t),Nt(e,t<0?0:t,s)):[]}function rh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:Ee(t),t=s-t,Nt(e,0,t<0?0:t)):[]}function ih(e,t){return e&&e.length?ii(e,ue(t,3),!0,!0):[]}function oh(e,t){return e&&e.length?ii(e,ue(t,3),!0):[]}function ah(e,t,o,s){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&vt(e,t,o)&&(o=0,s=c),Q0(e,t,o,s)):[]}function wl(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:Ee(o);return c<0&&(c=ot(s+c,0)),jr(e,ue(t,3),c)}function _l(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=s-1;return o!==i&&(c=Ee(o),c=o<0?ot(s+c,0):ht(c,s-1)),jr(e,ue(t,3),c,!0)}function Cl(e){var t=e==null?0:e.length;return t?ft(e,1):[]}function sh(e){var t=e==null?0:e.length;return t?ft(e,K):[]}function lh(e,t){var o=e==null?0:e.length;return o?(t=t===i?1:Ee(t),ft(e,t)):[]}function uh(e){for(var t=-1,o=e==null?0:e.length,s={};++t<o;){var c=e[t];s[c[0]]=c[1]}return s}function Sl(e){return e&&e.length?e[0]:i}function ch(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:Ee(o);return c<0&&(c=ot(s+c,0)),Zn(e,t,c)}function fh(e){var t=e==null?0:e.length;return t?Nt(e,0,-1):[]}var dh=$e(function(e){var t=Ge(e,Ao);return t.length&&t[0]===e[0]?mo(t):[]}),hh=$e(function(e){var t=Zt(e),o=Ge(e,Ao);return t===Zt(o)?t=i:o.pop(),o.length&&o[0]===e[0]?mo(o,ue(t,2)):[]}),ph=$e(function(e){var t=Zt(e),o=Ge(e,Ao);return t=typeof t=="function"?t:i,t&&o.pop(),o.length&&o[0]===e[0]?mo(o,i,t):[]});function gh(e,t){return e==null?"":f0.call(e,t)}function Zt(e){var t=e==null?0:e.length;return t?e[t-1]:i}function mh(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=s;return o!==i&&(c=Ee(o),c=c<0?ot(s+c,0):ht(c,s-1)),t===t?Kd(e,t,c):jr(e,is,c,!0)}function vh(e,t){return e&&e.length?Fs(e,Ee(t)):i}var yh=$e(El);function El(e,t){return e&&e.length&&t&&t.length?xo(e,t):e}function bh(e,t,o){return e&&e.length&&t&&t.length?xo(e,t,ue(o,2)):e}function xh(e,t,o){return e&&e.length&&t&&t.length?xo(e,t,i,o):e}var wh=sn(function(e,t){var o=e==null?0:e.length,s=fo(e,t);return Bs(e,Ge(t,function(c){return ln(c,o)?+c:c}).sort(Gs)),s});function _h(e,t){var o=[];if(!(e&&e.length))return o;var s=-1,c=[],g=e.length;for(t=ue(t,3);++s<g;){var _=e[s];t(_,s,e)&&(o.push(_),c.push(s))}return Bs(e,c),o}function Wo(e){return e==null?e:g0.call(e)}function Ch(e,t,o){var s=e==null?0:e.length;return s?(o&&typeof o!="number"&&vt(e,t,o)?(t=0,o=s):(t=t==null?0:Ee(t),o=o===i?s:Ee(o)),Nt(e,t,o)):[]}function Sh(e,t){return ri(e,t)}function Eh(e,t,o){return Co(e,t,ue(o,2))}function Ah(e,t){var o=e==null?0:e.length;if(o){var s=ri(e,t);if(s<o&&Xt(e[s],t))return s}return-1}function $h(e,t){return ri(e,t,!0)}function Th(e,t,o){return Co(e,t,ue(o,2),!0)}function kh(e,t){var o=e==null?0:e.length;if(o){var s=ri(e,t,!0)-1;if(Xt(e[s],t))return s}return-1}function Rh(e){return e&&e.length?Ws(e):[]}function Lh(e,t){return e&&e.length?Ws(e,ue(t,2)):[]}function Oh(e){var t=e==null?0:e.length;return t?Nt(e,1,t):[]}function Ih(e,t,o){return e&&e.length?(t=o||t===i?1:Ee(t),Nt(e,0,t<0?0:t)):[]}function Mh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:Ee(t),t=s-t,Nt(e,t<0?0:t,s)):[]}function Fh(e,t){return e&&e.length?ii(e,ue(t,3),!1,!0):[]}function zh(e,t){return e&&e.length?ii(e,ue(t,3)):[]}var jh=$e(function(e){return xn(ft(e,1,nt,!0))}),Bh=$e(function(e){var t=Zt(e);return nt(t)&&(t=i),xn(ft(e,1,nt,!0),ue(t,2))}),Ph=$e(function(e){var t=Zt(e);return t=typeof t=="function"?t:i,xn(ft(e,1,nt,!0),i,t)});function Wh(e){return e&&e.length?xn(e):[]}function Dh(e,t){return e&&e.length?xn(e,ue(t,2)):[]}function Nh(e,t){return t=typeof t=="function"?t:i,e&&e.length?xn(e,i,t):[]}function Do(e){if(!(e&&e.length))return[];var t=0;return e=gn(e,function(o){if(nt(o))return t=ot(o.length,t),!0}),ro(t,function(o){return Ge(e,eo(o))})}function Al(e,t){if(!(e&&e.length))return[];var o=Do(e);return t==null?o:Ge(o,function(s){return Rt(t,i,s)})}var Zh=$e(function(e,t){return nt(e)?mr(e,t):[]}),Hh=$e(function(e){return Eo(gn(e,nt))}),Vh=$e(function(e){var t=Zt(e);return nt(t)&&(t=i),Eo(gn(e,nt),ue(t,2))}),Uh=$e(function(e){var t=Zt(e);return t=typeof t=="function"?t:i,Eo(gn(e,nt),i,t)}),qh=$e(Do);function Gh(e,t){return Hs(e||[],t||[],gr)}function Kh(e,t){return Hs(e||[],t||[],br)}var Xh=$e(function(e){var t=e.length,o=t>1?e[t-1]:i;return o=typeof o=="function"?(e.pop(),o):i,Al(e,o)});function $l(e){var t=h(e);return t.__chain__=!0,t}function Yh(e,t){return t(e),e}function hi(e,t){return t(e)}var Qh=sn(function(e){var t=e.length,o=t?e[0]:0,s=this.__wrapped__,c=function(g){return fo(g,e)};return t>1||this.__actions__.length||!(s instanceof Le)||!ln(o)?this.thru(c):(s=s.slice(o,+o+(t?1:0)),s.__actions__.push({func:hi,args:[c],thisArg:i}),new Wt(s,this.__chain__).thru(function(g){return t&&!g.length&&g.push(i),g}))});function Jh(){return $l(this)}function ep(){return new Wt(this.value(),this.__chain__)}function tp(){this.__values__===i&&(this.__values__=Dl(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function np(){return this}function rp(e){for(var t,o=this;o instanceof Qr;){var s=xl(o);s.__index__=0,s.__values__=i,t?c.__wrapped__=s:t=s;var c=s;o=o.__wrapped__}return c.__wrapped__=e,t}function ip(){var e=this.__wrapped__;if(e instanceof Le){var t=e;return this.__actions__.length&&(t=new Le(this)),t=t.reverse(),t.__actions__.push({func:hi,args:[Wo],thisArg:i}),new Wt(t,this.__chain__)}return this.thru(Wo)}function op(){return Zs(this.__wrapped__,this.__actions__)}var ap=oi(function(e,t,o){De.call(e,o)?++e[o]:on(e,o,1)});function sp(e,t,o){var s=we(e)?ns:Y0;return o&&vt(e,t,o)&&(t=i),s(e,ue(t,3))}function lp(e,t){var o=we(e)?gn:As;return o(e,ue(t,3))}var up=el(wl),cp=el(_l);function fp(e,t){return ft(pi(e,t),1)}function dp(e,t){return ft(pi(e,t),K)}function hp(e,t,o){return o=o===i?1:Ee(o),ft(pi(e,t),o)}function Tl(e,t){var o=we(e)?Bt:bn;return o(e,ue(t,3))}function kl(e,t){var o=we(e)?Od:Es;return o(e,ue(t,3))}var pp=oi(function(e,t,o){De.call(e,o)?e[o].push(t):on(e,o,[t])});function gp(e,t,o,s){e=Et(e)?e:tr(e),o=o&&!s?Ee(o):0;var c=e.length;return o<0&&(o=ot(c+o,0)),bi(e)?o<=c&&e.indexOf(t,o)>-1:!!c&&Zn(e,t,o)>-1}var mp=$e(function(e,t,o){var s=-1,c=typeof t=="function",g=Et(e)?I(e.length):[];return bn(e,function(_){g[++s]=c?Rt(t,_,o):vr(_,t,o)}),g}),vp=oi(function(e,t,o){on(e,o,t)});function pi(e,t){var o=we(e)?Ge:Os;return o(e,ue(t,3))}function yp(e,t,o,s){return e==null?[]:(we(t)||(t=t==null?[]:[t]),o=s?i:o,we(o)||(o=o==null?[]:[o]),zs(e,t,o))}var bp=oi(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function xp(e,t,o){var s=we(e)?Qi:as,c=arguments.length<3;return s(e,ue(t,4),o,c,bn)}function wp(e,t,o){var s=we(e)?Id:as,c=arguments.length<3;return s(e,ue(t,4),o,c,Es)}function _p(e,t){var o=we(e)?gn:As;return o(e,vi(ue(t,3)))}function Cp(e){var t=we(e)?ws:g1;return t(e)}function Sp(e,t,o){(o?vt(e,t,o):t===i)?t=1:t=Ee(t);var s=we(e)?U0:m1;return s(e,t)}function Ep(e){var t=we(e)?q0:y1;return t(e)}function Ap(e){if(e==null)return 0;if(Et(e))return bi(e)?Vn(e):e.length;var t=pt(e);return t==xe||t==st?e.size:yo(e).length}function $p(e,t,o){var s=we(e)?Ji:b1;return o&&vt(e,t,o)&&(t=i),s(e,ue(t,3))}var Tp=$e(function(e,t){if(e==null)return[];var o=t.length;return o>1&&vt(e,t[0],t[1])?t=[]:o>2&&vt(t[0],t[1],t[2])&&(t=[t[0]]),zs(e,ft(t,1),[])}),gi=l0||function(){return ct.Date.now()};function kp(e,t){if(typeof t!="function")throw new Pt(f);return e=Ee(e),function(){if(--e<1)return t.apply(this,arguments)}}function Rl(e,t,o){return t=o?i:t,t=e&&t==null?e.length:t,an(e,H,i,i,i,i,t)}function Ll(e,t){var o;if(typeof t!="function")throw new Pt(f);return e=Ee(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=i),o}}var No=$e(function(e,t,o){var s=C;if(o.length){var c=vn(o,Jn(No));s|=z}return an(e,s,t,o,c)}),Ol=$e(function(e,t,o){var s=C|M;if(o.length){var c=vn(o,Jn(Ol));s|=z}return an(t,s,e,o,c)});function Il(e,t,o){t=o?i:t;var s=an(e,A,i,i,i,i,i,t);return s.placeholder=Il.placeholder,s}function Ml(e,t,o){t=o?i:t;var s=an(e,O,i,i,i,i,i,t);return s.placeholder=Ml.placeholder,s}function Fl(e,t,o){var s,c,g,_,E,R,P=0,W=!1,V=!1,te=!0;if(typeof e!="function")throw new Pt(f);t=Ht(t)||0,Ke(o)&&(W=!!o.leading,V="maxWait"in o,g=V?ot(Ht(o.maxWait)||0,t):g,te="trailing"in o?!!o.trailing:te);function oe(rt){var Yt=s,fn=c;return s=c=i,P=rt,_=e.apply(fn,Yt),_}function fe(rt){return P=rt,E=_r(ke,t),W?oe(rt):_}function Ae(rt){var Yt=rt-R,fn=rt-P,eu=t-Yt;return V?ht(eu,g-fn):eu}function de(rt){var Yt=rt-R,fn=rt-P;return R===i||Yt>=t||Yt<0||V&&fn>=g}function ke(){var rt=gi();if(de(rt))return Oe(rt);E=_r(ke,Ae(rt))}function Oe(rt){return E=i,te&&s?oe(rt):(s=c=i,_)}function Mt(){E!==i&&Vs(E),P=0,s=R=c=E=i}function yt(){return E===i?_:Oe(gi())}function Ft(){var rt=gi(),Yt=de(rt);if(s=arguments,c=this,R=rt,Yt){if(E===i)return fe(R);if(V)return Vs(E),E=_r(ke,t),oe(R)}return E===i&&(E=_r(ke,t)),_}return Ft.cancel=Mt,Ft.flush=yt,Ft}var Rp=$e(function(e,t){return Ss(e,1,t)}),Lp=$e(function(e,t,o){return Ss(e,Ht(t)||0,o)});function Op(e){return an(e,le)}function mi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new Pt(f);var o=function(){var s=arguments,c=t?t.apply(this,s):s[0],g=o.cache;if(g.has(c))return g.get(c);var _=e.apply(this,s);return o.cache=g.set(c,_)||g,_};return o.cache=new(mi.Cache||rn),o}mi.Cache=rn;function vi(e){if(typeof e!="function")throw new Pt(f);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ip(e){return Ll(2,e)}var Mp=x1(function(e,t){t=t.length==1&&we(t[0])?Ge(t[0],Lt(ue())):Ge(ft(t,1),Lt(ue()));var o=t.length;return $e(function(s){for(var c=-1,g=ht(s.length,o);++c<g;)s[c]=t[c].call(this,s[c]);return Rt(e,this,s)})}),Zo=$e(function(e,t){var o=vn(t,Jn(Zo));return an(e,z,i,t,o)}),zl=$e(function(e,t){var o=vn(t,Jn(zl));return an(e,D,i,t,o)}),Fp=sn(function(e,t){return an(e,q,i,i,i,t)});function zp(e,t){if(typeof e!="function")throw new Pt(f);return t=t===i?t:Ee(t),$e(e,t)}function jp(e,t){if(typeof e!="function")throw new Pt(f);return t=t==null?0:ot(Ee(t),0),$e(function(o){var s=o[t],c=_n(o,0,t);return s&&mn(c,s),Rt(e,this,c)})}function Bp(e,t,o){var s=!0,c=!0;if(typeof e!="function")throw new Pt(f);return Ke(o)&&(s="leading"in o?!!o.leading:s,c="trailing"in o?!!o.trailing:c),Fl(e,t,{leading:s,maxWait:t,trailing:c})}function Pp(e){return Rl(e,1)}function Wp(e,t){return Zo($o(t),e)}function Dp(){if(!arguments.length)return[];var e=arguments[0];return we(e)?e:[e]}function Np(e){return Dt(e,b)}function Zp(e,t){return t=typeof t=="function"?t:i,Dt(e,b,t)}function Hp(e){return Dt(e,T|b)}function Vp(e,t){return t=typeof t=="function"?t:i,Dt(e,T|b,t)}function Up(e,t){return t==null||Cs(e,t,lt(t))}function Xt(e,t){return e===t||e!==e&&t!==t}var qp=ui(go),Gp=ui(function(e,t){return e>=t}),Fn=ks(function(){return arguments}())?ks:function(e){return Qe(e)&&De.call(e,"callee")&&!gs.call(e,"callee")},we=I.isArray,Kp=Xa?Lt(Xa):r1;function Et(e){return e!=null&&yi(e.length)&&!un(e)}function nt(e){return Qe(e)&&Et(e)}function Xp(e){return e===!0||e===!1||Qe(e)&&mt(e)==U}var Cn=c0||ea,Yp=Ya?Lt(Ya):i1;function Qp(e){return Qe(e)&&e.nodeType===1&&!Cr(e)}function Jp(e){if(e==null)return!0;if(Et(e)&&(we(e)||typeof e=="string"||typeof e.splice=="function"||Cn(e)||er(e)||Fn(e)))return!e.length;var t=pt(e);if(t==xe||t==st)return!e.size;if(wr(e))return!yo(e).length;for(var o in e)if(De.call(e,o))return!1;return!0}function eg(e,t){return yr(e,t)}function tg(e,t,o){o=typeof o=="function"?o:i;var s=o?o(e,t):i;return s===i?yr(e,t,i,o):!!s}function Ho(e){if(!Qe(e))return!1;var t=mt(e);return t==ee||t==X||typeof e.message=="string"&&typeof e.name=="string"&&!Cr(e)}function ng(e){return typeof e=="number"&&vs(e)}function un(e){if(!Ke(e))return!1;var t=mt(e);return t==ce||t==me||t==Xe||t==wt}function jl(e){return typeof e=="number"&&e==Ee(e)}function yi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Q}function Ke(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Qe(e){return e!=null&&typeof e=="object"}var Bl=Qa?Lt(Qa):a1;function rg(e,t){return e===t||vo(e,t,Mo(t))}function ig(e,t,o){return o=typeof o=="function"?o:i,vo(e,t,Mo(t),o)}function og(e){return Pl(e)&&e!=+e}function ag(e){if(Z1(e))throw new ye(u);return Rs(e)}function sg(e){return e===null}function lg(e){return e==null}function Pl(e){return typeof e=="number"||Qe(e)&&mt(e)==He}function Cr(e){if(!Qe(e)||mt(e)!=Ye)return!1;var t=Vr(e);if(t===null)return!0;var o=De.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Dr.call(o)==i0}var Vo=Ja?Lt(Ja):s1;function ug(e){return jl(e)&&e>=-9007199254740991&&e<=Q}var Wl=es?Lt(es):l1;function bi(e){return typeof e=="string"||!we(e)&&Qe(e)&&mt(e)==tt}function It(e){return typeof e=="symbol"||Qe(e)&&mt(e)==Y}var er=ts?Lt(ts):u1;function cg(e){return e===i}function fg(e){return Qe(e)&&pt(e)==Ve}function dg(e){return Qe(e)&&mt(e)==ge}var hg=ui(bo),pg=ui(function(e,t){return e<=t});function Dl(e){if(!e)return[];if(Et(e))return bi(e)?Gt(e):St(e);if(cr&&e[cr])return Ud(e[cr]());var t=pt(e),o=t==xe?oo:t==st?Br:tr;return o(e)}function cn(e){if(!e)return e===0?e:0;if(e=Ht(e),e===K||e===-1/0){var t=e<0?-1:1;return t*ae}return e===e?e:0}function Ee(e){var t=cn(e),o=t%1;return t===t?o?t-o:t:0}function Nl(e){return e?Ln(Ee(e),0,be):0}function Ht(e){if(typeof e=="number")return e;if(It(e))return Te;if(Ke(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ke(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ss(e);var o=Kf.test(e);return o||Yf.test(e)?kd(e.slice(2),o?2:8):Gf.test(e)?Te:+e}function Zl(e){return en(e,At(e))}function gg(e){return e?Ln(Ee(e),-9007199254740991,Q):e===0?e:0}function We(e){return e==null?"":Ot(e)}var mg=Yn(function(e,t){if(wr(t)||Et(t)){en(t,lt(t),e);return}for(var o in t)De.call(t,o)&&gr(e,o,t[o])}),Hl=Yn(function(e,t){en(t,At(t),e)}),xi=Yn(function(e,t,o,s){en(t,At(t),e,s)}),vg=Yn(function(e,t,o,s){en(t,lt(t),e,s)}),yg=sn(fo);function bg(e,t){var o=Xn(e);return t==null?o:_s(o,t)}var xg=$e(function(e,t){e=Ze(e);var o=-1,s=t.length,c=s>2?t[2]:i;for(c&&vt(t[0],t[1],c)&&(s=1);++o<s;)for(var g=t[o],_=At(g),E=-1,R=_.length;++E<R;){var P=_[E],W=e[P];(W===i||Xt(W,qn[P])&&!De.call(e,P))&&(e[P]=g[P])}return e}),wg=$e(function(e){return e.push(i,sl),Rt(Vl,i,e)});function _g(e,t){return rs(e,ue(t,3),Jt)}function Cg(e,t){return rs(e,ue(t,3),po)}function Sg(e,t){return e==null?e:ho(e,ue(t,3),At)}function Eg(e,t){return e==null?e:$s(e,ue(t,3),At)}function Ag(e,t){return e&&Jt(e,ue(t,3))}function $g(e,t){return e&&po(e,ue(t,3))}function Tg(e){return e==null?[]:ti(e,lt(e))}function kg(e){return e==null?[]:ti(e,At(e))}function Uo(e,t,o){var s=e==null?i:On(e,t);return s===i?o:s}function Rg(e,t){return e!=null&&cl(e,t,J0)}function qo(e,t){return e!=null&&cl(e,t,e1)}var Lg=nl(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Nr.call(t)),e[t]=o},Ko($t)),Og=nl(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Nr.call(t)),De.call(e,t)?e[t].push(o):e[t]=[o]},ue),Ig=$e(vr);function lt(e){return Et(e)?xs(e):yo(e)}function At(e){return Et(e)?xs(e,!0):c1(e)}function Mg(e,t){var o={};return t=ue(t,3),Jt(e,function(s,c,g){on(o,t(s,c,g),s)}),o}function Fg(e,t){var o={};return t=ue(t,3),Jt(e,function(s,c,g){on(o,c,t(s,c,g))}),o}var zg=Yn(function(e,t,o){ni(e,t,o)}),Vl=Yn(function(e,t,o,s){ni(e,t,o,s)}),jg=sn(function(e,t){var o={};if(e==null)return o;var s=!1;t=Ge(t,function(g){return g=wn(g,e),s||(s=g.length>1),g}),en(e,Oo(e),o),s&&(o=Dt(o,T|x|b,L1));for(var c=t.length;c--;)So(o,t[c]);return o});function Bg(e,t){return Ul(e,vi(ue(t)))}var Pg=sn(function(e,t){return e==null?{}:d1(e,t)});function Ul(e,t){if(e==null)return{};var o=Ge(Oo(e),function(s){return[s]});return t=ue(t),js(e,o,function(s,c){return t(s,c[0])})}function Wg(e,t,o){t=wn(t,e);var s=-1,c=t.length;for(c||(c=1,e=i);++s<c;){var g=e==null?i:e[tn(t[s])];g===i&&(s=c,g=o),e=un(g)?g.call(e):g}return e}function Dg(e,t,o){return e==null?e:br(e,t,o)}function Ng(e,t,o,s){return s=typeof s=="function"?s:i,e==null?e:br(e,t,o,s)}var ql=ol(lt),Gl=ol(At);function Zg(e,t,o){var s=we(e),c=s||Cn(e)||er(e);if(t=ue(t,4),o==null){var g=e&&e.constructor;c?o=s?new g:[]:Ke(e)?o=un(g)?Xn(Vr(e)):{}:o={}}return(c?Bt:Jt)(e,function(_,E,R){return t(o,_,E,R)}),o}function Hg(e,t){return e==null?!0:So(e,t)}function Vg(e,t,o){return e==null?e:Ns(e,t,$o(o))}function Ug(e,t,o,s){return s=typeof s=="function"?s:i,e==null?e:Ns(e,t,$o(o),s)}function tr(e){return e==null?[]:io(e,lt(e))}function qg(e){return e==null?[]:io(e,At(e))}function Gg(e,t,o){return o===i&&(o=t,t=i),o!==i&&(o=Ht(o),o=o===o?o:0),t!==i&&(t=Ht(t),t=t===t?t:0),Ln(Ht(e),t,o)}function Kg(e,t,o){return t=cn(t),o===i?(o=t,t=0):o=cn(o),e=Ht(e),t1(e,t,o)}function Xg(e,t,o){if(o&&typeof o!="boolean"&&vt(e,t,o)&&(t=o=i),o===i&&(typeof t=="boolean"?(o=t,t=i):typeof e=="boolean"&&(o=e,e=i)),e===i&&t===i?(e=0,t=1):(e=cn(e),t===i?(t=e,e=0):t=cn(t)),e>t){var s=e;e=t,t=s}if(o||e%1||t%1){var c=ys();return ht(e+c*(t-e+Td("1e-"+((c+"").length-1))),t)}return wo(e,t)}var Yg=Qn(function(e,t,o){return t=t.toLowerCase(),e+(o?Kl(t):t)});function Kl(e){return Go(We(e).toLowerCase())}function Xl(e){return e=We(e),e&&e.replace(Jf,Dd).replace(yd,"")}function Qg(e,t,o){e=We(e),t=Ot(t);var s=e.length;o=o===i?s:Ln(Ee(o),0,s);var c=o;return o-=t.length,o>=0&&e.slice(o,c)==t}function Jg(e){return e=We(e),e&&If.test(e)?e.replace($a,Nd):e}function em(e){return e=We(e),e&&Pf.test(e)?e.replace(Ni,"\\$&"):e}var tm=Qn(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),nm=Qn(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),rm=Js("toLowerCase");function im(e,t,o){e=We(e),t=Ee(t);var s=t?Vn(e):0;if(!t||s>=t)return e;var c=(t-s)/2;return li(Kr(c),o)+e+li(Gr(c),o)}function om(e,t,o){e=We(e),t=Ee(t);var s=t?Vn(e):0;return t&&s<t?e+li(t-s,o):e}function am(e,t,o){e=We(e),t=Ee(t);var s=t?Vn(e):0;return t&&s<t?li(t-s,o)+e:e}function sm(e,t,o){return o||t==null?t=0:t&&(t=+t),p0(We(e).replace(Zi,""),t||0)}function lm(e,t,o){return(o?vt(e,t,o):t===i)?t=1:t=Ee(t),_o(We(e),t)}function um(){var e=arguments,t=We(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var cm=Qn(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()});function fm(e,t,o){return o&&typeof o!="number"&&vt(e,t,o)&&(t=o=i),o=o===i?be:o>>>0,o?(e=We(e),e&&(typeof t=="string"||t!=null&&!Vo(t))&&(t=Ot(t),!t&&Hn(e))?_n(Gt(e),0,o):e.split(t,o)):[]}var dm=Qn(function(e,t,o){return e+(o?" ":"")+Go(t)});function hm(e,t,o){return e=We(e),o=o==null?0:Ln(Ee(o),0,e.length),t=Ot(t),e.slice(o,o+t.length)==t}function pm(e,t,o){var s=h.templateSettings;o&&vt(e,t,o)&&(t=i),e=We(e),t=xi({},t,s,al);var c=xi({},t.imports,s.imports,al),g=lt(c),_=io(c,g),E,R,P=0,W=t.interpolate||Ir,V="__p += '",te=ao((t.escape||Ir).source+"|"+W.source+"|"+(W===Ta?qf:Ir).source+"|"+(t.evaluate||Ir).source+"|$","g"),oe="//# sourceURL="+(De.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Cd+"]")+`
11
- `;e.replace(te,function(de,ke,Oe,Mt,yt,Ft){return Oe||(Oe=Mt),V+=e.slice(P,Ft).replace(ed,Zd),ke&&(E=!0,V+=`' +
12
- __e(`+ke+`) +
13
- '`),yt&&(R=!0,V+=`';
14
- `+yt+`;
15
- __p += '`),Oe&&(V+=`' +
16
- ((__t = (`+Oe+`)) == null ? '' : __t) +
17
- '`),P=Ft+de.length,de}),V+=`';
18
- `;var fe=De.call(t,"variable")&&t.variable;if(!fe)V=`with (obj) {
10
+ `)}function W1(e){return _e(e)||Fn(e)||!!(ms&&e&&e[ms])}function ln(e,t){var o=typeof e;return t=t??X,!!t&&(o=="number"||o!="symbol"&&Qf.test(e))&&e>-1&&e%1==0&&e<t}function yt(e,t,o){if(!Je(o))return!1;var s=typeof t;return(s=="number"?Et(o)&&ln(t,o.length):s=="string"&&t in o)?Xt(o[t],e):!1}function zo(e,t){if(_e(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||It(e)?!0:jf.test(e)||!zf.test(e)||t!=null&&e in Ue(t)}function D1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function jo(e){var t=ci(e),o=p[t];if(typeof o!="function"||!(t in Ie.prototype))return!1;if(e===o)return!0;var s=Io(o);return!!s&&e===s[0]}function N1(e){return!!ds&&ds in e}var Z1=Wr?un:ea;function wr(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Gn;return e===o}function dl(e){return e===e&&!Je(e)}function hl(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==i||e in Ue(o))}}function H1(e){var t=mi(e,function(s){return o.size===y&&o.clear(),s}),o=t.cache;return t}function V1(e,t){var o=e[1],s=t[1],c=o|s,g=c<(C|M|N),_=s==N&&o==A||s==N&&o==q&&e[7].length<=t[8]||s==(N|q)&&t[7].length<=t[8]&&o==A;if(!(g||_))return e;s&C&&(e[2]=t[2],c|=o&C?0:L);var E=t[3];if(E){var R=e[3];e[3]=R?Ks(R,E,t[4]):E,e[4]=R?vn(e[3],$):t[4]}return E=t[5],E&&(R=e[5],e[5]=R?Xs(R,E,t[6]):E,e[6]=R?vn(e[5],$):t[6]),E=t[7],E&&(e[7]=E),s&N&&(e[8]=e[8]==null?t[8]:pt(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}function U1(e){var t=[];if(e!=null)for(var o in Ue(e))t.push(o);return t}function q1(e){return Nr.call(e)}function pl(e,t,o){return t=ut(t===i?e.length-1:t,0),function(){for(var s=arguments,c=-1,g=ut(s.length-t,0),_=I(g);++c<g;)_[c]=s[t+c];c=-1;for(var E=I(t+1);++c<t;)E[c]=s[c];return E[t]=o(_),Rt(e,this,E)}}function gl(e,t){return t.length<2?e:On(e,Nt(t,0,-1))}function G1(e,t){for(var o=e.length,s=pt(t.length,o),c=St(e);s--;){var g=t[s];e[s]=ln(g,o)?c[g]:i}return e}function Bo(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ml=yl(Ps),_r=u0||function(e,t){return dt.setTimeout(e,t)},Po=yl(v1);function vl(e,t,o){var s=t+"";return Po(e,P1(s,K1(z1(s),o)))}function yl(e){var t=0,o=0;return function(){var s=h0(),c=j-(s-o);if(o=s,c>0){if(++t>=D)return arguments[0]}else t=0;return e.apply(i,arguments)}}function di(e,t){var o=-1,s=e.length,c=s-1;for(t=t===i?s:t;++o<t;){var g=wo(o,c),_=e[g];e[g]=e[o],e[o]=_}return e.length=t,e}var bl=H1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Bf,function(o,s,c,g){t.push(c?g.replace(Uf,"$1"):s||o)}),t});function tn(e){if(typeof e=="string"||It(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Mn(e){if(e!=null){try{return Dr.call(e)}catch{}try{return e+""}catch{}}return""}function K1(e,t){return Bt(Ve,function(o){var s="_."+o[0];t&o[1]&&!zr(e,s)&&e.push(s)}),e.sort()}function xl(e){if(e instanceof Ie)return e.clone();var t=new Wt(e.__wrapped__,e.__chain__);return t.__actions__=St(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function X1(e,t,o){(o?yt(e,t,o):t===i)?t=1:t=ut(Se(t),0);var s=e==null?0:e.length;if(!s||t<1)return[];for(var c=0,g=0,_=I(Gr(s/t));c<s;)_[g++]=Nt(e,c,c+=t);return _}function Y1(e){for(var t=-1,o=e==null?0:e.length,s=0,c=[];++t<o;){var g=e[t];g&&(c[s++]=g)}return c}function Q1(){var e=arguments.length;if(!e)return[];for(var t=I(e-1),o=arguments[0],s=e;s--;)t[s-1]=arguments[s];return mn(_e(o)?St(o):[o],ht(t,1))}var J1=$e(function(e,t){return it(e)?mr(e,ht(t,1,it,!0)):[]}),eh=$e(function(e,t){var o=Zt(t);return it(o)&&(o=i),it(e)?mr(e,ht(t,1,it,!0),pe(o,2)):[]}),th=$e(function(e,t){var o=Zt(t);return it(o)&&(o=i),it(e)?mr(e,ht(t,1,it,!0),i,o):[]});function nh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:Se(t),Nt(e,t<0?0:t,s)):[]}function rh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:Se(t),t=s-t,Nt(e,0,t<0?0:t)):[]}function ih(e,t){return e&&e.length?ii(e,pe(t,3),!0,!0):[]}function oh(e,t){return e&&e.length?ii(e,pe(t,3),!0):[]}function ah(e,t,o,s){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&yt(e,t,o)&&(o=0,s=c),Q0(e,t,o,s)):[]}function wl(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:Se(o);return c<0&&(c=ut(s+c,0)),jr(e,pe(t,3),c)}function _l(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=s-1;return o!==i&&(c=Se(o),c=o<0?ut(s+c,0):pt(c,s-1)),jr(e,pe(t,3),c,!0)}function Cl(e){var t=e==null?0:e.length;return t?ht(e,1):[]}function sh(e){var t=e==null?0:e.length;return t?ht(e,K):[]}function lh(e,t){var o=e==null?0:e.length;return o?(t=t===i?1:Se(t),ht(e,t)):[]}function uh(e){for(var t=-1,o=e==null?0:e.length,s={};++t<o;){var c=e[t];s[c[0]]=c[1]}return s}function Sl(e){return e&&e.length?e[0]:i}function ch(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:Se(o);return c<0&&(c=ut(s+c,0)),Hn(e,t,c)}function fh(e){var t=e==null?0:e.length;return t?Nt(e,0,-1):[]}var dh=$e(function(e){var t=Xe(e,Ao);return t.length&&t[0]===e[0]?mo(t):[]}),hh=$e(function(e){var t=Zt(e),o=Xe(e,Ao);return t===Zt(o)?t=i:o.pop(),o.length&&o[0]===e[0]?mo(o,pe(t,2)):[]}),ph=$e(function(e){var t=Zt(e),o=Xe(e,Ao);return t=typeof t=="function"?t:i,t&&o.pop(),o.length&&o[0]===e[0]?mo(o,i,t):[]});function gh(e,t){return e==null?"":f0.call(e,t)}function Zt(e){var t=e==null?0:e.length;return t?e[t-1]:i}function mh(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=s;return o!==i&&(c=Se(o),c=c<0?ut(s+c,0):pt(c,s-1)),t===t?Kd(e,t,c):jr(e,is,c,!0)}function vh(e,t){return e&&e.length?Fs(e,Se(t)):i}var yh=$e(El);function El(e,t){return e&&e.length&&t&&t.length?xo(e,t):e}function bh(e,t,o){return e&&e.length&&t&&t.length?xo(e,t,pe(o,2)):e}function xh(e,t,o){return e&&e.length&&t&&t.length?xo(e,t,i,o):e}var wh=sn(function(e,t){var o=e==null?0:e.length,s=fo(e,t);return Bs(e,Xe(t,function(c){return ln(c,o)?+c:c}).sort(Gs)),s});function _h(e,t){var o=[];if(!(e&&e.length))return o;var s=-1,c=[],g=e.length;for(t=pe(t,3);++s<g;){var _=e[s];t(_,s,e)&&(o.push(_),c.push(s))}return Bs(e,c),o}function Wo(e){return e==null?e:g0.call(e)}function Ch(e,t,o){var s=e==null?0:e.length;return s?(o&&typeof o!="number"&&yt(e,t,o)?(t=0,o=s):(t=t==null?0:Se(t),o=o===i?s:Se(o)),Nt(e,t,o)):[]}function Sh(e,t){return ri(e,t)}function Eh(e,t,o){return Co(e,t,pe(o,2))}function Ah(e,t){var o=e==null?0:e.length;if(o){var s=ri(e,t);if(s<o&&Xt(e[s],t))return s}return-1}function $h(e,t){return ri(e,t,!0)}function Th(e,t,o){return Co(e,t,pe(o,2),!0)}function kh(e,t){var o=e==null?0:e.length;if(o){var s=ri(e,t,!0)-1;if(Xt(e[s],t))return s}return-1}function Rh(e){return e&&e.length?Ws(e):[]}function Lh(e,t){return e&&e.length?Ws(e,pe(t,2)):[]}function Oh(e){var t=e==null?0:e.length;return t?Nt(e,1,t):[]}function Ih(e,t,o){return e&&e.length?(t=o||t===i?1:Se(t),Nt(e,0,t<0?0:t)):[]}function Mh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:Se(t),t=s-t,Nt(e,t<0?0:t,s)):[]}function Fh(e,t){return e&&e.length?ii(e,pe(t,3),!1,!0):[]}function zh(e,t){return e&&e.length?ii(e,pe(t,3)):[]}var jh=$e(function(e){return xn(ht(e,1,it,!0))}),Bh=$e(function(e){var t=Zt(e);return it(t)&&(t=i),xn(ht(e,1,it,!0),pe(t,2))}),Ph=$e(function(e){var t=Zt(e);return t=typeof t=="function"?t:i,xn(ht(e,1,it,!0),i,t)});function Wh(e){return e&&e.length?xn(e):[]}function Dh(e,t){return e&&e.length?xn(e,pe(t,2)):[]}function Nh(e,t){return t=typeof t=="function"?t:i,e&&e.length?xn(e,i,t):[]}function Do(e){if(!(e&&e.length))return[];var t=0;return e=gn(e,function(o){if(it(o))return t=ut(o.length,t),!0}),ro(t,function(o){return Xe(e,eo(o))})}function Al(e,t){if(!(e&&e.length))return[];var o=Do(e);return t==null?o:Xe(o,function(s){return Rt(t,i,s)})}var Zh=$e(function(e,t){return it(e)?mr(e,t):[]}),Hh=$e(function(e){return Eo(gn(e,it))}),Vh=$e(function(e){var t=Zt(e);return it(t)&&(t=i),Eo(gn(e,it),pe(t,2))}),Uh=$e(function(e){var t=Zt(e);return t=typeof t=="function"?t:i,Eo(gn(e,it),i,t)}),qh=$e(Do);function Gh(e,t){return Hs(e||[],t||[],gr)}function Kh(e,t){return Hs(e||[],t||[],br)}var Xh=$e(function(e){var t=e.length,o=t>1?e[t-1]:i;return o=typeof o=="function"?(e.pop(),o):i,Al(e,o)});function $l(e){var t=p(e);return t.__chain__=!0,t}function Yh(e,t){return t(e),e}function hi(e,t){return t(e)}var Qh=sn(function(e){var t=e.length,o=t?e[0]:0,s=this.__wrapped__,c=function(g){return fo(g,e)};return t>1||this.__actions__.length||!(s instanceof Ie)||!ln(o)?this.thru(c):(s=s.slice(o,+o+(t?1:0)),s.__actions__.push({func:hi,args:[c],thisArg:i}),new Wt(s,this.__chain__).thru(function(g){return t&&!g.length&&g.push(i),g}))});function Jh(){return $l(this)}function ep(){return new Wt(this.value(),this.__chain__)}function tp(){this.__values__===i&&(this.__values__=Dl(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function np(){return this}function rp(e){for(var t,o=this;o instanceof Qr;){var s=xl(o);s.__index__=0,s.__values__=i,t?c.__wrapped__=s:t=s;var c=s;o=o.__wrapped__}return c.__wrapped__=e,t}function ip(){var e=this.__wrapped__;if(e instanceof Ie){var t=e;return this.__actions__.length&&(t=new Ie(this)),t=t.reverse(),t.__actions__.push({func:hi,args:[Wo],thisArg:i}),new Wt(t,this.__chain__)}return this.thru(Wo)}function op(){return Zs(this.__wrapped__,this.__actions__)}var ap=oi(function(e,t,o){He.call(e,o)?++e[o]:on(e,o,1)});function sp(e,t,o){var s=_e(e)?ns:Y0;return o&&yt(e,t,o)&&(t=i),s(e,pe(t,3))}function lp(e,t){var o=_e(e)?gn:As;return o(e,pe(t,3))}var up=el(wl),cp=el(_l);function fp(e,t){return ht(pi(e,t),1)}function dp(e,t){return ht(pi(e,t),K)}function hp(e,t,o){return o=o===i?1:Se(o),ht(pi(e,t),o)}function Tl(e,t){var o=_e(e)?Bt:bn;return o(e,pe(t,3))}function kl(e,t){var o=_e(e)?Od:Es;return o(e,pe(t,3))}var pp=oi(function(e,t,o){He.call(e,o)?e[o].push(t):on(e,o,[t])});function gp(e,t,o,s){e=Et(e)?e:nr(e),o=o&&!s?Se(o):0;var c=e.length;return o<0&&(o=ut(c+o,0)),bi(e)?o<=c&&e.indexOf(t,o)>-1:!!c&&Hn(e,t,o)>-1}var mp=$e(function(e,t,o){var s=-1,c=typeof t=="function",g=Et(e)?I(e.length):[];return bn(e,function(_){g[++s]=c?Rt(t,_,o):vr(_,t,o)}),g}),vp=oi(function(e,t,o){on(e,o,t)});function pi(e,t){var o=_e(e)?Xe:Os;return o(e,pe(t,3))}function yp(e,t,o,s){return e==null?[]:(_e(t)||(t=t==null?[]:[t]),o=s?i:o,_e(o)||(o=o==null?[]:[o]),zs(e,t,o))}var bp=oi(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function xp(e,t,o){var s=_e(e)?Qi:as,c=arguments.length<3;return s(e,pe(t,4),o,c,bn)}function wp(e,t,o){var s=_e(e)?Id:as,c=arguments.length<3;return s(e,pe(t,4),o,c,Es)}function _p(e,t){var o=_e(e)?gn:As;return o(e,vi(pe(t,3)))}function Cp(e){var t=_e(e)?ws:g1;return t(e)}function Sp(e,t,o){(o?yt(e,t,o):t===i)?t=1:t=Se(t);var s=_e(e)?U0:m1;return s(e,t)}function Ep(e){var t=_e(e)?q0:y1;return t(e)}function Ap(e){if(e==null)return 0;if(Et(e))return bi(e)?Un(e):e.length;var t=gt(e);return t==re||t==rt?e.size:yo(e).length}function $p(e,t,o){var s=_e(e)?Ji:b1;return o&&yt(e,t,o)&&(t=i),s(e,pe(t,3))}var Tp=$e(function(e,t){if(e==null)return[];var o=t.length;return o>1&&yt(e,t[0],t[1])?t=[]:o>2&&yt(t[0],t[1],t[2])&&(t=[t[0]]),zs(e,ht(t,1),[])}),gi=l0||function(){return dt.Date.now()};function kp(e,t){if(typeof t!="function")throw new Pt(f);return e=Se(e),function(){if(--e<1)return t.apply(this,arguments)}}function Rl(e,t,o){return t=o?i:t,t=e&&t==null?e.length:t,an(e,N,i,i,i,i,t)}function Ll(e,t){var o;if(typeof t!="function")throw new Pt(f);return e=Se(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=i),o}}var No=$e(function(e,t,o){var s=C;if(o.length){var c=vn(o,er(No));s|=F}return an(e,s,t,o,c)}),Ol=$e(function(e,t,o){var s=C|M;if(o.length){var c=vn(o,er(Ol));s|=F}return an(t,s,e,o,c)});function Il(e,t,o){t=o?i:t;var s=an(e,A,i,i,i,i,i,t);return s.placeholder=Il.placeholder,s}function Ml(e,t,o){t=o?i:t;var s=an(e,O,i,i,i,i,i,t);return s.placeholder=Ml.placeholder,s}function Fl(e,t,o){var s,c,g,_,E,R,B=0,P=!1,V=!1,ee=!0;if(typeof e!="function")throw new Pt(f);t=Ht(t)||0,Je(o)&&(P=!!o.leading,V="maxWait"in o,g=V?ut(Ht(o.maxWait)||0,t):g,ee="trailing"in o?!!o.trailing:ee);function se(ot){var Yt=s,fn=c;return s=c=i,B=ot,_=e.apply(fn,Yt),_}function ge(ot){return B=ot,E=_r(Re,t),P?se(ot):_}function Ee(ot){var Yt=ot-R,fn=ot-B,eu=t-Yt;return V?pt(eu,g-fn):eu}function me(ot){var Yt=ot-R,fn=ot-B;return R===i||Yt>=t||Yt<0||V&&fn>=g}function Re(){var ot=gi();if(me(ot))return Me(ot);E=_r(Re,Ee(ot))}function Me(ot){return E=i,ee&&s?se(ot):(s=c=i,_)}function Mt(){E!==i&&Vs(E),B=0,s=R=c=E=i}function bt(){return E===i?_:Me(gi())}function Ft(){var ot=gi(),Yt=me(ot);if(s=arguments,c=this,R=ot,Yt){if(E===i)return ge(R);if(V)return Vs(E),E=_r(Re,t),se(R)}return E===i&&(E=_r(Re,t)),_}return Ft.cancel=Mt,Ft.flush=bt,Ft}var Rp=$e(function(e,t){return Ss(e,1,t)}),Lp=$e(function(e,t,o){return Ss(e,Ht(t)||0,o)});function Op(e){return an(e,fe)}function mi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new Pt(f);var o=function(){var s=arguments,c=t?t.apply(this,s):s[0],g=o.cache;if(g.has(c))return g.get(c);var _=e.apply(this,s);return o.cache=g.set(c,_)||g,_};return o.cache=new(mi.Cache||rn),o}mi.Cache=rn;function vi(e){if(typeof e!="function")throw new Pt(f);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ip(e){return Ll(2,e)}var Mp=x1(function(e,t){t=t.length==1&&_e(t[0])?Xe(t[0],Lt(pe())):Xe(ht(t,1),Lt(pe()));var o=t.length;return $e(function(s){for(var c=-1,g=pt(s.length,o);++c<g;)s[c]=t[c].call(this,s[c]);return Rt(e,this,s)})}),Zo=$e(function(e,t){var o=vn(t,er(Zo));return an(e,F,i,t,o)}),zl=$e(function(e,t){var o=vn(t,er(zl));return an(e,W,i,t,o)}),Fp=sn(function(e,t){return an(e,q,i,i,i,t)});function zp(e,t){if(typeof e!="function")throw new Pt(f);return t=t===i?t:Se(t),$e(e,t)}function jp(e,t){if(typeof e!="function")throw new Pt(f);return t=t==null?0:ut(Se(t),0),$e(function(o){var s=o[t],c=_n(o,0,t);return s&&mn(c,s),Rt(e,this,c)})}function Bp(e,t,o){var s=!0,c=!0;if(typeof e!="function")throw new Pt(f);return Je(o)&&(s="leading"in o?!!o.leading:s,c="trailing"in o?!!o.trailing:c),Fl(e,t,{leading:s,maxWait:t,trailing:c})}function Pp(e){return Rl(e,1)}function Wp(e,t){return Zo($o(t),e)}function Dp(){if(!arguments.length)return[];var e=arguments[0];return _e(e)?e:[e]}function Np(e){return Dt(e,v)}function Zp(e,t){return t=typeof t=="function"?t:i,Dt(e,v,t)}function Hp(e){return Dt(e,T|v)}function Vp(e,t){return t=typeof t=="function"?t:i,Dt(e,T|v,t)}function Up(e,t){return t==null||Cs(e,t,ft(t))}function Xt(e,t){return e===t||e!==e&&t!==t}var qp=ui(go),Gp=ui(function(e,t){return e>=t}),Fn=ks(function(){return arguments}())?ks:function(e){return tt(e)&&He.call(e,"callee")&&!gs.call(e,"callee")},_e=I.isArray,Kp=Xa?Lt(Xa):r1;function Et(e){return e!=null&&yi(e.length)&&!un(e)}function it(e){return tt(e)&&Et(e)}function Xp(e){return e===!0||e===!1||tt(e)&&vt(e)==Z}var Cn=c0||ea,Yp=Ya?Lt(Ya):i1;function Qp(e){return tt(e)&&e.nodeType===1&&!Cr(e)}function Jp(e){if(e==null)return!0;if(Et(e)&&(_e(e)||typeof e=="string"||typeof e.splice=="function"||Cn(e)||tr(e)||Fn(e)))return!e.length;var t=gt(e);if(t==re||t==rt)return!e.size;if(wr(e))return!yo(e).length;for(var o in e)if(He.call(e,o))return!1;return!0}function eg(e,t){return yr(e,t)}function tg(e,t,o){o=typeof o=="function"?o:i;var s=o?o(e,t):i;return s===i?yr(e,t,i,o):!!s}function Ho(e){if(!tt(e))return!1;var t=vt(e);return t==le||t==ae||typeof e.message=="string"&&typeof e.name=="string"&&!Cr(e)}function ng(e){return typeof e=="number"&&vs(e)}function un(e){if(!Je(e))return!1;var t=vt(e);return t==U||t==te||t==Ke||t==at}function jl(e){return typeof e=="number"&&e==Se(e)}function yi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=X}function Je(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function tt(e){return e!=null&&typeof e=="object"}var Bl=Qa?Lt(Qa):a1;function rg(e,t){return e===t||vo(e,t,Mo(t))}function ig(e,t,o){return o=typeof o=="function"?o:i,vo(e,t,Mo(t),o)}function og(e){return Pl(e)&&e!=+e}function ag(e){if(Z1(e))throw new xe(u);return Rs(e)}function sg(e){return e===null}function lg(e){return e==null}function Pl(e){return typeof e=="number"||tt(e)&&vt(e)==Oe}function Cr(e){if(!tt(e)||vt(e)!=Pe)return!1;var t=Vr(e);if(t===null)return!0;var o=He.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Dr.call(o)==i0}var Vo=Ja?Lt(Ja):s1;function ug(e){return jl(e)&&e>=-9007199254740991&&e<=X}var Wl=es?Lt(es):l1;function bi(e){return typeof e=="string"||!_e(e)&&tt(e)&&vt(e)==st}function It(e){return typeof e=="symbol"||tt(e)&&vt(e)==Q}var tr=ts?Lt(ts):u1;function cg(e){return e===i}function fg(e){return tt(e)&&gt(e)==ke}function dg(e){return tt(e)&&vt(e)==ue}var hg=ui(bo),pg=ui(function(e,t){return e<=t});function Dl(e){if(!e)return[];if(Et(e))return bi(e)?Gt(e):St(e);if(cr&&e[cr])return Ud(e[cr]());var t=gt(e),o=t==re?oo:t==rt?Br:nr;return o(e)}function cn(e){if(!e)return e===0?e:0;if(e=Ht(e),e===K||e===-1/0){var t=e<0?-1:1;return t*ce}return e===e?e:0}function Se(e){var t=cn(e),o=t%1;return t===t?o?t-o:t:0}function Nl(e){return e?Ln(Se(e),0,be):0}function Ht(e){if(typeof e=="number")return e;if(It(e))return Te;if(Je(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Je(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ss(e);var o=Kf.test(e);return o||Yf.test(e)?kd(e.slice(2),o?2:8):Gf.test(e)?Te:+e}function Zl(e){return en(e,At(e))}function gg(e){return e?Ln(Se(e),-9007199254740991,X):e===0?e:0}function Ze(e){return e==null?"":Ot(e)}var mg=Qn(function(e,t){if(wr(t)||Et(t)){en(t,ft(t),e);return}for(var o in t)He.call(t,o)&&gr(e,o,t[o])}),Hl=Qn(function(e,t){en(t,At(t),e)}),xi=Qn(function(e,t,o,s){en(t,At(t),e,s)}),vg=Qn(function(e,t,o,s){en(t,ft(t),e,s)}),yg=sn(fo);function bg(e,t){var o=Yn(e);return t==null?o:_s(o,t)}var xg=$e(function(e,t){e=Ue(e);var o=-1,s=t.length,c=s>2?t[2]:i;for(c&&yt(t[0],t[1],c)&&(s=1);++o<s;)for(var g=t[o],_=At(g),E=-1,R=_.length;++E<R;){var B=_[E],P=e[B];(P===i||Xt(P,Gn[B])&&!He.call(e,B))&&(e[B]=g[B])}return e}),wg=$e(function(e){return e.push(i,sl),Rt(Vl,i,e)});function _g(e,t){return rs(e,pe(t,3),Jt)}function Cg(e,t){return rs(e,pe(t,3),po)}function Sg(e,t){return e==null?e:ho(e,pe(t,3),At)}function Eg(e,t){return e==null?e:$s(e,pe(t,3),At)}function Ag(e,t){return e&&Jt(e,pe(t,3))}function $g(e,t){return e&&po(e,pe(t,3))}function Tg(e){return e==null?[]:ti(e,ft(e))}function kg(e){return e==null?[]:ti(e,At(e))}function Uo(e,t,o){var s=e==null?i:On(e,t);return s===i?o:s}function Rg(e,t){return e!=null&&cl(e,t,J0)}function qo(e,t){return e!=null&&cl(e,t,e1)}var Lg=nl(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Nr.call(t)),e[t]=o},Ko($t)),Og=nl(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Nr.call(t)),He.call(e,t)?e[t].push(o):e[t]=[o]},pe),Ig=$e(vr);function ft(e){return Et(e)?xs(e):yo(e)}function At(e){return Et(e)?xs(e,!0):c1(e)}function Mg(e,t){var o={};return t=pe(t,3),Jt(e,function(s,c,g){on(o,t(s,c,g),s)}),o}function Fg(e,t){var o={};return t=pe(t,3),Jt(e,function(s,c,g){on(o,c,t(s,c,g))}),o}var zg=Qn(function(e,t,o){ni(e,t,o)}),Vl=Qn(function(e,t,o,s){ni(e,t,o,s)}),jg=sn(function(e,t){var o={};if(e==null)return o;var s=!1;t=Xe(t,function(g){return g=wn(g,e),s||(s=g.length>1),g}),en(e,Oo(e),o),s&&(o=Dt(o,T|x|v,L1));for(var c=t.length;c--;)So(o,t[c]);return o});function Bg(e,t){return Ul(e,vi(pe(t)))}var Pg=sn(function(e,t){return e==null?{}:d1(e,t)});function Ul(e,t){if(e==null)return{};var o=Xe(Oo(e),function(s){return[s]});return t=pe(t),js(e,o,function(s,c){return t(s,c[0])})}function Wg(e,t,o){t=wn(t,e);var s=-1,c=t.length;for(c||(c=1,e=i);++s<c;){var g=e==null?i:e[tn(t[s])];g===i&&(s=c,g=o),e=un(g)?g.call(e):g}return e}function Dg(e,t,o){return e==null?e:br(e,t,o)}function Ng(e,t,o,s){return s=typeof s=="function"?s:i,e==null?e:br(e,t,o,s)}var ql=ol(ft),Gl=ol(At);function Zg(e,t,o){var s=_e(e),c=s||Cn(e)||tr(e);if(t=pe(t,4),o==null){var g=e&&e.constructor;c?o=s?new g:[]:Je(e)?o=un(g)?Yn(Vr(e)):{}:o={}}return(c?Bt:Jt)(e,function(_,E,R){return t(o,_,E,R)}),o}function Hg(e,t){return e==null?!0:So(e,t)}function Vg(e,t,o){return e==null?e:Ns(e,t,$o(o))}function Ug(e,t,o,s){return s=typeof s=="function"?s:i,e==null?e:Ns(e,t,$o(o),s)}function nr(e){return e==null?[]:io(e,ft(e))}function qg(e){return e==null?[]:io(e,At(e))}function Gg(e,t,o){return o===i&&(o=t,t=i),o!==i&&(o=Ht(o),o=o===o?o:0),t!==i&&(t=Ht(t),t=t===t?t:0),Ln(Ht(e),t,o)}function Kg(e,t,o){return t=cn(t),o===i?(o=t,t=0):o=cn(o),e=Ht(e),t1(e,t,o)}function Xg(e,t,o){if(o&&typeof o!="boolean"&&yt(e,t,o)&&(t=o=i),o===i&&(typeof t=="boolean"?(o=t,t=i):typeof e=="boolean"&&(o=e,e=i)),e===i&&t===i?(e=0,t=1):(e=cn(e),t===i?(t=e,e=0):t=cn(t)),e>t){var s=e;e=t,t=s}if(o||e%1||t%1){var c=ys();return pt(e+c*(t-e+Td("1e-"+((c+"").length-1))),t)}return wo(e,t)}var Yg=Jn(function(e,t,o){return t=t.toLowerCase(),e+(o?Kl(t):t)});function Kl(e){return Go(Ze(e).toLowerCase())}function Xl(e){return e=Ze(e),e&&e.replace(Jf,Dd).replace(yd,"")}function Qg(e,t,o){e=Ze(e),t=Ot(t);var s=e.length;o=o===i?s:Ln(Se(o),0,s);var c=o;return o-=t.length,o>=0&&e.slice(o,c)==t}function Jg(e){return e=Ze(e),e&&If.test(e)?e.replace($a,Nd):e}function em(e){return e=Ze(e),e&&Pf.test(e)?e.replace(Ni,"\\$&"):e}var tm=Jn(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),nm=Jn(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),rm=Js("toLowerCase");function im(e,t,o){e=Ze(e),t=Se(t);var s=t?Un(e):0;if(!t||s>=t)return e;var c=(t-s)/2;return li(Kr(c),o)+e+li(Gr(c),o)}function om(e,t,o){e=Ze(e),t=Se(t);var s=t?Un(e):0;return t&&s<t?e+li(t-s,o):e}function am(e,t,o){e=Ze(e),t=Se(t);var s=t?Un(e):0;return t&&s<t?li(t-s,o)+e:e}function sm(e,t,o){return o||t==null?t=0:t&&(t=+t),p0(Ze(e).replace(Zi,""),t||0)}function lm(e,t,o){return(o?yt(e,t,o):t===i)?t=1:t=Se(t),_o(Ze(e),t)}function um(){var e=arguments,t=Ze(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var cm=Jn(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()});function fm(e,t,o){return o&&typeof o!="number"&&yt(e,t,o)&&(t=o=i),o=o===i?be:o>>>0,o?(e=Ze(e),e&&(typeof t=="string"||t!=null&&!Vo(t))&&(t=Ot(t),!t&&Vn(e))?_n(Gt(e),0,o):e.split(t,o)):[]}var dm=Jn(function(e,t,o){return e+(o?" ":"")+Go(t)});function hm(e,t,o){return e=Ze(e),o=o==null?0:Ln(Se(o),0,e.length),t=Ot(t),e.slice(o,o+t.length)==t}function pm(e,t,o){var s=p.templateSettings;o&&yt(e,t,o)&&(t=i),e=Ze(e),t=xi({},t,s,al);var c=xi({},t.imports,s.imports,al),g=ft(c),_=io(c,g),E,R,B=0,P=t.interpolate||Ir,V="__p += '",ee=ao((t.escape||Ir).source+"|"+P.source+"|"+(P===Ta?qf:Ir).source+"|"+(t.evaluate||Ir).source+"|$","g"),se="//# sourceURL="+(He.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Cd+"]")+`
11
+ `;e.replace(ee,function(me,Re,Me,Mt,bt,Ft){return Me||(Me=Mt),V+=e.slice(B,Ft).replace(ed,Zd),Re&&(E=!0,V+=`' +
12
+ __e(`+Re+`) +
13
+ '`),bt&&(R=!0,V+=`';
14
+ `+bt+`;
15
+ __p += '`),Me&&(V+=`' +
16
+ ((__t = (`+Me+`)) == null ? '' : __t) +
17
+ '`),B=Ft+me.length,me}),V+=`';
18
+ `;var ge=He.call(t,"variable")&&t.variable;if(!ge)V=`with (obj) {
19
19
  `+V+`
20
20
  }
21
- `;else if(Vf.test(fe))throw new ye(p);V=(R?V.replace(kf,""):V).replace(Rf,"$1").replace(Lf,"$1;"),V="function("+(fe||"obj")+`) {
22
- `+(fe?"":`obj || (obj = {});
21
+ `;else if(Vf.test(ge))throw new xe(h);V=(R?V.replace(kf,""):V).replace(Rf,"$1").replace(Lf,"$1;"),V="function("+(ge||"obj")+`) {
22
+ `+(ge?"":`obj || (obj = {});
23
23
  `)+"var __t, __p = ''"+(E?", __e = _.escape":"")+(R?`, __j = Array.prototype.join;
24
24
  function print() { __p += __j.call(arguments, '') }
25
25
  `:`;
26
26
  `)+V+`return __p
27
- }`;var Ae=Ql(function(){return Be(g,oe+"return "+V).apply(i,_)});if(Ae.source=V,Ho(Ae))throw Ae;return Ae}function gm(e){return We(e).toLowerCase()}function mm(e){return We(e).toUpperCase()}function vm(e,t,o){if(e=We(e),e&&(o||t===i))return ss(e);if(!e||!(t=Ot(t)))return e;var s=Gt(e),c=Gt(t),g=ls(s,c),_=us(s,c)+1;return _n(s,g,_).join("")}function ym(e,t,o){if(e=We(e),e&&(o||t===i))return e.slice(0,fs(e)+1);if(!e||!(t=Ot(t)))return e;var s=Gt(e),c=us(s,Gt(t))+1;return _n(s,0,c).join("")}function bm(e,t,o){if(e=We(e),e&&(o||t===i))return e.replace(Zi,"");if(!e||!(t=Ot(t)))return e;var s=Gt(e),c=ls(s,Gt(t));return _n(s,c).join("")}function xm(e,t){var o=pe,s=Ce;if(Ke(t)){var c="separator"in t?t.separator:c;o="length"in t?Ee(t.length):o,s="omission"in t?Ot(t.omission):s}e=We(e);var g=e.length;if(Hn(e)){var _=Gt(e);g=_.length}if(o>=g)return e;var E=o-Vn(s);if(E<1)return s;var R=_?_n(_,0,E).join(""):e.slice(0,E);if(c===i)return R+s;if(_&&(E+=R.length-E),Vo(c)){if(e.slice(E).search(c)){var P,W=R;for(c.global||(c=ao(c.source,We(ka.exec(c))+"g")),c.lastIndex=0;P=c.exec(W);)var V=P.index;R=R.slice(0,V===i?E:V)}}else if(e.indexOf(Ot(c),E)!=E){var te=R.lastIndexOf(c);te>-1&&(R=R.slice(0,te))}return R+s}function wm(e){return e=We(e),e&&Of.test(e)?e.replace(Aa,Xd):e}var _m=Qn(function(e,t,o){return e+(o?" ":"")+t.toUpperCase()}),Go=Js("toUpperCase");function Yl(e,t,o){return e=We(e),t=o?i:t,t===i?Vd(e)?Jd(e):zd(e):e.match(t)||[]}var Ql=$e(function(e,t){try{return Rt(e,i,t)}catch(o){return Ho(o)?o:new ye(o)}}),Cm=sn(function(e,t){return Bt(t,function(o){o=tn(o),on(e,o,No(e[o],e))}),e});function Sm(e){var t=e==null?0:e.length,o=ue();return e=t?Ge(e,function(s){if(typeof s[1]!="function")throw new Pt(f);return[o(s[0]),s[1]]}):[],$e(function(s){for(var c=-1;++c<t;){var g=e[c];if(Rt(g[0],this,s))return Rt(g[1],this,s)}})}function Em(e){return X0(Dt(e,T))}function Ko(e){return function(){return e}}function Am(e,t){return e==null||e!==e?t:e}var $m=tl(),Tm=tl(!0);function $t(e){return e}function Xo(e){return Ls(typeof e=="function"?e:Dt(e,T))}function km(e){return Is(Dt(e,T))}function Rm(e,t){return Ms(e,Dt(t,T))}var Lm=$e(function(e,t){return function(o){return vr(o,e,t)}}),Om=$e(function(e,t){return function(o){return vr(e,o,t)}});function Yo(e,t,o){var s=lt(t),c=ti(t,s);o==null&&!(Ke(t)&&(c.length||!s.length))&&(o=t,t=e,e=this,c=ti(t,lt(t)));var g=!(Ke(o)&&"chain"in o)||!!o.chain,_=un(e);return Bt(c,function(E){var R=t[E];e[E]=R,_&&(e.prototype[E]=function(){var P=this.__chain__;if(g||P){var W=e(this.__wrapped__),V=W.__actions__=St(this.__actions__);return V.push({func:R,args:arguments,thisArg:e}),W.__chain__=P,W}return R.apply(e,mn([this.value()],arguments))})}),e}function Im(){return ct._===this&&(ct._=o0),this}function Qo(){}function Mm(e){return e=Ee(e),$e(function(t){return Fs(t,e)})}var Fm=ko(Ge),zm=ko(ns),jm=ko(Ji);function Jl(e){return zo(e)?eo(tn(e)):h1(e)}function Bm(e){return function(t){return e==null?i:On(e,t)}}var Pm=rl(),Wm=rl(!0);function Jo(){return[]}function ea(){return!1}function Dm(){return{}}function Nm(){return""}function Zm(){return!0}function Hm(e,t){if(e=Ee(e),e<1||e>Q)return[];var o=be,s=ht(e,be);t=ue(t),e-=be;for(var c=ro(s,t);++o<e;)t(o);return c}function Vm(e){return we(e)?Ge(e,tn):It(e)?[e]:St(bl(We(e)))}function Um(e){var t=++r0;return We(e)+t}var qm=si(function(e,t){return e+t},0),Gm=Ro("ceil"),Km=si(function(e,t){return e/t},1),Xm=Ro("floor");function Ym(e){return e&&e.length?ei(e,$t,go):i}function Qm(e,t){return e&&e.length?ei(e,ue(t,2),go):i}function Jm(e){return os(e,$t)}function e2(e,t){return os(e,ue(t,2))}function t2(e){return e&&e.length?ei(e,$t,bo):i}function n2(e,t){return e&&e.length?ei(e,ue(t,2),bo):i}var r2=si(function(e,t){return e*t},1),i2=Ro("round"),o2=si(function(e,t){return e-t},0);function a2(e){return e&&e.length?no(e,$t):0}function s2(e,t){return e&&e.length?no(e,ue(t,2)):0}return h.after=kp,h.ary=Rl,h.assign=mg,h.assignIn=Hl,h.assignInWith=xi,h.assignWith=vg,h.at=yg,h.before=Ll,h.bind=No,h.bindAll=Cm,h.bindKey=Ol,h.castArray=Dp,h.chain=$l,h.chunk=X1,h.compact=Y1,h.concat=Q1,h.cond=Sm,h.conforms=Em,h.constant=Ko,h.countBy=ap,h.create=bg,h.curry=Il,h.curryRight=Ml,h.debounce=Fl,h.defaults=xg,h.defaultsDeep=wg,h.defer=Rp,h.delay=Lp,h.difference=J1,h.differenceBy=eh,h.differenceWith=th,h.drop=nh,h.dropRight=rh,h.dropRightWhile=ih,h.dropWhile=oh,h.fill=ah,h.filter=lp,h.flatMap=fp,h.flatMapDeep=dp,h.flatMapDepth=hp,h.flatten=Cl,h.flattenDeep=sh,h.flattenDepth=lh,h.flip=Op,h.flow=$m,h.flowRight=Tm,h.fromPairs=uh,h.functions=Tg,h.functionsIn=kg,h.groupBy=pp,h.initial=fh,h.intersection=dh,h.intersectionBy=hh,h.intersectionWith=ph,h.invert=Lg,h.invertBy=Og,h.invokeMap=mp,h.iteratee=Xo,h.keyBy=vp,h.keys=lt,h.keysIn=At,h.map=pi,h.mapKeys=Mg,h.mapValues=Fg,h.matches=km,h.matchesProperty=Rm,h.memoize=mi,h.merge=zg,h.mergeWith=Vl,h.method=Lm,h.methodOf=Om,h.mixin=Yo,h.negate=vi,h.nthArg=Mm,h.omit=jg,h.omitBy=Bg,h.once=Ip,h.orderBy=yp,h.over=Fm,h.overArgs=Mp,h.overEvery=zm,h.overSome=jm,h.partial=Zo,h.partialRight=zl,h.partition=bp,h.pick=Pg,h.pickBy=Ul,h.property=Jl,h.propertyOf=Bm,h.pull=yh,h.pullAll=El,h.pullAllBy=bh,h.pullAllWith=xh,h.pullAt=wh,h.range=Pm,h.rangeRight=Wm,h.rearg=Fp,h.reject=_p,h.remove=_h,h.rest=zp,h.reverse=Wo,h.sampleSize=Sp,h.set=Dg,h.setWith=Ng,h.shuffle=Ep,h.slice=Ch,h.sortBy=Tp,h.sortedUniq=Rh,h.sortedUniqBy=Lh,h.split=fm,h.spread=jp,h.tail=Oh,h.take=Ih,h.takeRight=Mh,h.takeRightWhile=Fh,h.takeWhile=zh,h.tap=Yh,h.throttle=Bp,h.thru=hi,h.toArray=Dl,h.toPairs=ql,h.toPairsIn=Gl,h.toPath=Vm,h.toPlainObject=Zl,h.transform=Zg,h.unary=Pp,h.union=jh,h.unionBy=Bh,h.unionWith=Ph,h.uniq=Wh,h.uniqBy=Dh,h.uniqWith=Nh,h.unset=Hg,h.unzip=Do,h.unzipWith=Al,h.update=Vg,h.updateWith=Ug,h.values=tr,h.valuesIn=qg,h.without=Zh,h.words=Yl,h.wrap=Wp,h.xor=Hh,h.xorBy=Vh,h.xorWith=Uh,h.zip=qh,h.zipObject=Gh,h.zipObjectDeep=Kh,h.zipWith=Xh,h.entries=ql,h.entriesIn=Gl,h.extend=Hl,h.extendWith=xi,Yo(h,h),h.add=qm,h.attempt=Ql,h.camelCase=Yg,h.capitalize=Kl,h.ceil=Gm,h.clamp=Gg,h.clone=Np,h.cloneDeep=Hp,h.cloneDeepWith=Vp,h.cloneWith=Zp,h.conformsTo=Up,h.deburr=Xl,h.defaultTo=Am,h.divide=Km,h.endsWith=Qg,h.eq=Xt,h.escape=Jg,h.escapeRegExp=em,h.every=sp,h.find=up,h.findIndex=wl,h.findKey=_g,h.findLast=cp,h.findLastIndex=_l,h.findLastKey=Cg,h.floor=Xm,h.forEach=Tl,h.forEachRight=kl,h.forIn=Sg,h.forInRight=Eg,h.forOwn=Ag,h.forOwnRight=$g,h.get=Uo,h.gt=qp,h.gte=Gp,h.has=Rg,h.hasIn=qo,h.head=Sl,h.identity=$t,h.includes=gp,h.indexOf=ch,h.inRange=Kg,h.invoke=Ig,h.isArguments=Fn,h.isArray=we,h.isArrayBuffer=Kp,h.isArrayLike=Et,h.isArrayLikeObject=nt,h.isBoolean=Xp,h.isBuffer=Cn,h.isDate=Yp,h.isElement=Qp,h.isEmpty=Jp,h.isEqual=eg,h.isEqualWith=tg,h.isError=Ho,h.isFinite=ng,h.isFunction=un,h.isInteger=jl,h.isLength=yi,h.isMap=Bl,h.isMatch=rg,h.isMatchWith=ig,h.isNaN=og,h.isNative=ag,h.isNil=lg,h.isNull=sg,h.isNumber=Pl,h.isObject=Ke,h.isObjectLike=Qe,h.isPlainObject=Cr,h.isRegExp=Vo,h.isSafeInteger=ug,h.isSet=Wl,h.isString=bi,h.isSymbol=It,h.isTypedArray=er,h.isUndefined=cg,h.isWeakMap=fg,h.isWeakSet=dg,h.join=gh,h.kebabCase=tm,h.last=Zt,h.lastIndexOf=mh,h.lowerCase=nm,h.lowerFirst=rm,h.lt=hg,h.lte=pg,h.max=Ym,h.maxBy=Qm,h.mean=Jm,h.meanBy=e2,h.min=t2,h.minBy=n2,h.stubArray=Jo,h.stubFalse=ea,h.stubObject=Dm,h.stubString=Nm,h.stubTrue=Zm,h.multiply=r2,h.nth=vh,h.noConflict=Im,h.noop=Qo,h.now=gi,h.pad=im,h.padEnd=om,h.padStart=am,h.parseInt=sm,h.random=Xg,h.reduce=xp,h.reduceRight=wp,h.repeat=lm,h.replace=um,h.result=Wg,h.round=i2,h.runInContext=k,h.sample=Cp,h.size=Ap,h.snakeCase=cm,h.some=$p,h.sortedIndex=Sh,h.sortedIndexBy=Eh,h.sortedIndexOf=Ah,h.sortedLastIndex=$h,h.sortedLastIndexBy=Th,h.sortedLastIndexOf=kh,h.startCase=dm,h.startsWith=hm,h.subtract=o2,h.sum=a2,h.sumBy=s2,h.template=pm,h.times=Hm,h.toFinite=cn,h.toInteger=Ee,h.toLength=Nl,h.toLower=gm,h.toNumber=Ht,h.toSafeInteger=gg,h.toString=We,h.toUpper=mm,h.trim=vm,h.trimEnd=ym,h.trimStart=bm,h.truncate=xm,h.unescape=wm,h.uniqueId=Um,h.upperCase=_m,h.upperFirst=Go,h.each=Tl,h.eachRight=kl,h.first=Sl,Yo(h,function(){var e={};return Jt(h,function(t,o){De.call(h.prototype,o)||(e[o]=t)}),e}(),{chain:!1}),h.VERSION=a,Bt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){h[e].placeholder=h}),Bt(["drop","take"],function(e,t){Le.prototype[e]=function(o){o=o===i?1:ot(Ee(o),0);var s=this.__filtered__&&!t?new Le(this):this.clone();return s.__filtered__?s.__takeCount__=ht(o,s.__takeCount__):s.__views__.push({size:ht(o,be),type:e+(s.__dir__<0?"Right":"")}),s},Le.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Bt(["filter","map","takeWhile"],function(e,t){var o=t+1,s=o==Z||o==J;Le.prototype[e]=function(c){var g=this.clone();return g.__iteratees__.push({iteratee:ue(c,3),type:o}),g.__filtered__=g.__filtered__||s,g}}),Bt(["head","last"],function(e,t){var o="take"+(t?"Right":"");Le.prototype[e]=function(){return this[o](1).value()[0]}}),Bt(["initial","tail"],function(e,t){var o="drop"+(t?"":"Right");Le.prototype[e]=function(){return this.__filtered__?new Le(this):this[o](1)}}),Le.prototype.compact=function(){return this.filter($t)},Le.prototype.find=function(e){return this.filter(e).head()},Le.prototype.findLast=function(e){return this.reverse().find(e)},Le.prototype.invokeMap=$e(function(e,t){return typeof e=="function"?new Le(this):this.map(function(o){return vr(o,e,t)})}),Le.prototype.reject=function(e){return this.filter(vi(ue(e)))},Le.prototype.slice=function(e,t){e=Ee(e);var o=this;return o.__filtered__&&(e>0||t<0)?new Le(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),t!==i&&(t=Ee(t),o=t<0?o.dropRight(-t):o.take(t-e)),o)},Le.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Le.prototype.toArray=function(){return this.take(be)},Jt(Le.prototype,function(e,t){var o=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),c=h[s?"take"+(t=="last"?"Right":""):t],g=s||/^find/.test(t);c&&(h.prototype[t]=function(){var _=this.__wrapped__,E=s?[1]:arguments,R=_ instanceof Le,P=E[0],W=R||we(_),V=function(ke){var Oe=c.apply(h,mn([ke],E));return s&&te?Oe[0]:Oe};W&&o&&typeof P=="function"&&P.length!=1&&(R=W=!1);var te=this.__chain__,oe=!!this.__actions__.length,fe=g&&!te,Ae=R&&!oe;if(!g&&W){_=Ae?_:new Le(this);var de=e.apply(_,E);return de.__actions__.push({func:hi,args:[V],thisArg:i}),new Wt(de,te)}return fe&&Ae?e.apply(this,E):(de=this.thru(V),fe?s?de.value()[0]:de.value():de)})}),Bt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Pr[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);h.prototype[e]=function(){var c=arguments;if(s&&!this.__chain__){var g=this.value();return t.apply(we(g)?g:[],c)}return this[o](function(_){return t.apply(we(_)?_:[],c)})}}),Jt(Le.prototype,function(e,t){var o=h[t];if(o){var s=o.name+"";De.call(Kn,s)||(Kn[s]=[]),Kn[s].push({name:t,func:o})}}),Kn[ai(i,M).name]=[{name:"wrapper",func:i}],Le.prototype.clone=w0,Le.prototype.reverse=_0,Le.prototype.value=C0,h.prototype.at=Qh,h.prototype.chain=Jh,h.prototype.commit=ep,h.prototype.next=tp,h.prototype.plant=rp,h.prototype.reverse=ip,h.prototype.toJSON=h.prototype.valueOf=h.prototype.value=op,h.prototype.first=h.prototype.head,cr&&(h.prototype[cr]=np),h},Un=e0();$n?(($n.exports=Un)._=Un,Ki._=Un):ct._=Un}).call(f2)}(Er,Er.exports)),Er.exports}var Ie=d2();const la=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),ua=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),h2=n=>["none","hairline","thin","thick","heavy"].includes(n),Ku=n=>["none","xs","sm","md","lg","xl","full"].includes(n),Mi={transparent:"#FFFFFF00",white:"#FFFFFF",black:"#000000",primary:"#6949FF",secondary:"#FFC107",success:"#12D18E",danger:"#F75555",warning:"#FACC15",info:"#6949FF",grey100:"#F5F5F5",grey200:"#EEEEEE",grey300:"#E0E0E0",grey400:"#BDBDBD",grey500:"#9E9E9E",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",orange100:"#FFF3E0",orange200:"#FFE0B2",orange300:"#FFCC80",orange400:"#FFB74D",orange500:"#FF9800",orange600:"#FB8C00",orange700:"#F57C00",orange800:"#EF6C00",orange900:"#E65100",cyan100:"#E0F7FA",cyan200:"#B2EBF2",cyan300:"#80DEEA",cyan400:"#4DD0E1",cyan500:"#26C6DA",cyan600:"#00BCD4",cyan700:"#00ACC1",cyan800:"#0097A7",cyan900:"#006064",purple100:"#F3E5F5",purple200:"#E1BEE7",purple300:"#CE93D8",purple400:"#BA68C8",purple500:"#AB47BC",purple600:"#9C27B0",purple700:"#8E24AA",purple800:"#7B1FA2",purple900:"#6A1B9A",teal100:"#E0F2F1",teal200:"#B2DFDB",teal300:"#80CBC4",teal400:"#4DB6AC",teal500:"#26A69A",teal600:"#009688",teal700:"#00897B",teal800:"#00796B",teal900:"#004D40",lime100:"#F9FBE7",lime200:"#F0F4C3",lime300:"#E6EE9C",lime400:"#DCE775",lime500:"#CDDC39",lime600:"#C0CA33",lime700:"#AFB42B",lime800:"#9E9D24",lime900:"#827717",pink100:"#FCE4EC",pink200:"#F8BBD0",pink300:"#F48FB1",pink400:"#F06292",pink500:"#EC4899",pink600:"#E91E63",pink700:"#D81B60",pink800:"#C2185B",pink900:"#880E4F",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},Xu=n=>n in Mi,Yu={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},p2=n=>["primary","secondary","success","danger","warning","info"].includes(n),g2=1,m2=8,v2=8,y2="Inter",b2="Sora",x2=10,w2=4,hn={borderWidth:g2,space:m2,size:v2,font:{neutral:y2,heading:b2},fontSize:x2,radius:w2},Qu=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),_2=n=>["none","sm","md","lg"].includes(n),ca=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),Bn=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),fa=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),Ju=n=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(n),da=({neutral:n,heading:r})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),Fi=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),ha=n=>{const r=Fi(n),i=1.4;return{"2xs":r["2xs"]*i,xs:r.xs*i,small:r.small*i,medium:r.medium*i,large:r.large*i,xl:r.xl*i,"2xl":r["2xl"]*i,"3xl":r["3xl"]*i,"4xl":r["4xl"]*i,"5xl":r["5xl"]*i,"6xl":r["6xl"]*i}},pa=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),C2=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),S2=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n);class E2{constructor({baseZIndex:r=10,step:i=10}={}){nr(this,"dependencies",new Map);nr(this,"zIndexes",null);nr(this,"nodes",new Set);nr(this,"baseZIndex");nr(this,"step");this.baseZIndex=r,this.step=i}register(r,i){this.nodes.add(r),this.nodes.add(i),this.dependencies.has(r)||this.dependencies.set(r,new Set),this.dependencies.get(r).add(i),this.zIndexes=null}deregister(r,i){const a=this.dependencies.get(r);a&&a.delete(i),this.zIndexes=null}getZIndex(r){return this.zIndexes||this._calculateZIndexes(),this.zIndexes.has(r)?this.zIndexes.get(r):(console.warn(`[ZIndexRegistry] ID '${r}' not found in the calculated z-index map. Returning a fallback value. Was it ever registered?`),this.baseZIndex)}_calculateZIndexes(){const r=new Map;for(const l of this.nodes)r.set(l,0);for(const l of this.dependencies.values())for(const u of l)r.set(u,(r.get(u)||0)+1);const i=[];for(const[l,u]of r.entries())u===0&&i.push(l);const a=[];for(;i.length>0;){const l=i.shift();a.push(l);const u=this.dependencies.get(l)||new Set;for(const f of u){const p=(r.get(f)||0)-1;r.set(f,p),p===0&&i.push(f)}}if(a.length!==this.nodes.size){if(process.env.NODE_ENV!=="production")throw new Error("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.");console.warn("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.")}this.zIndexes=new Map;for(let l=0;l<a.length;l++){const u=a[l];this.zIndexes.set(u,this.baseZIndex+l*this.step)}}}const Wn=new E2({baseZIndex:100,step:10}),Qt={AIC_Kits_PageContent:"AIC_Kits_PageContent",AIC_Kits_Carousel:"AIC_Kits_Carousel",AIC_Kits_Dropdown:"AIC_Kits_Dropdown",AIC_Kits_Tooltip:"AIC_Kits_Tooltip",AIC_Kits_Modal:"AIC_Kits_Modal",AIC_Kits_Notification:"AIC_Kits_Notification"};Wn.register(Qt.AIC_Kits_PageContent,Qt.AIC_Kits_Carousel);Wn.register(Qt.AIC_Kits_Carousel,Qt.AIC_Kits_Dropdown);Wn.register(Qt.AIC_Kits_Dropdown,Qt.AIC_Kits_Tooltip);Wn.register(Qt.AIC_Kits_Tooltip,Qt.AIC_Kits_Modal);Wn.register(Qt.AIC_Kits_Modal,Qt.AIC_Kits_Notification);const A2=(n=hn,r=Mi,i=Yu)=>{const a=da(n.font),l=Fi(n.fontSize),u=ha(n.fontSize),f=pa(),p=la(n.borderWidth),v=fa(n.space),y=ca(n.size),$=ua(n.radius),T=Qu(r);return{colors:r,gradientColors:i,fonts:a,fontSizes:l,lineHeights:u,fontWeights:f,borderWidths:p,spaces:v,sizes:y,radii:$,shadows:T}},ec=n=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),tc=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),nc=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),rc=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{barSpacing:8,barRadius:2,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},md:{barSpacing:12,barRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},lg:{barSpacing:16,barRadius:6,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"}},variants:{default:{defaultBarColor:"primary"},soft:{defaultBarColor:"secondary"},outlined:{defaultBarColor:"info"}}}),ic=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),oc=n=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),ac=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),sc=n=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),lc=n=>({defaultColor:"grey300",defaultThickness:1}),uc=n=>{const r=`0 0 16px 4px ${n.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",loadingSize:"small"},medium:{fontSize:"medium",loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:r},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:r},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},cc=n=>{const r="grey300",i="danger",a="primary",l="grey100",u="grey300",f="grey500",p="white",v="grey900",y="thin",$=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[a]}`,T=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:y,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:v,disabledTextColor:f,disabledBorderColor:u,focusColor:a,errorColor:i,states:{default:{borderColor:r,backgroundColor:p,boxShadow:"none"},focused:{borderColor:a,backgroundColor:p,boxShadow:$},error:{borderColor:i,backgroundColor:p,boxShadow:T},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},fc=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1.5,dotRadius:3,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,dotRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,dotRadius:5,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","purple500"]},soft:{defaultColors:["primary300","secondary300","teal300","lime400","pink400","purple400","cyan400"]},bold:{defaultColors:["primary500","secondary500","teal600","orange600","pink600","purple600","cyan600"]}}}),dc=n=>({defaultGap:"sm",defaultPadding:"none"}),hc=n=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),pc=n=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),gc=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1,strokeColor:"white",labelColor:"grey700",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,strokeColor:"white",labelColor:"grey700",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,strokeColor:"white",labelColor:"grey700",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","cyan500"]},soft:{defaultColors:["primary200","secondary200","lime300","orange300","pink300","purple300","cyan300"]},outlined:{defaultColors:["primary500","secondary500","teal700","orange700","pink700","purple700","cyan700"]}}}),mc=n=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),vc=n=>{const r="grey300",i="danger",a="grey300",l="grey100",u="grey400",f="grey100",p="grey200",v="white",y="transparent",$="thin",T="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:u,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:u,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:y,borderColor:r,borderWidth:$},hover:{backgroundColor:"grey100",borderColor:r,borderWidth:$},focused:{backgroundColor:y,borderColor:"primary",borderWidth:T},disabled:{backgroundColor:y,borderColor:a,borderWidth:$},errored:{backgroundColor:y,borderColor:i,borderWidth:$}},filled:{default:{backgroundColor:f,borderColor:y,borderWidth:$},hover:{backgroundColor:p,borderColor:y,borderWidth:$},focused:{backgroundColor:v,borderColor:"primary",borderWidth:T},disabled:{backgroundColor:l,borderColor:y,borderWidth:$},errored:{backgroundColor:v,borderColor:i,borderWidth:$}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:v,borderColor:r,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},yc=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),bc=n=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),xc=n=>{const r="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:r,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:r},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:r},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:r},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:r}}}}},wc=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),_c=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),Cc=n=>({art:tc(),base:ic(),button:oc(),divider:lc(),header:uc(n),input:cc(n),list:dc(),loading:hc(),pagination:pc(),skeleton:yc(),touchable:wc(),vimeo:_c(),carousel:ac(),accordion:ec(),tag:bc(),checkbox:sc(),select:vc(),progress:mc(),avatar:nc(),tooltip:xc(),barChart:rc(),pieChart:gc(),lineChart:fc()}),$2=fa(hn.space),T2=ca(hn.size),k2=la(hn.borderWidth),R2=ua(hn.radius),L2=Fi(hn.fontSize),O2=ha(hn.fontSize),I2=pa(),nu=da(hn.font),M2={spaces:$2,sizes:T2,colors:Mi,radii:R2,borderWidths:k2,fonts:nu,zIndex:Wn,__hd__:{text:{fontSizes:L2,lineHeights:O2,fontWeights:I2,fonts:nu}}};function Sc(){const n=M2,r=Cc(n);return{...n,__hd__:{...n.__hd__,...r}}}const Ai=Sc(),ie=Sn.styled,En=Sn.keyframes,Je=Sn.css,Ec=(n,r)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(n),F2=n=>typeof n=="function"?n(Ai):n?{...Ai,...n}:Ai,z2=({theme:n,children:r})=>{const i=F2(n);return w.jsx(Sn.StyleSheetManager,{shouldForwardProp:Ec,children:w.jsx(Sn.ThemeProvider,{theme:i,children:r})})},_e=Sn.useTheme,xt=()=>typeof document>"u",Rr={xs:0,sm:600,md:900,lg:1200,xl:1536},$r=Object.keys(Rr),zi=n=>Ie.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),zt=(n,r)=>zi(n)?Object.fromEntries(Object.entries(n).map(([i,a])=>[i,r(a)])):r(n),ra=n=>Ie.reduce(n,(r,i,a)=>(Ie.forEach(i,(l,u)=>{Ie.has(r,u)||Ie.set(r,u,{}),Ie.set(r,[u,a],l)}),r),{}),Ac=(n,r)=>{const i=Object.fromEntries(Object.keys(n).map(p=>[p,ga(n[p])])),a=ra(i),l=Object.fromEntries($r.map(p=>[p,r(a[p])])),u=ra(l);return Object.fromEntries(Object.entries(u).map(([p,v])=>[p,Tc(v)]))},$c=(n,r)=>{if(!zi(n))return n;switch(r){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},ga=n=>Object.fromEntries(Object.keys(Rr).map(r=>[r,$c(n,r)])),Tc=n=>{let r=n.xs;const i={xs:r};for(let a=1;a<$r.length;a++){const l=$r[a],u=n[l];Ie.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},lr=n=>{const[r,i]=Ie.partition(Object.entries(n),([u,f])=>zi(f)),a=Object.fromEntries(r.map(([u,f])=>[u,ga(f)])),l=Ie.compact($r.map(u=>{const f=Object.fromEntries(Object.keys(a).map(v=>[v,a[v][u]]));if(u==="xs"){const v={...Object.fromEntries(i),...f};return Ie.isEmpty(v)?null:Je(v)}if(Ie.isEmpty(f))return null;const p=`(min-width: ${Rr[u]}px)`;return Je`
28
- @media ${p} {
29
- ${Je(f)}
27
+ }`;var Ee=Ql(function(){return We(g,se+"return "+V).apply(i,_)});if(Ee.source=V,Ho(Ee))throw Ee;return Ee}function gm(e){return Ze(e).toLowerCase()}function mm(e){return Ze(e).toUpperCase()}function vm(e,t,o){if(e=Ze(e),e&&(o||t===i))return ss(e);if(!e||!(t=Ot(t)))return e;var s=Gt(e),c=Gt(t),g=ls(s,c),_=us(s,c)+1;return _n(s,g,_).join("")}function ym(e,t,o){if(e=Ze(e),e&&(o||t===i))return e.slice(0,fs(e)+1);if(!e||!(t=Ot(t)))return e;var s=Gt(e),c=us(s,Gt(t))+1;return _n(s,0,c).join("")}function bm(e,t,o){if(e=Ze(e),e&&(o||t===i))return e.replace(Zi,"");if(!e||!(t=Ot(t)))return e;var s=Gt(e),c=ls(s,Gt(t));return _n(s,c).join("")}function xm(e,t){var o=ye,s=we;if(Je(t)){var c="separator"in t?t.separator:c;o="length"in t?Se(t.length):o,s="omission"in t?Ot(t.omission):s}e=Ze(e);var g=e.length;if(Vn(e)){var _=Gt(e);g=_.length}if(o>=g)return e;var E=o-Un(s);if(E<1)return s;var R=_?_n(_,0,E).join(""):e.slice(0,E);if(c===i)return R+s;if(_&&(E+=R.length-E),Vo(c)){if(e.slice(E).search(c)){var B,P=R;for(c.global||(c=ao(c.source,Ze(ka.exec(c))+"g")),c.lastIndex=0;B=c.exec(P);)var V=B.index;R=R.slice(0,V===i?E:V)}}else if(e.indexOf(Ot(c),E)!=E){var ee=R.lastIndexOf(c);ee>-1&&(R=R.slice(0,ee))}return R+s}function wm(e){return e=Ze(e),e&&Of.test(e)?e.replace(Aa,Xd):e}var _m=Jn(function(e,t,o){return e+(o?" ":"")+t.toUpperCase()}),Go=Js("toUpperCase");function Yl(e,t,o){return e=Ze(e),t=o?i:t,t===i?Vd(e)?Jd(e):zd(e):e.match(t)||[]}var Ql=$e(function(e,t){try{return Rt(e,i,t)}catch(o){return Ho(o)?o:new xe(o)}}),Cm=sn(function(e,t){return Bt(t,function(o){o=tn(o),on(e,o,No(e[o],e))}),e});function Sm(e){var t=e==null?0:e.length,o=pe();return e=t?Xe(e,function(s){if(typeof s[1]!="function")throw new Pt(f);return[o(s[0]),s[1]]}):[],$e(function(s){for(var c=-1;++c<t;){var g=e[c];if(Rt(g[0],this,s))return Rt(g[1],this,s)}})}function Em(e){return X0(Dt(e,T))}function Ko(e){return function(){return e}}function Am(e,t){return e==null||e!==e?t:e}var $m=tl(),Tm=tl(!0);function $t(e){return e}function Xo(e){return Ls(typeof e=="function"?e:Dt(e,T))}function km(e){return Is(Dt(e,T))}function Rm(e,t){return Ms(e,Dt(t,T))}var Lm=$e(function(e,t){return function(o){return vr(o,e,t)}}),Om=$e(function(e,t){return function(o){return vr(e,o,t)}});function Yo(e,t,o){var s=ft(t),c=ti(t,s);o==null&&!(Je(t)&&(c.length||!s.length))&&(o=t,t=e,e=this,c=ti(t,ft(t)));var g=!(Je(o)&&"chain"in o)||!!o.chain,_=un(e);return Bt(c,function(E){var R=t[E];e[E]=R,_&&(e.prototype[E]=function(){var B=this.__chain__;if(g||B){var P=e(this.__wrapped__),V=P.__actions__=St(this.__actions__);return V.push({func:R,args:arguments,thisArg:e}),P.__chain__=B,P}return R.apply(e,mn([this.value()],arguments))})}),e}function Im(){return dt._===this&&(dt._=o0),this}function Qo(){}function Mm(e){return e=Se(e),$e(function(t){return Fs(t,e)})}var Fm=ko(Xe),zm=ko(ns),jm=ko(Ji);function Jl(e){return zo(e)?eo(tn(e)):h1(e)}function Bm(e){return function(t){return e==null?i:On(e,t)}}var Pm=rl(),Wm=rl(!0);function Jo(){return[]}function ea(){return!1}function Dm(){return{}}function Nm(){return""}function Zm(){return!0}function Hm(e,t){if(e=Se(e),e<1||e>X)return[];var o=be,s=pt(e,be);t=pe(t),e-=be;for(var c=ro(s,t);++o<e;)t(o);return c}function Vm(e){return _e(e)?Xe(e,tn):It(e)?[e]:St(bl(Ze(e)))}function Um(e){var t=++r0;return Ze(e)+t}var qm=si(function(e,t){return e+t},0),Gm=Ro("ceil"),Km=si(function(e,t){return e/t},1),Xm=Ro("floor");function Ym(e){return e&&e.length?ei(e,$t,go):i}function Qm(e,t){return e&&e.length?ei(e,pe(t,2),go):i}function Jm(e){return os(e,$t)}function e2(e,t){return os(e,pe(t,2))}function t2(e){return e&&e.length?ei(e,$t,bo):i}function n2(e,t){return e&&e.length?ei(e,pe(t,2),bo):i}var r2=si(function(e,t){return e*t},1),i2=Ro("round"),o2=si(function(e,t){return e-t},0);function a2(e){return e&&e.length?no(e,$t):0}function s2(e,t){return e&&e.length?no(e,pe(t,2)):0}return p.after=kp,p.ary=Rl,p.assign=mg,p.assignIn=Hl,p.assignInWith=xi,p.assignWith=vg,p.at=yg,p.before=Ll,p.bind=No,p.bindAll=Cm,p.bindKey=Ol,p.castArray=Dp,p.chain=$l,p.chunk=X1,p.compact=Y1,p.concat=Q1,p.cond=Sm,p.conforms=Em,p.constant=Ko,p.countBy=ap,p.create=bg,p.curry=Il,p.curryRight=Ml,p.debounce=Fl,p.defaults=xg,p.defaultsDeep=wg,p.defer=Rp,p.delay=Lp,p.difference=J1,p.differenceBy=eh,p.differenceWith=th,p.drop=nh,p.dropRight=rh,p.dropRightWhile=ih,p.dropWhile=oh,p.fill=ah,p.filter=lp,p.flatMap=fp,p.flatMapDeep=dp,p.flatMapDepth=hp,p.flatten=Cl,p.flattenDeep=sh,p.flattenDepth=lh,p.flip=Op,p.flow=$m,p.flowRight=Tm,p.fromPairs=uh,p.functions=Tg,p.functionsIn=kg,p.groupBy=pp,p.initial=fh,p.intersection=dh,p.intersectionBy=hh,p.intersectionWith=ph,p.invert=Lg,p.invertBy=Og,p.invokeMap=mp,p.iteratee=Xo,p.keyBy=vp,p.keys=ft,p.keysIn=At,p.map=pi,p.mapKeys=Mg,p.mapValues=Fg,p.matches=km,p.matchesProperty=Rm,p.memoize=mi,p.merge=zg,p.mergeWith=Vl,p.method=Lm,p.methodOf=Om,p.mixin=Yo,p.negate=vi,p.nthArg=Mm,p.omit=jg,p.omitBy=Bg,p.once=Ip,p.orderBy=yp,p.over=Fm,p.overArgs=Mp,p.overEvery=zm,p.overSome=jm,p.partial=Zo,p.partialRight=zl,p.partition=bp,p.pick=Pg,p.pickBy=Ul,p.property=Jl,p.propertyOf=Bm,p.pull=yh,p.pullAll=El,p.pullAllBy=bh,p.pullAllWith=xh,p.pullAt=wh,p.range=Pm,p.rangeRight=Wm,p.rearg=Fp,p.reject=_p,p.remove=_h,p.rest=zp,p.reverse=Wo,p.sampleSize=Sp,p.set=Dg,p.setWith=Ng,p.shuffle=Ep,p.slice=Ch,p.sortBy=Tp,p.sortedUniq=Rh,p.sortedUniqBy=Lh,p.split=fm,p.spread=jp,p.tail=Oh,p.take=Ih,p.takeRight=Mh,p.takeRightWhile=Fh,p.takeWhile=zh,p.tap=Yh,p.throttle=Bp,p.thru=hi,p.toArray=Dl,p.toPairs=ql,p.toPairsIn=Gl,p.toPath=Vm,p.toPlainObject=Zl,p.transform=Zg,p.unary=Pp,p.union=jh,p.unionBy=Bh,p.unionWith=Ph,p.uniq=Wh,p.uniqBy=Dh,p.uniqWith=Nh,p.unset=Hg,p.unzip=Do,p.unzipWith=Al,p.update=Vg,p.updateWith=Ug,p.values=nr,p.valuesIn=qg,p.without=Zh,p.words=Yl,p.wrap=Wp,p.xor=Hh,p.xorBy=Vh,p.xorWith=Uh,p.zip=qh,p.zipObject=Gh,p.zipObjectDeep=Kh,p.zipWith=Xh,p.entries=ql,p.entriesIn=Gl,p.extend=Hl,p.extendWith=xi,Yo(p,p),p.add=qm,p.attempt=Ql,p.camelCase=Yg,p.capitalize=Kl,p.ceil=Gm,p.clamp=Gg,p.clone=Np,p.cloneDeep=Hp,p.cloneDeepWith=Vp,p.cloneWith=Zp,p.conformsTo=Up,p.deburr=Xl,p.defaultTo=Am,p.divide=Km,p.endsWith=Qg,p.eq=Xt,p.escape=Jg,p.escapeRegExp=em,p.every=sp,p.find=up,p.findIndex=wl,p.findKey=_g,p.findLast=cp,p.findLastIndex=_l,p.findLastKey=Cg,p.floor=Xm,p.forEach=Tl,p.forEachRight=kl,p.forIn=Sg,p.forInRight=Eg,p.forOwn=Ag,p.forOwnRight=$g,p.get=Uo,p.gt=qp,p.gte=Gp,p.has=Rg,p.hasIn=qo,p.head=Sl,p.identity=$t,p.includes=gp,p.indexOf=ch,p.inRange=Kg,p.invoke=Ig,p.isArguments=Fn,p.isArray=_e,p.isArrayBuffer=Kp,p.isArrayLike=Et,p.isArrayLikeObject=it,p.isBoolean=Xp,p.isBuffer=Cn,p.isDate=Yp,p.isElement=Qp,p.isEmpty=Jp,p.isEqual=eg,p.isEqualWith=tg,p.isError=Ho,p.isFinite=ng,p.isFunction=un,p.isInteger=jl,p.isLength=yi,p.isMap=Bl,p.isMatch=rg,p.isMatchWith=ig,p.isNaN=og,p.isNative=ag,p.isNil=lg,p.isNull=sg,p.isNumber=Pl,p.isObject=Je,p.isObjectLike=tt,p.isPlainObject=Cr,p.isRegExp=Vo,p.isSafeInteger=ug,p.isSet=Wl,p.isString=bi,p.isSymbol=It,p.isTypedArray=tr,p.isUndefined=cg,p.isWeakMap=fg,p.isWeakSet=dg,p.join=gh,p.kebabCase=tm,p.last=Zt,p.lastIndexOf=mh,p.lowerCase=nm,p.lowerFirst=rm,p.lt=hg,p.lte=pg,p.max=Ym,p.maxBy=Qm,p.mean=Jm,p.meanBy=e2,p.min=t2,p.minBy=n2,p.stubArray=Jo,p.stubFalse=ea,p.stubObject=Dm,p.stubString=Nm,p.stubTrue=Zm,p.multiply=r2,p.nth=vh,p.noConflict=Im,p.noop=Qo,p.now=gi,p.pad=im,p.padEnd=om,p.padStart=am,p.parseInt=sm,p.random=Xg,p.reduce=xp,p.reduceRight=wp,p.repeat=lm,p.replace=um,p.result=Wg,p.round=i2,p.runInContext=k,p.sample=Cp,p.size=Ap,p.snakeCase=cm,p.some=$p,p.sortedIndex=Sh,p.sortedIndexBy=Eh,p.sortedIndexOf=Ah,p.sortedLastIndex=$h,p.sortedLastIndexBy=Th,p.sortedLastIndexOf=kh,p.startCase=dm,p.startsWith=hm,p.subtract=o2,p.sum=a2,p.sumBy=s2,p.template=pm,p.times=Hm,p.toFinite=cn,p.toInteger=Se,p.toLength=Nl,p.toLower=gm,p.toNumber=Ht,p.toSafeInteger=gg,p.toString=Ze,p.toUpper=mm,p.trim=vm,p.trimEnd=ym,p.trimStart=bm,p.truncate=xm,p.unescape=wm,p.uniqueId=Um,p.upperCase=_m,p.upperFirst=Go,p.each=Tl,p.eachRight=kl,p.first=Sl,Yo(p,function(){var e={};return Jt(p,function(t,o){He.call(p.prototype,o)||(e[o]=t)}),e}(),{chain:!1}),p.VERSION=a,Bt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){p[e].placeholder=p}),Bt(["drop","take"],function(e,t){Ie.prototype[e]=function(o){o=o===i?1:ut(Se(o),0);var s=this.__filtered__&&!t?new Ie(this):this.clone();return s.__filtered__?s.__takeCount__=pt(o,s.__takeCount__):s.__views__.push({size:pt(o,be),type:e+(s.__dir__<0?"Right":"")}),s},Ie.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Bt(["filter","map","takeWhile"],function(e,t){var o=t+1,s=o==H||o==J;Ie.prototype[e]=function(c){var g=this.clone();return g.__iteratees__.push({iteratee:pe(c,3),type:o}),g.__filtered__=g.__filtered__||s,g}}),Bt(["head","last"],function(e,t){var o="take"+(t?"Right":"");Ie.prototype[e]=function(){return this[o](1).value()[0]}}),Bt(["initial","tail"],function(e,t){var o="drop"+(t?"":"Right");Ie.prototype[e]=function(){return this.__filtered__?new Ie(this):this[o](1)}}),Ie.prototype.compact=function(){return this.filter($t)},Ie.prototype.find=function(e){return this.filter(e).head()},Ie.prototype.findLast=function(e){return this.reverse().find(e)},Ie.prototype.invokeMap=$e(function(e,t){return typeof e=="function"?new Ie(this):this.map(function(o){return vr(o,e,t)})}),Ie.prototype.reject=function(e){return this.filter(vi(pe(e)))},Ie.prototype.slice=function(e,t){e=Se(e);var o=this;return o.__filtered__&&(e>0||t<0)?new Ie(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),t!==i&&(t=Se(t),o=t<0?o.dropRight(-t):o.take(t-e)),o)},Ie.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ie.prototype.toArray=function(){return this.take(be)},Jt(Ie.prototype,function(e,t){var o=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),c=p[s?"take"+(t=="last"?"Right":""):t],g=s||/^find/.test(t);c&&(p.prototype[t]=function(){var _=this.__wrapped__,E=s?[1]:arguments,R=_ instanceof Ie,B=E[0],P=R||_e(_),V=function(Re){var Me=c.apply(p,mn([Re],E));return s&&ee?Me[0]:Me};P&&o&&typeof B=="function"&&B.length!=1&&(R=P=!1);var ee=this.__chain__,se=!!this.__actions__.length,ge=g&&!ee,Ee=R&&!se;if(!g&&P){_=Ee?_:new Ie(this);var me=e.apply(_,E);return me.__actions__.push({func:hi,args:[V],thisArg:i}),new Wt(me,ee)}return ge&&Ee?e.apply(this,E):(me=this.thru(V),ge?s?me.value()[0]:me.value():me)})}),Bt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Pr[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);p.prototype[e]=function(){var c=arguments;if(s&&!this.__chain__){var g=this.value();return t.apply(_e(g)?g:[],c)}return this[o](function(_){return t.apply(_e(_)?_:[],c)})}}),Jt(Ie.prototype,function(e,t){var o=p[t];if(o){var s=o.name+"";He.call(Xn,s)||(Xn[s]=[]),Xn[s].push({name:t,func:o})}}),Xn[ai(i,M).name]=[{name:"wrapper",func:i}],Ie.prototype.clone=w0,Ie.prototype.reverse=_0,Ie.prototype.value=C0,p.prototype.at=Qh,p.prototype.chain=Jh,p.prototype.commit=ep,p.prototype.next=tp,p.prototype.plant=rp,p.prototype.reverse=ip,p.prototype.toJSON=p.prototype.valueOf=p.prototype.value=op,p.prototype.first=p.prototype.head,cr&&(p.prototype[cr]=np),p},qn=e0();$n?(($n.exports=qn)._=qn,Ki._=qn):dt._=qn}).call(f2)}(Er,Er.exports)),Er.exports}var Fe=d2();const la=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),ua=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),h2=n=>["none","hairline","thin","thick","heavy"].includes(n),Ku=n=>["none","xs","sm","md","lg","xl","full"].includes(n),Mi={transparent:"#FFFFFF00",white:"#FFFFFF",black:"#000000",primary:"#6949FF",secondary:"#FFC107",success:"#12D18E",danger:"#F75555",warning:"#FACC15",info:"#6949FF",grey100:"#F5F5F5",grey200:"#EEEEEE",grey300:"#E0E0E0",grey400:"#BDBDBD",grey500:"#9E9E9E",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",orange100:"#FFF3E0",orange200:"#FFE0B2",orange300:"#FFCC80",orange400:"#FFB74D",orange500:"#FF9800",orange600:"#FB8C00",orange700:"#F57C00",orange800:"#EF6C00",orange900:"#E65100",cyan100:"#E0F7FA",cyan200:"#B2EBF2",cyan300:"#80DEEA",cyan400:"#4DD0E1",cyan500:"#26C6DA",cyan600:"#00BCD4",cyan700:"#00ACC1",cyan800:"#0097A7",cyan900:"#006064",purple100:"#F3E5F5",purple200:"#E1BEE7",purple300:"#CE93D8",purple400:"#BA68C8",purple500:"#AB47BC",purple600:"#9C27B0",purple700:"#8E24AA",purple800:"#7B1FA2",purple900:"#6A1B9A",teal100:"#E0F2F1",teal200:"#B2DFDB",teal300:"#80CBC4",teal400:"#4DB6AC",teal500:"#26A69A",teal600:"#009688",teal700:"#00897B",teal800:"#00796B",teal900:"#004D40",lime100:"#F9FBE7",lime200:"#F0F4C3",lime300:"#E6EE9C",lime400:"#DCE775",lime500:"#CDDC39",lime600:"#C0CA33",lime700:"#AFB42B",lime800:"#9E9D24",lime900:"#827717",pink100:"#FCE4EC",pink200:"#F8BBD0",pink300:"#F48FB1",pink400:"#F06292",pink500:"#EC4899",pink600:"#E91E63",pink700:"#D81B60",pink800:"#C2185B",pink900:"#880E4F",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},Xu=n=>n in Mi,Yu={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},p2=n=>["primary","secondary","success","danger","warning","info"].includes(n),g2=1,m2=8,v2=8,y2="Inter",b2="Sora",x2=10,w2=4,hn={borderWidth:g2,space:m2,size:v2,font:{neutral:y2,heading:b2},fontSize:x2,radius:w2},Qu=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),_2=n=>["none","sm","md","lg"].includes(n),ca=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),Bn=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),fa=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),Ju=n=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(n),da=({neutral:n,heading:r})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),Fi=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),ha=n=>{const r=Fi(n),i=1.4;return{"2xs":r["2xs"]*i,xs:r.xs*i,small:r.small*i,medium:r.medium*i,large:r.large*i,xl:r.xl*i,"2xl":r["2xl"]*i,"3xl":r["3xl"]*i,"4xl":r["4xl"]*i,"5xl":r["5xl"]*i,"6xl":r["6xl"]*i}},pa=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),C2=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),S2=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n);class E2{constructor({baseZIndex:r=10,step:i=10}={}){rr(this,"dependencies",new Map);rr(this,"zIndexes",null);rr(this,"nodes",new Set);rr(this,"baseZIndex");rr(this,"step");this.baseZIndex=r,this.step=i}register(r,i){this.nodes.add(r),this.nodes.add(i),this.dependencies.has(r)||this.dependencies.set(r,new Set),this.dependencies.get(r).add(i),this.zIndexes=null}deregister(r,i){const a=this.dependencies.get(r);a&&a.delete(i),this.zIndexes=null}getZIndex(r){return this.zIndexes||this._calculateZIndexes(),this.zIndexes.has(r)?this.zIndexes.get(r):(console.warn(`[ZIndexRegistry] ID '${r}' not found in the calculated z-index map. Returning a fallback value. Was it ever registered?`),this.baseZIndex)}_calculateZIndexes(){const r=new Map;for(const l of this.nodes)r.set(l,0);for(const l of this.dependencies.values())for(const u of l)r.set(u,(r.get(u)||0)+1);const i=[];for(const[l,u]of r.entries())u===0&&i.push(l);const a=[];for(;i.length>0;){const l=i.shift();a.push(l);const u=this.dependencies.get(l)||new Set;for(const f of u){const h=(r.get(f)||0)-1;r.set(f,h),h===0&&i.push(f)}}if(a.length!==this.nodes.size){if(process.env.NODE_ENV!=="production")throw new Error("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.");console.warn("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.")}this.zIndexes=new Map;for(let l=0;l<a.length;l++){const u=a[l];this.zIndexes.set(u,this.baseZIndex+l*this.step)}}}const Dn=new E2({baseZIndex:100,step:10}),Qt={AIC_Kits_PageContent:"AIC_Kits_PageContent",AIC_Kits_Carousel:"AIC_Kits_Carousel",AIC_Kits_Dropdown:"AIC_Kits_Dropdown",AIC_Kits_Tooltip:"AIC_Kits_Tooltip",AIC_Kits_Modal:"AIC_Kits_Modal",AIC_Kits_Notification:"AIC_Kits_Notification"};Dn.register(Qt.AIC_Kits_PageContent,Qt.AIC_Kits_Carousel);Dn.register(Qt.AIC_Kits_Carousel,Qt.AIC_Kits_Dropdown);Dn.register(Qt.AIC_Kits_Dropdown,Qt.AIC_Kits_Tooltip);Dn.register(Qt.AIC_Kits_Tooltip,Qt.AIC_Kits_Modal);Dn.register(Qt.AIC_Kits_Modal,Qt.AIC_Kits_Notification);const A2=(n=hn,r=Mi,i=Yu)=>{const a=da(n.font),l=Fi(n.fontSize),u=ha(n.fontSize),f=pa(),h=la(n.borderWidth),b=fa(n.space),y=ca(n.size),$=ua(n.radius),T=Qu(r);return{colors:r,gradientColors:i,fonts:a,fontSizes:l,lineHeights:u,fontWeights:f,borderWidths:h,spaces:b,sizes:y,radii:$,shadows:T}},ec=n=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),tc=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),nc=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),rc=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{barSpacing:8,barRadius:2,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},md:{barSpacing:12,barRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},lg:{barSpacing:16,barRadius:6,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"}},variants:{default:{defaultBarColor:"primary"},soft:{defaultBarColor:"secondary"},outlined:{defaultBarColor:"info"}}}),ic=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),oc=n=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),ac=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),sc=n=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),lc=n=>({defaultColor:"grey300",defaultThickness:1}),uc=n=>{const r=`0 0 16px 4px ${n.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",loadingSize:"small"},medium:{fontSize:"medium",loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:r},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:r},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},cc=n=>{const r="grey300",i="danger",a="primary",l="grey100",u="grey300",f="grey500",h="white",b="grey900",y="thin",$=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[a]}`,T=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:y,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:b,disabledTextColor:f,disabledBorderColor:u,focusColor:a,errorColor:i,states:{default:{borderColor:r,backgroundColor:h,boxShadow:"none"},focused:{borderColor:a,backgroundColor:h,boxShadow:$},error:{borderColor:i,backgroundColor:h,boxShadow:T},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},fc=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1.5,dotRadius:3,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,dotRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,dotRadius:5,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","purple500"]},soft:{defaultColors:["primary300","secondary300","teal300","lime400","pink400","purple400","cyan400"]},bold:{defaultColors:["primary500","secondary500","teal600","orange600","pink600","purple600","cyan600"]}}}),dc=n=>({defaultGap:"sm",defaultPadding:"none"}),hc=n=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),pc=n=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),gc=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1,strokeColor:"white",labelColor:"grey700",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,strokeColor:"white",labelColor:"grey700",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,strokeColor:"white",labelColor:"grey700",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","cyan500"]},soft:{defaultColors:["primary200","secondary200","lime300","orange300","pink300","purple300","cyan300"]},outlined:{defaultColors:["primary500","secondary500","teal700","orange700","pink700","purple700","cyan700"]}}}),mc=n=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),vc=n=>{const r="grey300",i="danger",a="grey300",l="grey100",u="grey400",f="grey100",h="grey200",b="white",y="transparent",$="thin",T="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:u,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:u,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:y,borderColor:r,borderWidth:$},hover:{backgroundColor:"grey100",borderColor:r,borderWidth:$},focused:{backgroundColor:y,borderColor:"primary",borderWidth:T},disabled:{backgroundColor:y,borderColor:a,borderWidth:$},errored:{backgroundColor:y,borderColor:i,borderWidth:$}},filled:{default:{backgroundColor:f,borderColor:y,borderWidth:$},hover:{backgroundColor:h,borderColor:y,borderWidth:$},focused:{backgroundColor:b,borderColor:"primary",borderWidth:T},disabled:{backgroundColor:l,borderColor:y,borderWidth:$},errored:{backgroundColor:b,borderColor:i,borderWidth:$}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:b,borderColor:r,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},yc=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),bc=n=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),xc=n=>{const r="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:r,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:r},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:r},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:r},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:r}}}}},wc=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),_c=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),Cc=n=>({art:tc(),base:ic(),button:oc(),divider:lc(),header:uc(n),input:cc(n),list:dc(),loading:hc(),pagination:pc(),skeleton:yc(),touchable:wc(),vimeo:_c(),carousel:ac(),accordion:ec(),tag:bc(),checkbox:sc(),select:vc(),progress:mc(),avatar:nc(),tooltip:xc(),barChart:rc(),pieChart:gc(),lineChart:fc()}),$2=fa(hn.space),T2=ca(hn.size),k2=la(hn.borderWidth),R2=ua(hn.radius),L2=Fi(hn.fontSize),O2=ha(hn.fontSize),I2=pa(),nu=da(hn.font),M2={spaces:$2,sizes:T2,colors:Mi,radii:R2,borderWidths:k2,fonts:nu,zIndex:Dn,__hd__:{text:{fontSizes:L2,lineHeights:O2,fontWeights:I2,fonts:nu}}};function Sc(){const n=M2,r=Cc(n);return{...n,__hd__:{...n.__hd__,...r}}}const Ai=Sc(),oe=Sn.styled,En=Sn.keyframes,nt=Sn.css,Ec=(n,r)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(n),F2=n=>typeof n=="function"?n(Ai):n?{...Ai,...n}:Ai,z2=({theme:n,children:r})=>{const i=F2(n);return w.jsx(Sn.StyleSheetManager,{shouldForwardProp:Ec,children:w.jsx(Sn.ThemeProvider,{theme:i,children:r})})},Ce=Sn.useTheme,wt=()=>typeof document>"u",Rr={xs:0,sm:600,md:900,lg:1200,xl:1536},$r=Object.keys(Rr),zi=n=>Fe.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),zt=(n,r)=>zi(n)?Object.fromEntries(Object.entries(n).map(([i,a])=>[i,r(a)])):r(n),ra=n=>Fe.reduce(n,(r,i,a)=>(Fe.forEach(i,(l,u)=>{Fe.has(r,u)||Fe.set(r,u,{}),Fe.set(r,[u,a],l)}),r),{}),Ac=(n,r)=>{const i=Object.fromEntries(Object.keys(n).map(h=>[h,ga(n[h])])),a=ra(i),l=Object.fromEntries($r.map(h=>[h,r(a[h])])),u=ra(l);return Object.fromEntries(Object.entries(u).map(([h,b])=>[h,Tc(b)]))},$c=(n,r)=>{if(!zi(n))return n;switch(r){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},ga=n=>Object.fromEntries(Object.keys(Rr).map(r=>[r,$c(n,r)])),Tc=n=>{let r=n.xs;const i={xs:r};for(let a=1;a<$r.length;a++){const l=$r[a],u=n[l];Fe.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},lr=n=>{const[r,i]=Fe.partition(Object.entries(n),([u,f])=>zi(f)),a=Object.fromEntries(r.map(([u,f])=>[u,ga(f)])),l=Fe.compact($r.map(u=>{const f=Object.fromEntries(Object.keys(a).map(b=>[b,a[b][u]]));if(u==="xs"){const b={...Object.fromEntries(i),...f};return Fe.isEmpty(b)?null:nt(b)}if(Fe.isEmpty(f))return null;const h=`(min-width: ${Rr[u]}px)`;return nt`
28
+ @media ${h} {
29
+ ${nt(f)}
30
30
  }
31
- `}));return Je`${l}`},j2={bgColor:{property:"backgroundColor",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},borderColor:{property:"borderColor",scale:"colors"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderRightColor:{property:"borderRightColor",scale:"colors"}},B2={m:{property:"margin",scale:"spaces"},mt:{property:"marginTop",scale:"spaces"},mb:{property:"marginBottom",scale:"spaces"},ml:{property:"marginLeft",scale:"spaces"},mr:{property:"marginRight",scale:"spaces"},mx:{property:"marginInline",scale:"spaces"},my:{property:"marginBlock",scale:"spaces"},p:{property:"padding",scale:"spaces"},pt:{property:"paddingTop",scale:"spaces"},pb:{property:"paddingBottom",scale:"spaces"},pl:{property:"paddingLeft",scale:"spaces"},pr:{property:"paddingRight",scale:"spaces"},px:{property:"paddingInline",scale:"spaces"},py:{property:"paddingBlock",scale:"spaces"},margin:{property:"margin",scale:"spaces"},marginBottom:{property:"marginBottom",scale:"spaces"},marginLeft:{property:"marginLeft",scale:"spaces"},marginRight:{property:"marginRight",scale:"spaces"},marginTop:{property:"marginTop",scale:"spaces"},marginX:{property:"marginInline",scale:"spaces"},marginY:{property:"marginBlock",scale:"spaces"},padding:{property:"padding",scale:"spaces"},paddingBottom:{property:"paddingBottom",scale:"spaces"},paddingLeft:{property:"paddingLeft",scale:"spaces"},paddingRight:{property:"paddingRight",scale:"spaces"},paddingTop:{property:"paddingTop",scale:"spaces"},paddingX:{property:"paddingInline",scale:"spaces"},paddingY:{property:"paddingBlock",scale:"spaces"},gap:{property:"gap",scale:"spaces"}},P2={bbl:{property:"borderBottomLeftRadius",scale:"radii"},bbr:{property:"borderBottomRightRadius",scale:"radii"},btl:{property:"borderTopLeftRadius",scale:"radii"},btr:{property:"borderTopRightRadius",scale:"radii"},r:{property:"borderRadius",scale:"radii"},radius:{property:"borderRadius",scale:"radii"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRadius:{property:"borderRadius",scale:"radii"}},W2={b:{property:"borderWidth",scale:"borderWidths"},bb:{property:"borderBottomWidth",scale:"borderWidths"},bt:{property:"borderTopWidth",scale:"borderWidths"},bl:{property:"borderLeftWidth",scale:"borderWidths"},br:{property:"borderRightWidth",scale:"borderWidths"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderBottomWidth:{property:"borderBottomWidth",scale:"borderWidths"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderLeftWidth:{property:"borderLeftWidth",scale:"borderWidths"},borderRightWidth:{property:"borderRightWidth",scale:"borderWidths"}},kc={...j2,...B2,...P2,...W2},Rc=["alignContent","alignItems","alignSelf","display","flex","flexBasis","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","position","top","right","bottom","left","overflow","width","minWidth","maxWidth","height","minHeight","maxHeight","opacity","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","willChange","whiteSpace","textOverflow","overflowY","overflowX"],ma=["absoluteFill","fullWidth","fullHeight","fw","fh"],Lc={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},Oc=(n,r,i)=>{const a=kc[r],l=i[r];if(!l)return;const{scale:u,property:f}=a;switch(u){case"colors":return{[f]:zt(l,p=>n.colors[p])};case"spaces":return{[f]:zt(l,p=>n.spaces[p])};case"radii":return{[f]:zt(l,p=>n.radii[p])};case"borderWidths":return{[f]:zt(l,p=>n.borderWidths[p])}}},Ic=(n,r)=>Object.keys(r).reduce((a,l)=>({...a,...Oc(n,l,r)}),{}),D2=n=>ma.reduce((r,i)=>n[i]?{...r,...Lc[i]}:r,{}),Mc=Object.keys(kc),Fc=(n,r)=>{const i=Ie.pick(r,Mc),a=Ie.pick(r,[...Rc]),l=Ie.pick(r,[...ma]);return lr({...Ic(n,i),...D2(l),...a})},zc=ie.div(({theme:n,...r})=>Fc(n,r));function N2({children:n,style:r,"data-testid":i,...a},l){return w.jsx(zc,{...a,style:r,ref:l,"data-testid":i,children:n})}const G=d.forwardRef(N2),gt=(n,r)=>typeof r=="number"?`${r}px`:Ie.isString(r)?Bn(r)?`${n.sizes[r]}px`:r:"auto",jc=n=>new RegExp("\\p{Emoji}","u").test(n)&&n.length<=2,Bc=n=>Ie.isString(n)&&n.includes("icon-"),Pc=n=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=n.toLowerCase();return Ie.isString(n)&&(r.some(a=>i.endsWith(a))||n.startsWith("data:image/")||n.startsWith("http"))},Wc=n=>Ie.isString(n)&&n.startsWith("<svg"),Dc=({art:n,width:r,height:i,style:a,"data-testid":l,...u})=>{const f=_e(),p=f.__hd__.art.defaultBrandSize||f.__hd__.art.defaultSize,v=gt(f,r??p),y=gt(f,i??p);return w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:y,style:a,"data-testid":l,...u,children:n})},Nc=({art:n,size:r,style:i,"data-testid":a,...l})=>{const u=_e(),f=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,p=gt(u,r??f),v=typeof p=="string"&&p.endsWith("px")?parseInt(p,10):u.__hd__.text.fontSizes[f]??24,y=u.__hd__.text.lineHeights[f]?`${u.__hd__.text.lineHeights[f]/v}`:"1";return w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",width:p,height:p,style:{...i,fontSize:p,lineHeight:y},"data-testid":a,...l,children:n})},va=({art:n,size:r,color:i="currentColor",weight:a="regular",style:l,"data-testid":u,...f})=>{const p=_e(),v=p.__hd__.art.defaultIconSize||p.__hd__.art.defaultSize,y=gt(p,r??v),$=n;if(!$)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${n}". This should not happen with TypeScript checks.`),null;const T=Xu(i)?p.colors[i]:i;return w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",width:y,height:y,style:l,"data-testid":u,...f,children:w.jsx($,{size:y,color:T,weight:a,style:l})})},Z2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L137,128ZM57,128l71.52-71.51a12,12,0,0,0-17-17l-80,80a12,12,0,0,0,0,17l80,80a12,12,0,0,0,17-17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),d.createElement("path",{d:"M203.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,208,208V48A8,8,0,0,0,203.06,40.61ZM192,188.69,131.31,128,192,67.31Zm-66.34,13.65a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L51.31,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,48V208a8,8,0,0,1-13.66,5.66L128,147.31V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,128,48v60.69l66.34-66.35A8,8,0,0,1,208,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M204.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L128.49,128ZM48.49,128l75.75-75.76a6,6,0,0,0-8.48-8.48l-80,80a6,6,0,0,0,0,8.48l80,80a6,6,0,1,0,8.48-8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M205.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L131.31,128ZM51.31,128l74.35-74.34a8,8,0,0,0-11.32-11.32l-80,80a8,8,0,0,0,0,11.32l80,80a8,8,0,0,0,11.32-11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M202.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L125.66,128ZM45.66,128l77.17-77.17a4,4,0,0,0-5.66-5.66l-80,80a4,4,0,0,0,0,5.66l80,80a4,4,0,1,0,5.66-5.66Z"}))]]),H2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M144.49,136.49l-80,80a12,12,0,0,1-17-17L119,128,47.51,56.49a12,12,0,0,1,17-17l80,80A12,12,0,0,1,144.49,136.49Zm80-17-80-80a12,12,0,1,0-17,17L199,128l-71.52,71.51a12,12,0,0,0,17,17l80-80A12,12,0,0,0,224.49,119.51Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M141.66,122.34l-80-80A8,8,0,0,0,48,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,141.66,122.34ZM64,188.69V67.31L124.69,128Zm157.66-55-80,80a8,8,0,0,1-11.32-11.32L204.69,128,130.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,221.66,133.66Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M221.66,133.66l-80,80A8,8,0,0,1,128,208V147.31L61.66,213.66A8,8,0,0,1,48,208V48a8,8,0,0,1,13.66-5.66L128,108.69V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,221.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M140.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L127.51,128,51.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,140.24,132.24Zm80-8.48-80-80a6,6,0,0,0-8.48,8.48L207.51,128l-75.75,75.76a6,6,0,1,0,8.48,8.48l80-80A6,6,0,0,0,220.24,123.76Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M141.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L124.69,128,50.34,53.66A8,8,0,0,1,61.66,42.34l80,80A8,8,0,0,1,141.66,133.66Zm80-11.32-80-80a8,8,0,0,0-11.32,11.32L204.69,128l-74.35,74.34a8,8,0,0,0,11.32,11.32l80-80A8,8,0,0,0,221.66,122.34Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M138.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L130.34,128,53.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,138.83,130.83Zm80-5.66-80-80a4,4,0,0,0-5.66,5.66L210.34,128l-77.17,77.17a4,4,0,0,0,5.66,5.66l80-80A4,4,0,0,0,218.83,125.17Z"}))]]),V2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),d.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),U2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),d.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),q2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),G2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),d.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),K2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),X2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),d.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),Y2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm56.49-92.49a12,12,0,0,1-17,17L162,131l-5.51,5.52a12,12,0,0,1-17-17L145,114l-5.52-5.51a12,12,0,0,1,17-17L162,97l5.51-5.52a12,12,0,0,1,17,17L179,114Zm-68,17a12,12,0,0,1-17,0L94,131l-5.51,5.52a12,12,0,0,1-17-17L77,114l-5.52-5.51a12,12,0,0,1,17-17L94,97l5.51-5.52a12,12,0,0,1,17,17L111,114l5.52,5.51A12,12,0,0,1,116.49,136.49ZM144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24Zm-18.34,98.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32L99.31,112ZM128,192a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm61.66-69.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm60.24-117.76L176.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L168,120.49l-11.76,11.75a6,6,0,0,1-8.48-8.48L159.51,112l-11.75-11.76a6,6,0,0,1,8.48-8.48L168,103.51l11.76-11.75a6,6,0,0,1,8.48,8.48Zm-80,0L96.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L88,120.49,76.24,132.24a6,6,0,0,1-8.48-8.48L79.51,112,67.76,100.24a6,6,0,0,1,8.48-8.48L88,103.51,99.76,91.76a6,6,0,0,1,8.48,8.48ZM138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220ZM186.83,98.83,173.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L168,117.66l-13.17,13.17a4,4,0,0,1-5.66-5.66L162.34,112,149.17,98.83a4,4,0,0,1,5.66-5.66L168,106.34l13.17-13.17a4,4,0,1,1,5.66,5.66Zm-80,0L93.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L88,117.66,74.83,130.83a4,4,0,0,1-5.66-5.66L82.34,112,69.17,98.83a4,4,0,0,1,5.66-5.66L88,106.34l13.17-13.17a4,4,0,0,1,5.66,5.66ZM136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),Q2=d.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var J2=Object.defineProperty,Ri=Object.getOwnPropertySymbols,Zc=Object.prototype.hasOwnProperty,Hc=Object.prototype.propertyIsEnumerable,ru=(n,r,i)=>r in n?J2(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,iu=(n,r)=>{for(var i in r||(r={}))Zc.call(r,i)&&ru(n,i,r[i]);if(Ri)for(var i of Ri(r))Hc.call(r,i)&&ru(n,i,r[i]);return n},ou=(n,r)=>{var i={};for(var a in n)Zc.call(n,a)&&r.indexOf(a)<0&&(i[a]=n[a]);if(n!=null&&Ri)for(var a of Ri(n))r.indexOf(a)<0&&Hc.call(n,a)&&(i[a]=n[a]);return i};const Vc=d.forwardRef((n,r)=>{const i=n,{alt:a,color:l,size:u,weight:f,mirrored:p,children:v,weights:y}=i,$=ou(i,["alt","color","size","weight","mirrored","children","weights"]),T=d.useContext(Q2),{color:x="currentColor",size:b,weight:m="regular",mirrored:S=!1}=T,C=ou(T,["color","size","weight","mirrored"]);return d.createElement("svg",iu(iu({ref:r,xmlns:"http://www.w3.org/2000/svg",width:u??b,height:u??b,fill:l??x,viewBox:"0 0 256 256",transform:p||S?"scale(-1, 1)":void 0},C),$),!!a&&d.createElement("title",null,a),v,y.get(f??m))});Vc.displayName="IconBase";const pn=Vc;var e8=Object.defineProperty,t8=Object.defineProperties,n8=Object.getOwnPropertyDescriptors,au=Object.getOwnPropertySymbols,r8=Object.prototype.hasOwnProperty,i8=Object.prototype.propertyIsEnumerable,su=(n,r,i)=>r in n?e8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,o8=(n,r)=>{for(var i in r||(r={}))r8.call(r,i)&&su(n,i,r[i]);if(au)for(var i of au(r))i8.call(r,i)&&su(n,i,r[i]);return n},a8=(n,r)=>t8(n,n8(r));const Uc=d.forwardRef((n,r)=>d.createElement(pn,a8(o8({ref:r},n),{weights:Z2})));Uc.displayName="CaretDoubleLeft";var s8=Object.defineProperty,l8=Object.defineProperties,u8=Object.getOwnPropertyDescriptors,lu=Object.getOwnPropertySymbols,c8=Object.prototype.hasOwnProperty,f8=Object.prototype.propertyIsEnumerable,uu=(n,r,i)=>r in n?s8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,d8=(n,r)=>{for(var i in r||(r={}))c8.call(r,i)&&uu(n,i,r[i]);if(lu)for(var i of lu(r))f8.call(r,i)&&uu(n,i,r[i]);return n},h8=(n,r)=>l8(n,u8(r));const qc=d.forwardRef((n,r)=>d.createElement(pn,h8(d8({ref:r},n),{weights:H2})));qc.displayName="CaretDoubleRight";var p8=Object.defineProperty,g8=Object.defineProperties,m8=Object.getOwnPropertyDescriptors,cu=Object.getOwnPropertySymbols,v8=Object.prototype.hasOwnProperty,y8=Object.prototype.propertyIsEnumerable,fu=(n,r,i)=>r in n?p8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,b8=(n,r)=>{for(var i in r||(r={}))v8.call(r,i)&&fu(n,i,r[i]);if(cu)for(var i of cu(r))y8.call(r,i)&&fu(n,i,r[i]);return n},x8=(n,r)=>g8(n,m8(r));const ya=d.forwardRef((n,r)=>d.createElement(pn,x8(b8({ref:r},n),{weights:V2})));ya.displayName="CaretDown";var w8=Object.defineProperty,_8=Object.defineProperties,C8=Object.getOwnPropertyDescriptors,du=Object.getOwnPropertySymbols,S8=Object.prototype.hasOwnProperty,E8=Object.prototype.propertyIsEnumerable,hu=(n,r,i)=>r in n?w8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,A8=(n,r)=>{for(var i in r||(r={}))S8.call(r,i)&&hu(n,i,r[i]);if(du)for(var i of du(r))E8.call(r,i)&&hu(n,i,r[i]);return n},$8=(n,r)=>_8(n,C8(r));const ba=d.forwardRef((n,r)=>d.createElement(pn,$8(A8({ref:r},n),{weights:U2})));ba.displayName="CaretLeft";var T8=Object.defineProperty,k8=Object.defineProperties,R8=Object.getOwnPropertyDescriptors,pu=Object.getOwnPropertySymbols,L8=Object.prototype.hasOwnProperty,O8=Object.prototype.propertyIsEnumerable,gu=(n,r,i)=>r in n?T8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,I8=(n,r)=>{for(var i in r||(r={}))L8.call(r,i)&&gu(n,i,r[i]);if(pu)for(var i of pu(r))O8.call(r,i)&&gu(n,i,r[i]);return n},M8=(n,r)=>k8(n,R8(r));const Lr=d.forwardRef((n,r)=>d.createElement(pn,M8(I8({ref:r},n),{weights:q2})));Lr.displayName="CaretRight";var F8=Object.defineProperty,z8=Object.defineProperties,j8=Object.getOwnPropertyDescriptors,mu=Object.getOwnPropertySymbols,B8=Object.prototype.hasOwnProperty,P8=Object.prototype.propertyIsEnumerable,vu=(n,r,i)=>r in n?F8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,W8=(n,r)=>{for(var i in r||(r={}))B8.call(r,i)&&vu(n,i,r[i]);if(mu)for(var i of mu(r))P8.call(r,i)&&vu(n,i,r[i]);return n},D8=(n,r)=>z8(n,j8(r));const Gc=d.forwardRef((n,r)=>d.createElement(pn,D8(W8({ref:r},n),{weights:G2})));Gc.displayName="Check";var N8=Object.defineProperty,Z8=Object.defineProperties,H8=Object.getOwnPropertyDescriptors,yu=Object.getOwnPropertySymbols,V8=Object.prototype.hasOwnProperty,U8=Object.prototype.propertyIsEnumerable,bu=(n,r,i)=>r in n?N8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,q8=(n,r)=>{for(var i in r||(r={}))V8.call(r,i)&&bu(n,i,r[i]);if(yu)for(var i of yu(r))U8.call(r,i)&&bu(n,i,r[i]);return n},G8=(n,r)=>Z8(n,H8(r));const Kc=d.forwardRef((n,r)=>d.createElement(pn,G8(q8({ref:r},n),{weights:K2})));Kc.displayName="Eye";var K8=Object.defineProperty,X8=Object.defineProperties,Y8=Object.getOwnPropertyDescriptors,xu=Object.getOwnPropertySymbols,Q8=Object.prototype.hasOwnProperty,J8=Object.prototype.propertyIsEnumerable,wu=(n,r,i)=>r in n?K8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,ev=(n,r)=>{for(var i in r||(r={}))Q8.call(r,i)&&wu(n,i,r[i]);if(xu)for(var i of xu(r))J8.call(r,i)&&wu(n,i,r[i]);return n},tv=(n,r)=>X8(n,Y8(r));const Xc=d.forwardRef((n,r)=>d.createElement(pn,tv(ev({ref:r},n),{weights:X2})));Xc.displayName="EyeSlash";var nv=Object.defineProperty,rv=Object.defineProperties,iv=Object.getOwnPropertyDescriptors,_u=Object.getOwnPropertySymbols,ov=Object.prototype.hasOwnProperty,av=Object.prototype.propertyIsEnumerable,Cu=(n,r,i)=>r in n?nv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,sv=(n,r)=>{for(var i in r||(r={}))ov.call(r,i)&&Cu(n,i,r[i]);if(_u)for(var i of _u(r))av.call(r,i)&&Cu(n,i,r[i]);return n},lv=(n,r)=>rv(n,iv(r));const Yc=d.forwardRef((n,r)=>d.createElement(pn,lv(sv({ref:r},n),{weights:Y2})));Yc.displayName="SmileyXEyes";function uv(n){const r=d.useRef(void 0);return d.useEffect(()=>{r.current=n},[n]),r.current}const cv=Sn.keyframes`
31
+ `}));return nt`${l}`},j2={bgColor:{property:"backgroundColor",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},borderColor:{property:"borderColor",scale:"colors"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderRightColor:{property:"borderRightColor",scale:"colors"}},B2={m:{property:"margin",scale:"spaces"},mt:{property:"marginTop",scale:"spaces"},mb:{property:"marginBottom",scale:"spaces"},ml:{property:"marginLeft",scale:"spaces"},mr:{property:"marginRight",scale:"spaces"},mx:{property:"marginInline",scale:"spaces"},my:{property:"marginBlock",scale:"spaces"},p:{property:"padding",scale:"spaces"},pt:{property:"paddingTop",scale:"spaces"},pb:{property:"paddingBottom",scale:"spaces"},pl:{property:"paddingLeft",scale:"spaces"},pr:{property:"paddingRight",scale:"spaces"},px:{property:"paddingInline",scale:"spaces"},py:{property:"paddingBlock",scale:"spaces"},margin:{property:"margin",scale:"spaces"},marginBottom:{property:"marginBottom",scale:"spaces"},marginLeft:{property:"marginLeft",scale:"spaces"},marginRight:{property:"marginRight",scale:"spaces"},marginTop:{property:"marginTop",scale:"spaces"},marginX:{property:"marginInline",scale:"spaces"},marginY:{property:"marginBlock",scale:"spaces"},padding:{property:"padding",scale:"spaces"},paddingBottom:{property:"paddingBottom",scale:"spaces"},paddingLeft:{property:"paddingLeft",scale:"spaces"},paddingRight:{property:"paddingRight",scale:"spaces"},paddingTop:{property:"paddingTop",scale:"spaces"},paddingX:{property:"paddingInline",scale:"spaces"},paddingY:{property:"paddingBlock",scale:"spaces"},gap:{property:"gap",scale:"spaces"}},P2={bbl:{property:"borderBottomLeftRadius",scale:"radii"},bbr:{property:"borderBottomRightRadius",scale:"radii"},btl:{property:"borderTopLeftRadius",scale:"radii"},btr:{property:"borderTopRightRadius",scale:"radii"},r:{property:"borderRadius",scale:"radii"},radius:{property:"borderRadius",scale:"radii"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRadius:{property:"borderRadius",scale:"radii"}},W2={b:{property:"borderWidth",scale:"borderWidths"},bb:{property:"borderBottomWidth",scale:"borderWidths"},bt:{property:"borderTopWidth",scale:"borderWidths"},bl:{property:"borderLeftWidth",scale:"borderWidths"},br:{property:"borderRightWidth",scale:"borderWidths"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderBottomWidth:{property:"borderBottomWidth",scale:"borderWidths"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderLeftWidth:{property:"borderLeftWidth",scale:"borderWidths"},borderRightWidth:{property:"borderRightWidth",scale:"borderWidths"}},kc={...j2,...B2,...P2,...W2},Rc=["alignContent","alignItems","alignSelf","display","flex","flexBasis","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","position","top","right","bottom","left","overflow","width","minWidth","maxWidth","height","minHeight","maxHeight","opacity","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","willChange","whiteSpace","textOverflow","overflowY","overflowX"],ma=["absoluteFill","fullWidth","fullHeight","fw","fh"],Lc={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},Oc=(n,r,i)=>{const a=kc[r],l=i[r];if(!l)return;const{scale:u,property:f}=a;switch(u){case"colors":return{[f]:zt(l,h=>n.colors[h])};case"spaces":return{[f]:zt(l,h=>n.spaces[h])};case"radii":return{[f]:zt(l,h=>n.radii[h])};case"borderWidths":return{[f]:zt(l,h=>n.borderWidths[h])}}},Ic=(n,r)=>Object.keys(r).reduce((a,l)=>({...a,...Oc(n,l,r)}),{}),D2=n=>ma.reduce((r,i)=>n[i]?{...r,...Lc[i]}:r,{}),Mc=Object.keys(kc),Fc=(n,r)=>{const i=Fe.pick(r,Mc),a=Fe.pick(r,[...Rc]),l=Fe.pick(r,[...ma]);return lr({...Ic(n,i),...D2(l),...a})},zc=oe.div(({theme:n,...r})=>Fc(n,r));function N2({children:n,style:r,"data-testid":i,...a},l){return w.jsx(zc,{...a,style:r,ref:l,"data-testid":i,children:n})}const G=d.forwardRef(N2),mt=(n,r)=>typeof r=="number"?`${r}px`:Fe.isString(r)?Bn(r)?`${n.sizes[r]}px`:r:"auto",jc=n=>new RegExp("\\p{Emoji}","u").test(n)&&n.length<=2,Bc=n=>Fe.isString(n)&&n.includes("icon-"),Pc=n=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=n.toLowerCase();return Fe.isString(n)&&(r.some(a=>i.endsWith(a))||n.startsWith("data:image/")||n.startsWith("http"))},Wc=n=>Fe.isString(n)&&n.startsWith("<svg"),Dc=({art:n,width:r,height:i,style:a,"data-testid":l,...u})=>{const f=Ce(),h=f.__hd__.art.defaultBrandSize||f.__hd__.art.defaultSize,b=mt(f,r??h),y=mt(f,i??h);return w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",width:b,height:y,style:a,"data-testid":l,...u,children:n})},Nc=({art:n,size:r,style:i,"data-testid":a,...l})=>{const u=Ce(),f=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,h=mt(u,r??f),b=typeof h=="string"&&h.endsWith("px")?parseInt(h,10):u.__hd__.text.fontSizes[f]??24,y=u.__hd__.text.lineHeights[f]?`${u.__hd__.text.lineHeights[f]/b}`:"1";return w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",width:h,height:h,style:{...i,fontSize:h,lineHeight:y},"data-testid":a,...l,children:n})},va=({art:n,size:r,color:i="currentColor",weight:a="regular",style:l,"data-testid":u,...f})=>{const h=Ce(),b=h.__hd__.art.defaultIconSize||h.__hd__.art.defaultSize,y=mt(h,r??b),$=n;if(!$)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${n}". This should not happen with TypeScript checks.`),null;const T=Xu(i)?h.colors[i]:i;return w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",width:y,height:y,style:l,"data-testid":u,...f,children:w.jsx($,{size:y,color:T,weight:a,style:l})})},Z2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L137,128ZM57,128l71.52-71.51a12,12,0,0,0-17-17l-80,80a12,12,0,0,0,0,17l80,80a12,12,0,0,0,17-17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),d.createElement("path",{d:"M203.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,208,208V48A8,8,0,0,0,203.06,40.61ZM192,188.69,131.31,128,192,67.31Zm-66.34,13.65a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L51.31,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,48V208a8,8,0,0,1-13.66,5.66L128,147.31V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,128,48v60.69l66.34-66.35A8,8,0,0,1,208,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M204.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L128.49,128ZM48.49,128l75.75-75.76a6,6,0,0,0-8.48-8.48l-80,80a6,6,0,0,0,0,8.48l80,80a6,6,0,1,0,8.48-8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M205.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L131.31,128ZM51.31,128l74.35-74.34a8,8,0,0,0-11.32-11.32l-80,80a8,8,0,0,0,0,11.32l80,80a8,8,0,0,0,11.32-11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M202.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L125.66,128ZM45.66,128l77.17-77.17a4,4,0,0,0-5.66-5.66l-80,80a4,4,0,0,0,0,5.66l80,80a4,4,0,1,0,5.66-5.66Z"}))]]),H2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M144.49,136.49l-80,80a12,12,0,0,1-17-17L119,128,47.51,56.49a12,12,0,0,1,17-17l80,80A12,12,0,0,1,144.49,136.49Zm80-17-80-80a12,12,0,1,0-17,17L199,128l-71.52,71.51a12,12,0,0,0,17,17l80-80A12,12,0,0,0,224.49,119.51Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M141.66,122.34l-80-80A8,8,0,0,0,48,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,141.66,122.34ZM64,188.69V67.31L124.69,128Zm157.66-55-80,80a8,8,0,0,1-11.32-11.32L204.69,128,130.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,221.66,133.66Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M221.66,133.66l-80,80A8,8,0,0,1,128,208V147.31L61.66,213.66A8,8,0,0,1,48,208V48a8,8,0,0,1,13.66-5.66L128,108.69V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,221.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M140.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L127.51,128,51.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,140.24,132.24Zm80-8.48-80-80a6,6,0,0,0-8.48,8.48L207.51,128l-75.75,75.76a6,6,0,1,0,8.48,8.48l80-80A6,6,0,0,0,220.24,123.76Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M141.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L124.69,128,50.34,53.66A8,8,0,0,1,61.66,42.34l80,80A8,8,0,0,1,141.66,133.66Zm80-11.32-80-80a8,8,0,0,0-11.32,11.32L204.69,128l-74.35,74.34a8,8,0,0,0,11.32,11.32l80-80A8,8,0,0,0,221.66,122.34Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M138.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L130.34,128,53.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,138.83,130.83Zm80-5.66-80-80a4,4,0,0,0-5.66,5.66L210.34,128l-77.17,77.17a4,4,0,0,0,5.66,5.66l80-80A4,4,0,0,0,218.83,125.17Z"}))]]),V2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),d.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),U2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),d.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),q2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),G2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),d.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),K2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),X2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),d.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),Y2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm56.49-92.49a12,12,0,0,1-17,17L162,131l-5.51,5.52a12,12,0,0,1-17-17L145,114l-5.52-5.51a12,12,0,0,1,17-17L162,97l5.51-5.52a12,12,0,0,1,17,17L179,114Zm-68,17a12,12,0,0,1-17,0L94,131l-5.51,5.52a12,12,0,0,1-17-17L77,114l-5.52-5.51a12,12,0,0,1,17-17L94,97l5.51-5.52a12,12,0,0,1,17,17L111,114l5.52,5.51A12,12,0,0,1,116.49,136.49ZM144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24Zm-18.34,98.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32L99.31,112ZM128,192a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm61.66-69.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm60.24-117.76L176.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L168,120.49l-11.76,11.75a6,6,0,0,1-8.48-8.48L159.51,112l-11.75-11.76a6,6,0,0,1,8.48-8.48L168,103.51l11.76-11.75a6,6,0,0,1,8.48,8.48Zm-80,0L96.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L88,120.49,76.24,132.24a6,6,0,0,1-8.48-8.48L79.51,112,67.76,100.24a6,6,0,0,1,8.48-8.48L88,103.51,99.76,91.76a6,6,0,0,1,8.48,8.48ZM138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220ZM186.83,98.83,173.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L168,117.66l-13.17,13.17a4,4,0,0,1-5.66-5.66L162.34,112,149.17,98.83a4,4,0,0,1,5.66-5.66L168,106.34l13.17-13.17a4,4,0,1,1,5.66,5.66Zm-80,0L93.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L88,117.66,74.83,130.83a4,4,0,0,1-5.66-5.66L82.34,112,69.17,98.83a4,4,0,0,1,5.66-5.66L88,106.34l13.17-13.17a4,4,0,0,1,5.66,5.66ZM136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),Q2=d.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var J2=Object.defineProperty,Ri=Object.getOwnPropertySymbols,Zc=Object.prototype.hasOwnProperty,Hc=Object.prototype.propertyIsEnumerable,ru=(n,r,i)=>r in n?J2(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,iu=(n,r)=>{for(var i in r||(r={}))Zc.call(r,i)&&ru(n,i,r[i]);if(Ri)for(var i of Ri(r))Hc.call(r,i)&&ru(n,i,r[i]);return n},ou=(n,r)=>{var i={};for(var a in n)Zc.call(n,a)&&r.indexOf(a)<0&&(i[a]=n[a]);if(n!=null&&Ri)for(var a of Ri(n))r.indexOf(a)<0&&Hc.call(n,a)&&(i[a]=n[a]);return i};const Vc=d.forwardRef((n,r)=>{const i=n,{alt:a,color:l,size:u,weight:f,mirrored:h,children:b,weights:y}=i,$=ou(i,["alt","color","size","weight","mirrored","children","weights"]),T=d.useContext(Q2),{color:x="currentColor",size:v,weight:m="regular",mirrored:S=!1}=T,C=ou(T,["color","size","weight","mirrored"]);return d.createElement("svg",iu(iu({ref:r,xmlns:"http://www.w3.org/2000/svg",width:u??v,height:u??v,fill:l??x,viewBox:"0 0 256 256",transform:h||S?"scale(-1, 1)":void 0},C),$),!!a&&d.createElement("title",null,a),b,y.get(f??m))});Vc.displayName="IconBase";const pn=Vc;var e8=Object.defineProperty,t8=Object.defineProperties,n8=Object.getOwnPropertyDescriptors,au=Object.getOwnPropertySymbols,r8=Object.prototype.hasOwnProperty,i8=Object.prototype.propertyIsEnumerable,su=(n,r,i)=>r in n?e8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,o8=(n,r)=>{for(var i in r||(r={}))r8.call(r,i)&&su(n,i,r[i]);if(au)for(var i of au(r))i8.call(r,i)&&su(n,i,r[i]);return n},a8=(n,r)=>t8(n,n8(r));const Uc=d.forwardRef((n,r)=>d.createElement(pn,a8(o8({ref:r},n),{weights:Z2})));Uc.displayName="CaretDoubleLeft";var s8=Object.defineProperty,l8=Object.defineProperties,u8=Object.getOwnPropertyDescriptors,lu=Object.getOwnPropertySymbols,c8=Object.prototype.hasOwnProperty,f8=Object.prototype.propertyIsEnumerable,uu=(n,r,i)=>r in n?s8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,d8=(n,r)=>{for(var i in r||(r={}))c8.call(r,i)&&uu(n,i,r[i]);if(lu)for(var i of lu(r))f8.call(r,i)&&uu(n,i,r[i]);return n},h8=(n,r)=>l8(n,u8(r));const qc=d.forwardRef((n,r)=>d.createElement(pn,h8(d8({ref:r},n),{weights:H2})));qc.displayName="CaretDoubleRight";var p8=Object.defineProperty,g8=Object.defineProperties,m8=Object.getOwnPropertyDescriptors,cu=Object.getOwnPropertySymbols,v8=Object.prototype.hasOwnProperty,y8=Object.prototype.propertyIsEnumerable,fu=(n,r,i)=>r in n?p8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,b8=(n,r)=>{for(var i in r||(r={}))v8.call(r,i)&&fu(n,i,r[i]);if(cu)for(var i of cu(r))y8.call(r,i)&&fu(n,i,r[i]);return n},x8=(n,r)=>g8(n,m8(r));const ya=d.forwardRef((n,r)=>d.createElement(pn,x8(b8({ref:r},n),{weights:V2})));ya.displayName="CaretDown";var w8=Object.defineProperty,_8=Object.defineProperties,C8=Object.getOwnPropertyDescriptors,du=Object.getOwnPropertySymbols,S8=Object.prototype.hasOwnProperty,E8=Object.prototype.propertyIsEnumerable,hu=(n,r,i)=>r in n?w8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,A8=(n,r)=>{for(var i in r||(r={}))S8.call(r,i)&&hu(n,i,r[i]);if(du)for(var i of du(r))E8.call(r,i)&&hu(n,i,r[i]);return n},$8=(n,r)=>_8(n,C8(r));const ba=d.forwardRef((n,r)=>d.createElement(pn,$8(A8({ref:r},n),{weights:U2})));ba.displayName="CaretLeft";var T8=Object.defineProperty,k8=Object.defineProperties,R8=Object.getOwnPropertyDescriptors,pu=Object.getOwnPropertySymbols,L8=Object.prototype.hasOwnProperty,O8=Object.prototype.propertyIsEnumerable,gu=(n,r,i)=>r in n?T8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,I8=(n,r)=>{for(var i in r||(r={}))L8.call(r,i)&&gu(n,i,r[i]);if(pu)for(var i of pu(r))O8.call(r,i)&&gu(n,i,r[i]);return n},M8=(n,r)=>k8(n,R8(r));const Lr=d.forwardRef((n,r)=>d.createElement(pn,M8(I8({ref:r},n),{weights:q2})));Lr.displayName="CaretRight";var F8=Object.defineProperty,z8=Object.defineProperties,j8=Object.getOwnPropertyDescriptors,mu=Object.getOwnPropertySymbols,B8=Object.prototype.hasOwnProperty,P8=Object.prototype.propertyIsEnumerable,vu=(n,r,i)=>r in n?F8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,W8=(n,r)=>{for(var i in r||(r={}))B8.call(r,i)&&vu(n,i,r[i]);if(mu)for(var i of mu(r))P8.call(r,i)&&vu(n,i,r[i]);return n},D8=(n,r)=>z8(n,j8(r));const Gc=d.forwardRef((n,r)=>d.createElement(pn,D8(W8({ref:r},n),{weights:G2})));Gc.displayName="Check";var N8=Object.defineProperty,Z8=Object.defineProperties,H8=Object.getOwnPropertyDescriptors,yu=Object.getOwnPropertySymbols,V8=Object.prototype.hasOwnProperty,U8=Object.prototype.propertyIsEnumerable,bu=(n,r,i)=>r in n?N8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,q8=(n,r)=>{for(var i in r||(r={}))V8.call(r,i)&&bu(n,i,r[i]);if(yu)for(var i of yu(r))U8.call(r,i)&&bu(n,i,r[i]);return n},G8=(n,r)=>Z8(n,H8(r));const Kc=d.forwardRef((n,r)=>d.createElement(pn,G8(q8({ref:r},n),{weights:K2})));Kc.displayName="Eye";var K8=Object.defineProperty,X8=Object.defineProperties,Y8=Object.getOwnPropertyDescriptors,xu=Object.getOwnPropertySymbols,Q8=Object.prototype.hasOwnProperty,J8=Object.prototype.propertyIsEnumerable,wu=(n,r,i)=>r in n?K8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,ev=(n,r)=>{for(var i in r||(r={}))Q8.call(r,i)&&wu(n,i,r[i]);if(xu)for(var i of xu(r))J8.call(r,i)&&wu(n,i,r[i]);return n},tv=(n,r)=>X8(n,Y8(r));const Xc=d.forwardRef((n,r)=>d.createElement(pn,tv(ev({ref:r},n),{weights:X2})));Xc.displayName="EyeSlash";var nv=Object.defineProperty,rv=Object.defineProperties,iv=Object.getOwnPropertyDescriptors,_u=Object.getOwnPropertySymbols,ov=Object.prototype.hasOwnProperty,av=Object.prototype.propertyIsEnumerable,Cu=(n,r,i)=>r in n?nv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,sv=(n,r)=>{for(var i in r||(r={}))ov.call(r,i)&&Cu(n,i,r[i]);if(_u)for(var i of _u(r))av.call(r,i)&&Cu(n,i,r[i]);return n},lv=(n,r)=>rv(n,iv(r));const Yc=d.forwardRef((n,r)=>d.createElement(pn,lv(sv({ref:r},n),{weights:Y2})));Yc.displayName="SmileyXEyes";function uv(n){const r=d.useRef(void 0);return d.useEffect(()=>{r.current=n},[n]),r.current}const cv=Sn.keyframes`
32
32
  0% {
33
33
  background-position: -468px 0;
34
34
  }
35
35
  100% {
36
36
  background-position: 468px 0;
37
37
  }
38
- `,fv=ie.div`
38
+ `,fv=oe.div`
39
39
  width: 100%;
40
40
  height: 100%;
41
41
  border-radius: ${({theme:n,$variant:r})=>{const i=n.__hd__.skeleton.container[r].borderRadius;switch(r){case"circle":return`${n.radii[i]}px`;case"rounded":return`${n.radii[i]}px`;default:return`${n.radii[i]}px`}}};
@@ -51,7 +51,7 @@ function print() { __p += __j.call(arguments, '') }
51
51
  animation: ${cv} ${({theme:n,$duration:r})=>r||n.__hd__.skeleton.animation.duration}ms linear infinite;
52
52
  will-change: background-position;
53
53
  transform: translateZ(0); /* Force hardware acceleration */
54
- `,dv=({visible:n,variant:r,animationDuration:i,children:a,...l})=>{const u=_e(),[f,p]=d.useState(n),v=d.useDeferredValue(n),y=d.useDeferredValue(f),$=u.__hd__.skeleton.animation.transition.backgroundDuration,T=u.__hd__.skeleton.animation.transition.contentFadeDuration;return d.useEffect(()=>{let x;return v?p(!0):x=setTimeout(()=>{p(!1)},$),()=>{x&&clearTimeout(x)}},[$,v]),w.jsxs(G,{...l,position:"relative",children:[w.jsx(G,{fw:!0,fh:!0,position:"relative",opacity:n?0:1,transition:`opacity ${T}ms ease-in-out`,children:a}),(n||v||f||y)&&w.jsx(G,{absoluteFill:!0,opacity:n&&f?1:0,transition:`opacity ${$}ms ease-in-out`,children:w.jsx(fv,{$variant:r,$duration:i,$visible:!0})})]})},ji=({visible:n=!0,variant:r="rectangle",children:i,animationDuration:a=1500,...l})=>w.jsx(dv,{visible:n,variant:r,animationDuration:a,...l,children:i}),hv=ie.p.attrs(({as:n})=>({as:n||"p"}))(({$themeFontSize:n,$themeFontWeight:r,$themeColor:i,$themeTypeface:a,theme:l,$textAlign:u,$textTransform:f,$textDecoration:p,$numberOfLines:v})=>{const y=l,$=zt(r,b=>y.__hd__.text.fontWeights[b]),T={fontSize:zt(n,b=>`${y.__hd__.text.fontSizes[b]}px`),lineHeight:zt(n,b=>`${y.__hd__.text.lineHeights[b]}px`),letterSpacing:zt(n,b=>`${y.__hd__.text.fontSizes[b]*.03}px`)},x=v?Ac({numberOfLines:v,themeFontSize:n},({numberOfLines:b,themeFontSize:m})=>({display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:b,minHeight:`${y.__hd__.text.lineHeights[m]*b}px`,maxHeight:`${y.__hd__.text.lineHeights[m]*b}px`,overflow:"hidden"})):{};return lr({...T,...x,fontFamily:zt(a,b=>y.fonts[b]),fontWeight:$,color:zt(i,b=>y.colors[b]),textAlign:u,textTransform:f,textDecoration:p,margin:0})}),Qc=[{pattern:/<strong>(.*?)<\/strong>/g,props:{fontWeight:"bold"}}],pv=(n,r,i)=>{if(typeof n!="string")return n;let a=0;const l=[];return Qc.forEach(({pattern:u,props:f})=>{Array.from(n.matchAll(u)).forEach(v=>{const[y,$]=v,T=v.index;T>a&&l.push(n.slice(a,T)),l.push(d.createElement(r,{...i,...f,key:T},$)),a=T+y.length})}),a<n.length&&l.push(n.slice(a)),l},gv=n=>function(i){const{useRichText:a=!1,children:l}=i;if(!a||typeof l!="string")return w.jsx(n,{...i,children:l});const u=pv(l.toString(),n,i);return w.jsx(n,{...i,children:u})};function mv({children:n,fontSize:r="medium",fontWeight:i="regular",color:a="grey900",typeface:l="neutral",textAlign:u,textTransform:f,textDecoration:p,numberOfLines:v,"data-testid":y,as:$="p",...T},x){return w.jsx(hv,{...T,$themeFontSize:r,$themeFontWeight:i,$themeColor:a,$themeTypeface:l,$textAlign:u,$textTransform:f,$textDecoration:p,ref:x,"data-testid":y,as:$,$numberOfLines:v,children:n})}const vv=d.forwardRef(mv),at=gv(vv),yv=()=>w.jsxs(G,{display:"flex",alignItems:"center",justifyContent:"center",gap:"2xs",children:[w.jsx(va,{art:Yc,size:"sm",color:"grey600"}),w.jsx(at,{fontSize:"xs",color:"grey600",children:"Error"})]}),bv=ie.img`
54
+ `,dv=({visible:n,variant:r,animationDuration:i,children:a,...l})=>{const u=Ce(),[f,h]=d.useState(n),b=d.useDeferredValue(n),y=d.useDeferredValue(f),$=u.__hd__.skeleton.animation.transition.backgroundDuration,T=u.__hd__.skeleton.animation.transition.contentFadeDuration;return d.useEffect(()=>{let x;return b?h(!0):x=setTimeout(()=>{h(!1)},$),()=>{x&&clearTimeout(x)}},[$,b]),w.jsxs(G,{...l,position:"relative",children:[w.jsx(G,{fw:!0,fh:!0,position:"relative",opacity:n?0:1,transition:`opacity ${T}ms ease-in-out`,children:a}),(n||b||f||y)&&w.jsx(G,{absoluteFill:!0,opacity:n&&f?1:0,transition:`opacity ${$}ms ease-in-out`,children:w.jsx(fv,{$variant:r,$duration:i,$visible:!0})})]})},ji=({visible:n=!0,variant:r="rectangle",children:i,animationDuration:a=1500,...l})=>w.jsx(dv,{visible:n,variant:r,animationDuration:a,...l,children:i}),hv=oe.p.attrs(({as:n})=>({as:n||"p"}))(({$themeFontSize:n,$themeFontWeight:r,$themeColor:i,$themeTypeface:a,theme:l,$textAlign:u,$textTransform:f,$textDecoration:h,$numberOfLines:b})=>{const y=l,$=zt(r,v=>y.__hd__.text.fontWeights[v]),T={fontSize:zt(n,v=>`${y.__hd__.text.fontSizes[v]}px`),lineHeight:zt(n,v=>`${y.__hd__.text.lineHeights[v]}px`),letterSpacing:zt(n,v=>`${y.__hd__.text.fontSizes[v]*.03}px`)},x=b?Ac({numberOfLines:b,themeFontSize:n},({numberOfLines:v,themeFontSize:m})=>({display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:v,minHeight:`${y.__hd__.text.lineHeights[m]*v}px`,maxHeight:`${y.__hd__.text.lineHeights[m]*v}px`,overflow:"hidden"})):{};return lr({...T,...x,fontFamily:zt(a,v=>y.fonts[v]),fontWeight:$,color:zt(i,v=>y.colors[v]),textAlign:u,textTransform:f,textDecoration:h,margin:0})}),Qc=[{pattern:/<strong>(.*?)<\/strong>/g,props:{fontWeight:"bold"}}],pv=(n,r,i)=>{if(typeof n!="string")return n;let a=0;const l=[];return Qc.forEach(({pattern:u,props:f})=>{Array.from(n.matchAll(u)).forEach(b=>{const[y,$]=b,T=b.index;T>a&&l.push(n.slice(a,T)),l.push(d.createElement(r,{...i,...f,key:T},$)),a=T+y.length})}),a<n.length&&l.push(n.slice(a)),l},gv=n=>function(i){const{useRichText:a=!1,children:l}=i;if(!a||typeof l!="string")return w.jsx(n,{...i,children:l});const u=pv(l.toString(),n,i);return w.jsx(n,{...i,children:u})};function mv({children:n,fontSize:r="medium",fontWeight:i="regular",color:a="grey900",typeface:l="neutral",textAlign:u,textTransform:f,textDecoration:h,numberOfLines:b,"data-testid":y,as:$="p",...T},x){return w.jsx(hv,{...T,$themeFontSize:r,$themeFontWeight:i,$themeColor:a,$themeTypeface:l,$textAlign:u,$textTransform:f,$textDecoration:h,ref:x,"data-testid":y,as:$,$numberOfLines:b,children:n})}const vv=d.forwardRef(mv),ct=gv(vv),yv=()=>w.jsxs(G,{display:"flex",alignItems:"center",justifyContent:"center",gap:"2xs",children:[w.jsx(va,{art:Yc,size:"sm",color:"grey600"}),w.jsx(ct,{fontSize:"xs",color:"grey600",children:"Error"})]}),bv=oe.img`
55
55
  width: 100%;
56
56
  height: 100%;
57
57
  object-fit: ${({$objectFit:n})=>n};
@@ -59,7 +59,7 @@ function print() { __p += __j.call(arguments, '') }
59
59
  aspect-ratio: ${({$aspectRatio:n})=>n};
60
60
  mix-blend-mode: ${({$mixBlendMode:n})=>n};
61
61
  image-rendering: ${({$imageRendering:n})=>n};
62
- `,Jc=({art:n,width:r,height:i,style:a,"data-testid":l,alt:u,fallback:f,useSkeleton:p=!0,objectFit:v,objectPosition:y,aspectRatio:$,mixBlendMode:T,imageRendering:x,...b})=>{const m=_e(),[S,C]=d.useState(!0),[M,L]=d.useState(!1),A=m.__hd__.art.defaultImageSize||m.__hd__.art.defaultSize,O=zt(r,pe=>gt(m,pe??A)),z=zt(i,pe=>gt(m,pe??A)),D=b.r||b.radius||b.borderRadius||"md",H=uv(n);d.useEffect(()=>{!Ie.isNil(H)&&H!==n&&(C(!0),L(!1))},[n,H]);const q=()=>{C(!1)},le=()=>{L(!0),C(!1)};return w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",width:O,height:z,overflow:"hidden",style:a,"data-testid":l,...b,children:w.jsxs(ji,{visible:S,width:O,height:z,r:D,children:[M&&w.jsxs(G,{width:O,height:z,r:D,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!S&&f,!S&&!f&&!u&&w.jsx(at,{fontSize:"xs",color:"grey600",children:f||u}),!S&&!f&&!u&&yv()]}),!M&&(!xt()||!p)&&w.jsx(bv,{src:n,alt:Ie.isString(u)?u:"Image",onLoad:q,onError:le,"data-testid":l?`${l}-image`:void 0,$objectFit:v,$objectPosition:y,$aspectRatio:$,$mixBlendMode:T,$imageRendering:x}),!M&&xt()&&p&&u]})})},ef=({art:n,width:r,height:i,style:a,"data-testid":l,...u})=>{const f=_e(),p=f.__hd__.art.defaultSvgSize||f.__hd__.art.defaultSize,v=gt(f,r??p),y=gt(f,i??p);return w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:y,overflow:"hidden",style:a,"data-testid":l,dangerouslySetInnerHTML:{__html:n},...u})},Ut=n=>{const{art:r,type:i}=n;return i==="image"||Ie.isString(r)&&Pc(r)?w.jsx(Jc,{...n}):i==="svg"||Ie.isString(r)&&Wc(r)?w.jsx(ef,{...n}):i==="emoji"||Ie.isString(r)&&jc(r)?w.jsx(Nc,{...n}):i==="icon"||Ie.isString(r)&&Bc(r)?w.jsx(va,{...n}):i==="brand"?w.jsx(Dc,{...n}):w.jsx(w.Fragment,{})},xv=n=>n==="sm"||n==="md"||n==="lg",tf=({src:n,name:r,size:i,...a})=>{var $;const l=_e(),u=l.__hd__.avatar,f=i||u.defaultSize,p=gt(l,f);let v=u.defaultFallbackTextSize;typeof f=="string"&&xv(f)&&u.sizes[f]&&(v=u.sizes[f].fallbackTextSize);const y=u.fallbackBackgroundColor;return w.jsx(G,{width:p,height:p,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...a,children:n?w.jsx(Ut,{type:"image",art:n,width:"100%",height:"100%",objectFit:"cover"}):w.jsx(G,{width:"100%",height:"100%",bgColor:y,display:"flex",justifyContent:"center",alignItems:"center",children:w.jsx(at,{color:"white",fontSize:v,fontWeight:"semibold",children:(($=r==null?void 0:r.charAt(0))==null?void 0:$.toUpperCase())||"U"})})})};function wv(n){const[r,i]=d.useState(()=>(xt(),!1));return d.useEffect(()=>{if(xt())return;const a=window.matchMedia(n),l=u=>{i(u.matches)};return a.addEventListener?a.addEventListener("change",l):a.addListener(l),i(a.matches),()=>{a.removeEventListener?a.removeEventListener("change",l):a.removeListener(l)}},[n]),r}const Or=(n="xl")=>{const[r,i]=d.useState(()=>(typeof window>"u"||!window.matchMedia,n));return d.useEffect(()=>{if(xt())return;const l=["xl","lg","md","sm"].map(p=>({key:p,mql:window.matchMedia(`(min-width: ${Rr[p]}px)`)})),u=()=>{for(const{key:p,mql:v}of l)if(v.matches)return p;return"xs"},f=()=>{i(u())};return f(),l.forEach(({mql:p})=>{p.addEventListener?p.addEventListener("change",f):p.addListener(f)}),()=>{l.forEach(({mql:p})=>{p.removeEventListener?p.removeEventListener("change",f):p.removeListener(f)})}},[]),r};function _v(){const{innerWidth:n,innerHeight:r}=window;return{width:n,height:r}}const nf=()=>{const[n,r]=d.useState(()=>xt()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return d.useEffect(()=>{if(xt())return;function i(){r(_v())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),n},sr=typeof window<"u"?d.useLayoutEffect:d.useEffect;function ia(n,r,i,a){const l=d.useRef(r);sr(()=>{l.current=r},[r]),d.useEffect(()=>{const u=(i==null?void 0:i.current)??window;if(!(u&&u.addEventListener))return;const f=p=>{l.current(p)};return u.addEventListener(n,f,a),()=>{u.removeEventListener(n,f,a)}},[n,i,a])}function Bi(n){const[r,i]=d.useState(!1),a=Or(),l=a==="xs"||a==="sm",u=()=>{l||i(!0)},f=()=>{l||i(!1)};return ia("mouseenter",u,n),ia("mouseleave",f,n),l?!1:r}const Cv=()=>typeof window>"u"||!window.navigator?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: fine)").matches?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: coarse)").matches?{isMouse:!1,isTouch:!0}:{isMouse:!0,isTouch:!1};function xa(){const[n,r]=d.useState(Cv);return d.useEffect(()=>{const i=a=>{a.pointerType==="touch"?n.isTouch||r({isMouse:!1,isTouch:!0}):a.pointerType==="mouse"&&(n.isMouse||r({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[n]),n}var Ar={exports:{}},Sv=Ar.exports,Su;function Ev(){return Su||(Su=1,function(n,r){(function(i,a){var l="1.0.40",u="",f="?",p="function",v="undefined",y="object",$="string",T="major",x="model",b="name",m="type",S="vendor",C="version",M="architecture",L="console",A="mobile",O="tablet",z="smarttv",D="wearable",H="embedded",q=500,le="Amazon",pe="Apple",Ce="ASUS",N="BlackBerry",B="Browser",Z="Chrome",re="Edge",J="Firefox",K="Google",Q="Huawei",ae="LG",Te="Microsoft",be="Motorola",Fe="Opera",Re="Samsung",ze="Sharp",je="Sony",Ne="Xiaomi",Xe="Zebra",U="Facebook",F="Chromium OS",X="Mac OS",ee=" Browser",ce=function(ge,Se){var se={};for(var Pe in ge)Se[Pe]&&Se[Pe].length%2===0?se[Pe]=Se[Pe].concat(ge[Pe]):se[Pe]=ge[Pe];return se},me=function(ge){for(var Se={},se=0;se<ge.length;se++)Se[ge[se].toUpperCase()]=ge[se];return Se},xe=function(ge,Se){return typeof ge===$?He(Se).indexOf(He(ge))!==-1:!1},He=function(ge){return ge.toLowerCase()},dt=function(ge){return typeof ge===$?ge.replace(/[^\d\.]/g,u).split(".")[0]:a},Ye=function(ge,Se){if(typeof ge===$)return ge=ge.replace(/^\s\s*/,u),typeof Se===v?ge:ge.substring(0,q)},ut=function(ge,Se){for(var se=0,Pe,kt,_t,Me,he,Ct;se<Se.length&&!he;){var An=Se[se],Dn=Se[se+1];for(Pe=kt=0;Pe<An.length&&!he&&An[Pe];)if(he=An[Pe++].exec(ge),he)for(_t=0;_t<Dn.length;_t++)Ct=he[++kt],Me=Dn[_t],typeof Me===y&&Me.length>0?Me.length===2?typeof Me[1]==p?this[Me[0]]=Me[1].call(this,Ct):this[Me[0]]=Me[1]:Me.length===3?typeof Me[1]===p&&!(Me[1].exec&&Me[1].test)?this[Me[0]]=Ct?Me[1].call(this,Ct,Me[2]):a:this[Me[0]]=Ct?Ct.replace(Me[1],Me[2]):a:Me.length===4&&(this[Me[0]]=Ct?Me[3].call(this,Ct.replace(Me[1],Me[2])):a):this[Me]=Ct||a;se+=2}},wt=function(ge,Se){for(var se in Se)if(typeof Se[se]===y&&Se[se].length>0){for(var Pe=0;Pe<Se[se].length;Pe++)if(xe(Se[se][Pe],ge))return se===f?a:se}else if(xe(Se[se],ge))return se===f?a:se;return Se.hasOwnProperty("*")?Se["*"]:ge},et={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},st={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},tt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[C,[b,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[C,[b,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[b,C],[/opios[\/ ]+([\w\.]+)/i],[C,[b,Fe+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[C,[b,Fe+" GX"]],[/\bopr\/([\w\.]+)/i],[C,[b,Fe]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[C,[b,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[C,[b,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[b,C],[/quark(?:pc)?\/([-\w\.]+)/i],[C,[b,"Quark"]],[/\bddg\/([\w\.]+)/i],[C,[b,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[C,[b,"UC"+B]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[C,[b,"WeChat"]],[/konqueror\/([\w\.]+)/i],[C,[b,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[C,[b,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[C,[b,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[C,[b,"Smart Lenovo "+B]],[/(avast|avg)\/([\w\.]+)/i],[[b,/(.+)/,"$1 Secure "+B],C],[/\bfocus\/([\w\.]+)/i],[C,[b,J+" Focus"]],[/\bopt\/([\w\.]+)/i],[C,[b,Fe+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[C,[b,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[C,[b,"Dolphin"]],[/coast\/([\w\.]+)/i],[C,[b,Fe+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[C,[b,"MIUI"+ee]],[/fxios\/([\w\.-]+)/i],[C,[b,J]],[/\bqihoobrowser\/?([\w\.]*)/i],[C,[b,"360"]],[/\b(qq)\/([\w\.]+)/i],[[b,/(.+)/,"$1Browser"],C],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[b,/(.+)/,"$1"+ee],C],[/samsungbrowser\/([\w\.]+)/i],[C,[b,Re+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[C,[b,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[b,"Sogou Mobile"],C],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[b,C],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[b],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[C,b],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[b,U],C],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[b,C],[/\bgsa\/([\w\.]+) .*safari\//i],[C,[b,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[C,[b,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[C,[b,Z+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[b,Z+" WebView"],C],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[C,[b,"Android "+B]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[b,C],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[C,[b,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[C,b],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[b,[C,wt,et]],[/(webkit|khtml)\/([\w\.]+)/i],[b,C],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[b,"Netscape"],C],[/(wolvic|librewolf)\/([\w\.]+)/i],[b,C],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[C,[b,J+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[b,[C,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[b,[C,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[M,"amd64"]],[/(ia32(?=;))/i],[[M,He]],[/((?:i[346]|x)86)[;\)]/i],[[M,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[M,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[M,"armhf"]],[/windows (ce|mobile); ppc;/i],[[M,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[M,/ower/,u,He]],[/(sun4\w)[;\)]/i],[[M,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[M,He]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[x,[S,Re],[m,O]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[x,[S,Re],[m,A]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[x,[S,pe],[m,A]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[x,[S,pe],[m,O]],[/(macintosh);/i],[x,[S,pe]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[x,[S,ze],[m,A]],[/(?:honor)([-\w ]+)[;\)]/i],[x,[S,"Honor"],[m,A]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[x,[S,Q],[m,O]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[x,[S,Q],[m,A]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[x,/_/g," "],[S,Ne],[m,A]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[x,/_/g," "],[S,Ne],[m,O]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[x,[S,"OPPO"],[m,A]],[/\b(opd2\d{3}a?) bui/i],[x,[S,"OPPO"],[m,O]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[x,[S,"Vivo"],[m,A]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[x,[S,"Realme"],[m,A]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[x,[S,be],[m,A]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[x,[S,be],[m,O]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[x,[S,ae],[m,O]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[x,[S,ae],[m,A]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[x,[S,"Lenovo"],[m,O]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[x,/_/g," "],[S,"Nokia"],[m,A]],[/(pixel c)\b/i],[x,[S,K],[m,O]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[x,[S,K],[m,A]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[x,[S,je],[m,A]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[x,"Xperia Tablet"],[S,je],[m,O]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[x,[S,"OnePlus"],[m,A]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[x,[S,le],[m,O]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[x,/(.+)/g,"Fire Phone $1"],[S,le],[m,A]],[/(playbook);[-\w\),; ]+(rim)/i],[x,S,[m,O]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[x,[S,N],[m,A]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[x,[S,Ce],[m,O]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[x,[S,Ce],[m,A]],[/(nexus 9)/i],[x,[S,"HTC"],[m,O]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[S,[x,/_/g," "],[m,A]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[x,[S,"TCL"],[m,O]],[/(itel) ((\w+))/i],[[S,He],x,[m,wt,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[x,[S,"Acer"],[m,O]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[x,[S,"Meizu"],[m,A]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[x,[S,"Ulefone"],[m,A]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[x,[S,"Energizer"],[m,A]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[x,[S,"Cat"],[m,A]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[x,[S,"Smartfren"],[m,A]],[/droid.+; (a(?:015|06[35]|142p?))/i],[x,[S,"Nothing"],[m,A]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[S,x,[m,A]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[S,x,[m,O]],[/(surface duo)/i],[x,[S,Te],[m,O]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[x,[S,"Fairphone"],[m,A]],[/(u304aa)/i],[x,[S,"AT&T"],[m,A]],[/\bsie-(\w*)/i],[x,[S,"Siemens"],[m,A]],[/\b(rct\w+) b/i],[x,[S,"RCA"],[m,O]],[/\b(venue[\d ]{2,7}) b/i],[x,[S,"Dell"],[m,O]],[/\b(q(?:mv|ta)\w+) b/i],[x,[S,"Verizon"],[m,O]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[x,[S,"Barnes & Noble"],[m,O]],[/\b(tm\d{3}\w+) b/i],[x,[S,"NuVision"],[m,O]],[/\b(k88) b/i],[x,[S,"ZTE"],[m,O]],[/\b(nx\d{3}j) b/i],[x,[S,"ZTE"],[m,A]],[/\b(gen\d{3}) b.+49h/i],[x,[S,"Swiss"],[m,A]],[/\b(zur\d{3}) b/i],[x,[S,"Swiss"],[m,O]],[/\b((zeki)?tb.*\b) b/i],[x,[S,"Zeki"],[m,O]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[S,"Dragon Touch"],x,[m,O]],[/\b(ns-?\w{0,9}) b/i],[x,[S,"Insignia"],[m,O]],[/\b((nxa|next)-?\w{0,9}) b/i],[x,[S,"NextBook"],[m,O]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[S,"Voice"],x,[m,A]],[/\b(lvtel\-)?(v1[12]) b/i],[[S,"LvTel"],x,[m,A]],[/\b(ph-1) /i],[x,[S,"Essential"],[m,A]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[x,[S,"Envizen"],[m,O]],[/\b(trio[-\w\. ]+) b/i],[x,[S,"MachSpeed"],[m,O]],[/\btu_(1491) b/i],[x,[S,"Rotor"],[m,O]],[/(shield[\w ]+) b/i],[x,[S,"Nvidia"],[m,O]],[/(sprint) (\w+)/i],[S,x,[m,A]],[/(kin\.[onetw]{3})/i],[[x,/\./g," "],[S,Te],[m,A]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[x,[S,Xe],[m,O]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[x,[S,Xe],[m,A]],[/smart-tv.+(samsung)/i],[S,[m,z]],[/hbbtv.+maple;(\d+)/i],[[x,/^/,"SmartTV"],[S,Re],[m,z]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[S,ae],[m,z]],[/(apple) ?tv/i],[S,[x,pe+" TV"],[m,z]],[/crkey/i],[[x,Z+"cast"],[S,K],[m,z]],[/droid.+aft(\w+)( bui|\))/i],[x,[S,le],[m,z]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[x,[S,ze],[m,z]],[/(bravia[\w ]+)( bui|\))/i],[x,[S,je],[m,z]],[/(mitv-\w{5}) bui/i],[x,[S,Ne],[m,z]],[/Hbbtv.*(technisat) (.*);/i],[S,x,[m,z]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[S,Ye],[x,Ye],[m,z]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,z]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[S,x,[m,L]],[/droid.+; (shield) bui/i],[x,[S,"Nvidia"],[m,L]],[/(playstation [345portablevi]+)/i],[x,[S,je],[m,L]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[x,[S,Te],[m,L]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[x,[S,Re],[m,D]],[/((pebble))app/i],[S,x,[m,D]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[x,[S,pe],[m,D]],[/droid.+; (glass) \d/i],[x,[S,K],[m,D]],[/droid.+; (wt63?0{2,3})\)/i],[x,[S,Xe],[m,D]],[/droid.+; (glass) \d/i],[x,[S,K],[m,D]],[/(pico) (4|neo3(?: link|pro)?)/i],[S,x,[m,D]],[/; (quest( \d| pro)?)/i],[x,[S,U],[m,D]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[S,[m,H]],[/(aeobc)\b/i],[x,[S,le],[m,H]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[x,[m,A]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[x,[m,O]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,O]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,A]],[/(android[-\w\. ]{0,9});.+buil/i],[x,[S,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[C,[b,re+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[b,C],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[C,[b,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[b,C],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[C,b]],os:[[/microsoft (windows) (vista|xp)/i],[b,C],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[b,[C,wt,st]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[C,wt,st],[b,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[C,/_/g,"."],[b,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[b,X],[C,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[C,b],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[b,C],[/\(bb(10);/i],[C,[b,N]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[C,[b,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[C,[b,J+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[C,[b,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[C,[b,"watchOS"]],[/crkey\/([\d\.]+)/i],[C,[b,Z+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[b,F],C],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[b,C],[/(sunos) ?([\w\.\d]*)/i],[[b,"Solaris"],C],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[b,C]]},Y=function(ge,Se){if(typeof ge===y&&(Se=ge,ge=a),!(this instanceof Y))return new Y(ge,Se).getResult();var se=typeof i!==v&&i.navigator?i.navigator:a,Pe=ge||(se&&se.userAgent?se.userAgent:u),kt=se&&se.userAgentData?se.userAgentData:a,_t=Se?ce(tt,Se):tt,Me=se&&se.userAgent==Pe;return this.getBrowser=function(){var he={};return he[b]=a,he[C]=a,ut.call(he,Pe,_t.browser),he[T]=dt(he[C]),Me&&se&&se.brave&&typeof se.brave.isBrave==p&&(he[b]="Brave"),he},this.getCPU=function(){var he={};return he[M]=a,ut.call(he,Pe,_t.cpu),he},this.getDevice=function(){var he={};return he[S]=a,he[x]=a,he[m]=a,ut.call(he,Pe,_t.device),Me&&!he[m]&&kt&&kt.mobile&&(he[m]=A),Me&&he[x]=="Macintosh"&&se&&typeof se.standalone!==v&&se.maxTouchPoints&&se.maxTouchPoints>2&&(he[x]="iPad",he[m]=O),he},this.getEngine=function(){var he={};return he[b]=a,he[C]=a,ut.call(he,Pe,_t.engine),he},this.getOS=function(){var he={};return he[b]=a,he[C]=a,ut.call(he,Pe,_t.os),Me&&!he[b]&&kt&&kt.platform&&kt.platform!="Unknown"&&(he[b]=kt.platform.replace(/chrome os/i,F).replace(/macos/i,X)),he},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Pe},this.setUA=function(he){return Pe=typeof he===$&&he.length>q?Ye(he,q):he,this},this.setUA(Pe),this};Y.VERSION=l,Y.BROWSER=me([b,C,T]),Y.CPU=me([M]),Y.DEVICE=me([x,S,m,L,A,z,O,D,H]),Y.ENGINE=Y.OS=me([b,C]),n.exports&&(r=n.exports=Y),r.UAParser=Y;var ve=typeof i!==v&&(i.jQuery||i.Zepto);if(ve&&!ve.ua){var Ve=new Y;ve.ua=Ve.getResult(),ve.ua.get=function(){return Ve.getUA()},ve.ua.set=function(ge){Ve.setUA(ge);var Se=Ve.getResult();for(var se in Se)ve.ua[se]=Se[se]}}})(typeof window=="object"?window:Sv)}(Ar,Ar.exports)),Ar.exports}var Av=Ev(),rf=(n=>(n.Desktop="Desktop",n.Mobile="Mobile",n.Tablet="Tablet",n.SmartTV="Smart TV",n.Bot="Bot/Crawler",n.Unknown="Unknown",n))(rf||{}),of=(n=>(n.Chrome="Chrome",n.Firefox="Firefox",n.Safari="Safari",n.Edge="Edge",n.IE="IE/Edge Legacy",n.Opera="Opera",n.Brave="Brave",n.Other="Other",n))(of||{}),af=(n=>(n.Windows="Windows",n.macOS="macOS",n.Linux="Linux",n.Android="Android",n.iOS="iOS",n.Other="Other",n))(af||{});const oa=n=>{const i=new Av.UAParser(n).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(n)?"Bot/Crawler":$v(i.device.type),browserName:Tv(i.browser.name),osName:kv(i.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...i,normalized:l,isMobile:u,isDesktop:!u}},$v=n=>{if(!n)return"Desktop";const r=n.toLowerCase();return r==="mobile"?"Mobile":r==="tablet"?"Tablet":r==="smarttv"?"Smart TV":"Unknown"},Tv=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("brave")?"Brave":r.includes("edge")?"Edge":r.includes("opera")?"Opera":r.includes("ie")||r.includes("trident")?"IE/Edge Legacy":r.includes("chrome")?"Chrome":r.includes("firefox")?"Firefox":r.includes("safari")?"Safari":"Other"},kv=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("windows")?"Windows":r.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(i=>r.includes(i))?"Linux":r.includes("android")?"Android":r.includes("ios")?"iOS":"Other"},Rv=n=>{const[r,i]=d.useState(n?oa(n):void 0);return d.useEffect(()=>{r||i(oa(window.navigator.userAgent))},[r]),r},Lv=ie(G)`
62
+ `,Jc=({art:n,width:r,height:i,style:a,"data-testid":l,alt:u,fallback:f,useSkeleton:h=!0,objectFit:b,objectPosition:y,aspectRatio:$,mixBlendMode:T,imageRendering:x,...v})=>{const m=Ce(),[S,C]=d.useState(!0),[M,L]=d.useState(!1),A=m.__hd__.art.defaultImageSize||m.__hd__.art.defaultSize,O=zt(r,ye=>mt(m,ye??A)),F=zt(i,ye=>mt(m,ye??A)),W=v.r||v.radius||v.borderRadius||"md",N=uv(n);d.useEffect(()=>{!Fe.isNil(N)&&N!==n&&(C(!0),L(!1))},[n,N]);const q=()=>{C(!1)},fe=()=>{L(!0),C(!1)};return w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",width:O,height:F,overflow:"hidden",style:a,"data-testid":l,...v,children:w.jsxs(ji,{visible:S,width:O,height:F,r:W,children:[M&&w.jsxs(G,{width:O,height:F,r:W,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!S&&f,!S&&!f&&!u&&w.jsx(ct,{fontSize:"xs",color:"grey600",children:f||u}),!S&&!f&&!u&&yv()]}),!M&&(!wt()||!h)&&w.jsx(bv,{src:n,alt:Fe.isString(u)?u:"Image",onLoad:q,onError:fe,"data-testid":l?`${l}-image`:void 0,$objectFit:b,$objectPosition:y,$aspectRatio:$,$mixBlendMode:T,$imageRendering:x}),!M&&wt()&&h&&u]})})},ef=({art:n,width:r,height:i,style:a,"data-testid":l,...u})=>{const f=Ce(),h=f.__hd__.art.defaultSvgSize||f.__hd__.art.defaultSize,b=mt(f,r??h),y=mt(f,i??h);return w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",width:b,height:y,overflow:"hidden",style:a,"data-testid":l,dangerouslySetInnerHTML:{__html:n},...u})},Ut=n=>{const{art:r,type:i}=n;return i==="image"||Fe.isString(r)&&Pc(r)?w.jsx(Jc,{...n}):i==="svg"||Fe.isString(r)&&Wc(r)?w.jsx(ef,{...n}):i==="emoji"||Fe.isString(r)&&jc(r)?w.jsx(Nc,{...n}):i==="icon"||Fe.isString(r)&&Bc(r)?w.jsx(va,{...n}):i==="brand"?w.jsx(Dc,{...n}):w.jsx(w.Fragment,{})},xv=n=>n==="sm"||n==="md"||n==="lg",tf=({src:n,name:r,size:i,...a})=>{var $;const l=Ce(),u=l.__hd__.avatar,f=i||u.defaultSize,h=mt(l,f);let b=u.defaultFallbackTextSize;typeof f=="string"&&xv(f)&&u.sizes[f]&&(b=u.sizes[f].fallbackTextSize);const y=u.fallbackBackgroundColor;return w.jsx(G,{width:h,height:h,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...a,children:n?w.jsx(Ut,{type:"image",art:n,width:"100%",height:"100%",objectFit:"cover"}):w.jsx(G,{width:"100%",height:"100%",bgColor:y,display:"flex",justifyContent:"center",alignItems:"center",children:w.jsx(ct,{color:"white",fontSize:b,fontWeight:"semibold",children:(($=r==null?void 0:r.charAt(0))==null?void 0:$.toUpperCase())||"U"})})})};function wv(n){const[r,i]=d.useState(()=>(wt(),!1));return d.useEffect(()=>{if(wt())return;const a=window.matchMedia(n),l=u=>{i(u.matches)};return a.addEventListener?a.addEventListener("change",l):a.addListener(l),i(a.matches),()=>{a.removeEventListener?a.removeEventListener("change",l):a.removeListener(l)}},[n]),r}const Or=(n="xl")=>{const[r,i]=d.useState(()=>(typeof window>"u"||!window.matchMedia,n));return d.useEffect(()=>{if(wt())return;const l=["xl","lg","md","sm"].map(h=>({key:h,mql:window.matchMedia(`(min-width: ${Rr[h]}px)`)})),u=()=>{for(const{key:h,mql:b}of l)if(b.matches)return h;return"xs"},f=()=>{i(u())};return f(),l.forEach(({mql:h})=>{h.addEventListener?h.addEventListener("change",f):h.addListener(f)}),()=>{l.forEach(({mql:h})=>{h.removeEventListener?h.removeEventListener("change",f):h.removeListener(f)})}},[]),r};function _v(){const{innerWidth:n,innerHeight:r}=window;return{width:n,height:r}}const nf=()=>{const[n,r]=d.useState(()=>wt()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return d.useEffect(()=>{if(wt())return;function i(){r(_v())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),n},Pn=typeof window<"u"?d.useLayoutEffect:d.useEffect;function ia(n,r,i,a){const l=d.useRef(r);Pn(()=>{l.current=r},[r]),d.useEffect(()=>{const u=(i==null?void 0:i.current)??window;if(!(u&&u.addEventListener))return;const f=h=>{l.current(h)};return u.addEventListener(n,f,a),()=>{u.removeEventListener(n,f,a)}},[n,i,a])}function Bi(n){const[r,i]=d.useState(!1),a=Or(),l=a==="xs"||a==="sm",u=()=>{l||i(!0)},f=()=>{l||i(!1)};return ia("mouseenter",u,n),ia("mouseleave",f,n),l?!1:r}const Cv=()=>typeof window>"u"||!window.navigator?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: fine)").matches?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: coarse)").matches?{isMouse:!1,isTouch:!0}:{isMouse:!0,isTouch:!1};function xa(){const[n,r]=d.useState(Cv);return d.useEffect(()=>{const i=a=>{a.pointerType==="touch"?n.isTouch||r({isMouse:!1,isTouch:!0}):a.pointerType==="mouse"&&(n.isMouse||r({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[n]),n}var Ar={exports:{}},Sv=Ar.exports,Su;function Ev(){return Su||(Su=1,function(n,r){(function(i,a){var l="1.0.40",u="",f="?",h="function",b="undefined",y="object",$="string",T="major",x="model",v="name",m="type",S="vendor",C="version",M="architecture",L="console",A="mobile",O="tablet",F="smarttv",W="wearable",N="embedded",q=500,fe="Amazon",ye="Apple",we="ASUS",D="BlackBerry",j="Browser",H="Chrome",ie="Edge",J="Firefox",K="Google",X="Huawei",ce="LG",Te="Microsoft",be="Motorola",Be="Opera",Le="Samsung",Ve="Sharp",Ye="Sony",De="Xiaomi",Ke="Zebra",Z="Facebook",Y="Chromium OS",ae="Mac OS",le=" Browser",U=function(ue,de){var he={};for(var Ne in ue)de[Ne]&&de[Ne].length%2===0?he[Ne]=de[Ne].concat(ue[Ne]):he[Ne]=ue[Ne];return he},te=function(ue){for(var de={},he=0;he<ue.length;he++)de[ue[he].toUpperCase()]=ue[he];return de},re=function(ue,de){return typeof ue===$?Oe(de).indexOf(Oe(ue))!==-1:!1},Oe=function(ue){return ue.toLowerCase()},Ae=function(ue){return typeof ue===$?ue.replace(/[^\d\.]/g,u).split(".")[0]:a},Pe=function(ue,de){if(typeof ue===$)return ue=ue.replace(/^\s\s*/,u),typeof de===b?ue:ue.substring(0,q)},Qe=function(ue,de){for(var he=0,Ne,kt,_t,je,ve,Ct;he<de.length&&!ve;){var An=de[he],Nn=de[he+1];for(Ne=kt=0;Ne<An.length&&!ve&&An[Ne];)if(ve=An[Ne++].exec(ue),ve)for(_t=0;_t<Nn.length;_t++)Ct=ve[++kt],je=Nn[_t],typeof je===y&&je.length>0?je.length===2?typeof je[1]==h?this[je[0]]=je[1].call(this,Ct):this[je[0]]=je[1]:je.length===3?typeof je[1]===h&&!(je[1].exec&&je[1].test)?this[je[0]]=Ct?je[1].call(this,Ct,je[2]):a:this[je[0]]=Ct?Ct.replace(je[1],je[2]):a:je.length===4&&(this[je[0]]=Ct?je[3].call(this,Ct.replace(je[1],je[2])):a):this[je]=Ct||a;he+=2}},at=function(ue,de){for(var he in de)if(typeof de[he]===y&&de[he].length>0){for(var Ne=0;Ne<de[he].length;Ne++)if(re(de[he][Ne],ue))return he===f?a:he}else if(re(de[he],ue))return he===f?a:he;return de.hasOwnProperty("*")?de["*"]:ue},et={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},rt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},st={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[C,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[C,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,C],[/opios[\/ ]+([\w\.]+)/i],[C,[v,Be+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[C,[v,Be+" GX"]],[/\bopr\/([\w\.]+)/i],[C,[v,Be]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[C,[v,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[C,[v,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[v,C],[/quark(?:pc)?\/([-\w\.]+)/i],[C,[v,"Quark"]],[/\bddg\/([\w\.]+)/i],[C,[v,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[C,[v,"UC"+j]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[C,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[C,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[C,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[C,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[C,[v,"Smart Lenovo "+j]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+j],C],[/\bfocus\/([\w\.]+)/i],[C,[v,J+" Focus"]],[/\bopt\/([\w\.]+)/i],[C,[v,Be+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[C,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[C,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[C,[v,Be+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[C,[v,"MIUI"+le]],[/fxios\/([\w\.-]+)/i],[C,[v,J]],[/\bqihoobrowser\/?([\w\.]*)/i],[C,[v,"360"]],[/\b(qq)\/([\w\.]+)/i],[[v,/(.+)/,"$1Browser"],C],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1"+le],C],[/samsungbrowser\/([\w\.]+)/i],[C,[v,Le+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[C,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],C],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[v,C],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[v],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[C,v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,Z],C],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[v,C],[/\bgsa\/([\w\.]+) .*safari\//i],[C,[v,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[C,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[C,[v,H+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,H+" WebView"],C],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[C,[v,"Android "+j]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,C],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[C,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[C,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[C,at,et]],[/(webkit|khtml)\/([\w\.]+)/i],[v,C],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],C],[/(wolvic|librewolf)\/([\w\.]+)/i],[v,C],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[C,[v,J+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[v,[C,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[v,[C,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[M,"amd64"]],[/(ia32(?=;))/i],[[M,Oe]],[/((?:i[346]|x)86)[;\)]/i],[[M,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[M,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[M,"armhf"]],[/windows (ce|mobile); ppc;/i],[[M,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[M,/ower/,u,Oe]],[/(sun4\w)[;\)]/i],[[M,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[M,Oe]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[x,[S,Le],[m,O]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[x,[S,Le],[m,A]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[x,[S,ye],[m,A]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[x,[S,ye],[m,O]],[/(macintosh);/i],[x,[S,ye]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[x,[S,Ve],[m,A]],[/(?:honor)([-\w ]+)[;\)]/i],[x,[S,"Honor"],[m,A]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[x,[S,X],[m,O]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[x,[S,X],[m,A]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[x,/_/g," "],[S,De],[m,A]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[x,/_/g," "],[S,De],[m,O]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[x,[S,"OPPO"],[m,A]],[/\b(opd2\d{3}a?) bui/i],[x,[S,"OPPO"],[m,O]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[x,[S,"Vivo"],[m,A]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[x,[S,"Realme"],[m,A]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[x,[S,be],[m,A]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[x,[S,be],[m,O]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[x,[S,ce],[m,O]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[x,[S,ce],[m,A]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[x,[S,"Lenovo"],[m,O]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[x,/_/g," "],[S,"Nokia"],[m,A]],[/(pixel c)\b/i],[x,[S,K],[m,O]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[x,[S,K],[m,A]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[x,[S,Ye],[m,A]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[x,"Xperia Tablet"],[S,Ye],[m,O]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[x,[S,"OnePlus"],[m,A]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[x,[S,fe],[m,O]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[x,/(.+)/g,"Fire Phone $1"],[S,fe],[m,A]],[/(playbook);[-\w\),; ]+(rim)/i],[x,S,[m,O]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[x,[S,D],[m,A]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[x,[S,we],[m,O]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[x,[S,we],[m,A]],[/(nexus 9)/i],[x,[S,"HTC"],[m,O]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[S,[x,/_/g," "],[m,A]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[x,[S,"TCL"],[m,O]],[/(itel) ((\w+))/i],[[S,Oe],x,[m,at,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[x,[S,"Acer"],[m,O]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[x,[S,"Meizu"],[m,A]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[x,[S,"Ulefone"],[m,A]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[x,[S,"Energizer"],[m,A]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[x,[S,"Cat"],[m,A]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[x,[S,"Smartfren"],[m,A]],[/droid.+; (a(?:015|06[35]|142p?))/i],[x,[S,"Nothing"],[m,A]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[S,x,[m,A]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[S,x,[m,O]],[/(surface duo)/i],[x,[S,Te],[m,O]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[x,[S,"Fairphone"],[m,A]],[/(u304aa)/i],[x,[S,"AT&T"],[m,A]],[/\bsie-(\w*)/i],[x,[S,"Siemens"],[m,A]],[/\b(rct\w+) b/i],[x,[S,"RCA"],[m,O]],[/\b(venue[\d ]{2,7}) b/i],[x,[S,"Dell"],[m,O]],[/\b(q(?:mv|ta)\w+) b/i],[x,[S,"Verizon"],[m,O]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[x,[S,"Barnes & Noble"],[m,O]],[/\b(tm\d{3}\w+) b/i],[x,[S,"NuVision"],[m,O]],[/\b(k88) b/i],[x,[S,"ZTE"],[m,O]],[/\b(nx\d{3}j) b/i],[x,[S,"ZTE"],[m,A]],[/\b(gen\d{3}) b.+49h/i],[x,[S,"Swiss"],[m,A]],[/\b(zur\d{3}) b/i],[x,[S,"Swiss"],[m,O]],[/\b((zeki)?tb.*\b) b/i],[x,[S,"Zeki"],[m,O]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[S,"Dragon Touch"],x,[m,O]],[/\b(ns-?\w{0,9}) b/i],[x,[S,"Insignia"],[m,O]],[/\b((nxa|next)-?\w{0,9}) b/i],[x,[S,"NextBook"],[m,O]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[S,"Voice"],x,[m,A]],[/\b(lvtel\-)?(v1[12]) b/i],[[S,"LvTel"],x,[m,A]],[/\b(ph-1) /i],[x,[S,"Essential"],[m,A]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[x,[S,"Envizen"],[m,O]],[/\b(trio[-\w\. ]+) b/i],[x,[S,"MachSpeed"],[m,O]],[/\btu_(1491) b/i],[x,[S,"Rotor"],[m,O]],[/(shield[\w ]+) b/i],[x,[S,"Nvidia"],[m,O]],[/(sprint) (\w+)/i],[S,x,[m,A]],[/(kin\.[onetw]{3})/i],[[x,/\./g," "],[S,Te],[m,A]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[x,[S,Ke],[m,O]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[x,[S,Ke],[m,A]],[/smart-tv.+(samsung)/i],[S,[m,F]],[/hbbtv.+maple;(\d+)/i],[[x,/^/,"SmartTV"],[S,Le],[m,F]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[S,ce],[m,F]],[/(apple) ?tv/i],[S,[x,ye+" TV"],[m,F]],[/crkey/i],[[x,H+"cast"],[S,K],[m,F]],[/droid.+aft(\w+)( bui|\))/i],[x,[S,fe],[m,F]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[x,[S,Ve],[m,F]],[/(bravia[\w ]+)( bui|\))/i],[x,[S,Ye],[m,F]],[/(mitv-\w{5}) bui/i],[x,[S,De],[m,F]],[/Hbbtv.*(technisat) (.*);/i],[S,x,[m,F]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[S,Pe],[x,Pe],[m,F]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,F]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[S,x,[m,L]],[/droid.+; (shield) bui/i],[x,[S,"Nvidia"],[m,L]],[/(playstation [345portablevi]+)/i],[x,[S,Ye],[m,L]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[x,[S,Te],[m,L]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[x,[S,Le],[m,W]],[/((pebble))app/i],[S,x,[m,W]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[x,[S,ye],[m,W]],[/droid.+; (glass) \d/i],[x,[S,K],[m,W]],[/droid.+; (wt63?0{2,3})\)/i],[x,[S,Ke],[m,W]],[/droid.+; (glass) \d/i],[x,[S,K],[m,W]],[/(pico) (4|neo3(?: link|pro)?)/i],[S,x,[m,W]],[/; (quest( \d| pro)?)/i],[x,[S,Z],[m,W]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[S,[m,N]],[/(aeobc)\b/i],[x,[S,fe],[m,N]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[x,[m,A]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[x,[m,O]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,O]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,A]],[/(android[-\w\. ]{0,9});.+buil/i],[x,[S,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[C,[v,ie+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[v,C],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[C,[v,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[v,C],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[C,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,C],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[v,[C,at,rt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[C,at,rt],[v,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[C,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,ae],[C,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[C,v],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[v,C],[/\(bb(10);/i],[C,[v,D]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[C,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[C,[v,J+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[C,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[C,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[C,[v,H+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,Y],C],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[v,C],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],C],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,C]]},Q=function(ue,de){if(typeof ue===y&&(de=ue,ue=a),!(this instanceof Q))return new Q(ue,de).getResult();var he=typeof i!==b&&i.navigator?i.navigator:a,Ne=ue||(he&&he.userAgent?he.userAgent:u),kt=he&&he.userAgentData?he.userAgentData:a,_t=de?U(st,de):st,je=he&&he.userAgent==Ne;return this.getBrowser=function(){var ve={};return ve[v]=a,ve[C]=a,Qe.call(ve,Ne,_t.browser),ve[T]=Ae(ve[C]),je&&he&&he.brave&&typeof he.brave.isBrave==h&&(ve[v]="Brave"),ve},this.getCPU=function(){var ve={};return ve[M]=a,Qe.call(ve,Ne,_t.cpu),ve},this.getDevice=function(){var ve={};return ve[S]=a,ve[x]=a,ve[m]=a,Qe.call(ve,Ne,_t.device),je&&!ve[m]&&kt&&kt.mobile&&(ve[m]=A),je&&ve[x]=="Macintosh"&&he&&typeof he.standalone!==b&&he.maxTouchPoints&&he.maxTouchPoints>2&&(ve[x]="iPad",ve[m]=O),ve},this.getEngine=function(){var ve={};return ve[v]=a,ve[C]=a,Qe.call(ve,Ne,_t.engine),ve},this.getOS=function(){var ve={};return ve[v]=a,ve[C]=a,Qe.call(ve,Ne,_t.os),je&&!ve[v]&&kt&&kt.platform&&kt.platform!="Unknown"&&(ve[v]=kt.platform.replace(/chrome os/i,Y).replace(/macos/i,ae)),ve},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Ne},this.setUA=function(ve){return Ne=typeof ve===$&&ve.length>q?Pe(ve,q):ve,this},this.setUA(Ne),this};Q.VERSION=l,Q.BROWSER=te([v,C,T]),Q.CPU=te([M]),Q.DEVICE=te([x,S,m,L,A,F,O,W,N]),Q.ENGINE=Q.OS=te([v,C]),n.exports&&(r=n.exports=Q),r.UAParser=Q;var ze=typeof i!==b&&(i.jQuery||i.Zepto);if(ze&&!ze.ua){var ke=new Q;ze.ua=ke.getResult(),ze.ua.get=function(){return ke.getUA()},ze.ua.set=function(ue){ke.setUA(ue);var de=ke.getResult();for(var he in de)ze.ua[he]=de[he]}}})(typeof window=="object"?window:Sv)}(Ar,Ar.exports)),Ar.exports}var Av=Ev(),rf=(n=>(n.Desktop="Desktop",n.Mobile="Mobile",n.Tablet="Tablet",n.SmartTV="Smart TV",n.Bot="Bot/Crawler",n.Unknown="Unknown",n))(rf||{}),of=(n=>(n.Chrome="Chrome",n.Firefox="Firefox",n.Safari="Safari",n.Edge="Edge",n.IE="IE/Edge Legacy",n.Opera="Opera",n.Brave="Brave",n.Other="Other",n))(of||{}),af=(n=>(n.Windows="Windows",n.macOS="macOS",n.Linux="Linux",n.Android="Android",n.iOS="iOS",n.Other="Other",n))(af||{});const oa=n=>{const i=new Av.UAParser(n).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(n)?"Bot/Crawler":$v(i.device.type),browserName:Tv(i.browser.name),osName:kv(i.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...i,normalized:l,isMobile:u,isDesktop:!u}},$v=n=>{if(!n)return"Desktop";const r=n.toLowerCase();return r==="mobile"?"Mobile":r==="tablet"?"Tablet":r==="smarttv"?"Smart TV":"Unknown"},Tv=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("brave")?"Brave":r.includes("edge")?"Edge":r.includes("opera")?"Opera":r.includes("ie")||r.includes("trident")?"IE/Edge Legacy":r.includes("chrome")?"Chrome":r.includes("firefox")?"Firefox":r.includes("safari")?"Safari":"Other"},kv=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("windows")?"Windows":r.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(i=>r.includes(i))?"Linux":r.includes("android")?"Android":r.includes("ios")?"iOS":"Other"},Rv=n=>{const[r,i]=d.useState(n?oa(n):void 0);return d.useEffect(()=>{r||i(oa(window.navigator.userAgent))},[r]),r},Lv=oe(G)`
63
63
  position: absolute;
64
64
  top: 0;
65
65
  left: 0;
@@ -68,7 +68,7 @@ function print() { __p += __j.call(arguments, '') }
68
68
  display: flex;
69
69
  justify-content: center;
70
70
  align-items: center;
71
- `,Ov=ie.div`
71
+ `,Ov=oe.div`
72
72
  width: ${({size:n})=>n};
73
73
  height: ${({size:n})=>n};
74
74
  border-radius: 50%;
@@ -94,7 +94,7 @@ function print() { __p += __j.call(arguments, '') }
94
94
  transform: rotate(360deg);
95
95
  }
96
96
  }
97
- `,Eu=({size:n,color:r="primary","data-testid":i})=>{const a=_e(),u=Object.keys(a.__hd__.loading.sizes).includes(n)?a.__hd__.loading.sizes[n]:n,p=Object.keys(a.__hd__.loading.strokeWidths).includes(n)?a.__hd__.loading.strokeWidths[n]:"2px",v=a.colors[r]||r;return w.jsx(Ov,{size:u,color:v,strokeWidth:p,"data-testid":i})},wa=({size:n,loading:r=!0,color:i="primary",children:a,"data-testid":l,...u})=>{const f=_e(),[p,v]=d.useState(r),[y,$]=d.useState(r?1:0),[T,x]=d.useState(r?0:1);return d.useEffect(()=>{let b;return r?(v(!0),$(1),x(0)):($(0),x(1),b=setTimeout(()=>{v(!1)},f.__hd__.loading.animation.showingDuration)),()=>{b&&clearTimeout(b)}},[r,f.__hd__.loading.animation.showingDuration]),a?w.jsxs(G,{position:"relative",...u,children:[p&&w.jsx(Lv,{style:{opacity:y,transition:`opacity ${f.__hd__.loading.animation.showingDuration}ms`},children:w.jsx(Eu,{size:n,color:i,"data-testid":l})}),w.jsx(G,{style:{opacity:T,transition:`opacity ${f.__hd__.loading.animation.contentShowingDuration}ms`},children:a})]}):p?w.jsx(Eu,{size:n,color:i,"data-testid":l}):null};function Iv({children:n,onClick:r,style:i,useScaleAnimation:a=!0,useOpacityAnimation:l=!0,href:u,target:f,rel:p,"data-testid":v,...y},$){const T=_e(),[x,b]=d.useState(!1),m=d.useCallback(()=>{b(!0)},[]),S=d.useCallback(()=>{b(!1)},[]),C=d.useCallback(()=>{b(!1)},[]),M=d.useMemo(()=>{const A=[];return a&&A.push("transform 0.2s ease"),l&&A.push("opacity 0.2s ease"),A.join(", ")},[a,l]),L={ref:$,onClick:r,onMouseDown:m,onMouseUp:S,onMouseLeave:C,style:i,"data-testid":v,transition:M,transform:a?`scale(${x?T.__hd__.touchable.animation.minScale:T.__hd__.touchable.animation.maxScale})`:void 0,opacity:l?x?T.__hd__.touchable.animation.minOpacity:T.__hd__.touchable.animation.maxOpacity:void 0,cursor:"pointer",...y};return u?w.jsx(G,{as:"a",href:u,target:f,rel:p,...L,children:n}):w.jsx(G,{...L,children:n})}const Mv=d.forwardRef(Iv),qt=Mv,Pi=(n,r,i,a="solid",l)=>{if(l)return n.colors.grey500;if(i)return n.colors[i];switch(a){case"outlined":case"text":return n.colors[r];case"solid":default:return r==="white"?n.colors.grey900:n.colors.white}},_a=ie(G)`
97
+ `,Eu=({size:n,color:r="primary","data-testid":i})=>{const a=Ce(),u=Object.keys(a.__hd__.loading.sizes).includes(n)?a.__hd__.loading.sizes[n]:n,h=Object.keys(a.__hd__.loading.strokeWidths).includes(n)?a.__hd__.loading.strokeWidths[n]:"2px",b=a.colors[r]||r;return w.jsx(Ov,{size:u,color:b,strokeWidth:h,"data-testid":i})},wa=({size:n,loading:r=!0,color:i="primary",children:a,"data-testid":l,...u})=>{const f=Ce(),[h,b]=d.useState(r),[y,$]=d.useState(r?1:0),[T,x]=d.useState(r?0:1);return d.useEffect(()=>{let v;return r?(b(!0),$(1),x(0)):($(0),x(1),v=setTimeout(()=>{b(!1)},f.__hd__.loading.animation.showingDuration)),()=>{v&&clearTimeout(v)}},[r,f.__hd__.loading.animation.showingDuration]),a?w.jsxs(G,{position:"relative",...u,children:[h&&w.jsx(Lv,{style:{opacity:y,transition:`opacity ${f.__hd__.loading.animation.showingDuration}ms`},children:w.jsx(Eu,{size:n,color:i,"data-testid":l})}),w.jsx(G,{style:{opacity:T,transition:`opacity ${f.__hd__.loading.animation.contentShowingDuration}ms`},children:a})]}):h?w.jsx(Eu,{size:n,color:i,"data-testid":l}):null};function Iv({children:n,onClick:r,style:i,useScaleAnimation:a=!0,useOpacityAnimation:l=!0,href:u,target:f,rel:h,"data-testid":b,...y},$){const T=Ce(),[x,v]=d.useState(!1),m=d.useCallback(()=>{v(!0)},[]),S=d.useCallback(()=>{v(!1)},[]),C=d.useCallback(()=>{v(!1)},[]),M=d.useMemo(()=>{const A=[];return a&&A.push("transform 0.2s ease"),l&&A.push("opacity 0.2s ease"),A.join(", ")},[a,l]),L={ref:$,onClick:r,onMouseDown:m,onMouseUp:S,onMouseLeave:C,style:i,"data-testid":b,transition:M,transform:a?`scale(${x?T.__hd__.touchable.animation.minScale:T.__hd__.touchable.animation.maxScale})`:void 0,opacity:l?x?T.__hd__.touchable.animation.minOpacity:T.__hd__.touchable.animation.maxOpacity:void 0,cursor:"pointer",...y};return u?w.jsx(G,{as:"a",href:u,target:f,rel:h,...L,children:n}):w.jsx(G,{...L,children:n})}const Mv=d.forwardRef(Iv),qt=Mv,Pi=(n,r,i,a="solid",l)=>{if(l)return n.colors.grey500;if(i)return n.colors[i];switch(a){case"outlined":case"text":return n.colors[r];case"solid":default:return r==="white"?n.colors.grey900:n.colors.white}},_a=oe(G)`
98
98
  display: flex;
99
99
  flex-direction: row;
100
100
  justify-content: center;
@@ -123,7 +123,7 @@ function print() { __p += __j.call(arguments, '') }
123
123
  `}
124
124
  }
125
125
  }
126
- `,Fv=ie(at)`
126
+ `,Fv=oe(ct)`
127
127
  color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:a,$disabled:l})=>Pi(n,r,i,a,l)};
128
128
  font-size: ${({theme:n,$themeFontSize:r})=>n.__hd__.text.fontSizes[r]}px;
129
129
  font-weight: ${({theme:n,$themeFontWeight:r})=>n.__hd__.text.fontWeights[r]};
@@ -142,12 +142,12 @@ function print() { __p += __j.call(arguments, '') }
142
142
  `}
143
143
  }
144
144
  }
145
- `,Au=ie(G)`
145
+ `,Au=oe(G)`
146
146
  display: flex;
147
147
  align-items: center;
148
148
  margin-left: ${({theme:n,$themePosition:r,$iconSpacing:i})=>r==="right"?`${n.spaces[i]}px`:0};
149
149
  margin-right: ${({theme:n,$themePosition:r,$iconSpacing:i,$hasText:a})=>r==="left"&&a?`${n.spaces[i]}px`:0};
150
- `,$u=ie(Ut)`
150
+ `,$u=oe(Ut)`
151
151
  transition: color 0.2s ease-in-out;
152
152
  color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:a,$disabled:l})=>Pi(n,r,i,a,l)};
153
153
  width: ${({theme:n,$iconSize:r})=>n.sizes[r]}px;
@@ -165,7 +165,7 @@ function print() { __p += __j.call(arguments, '') }
165
165
  `}
166
166
  }
167
167
  }
168
- `,aa=({disabled:n=!1,icon:r,color:i,textColor:a,loading:l=!1,onClick:u,rightIcon:f,corner:p="circle",variant:v="solid",size:y="md",style:$,"data-testid":T,text:x,...b})=>{var Z;const m=_e(),S=m.__hd__.button,C=S.defaultColor||"primary",M=i||C,L=((Z=S.variants)==null?void 0:Z[v])||{},A=S.sizes[y],O=n||l,z=d.useMemo(()=>O&&v==="solid"?"disabled":v==="solid"?M:L.bgColor||"transparent",[M,O,v,L.bgColor]),D=d.useMemo(()=>Pi(m,M,a,v,O),[m,M,a,v,O]),H=re=>{n||l||u==null||u(re)},q=v==="text"?"none":A.paddingHorizontal,le=v==="text"?"none":A.paddingVertical,pe=A.fontSize,Ce=A.iconSize,N=S.iconSpacing||"xs",B=w.jsxs(G,{display:"flex",alignItems:"center",gap:N,children:[r&&w.jsx(Au,{$themePosition:"left",$iconSpacing:N,$hasText:!!x,children:w.jsx($u,{$themeColor:M,$themeTextColor:a,$variant:v,$disabled:O,$iconSize:Ce,type:"icon",art:r,weight:A.iconWeight,size:Ce})}),x&&w.jsx(Fv,{$themeColor:M,$themeTextColor:a,$themeFontSize:pe,$themeFontWeight:A.fontWeight,$disabled:O,$variant:v,as:"span",children:x}),f&&w.jsx(Au,{$themePosition:"right",$iconSpacing:N,children:w.jsx($u,{$themeColor:M,$themeTextColor:a,$variant:v,$disabled:O,$iconSize:Ce,weight:A.iconWeight,type:"icon",art:f,size:Ce})})]});return w.jsx(qt,{onClick:H,style:$,"data-testid":T,...b,children:w.jsx(_a,{$backgroundColor:z,$paddingHorizontal:q,$paddingVertical:le,$borderRadius:A.squircleBorderRadii[p],$borderWidth:A.borderWidth,$disabled:O,$variant:v,$color:M,$size:y,children:w.jsx(wa,{size:"small",color:D,loading:l,display:"flex",alignItems:"center",justifyContent:"center",children:B})})})},zv=ie(G)`
168
+ `,aa=({disabled:n=!1,icon:r,color:i,textColor:a,loading:l=!1,onClick:u,rightIcon:f,corner:h="circle",variant:b="solid",size:y="md",style:$,"data-testid":T,text:x,...v})=>{var H;const m=Ce(),S=m.__hd__.button,C=S.defaultColor||"primary",M=i||C,L=((H=S.variants)==null?void 0:H[b])||{},A=S.sizes[y],O=n||l,F=d.useMemo(()=>O&&b==="solid"?"disabled":b==="solid"?M:L.bgColor||"transparent",[M,O,b,L.bgColor]),W=d.useMemo(()=>Pi(m,M,a,b,O),[m,M,a,b,O]),N=ie=>{n||l||u==null||u(ie)},q=b==="text"?"none":A.paddingHorizontal,fe=b==="text"?"none":A.paddingVertical,ye=A.fontSize,we=A.iconSize,D=S.iconSpacing||"xs",j=w.jsxs(G,{display:"flex",alignItems:"center",gap:D,children:[r&&w.jsx(Au,{$themePosition:"left",$iconSpacing:D,$hasText:!!x,children:w.jsx($u,{$themeColor:M,$themeTextColor:a,$variant:b,$disabled:O,$iconSize:we,type:"icon",art:r,weight:A.iconWeight,size:we})}),x&&w.jsx(Fv,{$themeColor:M,$themeTextColor:a,$themeFontSize:ye,$themeFontWeight:A.fontWeight,$disabled:O,$variant:b,as:"span",children:x}),f&&w.jsx(Au,{$themePosition:"right",$iconSpacing:D,children:w.jsx($u,{$themeColor:M,$themeTextColor:a,$variant:b,$disabled:O,$iconSize:we,weight:A.iconWeight,type:"icon",art:f,size:we})})]});return w.jsx(qt,{onClick:N,style:$,"data-testid":T,...v,children:w.jsx(_a,{$backgroundColor:F,$paddingHorizontal:q,$paddingVertical:fe,$borderRadius:A.squircleBorderRadii[h],$borderWidth:A.borderWidth,$disabled:O,$variant:b,$color:M,$size:y,children:w.jsx(wa,{size:"small",color:W,loading:l,display:"flex",alignItems:"center",justifyContent:"center",children:j})})})},zv=oe(G)`
169
169
  background-color: ${({theme:n,$color:r})=>n.colors[r]};
170
170
  ${({$orientation:n,$thickness:r})=>n==="horizontal"?`
171
171
  height: ${r}px;
@@ -174,7 +174,7 @@ function print() { __p += __j.call(arguments, '') }
174
174
  width: ${r}px;
175
175
  height: 100%;
176
176
  `}
177
- `,sf=({orientation:n="horizontal",color:r,thickness:i,...a})=>{var y,$;const l=_e(),u=(y=l.__hd__.divider)==null?void 0:y.defaultColor,f=($=l.__hd__.divider)==null?void 0:$.defaultThickness,p=r||u||"grey300",v=i||f||1;return w.jsx(zv,{$orientation:n,$color:p,$thickness:v,...a})},lf=ie(qt)`
177
+ `,sf=({orientation:n="horizontal",color:r,thickness:i,...a})=>{var y,$;const l=Ce(),u=(y=l.__hd__.divider)==null?void 0:y.defaultColor,f=($=l.__hd__.divider)==null?void 0:$.defaultThickness,h=r||u||"grey300",b=i||f||1;return w.jsx(zv,{$orientation:n,$color:h,$thickness:b,...a})},lf=oe(qt)`
178
178
  display: flex;
179
179
  align-items: center;
180
180
  justify-content: center;
@@ -191,7 +191,7 @@ function print() { __p += __j.call(arguments, '') }
191
191
  box-shadow: ${({$themeHoverBoxShadow:n})=>n};
192
192
  background-color: ${({theme:n,$themeHoverBackgroundColor:r})=>n.colors[r]};
193
193
  }
194
- `,Tu=ie.span`
194
+ `,Tu=oe.span`
195
195
  transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out, rotate 0.2s ease-in-out, font-size 0.2s ease-in-out, font-weight 0.2s ease-in-out;
196
196
  color: ${({theme:n,$themeColor:r})=>n.colors[r]};
197
197
  font-weight: ${({theme:n,$themeFontWeight:r})=>n.__hd__.text.fontWeights[r]};
@@ -205,22 +205,22 @@ function print() { __p += __j.call(arguments, '') }
205
205
  opacity: 0;
206
206
  `}
207
207
  white-space: nowrap;
208
- `,Ca=({label:n,isActive:r,isLoading:i,dropdownItems:a=[],onClick:l,size:u="large",isDropdownOpen:f=!1,isDropdownItem:p=!1,onMouseEnter:v,onToggleDropdown:y,paddingX:$,paddingY:T})=>{const x=_e(),{isTouch:b}=xa(),m=a.length>0,S=()=>{if(b&&m){f?l==null||l():y==null||y();return}l==null||l()},C=x.__hd__.header,M=C.navItem,L=r?M.active:M.inactive,A=d.useMemo(()=>p?"transparent":f?L.hoverBackgroundColor:L.backgroundColor,[p,f,L.backgroundColor,L.hoverBackgroundColor]);return w.jsxs(lf,{onClick:S,onMouseEnter:v,$themeBackgroundColor:A,$themeBoxShadow:!p&&f?L.hoverBoxShadow:"none",$themeHoverBackgroundColor:p?"transparent":L.hoverBackgroundColor,$themeHoverBoxShadow:p?"none":L.hoverBoxShadow,$themeHoverColor:M.active.backgroundColor,$themeRadius:M.radius,$themePaddingX:$??M.paddingX,$themePaddingY:T??M.paddingY,$gap:C.loadingGap,children:[w.jsx(G,{display:"flex",justifyContent:"start",flex:1,children:w.jsx(Tu,{$themeFontWeight:L.fontWeight,$themeFontSize:M[u].fontSize,$themeColor:L.color,$themeHoverColor:M.hover.color,$isLoading:i??!1,children:n})}),(a.length>0||f)&&w.jsxs(Tu,{$themeFontWeight:L.fontWeight,$themeFontSize:M[u].fontSize,$themeColor:L.color,$themeHoverColor:M.hover.color,$isLoading:i??!1,$isDropdownOpen:f,$isDropdownItem:p,children:[a.length>0&&w.jsx(ya,{size:16,weight:"bold"}),p&&w.jsx(Lr,{rotate:45,size:16,weight:"bold"})]}),w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:i?1:0,transition:"opacity 0.2s ease-in-out",children:w.jsx(wa,{size:M[u].loadingSize,color:L.color})})]})};function jv({userProfile:n,dropdownItems:r,maxHeight:i},a){const l=_e(),u=l.__hd__.header.profileDropdown,[f,p]=d.useState(!1),v=d.useRef(null),y=d.useRef(null),$=Ie.isString(u.minWidth)&&Bn(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,T=Ie.isString(i)&&Bn(i)?l.sizes[i]:i||u.defaultMaxHeight,x=()=>{v.current&&clearTimeout(v.current),y.current&&clearTimeout(y.current)},b=(S=()=>{})=>{x(),p(!0),v.current=setTimeout(S,u.animationDuration)},m=(S=()=>{})=>{x(),p(!1),y.current=setTimeout(S,u.animationDuration)};return d.useImperativeHandle(a,()=>({showDropdown:b,hideDropdown:m})),w.jsx(G,{position:"absolute",top:u.offset.top,right:u.offset.right,minWidth:$,zIndex:f?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:f?1:0,transition:`opacity ${u.animationDuration}ms ease-in-out, z-index ${u.animationDuration}ms ease-in-out`,onMouseEnter:()=>b(),onMouseLeave:()=>m(),children:w.jsxs(G,{overflow:"hidden",mt:u.spacingTop,mr:u.containerPaddingRight,padding:u.padding,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:f?T:0,transition:`max-height ${u.animationDuration}ms ease-in-out`,style:{borderRadius:u.borderRadius},display:"flex",flexDirection:"column",children:[n!=null&&n.name?w.jsx(G,{py:u.padding,mx:"md",children:w.jsx(at,{textAlign:"left",children:n.name})}):w.jsx(G,{py:u.padding,mx:"md",children:w.jsx(at,{textAlign:"left",children:n==null?void 0:n.email})}),w.jsx(G,{p:u.padding,children:w.jsx(sf,{})}),r==null?void 0:r.map(S=>w.jsx(Ca,{label:S.label,onClick:S.onClick,isActive:S.isActive,size:"medium",isDropdownItem:!0},S.label))]})})}const Bv=d.forwardRef(jv),uf=({isSignedIn:n=!1,isDropdownVisible:r,setIsDropdownVisible:i,userProfile:a,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:f,onSignInClick:p,onRegisterClick:v})=>{const y=_e(),[$,T]=d.useState(!1),[x,b]=d.useState(!0),m=d.useDeferredValue($),S=Or(),C=!xt()&&S==="xs";d.useEffect(()=>{xt()||(T(!C),setTimeout(()=>{b(!1)},300))},[C]);const M=y.__hd__.header.avatarSize||"md",L=d.useRef(null),A=()=>{var z;i(!0),(z=L.current)==null||z.showDropdown()},O=()=>{var z;(z=L.current)==null||z.hideDropdown(()=>{i(!1)})};return d.useEffect(()=>{r?A():O()},[r]),w.jsx(ji,{display:"flex",visible:x,maxWidth:m?"100%":"0px",maxHeight:m?"100%":"0px",opacity:m?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",children:w.jsxs(G,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?w.jsx(qt,{onClick:f,children:w.jsxs(G,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:A,onMouseLeave:O,children:[w.jsx(tf,{src:a==null?void 0:a.avatar,name:a==null?void 0:a.name,size:M}),(a==null?void 0:a.name)&&w.jsx(G,{ml:"sm",children:w.jsx(at,{fontWeight:"medium",children:a.name})})]})}):w.jsxs(w.Fragment,{children:[w.jsx(G,{mr:"md",children:w.jsx(aa,{text:"Sign in",variant:"text",color:"black",onClick:p})}),w.jsx(aa,{text:"Register",color:"primary",corner:"rounded",onClick:v})]}),n&&w.jsx(Bv,{ref:L,userProfile:a,dropdownItems:l,maxHeight:u})]})})},Pv="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.0'%3e%3cdefs%3e%3cg%3e%3c/g%3e%3c/defs%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(66.308093,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2095.3125%20-19.625%20L%2098.71875%20-19.625%20L%2098.71875%200%20C%2097.832031%200.375%2096.851562%200.71875%2095.78125%201.03125%20C%2094.71875%201.351562%2093.554688%201.515625%2092.296875%201.515625%20C%2087.265625%201.515625%2082.734375%200.351562%2078.703125%20-1.96875%20C%2074.679688%20-4.300781%2071.472656%20-7.421875%2069.078125%20-11.328125%20C%2066.054688%20-7.421875%2062.375%20-4.300781%2058.03125%20-1.96875%20C%2053.695312%200.351562%2048.757812%201.515625%2043.21875%201.515625%20C%2036.300781%201.515625%2030.007812%20-0.242188%2024.34375%20-3.765625%20C%2018.6875%20-7.296875%2014.1875%20-12.015625%2010.84375%20-17.921875%20C%207.507812%20-23.835938%205.84375%20-30.445312%205.84375%20-37.75%20C%205.84375%20-45.050781%207.507812%20-51.65625%2010.84375%20-57.5625%20C%2014.1875%20-63.476562%2018.6875%20-68.195312%2024.34375%20-71.71875%20C%2030.007812%20-75.25%2036.300781%20-77.015625%2043.21875%20-77.015625%20C%2047.625%20-77.015625%2051.617188%20-76.289062%2055.203125%20-74.84375%20C%2058.796875%20-73.394531%2061.972656%20-71.410156%2064.734375%20-68.890625%20L%2064.734375%20-75.5%20L%2088.71875%20-75.5%20L%2088.71875%20-26.984375%20C%2088.71875%20-23.835938%2089.40625%20-21.820312%2090.78125%20-20.9375%20C%2092.164062%20-20.0625%2093.675781%20-19.625%2095.3125%20-19.625%20Z%20M%2047.9375%20-19.8125%20C%2052.84375%20-19.8125%2057.054688%20-21.539062%2060.578125%20-25%20C%2064.109375%20-28.46875%2065.875%20-32.71875%2065.875%20-37.75%20C%2065.875%20-42.78125%2064.109375%20-47.023438%2060.578125%20-50.484375%20C%2057.054688%20-53.953125%2052.84375%20-55.6875%2047.9375%20-55.6875%20C%2042.90625%20-55.6875%2038.660156%20-53.953125%2035.203125%20-50.484375%20C%2031.742188%20-47.023438%2030.015625%20-42.78125%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.742188%20-28.46875%2035.203125%20-25%20C%2038.660156%20-21.539062%2042.90625%20-19.8125%2047.9375%20-19.8125%20Z%20M%2047.9375%20-19.8125%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(167.850545,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2023.59375%20-88.140625%20C%2020.070312%20-88.140625%2016.988281%20-89.460938%2014.34375%20-92.109375%20C%2011.695312%20-94.753906%2010.375%20-97.835938%2010.375%20-101.359375%20C%2010.375%20-105.003906%2011.695312%20-108.117188%2014.34375%20-110.703125%20C%2016.988281%20-113.285156%2020.070312%20-114.578125%2023.59375%20-114.578125%20C%2027.238281%20-114.578125%2030.351562%20-113.285156%2032.9375%20-110.703125%20C%2035.519531%20-108.117188%2036.8125%20-105.003906%2036.8125%20-101.359375%20C%2036.8125%20-97.835938%2035.519531%20-94.753906%2032.9375%20-92.109375%20C%2030.351562%20-89.460938%2027.238281%20-88.140625%2023.59375%20-88.140625%20Z%20M%2011.515625%200%20L%2011.515625%20-75.5%20L%2035.484375%20-75.5%20L%2035.484375%200%20Z%20M%2011.515625%200%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(215.035693,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2047.9375%201.515625%20C%2039.507812%201.515625%2032.148438%20-0.179688%2025.859375%20-3.578125%20C%2019.566406%20-6.984375%2014.65625%20-11.640625%2011.125%20-17.546875%20C%207.601562%20-23.460938%205.84375%20-30.195312%205.84375%20-37.75%20C%205.84375%20-45.300781%207.601562%20-52.03125%2011.125%20-57.9375%20C%2014.65625%20-63.851562%2019.566406%20-68.507812%2025.859375%20-71.90625%20C%2032.148438%20-75.3125%2039.507812%20-77.015625%2047.9375%20-77.015625%20C%2059.269531%20-77.015625%2068.582031%20-74.023438%2075.875%20-68.046875%20C%2083.175781%20-62.066406%2087.644531%20-54.359375%2089.28125%20-44.921875%20L%2064.359375%20-44.921875%20C%2063.097656%20-48.191406%2061.019531%20-50.769531%2058.125%20-52.65625%20C%2055.238281%20-54.550781%2051.84375%20-55.5625%2047.9375%20-55.6875%20C%2042.78125%20-55.5625%2038.503906%20-53.828125%2035.109375%20-50.484375%20C%2031.710938%20-47.148438%2030.015625%20-42.90625%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.710938%20-28.5%2035.109375%20-25.09375%20C%2038.503906%20-21.695312%2042.78125%20-19.9375%2047.9375%20-19.8125%20C%2051.84375%20-19.9375%2055.238281%20-20.972656%2058.125%20-22.921875%20C%2061.019531%20-24.878906%2063.097656%20-27.429688%2064.359375%20-30.578125%20L%2089.28125%20-30.578125%20C%2087.644531%20-21.140625%2083.175781%20-13.429688%2075.875%20-7.453125%20C%2068.582031%20-1.472656%2059.269531%201.515625%2047.9375%201.515625%20Z%20M%2047.9375%201.515625%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",cf=({onLogoClick:n})=>w.jsx(G,{children:w.jsx(qt,{onClick:n,children:w.jsx(Ut,{art:Pv,type:"svg",width:"lg",height:"lg"})})}),Wv=({dropdownMaxHeight:n,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:a=[]})=>{const l=_e(),u=l.__hd__.header.navDropdown,f=Ie.isString(n)&&Bn(n)?l.sizes[n]:n||u.defaultMaxHeight,p=Ie.isString(r)&&Bn(r)?l.sizes[r]:r||u.minWidth;return w.jsx(G,{position:"absolute",top:"100%",left:0,minWidth:p,zIndex:i?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:i?1:0,transition:`z-index ${u.animationDuration}ms ease-in, opacity ${u.animationDuration}ms ease-in`,children:w.jsx(G,{overflow:"hidden",display:"flex",flexDirection:"column",mt:u.spacingTop,px:u.paddingX,py:u.paddingY,gap:u.gap,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:i?f:0,transition:`max-height ${u.animationDuration}ms ease-in`,style:{borderRadius:u.borderRadius},children:a.length>0&&a.map((v,y)=>w.jsx(Ca,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...v},`nav-dropdown-item-${y}`))})})},Dv=ie.span`
208
+ `,Ca=({label:n,isActive:r,isLoading:i,dropdownItems:a=[],onClick:l,size:u="large",isDropdownOpen:f=!1,isDropdownItem:h=!1,onMouseEnter:b,onToggleDropdown:y,paddingX:$,paddingY:T})=>{const x=Ce(),{isTouch:v}=xa(),m=a.length>0,S=()=>{if(v&&m){f?l==null||l():y==null||y();return}l==null||l()},C=x.__hd__.header,M=C.navItem,L=r?M.active:M.inactive,A=d.useMemo(()=>h?"transparent":f?L.hoverBackgroundColor:L.backgroundColor,[h,f,L.backgroundColor,L.hoverBackgroundColor]);return w.jsxs(lf,{onClick:S,onMouseEnter:b,$themeBackgroundColor:A,$themeBoxShadow:!h&&f?L.hoverBoxShadow:"none",$themeHoverBackgroundColor:h?"transparent":L.hoverBackgroundColor,$themeHoverBoxShadow:h?"none":L.hoverBoxShadow,$themeHoverColor:M.active.backgroundColor,$themeRadius:M.radius,$themePaddingX:$??M.paddingX,$themePaddingY:T??M.paddingY,$gap:C.loadingGap,children:[w.jsx(G,{display:"flex",justifyContent:"start",flex:1,children:w.jsx(Tu,{$themeFontWeight:L.fontWeight,$themeFontSize:M[u].fontSize,$themeColor:L.color,$themeHoverColor:M.hover.color,$isLoading:i??!1,children:n})}),(a.length>0||f)&&w.jsxs(Tu,{$themeFontWeight:L.fontWeight,$themeFontSize:M[u].fontSize,$themeColor:L.color,$themeHoverColor:M.hover.color,$isLoading:i??!1,$isDropdownOpen:f,$isDropdownItem:h,children:[a.length>0&&w.jsx(ya,{size:16,weight:"bold"}),h&&w.jsx(Lr,{rotate:45,size:16,weight:"bold"})]}),w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:i?1:0,transition:"opacity 0.2s ease-in-out",children:w.jsx(wa,{size:M[u].loadingSize,color:L.color})})]})};function jv({userProfile:n,dropdownItems:r,maxHeight:i},a){const l=Ce(),u=l.__hd__.header.profileDropdown,[f,h]=d.useState(!1),b=d.useRef(null),y=d.useRef(null),$=Fe.isString(u.minWidth)&&Bn(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,T=Fe.isString(i)&&Bn(i)?l.sizes[i]:i||u.defaultMaxHeight,x=()=>{b.current&&clearTimeout(b.current),y.current&&clearTimeout(y.current)},v=(S=()=>{})=>{x(),h(!0),b.current=setTimeout(S,u.animationDuration)},m=(S=()=>{})=>{x(),h(!1),y.current=setTimeout(S,u.animationDuration)};return d.useImperativeHandle(a,()=>({showDropdown:v,hideDropdown:m})),w.jsx(G,{position:"absolute",top:u.offset.top,right:u.offset.right,minWidth:$,zIndex:f?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:f?1:0,transition:`opacity ${u.animationDuration}ms ease-in-out, z-index ${u.animationDuration}ms ease-in-out`,onMouseEnter:()=>v(),onMouseLeave:()=>m(),children:w.jsxs(G,{overflow:"hidden",mt:u.spacingTop,mr:u.containerPaddingRight,padding:u.padding,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:f?T:0,transition:`max-height ${u.animationDuration}ms ease-in-out`,style:{borderRadius:u.borderRadius},display:"flex",flexDirection:"column",children:[n!=null&&n.name?w.jsx(G,{py:u.padding,mx:"md",children:w.jsx(ct,{textAlign:"left",children:n.name})}):w.jsx(G,{py:u.padding,mx:"md",children:w.jsx(ct,{textAlign:"left",children:n==null?void 0:n.email})}),w.jsx(G,{p:u.padding,children:w.jsx(sf,{})}),r==null?void 0:r.map(S=>w.jsx(Ca,{label:S.label,onClick:S.onClick,isActive:S.isActive,size:"medium",isDropdownItem:!0},S.label))]})})}const Bv=d.forwardRef(jv),uf=({isSignedIn:n=!1,isDropdownVisible:r,setIsDropdownVisible:i,userProfile:a,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:f,onSignInClick:h,onRegisterClick:b})=>{const y=Ce(),[$,T]=d.useState(!1),[x,v]=d.useState(!0),m=d.useDeferredValue($),S=Or(),C=!wt()&&S==="xs";d.useEffect(()=>{wt()||(T(!C),setTimeout(()=>{v(!1)},300))},[C]);const M=y.__hd__.header.avatarSize||"md",L=d.useRef(null),A=()=>{var F;i(!0),(F=L.current)==null||F.showDropdown()},O=()=>{var F;(F=L.current)==null||F.hideDropdown(()=>{i(!1)})};return d.useEffect(()=>{r?A():O()},[r]),w.jsx(ji,{display:"flex",visible:x,maxWidth:m?"100%":"0px",maxHeight:m?"100%":"0px",opacity:m?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",children:w.jsxs(G,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?w.jsx(qt,{onClick:f,children:w.jsxs(G,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:A,onMouseLeave:O,children:[w.jsx(tf,{src:a==null?void 0:a.avatar,name:a==null?void 0:a.name,size:M}),(a==null?void 0:a.name)&&w.jsx(G,{ml:"sm",children:w.jsx(ct,{fontWeight:"medium",children:a.name})})]})}):w.jsxs(w.Fragment,{children:[w.jsx(G,{mr:"md",children:w.jsx(aa,{text:"Sign in",variant:"text",color:"black",onClick:h})}),w.jsx(aa,{text:"Register",color:"primary",corner:"rounded",onClick:b})]}),n&&w.jsx(Bv,{ref:L,userProfile:a,dropdownItems:l,maxHeight:u})]})})},Pv="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.0'%3e%3cdefs%3e%3cg%3e%3c/g%3e%3c/defs%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(66.308093,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2095.3125%20-19.625%20L%2098.71875%20-19.625%20L%2098.71875%200%20C%2097.832031%200.375%2096.851562%200.71875%2095.78125%201.03125%20C%2094.71875%201.351562%2093.554688%201.515625%2092.296875%201.515625%20C%2087.265625%201.515625%2082.734375%200.351562%2078.703125%20-1.96875%20C%2074.679688%20-4.300781%2071.472656%20-7.421875%2069.078125%20-11.328125%20C%2066.054688%20-7.421875%2062.375%20-4.300781%2058.03125%20-1.96875%20C%2053.695312%200.351562%2048.757812%201.515625%2043.21875%201.515625%20C%2036.300781%201.515625%2030.007812%20-0.242188%2024.34375%20-3.765625%20C%2018.6875%20-7.296875%2014.1875%20-12.015625%2010.84375%20-17.921875%20C%207.507812%20-23.835938%205.84375%20-30.445312%205.84375%20-37.75%20C%205.84375%20-45.050781%207.507812%20-51.65625%2010.84375%20-57.5625%20C%2014.1875%20-63.476562%2018.6875%20-68.195312%2024.34375%20-71.71875%20C%2030.007812%20-75.25%2036.300781%20-77.015625%2043.21875%20-77.015625%20C%2047.625%20-77.015625%2051.617188%20-76.289062%2055.203125%20-74.84375%20C%2058.796875%20-73.394531%2061.972656%20-71.410156%2064.734375%20-68.890625%20L%2064.734375%20-75.5%20L%2088.71875%20-75.5%20L%2088.71875%20-26.984375%20C%2088.71875%20-23.835938%2089.40625%20-21.820312%2090.78125%20-20.9375%20C%2092.164062%20-20.0625%2093.675781%20-19.625%2095.3125%20-19.625%20Z%20M%2047.9375%20-19.8125%20C%2052.84375%20-19.8125%2057.054688%20-21.539062%2060.578125%20-25%20C%2064.109375%20-28.46875%2065.875%20-32.71875%2065.875%20-37.75%20C%2065.875%20-42.78125%2064.109375%20-47.023438%2060.578125%20-50.484375%20C%2057.054688%20-53.953125%2052.84375%20-55.6875%2047.9375%20-55.6875%20C%2042.90625%20-55.6875%2038.660156%20-53.953125%2035.203125%20-50.484375%20C%2031.742188%20-47.023438%2030.015625%20-42.78125%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.742188%20-28.46875%2035.203125%20-25%20C%2038.660156%20-21.539062%2042.90625%20-19.8125%2047.9375%20-19.8125%20Z%20M%2047.9375%20-19.8125%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(167.850545,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2023.59375%20-88.140625%20C%2020.070312%20-88.140625%2016.988281%20-89.460938%2014.34375%20-92.109375%20C%2011.695312%20-94.753906%2010.375%20-97.835938%2010.375%20-101.359375%20C%2010.375%20-105.003906%2011.695312%20-108.117188%2014.34375%20-110.703125%20C%2016.988281%20-113.285156%2020.070312%20-114.578125%2023.59375%20-114.578125%20C%2027.238281%20-114.578125%2030.351562%20-113.285156%2032.9375%20-110.703125%20C%2035.519531%20-108.117188%2036.8125%20-105.003906%2036.8125%20-101.359375%20C%2036.8125%20-97.835938%2035.519531%20-94.753906%2032.9375%20-92.109375%20C%2030.351562%20-89.460938%2027.238281%20-88.140625%2023.59375%20-88.140625%20Z%20M%2011.515625%200%20L%2011.515625%20-75.5%20L%2035.484375%20-75.5%20L%2035.484375%200%20Z%20M%2011.515625%200%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(215.035693,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2047.9375%201.515625%20C%2039.507812%201.515625%2032.148438%20-0.179688%2025.859375%20-3.578125%20C%2019.566406%20-6.984375%2014.65625%20-11.640625%2011.125%20-17.546875%20C%207.601562%20-23.460938%205.84375%20-30.195312%205.84375%20-37.75%20C%205.84375%20-45.300781%207.601562%20-52.03125%2011.125%20-57.9375%20C%2014.65625%20-63.851562%2019.566406%20-68.507812%2025.859375%20-71.90625%20C%2032.148438%20-75.3125%2039.507812%20-77.015625%2047.9375%20-77.015625%20C%2059.269531%20-77.015625%2068.582031%20-74.023438%2075.875%20-68.046875%20C%2083.175781%20-62.066406%2087.644531%20-54.359375%2089.28125%20-44.921875%20L%2064.359375%20-44.921875%20C%2063.097656%20-48.191406%2061.019531%20-50.769531%2058.125%20-52.65625%20C%2055.238281%20-54.550781%2051.84375%20-55.5625%2047.9375%20-55.6875%20C%2042.78125%20-55.5625%2038.503906%20-53.828125%2035.109375%20-50.484375%20C%2031.710938%20-47.148438%2030.015625%20-42.90625%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.710938%20-28.5%2035.109375%20-25.09375%20C%2038.503906%20-21.695312%2042.78125%20-19.9375%2047.9375%20-19.8125%20C%2051.84375%20-19.9375%2055.238281%20-20.972656%2058.125%20-22.921875%20C%2061.019531%20-24.878906%2063.097656%20-27.429688%2064.359375%20-30.578125%20L%2089.28125%20-30.578125%20C%2087.644531%20-21.140625%2083.175781%20-13.429688%2075.875%20-7.453125%20C%2068.582031%20-1.472656%2059.269531%201.515625%2047.9375%201.515625%20Z%20M%2047.9375%201.515625%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",cf=({onLogoClick:n})=>w.jsx(G,{children:w.jsx(qt,{onClick:n,children:w.jsx(Ut,{art:Pv,type:"svg",width:"lg",height:"lg"})})}),Wv=({dropdownMaxHeight:n,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:a=[]})=>{const l=Ce(),u=l.__hd__.header.navDropdown,f=Fe.isString(n)&&Bn(n)?l.sizes[n]:n||u.defaultMaxHeight,h=Fe.isString(r)&&Bn(r)?l.sizes[r]:r||u.minWidth;return w.jsx(G,{position:"absolute",top:"100%",left:0,minWidth:h,zIndex:i?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:i?1:0,transition:`z-index ${u.animationDuration}ms ease-in, opacity ${u.animationDuration}ms ease-in`,children:w.jsx(G,{overflow:"hidden",display:"flex",flexDirection:"column",mt:u.spacingTop,px:u.paddingX,py:u.paddingY,gap:u.gap,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:i?f:0,transition:`max-height ${u.animationDuration}ms ease-in`,style:{borderRadius:u.borderRadius},children:a.length>0&&a.map((b,y)=>w.jsx(Ca,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...b},`nav-dropdown-item-${y}`))})})},Dv=oe.span`
209
209
  position: relative;
210
- `,Nv=({item:n,index:r,openItemIndex:i,handleNavItemMouseEnter:a,handleNavItemMouseLeave:l,handleNavItemToggleDropdown:u})=>{var $,T;const[f,p]=d.useState(0),v=d.useRef(null),{isMouse:y}=xa();return d.useLayoutEffect(()=>{v.current&&p(v.current.offsetWidth)},[n]),w.jsxs(Dv,{onMouseLeave:y?l:void 0,onMouseEnter:y?()=>a(n,r):void 0,children:[w.jsx(G,{ref:v,display:"inline-block",children:w.jsx(Ca,{...n,isActive:i!==r&&(n.isActive||(($=n.dropdownItems)==null?void 0:$.some(x=>x.isActive)))||n.isActive,isLoading:i!==r&&(n.isLoading||((T=n.dropdownItems)==null?void 0:T.some(x=>x.isLoading)))||n.isLoading,isDropdownOpen:i===r,onToggleDropdown:()=>u(r)})}),n.dropdownItems&&n.dropdownItems.length>0&&w.jsx(Wv,{dropdownItems:n.dropdownItems,isDropdownOpen:i===r,dropdownMinWidth:f})]})},ff=({navItems:n=[]})=>{const i=_e().__hd__.header,a=d.useRef(null),[l,u]=d.useState(!1),[f,p]=d.useState(!0),v=Or(),y=!xt()&&v==="xs",[$,T]=d.useState(null);d.useEffect(()=>{xt()||(u(!y),setTimeout(()=>{p(!1)},300))},[y]),d.useEffect(()=>{const C=M=>{a.current&&!a.current.contains(M.target)&&T(null)};return $!==null&&document.addEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)}},[$]);const x=d.useDeferredValue(l),b=(C,M)=>{C.dropdownItems&&C.dropdownItems.length>0&&T(M)},m=()=>{T(null)},S=C=>{T(M=>M===C?null:C)};return w.jsx(ji,{display:"flex",visible:f,maxWidth:x?"100%":"0px",maxHeight:x?"100%":"0px",opacity:x?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:w.jsx(G,{ref:a,display:"flex",flexDirection:"row",justifyContent:"center",flex:1,mx:"xl",gap:i.navItem.gap,p:i.padding,r:i.radius,bgColor:i.backgroundColor,children:n.map((C,M)=>w.jsx(Nv,{item:C,index:M,openItemIndex:$,handleNavItemMouseEnter:b,handleNavItemMouseLeave:m,handleNavItemToggleDropdown:S},`nav-item-wrapper-${M}`))})})};function Zv({backgroundColor:n="white",navItems:r=[],isSignedIn:i=!1,userProfile:a,profileDropdownItems:l,profileDropdownMaxHeight:u,onLogoClick:f,onNavItemClick:p,onSignInClick:v,onRegisterClick:y,onProfileClick:$,...T},x){const[b,m]=d.useState(!1);return d.useImperativeHandle(x,()=>({showDropdown:()=>m(!0),hideDropdown:()=>m(!1)})),w.jsxs(G,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",p:"md",bgColor:n,...T,children:[w.jsx(cf,{onLogoClick:f}),w.jsx(ff,{navItems:r,onNavItemClick:p}),w.jsx(uf,{isSignedIn:i,isDropdownVisible:b,setIsDropdownVisible:m,userProfile:a,dropdownItems:l,profileDropdownMaxHeight:u,onSignInClick:v,onRegisterClick:y,onProfileClick:$})]})}const df=d.forwardRef(Zv),Hv=(n,r,i)=>{let a={};return n?r==="padded"?(a.maxWidth=void 0,a.px=i.desktopPaddingX):(a.maxWidth=i.desktopContentMaxWidth,a.px=i.mobilePaddingX):(a.maxWidth=void 0,a.px=i.mobilePaddingX),a},Vv=(n,r)=>{const i={};return n&&r==="maxWidth"&&(i.marginLeft="auto",i.marginRight="auto"),i},Uv=({children:n,backgroundColor:r="white",header:i,contentLayoutMode:a="maxWidth",style:l,...u})=>{const p=_e().__hd__.base,v=Or(),y=xt()||v==="md"||v==="lg"||v==="xl",$=Hv(y,a,p),T=Vv(y,a);return w.jsxs(G,{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",bgColor:r,style:l,...u,children:[i&&w.jsx(df,{...i}),w.jsx(G,{flex:1,overflow:"visible",position:"relative",width:"100%",...$,style:T,children:n})]})},qv=ie.div`
210
+ `,Nv=({item:n,index:r,openItemIndex:i,handleNavItemMouseEnter:a,handleNavItemMouseLeave:l,handleNavItemToggleDropdown:u})=>{var $,T;const[f,h]=d.useState(0),b=d.useRef(null),{isMouse:y}=xa();return d.useLayoutEffect(()=>{b.current&&h(b.current.offsetWidth)},[n]),w.jsxs(Dv,{onMouseLeave:y?l:void 0,onMouseEnter:y?()=>a(n,r):void 0,children:[w.jsx(G,{ref:b,display:"inline-block",children:w.jsx(Ca,{...n,isActive:i!==r&&(n.isActive||(($=n.dropdownItems)==null?void 0:$.some(x=>x.isActive)))||n.isActive,isLoading:i!==r&&(n.isLoading||((T=n.dropdownItems)==null?void 0:T.some(x=>x.isLoading)))||n.isLoading,isDropdownOpen:i===r,onToggleDropdown:()=>u(r)})}),n.dropdownItems&&n.dropdownItems.length>0&&w.jsx(Wv,{dropdownItems:n.dropdownItems,isDropdownOpen:i===r,dropdownMinWidth:f})]})},ff=({navItems:n=[]})=>{const i=Ce().__hd__.header,a=d.useRef(null),[l,u]=d.useState(!1),[f,h]=d.useState(!0),b=Or(),y=!wt()&&b==="xs",[$,T]=d.useState(null);d.useEffect(()=>{wt()||(u(!y),setTimeout(()=>{h(!1)},300))},[y]),d.useEffect(()=>{const C=M=>{a.current&&!a.current.contains(M.target)&&T(null)};return $!==null&&document.addEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)}},[$]);const x=d.useDeferredValue(l),v=(C,M)=>{C.dropdownItems&&C.dropdownItems.length>0&&T(M)},m=()=>{T(null)},S=C=>{T(M=>M===C?null:C)};return w.jsx(ji,{display:"flex",visible:f,maxWidth:x?"100%":"0px",maxHeight:x?"100%":"0px",opacity:x?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:w.jsx(G,{ref:a,display:"flex",flexDirection:"row",justifyContent:"center",flex:1,mx:"xl",gap:i.navItem.gap,p:i.padding,r:i.radius,bgColor:i.backgroundColor,children:n.map((C,M)=>w.jsx(Nv,{item:C,index:M,openItemIndex:$,handleNavItemMouseEnter:v,handleNavItemMouseLeave:m,handleNavItemToggleDropdown:S},`nav-item-wrapper-${M}`))})})};function Zv({backgroundColor:n="white",navItems:r=[],isSignedIn:i=!1,userProfile:a,profileDropdownItems:l,profileDropdownMaxHeight:u,onLogoClick:f,onNavItemClick:h,onSignInClick:b,onRegisterClick:y,onProfileClick:$,...T},x){const[v,m]=d.useState(!1);return d.useImperativeHandle(x,()=>({showDropdown:()=>m(!0),hideDropdown:()=>m(!1)})),w.jsxs(G,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",p:"md",bgColor:n,...T,children:[w.jsx(cf,{onLogoClick:f}),w.jsx(ff,{navItems:r,onNavItemClick:h}),w.jsx(uf,{isSignedIn:i,isDropdownVisible:v,setIsDropdownVisible:m,userProfile:a,dropdownItems:l,profileDropdownMaxHeight:u,onSignInClick:b,onRegisterClick:y,onProfileClick:$})]})}const df=d.forwardRef(Zv),Hv=(n,r,i)=>{let a={};return n?r==="padded"?(a.maxWidth=void 0,a.px=i.desktopPaddingX):(a.maxWidth=i.desktopContentMaxWidth,a.px=i.mobilePaddingX):(a.maxWidth=void 0,a.px=i.mobilePaddingX),a},Vv=(n,r)=>{const i={};return n&&r==="maxWidth"&&(i.marginLeft="auto",i.marginRight="auto"),i},Uv=({children:n,backgroundColor:r="white",header:i,contentLayoutMode:a="maxWidth",style:l,...u})=>{const h=Ce().__hd__.base,b=Or(),y=wt()||b==="md"||b==="lg"||b==="xl",$=Hv(y,a,h),T=Vv(y,a);return w.jsxs(G,{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",bgColor:r,style:l,...u,children:[i&&w.jsx(df,{...i}),w.jsx(G,{flex:1,overflow:"visible",position:"relative",width:"100%",...$,style:T,children:n})]})},qv=oe.div`
211
211
  display: flex;
212
212
  flex-direction: row;
213
213
  align-items: center;
214
- ${({theme:n,$isFocused:r,$isDisabled:i,$error:a,$borderColor:l,$bgColor:u})=>{const f=n.__hd__.input;let p="default";a?p="error":i?p="disabled":r&&(p="focused");const v=f.states[p],y=p==="focused"&&l?`0 0 0 2px ${n.colors[l]} inset`:v.boxShadow,$=n.spaces[f.padding.vertical],T=n.spaces[f.padding.horizontal],x=n.radii[f.borderRadius],b=n.borderWidths[f.borderWidth],m=p!=="disabled"&&u?n.colors[u]:v.backgroundColor;return`
214
+ ${({theme:n,$isFocused:r,$isDisabled:i,$error:a,$borderColor:l,$bgColor:u})=>{const f=n.__hd__.input;let h="default";a?h="error":i?h="disabled":r&&(h="focused");const b=f.states[h],y=h==="focused"&&l?`0 0 0 2px ${n.colors[l]} inset`:b.boxShadow,$=n.spaces[f.padding.vertical],T=n.spaces[f.padding.horizontal],x=n.radii[f.borderRadius],v=n.borderWidths[f.borderWidth],m=h!=="disabled"&&u?n.colors[u]:b.backgroundColor;return`
215
215
  padding: ${$}px ${T}px;
216
216
  border-radius: ${x}px;
217
- border: ${b}px solid ${n.colors[v.borderColor]};
217
+ border: ${v}px solid ${n.colors[b.borderColor]};
218
218
  box-shadow: ${y};
219
219
  background-color: ${m};
220
220
  opacity: ${i?.7:1};
221
221
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
222
222
  `}}
223
- `,ku=ie.input`
223
+ `,ku=oe.input`
224
224
  flex: 1;
225
225
  border: none;
226
226
  background: transparent;
@@ -241,34 +241,34 @@ function print() { __p += __j.call(arguments, '') }
241
241
  &::-ms-reveal {
242
242
  display: none;
243
243
  }
244
- `,Gv=(n,r)=>{const{value:i="",onChange:a,placeholder:l="",disabled:u=!1,error:f,label:p,helperText:v,leftIcon:y,rightIcon:$,borderColor:T,bgColor:x,multiline:b,...m}=n,S=_e(),C=S.__hd__.input,[M,L]=d.useState(!1),A=d.useRef(null),[O,z]=d.useState(i),[D,H]=d.useState(!1),[q,le]=d.useState(null),pe=!b&&m.type==="password";d.useEffect(()=>{z(i)},[i]),d.useEffect(()=>{if(pe&&A.current&&q!==null){const Q=A.current,ae=q;requestAnimationFrame(()=>{Q&&(Q.focus(),Q.setSelectionRange(ae,ae))}),le(null)}},[D,pe,q]),d.useImperativeHandle(r,()=>({focus:()=>{var Q;return(Q=A.current)==null?void 0:Q.focus()},blur:()=>{var Q;return(Q=A.current)==null?void 0:Q.blur()},get value(){return O}}));const Ce=Q=>{L(!0),n.onFocus&&n.onFocus(Q)},N=Q=>{L(!1),n.onBlur&&n.onBlur(Q)},B=Q=>{const ae=Q.target.value;z(ae),a==null||a(ae)},Z=gt(S,C.iconSize),re=u?C.disabledTextColor:C.iconColor,J=()=>{pe&&A.current&&(le(A.current.selectionStart),H(!D))},K={ref:A,value:O,onChange:B,onFocus:Ce,onBlur:N,placeholder:l,disabled:u};return w.jsxs(G,{fw:!0,children:[p&&w.jsx(G,{mb:"xs",children:w.jsx(at,{fontWeight:"medium",children:p})}),w.jsxs(qv,{$isFocused:M,$isDisabled:u,$error:!!f,$borderColor:T,$bgColor:x,children:[y&&w.jsx(G,{mr:C.iconSpacing,children:w.jsx(Ut,{type:"icon",art:y,size:Z,color:re})}),b?w.jsx(ku,{as:"textarea",...K,...m}):w.jsx(ku,{...K,...m,type:D?"text":m.type}),pe&&M?w.jsx(G,{ml:C.iconSpacing,onClick:J,onMouseDown:Q=>Q.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:w.jsx(Ut,{type:"icon",art:D?Kc:Xc,size:Z,color:re})}):!pe&&$&&w.jsx(G,{ml:C.iconSpacing,children:w.jsx(Ut,{type:"icon",art:$,size:Z,color:re})})]}),(f||v)&&w.jsx(G,{mt:"xs",children:w.jsx(at,{fontSize:"xs",color:f?"danger":"grey600",children:f||v})})]})},Kv=d.forwardRef(Gv),Xv=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Yv(n){const r={},i={},a={};for(const l in n)if(Object.prototype.hasOwnProperty.call(n,l)){const u=n[l];Xv.includes(l)?r[l]=u:l!=="data"&&l!=="renderItem"&&l!=="keyExtractor"&&l!=="ListEmptyComponent"&&l!=="ListHeaderComponent"&&l!=="ListFooterComponent"&&l!=="ItemSeparatorComponent"&&l!=="itemGap"?i[l]=u:a[l]=u}return{listProps:a,contentProps:r,containerProps:i}}function Qv(n,r){var A,O;const{listProps:i,contentProps:a,containerProps:l}=Yv(n),{data:u=[],renderItem:f,keyExtractor:p,ListEmptyComponent:v,ListHeaderComponent:y,ListFooterComponent:$,ItemSeparatorComponent:T,itemGap:x}=i,b=_e(),m=((A=b.__hd__.list)==null?void 0:A.defaultGap)||"xs",S=x||m,C=((O=b.__hd__.list)==null?void 0:O.defaultPadding)||"0px",M=a.p??a.padding??C,L=()=>u.length===0&&v?v:u.map((z,D)=>{const H=p?p(z,D):String(D),q=f?f(z,D):null;return q?w.jsxs(d.Fragment,{children:[q,T&&D<u.length-1?T:null]},H):null});return w.jsx(G,{ref:r,overflow:"auto",width:"100%",...l,children:w.jsxs(G,{display:"flex",flexDirection:"column",gap:S,p:M,...a,children:[y,L(),$]})})}const Jv=d.forwardRef(Qv);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function Ru(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);r&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,a)}return i}function Lu(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?Ru(Object(i),!0).forEach(function(a){$i(n,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Ru(Object(i)).forEach(function(a){Object.defineProperty(n,a,Object.getOwnPropertyDescriptor(i,a))})}return n}function bt(){bt=function(){return n};var n={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(N,B,Z){N[B]=Z.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",f=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function v(N,B,Z){return Object.defineProperty(N,B,{value:Z,enumerable:!0,configurable:!0,writable:!0}),N[B]}try{v({},"")}catch{v=function(B,Z,re){return B[Z]=re}}function y(N,B,Z,re){var J=B&&B.prototype instanceof x?B:x,K=Object.create(J.prototype),Q=new le(re||[]);return a(K,"_invoke",{value:z(N,Z,Q)}),K}function $(N,B,Z){try{return{type:"normal",arg:N.call(B,Z)}}catch(re){return{type:"throw",arg:re}}}n.wrap=y;var T={};function x(){}function b(){}function m(){}var S={};v(S,u,function(){return this});var C=Object.getPrototypeOf,M=C&&C(C(pe([])));M&&M!==r&&i.call(M,u)&&(S=M);var L=m.prototype=x.prototype=Object.create(S);function A(N){["next","throw","return"].forEach(function(B){v(N,B,function(Z){return this._invoke(B,Z)})})}function O(N,B){function Z(J,K,Q,ae){var Te=$(N[J],N,K);if(Te.type!=="throw"){var be=Te.arg,Fe=be.value;return Fe&&typeof Fe=="object"&&i.call(Fe,"__await")?B.resolve(Fe.__await).then(function(Re){Z("next",Re,Q,ae)},function(Re){Z("throw",Re,Q,ae)}):B.resolve(Fe).then(function(Re){be.value=Re,Q(be)},function(Re){return Z("throw",Re,Q,ae)})}ae(Te.arg)}var re;a(this,"_invoke",{value:function(J,K){function Q(){return new B(function(ae,Te){Z(J,K,ae,Te)})}return re=re?re.then(Q,Q):Q()}})}function z(N,B,Z){var re="suspendedStart";return function(J,K){if(re==="executing")throw new Error("Generator is already running");if(re==="completed"){if(J==="throw")throw K;return Ce()}for(Z.method=J,Z.arg=K;;){var Q=Z.delegate;if(Q){var ae=D(Q,Z);if(ae){if(ae===T)continue;return ae}}if(Z.method==="next")Z.sent=Z._sent=Z.arg;else if(Z.method==="throw"){if(re==="suspendedStart")throw re="completed",Z.arg;Z.dispatchException(Z.arg)}else Z.method==="return"&&Z.abrupt("return",Z.arg);re="executing";var Te=$(N,B,Z);if(Te.type==="normal"){if(re=Z.done?"completed":"suspendedYield",Te.arg===T)continue;return{value:Te.arg,done:Z.done}}Te.type==="throw"&&(re="completed",Z.method="throw",Z.arg=Te.arg)}}}function D(N,B){var Z=B.method,re=N.iterator[Z];if(re===void 0)return B.delegate=null,Z==="throw"&&N.iterator.return&&(B.method="return",B.arg=void 0,D(N,B),B.method==="throw")||Z!=="return"&&(B.method="throw",B.arg=new TypeError("The iterator does not provide a '"+Z+"' method")),T;var J=$(re,N.iterator,B.arg);if(J.type==="throw")return B.method="throw",B.arg=J.arg,B.delegate=null,T;var K=J.arg;return K?K.done?(B[N.resultName]=K.value,B.next=N.nextLoc,B.method!=="return"&&(B.method="next",B.arg=void 0),B.delegate=null,T):K:(B.method="throw",B.arg=new TypeError("iterator result is not an object"),B.delegate=null,T)}function H(N){var B={tryLoc:N[0]};1 in N&&(B.catchLoc=N[1]),2 in N&&(B.finallyLoc=N[2],B.afterLoc=N[3]),this.tryEntries.push(B)}function q(N){var B=N.completion||{};B.type="normal",delete B.arg,N.completion=B}function le(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(H,this),this.reset(!0)}function pe(N){if(N){var B=N[u];if(B)return B.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var Z=-1,re=function J(){for(;++Z<N.length;)if(i.call(N,Z))return J.value=N[Z],J.done=!1,J;return J.value=void 0,J.done=!0,J};return re.next=re}}return{next:Ce}}function Ce(){return{value:void 0,done:!0}}return b.prototype=m,a(L,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:b,configurable:!0}),b.displayName=v(m,p,"GeneratorFunction"),n.isGeneratorFunction=function(N){var B=typeof N=="function"&&N.constructor;return!!B&&(B===b||(B.displayName||B.name)==="GeneratorFunction")},n.mark=function(N){return Object.setPrototypeOf?Object.setPrototypeOf(N,m):(N.__proto__=m,v(N,p,"GeneratorFunction")),N.prototype=Object.create(L),N},n.awrap=function(N){return{__await:N}},A(O.prototype),v(O.prototype,f,function(){return this}),n.AsyncIterator=O,n.async=function(N,B,Z,re,J){J===void 0&&(J=Promise);var K=new O(y(N,B,Z,re),J);return n.isGeneratorFunction(B)?K:K.next().then(function(Q){return Q.done?Q.value:K.next()})},A(L),v(L,p,"Generator"),v(L,u,function(){return this}),v(L,"toString",function(){return"[object Generator]"}),n.keys=function(N){var B=Object(N),Z=[];for(var re in B)Z.push(re);return Z.reverse(),function J(){for(;Z.length;){var K=Z.pop();if(K in B)return J.value=K,J.done=!1,J}return J.done=!0,J}},n.values=pe,le.prototype={constructor:le,reset:function(N){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(q),!N)for(var B in this)B.charAt(0)==="t"&&i.call(this,B)&&!isNaN(+B.slice(1))&&(this[B]=void 0)},stop:function(){this.done=!0;var N=this.tryEntries[0].completion;if(N.type==="throw")throw N.arg;return this.rval},dispatchException:function(N){if(this.done)throw N;var B=this;function Z(Te,be){return K.type="throw",K.arg=N,B.next=Te,be&&(B.method="next",B.arg=void 0),!!be}for(var re=this.tryEntries.length-1;re>=0;--re){var J=this.tryEntries[re],K=J.completion;if(J.tryLoc==="root")return Z("end");if(J.tryLoc<=this.prev){var Q=i.call(J,"catchLoc"),ae=i.call(J,"finallyLoc");if(Q&&ae){if(this.prev<J.catchLoc)return Z(J.catchLoc,!0);if(this.prev<J.finallyLoc)return Z(J.finallyLoc)}else if(Q){if(this.prev<J.catchLoc)return Z(J.catchLoc,!0)}else{if(!ae)throw new Error("try statement without catch or finally");if(this.prev<J.finallyLoc)return Z(J.finallyLoc)}}}},abrupt:function(N,B){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var re=this.tryEntries[Z];if(re.tryLoc<=this.prev&&i.call(re,"finallyLoc")&&this.prev<re.finallyLoc){var J=re;break}}J&&(N==="break"||N==="continue")&&J.tryLoc<=B&&B<=J.finallyLoc&&(J=null);var K=J?J.completion:{};return K.type=N,K.arg=B,J?(this.method="next",this.next=J.finallyLoc,T):this.complete(K)},complete:function(N,B){if(N.type==="throw")throw N.arg;return N.type==="break"||N.type==="continue"?this.next=N.arg:N.type==="return"?(this.rval=this.arg=N.arg,this.method="return",this.next="end"):N.type==="normal"&&B&&(this.next=B),T},finish:function(N){for(var B=this.tryEntries.length-1;B>=0;--B){var Z=this.tryEntries[B];if(Z.finallyLoc===N)return this.complete(Z.completion,Z.afterLoc),q(Z),T}},catch:function(N){for(var B=this.tryEntries.length-1;B>=0;--B){var Z=this.tryEntries[B];if(Z.tryLoc===N){var re=Z.completion;if(re.type==="throw"){var J=re.arg;q(Z)}return J}}throw new Error("illegal catch attempt")},delegateYield:function(N,B,Z){return this.delegate={iterator:pe(N),resultName:B,nextLoc:Z},this.method==="next"&&(this.arg=void 0),T}},n}function Ou(n,r,i,a,l,u,f){try{var p=n[u](f),v=p.value}catch(y){i(y);return}p.done?r(v):Promise.resolve(v).then(a,l)}function jn(n){return function(){var r=this,i=arguments;return new Promise(function(a,l){var u=n.apply(r,i);function f(v){Ou(u,a,l,f,p,"next",v)}function p(v){Ou(u,a,l,f,p,"throw",v)}f(void 0)})}}function hf(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function ey(n,r){for(var i=0;i<r.length;i++){var a=r[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,mf(a.key),a)}}function pf(n,r,i){return r&&ey(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}function $i(n,r,i){return r=mf(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function ty(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&kr(n,r)}function Tr(n){return Tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Tr(n)}function kr(n,r){return kr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,l){return a.__proto__=l,a},kr(n,r)}function gf(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ti(n,r,i){return gf()?Ti=Reflect.construct.bind():Ti=function(l,u,f){var p=[null];p.push.apply(p,u);var v=Function.bind.apply(l,p),y=new v;return f&&kr(y,f.prototype),y},Ti.apply(null,arguments)}function ny(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function sa(n){var r=typeof Map=="function"?new Map:void 0;return sa=function(a){if(a===null||!ny(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(a))return r.get(a);r.set(a,l)}function l(){return Ti(a,arguments,Tr(this).constructor)}return l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),kr(l,a)},sa(n)}function ki(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ry(n,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ki(n)}function iy(n){var r=gf();return function(){var a=Tr(n),l;if(r){var u=Tr(this).constructor;l=Reflect.construct(a,arguments,u)}else l=a.apply(this,arguments);return ry(this,l)}}function oy(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var a=i.call(n,r);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function mf(n){var r=oy(n,"string");return typeof r=="symbol"?r:String(r)}var vf=typeof global<"u"&&{}.toString.call(global)==="[object global]";function Iu(n,r){return n.indexOf(r.toLowerCase())===0?n:"".concat(r.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function ay(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function sy(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function Pn(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function yf(n){var r=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return r.test(n)}function ly(n){for(var r=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(r&&r[1]||"").replace("player.",""),a=[".videoji.hk",".vimeo.work",".videoji.cn"],l=0,u=a;l<u.length;l++){var f=u[l];if(i.endsWith(f))return i}return"vimeo.com"}function bf(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.id,i=n.url,a=r||i;if(!a)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(sy(a))return"https://vimeo.com/".concat(a);if(Pn(a))return a.replace("http:","https:");throw r?new TypeError("“".concat(r,"” is not a valid video id.")):new TypeError("“".concat(a,"” is not a vimeo.com url."))}var Mu=function(r,i,a){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",f=typeof i=="string"?[i]:i;return f.forEach(function(p){r[l](p,a)}),{cancel:function(){return f.forEach(function(v){return r[u](v,a)})}}},uy=typeof Array.prototype.indexOf<"u",cy=typeof window<"u"&&typeof window.postMessage<"u";if(!vf&&(!uy||!cy))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var ar=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fy(n,r){return r={exports:{}},n(r,r.exports),r.exports}/*!
244
+ `,Gv=(n,r)=>{const{value:i="",onChange:a,placeholder:l="",disabled:u=!1,error:f,label:h,helperText:b,leftIcon:y,rightIcon:$,borderColor:T,bgColor:x,multiline:v,...m}=n,S=Ce(),C=S.__hd__.input,[M,L]=d.useState(!1),A=d.useRef(null),[O,F]=d.useState(i),[W,N]=d.useState(!1),[q,fe]=d.useState(null),ye=!v&&m.type==="password";d.useEffect(()=>{F(i)},[i]),d.useEffect(()=>{if(ye&&A.current&&q!==null){const X=A.current,ce=q;requestAnimationFrame(()=>{X&&(X.focus(),X.setSelectionRange(ce,ce))}),fe(null)}},[W,ye,q]),d.useImperativeHandle(r,()=>({focus:()=>{var X;return(X=A.current)==null?void 0:X.focus()},blur:()=>{var X;return(X=A.current)==null?void 0:X.blur()},get value(){return O}}));const we=X=>{L(!0),n.onFocus&&n.onFocus(X)},D=X=>{L(!1),n.onBlur&&n.onBlur(X)},j=X=>{const ce=X.target.value;F(ce),a==null||a(ce)},H=mt(S,C.iconSize),ie=u?C.disabledTextColor:C.iconColor,J=()=>{ye&&A.current&&(fe(A.current.selectionStart),N(!W))},K={ref:A,value:O,onChange:j,onFocus:we,onBlur:D,placeholder:l,disabled:u};return w.jsxs(G,{fw:!0,children:[h&&w.jsx(G,{mb:"xs",children:w.jsx(ct,{fontWeight:"medium",children:h})}),w.jsxs(qv,{$isFocused:M,$isDisabled:u,$error:!!f,$borderColor:T,$bgColor:x,children:[y&&w.jsx(G,{mr:C.iconSpacing,children:w.jsx(Ut,{type:"icon",art:y,size:H,color:ie})}),v?w.jsx(ku,{as:"textarea",...K,...m}):w.jsx(ku,{...K,...m,type:W?"text":m.type}),ye&&M?w.jsx(G,{ml:C.iconSpacing,onClick:J,onMouseDown:X=>X.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:w.jsx(Ut,{type:"icon",art:W?Kc:Xc,size:H,color:ie})}):!ye&&$&&w.jsx(G,{ml:C.iconSpacing,children:w.jsx(Ut,{type:"icon",art:$,size:H,color:ie})})]}),(f||b)&&w.jsx(G,{mt:"xs",children:w.jsx(ct,{fontSize:"xs",color:f?"danger":"grey600",children:f||b})})]})},Kv=d.forwardRef(Gv),Xv=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Yv(n){const r={},i={},a={};for(const l in n)if(Object.prototype.hasOwnProperty.call(n,l)){const u=n[l];Xv.includes(l)?r[l]=u:l!=="data"&&l!=="renderItem"&&l!=="keyExtractor"&&l!=="ListEmptyComponent"&&l!=="ListHeaderComponent"&&l!=="ListFooterComponent"&&l!=="ItemSeparatorComponent"&&l!=="itemGap"?i[l]=u:a[l]=u}return{listProps:a,contentProps:r,containerProps:i}}function Qv(n,r){var A,O;const{listProps:i,contentProps:a,containerProps:l}=Yv(n),{data:u=[],renderItem:f,keyExtractor:h,ListEmptyComponent:b,ListHeaderComponent:y,ListFooterComponent:$,ItemSeparatorComponent:T,itemGap:x}=i,v=Ce(),m=((A=v.__hd__.list)==null?void 0:A.defaultGap)||"xs",S=x||m,C=((O=v.__hd__.list)==null?void 0:O.defaultPadding)||"0px",M=a.p??a.padding??C,L=()=>u.length===0&&b?b:u.map((F,W)=>{const N=h?h(F,W):String(W),q=f?f(F,W):null;return q?w.jsxs(d.Fragment,{children:[q,T&&W<u.length-1?T:null]},N):null});return w.jsx(G,{ref:r,overflow:"auto",width:"100%",...l,children:w.jsxs(G,{display:"flex",flexDirection:"column",gap:S,p:M,...a,children:[y,L(),$]})})}const Jv=d.forwardRef(Qv);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function Ru(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);r&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,a)}return i}function Lu(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?Ru(Object(i),!0).forEach(function(a){$i(n,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Ru(Object(i)).forEach(function(a){Object.defineProperty(n,a,Object.getOwnPropertyDescriptor(i,a))})}return n}function xt(){xt=function(){return n};var n={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(D,j,H){D[j]=H.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",f=l.asyncIterator||"@@asyncIterator",h=l.toStringTag||"@@toStringTag";function b(D,j,H){return Object.defineProperty(D,j,{value:H,enumerable:!0,configurable:!0,writable:!0}),D[j]}try{b({},"")}catch{b=function(j,H,ie){return j[H]=ie}}function y(D,j,H,ie){var J=j&&j.prototype instanceof x?j:x,K=Object.create(J.prototype),X=new fe(ie||[]);return a(K,"_invoke",{value:F(D,H,X)}),K}function $(D,j,H){try{return{type:"normal",arg:D.call(j,H)}}catch(ie){return{type:"throw",arg:ie}}}n.wrap=y;var T={};function x(){}function v(){}function m(){}var S={};b(S,u,function(){return this});var C=Object.getPrototypeOf,M=C&&C(C(ye([])));M&&M!==r&&i.call(M,u)&&(S=M);var L=m.prototype=x.prototype=Object.create(S);function A(D){["next","throw","return"].forEach(function(j){b(D,j,function(H){return this._invoke(j,H)})})}function O(D,j){function H(J,K,X,ce){var Te=$(D[J],D,K);if(Te.type!=="throw"){var be=Te.arg,Be=be.value;return Be&&typeof Be=="object"&&i.call(Be,"__await")?j.resolve(Be.__await).then(function(Le){H("next",Le,X,ce)},function(Le){H("throw",Le,X,ce)}):j.resolve(Be).then(function(Le){be.value=Le,X(be)},function(Le){return H("throw",Le,X,ce)})}ce(Te.arg)}var ie;a(this,"_invoke",{value:function(J,K){function X(){return new j(function(ce,Te){H(J,K,ce,Te)})}return ie=ie?ie.then(X,X):X()}})}function F(D,j,H){var ie="suspendedStart";return function(J,K){if(ie==="executing")throw new Error("Generator is already running");if(ie==="completed"){if(J==="throw")throw K;return we()}for(H.method=J,H.arg=K;;){var X=H.delegate;if(X){var ce=W(X,H);if(ce){if(ce===T)continue;return ce}}if(H.method==="next")H.sent=H._sent=H.arg;else if(H.method==="throw"){if(ie==="suspendedStart")throw ie="completed",H.arg;H.dispatchException(H.arg)}else H.method==="return"&&H.abrupt("return",H.arg);ie="executing";var Te=$(D,j,H);if(Te.type==="normal"){if(ie=H.done?"completed":"suspendedYield",Te.arg===T)continue;return{value:Te.arg,done:H.done}}Te.type==="throw"&&(ie="completed",H.method="throw",H.arg=Te.arg)}}}function W(D,j){var H=j.method,ie=D.iterator[H];if(ie===void 0)return j.delegate=null,H==="throw"&&D.iterator.return&&(j.method="return",j.arg=void 0,W(D,j),j.method==="throw")||H!=="return"&&(j.method="throw",j.arg=new TypeError("The iterator does not provide a '"+H+"' method")),T;var J=$(ie,D.iterator,j.arg);if(J.type==="throw")return j.method="throw",j.arg=J.arg,j.delegate=null,T;var K=J.arg;return K?K.done?(j[D.resultName]=K.value,j.next=D.nextLoc,j.method!=="return"&&(j.method="next",j.arg=void 0),j.delegate=null,T):K:(j.method="throw",j.arg=new TypeError("iterator result is not an object"),j.delegate=null,T)}function N(D){var j={tryLoc:D[0]};1 in D&&(j.catchLoc=D[1]),2 in D&&(j.finallyLoc=D[2],j.afterLoc=D[3]),this.tryEntries.push(j)}function q(D){var j=D.completion||{};j.type="normal",delete j.arg,D.completion=j}function fe(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(N,this),this.reset(!0)}function ye(D){if(D){var j=D[u];if(j)return j.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var H=-1,ie=function J(){for(;++H<D.length;)if(i.call(D,H))return J.value=D[H],J.done=!1,J;return J.value=void 0,J.done=!0,J};return ie.next=ie}}return{next:we}}function we(){return{value:void 0,done:!0}}return v.prototype=m,a(L,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:v,configurable:!0}),v.displayName=b(m,h,"GeneratorFunction"),n.isGeneratorFunction=function(D){var j=typeof D=="function"&&D.constructor;return!!j&&(j===v||(j.displayName||j.name)==="GeneratorFunction")},n.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,m):(D.__proto__=m,b(D,h,"GeneratorFunction")),D.prototype=Object.create(L),D},n.awrap=function(D){return{__await:D}},A(O.prototype),b(O.prototype,f,function(){return this}),n.AsyncIterator=O,n.async=function(D,j,H,ie,J){J===void 0&&(J=Promise);var K=new O(y(D,j,H,ie),J);return n.isGeneratorFunction(j)?K:K.next().then(function(X){return X.done?X.value:K.next()})},A(L),b(L,h,"Generator"),b(L,u,function(){return this}),b(L,"toString",function(){return"[object Generator]"}),n.keys=function(D){var j=Object(D),H=[];for(var ie in j)H.push(ie);return H.reverse(),function J(){for(;H.length;){var K=H.pop();if(K in j)return J.value=K,J.done=!1,J}return J.done=!0,J}},n.values=ye,fe.prototype={constructor:fe,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(q),!D)for(var j in this)j.charAt(0)==="t"&&i.call(this,j)&&!isNaN(+j.slice(1))&&(this[j]=void 0)},stop:function(){this.done=!0;var D=this.tryEntries[0].completion;if(D.type==="throw")throw D.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var j=this;function H(Te,be){return K.type="throw",K.arg=D,j.next=Te,be&&(j.method="next",j.arg=void 0),!!be}for(var ie=this.tryEntries.length-1;ie>=0;--ie){var J=this.tryEntries[ie],K=J.completion;if(J.tryLoc==="root")return H("end");if(J.tryLoc<=this.prev){var X=i.call(J,"catchLoc"),ce=i.call(J,"finallyLoc");if(X&&ce){if(this.prev<J.catchLoc)return H(J.catchLoc,!0);if(this.prev<J.finallyLoc)return H(J.finallyLoc)}else if(X){if(this.prev<J.catchLoc)return H(J.catchLoc,!0)}else{if(!ce)throw new Error("try statement without catch or finally");if(this.prev<J.finallyLoc)return H(J.finallyLoc)}}}},abrupt:function(D,j){for(var H=this.tryEntries.length-1;H>=0;--H){var ie=this.tryEntries[H];if(ie.tryLoc<=this.prev&&i.call(ie,"finallyLoc")&&this.prev<ie.finallyLoc){var J=ie;break}}J&&(D==="break"||D==="continue")&&J.tryLoc<=j&&j<=J.finallyLoc&&(J=null);var K=J?J.completion:{};return K.type=D,K.arg=j,J?(this.method="next",this.next=J.finallyLoc,T):this.complete(K)},complete:function(D,j){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&j&&(this.next=j),T},finish:function(D){for(var j=this.tryEntries.length-1;j>=0;--j){var H=this.tryEntries[j];if(H.finallyLoc===D)return this.complete(H.completion,H.afterLoc),q(H),T}},catch:function(D){for(var j=this.tryEntries.length-1;j>=0;--j){var H=this.tryEntries[j];if(H.tryLoc===D){var ie=H.completion;if(ie.type==="throw"){var J=ie.arg;q(H)}return J}}throw new Error("illegal catch attempt")},delegateYield:function(D,j,H){return this.delegate={iterator:ye(D),resultName:j,nextLoc:H},this.method==="next"&&(this.arg=void 0),T}},n}function Ou(n,r,i,a,l,u,f){try{var h=n[u](f),b=h.value}catch(y){i(y);return}h.done?r(b):Promise.resolve(b).then(a,l)}function jn(n){return function(){var r=this,i=arguments;return new Promise(function(a,l){var u=n.apply(r,i);function f(b){Ou(u,a,l,f,h,"next",b)}function h(b){Ou(u,a,l,f,h,"throw",b)}f(void 0)})}}function hf(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function ey(n,r){for(var i=0;i<r.length;i++){var a=r[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,mf(a.key),a)}}function pf(n,r,i){return r&&ey(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}function $i(n,r,i){return r=mf(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function ty(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&kr(n,r)}function Tr(n){return Tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Tr(n)}function kr(n,r){return kr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,l){return a.__proto__=l,a},kr(n,r)}function gf(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ti(n,r,i){return gf()?Ti=Reflect.construct.bind():Ti=function(l,u,f){var h=[null];h.push.apply(h,u);var b=Function.bind.apply(l,h),y=new b;return f&&kr(y,f.prototype),y},Ti.apply(null,arguments)}function ny(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function sa(n){var r=typeof Map=="function"?new Map:void 0;return sa=function(a){if(a===null||!ny(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(a))return r.get(a);r.set(a,l)}function l(){return Ti(a,arguments,Tr(this).constructor)}return l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),kr(l,a)},sa(n)}function ki(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ry(n,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ki(n)}function iy(n){var r=gf();return function(){var a=Tr(n),l;if(r){var u=Tr(this).constructor;l=Reflect.construct(a,arguments,u)}else l=a.apply(this,arguments);return ry(this,l)}}function oy(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var a=i.call(n,r);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function mf(n){var r=oy(n,"string");return typeof r=="symbol"?r:String(r)}var vf=typeof global<"u"&&{}.toString.call(global)==="[object global]";function Iu(n,r){return n.indexOf(r.toLowerCase())===0?n:"".concat(r.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function ay(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function sy(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function Wn(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function yf(n){var r=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return r.test(n)}function ly(n){for(var r=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(r&&r[1]||"").replace("player.",""),a=[".videoji.hk",".vimeo.work",".videoji.cn"],l=0,u=a;l<u.length;l++){var f=u[l];if(i.endsWith(f))return i}return"vimeo.com"}function bf(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.id,i=n.url,a=r||i;if(!a)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(sy(a))return"https://vimeo.com/".concat(a);if(Wn(a))return a.replace("http:","https:");throw r?new TypeError("“".concat(r,"” is not a valid video id.")):new TypeError("“".concat(a,"” is not a vimeo.com url."))}var Mu=function(r,i,a){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",f=typeof i=="string"?[i]:i;return f.forEach(function(h){r[l](h,a)}),{cancel:function(){return f.forEach(function(b){return r[u](b,a)})}}},uy=typeof Array.prototype.indexOf<"u",cy=typeof window<"u"&&typeof window.postMessage<"u";if(!vf&&(!uy||!cy))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var sr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fy(n,r){return r={exports:{}},n(r,r.exports),r.exports}/*!
245
245
  * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
246
246
  * https://github.com/polygonplanet/weakmap-polyfill
247
247
  * Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
248
248
  * @license MIT
249
- */(function(n){if(n.WeakMap)return;var r=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),a=function(u,f,p){i?Object.defineProperty(u,f,{configurable:!0,writable:!0,value:p}):u[f]=p};n.WeakMap=function(){function u(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(a(this,"_id",p("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}a(u.prototype,"delete",function(y){if(f(this,"delete"),!l(y))return!1;var $=y[this._id];return $&&$[0]===y?(delete y[this._id],!0):!1}),a(u.prototype,"get",function(y){if(f(this,"get"),!!l(y)){var $=y[this._id];if($&&$[0]===y)return $[1]}}),a(u.prototype,"has",function(y){if(f(this,"has"),!l(y))return!1;var $=y[this._id];return!!($&&$[0]===y)}),a(u.prototype,"set",function(y,$){if(f(this,"set"),!l(y))throw new TypeError("Invalid value used as weak map key");var T=y[this._id];return T&&T[0]===y?(T[1]=$,this):(a(y,this._id,[y,$]),this)});function f(y,$){if(!l(y)||!r.call(y,"_id"))throw new TypeError($+" method called on incompatible receiver "+typeof y)}function p(y){return y+"_"+v()+"."+v()}function v(){return Math.random().toString().substring(2)}return a(u,"_polyfill",!0),u}();function l(u){return Object(u)===u}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:ar);var Vt=fy(function(n){/*! Native Promise Only
249
+ */(function(n){if(n.WeakMap)return;var r=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),a=function(u,f,h){i?Object.defineProperty(u,f,{configurable:!0,writable:!0,value:h}):u[f]=h};n.WeakMap=function(){function u(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(a(this,"_id",h("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}a(u.prototype,"delete",function(y){if(f(this,"delete"),!l(y))return!1;var $=y[this._id];return $&&$[0]===y?(delete y[this._id],!0):!1}),a(u.prototype,"get",function(y){if(f(this,"get"),!!l(y)){var $=y[this._id];if($&&$[0]===y)return $[1]}}),a(u.prototype,"has",function(y){if(f(this,"has"),!l(y))return!1;var $=y[this._id];return!!($&&$[0]===y)}),a(u.prototype,"set",function(y,$){if(f(this,"set"),!l(y))throw new TypeError("Invalid value used as weak map key");var T=y[this._id];return T&&T[0]===y?(T[1]=$,this):(a(y,this._id,[y,$]),this)});function f(y,$){if(!l(y)||!r.call(y,"_id"))throw new TypeError($+" method called on incompatible receiver "+typeof y)}function h(y){return y+"_"+b()+"."+b()}function b(){return Math.random().toString().substring(2)}return a(u,"_polyfill",!0),u}();function l(u){return Object(u)===u}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:sr);var Vt=fy(function(n){/*! Native Promise Only
250
250
  v0.8.1 (c) Kyle Simpson
251
251
  MIT License: http://getify.mit-license.org
252
- */(function(i,a,l){a[i]=a[i]||l(),n.exports&&(n.exports=a[i])})("Promise",ar,function(){var i,a,l,u=Object.prototype.toString,f=typeof setImmediate<"u"?function(A){return setImmediate(A)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(A,O,z,D){return Object.defineProperty(A,O,{value:z,writable:!0,configurable:D!==!1})}}catch{i=function(O,z,D){return O[z]=D,O}}l=function(){var A,O,z;function D(H,q){this.fn=H,this.self=q,this.next=void 0}return{add:function(q,le){z=new D(q,le),O?O.next=z:A=z,O=z,z=void 0},drain:function(){var q=A;for(A=O=a=void 0;q;)q.fn.call(q.self),q=q.next}}}();function p(L,A){l.add(L,A),a||(a=f(l.drain))}function v(L){var A,O=typeof L;return L!=null&&(O=="object"||O=="function")&&(A=L.then),typeof A=="function"?A:!1}function y(){for(var L=0;L<this.chain.length;L++)$(this,this.state===1?this.chain[L].success:this.chain[L].failure,this.chain[L]);this.chain.length=0}function $(L,A,O){var z,D;try{A===!1?O.reject(L.msg):(A===!0?z=L.msg:z=A.call(void 0,L.msg),z===O.promise?O.reject(TypeError("Promise-chain cycle")):(D=v(z))?D.call(z,O.resolve,O.reject):O.resolve(z))}catch(H){O.reject(H)}}function T(L){var A,O=this;if(!O.triggered){O.triggered=!0,O.def&&(O=O.def);try{(A=v(L))?p(function(){var z=new m(O);try{A.call(L,function(){T.apply(z,arguments)},function(){x.apply(z,arguments)})}catch(D){x.call(z,D)}}):(O.msg=L,O.state=1,O.chain.length>0&&p(y,O))}catch(z){x.call(new m(O),z)}}}function x(L){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=L,A.state=2,A.chain.length>0&&p(y,A))}function b(L,A,O,z){for(var D=0;D<A.length;D++)(function(q){L.resolve(A[q]).then(function(pe){O(q,pe)},z)})(D)}function m(L){this.def=L,this.triggered=!1}function S(L){this.promise=L,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function C(L){if(typeof L!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var A=new S(this);this.then=function(z,D){var H={success:typeof z=="function"?z:!0,failure:typeof D=="function"?D:!1};return H.promise=new this.constructor(function(le,pe){if(typeof le!="function"||typeof pe!="function")throw TypeError("Not a function");H.resolve=le,H.reject=pe}),A.chain.push(H),A.state!==0&&p(y,A),H.promise},this.catch=function(z){return this.then(void 0,z)};try{L.call(void 0,function(z){T.call(A,z)},function(z){x.call(A,z)})}catch(O){x.call(A,O)}}var M=i({},"constructor",C,!1);return C.prototype=M,i(M,"__NPO__",0,!1),i(C,"resolve",function(A){var O=this;return A&&typeof A=="object"&&A.__NPO__===1?A:new O(function(D,H){if(typeof D!="function"||typeof H!="function")throw TypeError("Not a function");D(A)})}),i(C,"reject",function(A){return new this(function(z,D){if(typeof z!="function"||typeof D!="function")throw TypeError("Not a function");D(A)})}),i(C,"all",function(A){var O=this;return u.call(A)!="[object Array]"?O.reject(TypeError("Not an array")):A.length===0?O.resolve([]):new O(function(D,H){if(typeof D!="function"||typeof H!="function")throw TypeError("Not a function");var q=A.length,le=Array(q),pe=0;b(O,A,function(N,B){le[N]=B,++pe===q&&D(le)},H)})}),i(C,"race",function(A){var O=this;return u.call(A)!="[object Array]"?O.reject(TypeError("Not an array")):new O(function(D,H){if(typeof D!="function"||typeof H!="function")throw TypeError("Not a function");b(O,A,function(le,pe){D(pe)},H)})}),C})}),dn=new WeakMap;function Sr(n,r,i){var a=dn.get(n.element)||{};r in a||(a[r]=[]),a[r].push(i),dn.set(n.element,a)}function Li(n,r){var i=dn.get(n.element)||{};return i[r]||[]}function Oi(n,r,i){var a=dn.get(n.element)||{};if(!a[r])return!0;if(!i)return a[r]=[],dn.set(n.element,a),!0;var l=a[r].indexOf(i);return l!==-1&&a[r].splice(l,1),dn.set(n.element,a),a[r]&&a[r].length===0}function dy(n,r){var i=Li(n,r);if(i.length<1)return!1;var a=i.shift();return Oi(n,r,a),a}function hy(n,r){var i=dn.get(n);dn.set(r,i),dn.delete(n)}function Wi(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(r){return console.warn(r),{}}return n}function zn(n,r,i){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var a={method:r};i!==void 0&&(a.value=i);var l=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));l>=8&&l<10&&(a=JSON.stringify(a)),n.element.contentWindow.postMessage(a,n.origin)}}function py(n,r){r=Wi(r);var i=[],a;if(r.event){if(r.event==="error"){var l=Li(n,r.data.method);l.forEach(function(f){var p=new Error(r.data.message);p.name=r.data.name,f.reject(p),Oi(n,r.data.method,f)})}i=Li(n,"event:".concat(r.event)),a=r.data}else if(r.method){var u=dy(n,r.method);u&&(i.push(u),a=r.value)}i.forEach(function(f){try{if(typeof f=="function"){f.call(n,a);return}f.resolve(a)}catch{}})}var gy=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function xf(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return gy.reduce(function(i,a){var l=n.getAttribute("data-vimeo-".concat(a));return(l||l==="")&&(i[a]=l===""?1:l),i},r)}function Sa(n,r){var i=n.html;if(!r)throw new TypeError("An element must be provided");if(r.getAttribute("data-vimeo-initialized")!==null)return r.querySelector("iframe");var a=document.createElement("div");return a.innerHTML=i,r.appendChild(a.firstChild),r.setAttribute("data-vimeo-initialized","true"),r.querySelector("iframe")}function wf(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(a,l){if(!Pn(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var u=ly(n),f="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var p in r)r.hasOwnProperty(p)&&(f+="&".concat(p,"=").concat(encodeURIComponent(r[p])));var v="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;v.open("GET",f,!0),v.onload=function(){if(v.status===404){l(new Error("“".concat(n,"” was not found.")));return}if(v.status===403){l(new Error("“".concat(n,"” is not embeddable.")));return}try{var y=JSON.parse(v.responseText);if(y.domain_status_code===403){Sa(y,i),l(new Error("“".concat(n,"” is not embeddable.")));return}a(y)}catch($){l($)}},v.onerror=function(){var y=v.status?" (".concat(v.status,")"):"";l(new Error("There was an error fetching the embed code from Vimeo".concat(y,".")))},v.send()})}function my(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(l){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(l))};r.forEach(function(a){try{if(a.getAttribute("data-vimeo-defer")!==null)return;var l=xf(a),u=bf(l);wf(u,l,a).then(function(f){return Sa(f,a)}).catch(i)}catch(f){i(f)}})}function vy(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var r=function(a){if(Pn(a.origin)&&!(!a.data||a.data.event!=="spacechange")){for(var l=n.querySelectorAll("iframe"),u=0;u<l.length;u++)if(l[u].contentWindow===a.source){var f=l[u].parentElement;f.style.paddingBottom="".concat(a.data.data[0].bottom,"px");break}}};window.addEventListener("message",r)}}function yy(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var r=function(a){if(Pn(a.origin)){var l=Wi(a.data);if(!(!l||l.event!=="ready"))for(var u=n.querySelectorAll("iframe"),f=0;f<u.length;f++){var p=u[f],v=p.contentWindow===a.source;if(yf(p.src)&&v){var y=new Ea(p);y.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",r)}}function by(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var r=function(l){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(l))},i=function(l){if(Pn(l.origin)){var u=Wi(l.data);if(!(!u||u.event!=="ready"))for(var f=n.querySelectorAll("iframe"),p=function(){var $=f[v],T=$.contentWindow===l.source;if(yf($.src)&&T){var x=new Ea($);x.getVideoId().then(function(b){var m=new RegExp("[?&]vimeo_t_".concat(b,"=([^&#]*)")).exec(window.location.href);if(m&&m[1]){var S=decodeURI(m[1]);x.setCurrentTime(S)}}).catch(r)}},v=0;v<f.length;v++)p()}};window.addEventListener("message",i)}}function xy(){var n=function(){for(var a,l=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,f=l.length,p={};u<f;u++)if(a=l[u],a&&a[1]in document){for(u=0;u<a.length;u++)p[l[0][u]]=a[u];return p}return!1}(),r={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},i={request:function(l){return new Promise(function(u,f){var p=function y(){i.off("fullscreenchange",y),u()};i.on("fullscreenchange",p),l=l||document.documentElement;var v=l[n.requestFullscreen]();v instanceof Promise&&v.then(p).catch(f)})},exit:function(){return new Promise(function(l,u){if(!i.isFullscreen){l();return}var f=function v(){i.off("fullscreenchange",v),l()};i.on("fullscreenchange",f);var p=document[n.exitFullscreen]();p instanceof Promise&&p.then(f).catch(u)})},on:function(l,u){var f=r[l];f&&document.addEventListener(f,u)},off:function(l,u){var f=r[l];f&&document.removeEventListener(f,u)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),i}var wy={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},_y=function(n){ty(i,n);var r=iy(i);function i(a,l){var u,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},p=arguments.length>3?arguments[3]:void 0;return hf(this,i),u=r.call(this),$i(ki(u),"logger",void 0),$i(ki(u),"speedAdjustment",0),$i(ki(u),"adjustSpeed",function(){var v=jn(bt().mark(function y($,T){var x;return bt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(u.speedAdjustment!==T){m.next=2;break}return m.abrupt("return");case 2:return m.next=4,$.getPlaybackRate();case 4:return m.t0=m.sent,m.t1=u.speedAdjustment,m.t2=m.t0-m.t1,m.t3=T,x=m.t2+m.t3,u.log("New playbackRate: ".concat(x)),m.next=12,$.setPlaybackRate(x);case 12:u.speedAdjustment=T;case 13:case"end":return m.stop()}},y)}));return function(y,$){return v.apply(this,arguments)}}()),u.logger=p,u.init(l,a,Lu(Lu({},wy),f)),u}return pf(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var a=jn(bt().mark(function u(f,p,v){var y=this,$,T,x;return bt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,this.waitForTOReadyState(f,"open");case 2:if(v.role!=="viewer"){m.next=10;break}return m.next=5,this.updatePlayer(f,p,v);case 5:$=Mu(f,"change",function(){return y.updatePlayer(f,p,v)}),T=this.maintainPlaybackPosition(f,p,v),this.addEventListener("disconnect",function(){T.cancel(),$.cancel()}),m.next=14;break;case 10:return m.next=12,this.updateTimingObject(f,p);case 12:x=Mu(p,["seeked","play","pause","ratechange"],function(){return y.updateTimingObject(f,p)},"on","off"),this.addEventListener("disconnect",function(){return x.cancel()});case 14:case"end":return m.stop()}},u,this)}));function l(u,f,p){return a.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var a=jn(bt().mark(function u(f,p){return bt().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.t0=f,y.next=3,p.getCurrentTime();case 3:return y.t1=y.sent,y.next=6,p.getPaused();case 6:if(!y.sent){y.next=10;break}y.t2=0,y.next=13;break;case 10:return y.next=12,p.getPlaybackRate();case 12:y.t2=y.sent;case 13:y.t3=y.t2,y.t4={position:y.t1,velocity:y.t3},y.t0.update.call(y.t0,y.t4);case 16:case"end":return y.stop()}},u)}));function l(u,f){return a.apply(this,arguments)}return l}()},{key:"updatePlayer",value:function(){var a=jn(bt().mark(function u(f,p,v){var y,$,T;return bt().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(y=f.query(),$=y.position,T=y.velocity,typeof $=="number"&&p.setCurrentTime($),typeof T!="number"){b.next=25;break}if(T!==0){b.next=11;break}return b.next=6,p.getPaused();case 6:if(b.t0=b.sent,b.t0!==!1){b.next=9;break}p.pause();case 9:b.next=25;break;case 11:if(!(T>0)){b.next=25;break}return b.next=14,p.getPaused();case 14:if(b.t1=b.sent,b.t1!==!0){b.next=19;break}return b.next=18,p.play().catch(function(){var m=jn(bt().mark(function S(C){return bt().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(!(C.name==="NotAllowedError"&&v.autoPlayMuted)){L.next=5;break}return L.next=3,p.setMuted(!0);case 3:return L.next=5,p.play().catch(function(A){return console.error("Couldn't play the video from TimingSrcConnector. Error:",A)});case 5:case"end":return L.stop()}},S)}));return function(S){return m.apply(this,arguments)}}());case 18:this.updatePlayer(f,p,v);case 19:return b.next=21,p.getPlaybackRate();case 21:if(b.t2=b.sent,b.t3=T,b.t2===b.t3){b.next=25;break}p.setPlaybackRate(T);case 25:case"end":return b.stop()}},u,this)}));function l(u,f,p){return a.apply(this,arguments)}return l}()},{key:"maintainPlaybackPosition",value:function(l,u,f){var p=this,v=f.allowedDrift,y=f.maxAllowedDrift,$=f.minCheckInterval,T=f.maxRateAdjustment,x=f.maxTimeToCatchUp,b=Math.min(x,Math.max($,y))*1e3,m=function(){var C=jn(bt().mark(function M(){var L,A,O,z,D;return bt().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(q.t0=l.query().velocity===0,q.t0){q.next=6;break}return q.next=4,u.getPaused();case 4:q.t1=q.sent,q.t0=q.t1===!0;case 6:if(!q.t0){q.next=8;break}return q.abrupt("return");case 8:return q.t2=l.query().position,q.next=11,u.getCurrentTime();case 11:if(q.t3=q.sent,L=q.t2-q.t3,A=Math.abs(L),p.log("Drift: ".concat(L)),!(A>y)){q.next=22;break}return q.next=18,p.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),p.log("Resync by currentTime"),q.next=29;break;case 22:if(!(A>v)){q.next=29;break}return O=A/x,z=T,D=O<z?(z-O)/2:z,q.next=28,p.adjustSpeed(u,D*Math.sign(L));case 28:p.log("Resync by playbackRate");case 29:case"end":return q.stop()}},M)}));return function(){return C.apply(this,arguments)}}(),S=setInterval(function(){return m()},b);return{cancel:function(){return clearInterval(S)}}}},{key:"log",value:function(l){var u;(u=this.logger)===null||u===void 0||u.call(this,"TimingSrcConnector: ".concat(l))}},{key:"waitForTOReadyState",value:function(l,u){return new Promise(function(f){var p=function v(){l.readyState===u?f():l.addEventListener("readystatechange",v,{once:!0})};p()})}}]),i}(sa(EventTarget)),rr=new WeakMap,ta=new WeakMap,Tt={},Ea=function(){function n(r){var i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(hf(this,n),window.jQuery&&r instanceof jQuery&&(r.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),r=r[0]),typeof document<"u"&&typeof r=="string"&&(r=document.getElementById(r)),!ay(r))throw new TypeError("You must pass either a valid element or a valid id.");if(r.nodeName!=="IFRAME"){var l=r.querySelector("iframe");l&&(r=l)}if(r.nodeName==="IFRAME"&&!Pn(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(rr.has(r))return rr.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Vt(function(p,v){if(i._onMessage=function(T){if(!(!Pn(T.origin)||i.element.contentWindow!==T.source)){i.origin==="*"&&(i.origin=T.origin);var x=Wi(T.data),b=x&&x.event==="error",m=b&&x.data&&x.data.method==="ready";if(m){var S=new Error(x.data.message);S.name=x.data.name,v(S);return}var C=x&&x.event==="ready",M=x&&x.method==="ping";if(C||M){i.element.setAttribute("data-ready","true"),p();return}py(i,x)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var y=xf(r,a),$=bf(y);wf($,y,r).then(function(T){var x=Sa(T,r);return i.element=x,i._originalElement=r,hy(r,x),rr.set(i.element,i),T}).catch(v)}});if(ta.set(this,u),rr.set(this.element,this),this.element.nodeName==="IFRAME"&&zn(this,"ping"),Tt.isEnabled){var f=function(){return Tt.exit()};this.fullscreenchangeHandler=function(){Tt.isFullscreen?Sr(i,"event:exitFullscreen",f):Oi(i,"event:exitFullscreen",f),i.ready().then(function(){zn(i,"fullscreenchange",Tt.isFullscreen)})},Tt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return pf(n,[{key:"callMethod",value:function(i){for(var a=this,l=arguments.length,u=new Array(l>1?l-1:0),f=1;f<l;f++)u[f-1]=arguments[f];if(i==null)throw new TypeError("You must pass a method name.");return new Vt(function(p,v){return a.ready().then(function(){Sr(a,i,{resolve:p,reject:v}),zn(a,i,u)}).catch(v)})}},{key:"get",value:function(i){var a=this;return new Vt(function(l,u){return i=Iu(i,"get"),a.ready().then(function(){Sr(a,i,{resolve:l,reject:u}),zn(a,i)}).catch(u)})}},{key:"set",value:function(i,a){var l=this;return new Vt(function(u,f){if(i=Iu(i,"set"),a==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){Sr(l,i,{resolve:u,reject:f}),zn(l,i,a)}).catch(f)})}},{key:"on",value:function(i,a){if(!i)throw new TypeError("You must pass an event name.");if(!a)throw new TypeError("You must pass a callback function.");if(typeof a!="function")throw new TypeError("The callback must be a function.");var l=Li(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),Sr(this,"event:".concat(i),a)}},{key:"off",value:function(i,a){if(!i)throw new TypeError("You must pass an event name.");if(a&&typeof a!="function")throw new TypeError("The callback must be a function.");var l=Oi(this,"event:".concat(i),a);l&&this.callMethod("removeEventListener",i).catch(function(u){})}},{key:"loadVideo",value:function(i){return this.callMethod("loadVideo",i)}},{key:"ready",value:function(){var i=ta.get(this)||new Vt(function(a,l){l(new Error("Unknown player. Probably unloaded."))});return Vt.resolve(i)}},{key:"addCuePoint",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:i,data:a})}},{key:"removeCuePoint",value:function(i){return this.callMethod("removeCuePoint",i)}},{key:"enableTextTrack",value:function(i,a){if(!i)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:i,kind:a})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Tt.isEnabled?Tt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Tt.isEnabled?Tt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Tt.isEnabled?Vt.resolve(Tt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var i=this;return new Vt(function(a){if(ta.delete(i),rr.delete(i.element),i._originalElement&&(rr.delete(i._originalElement),i._originalElement.removeAttribute("data-vimeo-initialized")),i.element&&i.element.nodeName==="IFRAME"&&i.element.parentNode&&(i.element.parentNode.parentNode&&i._originalElement&&i._originalElement!==i.element.parentNode?i.element.parentNode.parentNode.removeChild(i.element.parentNode):i.element.parentNode.removeChild(i.element)),i.element&&i.element.nodeName==="DIV"&&i.element.parentNode){i.element.removeAttribute("data-vimeo-initialized");var l=i.element.querySelector("iframe");l&&l.parentNode&&(l.parentNode.parentNode&&i._originalElement&&i._originalElement!==l.parentNode?l.parentNode.parentNode.removeChild(l.parentNode):l.parentNode.removeChild(l))}i._window.removeEventListener("message",i._onMessage),Tt.isEnabled&&Tt.off("fullscreenchange",i.fullscreenchangeHandler),a()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(i){return this.set("autopause",i)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(i){return this.set("cameraProps",i)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return Vt.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(i){return this.set("color",i)}},{key:"setColors",value:function(i){if(!Array.isArray(i))return new Vt(function(u,f){return f(new TypeError("Argument must be an array."))});var a=new Vt(function(u){return u(null)}),l=[i[0]?this.set("colorOne",i[0]):a,i[1]?this.set("colorTwo",i[1]):a,i[2]?this.set("colorThree",i[2]):a,i[3]?this.set("colorFour",i[3]):a];return Vt.all(l)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(i){return this.set("currentTime",i)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(i){return this.set("loop",i)}},{key:"setMuted",value:function(i){return this.set("muted",i)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(i){return this.set("playbackRate",i)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(i){return this.set("quality",i)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(i){return this.set("volume",i)}},{key:"setTimingSrc",value:function(){var r=jn(bt().mark(function a(l,u){var f=this,p;return bt().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(l){y.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return y.next=4,this.ready();case 4:return p=new _y(this,l,u),zn(this,"notifyTimingObjectConnect"),p.addEventListener("disconnect",function(){return zn(f,"notifyTimingObjectDisconnect")}),y.abrupt("return",p);case 8:case"end":return y.stop()}},a,this)}));function i(a,l){return r.apply(this,arguments)}return i}()}]),n}();vf||(Tt=xy(),my(),vy(),yy(),by());const Cy=(n,r,i,a)=>({id:parseInt(n,10),width:typeof r=="number"?r:void 0,height:typeof i=="number"?i:void 0,...a}),Sy=async(n,r)=>{if(n)try{const i=[];typeof r.loop=="boolean"&&i.push(n.getLoop().then(a=>{if(a!==r.loop)return n.setLoop(r.loop)})),r.color&&i.push(n.getColor().then(a=>{if(a!==r.color)return n.setColor(r.color)})),typeof r.muted=="boolean"&&i.push(n.getMuted().then(a=>{if(a!==r.muted)return n.setMuted(r.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},Ey=n=>({ready:n.onReady,play:n.onPlay,pause:n.onPlayerPause,ended:n.onEnd,timeupdate:n.onTimeUpdate?r=>{var i;(i=n.onTimeUpdate)==null||i.call(n,r.seconds)}:void 0,progress:n.onProgress?r=>{var i;(i=n.onProgress)==null||i.call(n,r.percent)}:void 0,seeking:n.onSeeking,seeked:n.onSeeked,error:n.onPlayerError}),Ay=n=>{var i,a;const r=_e();return d.useMemo(()=>{var u,f;return{...(u=r.__hd__.vimeo)==null?void 0:u.playerSettings,...n,color:(n==null?void 0:n.color)||((f=r.__hd__.vimeo)==null?void 0:f.defaultAccentColor)||"#00adef"}},[(i=r.__hd__.vimeo)==null?void 0:i.playerSettings,(a=r.__hd__.vimeo)==null?void 0:a.defaultAccentColor,n])},$y=(n,r,i,a,l)=>{const u=d.useRef(null);return d.useEffect(()=>n.current?((async()=>{try{const p=Cy(r,i,a,l);n.current&&(u.current=new Ea(n.current,p),setTimeout(()=>{Sy(u.current,l)},100))}catch(p){console.error("Failed to initialize Vimeo player:",p)}})(),()=>{u.current&&(u.current.destroy(),u.current=null)}):void 0,[r,i,a]),u},Ty=(n,r)=>{d.useEffect(()=>{if(!n.current||!r)return;const i=n.current,a=Ey(r);return Object.entries(a).forEach(([l,u])=>{u&&i.on(l,u)}),()=>{n.current&&Object.entries(a).forEach(([l,u])=>{if(u)try{n.current.off(l,u)}catch{}})}},[n,r])},ky=ie.div`
252
+ */(function(i,a,l){a[i]=a[i]||l(),n.exports&&(n.exports=a[i])})("Promise",sr,function(){var i,a,l,u=Object.prototype.toString,f=typeof setImmediate<"u"?function(A){return setImmediate(A)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(A,O,F,W){return Object.defineProperty(A,O,{value:F,writable:!0,configurable:W!==!1})}}catch{i=function(O,F,W){return O[F]=W,O}}l=function(){var A,O,F;function W(N,q){this.fn=N,this.self=q,this.next=void 0}return{add:function(q,fe){F=new W(q,fe),O?O.next=F:A=F,O=F,F=void 0},drain:function(){var q=A;for(A=O=a=void 0;q;)q.fn.call(q.self),q=q.next}}}();function h(L,A){l.add(L,A),a||(a=f(l.drain))}function b(L){var A,O=typeof L;return L!=null&&(O=="object"||O=="function")&&(A=L.then),typeof A=="function"?A:!1}function y(){for(var L=0;L<this.chain.length;L++)$(this,this.state===1?this.chain[L].success:this.chain[L].failure,this.chain[L]);this.chain.length=0}function $(L,A,O){var F,W;try{A===!1?O.reject(L.msg):(A===!0?F=L.msg:F=A.call(void 0,L.msg),F===O.promise?O.reject(TypeError("Promise-chain cycle")):(W=b(F))?W.call(F,O.resolve,O.reject):O.resolve(F))}catch(N){O.reject(N)}}function T(L){var A,O=this;if(!O.triggered){O.triggered=!0,O.def&&(O=O.def);try{(A=b(L))?h(function(){var F=new m(O);try{A.call(L,function(){T.apply(F,arguments)},function(){x.apply(F,arguments)})}catch(W){x.call(F,W)}}):(O.msg=L,O.state=1,O.chain.length>0&&h(y,O))}catch(F){x.call(new m(O),F)}}}function x(L){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=L,A.state=2,A.chain.length>0&&h(y,A))}function v(L,A,O,F){for(var W=0;W<A.length;W++)(function(q){L.resolve(A[q]).then(function(ye){O(q,ye)},F)})(W)}function m(L){this.def=L,this.triggered=!1}function S(L){this.promise=L,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function C(L){if(typeof L!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var A=new S(this);this.then=function(F,W){var N={success:typeof F=="function"?F:!0,failure:typeof W=="function"?W:!1};return N.promise=new this.constructor(function(fe,ye){if(typeof fe!="function"||typeof ye!="function")throw TypeError("Not a function");N.resolve=fe,N.reject=ye}),A.chain.push(N),A.state!==0&&h(y,A),N.promise},this.catch=function(F){return this.then(void 0,F)};try{L.call(void 0,function(F){T.call(A,F)},function(F){x.call(A,F)})}catch(O){x.call(A,O)}}var M=i({},"constructor",C,!1);return C.prototype=M,i(M,"__NPO__",0,!1),i(C,"resolve",function(A){var O=this;return A&&typeof A=="object"&&A.__NPO__===1?A:new O(function(W,N){if(typeof W!="function"||typeof N!="function")throw TypeError("Not a function");W(A)})}),i(C,"reject",function(A){return new this(function(F,W){if(typeof F!="function"||typeof W!="function")throw TypeError("Not a function");W(A)})}),i(C,"all",function(A){var O=this;return u.call(A)!="[object Array]"?O.reject(TypeError("Not an array")):A.length===0?O.resolve([]):new O(function(W,N){if(typeof W!="function"||typeof N!="function")throw TypeError("Not a function");var q=A.length,fe=Array(q),ye=0;v(O,A,function(D,j){fe[D]=j,++ye===q&&W(fe)},N)})}),i(C,"race",function(A){var O=this;return u.call(A)!="[object Array]"?O.reject(TypeError("Not an array")):new O(function(W,N){if(typeof W!="function"||typeof N!="function")throw TypeError("Not a function");v(O,A,function(fe,ye){W(ye)},N)})}),C})}),dn=new WeakMap;function Sr(n,r,i){var a=dn.get(n.element)||{};r in a||(a[r]=[]),a[r].push(i),dn.set(n.element,a)}function Li(n,r){var i=dn.get(n.element)||{};return i[r]||[]}function Oi(n,r,i){var a=dn.get(n.element)||{};if(!a[r])return!0;if(!i)return a[r]=[],dn.set(n.element,a),!0;var l=a[r].indexOf(i);return l!==-1&&a[r].splice(l,1),dn.set(n.element,a),a[r]&&a[r].length===0}function dy(n,r){var i=Li(n,r);if(i.length<1)return!1;var a=i.shift();return Oi(n,r,a),a}function hy(n,r){var i=dn.get(n);dn.set(r,i),dn.delete(n)}function Wi(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(r){return console.warn(r),{}}return n}function zn(n,r,i){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var a={method:r};i!==void 0&&(a.value=i);var l=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));l>=8&&l<10&&(a=JSON.stringify(a)),n.element.contentWindow.postMessage(a,n.origin)}}function py(n,r){r=Wi(r);var i=[],a;if(r.event){if(r.event==="error"){var l=Li(n,r.data.method);l.forEach(function(f){var h=new Error(r.data.message);h.name=r.data.name,f.reject(h),Oi(n,r.data.method,f)})}i=Li(n,"event:".concat(r.event)),a=r.data}else if(r.method){var u=dy(n,r.method);u&&(i.push(u),a=r.value)}i.forEach(function(f){try{if(typeof f=="function"){f.call(n,a);return}f.resolve(a)}catch{}})}var gy=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function xf(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return gy.reduce(function(i,a){var l=n.getAttribute("data-vimeo-".concat(a));return(l||l==="")&&(i[a]=l===""?1:l),i},r)}function Sa(n,r){var i=n.html;if(!r)throw new TypeError("An element must be provided");if(r.getAttribute("data-vimeo-initialized")!==null)return r.querySelector("iframe");var a=document.createElement("div");return a.innerHTML=i,r.appendChild(a.firstChild),r.setAttribute("data-vimeo-initialized","true"),r.querySelector("iframe")}function wf(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(a,l){if(!Wn(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var u=ly(n),f="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var h in r)r.hasOwnProperty(h)&&(f+="&".concat(h,"=").concat(encodeURIComponent(r[h])));var b="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;b.open("GET",f,!0),b.onload=function(){if(b.status===404){l(new Error("“".concat(n,"” was not found.")));return}if(b.status===403){l(new Error("“".concat(n,"” is not embeddable.")));return}try{var y=JSON.parse(b.responseText);if(y.domain_status_code===403){Sa(y,i),l(new Error("“".concat(n,"” is not embeddable.")));return}a(y)}catch($){l($)}},b.onerror=function(){var y=b.status?" (".concat(b.status,")"):"";l(new Error("There was an error fetching the embed code from Vimeo".concat(y,".")))},b.send()})}function my(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(l){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(l))};r.forEach(function(a){try{if(a.getAttribute("data-vimeo-defer")!==null)return;var l=xf(a),u=bf(l);wf(u,l,a).then(function(f){return Sa(f,a)}).catch(i)}catch(f){i(f)}})}function vy(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var r=function(a){if(Wn(a.origin)&&!(!a.data||a.data.event!=="spacechange")){for(var l=n.querySelectorAll("iframe"),u=0;u<l.length;u++)if(l[u].contentWindow===a.source){var f=l[u].parentElement;f.style.paddingBottom="".concat(a.data.data[0].bottom,"px");break}}};window.addEventListener("message",r)}}function yy(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var r=function(a){if(Wn(a.origin)){var l=Wi(a.data);if(!(!l||l.event!=="ready"))for(var u=n.querySelectorAll("iframe"),f=0;f<u.length;f++){var h=u[f],b=h.contentWindow===a.source;if(yf(h.src)&&b){var y=new Ea(h);y.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",r)}}function by(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var r=function(l){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(l))},i=function(l){if(Wn(l.origin)){var u=Wi(l.data);if(!(!u||u.event!=="ready"))for(var f=n.querySelectorAll("iframe"),h=function(){var $=f[b],T=$.contentWindow===l.source;if(yf($.src)&&T){var x=new Ea($);x.getVideoId().then(function(v){var m=new RegExp("[?&]vimeo_t_".concat(v,"=([^&#]*)")).exec(window.location.href);if(m&&m[1]){var S=decodeURI(m[1]);x.setCurrentTime(S)}}).catch(r)}},b=0;b<f.length;b++)h()}};window.addEventListener("message",i)}}function xy(){var n=function(){for(var a,l=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,f=l.length,h={};u<f;u++)if(a=l[u],a&&a[1]in document){for(u=0;u<a.length;u++)h[l[0][u]]=a[u];return h}return!1}(),r={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},i={request:function(l){return new Promise(function(u,f){var h=function y(){i.off("fullscreenchange",y),u()};i.on("fullscreenchange",h),l=l||document.documentElement;var b=l[n.requestFullscreen]();b instanceof Promise&&b.then(h).catch(f)})},exit:function(){return new Promise(function(l,u){if(!i.isFullscreen){l();return}var f=function b(){i.off("fullscreenchange",b),l()};i.on("fullscreenchange",f);var h=document[n.exitFullscreen]();h instanceof Promise&&h.then(f).catch(u)})},on:function(l,u){var f=r[l];f&&document.addEventListener(f,u)},off:function(l,u){var f=r[l];f&&document.removeEventListener(f,u)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),i}var wy={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},_y=function(n){ty(i,n);var r=iy(i);function i(a,l){var u,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=arguments.length>3?arguments[3]:void 0;return hf(this,i),u=r.call(this),$i(ki(u),"logger",void 0),$i(ki(u),"speedAdjustment",0),$i(ki(u),"adjustSpeed",function(){var b=jn(xt().mark(function y($,T){var x;return xt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(u.speedAdjustment!==T){m.next=2;break}return m.abrupt("return");case 2:return m.next=4,$.getPlaybackRate();case 4:return m.t0=m.sent,m.t1=u.speedAdjustment,m.t2=m.t0-m.t1,m.t3=T,x=m.t2+m.t3,u.log("New playbackRate: ".concat(x)),m.next=12,$.setPlaybackRate(x);case 12:u.speedAdjustment=T;case 13:case"end":return m.stop()}},y)}));return function(y,$){return b.apply(this,arguments)}}()),u.logger=h,u.init(l,a,Lu(Lu({},wy),f)),u}return pf(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var a=jn(xt().mark(function u(f,h,b){var y=this,$,T,x;return xt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,this.waitForTOReadyState(f,"open");case 2:if(b.role!=="viewer"){m.next=10;break}return m.next=5,this.updatePlayer(f,h,b);case 5:$=Mu(f,"change",function(){return y.updatePlayer(f,h,b)}),T=this.maintainPlaybackPosition(f,h,b),this.addEventListener("disconnect",function(){T.cancel(),$.cancel()}),m.next=14;break;case 10:return m.next=12,this.updateTimingObject(f,h);case 12:x=Mu(h,["seeked","play","pause","ratechange"],function(){return y.updateTimingObject(f,h)},"on","off"),this.addEventListener("disconnect",function(){return x.cancel()});case 14:case"end":return m.stop()}},u,this)}));function l(u,f,h){return a.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var a=jn(xt().mark(function u(f,h){return xt().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.t0=f,y.next=3,h.getCurrentTime();case 3:return y.t1=y.sent,y.next=6,h.getPaused();case 6:if(!y.sent){y.next=10;break}y.t2=0,y.next=13;break;case 10:return y.next=12,h.getPlaybackRate();case 12:y.t2=y.sent;case 13:y.t3=y.t2,y.t4={position:y.t1,velocity:y.t3},y.t0.update.call(y.t0,y.t4);case 16:case"end":return y.stop()}},u)}));function l(u,f){return a.apply(this,arguments)}return l}()},{key:"updatePlayer",value:function(){var a=jn(xt().mark(function u(f,h,b){var y,$,T;return xt().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(y=f.query(),$=y.position,T=y.velocity,typeof $=="number"&&h.setCurrentTime($),typeof T!="number"){v.next=25;break}if(T!==0){v.next=11;break}return v.next=6,h.getPaused();case 6:if(v.t0=v.sent,v.t0!==!1){v.next=9;break}h.pause();case 9:v.next=25;break;case 11:if(!(T>0)){v.next=25;break}return v.next=14,h.getPaused();case 14:if(v.t1=v.sent,v.t1!==!0){v.next=19;break}return v.next=18,h.play().catch(function(){var m=jn(xt().mark(function S(C){return xt().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(!(C.name==="NotAllowedError"&&b.autoPlayMuted)){L.next=5;break}return L.next=3,h.setMuted(!0);case 3:return L.next=5,h.play().catch(function(A){return console.error("Couldn't play the video from TimingSrcConnector. Error:",A)});case 5:case"end":return L.stop()}},S)}));return function(S){return m.apply(this,arguments)}}());case 18:this.updatePlayer(f,h,b);case 19:return v.next=21,h.getPlaybackRate();case 21:if(v.t2=v.sent,v.t3=T,v.t2===v.t3){v.next=25;break}h.setPlaybackRate(T);case 25:case"end":return v.stop()}},u,this)}));function l(u,f,h){return a.apply(this,arguments)}return l}()},{key:"maintainPlaybackPosition",value:function(l,u,f){var h=this,b=f.allowedDrift,y=f.maxAllowedDrift,$=f.minCheckInterval,T=f.maxRateAdjustment,x=f.maxTimeToCatchUp,v=Math.min(x,Math.max($,y))*1e3,m=function(){var C=jn(xt().mark(function M(){var L,A,O,F,W;return xt().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(q.t0=l.query().velocity===0,q.t0){q.next=6;break}return q.next=4,u.getPaused();case 4:q.t1=q.sent,q.t0=q.t1===!0;case 6:if(!q.t0){q.next=8;break}return q.abrupt("return");case 8:return q.t2=l.query().position,q.next=11,u.getCurrentTime();case 11:if(q.t3=q.sent,L=q.t2-q.t3,A=Math.abs(L),h.log("Drift: ".concat(L)),!(A>y)){q.next=22;break}return q.next=18,h.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),h.log("Resync by currentTime"),q.next=29;break;case 22:if(!(A>b)){q.next=29;break}return O=A/x,F=T,W=O<F?(F-O)/2:F,q.next=28,h.adjustSpeed(u,W*Math.sign(L));case 28:h.log("Resync by playbackRate");case 29:case"end":return q.stop()}},M)}));return function(){return C.apply(this,arguments)}}(),S=setInterval(function(){return m()},v);return{cancel:function(){return clearInterval(S)}}}},{key:"log",value:function(l){var u;(u=this.logger)===null||u===void 0||u.call(this,"TimingSrcConnector: ".concat(l))}},{key:"waitForTOReadyState",value:function(l,u){return new Promise(function(f){var h=function b(){l.readyState===u?f():l.addEventListener("readystatechange",b,{once:!0})};h()})}}]),i}(sa(EventTarget)),ir=new WeakMap,ta=new WeakMap,Tt={},Ea=function(){function n(r){var i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(hf(this,n),window.jQuery&&r instanceof jQuery&&(r.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),r=r[0]),typeof document<"u"&&typeof r=="string"&&(r=document.getElementById(r)),!ay(r))throw new TypeError("You must pass either a valid element or a valid id.");if(r.nodeName!=="IFRAME"){var l=r.querySelector("iframe");l&&(r=l)}if(r.nodeName==="IFRAME"&&!Wn(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(ir.has(r))return ir.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Vt(function(h,b){if(i._onMessage=function(T){if(!(!Wn(T.origin)||i.element.contentWindow!==T.source)){i.origin==="*"&&(i.origin=T.origin);var x=Wi(T.data),v=x&&x.event==="error",m=v&&x.data&&x.data.method==="ready";if(m){var S=new Error(x.data.message);S.name=x.data.name,b(S);return}var C=x&&x.event==="ready",M=x&&x.method==="ping";if(C||M){i.element.setAttribute("data-ready","true"),h();return}py(i,x)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var y=xf(r,a),$=bf(y);wf($,y,r).then(function(T){var x=Sa(T,r);return i.element=x,i._originalElement=r,hy(r,x),ir.set(i.element,i),T}).catch(b)}});if(ta.set(this,u),ir.set(this.element,this),this.element.nodeName==="IFRAME"&&zn(this,"ping"),Tt.isEnabled){var f=function(){return Tt.exit()};this.fullscreenchangeHandler=function(){Tt.isFullscreen?Sr(i,"event:exitFullscreen",f):Oi(i,"event:exitFullscreen",f),i.ready().then(function(){zn(i,"fullscreenchange",Tt.isFullscreen)})},Tt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return pf(n,[{key:"callMethod",value:function(i){for(var a=this,l=arguments.length,u=new Array(l>1?l-1:0),f=1;f<l;f++)u[f-1]=arguments[f];if(i==null)throw new TypeError("You must pass a method name.");return new Vt(function(h,b){return a.ready().then(function(){Sr(a,i,{resolve:h,reject:b}),zn(a,i,u)}).catch(b)})}},{key:"get",value:function(i){var a=this;return new Vt(function(l,u){return i=Iu(i,"get"),a.ready().then(function(){Sr(a,i,{resolve:l,reject:u}),zn(a,i)}).catch(u)})}},{key:"set",value:function(i,a){var l=this;return new Vt(function(u,f){if(i=Iu(i,"set"),a==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){Sr(l,i,{resolve:u,reject:f}),zn(l,i,a)}).catch(f)})}},{key:"on",value:function(i,a){if(!i)throw new TypeError("You must pass an event name.");if(!a)throw new TypeError("You must pass a callback function.");if(typeof a!="function")throw new TypeError("The callback must be a function.");var l=Li(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),Sr(this,"event:".concat(i),a)}},{key:"off",value:function(i,a){if(!i)throw new TypeError("You must pass an event name.");if(a&&typeof a!="function")throw new TypeError("The callback must be a function.");var l=Oi(this,"event:".concat(i),a);l&&this.callMethod("removeEventListener",i).catch(function(u){})}},{key:"loadVideo",value:function(i){return this.callMethod("loadVideo",i)}},{key:"ready",value:function(){var i=ta.get(this)||new Vt(function(a,l){l(new Error("Unknown player. Probably unloaded."))});return Vt.resolve(i)}},{key:"addCuePoint",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:i,data:a})}},{key:"removeCuePoint",value:function(i){return this.callMethod("removeCuePoint",i)}},{key:"enableTextTrack",value:function(i,a){if(!i)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:i,kind:a})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Tt.isEnabled?Tt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Tt.isEnabled?Tt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Tt.isEnabled?Vt.resolve(Tt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var i=this;return new Vt(function(a){if(ta.delete(i),ir.delete(i.element),i._originalElement&&(ir.delete(i._originalElement),i._originalElement.removeAttribute("data-vimeo-initialized")),i.element&&i.element.nodeName==="IFRAME"&&i.element.parentNode&&(i.element.parentNode.parentNode&&i._originalElement&&i._originalElement!==i.element.parentNode?i.element.parentNode.parentNode.removeChild(i.element.parentNode):i.element.parentNode.removeChild(i.element)),i.element&&i.element.nodeName==="DIV"&&i.element.parentNode){i.element.removeAttribute("data-vimeo-initialized");var l=i.element.querySelector("iframe");l&&l.parentNode&&(l.parentNode.parentNode&&i._originalElement&&i._originalElement!==l.parentNode?l.parentNode.parentNode.removeChild(l.parentNode):l.parentNode.removeChild(l))}i._window.removeEventListener("message",i._onMessage),Tt.isEnabled&&Tt.off("fullscreenchange",i.fullscreenchangeHandler),a()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(i){return this.set("autopause",i)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(i){return this.set("cameraProps",i)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return Vt.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(i){return this.set("color",i)}},{key:"setColors",value:function(i){if(!Array.isArray(i))return new Vt(function(u,f){return f(new TypeError("Argument must be an array."))});var a=new Vt(function(u){return u(null)}),l=[i[0]?this.set("colorOne",i[0]):a,i[1]?this.set("colorTwo",i[1]):a,i[2]?this.set("colorThree",i[2]):a,i[3]?this.set("colorFour",i[3]):a];return Vt.all(l)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(i){return this.set("currentTime",i)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(i){return this.set("loop",i)}},{key:"setMuted",value:function(i){return this.set("muted",i)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(i){return this.set("playbackRate",i)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(i){return this.set("quality",i)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(i){return this.set("volume",i)}},{key:"setTimingSrc",value:function(){var r=jn(xt().mark(function a(l,u){var f=this,h;return xt().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(l){y.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return y.next=4,this.ready();case 4:return h=new _y(this,l,u),zn(this,"notifyTimingObjectConnect"),h.addEventListener("disconnect",function(){return zn(f,"notifyTimingObjectDisconnect")}),y.abrupt("return",h);case 8:case"end":return y.stop()}},a,this)}));function i(a,l){return r.apply(this,arguments)}return i}()}]),n}();vf||(Tt=xy(),my(),vy(),yy(),by());const Cy=(n,r,i,a)=>({id:parseInt(n,10),width:typeof r=="number"?r:void 0,height:typeof i=="number"?i:void 0,...a}),Sy=async(n,r)=>{if(n)try{const i=[];typeof r.loop=="boolean"&&i.push(n.getLoop().then(a=>{if(a!==r.loop)return n.setLoop(r.loop)})),r.color&&i.push(n.getColor().then(a=>{if(a!==r.color)return n.setColor(r.color)})),typeof r.muted=="boolean"&&i.push(n.getMuted().then(a=>{if(a!==r.muted)return n.setMuted(r.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},Ey=n=>({ready:n.onReady,play:n.onPlay,pause:n.onPlayerPause,ended:n.onEnd,timeupdate:n.onTimeUpdate?r=>{var i;(i=n.onTimeUpdate)==null||i.call(n,r.seconds)}:void 0,progress:n.onProgress?r=>{var i;(i=n.onProgress)==null||i.call(n,r.percent)}:void 0,seeking:n.onSeeking,seeked:n.onSeeked,error:n.onPlayerError}),Ay=n=>{var i,a;const r=Ce();return d.useMemo(()=>{var u,f;return{...(u=r.__hd__.vimeo)==null?void 0:u.playerSettings,...n,color:(n==null?void 0:n.color)||((f=r.__hd__.vimeo)==null?void 0:f.defaultAccentColor)||"#00adef"}},[(i=r.__hd__.vimeo)==null?void 0:i.playerSettings,(a=r.__hd__.vimeo)==null?void 0:a.defaultAccentColor,n])},$y=(n,r,i,a,l)=>{const u=d.useRef(null);return d.useEffect(()=>n.current?((async()=>{try{const h=Cy(r,i,a,l);n.current&&(u.current=new Ea(n.current,h),setTimeout(()=>{Sy(u.current,l)},100))}catch(h){console.error("Failed to initialize Vimeo player:",h)}})(),()=>{u.current&&(u.current.destroy(),u.current=null)}):void 0,[r,i,a]),u},Ty=(n,r)=>{d.useEffect(()=>{if(!n.current||!r)return;const i=n.current,a=Ey(r);return Object.entries(a).forEach(([l,u])=>{u&&i.on(l,u)}),()=>{n.current&&Object.entries(a).forEach(([l,u])=>{if(u)try{n.current.off(l,u)}catch{}})}},[n,r])},ky=oe.div`
253
253
  position: relative;
254
254
  width: 100%;
255
255
  height: 100%;
256
256
  overflow: hidden;
257
- `,Ry=ie.div`
257
+ `,Ry=oe.div`
258
258
  position: relative;
259
259
  padding-bottom: ${({$aspectRatio:n})=>`${n}%`};
260
260
  height: 0;
261
261
  overflow: hidden;
262
- `,Ly=ie.div`
262
+ `,Ly=oe.div`
263
263
  position: absolute;
264
264
  top: 0;
265
265
  left: 0;
266
266
  width: 100%;
267
267
  height: 100%;
268
- `,Oy=({videoId:n,width:r="100%",height:i="auto",config:a,callbacks:l})=>{var x;const u=_e(),f=d.useRef(null),[p]=d.useState(`vimeo-player-${Math.random().toString(36).substr(2,9)}`),v=i==="auto",y=((x=u.__hd__.vimeo)==null?void 0:x.aspectRatio)||56.25,$=Ay(a),T=$y(f,n,r,i,$);return Ty(T,l),v?w.jsx(Ry,{$aspectRatio:y,children:w.jsx(Ly,{ref:f,id:p})}):w.jsx(ky,{style:{width:r,height:i},children:w.jsx("div",{ref:f,id:p,style:{width:"100%",height:"100%"}})})},Iy={color:"#00adef",autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,dnt:!0,playsinline:!0,background:!1,controls:!0,pip:!1,responsive:!0,width:"100%"},My="https://player.vimeo.com",Fy=({videoId:n,playerWidth:r,playerHeight:i,config:a,callbacks:l,...u})=>w.jsx(G,{overflow:"hidden",...u,children:w.jsx(Oy,{videoId:n,width:r,height:i,config:a,callbacks:l})});function Fu({item:n,index:r,renderItem:i}){return w.jsx(G,{flexShrink:0,children:i({item:n,index:r,isFocused:!0})})}function _i({item:n,index:r,isFocused:i,renderItem:a,itemsPerView:l,itemWidth:u}){const f=Ie.isNil(l)?void 0:`0 0 ${100/l}%`;return w.jsx(G,{flex:Ie.isNil(u)?f:void 0,width:u,overflow:"hidden",children:a({item:n,index:r,isFocused:i})})}const zy=/^(\d+|\d*\.\d+)(px)$/,jy=(n,r)=>{if(typeof r=="string"){if(Bn(r))return n.sizes[r];if(zy.test(r))return parseInt(r.replace("px",""),10);throw new Error("Invalid itemWidth, must be a Size or a number or a valid pixel value")}return r},na=(n,r,i,a)=>{if(a)return`calc(-${n} * (${a}px + ${i}px))`;const l=n*(100/r),u=n*i;return`calc(-${l}% - ${u}px)`},ir=(n,r,i,a)=>a?`${a(n,r)}${i||""}`:`carousel-item-${r}${i||""}`,By=En`
268
+ `,Oy=({videoId:n,width:r="100%",height:i="auto",config:a,callbacks:l})=>{var x;const u=Ce(),f=d.useRef(null),[h]=d.useState(`vimeo-player-${Math.random().toString(36).substr(2,9)}`),b=i==="auto",y=((x=u.__hd__.vimeo)==null?void 0:x.aspectRatio)||56.25,$=Ay(a),T=$y(f,n,r,i,$);return Ty(T,l),b?w.jsx(Ry,{$aspectRatio:y,children:w.jsx(Ly,{ref:f,id:h})}):w.jsx(ky,{style:{width:r,height:i},children:w.jsx("div",{ref:f,id:h,style:{width:"100%",height:"100%"}})})},Iy={color:"#00adef",autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,dnt:!0,playsinline:!0,background:!1,controls:!0,pip:!1,responsive:!0,width:"100%"},My="https://player.vimeo.com",Fy=({videoId:n,playerWidth:r,playerHeight:i,config:a,callbacks:l,...u})=>w.jsx(G,{overflow:"hidden",...u,children:w.jsx(Oy,{videoId:n,width:r,height:i,config:a,callbacks:l})});function Fu({item:n,index:r,renderItem:i}){return w.jsx(G,{flexShrink:0,children:i({item:n,index:r,isFocused:!0})})}function _i({item:n,index:r,isFocused:i,renderItem:a,itemsPerView:l,itemWidth:u}){const f=Fe.isNil(l)?void 0:`0 0 ${100/l}%`;return w.jsx(G,{flex:Fe.isNil(u)?f:void 0,width:u,overflow:"hidden",children:a({item:n,index:r,isFocused:i})})}const zy=/^(\d+|\d*\.\d+)(px)$/,jy=(n,r)=>{if(typeof r=="string"){if(Bn(r))return n.sizes[r];if(zy.test(r))return parseInt(r.replace("px",""),10);throw new Error("Invalid itemWidth, must be a Size or a number or a valid pixel value")}return r},na=(n,r,i,a)=>{if(a)return`calc(-${n} * (${a}px + ${i}px))`;const l=n*(100/r),u=n*i;return`calc(-${l}% - ${u}px)`},or=(n,r,i,a)=>a?`${a(n,r)}${i||""}`:`carousel-item-${r}${i||""}`,By=En`
269
269
  0% { transform: translateX(0); }
270
270
  100% { transform: translateX(-50%); } /* Scroll one full set of items */
271
- `,Py=ie(G)`
271
+ `,Py=oe(G)`
272
272
  display: flex;
273
273
  align-items: stretch; // Use stretch to ensure items fill height if needed
274
274
  gap: ${({$itemSpacing:n})=>n||0}px;
@@ -276,19 +276,19 @@ function print() { __p += __j.call(arguments, '') }
276
276
  transition: ${({$autoScroll:n})=>n?"none":"transform 0.5s ease-in-out"};
277
277
 
278
278
  /* Apply animation conditionally using the css helper */
279
- animation: ${({$autoScroll:n,$scrollDuration:r})=>n?Je`${By} ${r}s linear infinite`:"none"};
280
- `;function Wy({itemSpacing:n,itemsWrapperRef:r,items:i,renderItem:a,keyExtractor:l,autoScroll:u,activeIndex:f,virtualActiveIndex:p,itemsPerView:v=1,itemWidth:y,infiniteLoop:$=!1}){const T=_e(),b=T.__hd__.carousel.autoScroll,m=typeof u=="object"&&u.speed||b.defaultSpeed,S=d.useMemo(()=>{if(i.length<=v)return i;const z=i.length%v;return z===0?i:i.slice(0,i.length-z)},[i,v]),C=u?S.length*(m/5):0,M=T.spaces[n||T.__hd__.carousel.container.defaultItemSpacing]||0,L=$&&!u&&S.length>1,A=d.useMemo(()=>{if(y)return y*v+M*(v-1)},[y,v,M]),O=d.useMemo(()=>{if(u)return w.jsxs(w.Fragment,{children:[S.map((z,D)=>w.jsx(Fu,{item:z,index:D,renderItem:a},ir(z,D,"-auto-scroll",l))),S.map((z,D)=>w.jsx(Fu,{item:z,index:D+S.length,renderItem:a},ir(z,D,"-duplicate",l)))]});if(L){const z=D=>{const H=p-S.length;return D>=H&&D<H+v};return w.jsxs(w.Fragment,{children:[S.map((D,H)=>{const q=H;return w.jsx(_i,{item:D,index:q,isFocused:z(H),renderItem:a,itemsPerView:v,itemWidth:y},ir(D,q,"-prefix",l))}),S.map((D,H)=>w.jsx(_i,{item:D,index:H,isFocused:z(H),renderItem:a,itemsPerView:v,itemWidth:y},ir(D,H,void 0,l))),S.map((D,H)=>{const q=H;return w.jsx(_i,{item:D,index:q,isFocused:z(H),renderItem:a,itemsPerView:v,itemWidth:y},ir(D,q,"-suffix",l))})]})}return S.map((z,D)=>w.jsx(_i,{item:z,index:D,isFocused:D>=f&&D<f+v,renderItem:a,itemsPerView:v,itemWidth:y},ir(z,D,void 0,l)))},[u,L,S,l,a,p,v,y,f]);return w.jsx(G,{width:A,display:"flex",children:w.jsx(Py,{$autoScroll:!!u,$scrollDuration:C,$itemSpacing:M,ref:r,children:O})})}const Dy=ie(ba)`
279
+ animation: ${({$autoScroll:n,$scrollDuration:r})=>n?nt`${By} ${r}s linear infinite`:"none"};
280
+ `;function Wy({itemSpacing:n,itemsWrapperRef:r,items:i,renderItem:a,keyExtractor:l,autoScroll:u,activeIndex:f,virtualActiveIndex:h,itemsPerView:b=1,itemWidth:y,infiniteLoop:$=!1}){const T=Ce(),v=T.__hd__.carousel.autoScroll,m=typeof u=="object"&&u.speed||v.defaultSpeed,S=d.useMemo(()=>{if(i.length<=b)return i;const F=i.length%b;return F===0?i:i.slice(0,i.length-F)},[i,b]),C=u?S.length*(m/5):0,M=T.spaces[n||T.__hd__.carousel.container.defaultItemSpacing]||0,L=$&&!u&&S.length>1,A=d.useMemo(()=>{if(y)return y*b+M*(b-1)},[y,b,M]),O=d.useMemo(()=>{if(u)return w.jsxs(w.Fragment,{children:[S.map((F,W)=>w.jsx(Fu,{item:F,index:W,renderItem:a},or(F,W,"-auto-scroll",l))),S.map((F,W)=>w.jsx(Fu,{item:F,index:W+S.length,renderItem:a},or(F,W,"-duplicate",l)))]});if(L){const F=W=>{const N=h-S.length;return W>=N&&W<N+b};return w.jsxs(w.Fragment,{children:[S.map((W,N)=>{const q=N;return w.jsx(_i,{item:W,index:q,isFocused:F(N),renderItem:a,itemsPerView:b,itemWidth:y},or(W,q,"-prefix",l))}),S.map((W,N)=>w.jsx(_i,{item:W,index:N,isFocused:F(N),renderItem:a,itemsPerView:b,itemWidth:y},or(W,N,void 0,l))),S.map((W,N)=>{const q=N;return w.jsx(_i,{item:W,index:q,isFocused:F(N),renderItem:a,itemsPerView:b,itemWidth:y},or(W,q,"-suffix",l))})]})}return S.map((F,W)=>w.jsx(_i,{item:F,index:W,isFocused:W>=f&&W<f+b,renderItem:a,itemsPerView:b,itemWidth:y},or(F,W,void 0,l)))},[u,L,S,l,a,h,b,y,f]);return w.jsx(G,{width:A,display:"flex",children:w.jsx(Py,{$autoScroll:!!u,$scrollDuration:C,$itemSpacing:M,ref:r,children:O})})}const Dy=oe(ba)`
281
281
  transition: color 0.2s ease;
282
282
  color: ${({$color:n,theme:r})=>r.colors[n]};
283
- `,Ny=ie(Lr)`
283
+ `,Ny=oe(Lr)`
284
284
  transition: color 0.2s ease;
285
285
  color: ${({$color:n,theme:r})=>r.colors[n]};
286
- `;function zu({isLeft:n,onPrev:r,onNext:i}){const a=d.useRef(null),l=Bi(a),u=_e(),f=u.__hd__.carousel.navigation,p=u.spaces[f.buttonPadding]*2+u.sizes[f.iconSize],v=gt(u,f.iconSize),y=l?f.buttonBackgroundColor:f.buttonColor,$=typeof v=="string"?parseInt(v,10):v;return w.jsx(qt,{onClick:n?r:i,ml:n?{xs:"none",sm:f.marginHorizontal}:void 0,mr:n?void 0:{xs:"none",sm:f.marginHorizontal},ref:a,children:w.jsx(G,{display:"flex",justifyContent:"center",alignItems:"center",width:p,height:p,p:f.buttonPadding,r:f.buttonBorderRadius,bgColor:l?f.buttonColor:f.buttonBackgroundColor,transition:"background-color 0.2s ease",zIndex:u.zIndex.getZIndex("AIC_Kits_Carousel"),boxShadow:"0 0 16px 0 rgba(0, 0, 0, 0.1)",ref:a,children:n?w.jsx(Dy,{size:$,weight:"bold",$color:y}):w.jsx(Ny,{size:$,weight:"bold",$color:y})})})}function Zy({itemsCount:n,activeIndex:r,onDotClick:i}){const a=_e(),l=a.__hd__.carousel.pagination,u=l.container,f=gt(a,l.dotSize);return w.jsx(G,{display:"flex",justifyContent:"center",alignItems:"center",mt:u.marginTop,p:u.padding,r:u.borderRadius,bgColor:u.backgroundColor,gap:u.gap,children:Array.from({length:n}).map((p,v)=>w.jsx(G,{width:f,height:f,r:l.dotBorderRadius,bgColor:v===r?l.activeColor:l.inactiveColor,cursor:"pointer",transition:"background-color 0.3s ease",onClick:()=>i(v)},`dot-${v}`))})}function Hy({items:n,renderItem:r,showPagination:i=!0,showNavigation:a=!0,autoPlay:l=!1,autoScroll:u=!1,initialIndex:f=0,onIndexChange:p,keyExtractor:v,itemSpacing:y,itemsPerView:$=1,itemWidth:T,infiniteLoop:x=!1,...b},m){const S=_e(),{width:C}=nf(),M=S.__hd__.carousel,L=d.useMemo(()=>{if(n.length<=$)return n;const Y=n.length%$;return Y===0?n:n.slice(0,n.length-Y)},[n,$]),[A,O]=d.useState(f),[z,D]=d.useState(f),H=d.useRef(null),q=d.useRef(null),le=d.useRef(null),pe=d.useRef(!1),[Ce,N]=d.useState(!1),[B,Z]=d.useState(null),[re,J]=d.useState(0),K=!!u,Q=K?1:Math.max(1,$),ae=K?void 0:jy(S,T),Te=S.spaces[y||M.container.defaultItemSpacing]||0,be=K?!1:i,Fe=K?!1:a,Re=x&&!K&&L.length>1,ze=Math.max(0,L.length-Q),je=Math.ceil(L.length/Q),Ne=typeof l=="object"&&l.delay||3e3,Xe=d.useCallback(Y=>{if(L.length===0)return 0;for(;Y<0;)Y+=L.length;return Y%L.length},[L.length]),U=d.useCallback(Y=>{if(!Re)return{virtualIndex:Y,realIndex:Y,needsSnap:!1};let ve=Y,Ve=Y,ge=!1;return Y<0||Y>ze?(ve=L.length+Y,Ve=Xe(Y),ge=!0):(ve=L.length+Y,Ve=Y,ge=!1),{virtualIndex:ve,realIndex:Ve,needsSnap:ge}},[Re,L.length,ze,Xe]),F=d.useCallback(Y=>{if(!Re||!H.current)return;const ve=L.length+Y,Ve=na(ve,Q,Te,ae);H.current.style.transition="none",H.current.style.transform=`translateX(${Ve})`,D(ve),requestAnimationFrame(()=>{H.current&&(H.current.style.transition="")})},[Re,L.length,Q,Te,ae]),X=d.useCallback(()=>{if(H.current){const Y=window.getComputedStyle(H.current),ve=new DOMMatrixReadOnly(Y.transform);J(ve.e)}},[]),ee=d.useCallback(Y=>{const ve=Re?Y:Math.max(0,Math.min(Y,ze)),Ve=U(ve),ge=Math.max(0,Math.min(ve,ze));if((ge!==A||Ce)&&(O(ge),p==null||p(ge)),H.current&&!K){const Se=Ve.virtualIndex;D(Se);const se=na(Se,Q,Te,ae);H.current.style.transform=`translateX(${se})`,H.current.style.transition="",queueMicrotask(()=>{X()}),Ve.needsSnap&&(le.current&&clearTimeout(le.current),le.current=setTimeout(()=>{F(Ve.realIndex),O(Ve.realIndex),p==null||p(Ve.realIndex)},500))}},[Re,ze,A,p,K,Q,Te,ae,X,Ce,U,F]),ce=d.useCallback(()=>{x&&L.length>0?ee(A+Q):ee(Math.min(A+Q,ze))},[x,A,Q,ze,L.length,ee]),me=d.useCallback(()=>{x&&L.length>0?ee(A-Q):ee(Math.max(A-Q,0))},[x,A,Q,L.length,ee]);d.useImperativeHandle(m,()=>({goToIndex:ee,goToNext:ce,goToPrev:me}));const xe=d.useCallback(()=>{q.current&&clearTimeout(q.current)},[]),He=()=>{pe.current=!0,l&&!K&&xe(),K&&H.current&&(H.current.style.animationPlayState="paused")},dt=d.useCallback(()=>{if(pe.current=!1,l&&!K&&!Ce){xe();const Y=(A+1)%L.length,ve=Math.min(Y,ze);q.current=setTimeout(()=>ee(ve),Ne)}K&&H.current&&(H.current.style.animationPlayState="running")},[l,K,Ce,xe,A,L.length,ze,Ne,ee]),Ye=d.useCallback(Y=>{K||n.length<=Q||(le.current&&(clearTimeout(le.current),le.current=null),X(),xe(),N(!0),Z(Y),H.current&&(H.current.style.transition="none"))},[K,xe,n.length,Q,X]),ut=d.useCallback(Y=>{if(!Ce||B===null||K||!H.current)return;const ve=Y-B;H.current.style.transform=`translateX(${re+ve}px)`},[Ce,B,K,re]),wt=d.useCallback(()=>{if(!Ce||B===null||K)return;N(!1);let Y=ae;!Y&&H.current&&H.current.firstChild&&(Y=H.current.firstChild.clientWidth),!Y&&H.current&&(Y=H.current.clientWidth/Q);const ve=(Y||0)/3;if(H.current){const Ve=window.getComputedStyle(H.current),se=new DOMMatrixReadOnly(Ve.transform).e-re;H.current.style.transition="",Math.abs(se)>ve?se<0?ce():me():ee(A)}Z(null),l&&!pe.current&&(q.current=setTimeout(()=>ce(),Ne))},[Ce,B,K,ae,Q,ce,me,A,l,Ne,re,ee]),et=Math.floor(A/Q),st=Y=>ee(Y*Q);d.useEffect(()=>{if(!l||K||pe.current||Ce){xe();return}const Y=(A+1)%L.length,ve=Math.min(Y,ze);return q.current=setTimeout(()=>ee(ve),Ne),xe},[A,l,Ne,ee,xe,K,L.length,ze,Ce]),d.useEffect(()=>{if(!xt()){if(Re){const Y=L.length+f;if(D(Y),H.current){const ve=na(Y,Q,Te,ae);H.current.style.transform=`translateX(${ve})`,H.current.style.transition="none",requestAnimationFrame(()=>{H.current&&(H.current.style.transition="")})}}ee(f)}},[C,f,Re,L.length,Q,Te,ae]),d.useEffect(()=>()=>{q.current&&clearTimeout(q.current),le.current&&clearTimeout(le.current)},[]);const tt=()=>{Ce&&H.current&&wt(),dt()};return w.jsxs(G,{fw:!0,overflow:"hidden",onMouseEnter:He,onMouseLeave:tt,onTouchStart:Y=>Ye(Y.touches[0].clientX),onTouchMove:Y=>ut(Y.touches[0].clientX),onTouchEnd:wt,onMouseDown:Y=>{Y.button===0&&Ye(Y.clientX)},onMouseMove:Y=>{Y.buttons===1&&Ce&&ut(Y.clientX)},onMouseUp:Y=>{Y.button===0&&Ce&&wt()},display:"flex",flexDirection:"column",alignItems:"center",...b,children:[w.jsxs(G,{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",fw:!0,children:[w.jsx(Wy,{itemsWrapperRef:H,itemSpacing:y,activeIndex:A,virtualActiveIndex:z,items:L,renderItem:r,keyExtractor:v,autoScroll:u,itemsPerView:Q,itemWidth:ae,infiniteLoop:x}),Fe&&n.length>Q&&w.jsx(G,{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",children:w.jsx(zu,{isLeft:!0,onPrev:me,onNext:ce})}),Fe&&n.length>Q&&w.jsx(G,{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:w.jsx(zu,{isLeft:!1,onPrev:me,onNext:ce})})]}),be&&je>1&&w.jsx(Zy,{itemsCount:je,activeIndex:et,onDotClick:st})]})}const Vy=d.forwardRef(Hy);function Uy({renderContent:n,isExpanded:r}){const a=_e().__hd__.accordion,l=a.animation,u=d.useRef(null),[f,p]=d.useState(0);return d.useEffect(()=>{r&&u.current&&p(u.current.scrollHeight)},[r,n]),w.jsx(G,{overflow:"hidden",transition:`height ${l.duration}ms ${l.easing},
287
- opacity ${l.duration}ms ${l.easing}`,height:r?f:0,opacity:r?1:0,children:w.jsx(G,{ref:u,pt:a.gap,children:n()})})}const qy=ie(Lr)`
286
+ `;function zu({isLeft:n,onPrev:r,onNext:i}){const a=d.useRef(null),l=Bi(a),u=Ce(),f=u.__hd__.carousel.navigation,h=u.spaces[f.buttonPadding]*2+u.sizes[f.iconSize],b=mt(u,f.iconSize),y=l?f.buttonBackgroundColor:f.buttonColor,$=typeof b=="string"?parseInt(b,10):b;return w.jsx(qt,{onClick:n?r:i,ml:n?{xs:"none",sm:f.marginHorizontal}:void 0,mr:n?void 0:{xs:"none",sm:f.marginHorizontal},ref:a,children:w.jsx(G,{display:"flex",justifyContent:"center",alignItems:"center",width:h,height:h,p:f.buttonPadding,r:f.buttonBorderRadius,bgColor:l?f.buttonColor:f.buttonBackgroundColor,transition:"background-color 0.2s ease",zIndex:u.zIndex.getZIndex("AIC_Kits_Carousel"),boxShadow:"0 0 16px 0 rgba(0, 0, 0, 0.1)",ref:a,children:n?w.jsx(Dy,{size:$,weight:"bold",$color:y}):w.jsx(Ny,{size:$,weight:"bold",$color:y})})})}function Zy({itemsCount:n,activeIndex:r,onDotClick:i}){const a=Ce(),l=a.__hd__.carousel.pagination,u=l.container,f=mt(a,l.dotSize);return w.jsx(G,{display:"flex",justifyContent:"center",alignItems:"center",mt:u.marginTop,p:u.padding,r:u.borderRadius,bgColor:u.backgroundColor,gap:u.gap,children:Array.from({length:n}).map((h,b)=>w.jsx(G,{width:f,height:f,r:l.dotBorderRadius,bgColor:b===r?l.activeColor:l.inactiveColor,cursor:"pointer",transition:"background-color 0.3s ease",onClick:()=>i(b)},`dot-${b}`))})}function Hy({items:n,renderItem:r,showPagination:i=!0,showNavigation:a=!0,autoPlay:l=!1,autoScroll:u=!1,initialIndex:f=0,onIndexChange:h,keyExtractor:b,itemSpacing:y,itemsPerView:$=1,itemWidth:T,infiniteLoop:x=!1,...v},m){const S=Ce(),{width:C}=nf(),M=S.__hd__.carousel,L=d.useMemo(()=>{if(n.length<=$)return n;const Q=n.length%$;return Q===0?n:n.slice(0,n.length-Q)},[n,$]),[A,O]=d.useState(f),[F,W]=d.useState(f),N=d.useRef(null),q=d.useRef(null),fe=d.useRef(null),ye=d.useRef(!1),[we,D]=d.useState(!1),[j,H]=d.useState(null),[ie,J]=d.useState(0),K=!!u,X=K?1:Math.max(1,$),ce=K?void 0:jy(S,T),Te=S.spaces[y||M.container.defaultItemSpacing]||0,be=K?!1:i,Be=K?!1:a,Le=x&&!K&&L.length>1,Ve=Math.max(0,L.length-X),Ye=Math.ceil(L.length/X),De=typeof l=="object"&&l.delay||3e3,Ke=d.useCallback(Q=>{if(L.length===0)return 0;for(;Q<0;)Q+=L.length;return Q%L.length},[L.length]),Z=d.useCallback(Q=>{if(!Le)return{virtualIndex:Q,realIndex:Q,needsSnap:!1};let ze=Q,ke=Q,ue=!1;return Q<0||Q>Ve?(ze=L.length+Q,ke=Ke(Q),ue=!0):(ze=L.length+Q,ke=Q,ue=!1),{virtualIndex:ze,realIndex:ke,needsSnap:ue}},[Le,L.length,Ve,Ke]),Y=d.useCallback(Q=>{if(!Le||!N.current)return;const ze=L.length+Q,ke=na(ze,X,Te,ce);N.current.style.transition="none",N.current.style.transform=`translateX(${ke})`,W(ze),requestAnimationFrame(()=>{N.current&&(N.current.style.transition="")})},[Le,L.length,X,Te,ce]),ae=d.useCallback(()=>{if(N.current){const Q=window.getComputedStyle(N.current),ze=new DOMMatrixReadOnly(Q.transform);J(ze.e)}},[]),le=d.useCallback(Q=>{const ze=Le?Q:Math.max(0,Math.min(Q,Ve)),ke=Z(ze),ue=Math.max(0,Math.min(ze,Ve));if((ue!==A||we)&&(O(ue),h==null||h(ue)),N.current&&!K){const de=ke.virtualIndex;W(de);const he=na(de,X,Te,ce);N.current.style.transform=`translateX(${he})`,N.current.style.transition="",queueMicrotask(()=>{ae()}),ke.needsSnap&&(fe.current&&clearTimeout(fe.current),fe.current=setTimeout(()=>{Y(ke.realIndex),O(ke.realIndex),h==null||h(ke.realIndex)},500))}},[Le,Ve,A,h,K,X,Te,ce,ae,we,Z,Y]),U=d.useCallback(()=>{x&&L.length>0?le(A+X):le(Math.min(A+X,Ve))},[x,A,X,Ve,L.length,le]),te=d.useCallback(()=>{x&&L.length>0?le(A-X):le(Math.max(A-X,0))},[x,A,X,L.length,le]);d.useImperativeHandle(m,()=>({goToIndex:le,goToNext:U,goToPrev:te}));const re=d.useCallback(()=>{q.current&&clearTimeout(q.current)},[]),Oe=()=>{ye.current=!0,l&&!K&&re(),K&&N.current&&(N.current.style.animationPlayState="paused")},Ae=d.useCallback(()=>{if(ye.current=!1,l&&!K&&!we){re();const Q=(A+1)%L.length,ze=Math.min(Q,Ve);q.current=setTimeout(()=>le(ze),De)}K&&N.current&&(N.current.style.animationPlayState="running")},[l,K,we,re,A,L.length,Ve,De,le]),Pe=d.useCallback(Q=>{K||n.length<=X||(fe.current&&(clearTimeout(fe.current),fe.current=null),ae(),re(),D(!0),H(Q),N.current&&(N.current.style.transition="none"))},[K,re,n.length,X,ae]),Qe=d.useCallback(Q=>{if(!we||j===null||K||!N.current)return;const ze=Q-j;N.current.style.transform=`translateX(${ie+ze}px)`},[we,j,K,ie]),at=d.useCallback(()=>{if(!we||j===null||K)return;D(!1);let Q=ce;!Q&&N.current&&N.current.firstChild&&(Q=N.current.firstChild.clientWidth),!Q&&N.current&&(Q=N.current.clientWidth/X);const ze=(Q||0)/3;if(N.current){const ke=window.getComputedStyle(N.current),he=new DOMMatrixReadOnly(ke.transform).e-ie;N.current.style.transition="",Math.abs(he)>ze?he<0?U():te():le(A)}H(null),l&&!ye.current&&(q.current=setTimeout(()=>U(),De))},[we,j,K,ce,X,U,te,A,l,De,ie,le]),et=Math.floor(A/X),rt=Q=>le(Q*X);d.useEffect(()=>{if(!l||K||ye.current||we){re();return}const Q=(A+1)%L.length,ze=Math.min(Q,Ve);return q.current=setTimeout(()=>le(ze),De),re},[A,l,De,le,re,K,L.length,Ve,we]),d.useEffect(()=>{if(!wt()){if(Le){const Q=L.length+f;if(W(Q),N.current){const ze=na(Q,X,Te,ce);N.current.style.transform=`translateX(${ze})`,N.current.style.transition="none",requestAnimationFrame(()=>{N.current&&(N.current.style.transition="")})}}le(f)}},[C,f,Le,L.length,X,Te,ce]),d.useEffect(()=>()=>{q.current&&clearTimeout(q.current),fe.current&&clearTimeout(fe.current)},[]);const st=()=>{we&&N.current&&at(),Ae()};return w.jsxs(G,{fw:!0,overflow:"hidden",onMouseEnter:Oe,onMouseLeave:st,onTouchStart:Q=>Pe(Q.touches[0].clientX),onTouchMove:Q=>Qe(Q.touches[0].clientX),onTouchEnd:at,onMouseDown:Q=>{Q.button===0&&Pe(Q.clientX)},onMouseMove:Q=>{Q.buttons===1&&we&&Qe(Q.clientX)},onMouseUp:Q=>{Q.button===0&&we&&at()},display:"flex",flexDirection:"column",alignItems:"center",...v,children:[w.jsxs(G,{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",fw:!0,children:[w.jsx(Wy,{itemsWrapperRef:N,itemSpacing:y,activeIndex:A,virtualActiveIndex:F,items:L,renderItem:r,keyExtractor:b,autoScroll:u,itemsPerView:X,itemWidth:ce,infiniteLoop:x}),Be&&n.length>X&&w.jsx(G,{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",children:w.jsx(zu,{isLeft:!0,onPrev:te,onNext:U})}),Be&&n.length>X&&w.jsx(G,{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:w.jsx(zu,{isLeft:!1,onPrev:te,onNext:U})})]}),be&&Ye>1&&w.jsx(Zy,{itemsCount:Ye,activeIndex:et,onDotClick:rt})]})}const Vy=d.forwardRef(Hy);function Uy({renderContent:n,isExpanded:r}){const a=Ce().__hd__.accordion,l=a.animation,u=d.useRef(null),[f,h]=d.useState(0);return d.useEffect(()=>{r&&u.current&&h(u.current.scrollHeight)},[r,n]),w.jsx(G,{overflow:"hidden",transition:`height ${l.duration}ms ${l.easing},
287
+ opacity ${l.duration}ms ${l.easing}`,height:r?f:0,opacity:r?1:0,children:w.jsx(G,{ref:u,pt:a.gap,children:n()})})}const qy=oe(Lr)`
288
288
  transition: transform ${({$duration:n,$easing:r})=>`${n}ms ${r}`};
289
289
  transform: rotate(${({$isExpanded:n})=>n?"90deg":"0deg"});
290
290
  flex-shrink: 0; /* Prevent icon from shrinking */
291
- `;function Gy({renderHeader:n,isExpanded:r,onToggle:i,disabled:a,iconPosition:l="left"}){const u=_e(),f=u.__hd__.accordion,p=f.header,v=f.animation,y=gt(u,p.iconSize),$=u.colors[p.iconColor]||p.iconColor,T=w.jsx(qt,{onClick:a?void 0:i,cursor:a?"not-allowed":"pointer",opacity:a?p.disabledOpacity:1,children:w.jsx(qy,{size:y,color:$,weight:"bold",$isExpanded:r,$duration:v.duration,$easing:v.easing})});return w.jsx(qt,{onClick:a?void 0:i,cursor:a?"not-allowed":"pointer",opacity:a?p.disabledOpacity:1,useScaleAnimation:!1,children:w.jsxs(G,{display:"flex",alignItems:"center",gap:p.gap,children:[l==="left"&&T,w.jsx(G,{flex:1,children:n(r)}),l==="right"&&T]})})}function Ky({renderHeader:n,renderContent:r,initialExpanded:i=!1,onExpandedChange:a,disabled:l=!1,iconPosition:u="left",...f}){const v=_e().__hd__.accordion,[y,$]=d.useState(i),T=d.useCallback(()=>{if(l)return;const x=!y;$(x),a==null||a(x)},[l,y,a]);return w.jsxs(G,{p:v.paddingVertical,px:v.paddingHorizontal,r:v.borderRadius,b:v.borderWidth,borderColor:v.borderColor,bgColor:v.backgroundColor,...f,children:[w.jsx(Gy,{renderHeader:n,isExpanded:y,onToggle:T,disabled:l,iconPosition:u}),w.jsx(Uy,{renderContent:r,isExpanded:y})]})}const _f=(n,r,i,a)=>i?n.colors[i]:a==="solid"?r==="white"?n.colors.grey900:n.colors.white:n.colors[r],Xy=ie(G)`
291
+ `;function Gy({renderHeader:n,isExpanded:r,onToggle:i,disabled:a,iconPosition:l="left"}){const u=Ce(),f=u.__hd__.accordion,h=f.header,b=f.animation,y=mt(u,h.iconSize),$=u.colors[h.iconColor]||h.iconColor,T=w.jsx(qt,{onClick:a?void 0:i,cursor:a?"not-allowed":"pointer",opacity:a?h.disabledOpacity:1,children:w.jsx(qy,{size:y,color:$,weight:"bold",$isExpanded:r,$duration:b.duration,$easing:b.easing})});return w.jsx(qt,{onClick:a?void 0:i,cursor:a?"not-allowed":"pointer",opacity:a?h.disabledOpacity:1,useScaleAnimation:!1,children:w.jsxs(G,{display:"flex",alignItems:"center",gap:l==="none"?void 0:h.gap,children:[l==="left"&&T,w.jsx(G,{flex:1,children:n(r)}),l==="right"&&T]})})}function Ky({renderHeader:n,renderContent:r,initialExpanded:i=!1,expanded:a,onExpandedChange:l,disabled:u=!1,iconPosition:f="left",...h}){const y=Ce().__hd__.accordion,$=a!==void 0,[T,x]=d.useState(i),v=$?a:T;d.useEffect(()=>{$&&x(a)},[$,a]);const m=d.useCallback(()=>{if(u)return;const S=!v;$||x(S),l==null||l(S)},[u,v,$,l]);return w.jsxs(G,{p:y.paddingVertical,px:y.paddingHorizontal,r:y.borderRadius,b:y.borderWidth,borderColor:y.borderColor,bgColor:y.backgroundColor,...h,children:[w.jsx(Gy,{renderHeader:n,isExpanded:v,onToggle:m,disabled:u,iconPosition:f}),w.jsx(Uy,{renderContent:r,isExpanded:v})]})}const _f=(n,r,i,a)=>i?n.colors[i]:a==="solid"?r==="white"?n.colors.grey900:n.colors.white:n.colors[r],Xy=oe(G)`
292
292
  display: inline-flex; /* Use inline-flex to allow tags to flow like text */
293
293
  align-items: center;
294
294
  justify-content: center;
@@ -303,13 +303,13 @@ function print() { __p += __j.call(arguments, '') }
303
303
  background-color: ${({theme:n,$variant:r,$color:i})=>r==="solid"?n.colors[i]:n.colors.transparent};
304
304
 
305
305
  border-color: ${({theme:n,$variant:r,$color:i})=>r==="outlined"?n.colors[i]:n.colors.transparent};
306
- `,Yy=ie(at)`
306
+ `,Yy=oe(ct)`
307
307
  color: ${({theme:n,$color:r,$textColor:i,$variant:a})=>_f(n,r,i,a)};
308
308
  font-size: ${({theme:n,$fontSize:r})=>n.__hd__.text.fontSizes[r]}px;
309
309
  /* Use medium weight for tags by default, can be customized via theme if needed */
310
310
  font-weight: ${({theme:n})=>n.__hd__.text.fontWeights.medium};
311
311
  line-height: 1; /* Ensure tight line height for tags */
312
- `,Qy=({variant:n,color:r,textColor:i,size:a,radius:l,icon:u,rightIcon:f,children:p,style:v,"data-testid":y,...$})=>{const T=_e(),x=T.__hd__.tag,b=n??x.defaultVariant,m=r??x.defaultColor,S=a??x.defaultSize,C=l??x.defaultRadius,M=_f(T,m,i,b),L=d.useMemo(()=>x.sizes[S],[x.sizes,S]);return w.jsxs(Xy,{$variant:b,$color:m,$textColor:i,$size:S,$radius:C,$paddingVertical:L.paddingVertical,$paddingHorizontal:L.paddingHorizontal,$fontSize:L.fontSize,$gap:L.gap,$iconSize:L.iconSize,style:v,"data-testid":y,...$,children:[u&&w.jsx(Ut,{type:"icon",art:u,size:L.iconSize,color:M,weight:"regular"}),w.jsx(Yy,{$color:m,$textColor:i,$variant:b,$fontSize:L.fontSize,as:"span",children:p}),f&&w.jsx(Ut,{type:"icon",art:f,size:L.iconSize,color:M,weight:"regular"})]})},Jy=({label:n,checked:r,onChange:i,disabled:a=!1,color:l,size:u,style:f,"data-testid":p})=>{const v=_e(),y=v.__hd__.checkbox,[$,T]=d.useState(r);d.useEffect(()=>{T(r)},[r]);const x=l??y.defaultColor,b=u??y.defaultSize,m=y.sizes[b],S=y.animation,C=gt(v,m.iconSize),M=$?x:"white",L=$?x:y.uncheckedBorderColor,A=a?y.disabledColor:M,O=a?y.disabledColor:L,z=()=>{if(a)return;const D=!$;T(D),i(D)};return w.jsxs(qt,{onClick:a?void 0:z,style:f,"data-testid":p,useScaleAnimation:!1,useOpacityAnimation:!1,display:"inline-flex",alignItems:"center",cursor:a?"not-allowed":"pointer",children:[w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:m.borderRadius,borderWidth:m.borderWidth,borderColor:O,backgroundColor:A,filter:a?"opacity(0.5)":"none",transition:`background-color ${S.duration}ms ${S.easing}, border-color ${S.duration}ms ${S.easing}`,children:w.jsx(Ut,{type:"icon",art:Gc,size:C,color:v.colors[y.iconColor],weight:"bold",opacity:$?1:0,transition:`opacity ${S.duration}ms ${S.easing}`,margin:m.iconMargin})}),n&&w.jsx(G,{pl:m.labelPaddingLeft,children:w.jsx(at,{fontSize:m.labelFontSize,color:a?y.disabledTextColor:y.textColor,as:"span",children:n})})]})};function Cf({value:n,onChange:r,disabled:i=!1}){const[a,l]=d.useState(!1),[u,f]=d.useState(!1),[p,v]=d.useState(n),y=d.useRef(null);d.useEffect(()=>{v(n)},[n]);const $=d.useCallback(()=>{i||l(b=>!b)},[i]),T=d.useCallback(b=>{b.disabled||(v(b.value),r==null||r(b.value),l(!1))},[r]),x=d.useCallback(()=>{l(!1)},[]);return{isOpen:a,setIsOpen:l,isHovering:u,setIsHovering:f,selectedValue:p,selectRef:y,handleToggle:$,handleSelect:T,handleClose:x}}function Sf({option:n,isSelected:r,isDisabled:i,onSelect:a,sizeConfig:l,themeSelect:u,animation:f}){const p=d.useRef(null),v=Bi(p),y=u.dropdown;let $=y.backgroundColor;r?$=y.itemSelectedBackgroundColor:v&&!i&&($=y.itemHoverBackgroundColor);const T=i?u.disabledContentColor:r?y.itemSelectedTextColor:y.itemTextColor;return w.jsx(qt,{ref:p,onClick:()=>!i&&a(n),useScaleAnimation:!1,useOpacityAnimation:!1,cursor:i?"not-allowed":"pointer",fw:!0,children:w.jsx(G,{p:l.dropdownPaddingVertical,px:l.dropdownPaddingHorizontal,bgColor:$,transition:`background-color ${f.duration}ms ${f.easing}`,opacity:i?u.disabledOpacity:1,display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:w.jsx(at,{fontSize:l.fontSize,color:T,fontWeight:r?"semibold":"regular",as:"span",children:n.label})})},n.value)}function eb({anchorElement:n,isOpen:r,options:i,onSelect:a,selectedValue:l,onClose:u,size:f,borderRadius:p}){const v=_e(),y=v.__hd__.select,$=y.dropdown,T=d.useRef(null),x=y.sizes[f],b=y.animation,m=n.getBoundingClientRect(),S=v.spaces[$.offset];return d.useEffect(()=>{const C=M=>{T.current&&!T.current.contains(M.target)&&n&&!n.contains(M.target)&&u()};return r?document.addEventListener("mousedown",C):document.removeEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)}},[r,u,n]),xt()?null:c2.createPortal(w.jsx(G,{ref:T,bgColor:$.backgroundColor,b:$.borderColor!=="transparent"?x.borderWidth:"none",borderColor:$.borderColor,boxShadow:$.shadow,position:"absolute",top:`${m.bottom+window.scrollY+S}px`,left:`${m.left+window.scrollX}px`,width:`${m.width}px`,zIndex:v.zIndex.getZIndex("AIC_Kits_Dropdown"),opacity:r?1:0,maxHeight:r?$.maxHeight:0,overflowY:"auto",transition:`opacity ${b.duration}ms ${b.easing},max-height ${b.duration}ms ${b.easing}`,onClick:C=>C.stopPropagation(),onMouseDown:C=>C.stopPropagation(),style:{borderRadius:p},children:i.length>0?i.map(C=>{const M=C.value===l,L=!!C.disabled;return w.jsx(Sf,{option:C,isSelected:M,isDisabled:L,onSelect:a,sizeConfig:x,themeSelect:y,animation:b},C.value)}):w.jsx(G,{p:x.dropdownPaddingVertical,px:x.dropdownPaddingHorizontal,children:w.jsx(at,{fontSize:x.fontSize,color:$.emptyTextColor,as:"span",children:"No options available"})})}),document.body)}const tb=({fontSize:n,color:r,...i})=>{const a=_e(),l={border:"none",backgroundColor:"transparent",outline:"none",width:"100%",fontFamily:"inherit",padding:0,fontSize:a.__hd__.text.fontSizes[n],color:a.colors[r]};return w.jsx("input",{style:l,...i})},Ef=({placeholder:n,selectedOptionLabel:r,isOpen:i,isDisabled:a,handleToggle:l,iconSizePx:u,inputBorderRadius:f,sizeConfig:p,animation:v,currentBgColor:y,currentBorderColor:$,baseBorderWidthKey:T,insetBoxShadow:x,textColor:b,iconColor:m,testId:S,setIsHovering:C,searchable:M,searchTerm:L,onSearchChange:A})=>{const O=i&&M;return w.jsx(qt,{onClick:l,cursor:a?"not-allowed":"pointer",useScaleAnimation:!1,useOpacityAnimation:!1,"data-testid":S,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),children:w.jsxs(G,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",p:p.paddingVertical,px:p.paddingHorizontal,b:T,borderColor:$,bgColor:y,opacity:1,transition:`background-color ${v.duration}ms ${v.easing}, border-color ${v.duration}ms ${v.easing}, box-shadow ${v.duration}ms ${v.easing}`,gap:p.gap,style:{borderRadius:f,boxShadow:x},children:[w.jsx(G,{flex:1,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:O?w.jsx(tb,{value:L,onChange:z=>A(z.target.value),placeholder:n,onClick:z=>z.stopPropagation(),autoFocus:!0,fontSize:p.fontSize,color:b}):w.jsx(at,{fontSize:p.fontSize,color:b,as:"span",children:r||n})}),w.jsx(Ut,{type:"icon",art:ya,size:u,color:m,weight:"bold",transition:`transform ${v.duration}ms ${v.easing}`,transform:i?"rotate(180deg)":"rotate(0deg)"})]})})};function Af({theme:n,themeSelect:r,variant:i,isDisabled:a,isErrored:l,isOpen:u,isHovering:f,focusColor:p}){const v=r.variants[i],y="thin",$=n.borderWidths[y];let T;a?T=v.disabled:l?T=v.errored:u?T={...v.focused,borderColor:p}:f?T=v.hover:T=v.default;let x="none";if(!a&&!l&&u){const b=v.focused.borderWidth,m=n.borderWidths[b],S=Math.max(0,m-$);if(S>0){const C=n.colors[p];x=`inset 0 0 0 ${S}px ${C}`}}return{backgroundColor:T.backgroundColor,borderColor:T.borderColor,borderWidth:y,insetBoxShadow:x}}const nb=({options:n,value:r,onChange:i,placeholder:a="Select an option",label:l,helperText:u,error:f,disabled:p=!1,variant:v="outlined",color:y,size:$,corner:T,style:x,"data-testid":b,searchable:m=!1})=>{var ee;const S=_e(),C=S.__hd__.select,[M,L]=d.useState(""),{isOpen:A,isHovering:O,selectedValue:z,selectRef:D,handleToggle:H,handleSelect:q,handleClose:le,setIsHovering:pe}=Cf({value:r,onChange:i,disabled:p});d.useEffect(()=>{A&&L("")},[A]);const Ce=d.useMemo(()=>M?n.filter(ce=>ce.label.toLowerCase().includes(M.toLowerCase())):n,[n,M]),N=y??C.defaultColor,B=$??C.defaultSize,Z=T??C.defaultCorner,re=C.sizes[B],J=C.animation,K=C.squircleBorderRadii[Z],Q=Z==="circle"?C.dropdown.borderRadiusForCircle:C.dropdown.borderRadiusForRounded,ae=S.radii[Q],Te=!!f,be=p,{backgroundColor:Fe,borderColor:Re,borderWidth:ze,insetBoxShadow:je}=Af({theme:S,themeSelect:C,variant:v,isDisabled:be,isErrored:Te,isOpen:A,isHovering:O,focusColor:N}),Ne=be?C.disabledContentColor:C.iconColor,Xe=be?C.disabledContentColor:z!=null?C.valueColor:C.placeholderColor,U=be?C.disabledLabelColor:C.labelColor,F=(ee=n.find(ce=>ce.value===z))==null?void 0:ee.label,X=gt(S,re.iconSize);return w.jsxs(G,{fw:!0,style:x,position:"relative",ref:D,children:[l&&w.jsx(G,{mb:"xs",children:w.jsx(at,{fontWeight:"medium",color:U,children:l})}),w.jsx(Ef,{placeholder:a,selectedOptionLabel:F,isOpen:A,isDisabled:be,handleToggle:H,iconSizePx:X,inputBorderRadius:K,sizeConfig:re,animation:J,currentBgColor:Fe,currentBorderColor:Re,baseBorderWidthKey:ze,insetBoxShadow:je,textColor:Xe,iconColor:Ne,testId:b,setIsHovering:pe,searchable:m,searchTerm:M,onSearchChange:L}),(f||u)&&w.jsx(G,{children:w.jsx(at,{fontSize:"xs",color:f?C.errorColor:C.helperTextColor,as:"span",children:f||u})}),D.current&&w.jsx(eb,{anchorElement:D.current,isOpen:A,options:Ce,onSelect:q,selectedValue:z,onClose:le,size:B,borderRadius:`${ae}px`})]})},ju=d.createContext({columns:12}),Ci={xs:0,sm:600,md:900,lg:1200,xl:1536},Bu=(n,r)=>Ie.isNumber(r)?`${r}px`:Ju(r)?`${n.spaces[r]??0}px`:r,or=(n,r)=>{if(r!==void 0)if(Ie.isObject(r)){const i={};for(const a in r){const l=a,u=r[l];u!==void 0&&(i[l]=Bu(n,u))}return i}else return Bu(n,r)},rb=(n,r)=>{if(n<1||n>r)return console.warn(`AIC-Kits Grid: Size prop should be between 1 and ${r}. Received ${n}.`),"auto";const i=n/r,a=1-i,l=(i*100).toFixed(6).replace(/\.0+$/,""),u=a.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},ib=(n,r)=>{if(n<1||n>r-1)return console.warn(`AIC-Kits Grid: Offset prop should be between 1 and ${r-1}. Received ${n}.`),"0";const i=n/r,a=-i,l=(i*100).toFixed(6).replace(/\.0+$/,""),u=a.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},ob=({sizeValue:n,offsetValue:r,currentTotalColumns:i})=>{let a="";if(n==="auto")a+=`
312
+ `,Qy=({variant:n,color:r,textColor:i,size:a,radius:l,icon:u,rightIcon:f,children:h,style:b,"data-testid":y,...$})=>{const T=Ce(),x=T.__hd__.tag,v=n??x.defaultVariant,m=r??x.defaultColor,S=a??x.defaultSize,C=l??x.defaultRadius,M=_f(T,m,i,v),L=d.useMemo(()=>x.sizes[S],[x.sizes,S]);return w.jsxs(Xy,{$variant:v,$color:m,$textColor:i,$size:S,$radius:C,$paddingVertical:L.paddingVertical,$paddingHorizontal:L.paddingHorizontal,$fontSize:L.fontSize,$gap:L.gap,$iconSize:L.iconSize,style:b,"data-testid":y,...$,children:[u&&w.jsx(Ut,{type:"icon",art:u,size:L.iconSize,color:M,weight:"regular"}),w.jsx(Yy,{$color:m,$textColor:i,$variant:v,$fontSize:L.fontSize,as:"span",children:h}),f&&w.jsx(Ut,{type:"icon",art:f,size:L.iconSize,color:M,weight:"regular"})]})},Jy=({label:n,checked:r,onChange:i,disabled:a=!1,color:l,size:u,style:f,"data-testid":h})=>{const b=Ce(),y=b.__hd__.checkbox,[$,T]=d.useState(r);d.useEffect(()=>{T(r)},[r]);const x=l??y.defaultColor,v=u??y.defaultSize,m=y.sizes[v],S=y.animation,C=mt(b,m.iconSize),M=$?x:"white",L=$?x:y.uncheckedBorderColor,A=a?y.disabledColor:M,O=a?y.disabledColor:L,F=()=>{if(a)return;const W=!$;T(W),i(W)};return w.jsxs(qt,{onClick:a?void 0:F,style:f,"data-testid":h,useScaleAnimation:!1,useOpacityAnimation:!1,display:"inline-flex",alignItems:"center",cursor:a?"not-allowed":"pointer",children:[w.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:m.borderRadius,borderWidth:m.borderWidth,borderColor:O,backgroundColor:A,filter:a?"opacity(0.5)":"none",transition:`background-color ${S.duration}ms ${S.easing}, border-color ${S.duration}ms ${S.easing}`,children:w.jsx(Ut,{type:"icon",art:Gc,size:C,color:b.colors[y.iconColor],weight:"bold",opacity:$?1:0,transition:`opacity ${S.duration}ms ${S.easing}`,margin:m.iconMargin})}),n&&w.jsx(G,{pl:m.labelPaddingLeft,children:w.jsx(ct,{fontSize:m.labelFontSize,color:a?y.disabledTextColor:y.textColor,as:"span",children:n})})]})};function Cf({value:n,onChange:r,disabled:i=!1}){const[a,l]=d.useState(!1),[u,f]=d.useState(!1),[h,b]=d.useState(n),y=d.useRef(null);d.useEffect(()=>{b(n)},[n]);const $=d.useCallback(()=>{i||l(v=>!v)},[i]),T=d.useCallback(v=>{v.disabled||(b(v.value),r==null||r(v.value),l(!1))},[r]),x=d.useCallback(()=>{l(!1)},[]);return{isOpen:a,setIsOpen:l,isHovering:u,setIsHovering:f,selectedValue:h,selectRef:y,handleToggle:$,handleSelect:T,handleClose:x}}function Sf({option:n,isSelected:r,isDisabled:i,onSelect:a,sizeConfig:l,themeSelect:u,animation:f}){const h=d.useRef(null),b=Bi(h),y=u.dropdown;let $=y.backgroundColor;r?$=y.itemSelectedBackgroundColor:b&&!i&&($=y.itemHoverBackgroundColor);const T=i?u.disabledContentColor:r?y.itemSelectedTextColor:y.itemTextColor;return w.jsx(qt,{ref:h,onClick:()=>!i&&a(n),useScaleAnimation:!1,useOpacityAnimation:!1,cursor:i?"not-allowed":"pointer",fw:!0,children:w.jsx(G,{p:l.dropdownPaddingVertical,px:l.dropdownPaddingHorizontal,bgColor:$,transition:`background-color ${f.duration}ms ${f.easing}`,opacity:i?u.disabledOpacity:1,display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:w.jsx(ct,{fontSize:l.fontSize,color:T,fontWeight:r?"semibold":"regular",as:"span",children:n.label})})},n.value)}function eb({anchorElement:n,isOpen:r,options:i,onSelect:a,selectedValue:l,onClose:u,size:f,borderRadius:h}){const b=Ce(),y=b.__hd__.select,$=y.dropdown,T=d.useRef(null),x=y.sizes[f],v=y.animation,m=n.getBoundingClientRect(),S=b.spaces[$.offset];return d.useEffect(()=>{const C=M=>{T.current&&!T.current.contains(M.target)&&n&&!n.contains(M.target)&&u()};return r?document.addEventListener("mousedown",C):document.removeEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)}},[r,u,n]),wt()?null:c2.createPortal(w.jsx(G,{ref:T,bgColor:$.backgroundColor,b:$.borderColor!=="transparent"?x.borderWidth:"none",borderColor:$.borderColor,boxShadow:$.shadow,position:"absolute",top:`${m.bottom+window.scrollY+S}px`,left:`${m.left+window.scrollX}px`,width:`${m.width}px`,zIndex:b.zIndex.getZIndex("AIC_Kits_Dropdown"),opacity:r?1:0,maxHeight:r?$.maxHeight:0,overflowY:"auto",transition:`opacity ${v.duration}ms ${v.easing},max-height ${v.duration}ms ${v.easing}`,onClick:C=>C.stopPropagation(),onMouseDown:C=>C.stopPropagation(),style:{borderRadius:h},children:i.length>0?i.map(C=>{const M=C.value===l,L=!!C.disabled;return w.jsx(Sf,{option:C,isSelected:M,isDisabled:L,onSelect:a,sizeConfig:x,themeSelect:y,animation:v},C.value)}):w.jsx(G,{p:x.dropdownPaddingVertical,px:x.dropdownPaddingHorizontal,children:w.jsx(ct,{fontSize:x.fontSize,color:$.emptyTextColor,as:"span",children:"No options available"})})}),document.body)}const tb=({fontSize:n,color:r,...i})=>{const a=Ce(),l={border:"none",backgroundColor:"transparent",outline:"none",width:"100%",fontFamily:"inherit",padding:0,fontSize:a.__hd__.text.fontSizes[n],color:a.colors[r]};return w.jsx("input",{style:l,...i})},Ef=({placeholder:n,selectedOptionLabel:r,isOpen:i,isDisabled:a,handleToggle:l,iconSizePx:u,inputBorderRadius:f,sizeConfig:h,animation:b,currentBgColor:y,currentBorderColor:$,baseBorderWidthKey:T,insetBoxShadow:x,textColor:v,iconColor:m,testId:S,setIsHovering:C,searchable:M,searchTerm:L,onSearchChange:A})=>{const O=i&&M;return w.jsx(qt,{onClick:l,cursor:a?"not-allowed":"pointer",useScaleAnimation:!1,useOpacityAnimation:!1,"data-testid":S,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),children:w.jsxs(G,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",p:h.paddingVertical,px:h.paddingHorizontal,b:T,borderColor:$,bgColor:y,opacity:1,transition:`background-color ${b.duration}ms ${b.easing}, border-color ${b.duration}ms ${b.easing}, box-shadow ${b.duration}ms ${b.easing}`,gap:h.gap,style:{borderRadius:f,boxShadow:x},children:[w.jsx(G,{flex:1,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:O?w.jsx(tb,{value:L,onChange:F=>A(F.target.value),placeholder:n,onClick:F=>F.stopPropagation(),autoFocus:!0,fontSize:h.fontSize,color:v}):w.jsx(ct,{fontSize:h.fontSize,color:v,as:"span",children:r||n})}),w.jsx(Ut,{type:"icon",art:ya,size:u,color:m,weight:"bold",transition:`transform ${b.duration}ms ${b.easing}`,transform:i?"rotate(180deg)":"rotate(0deg)"})]})})};function Af({theme:n,themeSelect:r,variant:i,isDisabled:a,isErrored:l,isOpen:u,isHovering:f,focusColor:h}){const b=r.variants[i],y="thin",$=n.borderWidths[y];let T;a?T=b.disabled:l?T=b.errored:u?T={...b.focused,borderColor:h}:f?T=b.hover:T=b.default;let x="none";if(!a&&!l&&u){const v=b.focused.borderWidth,m=n.borderWidths[v],S=Math.max(0,m-$);if(S>0){const C=n.colors[h];x=`inset 0 0 0 ${S}px ${C}`}}return{backgroundColor:T.backgroundColor,borderColor:T.borderColor,borderWidth:y,insetBoxShadow:x}}const nb=({options:n,value:r,onChange:i,placeholder:a="Select an option",label:l,helperText:u,error:f,disabled:h=!1,variant:b="outlined",color:y,size:$,corner:T,style:x,"data-testid":v,searchable:m=!1})=>{var le;const S=Ce(),C=S.__hd__.select,[M,L]=d.useState(""),{isOpen:A,isHovering:O,selectedValue:F,selectRef:W,handleToggle:N,handleSelect:q,handleClose:fe,setIsHovering:ye}=Cf({value:r,onChange:i,disabled:h});d.useEffect(()=>{A&&L("")},[A]);const we=d.useMemo(()=>M?n.filter(U=>U.label.toLowerCase().includes(M.toLowerCase())):n,[n,M]),D=y??C.defaultColor,j=$??C.defaultSize,H=T??C.defaultCorner,ie=C.sizes[j],J=C.animation,K=C.squircleBorderRadii[H],X=H==="circle"?C.dropdown.borderRadiusForCircle:C.dropdown.borderRadiusForRounded,ce=S.radii[X],Te=!!f,be=h,{backgroundColor:Be,borderColor:Le,borderWidth:Ve,insetBoxShadow:Ye}=Af({theme:S,themeSelect:C,variant:b,isDisabled:be,isErrored:Te,isOpen:A,isHovering:O,focusColor:D}),De=be?C.disabledContentColor:C.iconColor,Ke=be?C.disabledContentColor:F!=null?C.valueColor:C.placeholderColor,Z=be?C.disabledLabelColor:C.labelColor,Y=(le=n.find(U=>U.value===F))==null?void 0:le.label,ae=mt(S,ie.iconSize);return w.jsxs(G,{fw:!0,style:x,position:"relative",ref:W,children:[l&&w.jsx(G,{mb:"xs",children:w.jsx(ct,{fontWeight:"medium",color:Z,children:l})}),w.jsx(Ef,{placeholder:a,selectedOptionLabel:Y,isOpen:A,isDisabled:be,handleToggle:N,iconSizePx:ae,inputBorderRadius:K,sizeConfig:ie,animation:J,currentBgColor:Be,currentBorderColor:Le,baseBorderWidthKey:Ve,insetBoxShadow:Ye,textColor:Ke,iconColor:De,testId:v,setIsHovering:ye,searchable:m,searchTerm:M,onSearchChange:L}),(f||u)&&w.jsx(G,{children:w.jsx(ct,{fontSize:"xs",color:f?C.errorColor:C.helperTextColor,as:"span",children:f||u})}),W.current&&w.jsx(eb,{anchorElement:W.current,isOpen:A,options:we,onSelect:q,selectedValue:F,onClose:fe,size:j,borderRadius:`${ce}px`})]})},ju=d.createContext({columns:12}),Ci={xs:0,sm:600,md:900,lg:1200,xl:1536},Bu=(n,r)=>Fe.isNumber(r)?`${r}px`:Ju(r)?`${n.spaces[r]??0}px`:r,ar=(n,r)=>{if(r!==void 0)if(Fe.isObject(r)){const i={};for(const a in r){const l=a,u=r[l];u!==void 0&&(i[l]=Bu(n,u))}return i}else return Bu(n,r)},rb=(n,r)=>{if(n<1||n>r)return console.warn(`AIC-Kits Grid: Size prop should be between 1 and ${r}. Received ${n}.`),"auto";const i=n/r,a=1-i,l=(i*100).toFixed(6).replace(/\.0+$/,""),u=a.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},ib=(n,r)=>{if(n<1||n>r-1)return console.warn(`AIC-Kits Grid: Offset prop should be between 1 and ${r-1}. Received ${n}.`),"0";const i=n/r,a=-i,l=(i*100).toFixed(6).replace(/\.0+$/,""),u=a.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},ob=({sizeValue:n,offsetValue:r,currentTotalColumns:i})=>{let a="";if(n==="auto")a+=`
313
313
  flex-basis: auto;
314
314
  flex-grow: 0;
315
315
  flex-shrink: 0; /* Prevent shrinking below content size */
@@ -324,34 +324,34 @@ function print() { __p += __j.call(arguments, '') }
324
324
  flex-basis: ${l};
325
325
  flex-grow: 0;
326
326
  flex-shrink: 0; /* Prevent shrinking when space is tight */
327
- `}return r==="auto"?a+="margin-left: auto;":typeof r=="number"?a+=`margin-left: ${ib(r,i)};`:a+="margin-left: 0;",a},ab=({size:n,offset:r,columnsContext:i})=>{let a="";const l=typeof i=="object"?i:{xs:i},u=typeof n=="object"?n:{xs:n},f=typeof r=="object"?r:{xs:r},p=Array.from(new Set([...Object.keys(Ci),...Ie.isObject(u)?Object.keys(u):[],...Ie.isObject(f)?Object.keys(f):[],...Ie.isObject(l)?Object.keys(l):[]]));p.sort((y,$)=>Ci[y]-Ci[$]);let v=typeof(l==null?void 0:l.xs)=="number"?l.xs:12;for(const y of p){l[y]!==void 0&&(v=l[y]);const $=u[y],T=f[y];if($!==void 0||T!==void 0||y==="xs"||l[y]!==void 0){const x=ob({sizeValue:$??u.xs,offsetValue:T??f.xs,currentTotalColumns:v});if(x){const b=y==="xs"?"":`@media (min-width: ${Ci[y]}px)`;b?a+=`${b} { ${x} }
327
+ `}return r==="auto"?a+="margin-left: auto;":typeof r=="number"?a+=`margin-left: ${ib(r,i)};`:a+="margin-left: 0;",a},ab=({size:n,offset:r,columnsContext:i})=>{let a="";const l=typeof i=="object"?i:{xs:i},u=typeof n=="object"?n:{xs:n},f=typeof r=="object"?r:{xs:r},h=Array.from(new Set([...Object.keys(Ci),...Fe.isObject(u)?Object.keys(u):[],...Fe.isObject(f)?Object.keys(f):[],...Fe.isObject(l)?Object.keys(l):[]]));h.sort((y,$)=>Ci[y]-Ci[$]);let b=typeof(l==null?void 0:l.xs)=="number"?l.xs:12;for(const y of h){l[y]!==void 0&&(b=l[y]);const $=u[y],T=f[y];if($!==void 0||T!==void 0||y==="xs"||l[y]!==void 0){const x=ob({sizeValue:$??u.xs,offsetValue:T??f.xs,currentTotalColumns:b});if(x){const v=y==="xs"?"":`@media (min-width: ${Ci[y]}px)`;v?a+=`${v} { ${x} }
328
328
  `:a+=x+`
329
- `}}}return Sn.css`${a}`},sb=ie(G)`
329
+ `}}}return Sn.css`${a}`},sb=oe(G)`
330
330
  box-sizing: border-box;
331
331
  margin: 0; // Reset margin by default
332
332
 
333
333
  // --- Container Styles ---
334
- ${({container:n,theme:r,spacing:i,rowSpacing:a,columnSpacing:l,columns:u})=>n&&Je`
334
+ ${({container:n,theme:r,spacing:i,rowSpacing:a,columnSpacing:l,columns:u})=>n&&nt`
335
335
  display: flex;
336
336
  flex-wrap: wrap;
337
337
  width: 100%; // Default container width
338
338
 
339
339
  // Apply spacing using gap properties (more modern)
340
340
  // Use helper to resolve responsive values
341
- ${i&&Je`gap: ${or(r,i)};`}
342
- ${a&&Je`
343
- row-gap: ${or(r,a)};
344
- --grid-row-gap: ${or(r,a)};
341
+ ${i&&nt`gap: ${ar(r,i)};`}
342
+ ${a&&nt`
343
+ row-gap: ${ar(r,a)};
344
+ --grid-row-gap: ${ar(r,a)};
345
345
  `}
346
- ${l&&Je`
347
- column-gap: ${or(r,l)};
346
+ ${l&&nt`
347
+ column-gap: ${ar(r,l)};
348
348
  /* Expose for child items so they can calc width incl. gap */
349
- --grid-column-gap: ${or(r,l)};
349
+ --grid-column-gap: ${ar(r,l)};
350
350
  `}
351
351
 
352
352
  /* Fallback when only spacing is provided (uniform gap) */
353
- ${i&&!l&&Je`
354
- --grid-column-gap: ${or(r,i)};
353
+ ${i&&!l&&nt`
354
+ --grid-column-gap: ${ar(r,i)};
355
355
  `}
356
356
 
357
357
  // Note: Fallback for browsers without gap support (e.g., negative margins)
@@ -359,16 +359,16 @@ function print() { __p += __j.call(arguments, '') }
359
359
  // Consider a polyfill or different approach if needed.
360
360
 
361
361
  // Apply custom column count styling if needed (e.g., for debugging)
362
- // ${u&&typeof u=="number"&&Je`/* Custom columns: ${u} */`}
362
+ // ${u&&typeof u=="number"&&nt`/* Custom columns: ${u} */`}
363
363
  `}
364
364
 
365
365
  // --- Item Styles ---
366
- ${({container:n,size:r,offset:i,theme:a,columnsContext:l})=>!n&&(r!==void 0||i!==void 0)&&Je`
366
+ ${({container:n,size:r,offset:i,theme:a,columnsContext:l})=>!n&&(r!==void 0||i!==void 0)&&nt`
367
367
  /* Reset margin potentially added by parent container's negative margin fallback */
368
368
  /* margin: 0; */
369
369
  ${ab({size:r,offset:i,columnsContext:l})}
370
370
  `}
371
- `,$f=d.forwardRef(({container:n=!1,spacing:r,rowSpacing:i,columnSpacing:a,columns:l=12,size:u,offset:f,children:p,...v},y)=>{const $=d.useContext(ju),T=l!==void 0?l:$.columns;return w.jsx(ju.Provider,{value:{columns:T},children:w.jsx(sb,{ref:y,container:n,spacing:n?r:void 0,rowSpacing:n?i:void 0,columnSpacing:n?a:void 0,size:u,offset:f,columns:l,columnsContext:T,...v,children:p})})});$f.displayName="Grid";const Ii=ie(qt)`
371
+ `,$f=d.forwardRef(({container:n=!1,spacing:r,rowSpacing:i,columnSpacing:a,columns:l=12,size:u,offset:f,children:h,...b},y)=>{const $=d.useContext(ju),T=l!==void 0?l:$.columns;return w.jsx(ju.Provider,{value:{columns:T},children:w.jsx(sb,{ref:y,container:n,spacing:n?r:void 0,rowSpacing:n?i:void 0,columnSpacing:n?a:void 0,size:u,offset:f,columns:l,columnsContext:T,...b,children:h})})});$f.displayName="Grid";const Ii=oe(qt)`
372
372
  border-radius: ${({theme:n,$borderRadius:r})=>n.radii[r]}px;
373
373
  width: ${({theme:n,$size:r})=>n.sizes[r]}px;
374
374
  height: ${({theme:n,$size:r})=>n.sizes[r]}px;
@@ -380,14 +380,14 @@ function print() { __p += __j.call(arguments, '') }
380
380
  background-color: ${({theme:n,$color:r,$selected:i})=>i?void 0:n.colors[r]};
381
381
  }
382
382
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
383
- `,Pu=ie(at)`
383
+ `,Pu=oe(ct)`
384
384
  color: ${({theme:n,$selected:r,$defaultColor:i})=>r?n.colors.white:n.colors[i]};
385
385
  font-size: ${({theme:n,$fontSize:r})=>n.__hd__.text.fontSizes[r]}px;
386
386
  ${Ii}:hover & {
387
387
  color: ${({theme:n,$selected:r})=>r?void 0:n.colors.white};
388
388
  }
389
389
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
390
- `,lb=ie(Ut)`
390
+ `,lb=oe(Ut)`
391
391
  color: ${({theme:n,$color:r,$selected:i})=>i?n.colors.white:n.colors[r]};
392
392
  ${Ii}:hover & {
393
393
  color: ${({theme:n,$color:r,$selected:i})=>i?n.colors[r]:n.colors.white};
@@ -395,7 +395,7 @@ function print() { __p += __j.call(arguments, '') }
395
395
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
396
396
  width: ${({theme:n,$size:r})=>n.sizes[r]}px;
397
397
  height: ${({theme:n,$size:r})=>n.sizes[r]}px;
398
- `,Tf=({type:n="page",page:r,currentPage:i,selected:a=!1,disabled:l=!1,onClick:u,shape:f="circular",size:p="medium",color:v="primary",count:y})=>{const x=_e().__hd__.pagination.item,b=x.sizes[p],m=x.shapes[f],S=M=>{if(console.log("type",n,"page",r,"currentPage",i,"count",y),l){M.stopPropagation();return}n==="first"&&(u==null||u(y&&y>=1?1:null,M)),n==="last"&&(u==null||u(y&&y>=1?y:null,M)),n==="previous"&&(u==null||u(i>=2?i-1:null,M)),n==="next"&&(u==null||u(i<=y-1?i+1:null,M)),n==="page"&&(u==null||u(r??null,M))},C=d.useMemo(()=>{switch(n){case"previous":return ba;case"next":return Lr;case"first":return Uc;case"last":return qc;default:return null}},[n]);return n==="page"?w.jsx(Ii,{onClick:a?void 0:S,useScaleAnimation:!a,useOpacityAnimation:!a,$borderRadius:m.container.borderRadius,$size:b.container.size,$selected:a,$color:v,children:w.jsx(Pu,{color:l?x.text.disabledColor:x.text.color,$defaultColor:x.defaultColor,$fontSize:b.text.fontSize,$selected:a,$color:v,children:String(r)})}):n==="end-ellipsis"||n==="start-ellipsis"?w.jsx(Pu,{color:l?x.text.disabledColor:x.text.color,$defaultColor:x.defaultColor,$fontSize:b.text.fontSize,$selected:a,$color:v,children:"..."}):w.jsx(Ii,{onClick:S,$borderRadius:m.container.borderRadius,$size:b.container.size,$selected:a,$color:v,children:C&&w.jsx(lb,{type:"icon",art:C,$color:v,$selected:a,$size:b.icon.size,weight:b.icon.weight})})},ub=({count:n,page:r,boundaryCount:i=1,siblingCount:a=1,showFirstButton:l=!1,showLastButton:u=!1,showPrevNextButtons:f=!0})=>{const p=(C,M)=>{const L=M-C+1;return Array.from({length:L},(A,O)=>C+O)},v=p(1,Math.min(i,n)),y=p(Math.max(n-i+1,i+1),n),$=Math.max(Math.min(r-a,n-i-a*2-1),i+2),T=Math.min(Math.max(r+a,i+a*2+2),y.length>0?y[0]-2:n-1),x=[];l&&x.push("first"),f&&x.push("previous"),x.push(...v);const b=v.length>0?v[v.length-1]:0;$===b+2?x.push(b+1):$>b+2&&x.push("start-ellipsis"),$<=T&&x.push(...p($,T));const m=y.length>0?y[0]:n+1;return T===m-2?x.push(m-1):T<m-2&&x.push("end-ellipsis"),x.push(...y),f&&x.push("next"),u&&x.push("last"),{items:x.filter((C,M,L)=>typeof C=="number"?C>=1&&C<=n&&L.indexOf(C)===M:L.indexOf(C)===M).map(C=>{let M,L;return typeof C=="number"?(M="page",L=C):M=C,{type:M,page:L,selected:L===r,disabled:(M==="previous"||M==="first")&&r<=1||(M==="next"||M==="last")&&r>=n}})}},cb=({count:n=1,page:r=1,onChange:i,boundaryCount:a=1,siblingCount:l=1,showFirstButton:u=!1,showLastButton:f=!1,showPrevNextButtons:p=!0,shape:v="circular",size:y="medium",color:$="primary"})=>{const x=_e().__hd__.pagination,{items:b}=ub({count:n,page:r,boundaryCount:a,siblingCount:l,showFirstButton:u,showLastButton:f,showPrevNextButtons:p}),m=d.useCallback((S,C)=>{i&&S!==null&&i(S,C)},[i]);return w.jsx(G,{display:"flex",flexDirection:"row",alignItems:"center",gap:x.container.sizes[y].gap,children:b.map((S,C)=>w.jsx(Tf,{count:n,type:S.type,page:S.page,currentPage:r,selected:S.selected,disabled:S.disabled,onClick:m,shape:v,size:y,color:$},`${S.type}-${S.page||C}`))})},fb=En`
398
+ `,Tf=({type:n="page",page:r,currentPage:i,selected:a=!1,disabled:l=!1,onClick:u,shape:f="circular",size:h="medium",color:b="primary",count:y})=>{const x=Ce().__hd__.pagination.item,v=x.sizes[h],m=x.shapes[f],S=M=>{if(console.log("type",n,"page",r,"currentPage",i,"count",y),l){M.stopPropagation();return}n==="first"&&(u==null||u(y&&y>=1?1:null,M)),n==="last"&&(u==null||u(y&&y>=1?y:null,M)),n==="previous"&&(u==null||u(i>=2?i-1:null,M)),n==="next"&&(u==null||u(i<=y-1?i+1:null,M)),n==="page"&&(u==null||u(r??null,M))},C=d.useMemo(()=>{switch(n){case"previous":return ba;case"next":return Lr;case"first":return Uc;case"last":return qc;default:return null}},[n]);return n==="page"?w.jsx(Ii,{onClick:a?void 0:S,useScaleAnimation:!a,useOpacityAnimation:!a,$borderRadius:m.container.borderRadius,$size:v.container.size,$selected:a,$color:b,children:w.jsx(Pu,{color:l?x.text.disabledColor:x.text.color,$defaultColor:x.defaultColor,$fontSize:v.text.fontSize,$selected:a,$color:b,children:String(r)})}):n==="end-ellipsis"||n==="start-ellipsis"?w.jsx(Pu,{color:l?x.text.disabledColor:x.text.color,$defaultColor:x.defaultColor,$fontSize:v.text.fontSize,$selected:a,$color:b,children:"..."}):w.jsx(Ii,{onClick:S,$borderRadius:m.container.borderRadius,$size:v.container.size,$selected:a,$color:b,children:C&&w.jsx(lb,{type:"icon",art:C,$color:b,$selected:a,$size:v.icon.size,weight:v.icon.weight})})},ub=({count:n,page:r,boundaryCount:i=1,siblingCount:a=1,showFirstButton:l=!1,showLastButton:u=!1,showPrevNextButtons:f=!0})=>{const h=(C,M)=>{const L=M-C+1;return Array.from({length:L},(A,O)=>C+O)},b=h(1,Math.min(i,n)),y=h(Math.max(n-i+1,i+1),n),$=Math.max(Math.min(r-a,n-i-a*2-1),i+2),T=Math.min(Math.max(r+a,i+a*2+2),y.length>0?y[0]-2:n-1),x=[];l&&x.push("first"),f&&x.push("previous"),x.push(...b);const v=b.length>0?b[b.length-1]:0;$===v+2?x.push(v+1):$>v+2&&x.push("start-ellipsis"),$<=T&&x.push(...h($,T));const m=y.length>0?y[0]:n+1;return T===m-2?x.push(m-1):T<m-2&&x.push("end-ellipsis"),x.push(...y),f&&x.push("next"),u&&x.push("last"),{items:x.filter((C,M,L)=>typeof C=="number"?C>=1&&C<=n&&L.indexOf(C)===M:L.indexOf(C)===M).map(C=>{let M,L;return typeof C=="number"?(M="page",L=C):M=C,{type:M,page:L,selected:L===r,disabled:(M==="previous"||M==="first")&&r<=1||(M==="next"||M==="last")&&r>=n}})}},cb=({count:n=1,page:r=1,onChange:i,boundaryCount:a=1,siblingCount:l=1,showFirstButton:u=!1,showLastButton:f=!1,showPrevNextButtons:h=!0,shape:b="circular",size:y="medium",color:$="primary"})=>{const x=Ce().__hd__.pagination,{items:v}=ub({count:n,page:r,boundaryCount:a,siblingCount:l,showFirstButton:u,showLastButton:f,showPrevNextButtons:h}),m=d.useCallback((S,C)=>{i&&S!==null&&i(S,C)},[i]);return w.jsx(G,{display:"flex",flexDirection:"row",alignItems:"center",gap:x.container.sizes[y].gap,children:v.map((S,C)=>w.jsx(Tf,{count:n,type:S.type,page:S.page,currentPage:r,selected:S.selected,disabled:S.disabled,onClick:m,shape:b,size:y,color:$},`${S.type}-${S.page||C}`))})},fb=En`
399
399
  0% {
400
400
  left: 0%;
401
401
  width: 0%;
@@ -411,7 +411,7 @@ function print() { __p += __j.call(arguments, '') }
411
411
  width: 0%; /* Smallest at the right end */
412
412
  transform: translateX(0%); /* Ensure it exits cleanly if it was translateX(100%) it would go off screen too fast */
413
413
  }
414
- `,db=ie(G)`
414
+ `,db=oe(G)`
415
415
  position: relative;
416
416
  overflow: hidden;
417
417
  height: ${({theme:n,$heightKey:r})=>n.sizes[r]}px;
@@ -420,11 +420,11 @@ function print() { __p += __j.call(arguments, '') }
420
420
  border-width: ${({theme:n,$borderWidthKey:r})=>r?n.borderWidths[r]:0}px;
421
421
  border-style: ${({$borderWidthKey:n})=>n?"solid":"none"};
422
422
  border-color: ${({theme:n,$borderColorKey:r})=>r?n.colors[r]||r:"transparent"};
423
- `,hb=ie(G)`
423
+ `,hb=oe(G)`
424
424
  width: 100%;
425
425
  height: 100%;
426
426
  position: relative; /* For absolute positioning of the indicator */
427
- `,pb=ie(G)`
427
+ `,pb=oe(G)`
428
428
  position: absolute;
429
429
  top: 0;
430
430
  bottom: 0;
@@ -433,15 +433,15 @@ function print() { __p += __j.call(arguments, '') }
433
433
  background-color: ${({theme:n,$progressColorKey:r})=>n.colors[r]};
434
434
  border-radius: ${({theme:n,$borderRadiusKey:r})=>n.radii[r]}px;
435
435
 
436
- ${({$progressValue:n})=>n!==void 0?Je`
436
+ ${({$progressValue:n})=>n!==void 0?nt`
437
437
  width: ${n}%;
438
438
  left: 0; // Explicitly set left for determinate state
439
439
  transition: width 0.3s ease-in-out;
440
- `:Je`
440
+ `:nt`
441
441
  /* Indeterminate: animation controls width and position */
442
442
  animation: ${fb} 2s infinite linear alternate;
443
443
  `}
444
- `,gb=({value:n,color:r,size:i,variant:a,testID:l="progress",...u})=>{const p=_e().__hd__.progress,v=a||p.defaultVariant,y=i||p.defaultSize,{height:$,borderRadius:T}=p.sizes[y],{containerBackgroundColor:x,containerBorderColor:b,containerBorderWidth:m,defaultProgressColor:S}=p.variants[v],C=r||S;let M=b;v==="outlined"&&(M=C);const L=n!==void 0?Math.max(0,Math.min(n,100)):void 0;return w.jsx(db,{$heightKey:$,$borderRadiusKey:T,$backgroundColorKey:x,$borderColorKey:M,$borderWidthKey:m,"data-testid":`${l}-container`,...u,children:w.jsx(hb,{"data-testid":`${l}-bar`,children:w.jsx(pb,{$progressColorKey:C,$progressValue:L,$borderRadiusKey:T,"data-testid":`${l}-indicator`})})})},mb=ie(G)`
444
+ `,gb=({value:n,color:r,size:i,variant:a,testID:l="progress",...u})=>{const h=Ce().__hd__.progress,b=a||h.defaultVariant,y=i||h.defaultSize,{height:$,borderRadius:T}=h.sizes[y],{containerBackgroundColor:x,containerBorderColor:v,containerBorderWidth:m,defaultProgressColor:S}=h.variants[b],C=r||S;let M=v;b==="outlined"&&(M=C);const L=n!==void 0?Math.max(0,Math.min(n,100)):void 0;return w.jsx(db,{$heightKey:$,$borderRadiusKey:T,$backgroundColorKey:x,$borderColorKey:M,$borderWidthKey:m,"data-testid":`${l}-container`,...u,children:w.jsx(hb,{"data-testid":`${l}-bar`,children:w.jsx(pb,{$progressColorKey:C,$progressValue:L,$borderRadiusKey:T,"data-testid":`${l}-indicator`})})})},mb=oe(G)`
445
445
  position: fixed;
446
446
  top: 0;
447
447
  left: 0;
@@ -452,23 +452,23 @@ function print() { __p += __j.call(arguments, '') }
452
452
  display: flex;
453
453
  align-items: center;
454
454
  justify-content: center;
455
- `;let Si=0,Wu;const vb=({open:n,onClose:r,children:i,"data-testid":a,...l})=>{const u=_e();if(d.useEffect(()=>{if(!(typeof document>"u"))return n&&(Si===0&&(Wu=document.body.style.overflow,document.body.style.overflow="hidden"),Si++),()=>{n&&(Si--,Si===0&&(document.body.style.overflow=Wu))}},[n]),!n)return null;const f=p=>{p.target===p.currentTarget&&(r==null||r())};return w.jsx(mb,{zIndex:u.zIndex.getZIndex("AIC_Kits_Modal"),onClick:f,"data-testid":a?`${a}-backdrop`:void 0,children:w.jsx(G,{maxHeight:"100vh",overflowY:"auto",...l,"data-testid":a?`${a}-container`:void 0,children:i})})},yb=({children:n,description:r,placement:i,backgroundColor:a,color:l})=>{const u=_e(),f=u.__hd__.tooltip,p=i??f.defaultPlacement,v=a??f.defaultBackgroundColor,y=l??f.defaultTextColor,$=d.useRef(null),T=Bi($),x=f.positioning.placements[p];return w.jsxs(G,{display:"inline-block",position:"relative",ref:$,children:[n,T&&w.jsx(G,{position:"absolute",bgColor:v,p:f.container.padding,r:f.container.borderRadius,boxShadow:f.container.shadow,zIndex:u.zIndex.getZIndex("AIC_Kits_Tooltip"),width:"max-content",maxWidth:f.container.maxWidth,...x,children:w.jsx(at,{color:y,fontSize:f.text.fontSize,children:r})})]})},bb=En`
455
+ `;let Si=0,Wu;const vb=({open:n,onClose:r,children:i,"data-testid":a,...l})=>{const u=Ce();if(d.useEffect(()=>{if(!(typeof document>"u"))return n&&(Si===0&&(Wu=document.body.style.overflow,document.body.style.overflow="hidden"),Si++),()=>{n&&(Si--,Si===0&&(document.body.style.overflow=Wu))}},[n]),!n)return null;const f=h=>{h.target===h.currentTarget&&(r==null||r())};return w.jsx(mb,{zIndex:u.zIndex.getZIndex("AIC_Kits_Modal"),onClick:f,"data-testid":a?`${a}-backdrop`:void 0,children:w.jsx(G,{maxHeight:"100vh",overflowY:"auto",...l,"data-testid":a?`${a}-container`:void 0,children:i})})},yb=({children:n,description:r,placement:i,backgroundColor:a,color:l})=>{const u=Ce(),f=u.__hd__.tooltip,h=i??f.defaultPlacement,b=a??f.defaultBackgroundColor,y=l??f.defaultTextColor,$=d.useRef(null),T=Bi($),x=f.positioning.placements[h];return w.jsxs(G,{display:"inline-block",position:"relative",ref:$,children:[n,T&&w.jsx(G,{position:"absolute",bgColor:b,p:f.container.padding,r:f.container.borderRadius,boxShadow:f.container.shadow,zIndex:u.zIndex.getZIndex("AIC_Kits_Tooltip"),width:"max-content",maxWidth:f.container.maxWidth,...x,children:w.jsx(ct,{color:y,fontSize:f.text.fontSize,children:r})})]})},bb=En`
456
456
  from {
457
457
  opacity: 0;
458
458
  }
459
459
  to {
460
460
  opacity: 1;
461
461
  }
462
- `,xb=ie(G)`
462
+ `,xb=oe(G)`
463
463
  position: relative;
464
464
  display: block;
465
- ${({$width:n,$minWidth:r,$maxWidth:i})=>{const a=n&&typeof n=="object";if(a||r&&typeof r=="object"||i&&typeof i=="object"){const v={};return typeof n=="string"?v.width=n:typeof n=="number"?(v.width="100%",i===void 0&&(v.maxWidth=`${n}px`)):a&&(v.width="100%",i===void 0&&(v.maxWidth=n)),typeof r=="number"?v.minWidth=`${r}px`:(typeof r=="string"||r)&&(v.minWidth=r),i!==void 0&&(typeof i=="string"?i==="auto"?v.maxWidth="none":v.maxWidth=i:typeof i=="number"?v.maxWidth=`${i}px`:v.maxWidth=i),lr(v)}const p={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?p.width=n:p.width="100%":typeof n=="number"&&(p.width="100%",i===void 0&&(p.maxWidth=`${n}px`)),r!==void 0&&(typeof r=="number"?p.minWidth=`${r}px`:typeof r=="string"&&(p.minWidth=r)),i!==void 0&&(typeof i=="string"?i==="auto"?p.maxWidth="none":p.maxWidth=i:typeof i=="number"&&(p.maxWidth=`${i}px`)),Je(p)}}
466
- `,wb=ie.svg`
465
+ ${({$width:n,$minWidth:r,$maxWidth:i})=>{const a=n&&typeof n=="object";if(a||r&&typeof r=="object"||i&&typeof i=="object"){const b={};return typeof n=="string"?b.width=n:typeof n=="number"?(b.width="100%",i===void 0&&(b.maxWidth=`${n}px`)):a&&(b.width="100%",i===void 0&&(b.maxWidth=n)),typeof r=="number"?b.minWidth=`${r}px`:(typeof r=="string"||r)&&(b.minWidth=r),i!==void 0&&(typeof i=="string"?i==="auto"?b.maxWidth="none":b.maxWidth=i:typeof i=="number"?b.maxWidth=`${i}px`:b.maxWidth=i),lr(b)}const h={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?h.width=n:h.width="100%":typeof n=="number"&&(h.width="100%",i===void 0&&(h.maxWidth=`${n}px`)),r!==void 0&&(typeof r=="number"?h.minWidth=`${r}px`:typeof r=="string"&&(h.minWidth=r)),i!==void 0&&(typeof i=="string"?i==="auto"?h.maxWidth="none":h.maxWidth=i:typeof i=="number"&&(h.maxWidth=`${i}px`)),nt(h)}}
466
+ `,wb=oe.svg`
467
467
  display: block;
468
468
  flex-shrink: 0;
469
469
  width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
470
470
  height: ${({$height:n})=>n?`${n}px`:"auto"};
471
- `;ie.rect`
471
+ `;oe.rect`
472
472
  fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
473
473
  animation: ${bb} ${({$animationDuration:n})=>n}ms ease-out;
474
474
  transition: opacity 0.3s ease;
@@ -477,20 +477,20 @@ function print() { __p += __j.call(arguments, '') }
477
477
  &:hover {
478
478
  opacity: 0.8;
479
479
  }
480
- `;const Du=ie.line`
480
+ `;const Du=oe.line`
481
481
  stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
482
482
  stroke-width: 1;
483
483
  shape-rendering: crispEdges;
484
- `,Ei=ie.text`
484
+ `,Ei=oe.text`
485
485
  fill: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
486
486
  font-size: 12px;
487
487
  font-family: ${({theme:n})=>n.fonts.neutral};
488
- `,_b=ie.line`
488
+ `,_b=oe.line`
489
489
  stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
490
490
  stroke-width: 1;
491
491
  stroke-dasharray: 2, 2;
492
492
  opacity: 0.3;
493
- `,Cb=({data:n,width:r=400,minWidth:i=200,maxWidth:a,height:l=300,chartMargin:u,color:f,size:p,variant:v,showGrid:y=!0,showXAxis:$=!0,showYAxis:T=!0,orientation:x="vertical",testID:b="bar-chart",...m})=>{var je,Ne,Xe;const S=_e(),C=(je=S.__hd__)==null?void 0:je.barChart,M=d.useRef(null),[L,A]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const U=r.match(/^(\d+(?:\.\d+)?)px$/);if(U)return parseFloat(U[1])}return 400}),[O,z]=d.useState(40),D=v||(C==null?void 0:C.defaultVariant)||"default",H=p||(C==null?void 0:C.defaultSize)||"md";d.useEffect(()=>{if(!T||x!=="vertical"||(u==null?void 0:u.left)!==void 0)return;const U=document.createElementNS("http://www.w3.org/2000/svg","svg");U.style.position="absolute",U.style.visibility="hidden",U.style.pointerEvents="none",document.body.appendChild(U);const F=document.createElementNS("http://www.w3.org/2000/svg","text");F.style.fontSize="12px",F.style.fontFamily=S.fonts.neutral||"sans-serif",U.appendChild(F);const X=n.map(xe=>xe.value),ee=X.length>0?Math.max(...X):100,ce=5;let me=0;for(let xe=0;xe<ce;xe++){const He=ee/(ce-1)*xe;F.textContent=Math.round(He).toString();const dt=F.getBBox();me=Math.max(me,dt.width)}document.body.removeChild(U),z(Math.ceil(me)+15)},[n,S.fonts.neutral,T,x,u==null?void 0:u.left]),d.useEffect(()=>{if(!T||x!=="horizontal"||(u==null?void 0:u.left)!==void 0)return;const U=document.createElementNS("http://www.w3.org/2000/svg","svg");U.style.position="absolute",U.style.visibility="hidden",U.style.pointerEvents="none",document.body.appendChild(U);const F=document.createElementNS("http://www.w3.org/2000/svg","text");F.style.fontSize="12px",F.style.fontFamily=S.fonts.neutral||"sans-serif",U.appendChild(F);let X=0;n.forEach(ee=>{F.textContent=ee.label;const ce=F.getBBox();X=Math.max(X,ce.width)}),document.body.removeChild(U),z(Math.ceil(X)+15)},[n,S.fonts.neutral,T,x,u==null?void 0:u.left]);const q={top:(u==null?void 0:u.top)??20,right:(u==null?void 0:u.right)??20,bottom:(u==null?void 0:u.bottom)??40,left:(u==null?void 0:u.left)??O};sr(()=>{const U=M.current;if(!U)return;const F=()=>{if(typeof r=="number"){A(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const ce=r.match(/^(\d+(?:\.\d+)?)px$/);if(ce){A(parseFloat(ce[1]));return}}const ee=U.clientWidth;ee>0&&A(ee)};F();let X;return typeof ResizeObserver<"u"?(X=new ResizeObserver(F),X.observe(U)):window.addEventListener("resize",F),()=>{X?X.disconnect():window.removeEventListener("resize",F)}},[r,i,a]);const le=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const U=l.match(/^(\d+(?:\.\d+)?)px$/);if(U)return parseFloat(U[1])}return 300})(),{barRadius:pe=4,axisColor:Ce="grey600",gridColor:N="grey200",labelColor:B="grey600"}=((Ne=C==null?void 0:C.sizes)==null?void 0:Ne[H])||{},{defaultBarColor:Z="primary"}=((Xe=C==null?void 0:C.variants)==null?void 0:Xe[D])||{},re=f||Z,J=Math.max(0,L-q.left-q.right),K=Math.max(0,le-q.top-q.bottom),Q=n.map(U=>U.value),ae=Q.length>0?Math.max(...Q):100,Te=.6,be=x==="vertical"?J/Math.max(n.length,1):K/Math.max(n.length,1),Fe=Math.max(be*Te,1),Re=U=>{const F=ae||100,X=U||0;return x==="vertical"?X/F*K:X/F*J},ze=d.useMemo(()=>Array.from({length:5},(F,X)=>{const ee=ae/4*X,ce=ae||100,me=ee||0,xe=x==="vertical"?K-me/ce*K:me/ce*J;return{value:ee,position:xe}}),[ae,K,J,x]);return w.jsx(xb,{ref:M,"data-testid":`${b}-container`,$width:r,$minWidth:i,$maxWidth:a,...m,children:w.jsxs(wb,{$width:L,$height:le,viewBox:`0 0 ${L} ${le}`,role:"img","aria-label":"Bar chart","data-testid":`${b}-svg`,children:[w.jsx("title",{children:"Bar chart"}),w.jsxs("g",{transform:`translate(${q.left}, ${q.top})`,children:[y&&ze.map((U,F)=>w.jsx(_b,{$colorKey:N,x1:x==="vertical"?0:U.position,y1:x==="vertical"?U.position:0,x2:x==="vertical"?J:U.position,y2:x==="vertical"?U.position:K,"data-testid":`${b}-grid-line-${F}`},F)),n.map((U,F)=>{const X=Re(U.value);let ee,ce,me,xe;if(x==="vertical")ee=F*be+(be-Fe)/2,ce=K-X,me=Fe,xe=X;else{const et=F*be;ee=0,ce=et+(be-Fe)/2,me=X,xe=Fe}const He=2,dt=Math.max(me,He),Ye=Math.max(xe,He),ut=U.color||re,wt=S.colors[ut]||ut||"#6949FF";return w.jsx("rect",{x:ee,y:ce,width:dt,height:Ye,fill:wt,rx:Math.min(pe,Ye/2,dt/2),ry:Math.min(pe,Ye/2,dt/2),opacity:.9,cursor:"pointer",onMouseEnter:et=>{et.currentTarget.style.opacity="1",et.currentTarget.style.filter="brightness(1.1)"},onMouseLeave:et=>{et.currentTarget.style.opacity="0.9",et.currentTarget.style.filter="brightness(1)"},"data-testid":`${b}-bar-${F}`},F)}),$&&w.jsxs(w.Fragment,{children:[w.jsx(Du,{$colorKey:Ce,x1:0,y1:K,x2:J,y2:K,"data-testid":`${b}-x-axis`}),x==="vertical"&&n.map((U,F)=>w.jsx(Ei,{x:F*be+be/2,y:K+20,$colorKey:B,textAnchor:"middle","data-testid":`${b}-x-label-${F}`,children:U.label},F)),x==="horizontal"&&ze.map((U,F)=>w.jsxs("g",{children:[w.jsx("line",{x1:U.position,y1:K,x2:U.position,y2:K+5,stroke:S.colors[Ce]||Ce,strokeWidth:1}),w.jsx(Ei,{x:U.position,y:K+20,$colorKey:B,textAnchor:"middle","data-testid":`${b}-x-value-${F}`,children:Math.round(U.value)})]},`x-tick-${F}`))]}),T&&w.jsxs(w.Fragment,{children:[w.jsx(Du,{$colorKey:Ce,x1:0,y1:0,x2:0,y2:K,"data-testid":`${b}-y-axis`}),x==="vertical"&&ze.map((U,F)=>w.jsxs("g",{children:[w.jsx("line",{x1:-5,y1:U.position,x2:0,y2:U.position,stroke:S.colors[Ce]||Ce,strokeWidth:1}),w.jsx(Ei,{x:-10,y:U.position,$colorKey:B,textAnchor:"end",dominantBaseline:"middle","data-testid":`${b}-y-value-${F}`,children:Math.round(U.value)})]},`y-tick-${F}`)),x==="horizontal"&&n.map((U,F)=>{const X=F*be+be/2;return w.jsx(Ei,{x:-10,y:X,$colorKey:B,textAnchor:"end",dominantBaseline:"middle","data-testid":`${b}-y-label-${F}`,children:U.label},`y-cat-${F}`)})]})]})]})})},Sb=En`
493
+ `,Cb=({data:n,width:r=400,minWidth:i=200,maxWidth:a,height:l=300,chartMargin:u,color:f,size:h,variant:b,showGrid:y=!0,showXAxis:$=!0,showYAxis:T=!0,orientation:x="vertical",testID:v="bar-chart",...m})=>{var Ye,De,Ke;const S=Ce(),C=(Ye=S.__hd__)==null?void 0:Ye.barChart,M=d.useRef(null),[L,A]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const Z=r.match(/^(\d+(?:\.\d+)?)px$/);if(Z)return parseFloat(Z[1])}return 400}),[O,F]=d.useState(40),W=b||(C==null?void 0:C.defaultVariant)||"default",N=h||(C==null?void 0:C.defaultSize)||"md";d.useEffect(()=>{if(!T||x!=="vertical"||(u==null?void 0:u.left)!==void 0)return;const Z=document.createElementNS("http://www.w3.org/2000/svg","svg");Z.style.position="absolute",Z.style.visibility="hidden",Z.style.pointerEvents="none",document.body.appendChild(Z);const Y=document.createElementNS("http://www.w3.org/2000/svg","text");Y.style.fontSize="12px",Y.style.fontFamily=S.fonts.neutral||"sans-serif",Z.appendChild(Y);const ae=n.map(re=>re.value),le=ae.length>0?Math.max(...ae):100,U=5;let te=0;for(let re=0;re<U;re++){const Oe=le/(U-1)*re;Y.textContent=Math.round(Oe).toString();const Ae=Y.getBBox();te=Math.max(te,Ae.width)}document.body.removeChild(Z),F(Math.ceil(te)+15)},[n,S.fonts.neutral,T,x,u==null?void 0:u.left]),d.useEffect(()=>{if(!T||x!=="horizontal"||(u==null?void 0:u.left)!==void 0)return;const Z=document.createElementNS("http://www.w3.org/2000/svg","svg");Z.style.position="absolute",Z.style.visibility="hidden",Z.style.pointerEvents="none",document.body.appendChild(Z);const Y=document.createElementNS("http://www.w3.org/2000/svg","text");Y.style.fontSize="12px",Y.style.fontFamily=S.fonts.neutral||"sans-serif",Z.appendChild(Y);let ae=0;n.forEach(le=>{Y.textContent=le.label;const U=Y.getBBox();ae=Math.max(ae,U.width)}),document.body.removeChild(Z),F(Math.ceil(ae)+15)},[n,S.fonts.neutral,T,x,u==null?void 0:u.left]);const q={top:(u==null?void 0:u.top)??20,right:(u==null?void 0:u.right)??20,bottom:(u==null?void 0:u.bottom)??40,left:(u==null?void 0:u.left)??O};Pn(()=>{const Z=M.current;if(!Z)return;const Y=()=>{if(typeof r=="number"){A(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const U=r.match(/^(\d+(?:\.\d+)?)px$/);if(U){A(parseFloat(U[1]));return}}const le=Z.clientWidth;le>0&&A(le)};Y();let ae;return typeof ResizeObserver<"u"?(ae=new ResizeObserver(Y),ae.observe(Z)):window.addEventListener("resize",Y),()=>{ae?ae.disconnect():window.removeEventListener("resize",Y)}},[r,i,a]);const fe=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const Z=l.match(/^(\d+(?:\.\d+)?)px$/);if(Z)return parseFloat(Z[1])}return 300})(),{barRadius:ye=4,axisColor:we="grey600",gridColor:D="grey200",labelColor:j="grey600"}=((De=C==null?void 0:C.sizes)==null?void 0:De[N])||{},{defaultBarColor:H="primary"}=((Ke=C==null?void 0:C.variants)==null?void 0:Ke[W])||{},ie=f||H,J=Math.max(0,L-q.left-q.right),K=Math.max(0,fe-q.top-q.bottom),X=n.map(Z=>Z.value),ce=X.length>0?Math.max(...X):100,Te=.6,be=x==="vertical"?J/Math.max(n.length,1):K/Math.max(n.length,1),Be=Math.max(be*Te,1),Le=Z=>{const Y=ce||100,ae=Z||0;return x==="vertical"?ae/Y*K:ae/Y*J},Ve=d.useMemo(()=>Array.from({length:5},(Y,ae)=>{const le=ce/4*ae,U=ce||100,te=le||0,re=x==="vertical"?K-te/U*K:te/U*J;return{value:le,position:re}}),[ce,K,J,x]);return w.jsx(xb,{ref:M,"data-testid":`${v}-container`,$width:r,$minWidth:i,$maxWidth:a,...m,children:w.jsxs(wb,{$width:L,$height:fe,viewBox:`0 0 ${L} ${fe}`,role:"img","aria-label":"Bar chart","data-testid":`${v}-svg`,children:[w.jsx("title",{children:"Bar chart"}),w.jsxs("g",{transform:`translate(${q.left}, ${q.top})`,children:[y&&Ve.map((Z,Y)=>w.jsx(_b,{$colorKey:D,x1:x==="vertical"?0:Z.position,y1:x==="vertical"?Z.position:0,x2:x==="vertical"?J:Z.position,y2:x==="vertical"?Z.position:K,"data-testid":`${v}-grid-line-${Y}`},Y)),n.map((Z,Y)=>{const ae=Le(Z.value);let le,U,te,re;if(x==="vertical")le=Y*be+(be-Be)/2,U=K-ae,te=Be,re=ae;else{const et=Y*be;le=0,U=et+(be-Be)/2,te=ae,re=Be}const Oe=2,Ae=Math.max(te,Oe),Pe=Math.max(re,Oe),Qe=Z.color||ie,at=S.colors[Qe]||Qe||"#6949FF";return w.jsx("rect",{x:le,y:U,width:Ae,height:Pe,fill:at,rx:Math.min(ye,Pe/2,Ae/2),ry:Math.min(ye,Pe/2,Ae/2),opacity:.9,cursor:"pointer",onMouseEnter:et=>{et.currentTarget.style.opacity="1",et.currentTarget.style.filter="brightness(1.1)"},onMouseLeave:et=>{et.currentTarget.style.opacity="0.9",et.currentTarget.style.filter="brightness(1)"},"data-testid":`${v}-bar-${Y}`},Y)}),$&&w.jsxs(w.Fragment,{children:[w.jsx(Du,{$colorKey:we,x1:0,y1:K,x2:J,y2:K,"data-testid":`${v}-x-axis`}),x==="vertical"&&n.map((Z,Y)=>w.jsx(Ei,{x:Y*be+be/2,y:K+20,$colorKey:j,textAnchor:"middle","data-testid":`${v}-x-label-${Y}`,children:Z.label},Y)),x==="horizontal"&&Ve.map((Z,Y)=>w.jsxs("g",{children:[w.jsx("line",{x1:Z.position,y1:K,x2:Z.position,y2:K+5,stroke:S.colors[we]||we,strokeWidth:1}),w.jsx(Ei,{x:Z.position,y:K+20,$colorKey:j,textAnchor:"middle","data-testid":`${v}-x-value-${Y}`,children:Math.round(Z.value)})]},`x-tick-${Y}`))]}),T&&w.jsxs(w.Fragment,{children:[w.jsx(Du,{$colorKey:we,x1:0,y1:0,x2:0,y2:K,"data-testid":`${v}-y-axis`}),x==="vertical"&&Ve.map((Z,Y)=>w.jsxs("g",{children:[w.jsx("line",{x1:-5,y1:Z.position,x2:0,y2:Z.position,stroke:S.colors[we]||we,strokeWidth:1}),w.jsx(Ei,{x:-10,y:Z.position,$colorKey:j,textAnchor:"end",dominantBaseline:"middle","data-testid":`${v}-y-value-${Y}`,children:Math.round(Z.value)})]},`y-tick-${Y}`)),x==="horizontal"&&n.map((Z,Y)=>{const ae=Y*be+be/2;return w.jsx(Ei,{x:-10,y:ae,$colorKey:j,textAnchor:"end",dominantBaseline:"middle","data-testid":`${v}-y-label-${Y}`,children:Z.label},`y-cat-${Y}`)})]})]})]})})},Sb=En`
494
494
  from {
495
495
  opacity: 0;
496
496
  transform: scale(0.8);
@@ -499,20 +499,20 @@ function print() { __p += __j.call(arguments, '') }
499
499
  opacity: 1;
500
500
  transform: scale(1);
501
501
  }
502
- `,Eb=ie(G)`
502
+ `,Eb=oe(G)`
503
503
  position: relative;
504
504
  display: ${({$showLegend:n,$legendPosition:r})=>n?"flex":"inline-flex"};
505
505
  flex-direction: ${({$legendPosition:n})=>n==="left"?"row-reverse":n==="right"?"row":"column"};
506
506
  align-items: ${({$legendPosition:n})=>"center"};
507
507
  justify-content: center;
508
508
  gap: 20px;
509
- ${({$width:n,$height:r,$minWidth:i,$maxWidth:a,$minHeight:l,$maxHeight:u})=>{const f=n&&typeof n=="object",p=r&&typeof r=="object";if(f||p||i&&typeof i=="object"||a&&typeof a=="object"||l&&typeof l=="object"||u&&typeof u=="object"){const m={};return typeof n=="string"?m.width=n:typeof n=="number"?(m.width="100%",a===void 0&&(m.maxWidth=`${n}px`)):f&&(m.width="100%",a===void 0&&(m.maxWidth=n)),typeof r=="string"?m.height=r:typeof r=="number"?(m.height="auto",u===void 0&&(m.maxHeight=`${r}px`)):p&&(m.height="auto",u===void 0&&(m.maxHeight=r)),typeof i=="number"?m.minWidth=`${i}px`:(typeof i=="string"||i)&&(m.minWidth=i),a!==void 0&&(typeof a=="string"?a==="auto"?m.maxWidth="none":m.maxWidth=a:typeof a=="number"?m.maxWidth=`${a}px`:m.maxWidth=a),typeof l=="number"?m.minHeight=`${l}px`:(typeof l=="string"||l)&&(m.minHeight=l),u!==void 0&&(typeof u=="string"?u==="auto"?m.maxHeight="none":m.maxHeight=u:typeof u=="number"?m.maxHeight=`${u}px`:m.maxHeight=u),lr(m)}const b={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?b.width=n:b.width="100%":typeof n=="number"&&(b.width="100%",a===void 0&&(b.maxWidth=`${n}px`)),typeof r=="string"?r==="auto"||r==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(r)?b.height=r:b.height="auto":typeof r=="number"&&(b.height="auto",u===void 0&&(b.maxHeight=`${r}px`)),i!==void 0&&(typeof i=="number"?b.minWidth=`${i}px`:typeof i=="string"&&(b.minWidth=i)),a!==void 0&&(typeof a=="string"?a==="auto"?b.maxWidth="none":b.maxWidth=a:typeof a=="number"&&(b.maxWidth=`${a}px`)),l!==void 0&&(typeof l=="number"?b.minHeight=`${l}px`:typeof l=="string"&&(b.minHeight=l)),u!==void 0&&(typeof u=="string"?u==="auto"?b.maxHeight="none":b.maxHeight=u:typeof u=="number"&&(b.maxHeight=`${u}px`)),Je(b)}}
510
- `,Ab=ie.svg`
509
+ ${({$width:n,$height:r,$minWidth:i,$maxWidth:a,$minHeight:l,$maxHeight:u})=>{const f=n&&typeof n=="object",h=r&&typeof r=="object";if(f||h||i&&typeof i=="object"||a&&typeof a=="object"||l&&typeof l=="object"||u&&typeof u=="object"){const m={};return typeof n=="string"?m.width=n:typeof n=="number"?(m.width="100%",a===void 0&&(m.maxWidth=`${n}px`)):f&&(m.width="100%",a===void 0&&(m.maxWidth=n)),typeof r=="string"?m.height=r:typeof r=="number"?(m.height="auto",u===void 0&&(m.maxHeight=`${r}px`)):h&&(m.height="auto",u===void 0&&(m.maxHeight=r)),typeof i=="number"?m.minWidth=`${i}px`:(typeof i=="string"||i)&&(m.minWidth=i),a!==void 0&&(typeof a=="string"?a==="auto"?m.maxWidth="none":m.maxWidth=a:typeof a=="number"?m.maxWidth=`${a}px`:m.maxWidth=a),typeof l=="number"?m.minHeight=`${l}px`:(typeof l=="string"||l)&&(m.minHeight=l),u!==void 0&&(typeof u=="string"?u==="auto"?m.maxHeight="none":m.maxHeight=u:typeof u=="number"?m.maxHeight=`${u}px`:m.maxHeight=u),lr(m)}const v={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?v.width=n:v.width="100%":typeof n=="number"&&(v.width="100%",a===void 0&&(v.maxWidth=`${n}px`)),typeof r=="string"?r==="auto"||r==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(r)?v.height=r:v.height="auto":typeof r=="number"&&(v.height="auto",u===void 0&&(v.maxHeight=`${r}px`)),i!==void 0&&(typeof i=="number"?v.minWidth=`${i}px`:typeof i=="string"&&(v.minWidth=i)),a!==void 0&&(typeof a=="string"?a==="auto"?v.maxWidth="none":v.maxWidth=a:typeof a=="number"&&(v.maxWidth=`${a}px`)),l!==void 0&&(typeof l=="number"?v.minHeight=`${l}px`:typeof l=="string"&&(v.minHeight=l)),u!==void 0&&(typeof u=="string"?u==="auto"?v.maxHeight="none":v.maxHeight=u:typeof u=="number"&&(v.maxHeight=`${u}px`)),nt(v)}}
510
+ `,Ab=oe.svg`
511
511
  display: block;
512
512
  flex-shrink: 0;
513
513
  width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
514
514
  height: ${({$height:n})=>n?`${n}px`:"auto"};
515
- `,$b=ie.path`
515
+ `,$b=oe.path`
516
516
  fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
517
517
  stroke: ${({theme:n,$strokeColorKey:r})=>n.colors[r]||r};
518
518
  stroke-width: ${({$strokeWidth:n})=>n}px;
@@ -525,7 +525,7 @@ function print() { __p += __j.call(arguments, '') }
525
525
  transform: scale(1.1);
526
526
  filter: brightness(1.1);
527
527
  }
528
- `,Tb=ie.text`
528
+ `,Tb=oe.text`
529
529
  fill: white;
530
530
  font-size: ${({$fontSize:n})=>n}px;
531
531
  font-family: ${({theme:n})=>n.fonts.neutral};
@@ -533,14 +533,14 @@ function print() { __p += __j.call(arguments, '') }
533
533
  pointer-events: none;
534
534
  user-select: none;
535
535
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
536
- `,kb=ie(G)`
536
+ `,kb=oe(G)`
537
537
  display: flex;
538
538
  flex-direction: ${({$position:n})=>n==="left"||n==="right"?"column":"row"};
539
539
  flex-wrap: ${({$position:n})=>n==="top"||n==="bottom"?"wrap":"nowrap"};
540
540
  gap: ${({$spacing:n})=>n}px;
541
541
  padding: ${({$spacing:n})=>n}px;
542
- ${({$position:n})=>n==="top"?Je`margin-bottom: 20px;`:n==="bottom"?Je`margin-top: 20px;`:n==="left"?Je`margin-right: 20px;`:n==="right"?Je`margin-left: 20px;`:""}
543
- `,Rb=ie(G)`
542
+ ${({$position:n})=>n==="top"?nt`margin-bottom: 20px;`:n==="bottom"?nt`margin-top: 20px;`:n==="left"?nt`margin-right: 20px;`:n==="right"?nt`margin-left: 20px;`:""}
543
+ `,Rb=oe(G)`
544
544
  display: flex;
545
545
  align-items: center;
546
546
  gap: ${({$spacing:n})=>n/2}px;
@@ -550,29 +550,29 @@ function print() { __p += __j.call(arguments, '') }
550
550
  &:hover {
551
551
  opacity: 0.8;
552
552
  }
553
- `,Lb=ie(G)`
553
+ `,Lb=oe(G)`
554
554
  width: ${({$size:n})=>n}px;
555
555
  height: ${({$size:n})=>n}px;
556
556
  background-color: ${({theme:n,$colorKey:r})=>n.colors[r]};
557
557
  border-radius: 2px;
558
558
  flex-shrink: 0;
559
- `,Ob=ie.span`
559
+ `,Ob=oe.span`
560
560
  font-size: ${({$fontSize:n})=>n}px;
561
561
  color: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
562
562
  font-family: ${({theme:n})=>n.fonts.neutral};
563
563
  white-space: nowrap;
564
- `,Ib=(n,r,i,a)=>{const l=n*Math.PI/180,u=r*Math.PI/180,f=Math.cos(l)*a,p=Math.sin(l)*a,v=Math.cos(u)*a,y=Math.sin(u)*a,$=r-n>180?1:0;if(i>0){const T=Math.cos(l)*i,x=Math.sin(l)*i,b=Math.cos(u)*i,m=Math.sin(u)*i;return`
565
- M ${f} ${p}
566
- A ${a} ${a} 0 ${$} 1 ${v} ${y}
567
- L ${b} ${m}
564
+ `,Ib=(n,r,i,a)=>{const l=n*Math.PI/180,u=r*Math.PI/180,f=Math.cos(l)*a,h=Math.sin(l)*a,b=Math.cos(u)*a,y=Math.sin(u)*a,$=r-n>180?1:0;if(i>0){const T=Math.cos(l)*i,x=Math.sin(l)*i,v=Math.cos(u)*i,m=Math.sin(u)*i;return`
565
+ M ${f} ${h}
566
+ A ${a} ${a} 0 ${$} 1 ${b} ${y}
567
+ L ${v} ${m}
568
568
  A ${i} ${i} 0 ${$} 0 ${T} ${x}
569
569
  Z
570
570
  `}else return`
571
571
  M 0 0
572
- L ${f} ${p}
573
- A ${a} ${a} 0 ${$} 1 ${v} ${y}
572
+ L ${f} ${h}
573
+ A ${a} ${a} 0 ${$} 1 ${b} ${y}
574
574
  Z
575
- `},Mb=({data:n,width:r=400,height:i=400,minWidth:a=200,maxWidth:l,minHeight:u=200,maxHeight:f,innerRadius:p=0,outerRadius:v,padAngle:y=0,size:$,variant:T,showLabels:x=!1,showLegend:b=!0,legendPosition:m="right",animationDuration:S=300,startAngle:C=-90,testID:M="pie-chart",...L})=>{var Ne,Xe;const O=_e().__hd__.pieChart,z=d.useRef(null),[D,H]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const U=r.match(/^(\d+(?:\.\d+)?)px$/);if(U)return parseFloat(U[1])}return 400}),[q,le]=d.useState(()=>{if(typeof i=="number")return i;if(typeof i=="string"){const U=i.match(/^(\d+(?:\.\d+)?)px$/);if(U)return parseFloat(U[1])}return 400}),pe=T||(O==null?void 0:O.defaultVariant)||"default",Ce=$||(O==null?void 0:O.defaultSize)||"md";sr(()=>{const U=z.current;if(!U)return;const F=()=>{if(typeof r=="number"){H(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const ce=r.match(/^(\d+(?:\.\d+)?)px$/);if(ce){H(parseFloat(ce[1]));return}}const ee=U.clientWidth;ee>0&&H(ee)};F();let X;return typeof ResizeObserver<"u"?(X=new ResizeObserver(F),X.observe(U)):window.addEventListener("resize",F),()=>{X?X.disconnect():window.removeEventListener("resize",F)}},[r,a,l]),sr(()=>{const U=z.current;if(!U)return;const F=()=>{if(typeof i=="number"){le(i);return}if(typeof i=="string"&&/^\d+(?:\.\d+)?px$/.test(i)){const ce=i.match(/^(\d+(?:\.\d+)?)px$/);if(ce){le(parseFloat(ce[1]));return}}const ee=U.clientHeight;ee>0&&le(ee)};F();let X;return typeof ResizeObserver<"u"?(X=new ResizeObserver(F),X.observe(U)):window.addEventListener("resize",F),()=>{X?X.disconnect():window.removeEventListener("resize",F)}},[i,u,f]);const{strokeWidth:N=1,strokeColor:B="white",labelColor:Z="grey600",labelFontSize:re=12,legendFontSize:J=14,legendSpacing:K=8}=((Ne=O==null?void 0:O.sizes)==null?void 0:Ne[Ce])||{},{defaultColors:Q=["primary","secondary","success","warning","danger"]}=((Xe=O==null?void 0:O.variants)==null?void 0:Xe[pe])||{},ae=Math.min(D,q),Te=ae/2,be=ae/2,Fe=v||ae/2-20,Re=p*Fe,ze=d.useMemo(()=>{const U=n.reduce((X,ee)=>X+ee.value,0);let F=C;return n.map((X,ee)=>{const ce=X.value/U*100,me=X.value/U*360-y,xe={...X,percentage:ce,startAngle:F,endAngle:F+me,midAngle:F+me/2,color:X.color||Q[ee%Q.length]};return F+=me+y,xe})},[n,C,y,Q]),je=(U,F)=>{const X=U*Math.PI/180,ee=Re>0?(Re+Fe)/2:F*.7;return{x:Math.cos(X)*ee,y:Math.sin(X)*ee}};return w.jsxs(Eb,{ref:z,$legendPosition:m,$showLegend:b,$width:r,$height:i,$minWidth:a,$maxWidth:l||r,$minHeight:u,$maxHeight:f||i,"data-testid":`${M}-container`,...L,children:[w.jsxs(Ab,{$width:ae,$height:ae,viewBox:`0 0 ${ae} ${ae}`,role:"img","aria-label":"Pie chart","data-testid":`${M}-svg`,children:[w.jsx("title",{children:"Pie chart"}),w.jsx("g",{transform:`translate(${Te}, ${be})`,children:ze.map((U,F)=>{const X=Ib(U.startAngle,U.endAngle,Re,Fe),ee=je(U.midAngle,Fe);return w.jsxs("g",{children:[w.jsx($b,{d:X,$colorKey:U.color,$strokeWidth:N,$strokeColorKey:B,$animationDuration:S,$startAngle:U.startAngle,$endAngle:U.endAngle,"data-testid":`${M}-slice-${F}`}),x&&w.jsxs(Tb,{x:ee.x,y:ee.y,$colorKey:Z,$fontSize:re,textAnchor:"middle",dominantBaseline:"middle","data-testid":`${M}-label-${F}`,children:[U.percentage.toFixed(1),"%"]})]},F)})})]}),b&&w.jsx(kb,{$position:m,$spacing:K,"data-testid":`${M}-legend`,children:ze.map((U,F)=>w.jsxs(Rb,{$spacing:K,"data-testid":`${M}-legend-item-${F}`,children:[w.jsx(Lb,{$colorKey:U.color,$size:J}),w.jsxs(Ob,{$fontSize:J,$colorKey:Z,children:[U.label," (",U.percentage.toFixed(1),"%)"]})]},F))})]})},Fb=En`
575
+ `},Mb=({data:n,width:r=400,height:i=400,minWidth:a=200,maxWidth:l,minHeight:u=200,maxHeight:f,innerRadius:h=0,outerRadius:b,padAngle:y=0,size:$,variant:T,showLabels:x=!1,showLegend:v=!0,legendPosition:m="right",animationDuration:S=300,startAngle:C=-90,testID:M="pie-chart",...L})=>{var De,Ke;const O=Ce().__hd__.pieChart,F=d.useRef(null),[W,N]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const Z=r.match(/^(\d+(?:\.\d+)?)px$/);if(Z)return parseFloat(Z[1])}return 400}),[q,fe]=d.useState(()=>{if(typeof i=="number")return i;if(typeof i=="string"){const Z=i.match(/^(\d+(?:\.\d+)?)px$/);if(Z)return parseFloat(Z[1])}return 400}),ye=T||(O==null?void 0:O.defaultVariant)||"default",we=$||(O==null?void 0:O.defaultSize)||"md";Pn(()=>{const Z=F.current;if(!Z)return;const Y=()=>{if(typeof r=="number"){N(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const U=r.match(/^(\d+(?:\.\d+)?)px$/);if(U){N(parseFloat(U[1]));return}}const le=Z.clientWidth;le>0&&N(le)};Y();let ae;return typeof ResizeObserver<"u"?(ae=new ResizeObserver(Y),ae.observe(Z)):window.addEventListener("resize",Y),()=>{ae?ae.disconnect():window.removeEventListener("resize",Y)}},[r,a,l]),Pn(()=>{const Z=F.current;if(!Z)return;const Y=()=>{if(typeof i=="number"){fe(i);return}if(typeof i=="string"&&/^\d+(?:\.\d+)?px$/.test(i)){const U=i.match(/^(\d+(?:\.\d+)?)px$/);if(U){fe(parseFloat(U[1]));return}}const le=Z.clientHeight;le>0&&fe(le)};Y();let ae;return typeof ResizeObserver<"u"?(ae=new ResizeObserver(Y),ae.observe(Z)):window.addEventListener("resize",Y),()=>{ae?ae.disconnect():window.removeEventListener("resize",Y)}},[i,u,f]);const{strokeWidth:D=1,strokeColor:j="white",labelColor:H="grey600",labelFontSize:ie=12,legendFontSize:J=14,legendSpacing:K=8}=((De=O==null?void 0:O.sizes)==null?void 0:De[we])||{},{defaultColors:X=["primary","secondary","success","warning","danger"]}=((Ke=O==null?void 0:O.variants)==null?void 0:Ke[ye])||{},ce=Math.min(W,q),Te=ce/2,be=ce/2,Be=b||ce/2-20,Le=h*Be,Ve=d.useMemo(()=>{const Z=n.reduce((ae,le)=>ae+le.value,0);let Y=C;return n.map((ae,le)=>{const U=ae.value/Z*100,te=ae.value/Z*360-y,re={...ae,percentage:U,startAngle:Y,endAngle:Y+te,midAngle:Y+te/2,color:ae.color||X[le%X.length]};return Y+=te+y,re})},[n,C,y,X]),Ye=(Z,Y)=>{const ae=Z*Math.PI/180,le=Le>0?(Le+Be)/2:Y*.7;return{x:Math.cos(ae)*le,y:Math.sin(ae)*le}};return w.jsxs(Eb,{ref:F,$legendPosition:m,$showLegend:v,$width:r,$height:i,$minWidth:a,$maxWidth:l||r,$minHeight:u,$maxHeight:f||i,"data-testid":`${M}-container`,...L,children:[w.jsxs(Ab,{$width:ce,$height:ce,viewBox:`0 0 ${ce} ${ce}`,role:"img","aria-label":"Pie chart","data-testid":`${M}-svg`,children:[w.jsx("title",{children:"Pie chart"}),w.jsx("g",{transform:`translate(${Te}, ${be})`,children:Ve.map((Z,Y)=>{const ae=Ib(Z.startAngle,Z.endAngle,Le,Be),le=Ye(Z.midAngle,Be);return w.jsxs("g",{children:[w.jsx($b,{d:ae,$colorKey:Z.color,$strokeWidth:D,$strokeColorKey:j,$animationDuration:S,$startAngle:Z.startAngle,$endAngle:Z.endAngle,"data-testid":`${M}-slice-${Y}`}),x&&w.jsxs(Tb,{x:le.x,y:le.y,$colorKey:H,$fontSize:ie,textAnchor:"middle",dominantBaseline:"middle","data-testid":`${M}-label-${Y}`,children:[Z.percentage.toFixed(1),"%"]})]},Y)})})]}),v&&w.jsx(kb,{$position:m,$spacing:K,"data-testid":`${M}-legend`,children:Ve.map((Z,Y)=>w.jsxs(Rb,{$spacing:K,"data-testid":`${M}-legend-item-${Y}`,children:[w.jsx(Lb,{$colorKey:Z.color,$size:J}),w.jsxs(Ob,{$fontSize:J,$colorKey:H,children:[Z.label," (",Z.percentage.toFixed(1),"%)"]})]},Y))})]})},Fb=En`
576
576
  from {
577
577
  stroke-dashoffset: 1000;
578
578
  }
@@ -599,16 +599,16 @@ function print() { __p += __j.call(arguments, '') }
599
599
  transform: scale(1);
600
600
  opacity: 1;
601
601
  }
602
- `,Bb=ie(G)`
602
+ `,Bb=oe(G)`
603
603
  position: relative;
604
604
  display: block;
605
- ${({$width:n,$minWidth:r,$maxWidth:i,$height:a,$minHeight:l,$maxHeight:u})=>{const f=n&&typeof n=="object",p=r&&typeof r=="object",v=i&&typeof i=="object",y=a&&typeof a=="object";if(f||p||v||y||l&&typeof l=="object"||u&&typeof u=="object"){const m={};return typeof n=="string"?m.width=n:typeof n=="number"?(m.width="100%",i===void 0&&(m.maxWidth=`${n}px`)):f&&(m.width="100%",i===void 0&&(m.maxWidth=n)),typeof r=="number"?m.minWidth=`${r}px`:(typeof r=="string"||r)&&(m.minWidth=r),i!==void 0&&(typeof i=="string"?i==="auto"?m.maxWidth="none":m.maxWidth=i:typeof i=="number"?m.maxWidth=`${i}px`:m.maxWidth=i),typeof a=="string"?m.height=a:typeof a=="number"?(m.height="auto",u===void 0&&(m.maxHeight=`${a}px`)):y&&(m.height="auto",u===void 0&&(m.maxHeight=a)),typeof l=="number"?m.minHeight=`${l}px`:(typeof l=="string"||l)&&(m.minHeight=l),u!==void 0&&(typeof u=="string"?u==="auto"?m.maxHeight="none":m.maxHeight=u:typeof u=="number"?m.maxHeight=`${u}px`:m.maxHeight=u),lr(m)}const b={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?b.width=n:b.width="100%":typeof n=="number"&&(b.width="100%",i===void 0&&(b.maxWidth=`${n}px`)),r!==void 0&&(typeof r=="number"?b.minWidth=`${r}px`:typeof r=="string"&&(b.minWidth=r)),i!==void 0&&(typeof i=="string"?i==="auto"?b.maxWidth="none":b.maxWidth=i:typeof i=="number"&&(b.maxWidth=`${i}px`)),typeof a=="string"?a==="auto"||a==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(a)?b.height=a:b.height="auto":typeof a=="number"&&(b.height="auto",u===void 0&&(b.maxHeight=`${a}px`)),l!==void 0&&(typeof l=="number"?b.minHeight=`${l}px`:typeof l=="string"&&(b.minHeight=l)),u!==void 0&&(typeof u=="string"?u==="auto"?b.maxHeight="none":b.maxHeight=u:typeof u=="number"&&(b.maxHeight=`${u}px`)),Je(b)}}
606
- `,Pb=ie.svg`
605
+ ${({$width:n,$minWidth:r,$maxWidth:i,$height:a,$minHeight:l,$maxHeight:u})=>{const f=n&&typeof n=="object",h=r&&typeof r=="object",b=i&&typeof i=="object",y=a&&typeof a=="object";if(f||h||b||y||l&&typeof l=="object"||u&&typeof u=="object"){const m={};return typeof n=="string"?m.width=n:typeof n=="number"?(m.width="100%",i===void 0&&(m.maxWidth=`${n}px`)):f&&(m.width="100%",i===void 0&&(m.maxWidth=n)),typeof r=="number"?m.minWidth=`${r}px`:(typeof r=="string"||r)&&(m.minWidth=r),i!==void 0&&(typeof i=="string"?i==="auto"?m.maxWidth="none":m.maxWidth=i:typeof i=="number"?m.maxWidth=`${i}px`:m.maxWidth=i),typeof a=="string"?m.height=a:typeof a=="number"?(m.height="auto",u===void 0&&(m.maxHeight=`${a}px`)):y&&(m.height="auto",u===void 0&&(m.maxHeight=a)),typeof l=="number"?m.minHeight=`${l}px`:(typeof l=="string"||l)&&(m.minHeight=l),u!==void 0&&(typeof u=="string"?u==="auto"?m.maxHeight="none":m.maxHeight=u:typeof u=="number"?m.maxHeight=`${u}px`:m.maxHeight=u),lr(m)}const v={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?v.width=n:v.width="100%":typeof n=="number"&&(v.width="100%",i===void 0&&(v.maxWidth=`${n}px`)),r!==void 0&&(typeof r=="number"?v.minWidth=`${r}px`:typeof r=="string"&&(v.minWidth=r)),i!==void 0&&(typeof i=="string"?i==="auto"?v.maxWidth="none":v.maxWidth=i:typeof i=="number"&&(v.maxWidth=`${i}px`)),typeof a=="string"?a==="auto"||a==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(a)?v.height=a:v.height="auto":typeof a=="number"&&(v.height="auto",u===void 0&&(v.maxHeight=`${a}px`)),l!==void 0&&(typeof l=="number"?v.minHeight=`${l}px`:typeof l=="string"&&(v.minHeight=l)),u!==void 0&&(typeof u=="string"?u==="auto"?v.maxHeight="none":v.maxHeight=u:typeof u=="number"&&(v.maxHeight=`${u}px`)),nt(v)}}
606
+ `,Pb=oe.svg`
607
607
  display: block;
608
608
  flex-shrink: 0;
609
609
  width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
610
610
  height: ${({$height:n})=>n?`${n}px`:"auto"};
611
- `,Wb=ie.path`
611
+ `,Wb=oe.path`
612
612
  fill: none;
613
613
  stroke: ${({theme:n,$colorKey:r})=>n.colors[r]};
614
614
  stroke-width: ${({$strokeWidth:n})=>n}px;
@@ -626,12 +626,12 @@ function print() { __p += __j.call(arguments, '') }
626
626
  opacity: 1;
627
627
  filter: brightness(1.1);
628
628
  }
629
- `,Db=ie.path`
629
+ `,Db=oe.path`
630
630
  fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
631
631
  opacity: 0;
632
632
  animation: ${zb} ${({$animationDuration:n})=>n}ms ease-out forwards;
633
633
  animation-delay: ${({$animationDuration:n})=>n/2}ms;
634
- `,Nb=ie.circle`
634
+ `,Nb=oe.circle`
635
635
  fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
636
636
  stroke: white;
637
637
  stroke-width: 2px;
@@ -645,21 +645,21 @@ function print() { __p += __j.call(arguments, '') }
645
645
  transform: scale(1.5);
646
646
  filter: brightness(1.2);
647
647
  }
648
- `,Nu=ie.line`
648
+ `,Nu=oe.line`
649
649
  stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
650
650
  stroke-width: 1;
651
651
  shape-rendering: crispEdges;
652
- `,Zu=ie.text`
652
+ `,Zu=oe.text`
653
653
  fill: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
654
654
  font-size: ${({$fontSize:n})=>n}px;
655
655
  font-family: ${({theme:n})=>n.fonts.neutral};
656
656
  user-select: none;
657
- `,Hu=ie.line`
657
+ `,Hu=oe.line`
658
658
  stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
659
659
  stroke-width: 1;
660
660
  stroke-dasharray: 2, 2;
661
661
  opacity: 0.3;
662
- `,Vu=ie(G)`
662
+ `,Vu=oe(G)`
663
663
  display: flex;
664
664
  flex-direction: row;
665
665
  flex-wrap: wrap;
@@ -668,7 +668,7 @@ function print() { __p += __j.call(arguments, '') }
668
668
  justify-content: center;
669
669
  margin-bottom: ${({$position:n})=>n==="top"?"10px":"0"};
670
670
  margin-top: ${({$position:n})=>n==="bottom"?"10px":"0"};
671
- `,Uu=ie(G)`
671
+ `,Uu=oe(G)`
672
672
  display: flex;
673
673
  align-items: center;
674
674
  gap: ${({$spacing:n})=>n/2}px;
@@ -678,18 +678,18 @@ function print() { __p += __j.call(arguments, '') }
678
678
  &:hover {
679
679
  opacity: 0.7;
680
680
  }
681
- `,qu=ie(G)`
681
+ `,qu=oe(G)`
682
682
  width: 24px;
683
683
  height: ${({$strokeWidth:n})=>n}px;
684
684
  background-color: ${({theme:n,$colorKey:r})=>n.colors[r]};
685
685
  flex-shrink: 0;
686
686
  ${({$strokeDasharray:n})=>n?`background-image: repeating-linear-gradient(90deg, currentColor 0, currentColor ${n.split(",")[0]}px, transparent ${n.split(",")[0]}px, transparent ${n.split(",")[1]||n.split(",")[0]}px);`:""}
687
- `,Gu=ie.span`
687
+ `,Gu=oe.span`
688
688
  font-size: ${({$fontSize:n})=>n}px;
689
689
  color: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
690
690
  font-family: ${({theme:n})=>n.fonts.neutral};
691
691
  white-space: nowrap;
692
- `;ie(G)`
692
+ `;oe(G)`
693
693
  position: absolute;
694
694
  background: white;
695
695
  border: 1px solid #ddd;
@@ -698,7 +698,7 @@ function print() { __p += __j.call(arguments, '') }
698
698
  pointer-events: none;
699
699
  z-index: 1000;
700
700
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
701
- `;ie(G)`
701
+ `;oe(G)`
702
702
  font-size: 12px;
703
703
  font-family: ${({theme:n})=>n.fonts.neutral};
704
- `;const Zb=(n,r)=>{if(n.length===0)return"";if(r==="linear")return n.map((i,a)=>`${a===0?"M":"L"} ${i.x} ${i.y}`).join(" ");if(r==="smooth"){let i=`M ${n[0].x} ${n[0].y}`;for(let a=1;a<n.length;a++){const l=n[Math.max(0,a-2)],u=n[a-1],f=n[a],p=n[Math.min(n.length-1,a+1)],v=u.x+(f.x-l.x)/6,y=u.y+(f.y-l.y)/6,$=f.x-(p.x-u.x)/6,T=f.y-(p.y-u.y)/6;i+=` C ${v} ${y}, ${$} ${T}, ${f.x} ${f.y}`}return i}if(r==="step"){let i=`M ${n[0].x} ${n[0].y}`;for(let a=1;a<n.length;a++){const l=(n[a-1].x+n[a].x)/2;i+=` L ${l} ${n[a-1].y} L ${l} ${n[a].y} L ${n[a].x} ${n[a].y}`}return i}return""},Hb=({series:n,width:r=600,minWidth:i=300,maxWidth:a,height:l=400,minHeight:u=300,maxHeight:f,chartMargin:p,size:v,variant:y,showGrid:$=!0,showXAxis:T=!0,showYAxis:x=!0,showLegend:b=!0,legendPosition:m="top",curve:S="linear",animationDuration:C=500,xAxisLabels:M,yDomain:L,testID:A="line-chart",...O})=>{const D=_e().__hd__.lineChart,H=d.useRef(null),[q,le]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const F=r.match(/^(\d+(?:\.\d+)?)px$/);if(F)return parseFloat(F[1])}return 600}),[pe,Ce]=d.useState(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const F=l.match(/^(\d+(?:\.\d+)?)px$/);if(F)return parseFloat(F[1])}return 400}),N=y||D.defaultVariant,B=v||D.defaultSize,Z={top:(p==null?void 0:p.top)??20,right:(p==null?void 0:p.right)??20,bottom:(p==null?void 0:p.bottom)??40,left:(p==null?void 0:p.left)??50};sr(()=>{const F=H.current;if(!F)return;const X=()=>{if(typeof r=="number")le(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const me=r.match(/^(\d+(?:\.\d+)?)px$/);me&&le(parseFloat(me[1]))}else{const me=F.clientWidth;me>0&&le(me)}const ce=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const me=l.match(/^(\d+(?:\.\d+)?)px$/);if(me)return parseFloat(me[1])}return 400})();Ce(ce)};X();let ee;return typeof ResizeObserver<"u"?(ee=new ResizeObserver(X),ee.observe(F)):window.addEventListener("resize",X),()=>{ee?ee.disconnect():window.removeEventListener("resize",X)}},[r,l]);const{strokeWidth:re,dotRadius:J,axisColor:K,gridColor:Q,labelColor:ae,labelFontSize:Te,legendFontSize:be,legendSpacing:Fe}=D.sizes[B],{defaultColors:Re}=D.variants[N],ze=Math.max(0,q-Z.left-Z.right),je=Math.max(0,pe-Z.top-Z.bottom),{processedSeries:Ne,xLabels:Xe,yTicks:U}=d.useMemo(()=>{const F=new Set,X=[];let ee=1/0,ce=-1/0;n.forEach(tt=>{tt.data.forEach(Y=>{const ve=String(Y.x);F.has(ve)||(F.add(ve),X.push(ve)),ee=Math.min(ee,Y.y),ce=Math.max(ce,Y.y)})});const[me,xe]=L||[Math.floor(ee-(ce-ee)*.1),Math.ceil(ce+(ce-ee)*.1)],He=M||X,dt=ze/(He.length-1||1),Ye=new Map(He.map((tt,Y)=>[String(tt),Y*dt])),ut=tt=>{const Y=(tt-me)/(xe-me||1);return je-Y*je},wt=n.map((tt,Y)=>({...tt,color:tt.color||Re[Y%Re.length],points:tt.data.map(ve=>({x:Ye.get(String(ve.x))||0,y:ut(ve.y),originalX:ve.x,originalY:ve.y}))})),et=5,st=Array.from({length:et},(tt,Y)=>{const ve=me+(xe-me)*(Y/(et-1));return{value:ve,position:ut(ve),label:ve.toFixed(1)}});return{processedSeries:wt,xLabels:He,yTicks:st.reverse()}},[n,ze,je,M,L,Re]);return w.jsxs(Bb,{ref:H,"data-testid":`${A}-container`,$width:r,$minWidth:i,$maxWidth:a,$height:l,$minHeight:u,$maxHeight:f,...O,children:[b&&m==="top"&&w.jsx(Vu,{$position:m,$spacing:Fe,"data-testid":`${A}-legend`,children:Ne.map((F,X)=>w.jsxs(Uu,{$spacing:Fe,"data-testid":`${A}-legend-item-${X}`,children:[w.jsx(qu,{$colorKey:F.color,$strokeWidth:F.strokeWidth||re,$strokeDasharray:F.strokeDasharray}),w.jsx(Gu,{$fontSize:be,$colorKey:ae,children:F.label})]},F.id))}),w.jsxs(Pb,{$width:q,$height:pe,viewBox:`0 0 ${q} ${pe}`,role:"img","aria-label":"Line chart","data-testid":`${A}-svg`,children:[w.jsx("title",{children:"Line chart"}),w.jsxs("g",{transform:`translate(${Z.left}, ${Z.top})`,children:[$&&w.jsxs(w.Fragment,{children:[U.map((F,X)=>w.jsx(Hu,{$colorKey:Q,x1:0,y1:F.position,x2:ze,y2:F.position,"data-testid":`${A}-grid-h-${X}`},`h-grid-${X}`)),Xe.map((F,X)=>{const ee=X*ze/(Xe.length-1||1);return w.jsx(Hu,{$colorKey:Q,x1:ee,y1:0,x2:ee,y2:je,"data-testid":`${A}-grid-v-${X}`},`v-grid-${X}`)})]}),Ne.map((F,X)=>{var me,xe;const ee=Zb(F.points,S),ce=F.showArea?`${ee} L ${((me=F.points[F.points.length-1])==null?void 0:me.x)||0} ${je} L ${((xe=F.points[0])==null?void 0:xe.x)||0} ${je} Z`:"";return w.jsxs("g",{children:[F.showArea&&w.jsx(Db,{d:ce,$colorKey:F.color,$animationDuration:C,"data-testid":`${A}-area-${X}`}),w.jsx(Wb,{d:ee,$colorKey:F.color,$strokeWidth:F.strokeWidth||re,$strokeDasharray:F.strokeDasharray,$animationDuration:C,"data-testid":`${A}-line-${X}`}),F.showDots!==!1&&F.points.map((He,dt)=>w.jsx(Nb,{cx:He.x,cy:He.y,r:J,$colorKey:F.color,$animationDuration:C,"data-testid":`${A}-dot-${X}-${dt}`},dt))]},F.id)}),T&&w.jsxs(w.Fragment,{children:[w.jsx(Nu,{$colorKey:K,x1:0,y1:je,x2:ze,y2:je,"data-testid":`${A}-x-axis`}),Xe.map((F,X)=>{const ee=X*ze/(Xe.length-1||1);return w.jsx(Zu,{x:ee,y:je+20,$colorKey:ae,$fontSize:Te,textAnchor:"middle","data-testid":`${A}-x-label-${X}`,children:F},X)})]}),x&&w.jsxs(w.Fragment,{children:[w.jsx(Nu,{$colorKey:K,x1:0,y1:0,x2:0,y2:je,"data-testid":`${A}-y-axis`}),U.map((F,X)=>w.jsx(Zu,{x:-10,y:F.position,$colorKey:ae,$fontSize:Te,textAnchor:"end",dominantBaseline:"middle","data-testid":`${A}-y-label-${X}`,children:F.label},X))]})]})]}),b&&m==="bottom"&&w.jsx(Vu,{$position:m,$spacing:Fe,"data-testid":`${A}-legend`,children:Ne.map((F,X)=>w.jsxs(Uu,{$spacing:Fe,"data-testid":`${A}-legend-item-${X}`,children:[w.jsx(qu,{$colorKey:F.color,$strokeWidth:F.strokeWidth||re,$strokeDasharray:F.strokeDasharray}),w.jsx(Gu,{$fontSize:be,$colorKey:ae,children:F.label})]},F.id))})]})};exports.AIC_Kits_StackingLayers=Qt;exports.Accordion=Ky;exports.Art=Ut;exports.Avatar=tf;exports.BarChart=Cb;exports.Base=Uv;exports.Box=G;exports.Brand=Dc;exports.Button=aa;exports.Carousel=Vy;exports.Checkbox=Jy;exports.DEFAULT_VIMEO_CONFIG=Iy;exports.Divider=sf;exports.Emoji=Nc;exports.Grid=$f;exports.Header=df;exports.HeaderAuth=uf;exports.HeaderLogo=cf;exports.HeaderNav=ff;exports.Icon=va;exports.Image=Jc;exports.Input=Kv;exports.LineChart=Hb;exports.List=Jv;exports.Loading=wa;exports.Modal=vb;exports.NormalizedBrowserName=of;exports.NormalizedDeviceType=rf;exports.NormalizedOSName=af;exports.Pagination=cb;exports.PaginationItem=Tf;exports.PieChart=Mb;exports.Progress=gb;exports.RESPONSIVE_BREAKPOINTS=Rr;exports.RESPONSIVE_BREAKPOINT_KEYS=$r;exports.SUPPORTED_RICH_TEXT_TAGS=Qc;exports.Select=nb;exports.SelectDropdownItem=Sf;exports.SelectInputDisplay=Ef;exports.Skeleton=ji;exports.StyledBox=zc;exports.Svg=ef;exports.Tag=Qy;exports.Text=at;exports.ThemeProvider=z2;exports.Tooltip=yb;exports.Touchable=qt;exports.VIMEO_HOST=My;exports.Vimeo=Fy;exports.accordionTheme=ec;exports.artTheme=tc;exports.avatarTheme=nc;exports.barChartTheme=rc;exports.baseTheme=ic;exports.buttonTheme=oc;exports.carouselTheme=ac;exports.checkboxTheme=sc;exports.configKeys=Mc;exports.css=Je;exports.cssPropsKey=Rc;exports.customBoxPropsConfig=Lc;exports.customBoxPropsKey=ma;exports.defaultColorPalette=Mi;exports.defaultGradientColorPalette=Yu;exports.defaultScale=hn;exports.defaultTheme=Ai;exports.dividerTheme=lc;exports.genBoxStyle=Fc;exports.generateResponsiveStyles=lr;exports.getBorderWidths=la;exports.getComponentsTheme=Cc;exports.getFontSizes=Fi;exports.getFontWeights=pa;exports.getFonts=da;exports.getGlobalTheme=A2;exports.getLineHeights=ha;exports.getPaginationTheme=pc;exports.getRadii=ua;exports.getResponsiveValue=$c;exports.getSelectStyles=Af;exports.getShadows=Qu;exports.getSizeValue=gt;exports.getSizes=ca;exports.getSpaces=fa;exports.getTextColor=Pi;exports.getTheme=Sc;exports.getThemeValue=Oc;exports.headerTheme=uc;exports.inferResponsiveValues=Ac;exports.inputTheme=cc;exports.isBorderWidth=h2;exports.isColor=Xu;exports.isEmoji=jc;exports.isFontSize=C2;exports.isFontWeight=S2;exports.isGradientColor=p2;exports.isIcon=Bc;exports.isImage=Pc;exports.isRadius=Ku;exports.isResponsiveValue=zi;exports.isSSR=xt;exports.isShadow=_2;exports.isSize=Bn;exports.isSpace=Ju;exports.isSvg=Wc;exports.keyframes=En;exports.lineChartTheme=fc;exports.listTheme=dc;exports.loadingTheme=hc;exports.mapStylePropToThemeValue=Ic;exports.parseUserAgent=oa;exports.pieChartTheme=gc;exports.populateResponsiveValue=ga;exports.progressTheme=mc;exports.reduceResponsiveValue=Tc;exports.selectTheme=vc;exports.shouldForwardProp=Ec;exports.skeletonTheme=yc;exports.styled=ie;exports.tagTheme=bc;exports.tooltipTheme=xc;exports.touchableTheme=wc;exports.transformResponsiveValue=zt;exports.transposeObject=ra;exports.useEventListener=ia;exports.useHover=Bi;exports.useInteractionDetector=xa;exports.useIsomorphicLayoutEffect=sr;exports.useMediaQuery=wv;exports.useResponsiveBreakpoint=Or;exports.useSelectState=Cf;exports.useTheme=_e;exports.useUserAgent=Rv;exports.useWindowDimensions=nf;exports.vimeoTheme=_c;exports.zIndexRegistry=Wn;
704
+ `;const Zb=(n,r)=>{if(n.length===0)return"";if(r==="linear")return n.map((i,a)=>`${a===0?"M":"L"} ${i.x} ${i.y}`).join(" ");if(r==="smooth"){let i=`M ${n[0].x} ${n[0].y}`;for(let a=1;a<n.length;a++){const l=n[Math.max(0,a-2)],u=n[a-1],f=n[a],h=n[Math.min(n.length-1,a+1)],b=u.x+(f.x-l.x)/6,y=u.y+(f.y-l.y)/6,$=f.x-(h.x-u.x)/6,T=f.y-(h.y-u.y)/6;i+=` C ${b} ${y}, ${$} ${T}, ${f.x} ${f.y}`}return i}if(r==="step"){let i=`M ${n[0].x} ${n[0].y}`;for(let a=1;a<n.length;a++){const l=(n[a-1].x+n[a].x)/2;i+=` L ${l} ${n[a-1].y} L ${l} ${n[a].y} L ${n[a].x} ${n[a].y}`}return i}return""},Hb=({series:n,width:r=600,minWidth:i=300,maxWidth:a,height:l=400,minHeight:u=300,maxHeight:f,chartMargin:h,size:b,variant:y,showGrid:$=!0,showXAxis:T=!0,showYAxis:x=!0,showLegend:v=!0,legendPosition:m="top",curve:S="linear",animationDuration:C=500,xAxisLabels:M,yDomain:L,testID:A="line-chart",...O})=>{const F=Ce(),W=F.__hd__.lineChart,N=d.useRef(null),[q,fe]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const U=r.match(/^(\d+(?:\.\d+)?)px$/);if(U)return parseFloat(U[1])}return 600}),[ye,we]=d.useState(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const U=l.match(/^(\d+(?:\.\d+)?)px$/);if(U)return parseFloat(U[1])}return 400}),D=y||W.defaultVariant,j=b||W.defaultSize;Pn(()=>{const U=N.current;if(!U)return;const te=()=>{if(typeof r=="number")fe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const Ae=r.match(/^(\d+(?:\.\d+)?)px$/);Ae&&fe(parseFloat(Ae[1]))}else{const Ae=U.clientWidth;Ae>0&&fe(Ae)}const Oe=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const Ae=l.match(/^(\d+(?:\.\d+)?)px$/);if(Ae)return parseFloat(Ae[1])}return 400})();we(Oe)};te();let re;return typeof ResizeObserver<"u"?(re=new ResizeObserver(te),re.observe(U)):window.addEventListener("resize",te),()=>{re?re.disconnect():window.removeEventListener("resize",te)}},[r,l]),Pn(()=>{const U=N.current;if(!U)return;const te=()=>{if(typeof r=="number")fe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const Ae=r.match(/^(\d+(?:\.\d+)?)px$/);Ae&&fe(parseFloat(Ae[1]))}else{const Ae=U.clientWidth;Ae>0&&fe(Ae)}const Oe=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const Ae=l.match(/^(\d+(?:\.\d+)?)px$/);if(Ae)return parseFloat(Ae[1])}return 400})();we(Oe)};te();let re;return typeof ResizeObserver<"u"?(re=new ResizeObserver(te),re.observe(U)):window.addEventListener("resize",te),()=>{re?re.disconnect():window.removeEventListener("resize",te)}},[r,l]);const{strokeWidth:H,dotRadius:ie,axisColor:J,gridColor:K,labelColor:X,labelFontSize:ce,legendFontSize:Te,legendSpacing:be}=W.sizes[j],{defaultColors:Be}=W.variants[D],[Le,Ve]=d.useMemo(()=>{if(L)return L;let U=1/0,te=-1/0;return n.forEach(re=>{re.data.forEach(Oe=>{U=Math.min(U,Oe.y),te=Math.max(te,Oe.y)})}),U===1/0||te===-1/0?[0,1]:[Math.floor(U-(te-U)*.1),Math.ceil(te+(te-U)*.1)]},[n,L]),Ye=d.useMemo(()=>{const te=Array.from({length:5},(st,Q)=>(Le+(Ve-Le)*(Q/4)).toFixed(1)),re=F.fonts.neutral,Oe=`${ce}px ${re}`,Ae=ce*.6;let Pe=null;typeof document<"u"&&(Pe=document.createElement("canvas").getContext("2d"),Pe&&(Pe.font=Oe));const Qe=st=>Pe?Pe.measureText(st).width:st.length*Ae,at=te.reduce((st,Q)=>Math.max(st,Qe(Q)),0),et=Math.ceil(at+12),rt=(h==null?void 0:h.left)??50;return Math.max(rt,et)},[Le,Ve,h==null?void 0:h.left,ce,F.fonts.neutral]),De={top:(h==null?void 0:h.top)??20,right:(h==null?void 0:h.right)??20,bottom:(h==null?void 0:h.bottom)??40,left:Ye},Ke=Math.max(0,q-De.left-De.right),Z=Math.max(0,ye-De.top-De.bottom),{processedSeries:Y,xLabels:ae,yTicks:le}=d.useMemo(()=>{const U=new Set,te=[];let re=1/0,Oe=-1/0;n.forEach(ke=>{ke.data.forEach(ue=>{const de=String(ue.x);U.has(de)||(U.add(de),te.push(de)),re=Math.min(re,ue.y),Oe=Math.max(Oe,ue.y)})});const[Ae,Pe]=L||[Math.floor(re-(Oe-re)*.1),Math.ceil(Oe+(Oe-re)*.1)],Qe=M||te,at=Ke/(Qe.length-1||1),et=new Map(Qe.map((ke,ue)=>[String(ke),ue*at])),rt=ke=>{const ue=(ke-Ae)/(Pe-Ae||1);return Z-ue*Z},st=n.map((ke,ue)=>({...ke,color:ke.color||Be[ue%Be.length],points:ke.data.map(de=>({x:et.get(String(de.x))||0,y:rt(de.y),originalX:de.x,originalY:de.y}))})),Q=5,ze=Array.from({length:Q},(ke,ue)=>{const de=Ae+(Pe-Ae)*(ue/(Q-1));return{value:de,position:rt(de),label:de.toFixed(1)}});return{processedSeries:st,xLabels:Qe,yTicks:ze.reverse()}},[n,Ke,Z,M,L,Be]);return w.jsxs(Bb,{ref:N,"data-testid":`${A}-container`,$width:r,$minWidth:i,$maxWidth:a,$height:l,$minHeight:u,$maxHeight:f,...O,children:[v&&m==="top"&&w.jsx(Vu,{$position:m,$spacing:be,"data-testid":`${A}-legend`,children:Y.map((U,te)=>w.jsxs(Uu,{$spacing:be,"data-testid":`${A}-legend-item-${te}`,children:[w.jsx(qu,{$colorKey:U.color,$strokeWidth:U.strokeWidth||H,$strokeDasharray:U.strokeDasharray}),w.jsx(Gu,{$fontSize:Te,$colorKey:X,children:U.label})]},U.id))}),w.jsxs(Pb,{$width:q,$height:ye,viewBox:`0 0 ${q} ${ye}`,role:"img","aria-label":"Line chart","data-testid":`${A}-svg`,children:[w.jsx("title",{children:"Line chart"}),w.jsxs("g",{transform:`translate(${De.left}, ${De.top})`,children:[$&&w.jsxs(w.Fragment,{children:[le.map((U,te)=>w.jsx(Hu,{$colorKey:K,x1:0,y1:U.position,x2:Ke,y2:U.position,"data-testid":`${A}-grid-h-${te}`},`h-grid-${te}`)),ae.map((U,te)=>{const re=te*Ke/(ae.length-1||1);return w.jsx(Hu,{$colorKey:K,x1:re,y1:0,x2:re,y2:Z,"data-testid":`${A}-grid-v-${te}`},`v-grid-${te}`)})]}),Y.map((U,te)=>{var Ae,Pe;const re=Zb(U.points,S),Oe=U.showArea?`${re} L ${((Ae=U.points[U.points.length-1])==null?void 0:Ae.x)||0} ${Z} L ${((Pe=U.points[0])==null?void 0:Pe.x)||0} ${Z} Z`:"";return w.jsxs("g",{children:[U.showArea&&w.jsx(Db,{d:Oe,$colorKey:U.color,$animationDuration:C,"data-testid":`${A}-area-${te}`}),w.jsx(Wb,{d:re,$colorKey:U.color,$strokeWidth:U.strokeWidth||H,$strokeDasharray:U.strokeDasharray,$animationDuration:C,"data-testid":`${A}-line-${te}`}),U.showDots!==!1&&U.points.map((Qe,at)=>w.jsx(Nb,{cx:Qe.x,cy:Qe.y,r:ie,$colorKey:U.color,$animationDuration:C,"data-testid":`${A}-dot-${te}-${at}`},at))]},U.id)}),T&&w.jsxs(w.Fragment,{children:[w.jsx(Nu,{$colorKey:J,x1:0,y1:Z,x2:Ke,y2:Z,"data-testid":`${A}-x-axis`}),ae.map((U,te)=>{const re=te*Ke/(ae.length-1||1);return w.jsx(Zu,{x:re,y:Z+20,$colorKey:X,$fontSize:ce,textAnchor:"middle","data-testid":`${A}-x-label-${te}`,children:U},te)})]}),x&&w.jsxs(w.Fragment,{children:[w.jsx(Nu,{$colorKey:J,x1:0,y1:0,x2:0,y2:Z,"data-testid":`${A}-y-axis`}),le.map((U,te)=>w.jsx(Zu,{x:-10,y:U.position,$colorKey:X,$fontSize:ce,textAnchor:"end",dominantBaseline:"middle","data-testid":`${A}-y-label-${te}`,children:U.label},te))]})]})]}),v&&m==="bottom"&&w.jsx(Vu,{$position:m,$spacing:be,"data-testid":`${A}-legend`,children:Y.map((U,te)=>w.jsxs(Uu,{$spacing:be,"data-testid":`${A}-legend-item-${te}`,children:[w.jsx(qu,{$colorKey:U.color,$strokeWidth:U.strokeWidth||H,$strokeDasharray:U.strokeDasharray}),w.jsx(Gu,{$fontSize:Te,$colorKey:X,children:U.label})]},U.id))})]})};exports.AIC_Kits_StackingLayers=Qt;exports.Accordion=Ky;exports.Art=Ut;exports.Avatar=tf;exports.BarChart=Cb;exports.Base=Uv;exports.Box=G;exports.Brand=Dc;exports.Button=aa;exports.Carousel=Vy;exports.Checkbox=Jy;exports.DEFAULT_VIMEO_CONFIG=Iy;exports.Divider=sf;exports.Emoji=Nc;exports.Grid=$f;exports.Header=df;exports.HeaderAuth=uf;exports.HeaderLogo=cf;exports.HeaderNav=ff;exports.Icon=va;exports.Image=Jc;exports.Input=Kv;exports.LineChart=Hb;exports.List=Jv;exports.Loading=wa;exports.Modal=vb;exports.NormalizedBrowserName=of;exports.NormalizedDeviceType=rf;exports.NormalizedOSName=af;exports.Pagination=cb;exports.PaginationItem=Tf;exports.PieChart=Mb;exports.Progress=gb;exports.RESPONSIVE_BREAKPOINTS=Rr;exports.RESPONSIVE_BREAKPOINT_KEYS=$r;exports.SUPPORTED_RICH_TEXT_TAGS=Qc;exports.Select=nb;exports.SelectDropdownItem=Sf;exports.SelectInputDisplay=Ef;exports.Skeleton=ji;exports.StyledBox=zc;exports.Svg=ef;exports.Tag=Qy;exports.Text=ct;exports.ThemeProvider=z2;exports.Tooltip=yb;exports.Touchable=qt;exports.VIMEO_HOST=My;exports.Vimeo=Fy;exports.accordionTheme=ec;exports.artTheme=tc;exports.avatarTheme=nc;exports.barChartTheme=rc;exports.baseTheme=ic;exports.buttonTheme=oc;exports.carouselTheme=ac;exports.checkboxTheme=sc;exports.configKeys=Mc;exports.css=nt;exports.cssPropsKey=Rc;exports.customBoxPropsConfig=Lc;exports.customBoxPropsKey=ma;exports.defaultColorPalette=Mi;exports.defaultGradientColorPalette=Yu;exports.defaultScale=hn;exports.defaultTheme=Ai;exports.dividerTheme=lc;exports.genBoxStyle=Fc;exports.generateResponsiveStyles=lr;exports.getBorderWidths=la;exports.getComponentsTheme=Cc;exports.getFontSizes=Fi;exports.getFontWeights=pa;exports.getFonts=da;exports.getGlobalTheme=A2;exports.getLineHeights=ha;exports.getPaginationTheme=pc;exports.getRadii=ua;exports.getResponsiveValue=$c;exports.getSelectStyles=Af;exports.getShadows=Qu;exports.getSizeValue=mt;exports.getSizes=ca;exports.getSpaces=fa;exports.getTextColor=Pi;exports.getTheme=Sc;exports.getThemeValue=Oc;exports.headerTheme=uc;exports.inferResponsiveValues=Ac;exports.inputTheme=cc;exports.isBorderWidth=h2;exports.isColor=Xu;exports.isEmoji=jc;exports.isFontSize=C2;exports.isFontWeight=S2;exports.isGradientColor=p2;exports.isIcon=Bc;exports.isImage=Pc;exports.isRadius=Ku;exports.isResponsiveValue=zi;exports.isSSR=wt;exports.isShadow=_2;exports.isSize=Bn;exports.isSpace=Ju;exports.isSvg=Wc;exports.keyframes=En;exports.lineChartTheme=fc;exports.listTheme=dc;exports.loadingTheme=hc;exports.mapStylePropToThemeValue=Ic;exports.parseUserAgent=oa;exports.pieChartTheme=gc;exports.populateResponsiveValue=ga;exports.progressTheme=mc;exports.reduceResponsiveValue=Tc;exports.selectTheme=vc;exports.shouldForwardProp=Ec;exports.skeletonTheme=yc;exports.styled=oe;exports.tagTheme=bc;exports.tooltipTheme=xc;exports.touchableTheme=wc;exports.transformResponsiveValue=zt;exports.transposeObject=ra;exports.useEventListener=ia;exports.useHover=Bi;exports.useInteractionDetector=xa;exports.useIsomorphicLayoutEffect=Pn;exports.useMediaQuery=wv;exports.useResponsiveBreakpoint=Or;exports.useSelectState=Cf;exports.useTheme=Ce;exports.useUserAgent=Rv;exports.useWindowDimensions=nf;exports.vimeoTheme=_c;exports.zIndexRegistry=Dn;